2 # Copyright John Maddock 2005. 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)
8 path-constant images_location : html ;
10 xml math-gcd : math-gcd.qbk ;
15 # Path for links to Boost:
16 <xsl:param>boost.root=../../../../..
18 # Some general style settings:
19 <xsl:param>table.footnote.number.format=1
20 <xsl:param>footnote.number.format=1
23 # Use graphics not text for navigation:
24 <xsl:param>navig.graphics=1
25 # How far down we chunk nested sections, basically all of them:
26 <xsl:param>chunk.section.depth=10
27 # Don't put the first section on the same page as the TOC:
28 <xsl:param>chunk.first.sections=1
29 # How far down sections get TOC's
30 <xsl:param>toc.section.depth=10
31 # Max depth in each TOC:
32 <xsl:param>toc.max.depth=4
33 # How far down we go with TOC's
34 <xsl:param>generate.section.toc.level=10
35 #<xsl:param>root.filename="sf_dist_and_tools"
38 # TOC Generation: this is needed for FOP-0.9 and later:
39 # <xsl:param>fop1.extensions=1
40 <format>pdf:<xsl:param>xep.extensions=1
41 # TOC generation: this is needed for FOP 0.2, but must not be set to zero for FOP-0.9!
42 <format>pdf:<xsl:param>fop.extensions=0
43 <format>pdf:<xsl:param>fop1.extensions=0
44 # No indent on body text:
45 <format>pdf:<xsl:param>body.start.indent=0pt
47 <format>pdf:<xsl:param>page.margin.inner=0.5in
49 <format>pdf:<xsl:param>page.margin.outer=0.5in
51 <format>pdf:<xsl:param>paper.type=A4
52 # Yes, we want graphics for admonishments:
53 <xsl:param>admon.graphics=1
54 # Set this one for PDF generation *only*:
55 # default pnd graphics are awful in PDF form,
56 # better use SVG's instead:
57 <format>pdf:<xsl:param>admon.graphics.extension=".svg"
58 <format>pdf:<xsl:param>use.role.for.mediaobject=1
59 <format>pdf:<xsl:param>preferred.mediaobject.role=print
60 <format>pdf:<xsl:param>img.src.path=$(images_location)/
61 <format>pdf:<xsl:param>draft.mode="no"
62 <format>pdf:<xsl:param>boost.url.prefix=http://www.boost.org/doc/libs/release/libs/math/doc/gcd/html