Boost logo

Geometry :

Subject: [geometry] Problem generating PDF documentation
From: Patrick J. LoPresti (lopresti_at_[hidden])
Date: 2014-07-10 00:26:44


I have checked out the latest "modular Boost" from github.

I followed the instructions in lib/geometry/doc/readme.txt carefully.

I am using fop 1.1 installed via "apt-get install fop" on Linux Mint 17.

I get the following error:

/home/patl/tmp/modular-boost/lib/geometry/doc$ b2 pdf
Performing configuration checks

    - symlinks supported : yes (cached)
...patience...
...patience...
...found 3768 targets...
...updating 1 target...
fop.render.pdf ../../../bin.v2/libs/geometry/doc/gcc-4.8/debug/geometry.pdf
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 24102:1094)
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 24102:1094)

    /usr/bin/fop
../../../bin.v2/libs/geometry/doc/gcc-4.8/debug/geometry.fo
../../../bin.v2/libs/geometry/doc/gcc-4.8/debug/geometry.pdf

...failed fop.render.pdf
../../../bin.v2/libs/geometry/doc/gcc-4.8/debug/geometry.pdf...
...failed updating 1 target...

I know precisely nothing about .fo files. But I do know a little XML,
and if I go to line 24012 offset 1094 in
bin.v2/libs/geometry/goc/gcc-4.8/debug/geometry.fo, I am in the middle
of a table that has three "fo:table-column" tags. If I add a fourth
such tag by hand and re-run "b2 pdf", the error goes away... only to
be replaced by a similar error on line 24531.

Proceeding in this way a few dozen times, I eventually wind up with a
successful run and a decent-looking PDF file. So this looks like a bug
in the .fo file generator (as opposed to the fop tool), although I
admit I am not exactly qualified to tell.

Please let me know if this report is insufficient or if I should send
it somewhere else.

Thanks!

 - Pat


Geometry list run by mateusz at loskot.net