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/source_mode-1_7.gold | |
parent | Initial commit. (diff) | |
download | ceph-upstream.tar.xz ceph-upstream.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 'src/boost/tools/quickbook/test/source_mode-1_7.gold')
-rw-r--r-- | src/boost/tools/quickbook/test/source_mode-1_7.gold | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/src/boost/tools/quickbook/test/source_mode-1_7.gold b/src/boost/tools/quickbook/test/source_mode-1_7.gold new file mode 100644 index 000000000..2cc454a6d --- /dev/null +++ b/src/boost/tools/quickbook/test/source_mode-1_7.gold @@ -0,0 +1,63 @@ +<?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="source_mode_test" last-revision="DEBUG MODE Date: 2000/12/20 12:00:00 $" + xmlns:xi="http://www.w3.org/2001/XInclude"> + <title>Source Mode Test</title> + <informaltable frame="all"> + <tgroup cols="2"> + <tbody> + <row> + <entry> +<programlisting><phrase role="keyword">int</phrase> <phrase role="identifier">main</phrase><phrase role="special">()</phrase> <phrase role="special">{}</phrase></programlisting> + </entry> + <entry> +<programlisting><phrase role="keyword">void</phrase> <phrase role="identifier">foo</phrase><phrase role="special">()</phrase> <phrase role="special">{}</phrase></programlisting> + </entry> + </row> + </tbody> + </tgroup> + </informaltable> +<programlisting>Plain text...</programlisting> + <para> + <code><phrase role="keyword">int</phrase> <phrase role="identifier">main</phrase><phrase + role="special">()</phrase> <phrase role="special">{}</phrase></code> but <code>plain + text</code>. + </para> + <itemizedlist> + <listitem> + <simpara> + <code><phrase role="keyword">int</phrase> <phrase role="identifier">main</phrase><phrase + role="special">()</phrase> <phrase role="special">{}</phrase></code> + </simpara> + </listitem> + <listitem> + <simpara> + <code><phrase role="keyword">int</phrase> <phrase role="identifier">main</phrase><phrase + role="special">()</phrase> <phrase role="special">{}</phrase></code> + </simpara> + </listitem> + <listitem> + <simpara> + <code>int main() {}</code> + </simpara> + </listitem> + </itemizedlist> + <para> + <code><phrase role="keyword">int</phrase> <phrase role="identifier">main</phrase><phrase + role="special">()</phrase> <phrase role="special">{}</phrase></code> and <code><phrase + role="keyword">int</phrase> <phrase role="identifier">main</phrase><phrase role="special">()</phrase> + <phrase role="special">{}</phrase></code> should both be C++ highlighted. <code>int + main() {}</code> shouldn't be, but <code><phrase role="keyword">int</phrase> + <phrase role="identifier">main</phrase><phrase role="special">()</phrase> <phrase + role="special">{}</phrase></code> should. + </para> + <para> + <code><phrase role="keyword">int</phrase> <phrase role="identifier">main</phrase><phrase + role="special">()</phrase> <phrase role="special">{}</phrase></code>. Not highlighted: + <code>int main() {}</code>. + </para> + <section id="source_mode_test.cpp"> + <title><link linkend="source_mode_test.cpp">C++ section</link></title> +<programlisting><phrase role="keyword">int</phrase> <phrase role="identifier">main</phrase><phrase role="special">()</phrase> <phrase role="special">{}</phrase></programlisting> + </section> +</article> |