Files
quickbook/test/code-snippet.gold
Daniel James 84adcfe135 Generate slightly more valid boostbook.
For document types other than library:
* Don't generate name or dirname for document types.
* Put title before document info.

Ref #2771

[SVN r51402]
2009-02-22 23:48:37 +00:00

21 lines
1.0 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE library PUBLIC "-//Boost//DTD BoostBook XML V1.0//EN" "http://www.boost.org/tools/boostbook/dtd/boostbook.dtd">
<article id="code_snippets" last-revision="DEBUG MODE Date: 2000/12/20 12:00:00 $"
xmlns:xi="http://www.w3.org/2001/XInclude">
<title>Code Snippets</title>
<articleinfo>
</articleinfo>
<section id="code_snippets.a_code_snippet">
<title>A code snippet</title>
<para>
Code snippets inlined in text, as in <code><phrase role="keyword">namespace</phrase>
<phrase role="identifier">quickbook</phrase> <phrase role="special">{</phrase>
<phrase role="keyword">static</phrase> <phrase role="keyword">const</phrase>
<phrase role="keyword">int</phrase> <phrase role="identifier">value</phrase>
<phrase role="special">=</phrase> <phrase role="number">0</phrase><phrase role="special">;</phrase>
<phrase role="special">}</phrase></code>, should be properly formatted and
not glued to the surrounding text.
</para>
</section>
</article>