# docbook to PDF

I found 3 ways to convert docbook to PDF:

• Using docbook-dsssl and openjade. This is the obsolet way to do it because dsssl was for sgml and is replaced by xsl. Anyway this way works but gives a not very beautifull result.
• Using Norman Walsh docbook-xsl, xsltproc, passivetex, pdflatex. xsltproc creates a “formatting object” file (.fo) which is converted by passivetex to latex, which is, in his turn converted to pdf. It does not work because passivetex does not create a valid tex file.
• Using Norman Walsh docbook-xsl, xsltproc,
apache FOP
, pdflatex. xsltproc creates a “formatting object” file (.fo) which is converted by apache fop to pdf. It gives a ugly result because many things in the .fo file are not supported by fop.
• Using
dblatex, xsltproc, pdflatex. xsltproc creates a tex file, which is, in his turn converted to pdf. It does not work because the created tex file is not valid.
• Using
db2latex, xsltproc, pdflatex. xsltproc creates a tex file, which is, in his turn converted to pdf. It does not work because the created tex file is not valid.

As a conclusion I have to say that it’s not yet easy to create PDF documentation with docbook.