|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r84062 - trunk/tools/quickbook/doc
From: dnljms_at_[hidden]
Date: 2013-04-28 06:46:42
Author: danieljames
Date: 2013-04-28 06:46:41 EDT (Sun, 28 Apr 2013)
New Revision: 84062
URL: http://svn.boost.org/trac/boost/changeset/84062
Log:
Fix the block example.
Text files modified:
trunk/tools/quickbook/doc/1_6.qbk | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
Modified: trunk/tools/quickbook/doc/1_6.qbk
==============================================================================
--- trunk/tools/quickbook/doc/1_6.qbk (original)
+++ trunk/tools/quickbook/doc/1_6.qbk 2013-04-28 06:46:41 EDT (Sun, 28 Apr 2013)
@@ -241,8 +241,10 @@
so that they aren't wrapped in paragraph tags. The main use is
for escaped docbook block tags, such as:
- [template chapter[title] [block'''<chapter><title>'''[title]'''</title>''']]
- [template chapterend [block'''</chapter>''']]
+ [template chapter[title]
+ [block'''<chapter><title>'''[title]'''</title>''']]
+ [template chapterend
+ [block'''</chapter>''']]
[chapter An example chapter]
@@ -253,6 +255,9 @@
Without the `block` element, the `chapter` and `chapterend` templates
would be wrapped in paragraph tags.
+[note In this example, the template body has to start with a newline so that
+the template will be interpreted in block mode.]
+
[endsect]
[section:lists `ordered_list` and `itemized_list`]
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk