• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
6project : requirements
7        # Path for links to Boost:
8        <xsl:param>boost.root=../../../..
9
10        # Some general style settings:
11        <xsl:param>table.footnote.number.format=1
12        <xsl:param>footnote.number.format=1
13
14        # HTML options first:
15        # Use graphics not text for navigation:
16        <xsl:param>navig.graphics=1
17       # PDF Options:
18        # TOC Generation: this is needed for FOP-0.9 and later:
19        <xsl:param>fop1.extensions=0
20        <xsl:param>xep.extensions=1
21        # TOC generation: this is needed for FOP 0.2, but must not be set to zero for FOP-0.9!
22        <xsl:param>fop.extensions=0
23        # No indent on body text:
24        <xsl:param>body.start.indent=0pt
25        # Margin size:
26        <xsl:param>page.margin.inner=0.5in
27        # Margin size:
28        <xsl:param>page.margin.outer=0.5in
29        # Paper type = A4
30        <xsl:param>paper.type=A4
31        # Yes, we want graphics for admonishments:
32        <xsl:param>admon.graphics=1
33        # Set this one for PDF generation *only*:
34        # default pnd graphics are awful in PDF form,
35        # better use SVG's instead:
36        <format>pdf:<xsl:param>admon.graphics.extension=".svg"
37        <format>pdf:<xsl:param>admon.graphics.path=$(boost-images)/
38        <format>pdf:<xsl:param>boost.url.prefix=http://www.boost.org/doc/libs/release/libs/utility/doc/html
39;
40
41using quickbook ;
42
43path-constant boost-images : ../../../doc/src/images ;
44
45xml base_from_member : base_from_member.qbk ;
46boostbook standalone_base_from_member
47    :
48        base_from_member
49    :
50        # File name of HTML output:
51        <xsl:param>root.filename=base_from_member
52        # How far down we chunk nested sections, basically all of them:
53        <xsl:param>chunk.section.depth=0
54        # Don't put the first section on the same page as the TOC:
55        <xsl:param>chunk.first.sections=0
56        # How far down sections get TOC's
57        <xsl:param>toc.section.depth=1
58        # Max depth in each TOC:
59        <xsl:param>toc.max.depth=1
60        # How far down we go with TOC's
61        <xsl:param>generate.section.toc.level=1
62     ;
63
64xml compressed_pair : compressed_pair.qbk ;
65boostbook standalone_compressed_pair
66    :
67        compressed_pair
68    :
69        # File name of HTML output:
70        <xsl:param>root.filename=compressed_pair
71        # How far down we chunk nested sections, basically all of them:
72        <xsl:param>chunk.section.depth=0
73        # Don't put the first section on the same page as the TOC:
74        <xsl:param>chunk.first.sections=0
75        # How far down sections get TOC's
76        <xsl:param>toc.section.depth=1
77        # Max depth in each TOC:
78        <xsl:param>toc.max.depth=1
79        # How far down we go with TOC's
80        <xsl:param>generate.section.toc.level=1
81     ;
82
83xml declval : declval.qbk ;
84boostbook standalone_declval
85    :
86        declval
87    :
88        # File name of HTML output:
89        <xsl:param>root.filename=declval
90        # How far down we chunk nested sections, basically all of them:
91        <xsl:param>chunk.section.depth=0
92        # Don't put the first section on the same page as the TOC:
93        <xsl:param>chunk.first.sections=0
94        # How far down sections get TOC's
95        <xsl:param>toc.section.depth=1
96        # Max depth in each TOC:
97        <xsl:param>toc.max.depth=1
98        # How far down we go with TOC's
99        <xsl:param>generate.section.toc.level=1
100     ;
101
102xml string_ref : string_ref.qbk ;
103boostbook standalone_string_ref
104    :
105        string_ref
106    :
107        # File name of HTML output:
108        <xsl:param>root.filename=string_ref
109        # How far down we chunk nested sections, basically all of them:
110        <xsl:param>chunk.section.depth=0
111        # Don't put the first section on the same page as the TOC:
112        <xsl:param>chunk.first.sections=0
113        # How far down sections get TOC's
114        <xsl:param>toc.section.depth=1
115        # Max depth in each TOC:
116        <xsl:param>toc.max.depth=1
117        # How far down we go with TOC's
118        <xsl:param>generate.section.toc.level=1
119     ;
120
121###############################################################################
122alias boostdoc ;
123explicit boostdoc ;
124alias boostrelease :
125    standalone_base_from_member standalone_compressed_pair
126    standalone_declval standalone_string_ref ;
127explicit boostrelease ;
128