summaryrefslogtreecommitdiff
path: root/doc/test
diff options
context:
space:
mode:
authorJohn Maddock <john@johnmaddock.co.uk>2009-02-08 16:59:14 +0000
committerJohn Maddock <john@johnmaddock.co.uk>2009-02-08 16:59:14 +0000
commit191f1bfed043c57861d4b9d4c9a2defbf83fcc43 (patch)
treec9ea667bee14300fe70bceae6d699b760bcee632 /doc/test
parentd128d7c196718b39b95d6b28be006ab1a1fa99e4 (diff)
downloadboost-191f1bfed043c57861d4b9d4c9a2defbf83fcc43.tar.gz
Add Jamfile to build PDF versions of all the docs.
Tweaked some existing Jamfiles so that PDF build finds all the necessary image files etc. Tweaked fo.xsl to provide more options by default, and improve formatting. [SVN r51104]
Diffstat (limited to 'doc/test')
-rw-r--r--doc/test/Jamfile.v224
-rw-r--r--doc/test/test.qbk6
2 files changed, 7 insertions, 23 deletions
diff --git a/doc/test/Jamfile.v2 b/doc/test/Jamfile.v2
index 0d5af3ddaa..aa8709a1d5 100644
--- a/doc/test/Jamfile.v2
+++ b/doc/test/Jamfile.v2
@@ -163,30 +163,8 @@ boostbook standalone
# PDF Options:
#======================================================================
-
- # 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:
- <format>pdf:<xsl:param>body.start.indent=0pt
- # Margin size:
- <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:
- <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
+install pdf-install : standalone : <location>. <install-type>PDF ;
diff --git a/doc/test/test.qbk b/doc/test/test.qbk
index 9ea7fb5859..2181aed2e5 100644
--- a/doc/test/test.qbk
+++ b/doc/test/test.qbk
@@ -57,6 +57,12 @@ These should be syntax highlighted:
[endsect]
+[section This should cause an error in PDF builds]
+
+ template <class RealType> RealType inline foo(const RealType& a, const RealType& b, const RealType& c, const RealType& d, const RealType& e, const RealType& f, const RealType& g, const RealType& h){ return 0; }
+
+[endsect]
+
[section Imported code and callouts]
[import stub.cpp]