1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE article PUBLIC "-//Boost//DTD BoostBook XML V1.0//EN" "http://www.boost.org/tools/boostbook/dtd/boostbook.dtd">
3 <article id="template_1_7" last-revision="DEBUG MODE Date: 2000/12/20 12:00:00 $"
4 xmlns:xi="http://www.w3.org/2001/XInclude">
5 <title>Template 1.7</title>
6 <section id="template_1_7.templates">
7 <title><link linkend="template_1_7.templates">Templates</link></title>
18 This is a complete paragraph. kalamazoo kalamazoo kalamazoo kalamazoo kalamazoo
19 kalamazoo kalamazoo kalamazoo kalamazoo.... blah blah blah......
25 This is a complete paragraph. madagascar madagascar madagascar madagascar madagascar
26 madagascar madagascar madagascar madagascar.... blah blah blah......
40 <programlisting><phrase role="keyword">int</phrase> <phrase role="identifier">main</phrase><phrase role="special">()</phrase>
41 <phrase role="special">{</phrase>
42 <phrase role="identifier">std</phrase><phrase role="special">::</phrase><phrase role="identifier">cout</phrase> <phrase role="special"><<</phrase> "Hello, World" <phrase role="special"><<</phrase> <phrase role="identifier">std</phrase><phrase role="special">::</phrase><phrase role="identifier">endl</phrase><phrase role="special">;</phrase>
43 <phrase role="special">}</phrase>
46 x<superscript>2</superscript>
49 α<superscript>2</superscript>
52 x<superscript>2</superscript>
64 <section id="template_1_7.empty_templates">
65 <title><link linkend="template_1_7.empty_templates">Empty Templates</link></title>
67 <section id="template_1_7.nested_templates">
68 <title><link linkend="template_1_7.nested_templates">Nested Templates</link></title>
97 Start phrase template. Hello! End phrase template.
106 Pre Start phrase template.
109 Start block template.
118 End phrase template. Post
121 Pre Start phrase template. Start phrase template. Hello! End phrase template.
122 End phrase template. Post
125 <section id="template_1_7.block_markup">
126 <title><link linkend="template_1_7.block_markup">Block Markup</link></title>
140 <programlisting><phrase role="keyword">int</phrase> <phrase role="identifier">main</phrase><phrase role="special">()</phrase> <phrase role="special">{}</phrase></programlisting>
168 <programlisting><phrase role="keyword">int</phrase> <phrase role="identifier">main</phrase><phrase role="special">()</phrase> <phrase role="special">{}</phrase></programlisting>
180 <section id="template_1_7.static_scoping">
181 <title><link linkend="template_1_7.static_scoping">Static Scoping</link></title>
195 <section id="template_1_7.template_arguments">
196 <title><link linkend="template_1_7.template_arguments">Template Arguments</link></title>
198 {1-2} {1-2} {1-2 3 4} {1 2-3 4} {1 2 3-4} {1..2-3} {1..2-3}
201 { {1 2-3}-4} { {1 2-3}-4} { {1-2 3}-4}
204 {[1-2] 3} {[1-2] 3} {[1-2}
210 <section id="template_1_7.block_and_phrase_templates">
211 <title><link linkend="template_1_7.block_and_phrase_templates">Block and phrase
212 templates</link></title>
214 Some <emphasis role="bold">text</emphasis>
217 A <emphasis>paragraph</emphasis>.
220 Some *text* A <emphasis>paragraph</emphasis>.
223 <index type="things"><title>Things</title></index>
225 <informaltable frame="all">
231 <informaltable frame="all">
238 Text2 afterwards. Text3 before.
240 <informaltable frame="all">
249 <informaltable frame="all">
258 <informaltable frame="all">
267 <informaltable frame="all">
277 <section id="template_1_7.template_body">
278 <title><link linkend="template_1_7.template_body">Skipping the template body
279 correctly</link></title>
281 <emphasis>Argument</emphasis>
285 <programlisting><phrase role="identifier">code</phrase></programlisting>
291 <code><phrase role="identifier">code</phrase></code>
296 <section id="template_1_7.escaped_templates">
297 <title><link linkend="template_1_7.escaped_templates">Escaped templates</link></title>
299 <thingbob>Not real boostbook</thingbob> <thingbob>More fake boostbook</thingbob>