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_6" last-revision="DEBUG MODE Date: 2000/12/20 12:00:00 $"
4 xmlns:xi="http://www.w3.org/2001/XInclude">
5 <title>Template 1.6</title>
6 <section id="template_1_6.templates">
7 <title><link linkend="template_1_6.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_6.empty_templates">
65 <title><link linkend="template_1_6.empty_templates">Empty Templates</link></title>
67 <section id="template_1_6.nested_templates">
68 <title><link linkend="template_1_6.nested_templates">Nested Templates</link></title>
97 Start phrase template. Hello! End phrase template.
109 Start phrase template.
112 Start block template.
127 Pre Start phrase template. Start phrase template. Hello! End phrase template.
128 End phrase template. Post
131 <section id="template_1_6.block_markup">
132 <title><link linkend="template_1_6.block_markup">Block Markup</link></title>
146 <programlisting><phrase role="keyword">int</phrase> <phrase role="identifier">main</phrase><phrase role="special">()</phrase> <phrase role="special">{}</phrase></programlisting>
174 <programlisting><phrase role="keyword">int</phrase> <phrase role="identifier">main</phrase><phrase role="special">()</phrase> <phrase role="special">{}</phrase></programlisting>
186 <section id="template_1_6.static_scoping">
187 <title><link linkend="template_1_6.static_scoping">Static Scoping</link></title>
201 <section id="template_1_6.template_arguments">
202 <title><link linkend="template_1_6.template_arguments">Template Arguments</link></title>
204 {1-2} {1-2} {1-2 3 4} {1 2-3 4} {1 2 3-4} {1..2-3} {1..2-3}
207 { {1 2-3}-4} { {1 2-3}-4} { {1-2 3}-4}
210 {[1-2] 3} {[1-2] 3} {[1-2}
216 <section id="template_1_6.block_and_phrase_templates">
217 <title><link linkend="template_1_6.block_and_phrase_templates">Block and phrase
218 templates</link></title>
220 Some <emphasis role="bold">text</emphasis>
223 A <emphasis>paragraph</emphasis>.
226 Some *text* A <emphasis>paragraph</emphasis>.
229 <index type="things"><title>Things</title></index>
232 <section id="template_1_6.template_body">
233 <title><link linkend="template_1_6.template_body">Skipping the template body
234 correctly</link></title>
236 <emphasis>Argument</emphasis>
240 <programlisting><phrase role="identifier">code</phrase></programlisting>
246 <code><phrase role="identifier">code</phrase></code>
251 <section id="template_1_6.escaped_templates">
252 <title><link linkend="template_1_6.escaped_templates">Escaped templates</link></title>
254 <thingbob>Not real boostbook</thingbob> <thingbob>More fake boostbook</thingbob>