This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: docbook2pdf errors


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]