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