Producing GnuCash Guide PDF [SOLVED]
Tom Browder
tom.browder at gmail.com
Tue Sep 30 07:19:22 EDT 2008
I got a reasonable pdf version of the guide (at 8+ Mb) from the trunk.
It's not perfect, but it looks like it can be fine tuned through
docbook source settings. Someone very familiar with the gnucash guide
docbook source may be able to spot required changes quickly
(Christian?).
Anyone interested in a copy let me know.
On Fedora Core 7 I used Apache fop 0.95, the latest Sun JDK
(jdk-6u7-linux-i586-rpm.bin), the
latest docbook-xsl from www.docbook.org (1.74), and ant 1.7 (to build fop),
For docbook tweaking later I'm going to try Steve Whitlatch's docbook
configurator at:
http://sourceforge.net/projects/db-xsl-cfg (requires docbook xsl 1.74.0)
The command line to produce the pdf was
fop -xml gnucash-guide.xml -xsl $(DOCBOOK_XSL) -pdf gnucash-guide.pdf
where $DOCBOOK_XSL points to the 1.54/fo/docbook.xsl.
I think making configuration macros to detect fop and its version and
the correct docbook.xsl style sheet collection might not be too bad.
If the correct style sheet can't be found, then the user can enter its
location with a configure option.
-Tom
More information about the gnucash-devel
mailing list