Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r50205 - in trunk/doc: src/images src/images/callouts test
From: john_at_[hidden]
Date: 2008-12-08 13:56:34


Author: johnmaddock
Date: 2008-12-08 13:56:33 EST (Mon, 08 Dec 2008)
New Revision: 50205
URL: http://svn.boost.org/trac/boost/changeset/50205

Log:
Added SVG versions of the graphics.
Updated doc test case to build PDF cleanly.
Added:
   trunk/doc/src/images/callouts/1.svg (contents, props changed)
   trunk/doc/src/images/callouts/10.svg (contents, props changed)
   trunk/doc/src/images/callouts/11.svg (contents, props changed)
   trunk/doc/src/images/callouts/12.svg (contents, props changed)
   trunk/doc/src/images/callouts/13.svg (contents, props changed)
   trunk/doc/src/images/callouts/14.svg (contents, props changed)
   trunk/doc/src/images/callouts/15.svg (contents, props changed)
   trunk/doc/src/images/callouts/16.svg (contents, props changed)
   trunk/doc/src/images/callouts/17.svg (contents, props changed)
   trunk/doc/src/images/callouts/18.svg (contents, props changed)
   trunk/doc/src/images/callouts/19.svg (contents, props changed)
   trunk/doc/src/images/callouts/2.svg (contents, props changed)
   trunk/doc/src/images/callouts/20.svg (contents, props changed)
   trunk/doc/src/images/callouts/21.svg (contents, props changed)
   trunk/doc/src/images/callouts/22.svg (contents, props changed)
   trunk/doc/src/images/callouts/23.svg (contents, props changed)
   trunk/doc/src/images/callouts/24.svg (contents, props changed)
   trunk/doc/src/images/callouts/25.svg (contents, props changed)
   trunk/doc/src/images/callouts/26.svg (contents, props changed)
   trunk/doc/src/images/callouts/27.svg (contents, props changed)
   trunk/doc/src/images/callouts/28.svg (contents, props changed)
   trunk/doc/src/images/callouts/29.svg (contents, props changed)
   trunk/doc/src/images/callouts/3.svg (contents, props changed)
   trunk/doc/src/images/callouts/30.svg (contents, props changed)
   trunk/doc/src/images/callouts/4.svg (contents, props changed)
   trunk/doc/src/images/callouts/5.svg (contents, props changed)
   trunk/doc/src/images/callouts/6.svg (contents, props changed)
   trunk/doc/src/images/callouts/7.svg (contents, props changed)
   trunk/doc/src/images/callouts/8.svg (contents, props changed)
   trunk/doc/src/images/callouts/9.svg (contents, props changed)
   trunk/doc/src/images/caution.svg (contents, props changed)
   trunk/doc/src/images/home.svg (contents, props changed)
   trunk/doc/src/images/important.svg (contents, props changed)
   trunk/doc/src/images/next.svg (contents, props changed)
   trunk/doc/src/images/note.svg (contents, props changed)
   trunk/doc/src/images/prev.svg (contents, props changed)
   trunk/doc/src/images/tip.svg (contents, props changed)
   trunk/doc/src/images/up.svg (contents, props changed)
   trunk/doc/src/images/warning.svg (contents, props changed)
Text files modified:
   trunk/doc/test/Jamfile.v2 | 29 ++++++++++++++++++-----------
   trunk/doc/test/test.qbk | 3 ++-
   2 files changed, 20 insertions(+), 12 deletions(-)

Added: trunk/doc/src/images/callouts/1.svg
==============================================================================
Binary file. No diff available.

Added: trunk/doc/src/images/callouts/10.svg
==============================================================================
Binary file. No diff available.

Added: trunk/doc/src/images/callouts/11.svg
==============================================================================
Binary file. No diff available.

Added: trunk/doc/src/images/callouts/12.svg
==============================================================================
Binary file. No diff available.

Added: trunk/doc/src/images/callouts/13.svg
==============================================================================
Binary file. No diff available.

Added: trunk/doc/src/images/callouts/14.svg
==============================================================================
Binary file. No diff available.

Added: trunk/doc/src/images/callouts/15.svg
==============================================================================
Binary file. No diff available.

Added: trunk/doc/src/images/callouts/16.svg
==============================================================================
Binary file. No diff available.

Added: trunk/doc/src/images/callouts/17.svg
==============================================================================
Binary file. No diff available.

Added: trunk/doc/src/images/callouts/18.svg
==============================================================================
Binary file. No diff available.

Added: trunk/doc/src/images/callouts/19.svg
==============================================================================
Binary file. No diff available.

Added: trunk/doc/src/images/callouts/2.svg
==============================================================================
Binary file. No diff available.

Added: trunk/doc/src/images/callouts/20.svg
==============================================================================
Binary file. No diff available.

Added: trunk/doc/src/images/callouts/21.svg
==============================================================================
Binary file. No diff available.

Added: trunk/doc/src/images/callouts/22.svg
==============================================================================
Binary file. No diff available.

Added: trunk/doc/src/images/callouts/23.svg
==============================================================================
Binary file. No diff available.

Added: trunk/doc/src/images/callouts/24.svg
==============================================================================
Binary file. No diff available.

