diff options
Diffstat (limited to '')
-rw-r--r-- | src/boost/tools/quickbook/test/preformatted-1_1.gold | 40 | ||||
-rw-r--r-- | src/boost/tools/quickbook/test/preformatted-1_1.gold-html | 58 |
2 files changed, 98 insertions, 0 deletions
diff --git a/src/boost/tools/quickbook/test/preformatted-1_1.gold b/src/boost/tools/quickbook/test/preformatted-1_1.gold new file mode 100644 index 000000000..a92b3f55a --- /dev/null +++ b/src/boost/tools/quickbook/test/preformatted-1_1.gold @@ -0,0 +1,40 @@ +<?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="preformatted" last-revision="DEBUG MODE Date: 2000/12/20 12:00:00 $" + xmlns:xi="http://www.w3.org/2001/XInclude"> + <title>Preformatted</title> + <section id="preformatted.preformatted"> + <title>Preformatted</title> + <para> + Here's the ubiquitous <emphasis>Hello World</emphasis> program in C++. + </para> +<programlisting>#include <iostream> + +int main() +{ + std::cout << "Hello, World!" << std::endl; + return 0; +} +</programlisting> + <para> + The code should appear as a single block of code in a monospaced font and with + no syntax highlighting. The fifth and sixth lines should appear indented to + the right, aligning under <code><phrase role="identifier">main</phrase></code>, + on line 3. + </para> + <para> + Here's a one line function definitition: + </para> +<programlisting>void something(); </programlisting> + <para> + . + </para> + <para> + And some indented code: + </para> +<programlisting>void go() + { + } +</programlisting> + </section> +</article> diff --git a/src/boost/tools/quickbook/test/preformatted-1_1.gold-html b/src/boost/tools/quickbook/test/preformatted-1_1.gold-html new file mode 100644 index 000000000..e25c047f5 --- /dev/null +++ b/src/boost/tools/quickbook/test/preformatted-1_1.gold-html @@ -0,0 +1,58 @@ +<!DOCTYPE html> +<html> + <head></head> + <body> + <h3> + Preformatted + </h3> + <div class="toc"> + <p> + <b>Table of contents</b> + </p> + <ul> + <li> + <a href="#preformatted.preformatted">Preformatted</a> + </li> + </ul> + </div> + <div id="preformatted.preformatted"> + <h3> + Preformatted + </h3> + <div id="preformatted.preformatted"> + <p> + Here's the ubiquitous <span class="emphasis"><em>Hello World</em></span> + program in C++. + </p> +<pre class="programlisting">#include <iostream> + +int main() +{ + std::cout << "Hello, World!" << std::endl; + return 0; +} +</pre> + <p> + The code should appear as a single block of code in a monospaced font and + with no syntax highlighting. The fifth and sixth lines should appear indented + to the right, aligning under <code><span class="identifier">main</span></code>, + on line 3. + </p> + <p> + Here's a one line function definitition: + </p> +<pre class="programlisting">void something(); </pre> + <p> + . + </p> + <p> + And some indented code: + </p> +<pre class="programlisting">void go() + { + } +</pre> + </div> + </div> + </body> +</html> |