From: Keith Fahlgren Date: 2005-11-12T14:56:42+09:00 Subject: Re: DocBook to PDF On Sat, 12 Nov 2005, Hal Fulton wrote: > I'm wanting to do some docbook to pdf conversion. Hi, Here's a suggestion from a coworker of mine: Does this need to be a pure Ruby solution? If not, I'd suggest using (or adapting) the standard DocBook stylesheets (http://wiki.docbook.org/topic/DocBookXslStylesheets), and using (perhaps via the Ruby libxslt bindings) those to generate XSL-FO, which you can then feed into FOP (http://xmlgraphics.apache.org/fop/) or the FO formatter of your choice. Alternately, OpenOffice.org can open (and reasonably) format DocBook files, and has a built-in PDF printer, and is scriptable via Ruby (though I wouldn't necessarily recommend it). HTH, Keith