doc: use xmlto pdf

Yaakov (Cygwin/X) yselkowitz@users.sourceforge.net
Fri Jun 25 19:38:00 GMT 2010


As reported recently on the list[1], openjade cannot handle the ISO
encodings shipped with docbook-xml45.  While I need to look into a fix,
in this case there is a simple workaround.  Since we already use xmlto
to build the HTML, we can also use it to build the PDFs.

Note that this does require the appropriate backend to be installed.  On
Linux, xmlto has used PassiveTeX as a DVI/PDF/PS backend since at least
0.0.18; later versions also support dblatex and fop.  On Cygwin, I just
adopted xmlto[2] and updated it to use dblatex as the DVI/PDF/PS
backend, as that is the only backend currently in the distro.  (fop is
in Ports but requires its GNU Classpath environment plus a bunch of Java
libraries, and neither passivetex nor its dependency xmltex are
currently available.)

Patch attached; please test.


Yaakov

[1] http://cygwin.com/ml/cygwin/2010-06/msg00448.html
[2] http://cygwin.com/ml/cygwin-announce/2010-06/msg00041.html

-------------- next part --------------
A non-text attachment was scrubbed...
Name: doc-xmlto-pdf.patch
Type: text/x-patch
Size: 2396 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20100625/74603f91/attachment.bin>


More information about the Cygwin-patches mailing list