Boost logo

Boost-Commit :

From: john_at_[hidden]
Date: 2007-10-05 05:57:35


Author: johnmaddock
Date: 2007-10-05 05:57:34 EDT (Fri, 05 Oct 2007)
New Revision: 39699
URL: http://svn.boost.org/trac/boost/changeset/39699

Log:
Added better pdf generation support.
Text files modified:
   sandbox/math_toolkit/libs/math/doc/Jamfile.v2 | 11 ++++++++---
   1 files changed, 8 insertions(+), 3 deletions(-)

Modified: sandbox/math_toolkit/libs/math/doc/Jamfile.v2
==============================================================================
--- sandbox/math_toolkit/libs/math/doc/Jamfile.v2 (original)
+++ sandbox/math_toolkit/libs/math/doc/Jamfile.v2 2007-10-05 05:57:34 EDT (Fri, 05 Oct 2007)
@@ -5,6 +5,8 @@
 
 using quickbook ;
 
+path-constant images_location : html ;
+
 xml math : math.qbk ;
 boostbook standalone
     :
@@ -58,10 +60,13 @@
         # Set this one for PDF generation *only*:
         # default pnd graphics are awful in PDF form,
         # better use SVG's instead:
- # <xsl:param>admon.graphics.extension=".svg"
- # <xsl:param>use.role.for.mediaobject=1
- # <xsl:param>preferred.mediaobject.role=print
+ <format>pdf:<xsl:param>admon.graphics.extension=".svg"
+ <format>pdf:<xsl:param>use.role.for.mediaobject=1
+ <format>pdf:<xsl:param>preferred.mediaobject.role=print
+ <format>pdf:<xsl:param>img.src.path=$(images_location)/
+ <format>pdf:<xsl:param>admon.graphics.path=$(images_location)/images/
     ;
 
 
 
+


Boost-Commit 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