1
2
3# Copyright John Maddock 2005. Use, modification, and distribution are
4# subject to the Boost Software License, Version 1.0. (See accompanying
5# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6
7using quickbook ;
8
9xml integer : integer.qbk ;
10boostbook standalone
11    :
12        integer
13    :
14        # HTML options first:
15        # Use graphics not text for navigation:
16        <xsl:param>navig.graphics=1
17        # How far down we chunk nested sections, basically all of them:
18        <xsl:param>chunk.section.depth=1
19        # Don't put the first section on the same page as the TOC:
20        <xsl:param>chunk.first.sections=0
21        # How far down sections get TOC's
22        <xsl:param>toc.section.depth=1
23        # Max depth in each TOC:
24        <xsl:param>toc.max.depth=1
25        # How far down we go with TOC's
26        <xsl:param>generate.section.toc.level=4
27        # Path for links to Boost:
28        <xsl:param>boost.root=../../../..
29
30        # PDF Options:
31        # TOC Generation: this is needed for FOP-0.9 and later:
32        <xsl:param>fop1.extensions=0
33        # Or enable this if you're using XEP:
34        <xsl:param>xep.extensions=1
35        # TOC generation: this is needed for FOP 0.2, but must not be set to zero for FOP-0.9!
36        <xsl:param>fop.extensions=0
37        # No indent on body text:
38        <xsl:param>body.start.indent=0pt
39        # Margin size:
40        <xsl:param>page.margin.inner=0.5in
41        # Margin size:
42        <xsl:param>page.margin.outer=0.5in
43        # Yes, we want graphics for admonishments:
44        <xsl:param>admon.graphics=1
45        # Set this one for PDF generation *only*:
46        # default pnd graphics are awful in PDF form,
47        # better use SVG's instead:
48        <format>pdf:<xsl:param>admon.graphics.extension=".svg"
49        <format>pdf:<xsl:param>admon.graphics.path=$(boost-images)/
50        <format>pdf:<xsl:param>boost.url.prefix=http://www.boost.org/doc/libs/release/libs/regex/doc/html
51    ;
52
53install pdfinstall : standalone/<format>pdf : <location>. <install-type>PDF ;
54explicit pdfinstall ;
55
56###############################################################################
57alias boostdoc ;
58explicit boostdoc ;
59alias boostrelease : standalone ;
60explicit boostrelease ;
61