mirror of
https://github.com/boostorg/quickbook.git
synced 2026-01-26 06:42:27 +00:00
- Qualify footnote and callout ids. - Close open sections at end of document. - New markup for anchors in headers. - Clean up some whitespace in generated xml. - Fix double addition of anchor ids. - A couple of doc changes from Beman. [SVN r74769]
24 lines
1.1 KiB
XML
24 lines
1.1 KiB
XML
<?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="code_block_3" last-revision="DEBUG MODE Date: 2000/12/20 12:00:00 $"
|
|
xmlns:xi="http://www.w3.org/2001/XInclude">
|
|
<title>Code Block 3</title>
|
|
<section id="code_block_3.python_code_block">
|
|
<title>Python code block</title>
|
|
<para>
|
|
<programlisting><phrase role="keyword">print</phrase> <phrase role="string">"\xfabln\xeck"</phrase>
|
|
</programlisting>
|
|
</para>
|
|
</section>
|
|
<section id="code_block_3.c___code_block">
|
|
<title>C++ code block</title>
|
|
<para>
|
|
This isn't valid C++ but I think we should accept it;
|
|
</para>
|
|
<para>
|
|
<programlisting><phrase role="identifier">std</phrase><phrase role="special">::</phrase><phrase role="identifier">cout</phrase><phrase role="special"><<</phrase><phrase role="string">"\xfabln\xeck"</phrase><phrase role="special"><<</phrase><phrase role="string">"\n"</phrase><phrase role="special">;</phrase>
|
|
</programlisting>
|
|
</para>
|
|
</section>
|
|
</article>
|