Eric Niebler wrote: > John Maddock wrote: >>>> Sincerely hoping someone proves me wrong.... >>> Have you checked whether 0.91 beta supports them? >>> >>> http://xmlgraphics.apache.org/fop >> >> 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/ > : C:/cygwin/home/ericne/docbook-dtd-4.2/ > ; > > using fop : C:/cygwin/home/ericne/fop-0.91beta/fop.bat > : C:/PROGRA~1/Java/j2re1.4.2_06 > ; > > Next, you need to hack your doc's Jamfile.v2. Using xpressive as an > example: > boostbook standalone > : > xpressive > : > <xsl:param>fop1.extensions=1 > <xsl:param>fop.extensions=0 > ; > > 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.
Eric, I've finally got around to trying this, and I can now generate small pdf's (for example the static_assert docs) with the latest FOP release, however I'm getting out of memory errors trying to build the Math.Toolkit docs: There are lots of lines like: WARNING: Line 1 of a paragraph overflows the available area. (fo:block, location : 6182/5525) Then I get: Exception in thread "main" java.lang.OutOfMemoryError: Java heap space set JAVA_HOME=C:/PROGRA~1/Java/j2re1.4.2_12 C:/download/open/xml/fop-0.92beta/fop.bat c:\data\boost\sandbox\boost-sandbox\l ibs\math_functions\doc\..\bin.v2\doc\msvc-8.0\debug\math.fo ..\bin.v2\doc\msvc-8 .0\debug\math.pdf I've tried adding -XX:MaxNewSize=512m to my fop.bat (probably the wrong place?) but it makes no difference. Anyone have any ideas? BTW the paragraph overflows are caused by the body text being indented significantly compared to the titles, which combined with a wide margin means that almost any trivial amount of code overflows to the right (as do tables for that matter). John. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Boost-docs mailing list [email protected] Unsubscribe and other administrative requests: https://lists.sourceforge.net/lists/listinfo/boost-docs
