From 2637358ba975c098e28ac5b1c754a1392fbef19d Mon Sep 17 00:00:00 2001 From: John Maddock Date: Mon, 23 Feb 2009 18:39:32 +0000 Subject: [PATCH] Merge PDF build changes from Trunk. [SVN r51417] --- doc/Jamfile.v2 | 24 ++++++++++++++++++++++++ doc/static_assert.qbk | 2 +- 2 files changed, 25 insertions(+), 1 deletion(-) diff --git a/doc/Jamfile.v2 b/doc/Jamfile.v2 index 261c316..a8dac07 100644 --- a/doc/Jamfile.v2 +++ b/doc/Jamfile.v2 @@ -5,6 +5,8 @@ using quickbook ; +path-constant boost-images : ../../../doc/src/images ; + xml static_assert : static_assert.qbk ; boostbook standalone : @@ -12,9 +14,31 @@ boostbook standalone : nav.layout=none navig.graphics=0 + # PDF Options: + # TOC Generation: this is needed for FOP-0.9 and later: + fop1.extensions=0 + # Or enable this if you're using XEP: + xep.extensions=1 + # TOC generation: this is needed for FOP 0.2, but must not be set to zero for FOP-0.9! + fop.extensions=0 + # No indent on body text: + body.start.indent=0pt + # Margin size: + page.margin.inner=0.5in + # Margin size: + page.margin.outer=0.5in + # Yes, we want graphics for admonishments: + admon.graphics=1 + # Set this one for PDF generation *only*: + # default pnd graphics are awful in PDF form, + # better use SVG's instead: + pdf:admon.graphics.extension=".svg" + pdf:admon.graphics.path=$(boost-images)/ + pdf:boost.url.prefix=http://www.boost.org/doc/libs/release/doc/html ; install html : ../../../doc/html/boostbook.css ; install ../ : ../../../boost.png ; + diff --git a/doc/static_assert.qbk b/doc/static_assert.qbk index 6063a12..142cdbf 100644 --- a/doc/static_assert.qbk +++ b/doc/static_assert.qbk @@ -131,7 +131,7 @@ Suppose we have a template-class that requires an unsigned integral type with at least 16-bits of precision as a template argument, we can achieve this using something like this: - #include + #include #include template