Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] xml to pdf



Darren Cook wrote:
> I'd welcome advice as to which path I should go down. The main choices
> seem to be:
>   1a. Make a style sheet and view in firefox then print to PDF.
>   1b. Use XSL to convert to HTML (then to PDF using firefox)
>   2a. Some open source program
>   2b. Some commercial program

The "official" way to do it is 1c: XSL to Format Objects, then use fop
to convert to PDF. http://xmlgraphics.apache.org/fop/ For proofing all
my books, I went Docbook -> Docbook XSL -> FO -> PDF.

However, if you don't already have FOP stylesheets, then I'd say don't
bother, do 1a or 1b.

-- 
As the saying goes, if you give a man a fish, he eats for a day. If you
teach him to grep for fish, he'll leave you alone all weekend. If you
encourage him to beg for fish, pretty soon c.l.p.misc will smell like a
three-week-dead trout. -- Tom Phoenix, c.l.p.misc.


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links