Added: trunk/doc/src/images/callouts/25.svg
==============================================================================
Binary file. No diff available.

Added: trunk/doc/src/images/callouts/26.svg
==============================================================================
Binary file. No diff available.

Added: trunk/doc/src/images/callouts/27.svg
==============================================================================
Binary file. No diff available.

Added: trunk/doc/src/images/callouts/28.svg
==============================================================================
Binary file. No diff available.

Added: trunk/doc/src/images/callouts/29.svg
==============================================================================
Binary file. No diff available.

Added: trunk/doc/src/images/callouts/3.svg
==============================================================================
Binary file. No diff available.

Added: trunk/doc/src/images/callouts/30.svg
==============================================================================
Binary file. No diff available.

Added: trunk/doc/src/images/callouts/4.svg
==============================================================================
Binary file. No diff available.

Added: trunk/doc/src/images/callouts/5.svg
==============================================================================
Binary file. No diff available.

Added: trunk/doc/src/images/callouts/6.svg
==============================================================================
Binary file. No diff available.

Added: trunk/doc/src/images/callouts/7.svg
==============================================================================
Binary file. No diff available.

Added: trunk/doc/src/images/callouts/8.svg
==============================================================================
Binary file. No diff available.

Added: trunk/doc/src/images/callouts/9.svg
==============================================================================
Binary file. No diff available.

Added: trunk/doc/src/images/caution.svg
==============================================================================
Binary file. No diff available.

Added: trunk/doc/src/images/home.svg
==============================================================================
Binary file. No diff available.

Added: trunk/doc/src/images/important.svg
==============================================================================
Binary file. No diff available.

Added: trunk/doc/src/images/next.svg
==============================================================================
Binary file. No diff available.

Added: trunk/doc/src/images/note.svg
==============================================================================
Binary file. No diff available.

Added: trunk/doc/src/images/prev.svg
==============================================================================
Binary file. No diff available.

Added: trunk/doc/src/images/tip.svg
==============================================================================
Binary file. No diff available.

Added: trunk/doc/src/images/up.svg
==============================================================================
Binary file. No diff available.

Added: trunk/doc/src/images/warning.svg
==============================================================================
Binary file. No diff available.

Modified: trunk/doc/test/Jamfile.v2
==============================================================================
--- trunk/doc/test/Jamfile.v2 (original)
+++ trunk/doc/test/Jamfile.v2 2008-12-08 13:56:33 EST (Mon, 08 Dec 2008)
@@ -7,6 +7,8 @@
 import doxygen ;
 using quickbook ;
 
+path-constant images_location : html ;
+
 #
 # Accumulators docs are dependent upon
 # latex dvips and ps being in your PATH.
@@ -161,24 +163,29 @@
         # PDF Options:
         #======================================================================
 
- # TOC Generation: this is needed for FOP-0.9 and later:
- # <xsl:param>fop1.extensions=1
- <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
+ # PDF Options:
+ # TOC Generation: only one of these should be set:
+ <format>pdf:<xsl:param>fop.extensions=0
+ <format>pdf:<xsl:param>fop1.extensions=0
+ <format>pdf:<xsl:param>xep.extensions=1
         # No indent on body text:
- <xsl:param>body.start.indent=0pt
- # Margin size:
- <xsl:param>page.margin.inner=0.5in
+ <format>pdf:<xsl:param>body.start.indent=0pt
         # Margin size:
- <xsl:param>page.margin.outer=0.5in
+ <format>pdf:<xsl:param>page.margin.inner=0.5in
+ <format>pdf:<xsl:param>page.margin.outer=0.5in
+ # Paper type = A4
+ <format>pdf:<xsl:param>paper.type=A4
         # 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:
- #<xsl:param>admon.graphics.extension=".svg"
+ <format>pdf:<xsl:param>admon.graphics.extension=".svg"
+ <format>pdf:<xsl:param>img.src.path=$(images_location)/
+ <format>pdf:<xsl:param>admon.graphics.path=$(images_location)/../../src/images/
+ <format>pdf:<xsl:param>callout.graphics.path=$(images_location)/../../src/images/callouts/
+ <format>pdf:<xsl:param>draft.mode="no"
     ;
 
 
+install pdf-install : standalone : <location>. <install-type>PDF ;
\ No newline at end of file

Modified: trunk/doc/test/test.qbk
==============================================================================
--- trunk/doc/test/test.qbk (original)
+++ trunk/doc/test/test.qbk 2008-12-08 13:56:33 EST (Mon, 08 Dec 2008)
@@ -546,7 +546,7 @@
 [[variance][`a * b / (a+b)^2 * (a + b + 1)`]]
 [[mode][`(a-1) / (a + b + 2)`]]
 [[skewness][`2 (b-a) sqrt(a+b+1)/(a+b+2) * sqrt(a * b)`]]
-[[kurtosis excess][ [$../beta_dist_kurtosis.png] ]]
+[[kurtosis excess][ [$images/beta_dist_kurtosis.png] ]]
 [[kurtosis][`kurtosis + 3`]]
 [[parameter estimation][ ]]
 [[alpha
@@ -604,3 +604,4 @@
 [endsect]
 
 
+


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