From: Eric Niebler (eric_at_[hidden])
Date: 2006-04-13 20:46:03
John Maddock wrote:
>>> Sincerely hoping someone proves me wrong....
>> Have you checked whether 0.91 beta supports them?
> Thanks for the link, looks like might do, but I haven't been able to get it
> working yet.
It works, but it takes a bit of hacking. Kids, don't try this at home.
;-) In addition to fop-0.91beta, you need to download a snapshot of the
current docbook-xsl stylesheets from
http://docbook.sourceforge.net/snapshots/. Next, you need to change your
user-config.jam to point to these guys. Mine looks like:
using boostbook : C:/cygwin/home/ericne/docbook-xsl-snapshot/
using fop : C:/cygwin/home/ericne/fop-0.91beta/fop.bat
Next, you need to hack your doc's Jamfile.v2. Using xpressive as an example:
Note the two xsl:params. After this, you should be ready to use
fop-0.91beta to generate PDFs. Type "bjam --v2 pdf" and away you go.
If you are embedding png files, fop will complain that it can't find
them. Just copy them to where fop is looking for them (somewhere deep in
the bin.v2 directory) and rerun.
Looking at the end result, I can't say I think fop-0.91beta is an
improvement. :-P Unless you *really* need to embed png files, I say
stick with fop-0.20.X.
-- Eric Niebler Boost Consulting www.boost-consulting.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk