• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1
2# Copyright 2005 Daniel James.
3# Distributed under 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 boostbook ;
7using quickbook ;
8
9path-constant images_location : ../ ;
10path-constant admonishment_location : ../../../../doc/src/images ;
11
12xml unordered : unordered.qbk :
13    <xsl:param>generate.consistent.ids=1 ;
14
15boostbook standalone : unordered :
16    <xsl:param>chunk.first.sections=1
17    <xsl:param>chunk.section.depth=2
18    <xsl:param>generate.section.toc.level=2
19    <xsl:param>toc.section.depth=1
20    <xsl:param>toc.max.depth=1
21
22    <xsl:param>boost.compact.typedef=0
23    <xsl:param>boost.compact.function=0
24    <xsl:param>boost.compact.enum=0
25
26    <xsl:param>generate.consistent.ids=1
27
28    # HTML Options:
29
30    <format>html:<xsl:param>boost.root=../../../..
31    <format>html:<xsl:param>img.src.path=../../../../doc/html/
32    <format>xhtml:<xsl:param>boost.root=../../../..
33    <format>xhtml:<xsl:param>img.src.path=../../../../doc/html/
34
35    # PDF Options:
36
37    # TOC Generation: this is needed for FOP-0.9 and later:
38    <xsl:param>fop1.extensions=0
39    <format>pdf:<xsl:param>xep.extensions=1
40    # TOC generation: this is needed for FOP 0.2, but must not be set to zero for FOP-0.9!
41    <format>pdf:<xsl:param>fop.extensions=0
42    # No indent on body text:
43    <format>pdf:<xsl:param>body.start.indent=0pt
44    # Margin size:
45    <format>pdf:<xsl:param>page.margin.inner=0.5in
46    # Margin size:
47    <format>pdf:<xsl:param>page.margin.outer=0.5in
48    # Paper type = A4
49    <format>pdf:<xsl:param>paper.type=A4
50    # Yes, we want graphics for admonishments:
51    <xsl:param>admon.graphics=1
52    # Set this one for PDF generation *only*:
53    # default png graphics are awful in PDF form,
54    # better use SVG's instead:
55    <format>pdf:<xsl:param>admon.graphics.extension=".svg"
56    <format>pdf:<xsl:param>use.role.for.mediaobject=1
57    <format>pdf:<xsl:param>preferred.mediaobject.role=print
58    <format>pdf:<xsl:param>img.src.path=$(images_location)/
59    #<format>pdf:<xsl:param>admon.graphics.path=$(admonishment_location)
60    <format>pdf:<xsl:param>draft.mode="no"
61    <format>pdf:<xsl:param>boost.url.prefix=http://www.boost.org/doc/libs/release/libs/unordered/doc/html
62    ;
63
64###############################################################################
65alias boostdoc
66    : unordered
67    :
68    :
69    : ;
70explicit boostdoc ;
71alias boostrelease ;
72explicit boostrelease ;
73