PDF version of D manuals

xs0 xs0 at xs0.com
Thu Nov 30 06:57:29 PST 2006


Walter Bright wrote:
> I've been taking some heat lately about the D web site not making 
> available a PDF version of the D manual that can be downloaded, printed, 
> and read offline.
> 
> I know some people have made PDFs of the manual before. The trouble is, 
> they rapidly go out of date.
> 
> So I'm interested in if anyone can recommend a tool that can take text 
> and convert it to PDFs. I'm not interested in a tool with a gui 
> interface, I want one that can be driven from a script, so this can be 
> done automatically with each new release.
> 
> (The html version of the manual is currently created automatically using 
> a script from Ddoc text files. Such has really cut the workload of 
> maintaining a common look/feel of the site.)

I've had relatively good results by using css2xslfo and Apache FOP. 
css2xslfo has some support for XHTML (and, obviously CSS), so that may 
be the easiest way to go, considering the current output is HTML already.

http://www.re.be/css2xslfo/
http://xmlgraphics.apache.org/fop/


xs0



More information about the Digitalmars-d-announce mailing list