10 <b>Table of contents</b>
14 <a href="#template_1_7.templates">Templates</a>
17 <a href="#template_1_7.empty_templates">Empty Templates</a>
20 <a href="#template_1_7.nested_templates">Nested Templates</a>
23 <a href="#template_1_7.block_markup">Block Markup</a>
26 <a href="#template_1_7.static_scoping">Static Scoping</a>
29 <a href="#template_1_7.template_arguments">Template Arguments</a>
32 <a href="#template_1_7.block_and_phrase_templates">Block and phrase templates</a>
35 <a href="#template_1_7.template_body">Skipping the template body correctly</a>
38 <a href="#template_1_7.escaped_templates">Escaped templates</a>
42 <div id="template_1_7.templates">
46 <div id="template_1_7.templates">
57 This is a complete paragraph. kalamazoo kalamazoo kalamazoo kalamazoo kalamazoo
58 kalamazoo kalamazoo kalamazoo kalamazoo.... blah blah blah......
64 This is a complete paragraph. madagascar madagascar madagascar madagascar
65 madagascar madagascar madagascar madagascar madagascar.... blah blah blah......
79 <pre class="programlisting"><span class="keyword">int</span> <span class="identifier">main</span><span class="special">()</span>
80 <span class="special">{</span>
81 <span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special"><<</span> "Hello, World" <span class="special"><<</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">endl</span><span class="special">;</span>
82 <span class="special">}</span>
104 <div id="template_1_7.empty_templates">
108 <div id="template_1_7.empty_templates">
111 <div id="template_1_7.nested_templates">
115 <div id="template_1_7.nested_templates">
120 Start block template.
123 Start block template.
141 Start block template.
144 Start phrase template. Hello! End phrase template.
153 Pre Start phrase template.
156 Start block template.
165 End phrase template. Post
168 Pre Start phrase template. Start phrase template. Hello! End phrase template.
169 End phrase template. Post
173 <div id="template_1_7.block_markup">
177 <div id="template_1_7.block_markup">
192 <pre class="programlisting"><span class="keyword">int</span> <span class="identifier">main</span><span class="special">()</span> <span class="special">{}</span></pre>
221 <pre class="programlisting"><span class="keyword">int</span> <span class="identifier">main</span><span class="special">()</span> <span class="special">{}</span></pre>
234 <div id="template_1_7.static_scoping">
238 <div id="template_1_7.static_scoping">
253 <div id="template_1_7.template_arguments">
257 <div id="template_1_7.template_arguments">
259 {1-2} {1-2} {1-2 3 4} {1 2-3 4} {1 2 3-4} {1..2-3} {1..2-3}
262 { {1 2-3}-4} { {1 2-3}-4} { {1-2 3}-4}
265 {[1-2] 3} {[1-2] 3} {[1-2}
272 <div id="template_1_7.block_and_phrase_templates">
274 Block and phrase templates
276 <div id="template_1_7.block_and_phrase_templates">
278 Some <span class="bold"><strong>text</strong></span>
281 A <emphasis>paragraph</emphasis>.
284 Some *text* A <span class="emphasis"><em>paragraph</em></span>.
291 <div class="informaltable">
297 <div class="informaltable">
304 Text2 afterwards. Text3 before.
306 <div class="informaltable">
315 <div class="informaltable">
324 <div class="informaltable">
333 <div class="informaltable">
344 <div id="template_1_7.template_body">
346 Skipping the template body correctly
348 <div id="template_1_7.template_body">
350 <span class="emphasis"><em>Argument</em></span>
354 <pre class="programlisting"><span class="identifier">code</span></pre>
360 <code><span class="identifier">code</span></code>
366 <div id="template_1_7.escaped_templates">
370 <div id="template_1_7.escaped_templates">
372 Not real boostbook More fake boostbook