diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 18:45:59 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 18:45:59 +0000 |
commit | 19fcec84d8d7d21e796c7624e521b60d28ee21ed (patch) | |
tree | 42d26aa27d1e3f7c0b8bd3fd14e7d7082f5008dc /src/boost/tools/quickbook/test/templates-1_6.gold | |
parent | Initial commit. (diff) | |
download | ceph-upstream/16.2.11+ds.tar.xz ceph-upstream/16.2.11+ds.zip |
Adding upstream version 16.2.11+ds.upstream/16.2.11+dsupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | src/boost/tools/quickbook/test/templates-1_6.gold | 257 | ||||
-rw-r--r-- | src/boost/tools/quickbook/test/templates-1_6.gold-html | 332 |
2 files changed, 589 insertions, 0 deletions
diff --git a/src/boost/tools/quickbook/test/templates-1_6.gold b/src/boost/tools/quickbook/test/templates-1_6.gold new file mode 100644 index 000000000..b37604e75 --- /dev/null +++ b/src/boost/tools/quickbook/test/templates-1_6.gold @@ -0,0 +1,257 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE article PUBLIC "-//Boost//DTD BoostBook XML V1.0//EN" "http://www.boost.org/tools/boostbook/dtd/boostbook.dtd"> +<article id="template_1_6" last-revision="DEBUG MODE Date: 2000/12/20 12:00:00 $" + xmlns:xi="http://www.w3.org/2001/XInclude"> + <title>Template 1.6</title> + <section id="template_1_6.templates"> + <title><link linkend="template_1_6.templates">Templates</link></title> + <para> + nullary_arg + </para> + <para> + foo baz + </para> + <para> + foo baz + </para> + <para> + This is a complete paragraph. kalamazoo kalamazoo kalamazoo kalamazoo kalamazoo + kalamazoo kalamazoo kalamazoo kalamazoo.... blah blah blah...... + </para> + <para> + <hey>baz</hey> + </para> + <para> + This is a complete paragraph. madagascar madagascar madagascar madagascar madagascar + madagascar madagascar madagascar madagascar.... blah blah blah...... + </para> + <para> + zoom peanut zoom + </para> + <para> + exactly xanadu + </para> + <para> + wx + </para> + <para> + wxyz wxyz trail + </para> +<programlisting><phrase role="keyword">int</phrase> <phrase role="identifier">main</phrase><phrase role="special">()</phrase> +<phrase role="special">{</phrase> + <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> +<phrase role="special">}</phrase> +</programlisting> + <para> + x<superscript>2</superscript> + </para> + <para> + α<superscript>2</superscript> + </para> + <para> + x<superscript>2</superscript> + </para> + <para> + got a banana? + </para> + <para> + .0 00 + </para> + <para> + [fool] + </para> + </section> + <section id="template_1_6.empty_templates"> + <title><link linkend="template_1_6.empty_templates">Empty Templates</link></title> + </section> + <section id="template_1_6.nested_templates"> + <title><link linkend="template_1_6.nested_templates">Nested Templates</link></title> + <para> + Pre + </para> + <para> + Start block template. + </para> + <para> + Start block template. + </para> + <para> + Hello! + </para> + <para> + End block template. + </para> + <para> + End block template. + </para> + <para> + Post + </para> + <para> + Pre + </para> + <para> + Start block template. + </para> + <para> + Start phrase template. Hello! End phrase template. + </para> + <para> + End block template. + </para> + <para> + Post + </para> + <para> + Pre + </para> + <para> + Start phrase template. + </para> + <para> + Start block template. + </para> + <para> + Hello! + </para> + <para> + End block template. + </para> + <para> + End phrase template. + </para> + <para> + Post + </para> + <para> + Pre Start phrase template. Start phrase template. Hello! End phrase template. + End phrase template. Post + </para> + </section> + <section id="template_1_6.block_markup"> + <title><link linkend="template_1_6.block_markup">Block Markup</link></title> + <itemizedlist> + <listitem> + <simpara> + a + </simpara> + </listitem> + <listitem> + <simpara> + b + </simpara> + </listitem> + </itemizedlist> + <para/> +<programlisting><phrase role="keyword">int</phrase> <phrase role="identifier">main</phrase><phrase role="special">()</phrase> <phrase role="special">{}</phrase></programlisting> + <para> + Paragraphs 1 + </para> + <para> + Paragraphs 2 + </para> + <itemizedlist> + <listitem> + <simpara> + <itemizedlist> + <listitem> + <simpara> + a + </simpara> + </listitem> + <listitem> + <simpara> + b + </simpara> + </listitem> + </itemizedlist> + </simpara> + </listitem> + <listitem> + <para/> + </listitem> + <listitem> +<programlisting><phrase role="keyword">int</phrase> <phrase role="identifier">main</phrase><phrase role="special">()</phrase> <phrase role="special">{}</phrase></programlisting> + </listitem> + <listitem> + <simpara> + Paragraphs 1 + </simpara> + <simpara> + Paragraphs 2 + </simpara> + </listitem> + </itemizedlist> + </section> + <section id="template_1_6.static_scoping"> + <title><link linkend="template_1_6.static_scoping">Static Scoping</link></title> + <para> + static scoping + </para> + <para> + [a] + </para> + <para> + new + </para> + <para> + foo foo + </para> + </section> + <section id="template_1_6.template_arguments"> + <title><link linkend="template_1_6.template_arguments">Template Arguments</link></title> + <para> + {1-2} {1-2} {1-2 3 4} {1 2-3 4} {1 2 3-4} {1..2-3} {1..2-3} + </para> + <para> + { {1 2-3}-4} { {1 2-3}-4} { {1-2 3}-4} + </para> + <para> + {[1-2] 3} {[1-2] 3} {[1-2} + </para> + <para> + {1-2-3} {1-2-3} + </para> + </section> + <section id="template_1_6.block_and_phrase_templates"> + <title><link linkend="template_1_6.block_and_phrase_templates">Block and phrase + templates</link></title> + <para> + Some <emphasis role="bold">text</emphasis> + </para> + <para> + A <emphasis>paragraph</emphasis>. + </para> + <para> + Some *text* A <emphasis>paragraph</emphasis>. + </para> + <para> + <index type="things"><title>Things</title></index> + </para> + </section> + <section id="template_1_6.template_body"> + <title><link linkend="template_1_6.template_body">Skipping the template body + correctly</link></title> + <para> + <emphasis>Argument</emphasis> + </para> + <orderedlist> + <listitem> +<programlisting><phrase role="identifier">code</phrase></programlisting> + </listitem> + </orderedlist> + <orderedlist> + <listitem> + <simpara> + <code><phrase role="identifier">code</phrase></code> + </simpara> + </listitem> + </orderedlist> + </section> + <section id="template_1_6.escaped_templates"> + <title><link linkend="template_1_6.escaped_templates">Escaped templates</link></title> + <para> + <thingbob>Not real boostbook</thingbob> <thingbob>More fake boostbook</thingbob> + </para> + </section> +</article> diff --git a/src/boost/tools/quickbook/test/templates-1_6.gold-html b/src/boost/tools/quickbook/test/templates-1_6.gold-html new file mode 100644 index 000000000..77d55d0a0 --- /dev/null +++ b/src/boost/tools/quickbook/test/templates-1_6.gold-html @@ -0,0 +1,332 @@ +<!DOCTYPE html> +<html> + <head></head> + <body> + <h3> + Template 1.6 + </h3> + <div class="toc"> + <p> + <b>Table of contents</b> + </p> + <ul> + <li> + <a href="#template_1_6.templates">Templates</a> + </li> + <li> + <a href="#template_1_6.empty_templates">Empty Templates</a> + </li> + <li> + <a href="#template_1_6.nested_templates">Nested Templates</a> + </li> + <li> + <a href="#template_1_6.block_markup">Block Markup</a> + </li> + <li> + <a href="#template_1_6.static_scoping">Static Scoping</a> + </li> + <li> + <a href="#template_1_6.template_arguments">Template Arguments</a> + </li> + <li> + <a href="#template_1_6.block_and_phrase_templates">Block and phrase templates</a> + </li> + <li> + <a href="#template_1_6.template_body">Skipping the template body correctly</a> + </li> + <li> + <a href="#template_1_6.escaped_templates">Escaped templates</a> + </li> + </ul> + </div> + <div id="template_1_6.templates"> + <h3> + Templates + </h3> + <div id="template_1_6.templates"> + <p> + nullary_arg + </p> + <p> + foo baz + </p> + <p> + foo baz + </p> + <p> + This is a complete paragraph. kalamazoo kalamazoo kalamazoo kalamazoo kalamazoo + kalamazoo kalamazoo kalamazoo kalamazoo.... blah blah blah...... + </p> + <p> + baz + </p> + <p> + This is a complete paragraph. madagascar madagascar madagascar madagascar + madagascar madagascar madagascar madagascar madagascar.... blah blah blah...... + </p> + <p> + zoom peanut zoom + </p> + <p> + exactly xanadu + </p> + <p> + wx + </p> + <p> + wxyz wxyz trail + </p> +<pre class="programlisting"><span class="keyword">int</span> <span class="identifier">main</span><span class="special">()</span> +<span class="special">{</span> + <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> +<span class="special">}</span> +</pre> + <p> + x<sup>2</sup> + </p> + <p> + α<sup>2</sup> + </p> + <p> + x<sup>2</sup> + </p> + <p> + got a banana? + </p> + <p> + .0 00 + </p> + <p> + [fool] + </p> + </div> + </div> + <div id="template_1_6.empty_templates"> + <h3> + Empty Templates + </h3> + <div id="template_1_6.empty_templates"> + </div> + </div> + <div id="template_1_6.nested_templates"> + <h3> + Nested Templates + </h3> + <div id="template_1_6.nested_templates"> + <p> + Pre + </p> + <p> + Start block template. + </p> + <p> + Start block template. + </p> + <p> + Hello! + </p> + <p> + End block template. + </p> + <p> + End block template. + </p> + <p> + Post + </p> + <p> + Pre + </p> + <p> + Start block template. + </p> + <p> + Start phrase template. Hello! End phrase template. + </p> + <p> + End block template. + </p> + <p> + Post + </p> + <p> + Pre + </p> + <p> + Start phrase template. + </p> + <p> + Start block template. + </p> + <p> + Hello! + </p> + <p> + End block template. + </p> + <p> + End phrase template. + </p> + <p> + Post + </p> + <p> + Pre Start phrase template. Start phrase template. Hello! End phrase template. + End phrase template. Post + </p> + </div> + </div> + <div id="template_1_6.block_markup"> + <h3> + Block Markup + </h3> + <div id="template_1_6.block_markup"> + <ul> + <li> + <div> + a + </div> + </li> + <li> + <div> + b + </div> + </li> + </ul> + <p> + </p> +<pre class="programlisting"><span class="keyword">int</span> <span class="identifier">main</span><span class="special">()</span> <span class="special">{}</span></pre> + <p> + Paragraphs 1 + </p> + <p> + Paragraphs 2 + </p> + <ul> + <li> + <div> + <ul> + <li> + <div> + a + </div> + </li> + <li> + <div> + b + </div> + </li> + </ul> + </div> + </li> + <li> + <p> + </p> + </li> + <li> +<pre class="programlisting"><span class="keyword">int</span> <span class="identifier">main</span><span class="special">()</span> <span class="special">{}</span></pre> + </li> + <li> + <div> + Paragraphs 1 + </div> + <div> + Paragraphs 2 + </div> + </li> + </ul> + </div> + </div> + <div id="template_1_6.static_scoping"> + <h3> + Static Scoping + </h3> + <div id="template_1_6.static_scoping"> + <p> + static scoping + </p> + <p> + [a] + </p> + <p> + new + </p> + <p> + foo foo + </p> + </div> + </div> + <div id="template_1_6.template_arguments"> + <h3> + Template Arguments + </h3> + <div id="template_1_6.template_arguments"> + <p> + {1-2} {1-2} {1-2 3 4} {1 2-3 4} {1 2 3-4} {1..2-3} {1..2-3} + </p> + <p> + { {1 2-3}-4} { {1 2-3}-4} { {1-2 3}-4} + </p> + <p> + {[1-2] 3} {[1-2] 3} {[1-2} + </p> + <p> + {1-2-3} {1-2-3} + </p> + </div> + </div> + <div id="template_1_6.block_and_phrase_templates"> + <h3> + Block and phrase templates + </h3> + <div id="template_1_6.block_and_phrase_templates"> + <p> + Some <span class="bold"><strong>text</strong></span> + </p> + <p> + A <emphasis>paragraph</emphasis>. + </p> + <p> + Some *text* A <span class="emphasis"><em>paragraph</em></span>. + </p> + <p> + <h3> + Things + </h3> + </p> + </div> + </div> + <div id="template_1_6.template_body"> + <h3> + Skipping the template body correctly + </h3> + <div id="template_1_6.template_body"> + <p> + <span class="emphasis"><em>Argument</em></span> + </p> + <ol> + <li> +<pre class="programlisting"><span class="identifier">code</span></pre> + </li> + </ol> + <ol> + <li> + <div> + <code><span class="identifier">code</span></code> + </div> + </li> + </ol> + </div> + </div> + <div id="template_1_6.escaped_templates"> + <h3> + Escaped templates + </h3> + <div id="template_1_6.escaped_templates"> + <p> + Not real boostbook More fake boostbook + </p> + </div> + </div> + </body> +</html> |