1# Boost.Config
2#
3# Copyright (c) 2001 Beman Dawes
4# Copyright (c) 2001 Vesa Karvonen
5# Copyright (c) 2001 John Maddock
6#
7# Distributed under the Boost Software License, Version 1.0.
8# (See accompanying file LICENSE_1_0.txt or copy at
9# http://www.boost.org/LICENSE_1_0.txt)
10
11
12# Quickbook
13# -----------------------------------------------------------------------------
14
15import quickbook ;
16
17path-constant boost-images : ../../../doc/src/images ;
18
19xml config
20    :
21        config.qbk
22    ;
23
24boostbook standalone
25    :
26        config
27    :
28        <xsl:param>toc.max.depth=2
29        <xsl:param>toc.section.depth=2
30        <xsl:param>chunk.section.depth=1
31        <xsl:param>boost.root=../../../..
32
33        # PDF Options:
34        <format>pdf:<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        <format>pdf:<xsl:param>fop.extensions=0
37        <format>pdf:<xsl:param>fop1.extensions=0
38        # No indent on body text:
39        <format>pdf:<xsl:param>body.start.indent=0pt
40        # Margin size:
41        <format>pdf:<xsl:param>page.margin.inner=0.5in
42        # Margin size:
43        <format>pdf:<xsl:param>page.margin.outer=0.5in
44        # Paper type = A4
45        <format>pdf:<xsl:param>paper.type=A4
46        # Yes, we want graphics for admonishments:
47        <xsl:param>admon.graphics=1
48        # Set this one for PDF generation *only*:
49        # default pnd graphics are awful in PDF form,
50        # better use SVG's instead:
51        <format>pdf:<xsl:param>admon.graphics.extension=".svg"
52        <format>pdf:<xsl:param>use.role.for.mediaobject=1
53        <format>pdf:<xsl:param>preferred.mediaobject.role=print
54        <format>pdf:<xsl:param>admon.graphics.path=$(boost-images)/
55        <format>pdf:<xsl:param>boost.url.prefix=http://www.boost.org/doc/libs/release/libs/config/doc/html
56    ;
57
58
59install pdfinstall : standalone/<format>pdf : <location>. <install-type>PDF ;
60explicit pdfinstall ;
61
62###############################################################################
63alias boostdoc ;
64explicit boostdoc ;
65alias boostrelease : standalone ;
66explicit boostrelease ;
67