Joel de Guzman wrote:
> Hi,
>
> Did we ever considered generating LaTex from DocBook instead of
> PDF through FOP? http://dblatex.sourceforge.net/ seems to be a nice
> solution to our current difficulties with FOP. dblatex — converts
> DocBook to LaTeX, DVI, PostScript, and PDF. It is actively maintained,
> unlike FOP which seems to be dead.
>
> Here are some samples: http://dblatex.sourceforge.net/examples.html

Looks interesting, the ability to embed MathML and get pretty equations out 
would be really interesting!

You're right about FOP: it's simply not up to the job.  I've tried a command 
line compatible drop in replacement called XEP (http://www.renderx.com/) and 
it actually works really well - in the sense that everything that should 
work, just plain does the right thing, straight out the box.  Unfortunately 
it's a commercial product, and although there is a free version it injects 
some banner advertising along the bottom of each page.  It's still better 
than FOP even with the adverts, but I'll try and give this dblatex a go.  I 
recon if it can do a good job of the math-toolkit docs then it'll handle 
almost anything :-)

Most of my remaining niggles at present concern our Jamfiles, and the 
Docbook->FO translation phase:

* pdf's really should be put in a "pdf" subdir just like the html is (they 
would find any images then too!)

* If you have an existing .fo file the XML->FO translation always fails, 
could be fixed by always deleting any existing fo file before doing the 
translation.

* Syntax highlighting and indentation of code doesn't work: needs a custom 
XSL layer.

* Monospaced output should probably be in a smaller font: needs a custom XSL 
layer again :-(

* Hyperlinks aren't colored: yep custom XSL again I suspect!

If I get any joy with dblatex I'll let you know,

John. 


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Boost-docs mailing list
[email protected]
Unsubscribe and other administrative requests: 
https://lists.sourceforge.net/lists/listinfo/boost-docs

Reply via email to