Showing posts with label dblatex. Show all posts
Showing posts with label dblatex. Show all posts

Wednesday, January 27, 2010

xmlroff ?

So I discover that fop and dblatex had both issues. I discover this blog:

* http://www.jejik.com/articles/2008/12/docbook_xml_to_pdf_on_debian_lenny/

It mentionned a 3rd contestand: xmlroff.

It seems to work on the PNG example I tried in fop and dblatex.

Hopefully this solution is the solution to go...

What a mess !

Reference:
* http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=567122
* http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=567123

How about dblatex ?

After much struggle with fop, I gave dblatex another try. I quickly discover the secret options I was loooking for:

$ dblatex -P doc.collab.show=0 -P latex.output.revhistory=0 -P doc.toc.show=0 input.xml

Indeed I could remove the revision history and the collaborators section which looked suprising the first time I used dblatex.

I found out this trick here:

* http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=492366#14

The documentation

* http://dblatex.sourceforge.net/doc/sec-custom.html