|
Boost-Build : |
Subject: Re: [Boost-build] [function] Trying to build pdf
From: John Maddock (boost.regex_at_[hidden])
Date: 2012-11-06 12:03:48
> I'm trying to build the pdf documentation as explained in the
> BoostBook Getting Started guide. (
> http://www.boost.org/doc/libs/1_52_0/doc/html/boostbook/getting/started.html
> )
>
> I have downloaded Apache FOP and updated my user-config.jam.
XEP from RenderX will likely give more reliable results, but leaving that
aside for the moment...
>But when
> I run "bjam --debug-configuration pdf" I get the error:
>
> Making portrait pages on A4 paper (210mmx297mm)
> fop.render.pdf
> ..\..\..\bin.v2\libs\function\doc\msvc-11.0\debug\threading-multi\function.pdf
> Nov 06, 2012 11:35:30 AM org.apache.fop.cli.Main startFOP
> SEVERE: Exception
> org.apache.fop.apps.FOPException:
> org.apache.fop.fo.ValidationException: The column-number or number of
> cells in the row overflows the number of fo:table-columns specified
> for the table. (See position 810:2465)
> javax.xml.transform.TransformerException:
> org.apache.fop.fo.ValidationException: The column-number or number of
> cells in the row overflows the number of fo:table-columns specified
> for the table. (See position 810:2465)
>
> The full output can be found here:
>
> http://pastebin.com/raw.php?i=4AjfFYCm
>
> Can anyone see what's the problem? I'm on Windows 7 and use boost trunk.
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).
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 :-(
John.
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk