2 # Copyright John Maddock 2011. Use, modification, and distribution are
3 # subject to the Boost Software License, Version 1.0. (See accompanying
4 # file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
9 path-constant images_location : html ;
10 path-constant here : . ;
12 xml multiprecision : multiprecision.qbk ;
18 # Path for links to Boost:
19 <xsl:param>boost.root=../../../..
21 # Some general style settings:
22 <xsl:param>table.footnote.number.format=1
23 <xsl:param>footnote.number.format=1
24 #<xsl:param>html.stylesheet=../../../../doc/src/boostbook.css
27 # Use graphics not text for navigation:
28 <xsl:param>navig.graphics=1
29 # How far down we chunk nested sections, basically all of them:
30 <xsl:param>chunk.section.depth=10
31 # Don't put the first section on the same page as the TOC:
32 <xsl:param>chunk.first.sections=10
33 # How far down sections get TOC's
34 <xsl:param>toc.section.depth=10
35 # Max depth in each TOC:
36 <xsl:param>toc.max.depth=4
37 # How far down we go with TOC's
38 #<xsl:param>generate.section.toc.level=10
40 <xsl:param>index.on.type=1
41 <xsl:param>html.stylesheet=multiprecision.css # Local variant for multiprecision,
42 # extending 'standard' BOOST_ROOT/doc/src/boostbook.css with
43 # @import url('../../../../doc/src/boostbook.css');
44 # in location multiprecision/doc/html/multiprecision.css
48 # TOC Generation: this is needed for FOP-0.9 and later:
49 <xsl:param>fop1.extensions=0
50 <format>pdf:<xsl:param>xep.extensions=1
51 # TOC generation: this is needed for FOP 0.2, but must not be set to zero for FOP-0.9!
52 <format>pdf:<xsl:param>fop.extensions=0
53 <format>pdf:<xsl:param>fop1.extensions=0
54 # No indent on body text:
55 <format>pdf:<xsl:param>body.start.indent=0pt
57 <format>pdf:<xsl:param>page.margin.inner=0.5in
59 <format>pdf:<xsl:param>page.margin.outer=0.5in
61 <format>pdf:<xsl:param>paper.type=A4
62 # Yes, we want graphics for admonishments:
63 <xsl:param>admon.graphics=1
64 # Set this one for PDF generation *only*:
65 # default pnd graphics are awful in PDF form,
66 # better use SVG's instead:
67 <format>pdf:<xsl:param>admon.graphics.extension=".svg"
68 <format>pdf:<xsl:param>use.role.for.mediaobject=1
69 <format>pdf:<xsl:param>preferred.mediaobject.role=print
70 <format>pdf:<xsl:param>img.src.path=$(images_location)/
71 <format>pdf:<xsl:param>draft.mode="no"
72 <format>pdf:<xsl:param>boost.url.prefix=http\://www.boost.org/doc/libs/release/libs/math/doc/sf_and_dist/html
76 <auto-index-script>$(here)/index.idx
77 <auto-index-prefix>$(here)/../../..
78 <auto-index-verbose>on
79 <format>html:<auto-index-internal>on
80 <quickbook-define>enable_index
81 <format>pdf:<xsl:param>index.on.type=1
84 install pdfinstall : standalone : <location>. <install-type>PDF <name>multiprecision.pdf ;
86 ###############################################################################
89 alias boostrelease : standalone ;
90 explicit boostrelease ;