This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: docbook2pdf errors
- From: Markus Hoenicka <markus dot hoenicka at mhoenicka dot de>
- To: <cygwin at cygwin dot com>
- Date: Fri, 12 Apr 2013 16:35:13 +0200
- Subject: Re: docbook2pdf errors
- References: <CAKf2h5SqejiDkdNzAAKAwD5EoU3ErjhrG7-WP-=DkY2oDz5PSQ at mail dot gmail dot com> <d445994239f54e5edf5e3f3f50e72c18 at mhoenicka dot de> <CAKf2h5RRAdfwgMT_EfLNs_BkQjRTXSQM5S1M95RMkvt9b9FaiQ at mail dot gmail dot com>
Frank Fesevur was heard to say:
2013/4/12 Markus Hoenicka:
I have never used the docbook2pdf tool, but these messages indicate
that it
attempts to transform an XML document using Jade and the DocBook
DSSSL
stylesheets. While you may be able to get this to work with a little
effort,
I'd recommend to use an XSLT-based toolchain (e.g. xslt and fop) and
the
DocBook XSL stylesheets for XML documents.
I am a docbook newbie so I just wanted to try docbook2pdf to see what
the generated pdf looks like.
You should understand that the entity stuff that you bumped into was a
necessity of SGML documents in the days of yore as there was no such
thing as UTF-8. XML documents can use the non-ASCII characters directly
instead of using character entities if they use UTF-8. This is usually
declared in the header like this:
<?xml version="1.0" encoding="utf-8"?>
In order to set up your XML toolchain, please peruse the excellent
instructions here:
http://www.sagehill.net/docbookxsl/
regards,
Markus
--
Markus Hoenicka
http://www.mhoenicka.de
AQ score 38
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple