Boost logo

Boost-Build :

Subject: Re: [Boost-build] [function] Trying to build pdf
From: John Maddock (boost.regex_at_[hidden])
Date: 2012-11-06 13:54:17

>> XEP from RenderX will likely give more reliable results, but leaving that
>> aside for the moment...
> I have installed it and it works. I mean it creates a pdf in the
> bin.v2 folder but for some reason bjam doesn't copy it into the doc
> folder. Do you know why?

You need an install rule to copy it to the local folder if that's what you
want, something like:

install pdfinstall : function-doc/<format>pdf : <location>.
<install-type>PDF <name>function.pdf ;
explicit pdfinstall ;

And then,

bjam pdfinstall

will build and install the PDF.

>> It's not a Boost.Build issue, it's FOP complaining that it can't handle
>> the
>> .fo XML that the XSL stylesheets generated. I just tried current SVN
>> Trunk
>> and it built for me OK (with XEP), so maybe it's a FOP bug? Or maybe
>> your
>> XSL stylesheets are out of date (I'm using docbook-xsl-1.77.1).
> That's what I'm using.
>> Sorry I can't be more helpful, but if this is a bug in the stylesheets
>> (or
>> quickbook) generating invalid FO, then it's likely to be very hard to
>> track
>> down :-(
> No worries I'm just trying to get a pdf documentation generator going.
> But the Boost Build Getting Started section should be revised. It
> seems that Apache FOP might not be an option anymore...

OK, noted on the Wiki,


Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at