2 Copyright 2002,2004,2006 Joel de Guzman, Eric Niebler
3 Copyright 2010-2011 Daniel James
5 Distributed under the Boost Software License, Version 1.0.
6 (See accompanying file LICENSE_1_0.txt or copy at
7 http://www.boost.org/LICENSE_1_0.txt)
10 [chapter Frequently Asked Questions
12 [compatibility-mode 1.5]
14 [source-mode teletype]
17 [heading Can I use QuickBook for non-Boost documentation?]
19 QuickBook can be used for non-Boost documentation with a little extra work.
21 [:['Faq contributed by Michael Marcin]]
23 When building HTML documentation with BoostBook a Boost C++ Libraries header
24 is added to the files. When using QuickBook to document projects outside of
25 Boost this is not desirable. This behavior can be overridden at the BoostBook
26 level by specifying some XSLT options. When using Boost Build version 2 (BBv2)
27 this can be achieved by adding parameters to the BoostBook target declaration.
33 xml my_doc : my_doc.qbk ;
39 <xsl:param>boost.image.src\=images/my_project_logo.png
40 <xsl:param>boost.image.alt\="\\"My Project\\""
41 <xsl:param>boost.image.w=100
42 <xsl:param>boost.image.h=50
43 <xsl:param>nav.layout=none
47 [heading Is there an easy way to convert BoostBook docs to QuickBook?]
49 There's a stylesheet that allows Boostbook generated HTML to be viewed
50 as quickbook source, see
51 [@http://svn.boost.org/trac/boost/wiki/QuickbookSourceStylesheetProject],
52 so it's then just a cut and paste job to convert the BoostBook to
53 QuickBook (which IMO is a whole lot easier to edit and maintain).