[prev in list] [next in list] [prev in thread] [next in thread] 

List:       boost-commit
Subject:    [Boost-commit] svn:boost r50910 - in trunk/libs: config/doc
From:       john () johnmaddock ! co ! uk
Date:       2009-01-30 18:20:50
Message-ID: 20090130182050.88EA32F8389 () wowbagger ! osl ! iu ! edu
[Download RAW message or body]

Author: johnmaddock
Date: 2009-01-30 13:20:49 EST (Fri, 30 Jan 2009)
New Revision: 50910
URL: http://svn.boost.org/trac/boost/changeset/50910

Log:
Fix up PDF generation options.
Text files modified: 
   trunk/libs/config/doc/Jamfile.v2        |     5 +----                                   
   trunk/libs/math/doc/complex/Jamfile.v2  |     2 ++                                      
   trunk/libs/static_assert/doc/Jamfile.v2 |    23 +++++++++++++++++++++++                 
   trunk/libs/tr1/doc/Jamfile.v2           |     9 +++++++--                               
   4 files changed, 33 insertions(+), 6 deletions(-)

Modified: trunk/libs/config/doc/Jamfile.v2
==============================================================================
--- trunk/libs/config/doc/Jamfile.v2	(original)
+++ trunk/libs/config/doc/Jamfile.v2	2009-01-30 13:20:49 EST (Fri, 30 Jan 2009)
@@ -58,9 +58,6 @@
     ;
 
 
-
-
-
-
+install pdf-install : standalone : <location>. <install-type>PDF ;
 
 

Modified: trunk/libs/math/doc/complex/Jamfile.v2
==============================================================================
--- trunk/libs/math/doc/complex/Jamfile.v2	(original)
+++ trunk/libs/math/doc/complex/Jamfile.v2	2009-01-30 13:20:49 EST (Fri, 30 Jan 2009)
@@ -78,3 +78,5 @@
 
 
 
+
+

Modified: trunk/libs/static_assert/doc/Jamfile.v2
==============================================================================
--- trunk/libs/static_assert/doc/Jamfile.v2	(original)
+++ trunk/libs/static_assert/doc/Jamfile.v2	2009-01-30 13:20:49 EST (Fri, 30 Jan 2009)
@@ -5,6 +5,8 @@
 
 using quickbook ;
 
+path-constant boost-images : ../../../doc/src/images ;
+
 xml static_assert : static_assert.qbk ;
 boostbook standalone
     :
@@ -12,9 +14,30 @@
     :
         <xsl:param>nav.layout=none
         <xsl:param>navig.graphics=0
+        # PDF Options:
+        # TOC Generation: this is needed for FOP-0.9 and later:
+        <xsl:param>fop1.extensions=0
+        # Or enable this if you're using XEP:
+        <xsl:param>xep.extensions=1
+        # TOC generation: this is needed for FOP 0.2, but must not be set to zero for FOP-0.9!
+        <xsl:param>fop.extensions=0
+        # No indent on body text:
+        <xsl:param>body.start.indent=0pt
+        # Margin size:
+        <xsl:param>page.margin.inner=0.5in
+        # Margin size:
+        <xsl:param>page.margin.outer=0.5in
+        # Yes, we want graphics for admonishments:
+        <xsl:param>admon.graphics=1
+        # Set this one for PDF generation *only*:
+        # default pnd graphics are awful in PDF form,
+        # better use SVG's instead:
+        <format>pdf:<xsl:param>admon.graphics.extension=".svg"
+        <format>pdf:<xsl:param>admon.graphics.path=$(boost-images)/
     ;
 
 install html : ../../../doc/html/boostbook.css ;
 install ../ : ../../../boost.png ;
 
 
+

Modified: trunk/libs/tr1/doc/Jamfile.v2
==============================================================================
--- trunk/libs/tr1/doc/Jamfile.v2	(original)
+++ trunk/libs/tr1/doc/Jamfile.v2	2009-01-30 13:20:49 EST (Fri, 30 Jan 2009)
@@ -4,7 +4,10 @@
 
 using quickbook ;
 
+path-constant boost-images : ../../../doc/src/images ;
+
 xml tr1 : tr1.qbk ;
+
 boostbook standalone
     :
         tr1
@@ -31,7 +34,7 @@
         
         # PDF Options:
         # TOC Generation: this is needed for FOP-0.9 and later:
-        #<xsl:param>fop1.extensions=1
+        <xsl:param>fop1.extensions=0
         # Or enable this if you're using XEP:
         <xsl:param>xep.extensions=1
         # TOC generation: this is needed for FOP 0.2, but must not be set to zero for FOP-0.9!
@@ -47,10 +50,12 @@
         # 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"
+        <format>pdf:<xsl:param>admon.graphics.extension=".svg"
+        <format>pdf:<xsl:param>admon.graphics.path=$(boost-images)/
     ;
 
 
 
 
 
+
_______________________________________________
Boost-commit mailing list
Boost-commit@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-commit
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic