[Templates] PDF and HTML output
Stewart Heckenberg
stewart.heckenberg@gmail.com
Thu, 9 Aug 2007 07:59:31 +1000
> The way i did this was i template a docbook file. I then process this
> via one of two XSLT stylesheets to produce XHTML output, or LaTeX output
> that I then run through pdflatex as normal. I used XML::LibXSLT which
> uses the gnome C lib.
That sounds like a reasonable and flexible approach -- however I'd
have to look into it later, as I'm pushed for time. Sounds like it
might save time in the future though.
> I prolly could have by-passed the docbook step and just transformed the
> HTML into LaTeX.
Yeah that was my initial idea, but I think I can manage now to do a
TT-only approach where I let macros and wrappers and such take care of
the details.
> I am unsure of how this rates on the 'eww evil' scale, but it Works For
> Me. Let me know if you want the exact details of how i did it/the
> stylesheets etc.
Yeah I wouldn't mind having a look at your evil stylesheets, etc. Thanks! :D
Stew