Test onehtml generation

This commit is contained in:
Daniel James
2017-12-31 14:21:13 +00:00
parent 38c03a35ba
commit 4682c297c7
151 changed files with 22072 additions and 8 deletions

View File

@@ -45,7 +45,8 @@ test-suite quickbook.test :
<testing.arg>-Dsomething[] ]
[ quickbook-test cond_phrase-1_5 ]
[ quickbook-test cond_phrase-1_7 ]
[ quickbook-test elements-1_5 ]
# TODO: This test generates invalid boostbook, so it breaks when generating html
# [ quickbook-test elements-1_5 ]
[ quickbook-test elements-1_6 ]
[ quickbook-error-test endsect-wrong-id-1_4-fail ]
[ quickbook-error-test endsect-wrong-id-1_7-fail ]

205
test/anchor-1_1.gold.html Normal file
View File

@@ -0,0 +1,205 @@
<!DOCTYPE html>
<html>
<head></head>
<body>
<h3>
Anchor Test
</h3>
<div class="toc">
<p>
<b>Table of contents</b>
</p>
<ul>
<li>
<a href="#anchor_test.anchors">Anchors</a>
</li>
<li>
<a href="#anchor_test.section_anchor"><span></span>Section Anchor</a>
</li>
<li>
<a href="#anchor_test.conditional_section_anchor"><span></span>Conditional
Section Anchor</a>
</li>
<li>
<a href="#anchor_test.lists">Lists</a>
</li>
<li>
<a href="#anchor_test.anchors_in_templates">Anchors in templates</a>
</li>
<li>
<a href="#anchor_test.anchors_in_syntax_highlighted_code">Anchors in syntax
highlighted code</a>
</li>
<li>
<a href="#anchor_test.nested_anchors">Nested anchors</a>
</li>
</ul>
</div>
<div id="anchor_test.anchors">
<h3>
Anchors
</h3>
<div id="anchor_test.anchors">
<p>
<span id="a1"></span>A paragraph containing several anchors. <span id="a2"></span>We
want to make sure they appear in the correct place. <span id="a3"></span>
</p>
<h3 id="anchor_test.anchors.this_heading_shouldn_t_pick_up_the_previous_anchor">
This heading shouldn't pick up the previous anchor
</h3>
<span id="a4"></span>
<h3 id="anchor_test.anchors.this_heading_should_pick_up_the_previous_anchor">
This heading should pick up the previous anchor
</h3>
<span id="a5"></span>
<h3 id="anchor_test.anchors.and_this_one">
And this one
</h3>
<span id="a6"></span>
<h3 id="anchor_test.anchors.also_this_one">
Also this one
</h3>
<span id="a7"></span>
<h3 id="anchors.finally_this">
Finally this
</h3>
<span id="a8"></span>
</div>
</div>
<div id="anchor_test.section_anchor">
<h3>
<span id="a9"></span>Section Anchor
</h3>
<div id="anchor_test.section_anchor">
<span id="a11"></span>
</div>
<div id="anchor_test.nested_section">
<h3>
<span id="a10"></span>Nested Section
</h3>
<div id="anchor_test.nested_section">
</div>
</div>
</div>
<div id="anchor_test.conditional_section_anchor">
<h3>
<span id="a12"></span>Conditional Section Anchor
</h3>
<div id="anchor_test.conditional_section_anchor">
</div>
</div>
<div id="anchor_test.lists">
<h3>
Lists
</h3>
<div id="anchor_test.lists">
<span id="a14"></span>
<ul>
<li>
<div>
Item 1
</div>
</li>
<li>
<div>
Item 2
</div>
</li>
<li>
<div>
Nested List <span id="a15"></span>
<ul>
<li>
<div>
Nested Item 1
</div>
</li>
<li>
<div>
Nested Item 2
</div>
</li>
<li>
<div>
<span id="a16"></span>Nested Item 3
</div>
</li>
</ul>
</div>
</li>
<li>
<div>
Item 3
</div>
</li>
</ul>
</div>
</div>
<div id="anchor_test.anchors_in_templates">
<h3>
Anchors in templates
</h3>
<div id="anchor_test.anchors_in_templates">
<p>
<span id="t1"></span>Some text.
</p>
<p>
<span id="t2"></span>Text content
</p>
</div>
</div>
<div id="anchor_test.anchors_in_syntax_highlighted_code">
<h3>
Anchors in syntax highlighted code
</h3>
<div id="anchor_test.anchors_in_syntax_highlighted_code">
<pre class="programlisting"><span class="keyword">int</span> <span id="s1"></span><span class="identifier">main</span><span class="special">()</span> <span class="special">{}</span>
</pre>
</div>
</div>
<div id="anchor_test.nested_anchors">
<h3>
Nested anchors
</h3>
<div id="anchor_test.nested_anchors">
<div id="anchor_test.nested_anchors.t0" class="table">
<table>
<caption>Table with anchors</caption>
<thead>
<tr>
<th>
<p>
Heading
</p>
</th>
</tr>
</thead>
<tbody>
<tr>
<td>
<p>
<span id="table1"></span>Cell 1
</p>
</td>
</tr>
<tr>
<td>
<p>
<span id="table2"></span>Cell 2
</p>
</td>
</tr>
<tr>
<td>
<p>
Cell 3<span id="table3"></span>
</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</body>
</html>

216
test/anchor-1_6.gold.html Normal file
View File

@@ -0,0 +1,216 @@
<!DOCTYPE html>
<html>
<head></head>
<body>
<h3>
Anchor Test
</h3>
<div class="toc">
<p>
<b>Table of contents</b>
</p>
<ul>
<li>
<a href="#anchor_test.anchors">Anchors</a>
</li>
<li>
<a href="#anchor_test.section_anchor"><span></span>Section Anchor</a>
</li>
<li>
<a href="#anchor_test.conditional_section_anchor"><span></span>Conditional
Section Anchor</a>
</li>
<li>
<a href="#anchor_test.lists">Lists</a>
</li>
<li>
<a href="#anchor_test.anchors_in_templates">Anchors in templates</a>
</li>
<li>
<a href="#anchor_test.anchors_in_syntax_highlighted_co">Anchors in syntax
highlighted code</a>
</li>
<li>
<a href="#anchor_test.nested_anchors">Nested anchors</a>
</li>
<li>
<a href="#anchor_test.anchors_with_escapes">Anchors with escapes</a>
</li>
</ul>
</div>
<div id="anchor_test.anchors">
<h3>
Anchors
</h3>
<div id="anchor_test.anchors">
<p>
<span id="a1"></span>A paragraph containing several anchors. <span id="a2"></span>We
want to make sure they appear in the correct place. <span id="a3"></span>
</p>
<h3 id="anchor_test.anchors.this_heading_shouldn_t_pick_up_t">
This heading shouldn't pick up the previous anchor
</h3>
<span id="a4"></span>
<h3 id="anchor_test.anchors.this_heading_should_pick_up_the_">
This heading should pick up the previous anchor
</h3>
<span id="a5"></span>
<h3 id="anchor_test.anchors.and_this_one">
And this one
</h3>
<span id="a6"></span>
<h3 id="anchor_test.anchors.also_this_one">
Also this one
</h3>
<span id="a7"></span>
<h3 id="anchor_test.anchors.finally_this">
Finally this
</h3>
<span id="a8"></span>
</div>
</div>
<div id="anchor_test.section_anchor">
<h3>
<span id="a9"></span>Section Anchor
</h3>
<div id="anchor_test.section_anchor">
<span id="a11"></span>
</div>
<div id="anchor_test.section_anchor.nested_section">
<h3>
<span id="a10"></span>Nested Section
</h3>
<div id="anchor_test.section_anchor.nested_section">
</div>
</div>
</div>
<div id="anchor_test.conditional_section_anchor">
<h3>
<span id="a12"></span>Conditional Section Anchor
</h3>
<div id="anchor_test.conditional_section_anchor">
</div>
</div>
<div id="anchor_test.lists">
<h3>
Lists
</h3>
<div id="anchor_test.lists">
<span id="a14"></span>
<ul>
<li>
<div>
Item 1
</div>
</li>
<li>
<div>
Item 2
</div>
</li>
<li>
<div>
Nested List <span id="a15"></span>
<ul>
<li>
<div>
Nested Item 1
</div>
</li>
<li>
<div>
Nested Item 2
</div>
</li>
<li>
<div>
<span id="a16"></span>Nested Item 3
</div>
</li>
</ul>
</div>
</li>
<li>
<div>
Item 3
</div>
</li>
</ul>
</div>
</div>
<div id="anchor_test.anchors_in_templates">
<h3>
Anchors in templates
</h3>
<div id="anchor_test.anchors_in_templates">
<p>
<span id="t1"></span>Some text.
</p>
<p>
<span id="t2"></span>Text content
</p>
</div>
</div>
<div id="anchor_test.anchors_in_syntax_highlighted_co">
<h3>
Anchors in syntax highlighted code
</h3>
<div id="anchor_test.anchors_in_syntax_highlighted_co">
<pre class="programlisting"><span class="keyword">int</span> <span id="s1"></span><span class="identifier">main</span><span class="special">()</span> <span class="special">{}</span>
</pre>
</div>
</div>
<div id="anchor_test.nested_anchors">
<h3>
Nested anchors
</h3>
<div id="anchor_test.nested_anchors">
<div id="anchor_test.nested_anchors.table_with_anchors" class="table">
<table>
<caption>Table with anchors</caption>
<thead>
<tr>
<th>
<p>
Heading
</p>
</th>
</tr>
</thead>
<tbody>
<tr>
<td>
<p>
<span id="table1"></span>Cell 1
</p>
</td>
</tr>
<tr>
<td>
<p>
<span id="table2"></span>Cell 2
</p>
</td>
</tr>
<tr>
<td>
<p>
Cell 3<span id="table3"></span>
</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div id="anchor_test.anchors_with_escapes">
<h3>
Anchors with escapes
</h3>
<div id="anchor_test.anchors_with_escapes">
<span id="[oddid]"></span>
</div>
</div>
</body>
</html>

217
test/anchor-1_7.gold.html Normal file
View File

@@ -0,0 +1,217 @@
<!DOCTYPE html>
<html>
<head></head>
<body>
<h3>
Anchor Test
</h3>
<div class="toc">
<p>
<b>Table of contents</b>
</p>
<ul>
<li>
<a href="#anchor_test.anchors">Anchors</a>
</li>
<li>
<a href="#anchor_test.section_anchor"><span></span>Section Anchor</a>
</li>
<li>
<a href="#anchor_test.conditional_section_anchor"><span></span>Conditional
Section Anchor</a>
</li>
<li>
<a href="#anchor_test.lists">Lists</a>
</li>
<li>
<a href="#anchor_test.anchors_in_templates">Anchors in templates</a>
</li>
<li>
<a href="#anchor_test.anchors_in_syntax_highlighted_co">Anchors in syntax
highlighted code</a>
</li>
<li>
<a href="#anchor_test.nested_anchors">Nested anchors</a>
</li>
<li>
<a href="#anchor_test.templates">Anchors with templates</a>
</li>
</ul>
</div>
<div id="anchor_test.anchors">
<h3>
Anchors
</h3>
<div id="anchor_test.anchors">
<p>
<span id="a1"></span>A paragraph containing several anchors. <span id="a2"></span>We
want to make sure they appear in the correct place. <span id="a3"></span>
</p>
<h3 id="anchor_test.anchors.this_heading_shouldn_t_pick_up_t">
This heading shouldn't pick up the previous anchor
</h3>
<span id="a4"></span>
<h3 id="anchor_test.anchors.this_heading_should_pick_up_the_">
This heading should pick up the previous anchor
</h3>
<span id="a5"></span>
<h3 id="anchor_test.anchors.and_this_one">
And this one
</h3>
<span id="a6"></span>
<h3 id="anchor_test.anchors.also_this_one">
Also this one
</h3>
<span id="a7"></span>
<h3 id="anchor_test.anchors.finally_this">
Finally this
</h3>
<span id="a8"></span>
</div>
</div>
<div id="anchor_test.section_anchor">
<h3>
<span id="a9"></span>Section Anchor
</h3>
<div id="anchor_test.section_anchor">
<span id="a11"></span>
</div>
<div id="anchor_test.section_anchor.nested_section">
<h3>
<span id="a10"></span>Nested Section
</h3>
<div id="anchor_test.section_anchor.nested_section">
</div>
</div>
</div>
<div id="anchor_test.conditional_section_anchor">
<h3>
<span id="a12"></span>Conditional Section Anchor
</h3>
<div id="anchor_test.conditional_section_anchor">
</div>
</div>
<div id="anchor_test.lists">
<h3>
Lists
</h3>
<div id="anchor_test.lists">
<span id="a14"></span>
<ul>
<li>
<div>
Item 1
</div>
</li>
<li>
<div>
Item 2
</div>
</li>
<li>
<div>
Nested List <span id="a15"></span>
<ul>
<li>
<div>
Nested Item 1
</div>
</li>
<li>
<div>
Nested Item 2
</div>
</li>
<li>
<div>
<span id="a16"></span>Nested Item 3
</div>
</li>
</ul>
</div>
</li>
<li>
<div>
Item 3
</div>
</li>
</ul>
</div>
</div>
<div id="anchor_test.anchors_in_templates">
<h3>
Anchors in templates
</h3>
<div id="anchor_test.anchors_in_templates">
<p>
<span id="t1"></span>Some text.
</p>
<p>
<span id="t2"></span>Text content
</p>
</div>
</div>
<div id="anchor_test.anchors_in_syntax_highlighted_co">
<h3>
Anchors in syntax highlighted code
</h3>
<div id="anchor_test.anchors_in_syntax_highlighted_co">
<pre class="programlisting"><span class="keyword">int</span> <span id="s1"></span><span class="identifier">main</span><span class="special">()</span> <span class="special">{}</span>
</pre>
</div>
</div>
<div id="anchor_test.nested_anchors">
<h3>
Nested anchors
</h3>
<div id="anchor_test.nested_anchors">
<div id="anchor_test.nested_anchors.table_with_anchors" class="table">
<table>
<caption>Table with anchors</caption>
<thead>
<tr>
<th>
<p>
Heading
</p>
</th>
</tr>
</thead>
<tbody>
<tr>
<td>
<p>
<span id="table1"></span>Cell 1
</p>
</td>
</tr>
<tr>
<td>
<p>
<span id="table2"></span>Cell 2
</p>
</td>
</tr>
<tr>
<td>
<p>
Cell 3<span id="table3"></span>
</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div id="anchor_test.templates">
<h3>
Anchors with templates
</h3>
<div id="anchor_test.templates">
<span id="anchor1"></span><span id="anchor2"></span><span id="x1y"></span><span
id="x12y"></span>
</div>
</div>
</body>
</html>

119
test/blocks-1_5.gold.html Normal file
View File

@@ -0,0 +1,119 @@
<!DOCTYPE html>
<html>
<head></head>
<body>
<h3>
Various blocks
</h3>
<h2 id="various_blocks.blockquotes">
Blockquotes
</h2>
<p>
Here's a blockquote:
</p>
<blockquote>
<p>
Blockquote.
</p>
</blockquote>
<p>
And another:
</p>
<blockquote>
<p>
Blockquote first paragraph.
</p>
<p>
Blockquote second paragraph.
</p>
</blockquote>
<h2 id="various_blocks.admonitions">
Admonitions
</h2>
<div class="warning">
<p>
Warning
</p>
</div>
<div class="caution">
<p>
Caution
</p>
</div>
<div class="important">
<p>
Important
</p>
</div>
<div class="note">
<p>
Note
</p>
</div>
<div class="tip">
<p>
Tip
</p>
</div>
<div class="warning">
<p>
Warning first paragraph.
</p>
<p>
Warning second paragraph.
</p>
</div>
<h2 id="various_blocks.blurb">
Blurb
</h2>
<div class="blurb">
<p>
Blurb
</p>
</div>
<h2 id="various_blocks.inline_blocks">
Inline blocks
</h2>
<blockquote>
<p>
Blockquote containing a footnote<a id="various_blocks.f0" href="#footnote-1"><sup
class="footnote">[1]</sup></a>.
</p>
</blockquote>
<p>
[tipping point]
</p>
<p>
Multiple paragraphs because of the inline blocks.
</p>
<div class="warning">
<p>
Warning
</p>
</div>
<p>
This line should appear as a separate paragraph.
</p>
<div class="warning">
<p>
Warning
</p>
</div>
<ul>
<li>
<div>
This should be a list item because it's preceded by block markup.
</div>
</li>
</ul>
<div class="footnotes">
<br/>
<hr/>
<div id="footnote-1" class="footnote">
<p>
<a href="#various_blocks.f0"><sup>[1]</sup></a> Here it is!
</p>
</div>
</div>
</body>
</html>

276
test/callouts-1_5.gold.html Normal file
View File

@@ -0,0 +1,276 @@
<!DOCTYPE html>
<html>
<head></head>
<body>
<h3>
Callout Tests
</h3>
<div class="toc">
<p>
<b>Table of contents</b>
</p>
<ul>
<li>
<a href="#callout_tests.test_section">Try callouts in a section</a>
</li>
</ul>
</div>
<p>
Example 1:
</p>
<p>
Now we can define a function that simulates an ordinary six-sided die.
</p>
<p>
<pre class="programlisting"><span class="keyword">int</span> <span class="identifier">roll_die</span><span class="special">()</span> <span class="special">{</span>
<span class="identifier">boost</span><span class="special">::</span><span class="identifier">uniform_int</span><span class="special">&lt;&gt;</span> <span class="identifier">dist</span><span class="special">(</span><span class="number">1</span><span class="special">,</span> <span class="number">6</span><span class="special">);</span> <a href="#callout_tests.c1">(1)</a>
<span class="special">}</span>
</pre>
</p>
<div>
<div id="callout_tests.c1">
<a href="#callout_tests.c0">(1)</a>
<p>
create a uniform_int distribution
</p>
</div>
</div>
<p>
Example 2:
</p>
<p>
<pre class="programlisting"><span class="keyword">int</span> <span class="identifier">roll_die</span><span class="special">()</span> <span class="special">{</span>
<a href="#callout_tests.c3">(1)</a><span class="identifier">boost</span><span class="special">::</span><span class="identifier">variate_generator</span><span class="special">&lt;</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">mt19937</span><span class="special">&amp;,</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">uniform_int</span><span class="special">&lt;&gt;</span> <span class="special">&gt;</span> <span class="identifier">die</span><span class="special">(</span><span class="identifier">gen</span><span class="special">,</span> <span class="identifier">dist</span><span class="special">);</span>
<span class="special">}</span>
</pre>
</p>
<div>
<div id="callout_tests.c3">
<a href="#callout_tests.c2">(1)</a>
<div class="important">
<p>
test
</p>
</div>
</div>
</div>
<p>
Example 3:
</p>
<p>
<pre class="programlisting"><span class="keyword">int</span> <span class="identifier">roll_die</span><span class="special">()</span> <span class="special">{</span>
<a href="#callout_tests.c5">(1)</a><span class="identifier">boost</span><span class="special">::</span><span class="identifier">variate_generator</span><span class="special">&lt;</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">mt19937</span><span class="special">&amp;,</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">uniform_int</span><span class="special">&lt;&gt;</span> <span class="special">&gt;</span> <span class="identifier">die</span><span class="special">(</span><span class="identifier">gen</span><span class="special">,</span> <span class="identifier">dist</span><span class="special">);</span>
<span class="special">}</span>
</pre>
</p>
<div>
<div id="callout_tests.c5">
<a href="#callout_tests.c4">(1)</a>
<div class="important">
<p>
test
</p>
</div>
</div>
</div>
<p>
Example 3 (again!):
</p>
<p>
<pre class="programlisting"><span class="keyword">int</span> <span class="identifier">roll_die</span><span class="special">()</span> <span class="special">{</span>
<a href="#callout_tests.c7">(1)</a><span class="identifier">boost</span><span class="special">::</span><span class="identifier">variate_generator</span><span class="special">&lt;</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">mt19937</span><span class="special">&amp;,</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">uniform_int</span><span class="special">&lt;&gt;</span> <span class="special">&gt;</span> <span class="identifier">die</span><span class="special">(</span><span class="identifier">gen</span><span class="special">,</span> <span class="identifier">dist</span><span class="special">);</span>
<span class="special">}</span>
</pre>
</p>
<div>
<div id="callout_tests.c7">
<a href="#callout_tests.c6">(1)</a>
<div class="important">
<p>
test
</p>
</div>
</div>
</div>
<p>
Example 4:
</p>
<p>
<pre class="programlisting"><span class="keyword">int</span> <span class="identifier">roll_die</span><span class="special">()</span> <span class="special">{</span>
<a href="#callout_tests.c9">(1)</a><span class="identifier">boost</span><span class="special">::</span><span class="identifier">variate_generator</span><span class="special">&lt;</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">mt19937</span><span class="special">&amp;,</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">uniform_int</span><span class="special">&lt;&gt;</span> <span class="special">&gt;</span> <span class="identifier">die</span><span class="special">(</span><span class="identifier">gen</span><span class="special">,</span> <span class="identifier">dist</span><span class="special">);</span>
<a href="#callout_tests.c11">(2)</a><span class="identifier">boost</span><span class="special">::</span><span class="identifier">uniform_int</span><span class="special">&lt;&gt;</span> <span class="identifier">dist</span><span class="special">(</span><span class="number">1</span><span class="special">,</span> <span class="number">6</span><span class="special">);</span> <a href="#callout_tests.c13">(3)</a>
<span class="special">}</span>
</pre>
</p>
<div>
<div id="callout_tests.c9">
<a href="#callout_tests.c8">(1)</a>
<p>
callout 1
</p>
</div>
<div id="callout_tests.c11">
<a href="#callout_tests.c10">(2)</a>
<p>
callout 2
</p>
</div>
<div id="callout_tests.c13">
<a href="#callout_tests.c12">(3)</a>
<p>
create a uniform_int distribution
</p>
</div>
</div>
<p>
<pre class="programlisting"><a href="#callout_tests.c15">(1)</a><span class="identifier">boost</span><span class="special">::</span><span class="identifier">uniform_int</span><span class="special">&lt;&gt;</span> <span class="identifier">dist</span><span class="special">(</span><span class="number">1</span><span class="special">,</span> <span class="number">6</span><span class="special">);</span> <a href="#callout_tests.c17">(2)</a>
</pre>
</p>
<div>
<div id="callout_tests.c15">
<a href="#callout_tests.c14">(1)</a>
<p>
callout 2
</p>
</div>
<div id="callout_tests.c17">
<a href="#callout_tests.c16">(2)</a>
<p>
create a uniform_int distribution
</p>
</div>
</div>
<div id="callout_tests.test_section">
<h3>
Try callouts in a section
</h3>
<div id="callout_tests.test_section">
<p>
Example 1:
</p>
<p>
Now we can define a function that simulates an ordinary six-sided die.
</p>
<p>
<pre class="programlisting"><span class="keyword">int</span> <span class="identifier">roll_die</span><span class="special">()</span> <span class="special">{</span>
<span class="identifier">boost</span><span class="special">::</span><span class="identifier">uniform_int</span><span class="special">&lt;&gt;</span> <span class="identifier">dist</span><span class="special">(</span><span class="number">1</span><span class="special">,</span> <span class="number">6</span><span class="special">);</span> <a href="#callout_tests.test_section.c1">(1)</a>
<span class="special">}</span>
</pre>
</p>
<div>
<div id="callout_tests.test_section.c1">
<a href="#callout_tests.test_section.c0">(1)</a>
<p>
create a uniform_int distribution
</p>
</div>
</div>
<p>
Example 2:
</p>
<p>
<pre class="programlisting"><span class="keyword">int</span> <span class="identifier">roll_die</span><span class="special">()</span> <span class="special">{</span>
<a href="#callout_tests.test_section.c3">(1)</a><span class="identifier">boost</span><span class="special">::</span><span class="identifier">variate_generator</span><span class="special">&lt;</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">mt19937</span><span class="special">&amp;,</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">uniform_int</span><span class="special">&lt;&gt;</span> <span class="special">&gt;</span> <span class="identifier">die</span><span class="special">(</span><span class="identifier">gen</span><span class="special">,</span> <span class="identifier">dist</span><span class="special">);</span>
<span class="special">}</span>
</pre>
</p>
<div>
<div id="callout_tests.test_section.c3">
<a href="#callout_tests.test_section.c2">(1)</a>
<div class="important">
<p>
test
</p>
</div>
</div>
</div>
<p>
Example 3:
</p>
<p>
<pre class="programlisting"><span class="keyword">int</span> <span class="identifier">roll_die</span><span class="special">()</span> <span class="special">{</span>
<a href="#callout_tests.test_section.c5">(1)</a><span class="identifier">boost</span><span class="special">::</span><span class="identifier">variate_generator</span><span class="special">&lt;</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">mt19937</span><span class="special">&amp;,</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">uniform_int</span><span class="special">&lt;&gt;</span> <span class="special">&gt;</span> <span class="identifier">die</span><span class="special">(</span><span class="identifier">gen</span><span class="special">,</span> <span class="identifier">dist</span><span class="special">);</span>
<span class="special">}</span>
</pre>
</p>
<div>
<div id="callout_tests.test_section.c5">
<a href="#callout_tests.test_section.c4">(1)</a>
<div class="important">
<p>
test
</p>
</div>
</div>
</div>
<p>
Example 3 (again!):
</p>
<p>
<pre class="programlisting"><span class="keyword">int</span> <span class="identifier">roll_die</span><span class="special">()</span> <span class="special">{</span>
<a href="#callout_tests.test_section.c7">(1)</a><span class="identifier">boost</span><span class="special">::</span><span class="identifier">variate_generator</span><span class="special">&lt;</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">mt19937</span><span class="special">&amp;,</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">uniform_int</span><span class="special">&lt;&gt;</span> <span class="special">&gt;</span> <span class="identifier">die</span><span class="special">(</span><span class="identifier">gen</span><span class="special">,</span> <span class="identifier">dist</span><span class="special">);</span>
<span class="special">}</span>
</pre>
</p>
<div>
<div id="callout_tests.test_section.c7">
<a href="#callout_tests.test_section.c6">(1)</a>
<div class="important">
<p>
test
</p>
</div>
</div>
</div>
<p>
Example 4:
</p>
<p>
<pre class="programlisting"><span class="keyword">int</span> <span class="identifier">roll_die</span><span class="special">()</span> <span class="special">{</span>
<a href="#callout_tests.test_section.c9">(1)</a><span class="identifier">boost</span><span class="special">::</span><span class="identifier">variate_generator</span><span class="special">&lt;</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">mt19937</span><span class="special">&amp;,</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">uniform_int</span><span class="special">&lt;&gt;</span> <span class="special">&gt;</span> <span class="identifier">die</span><span class="special">(</span><span class="identifier">gen</span><span class="special">,</span> <span class="identifier">dist</span><span class="special">);</span>
<a href="#callout_tests.test_section.c11">(2)</a><span class="identifier">boost</span><span class="special">::</span><span class="identifier">uniform_int</span><span class="special">&lt;&gt;</span> <span class="identifier">dist</span><span class="special">(</span><span class="number">1</span><span class="special">,</span> <span class="number">6</span><span class="special">);</span> <a href="#callout_tests.test_section.c13">(3)</a>
<span class="special">}</span>
</pre>
</p>
<div>
<div id="callout_tests.test_section.c9">
<a href="#callout_tests.test_section.c8">(1)</a>
<p>
callout 1
</p>
</div>
<div id="callout_tests.test_section.c11">
<a href="#callout_tests.test_section.c10">(2)</a>
<p>
callout 2
</p>
</div>
<div id="callout_tests.test_section.c13">
<a href="#callout_tests.test_section.c12">(3)</a>
<p>
create a uniform_int distribution
</p>
</div>
</div>
<p>
<pre class="programlisting"><a href="#callout_tests.test_section.c15">(1)</a><span class="identifier">boost</span><span class="special">::</span><span class="identifier">uniform_int</span><span class="special">&lt;&gt;</span> <span class="identifier">dist</span><span class="special">(</span><span class="number">1</span><span class="special">,</span> <span class="number">6</span><span class="special">);</span> <a href="#callout_tests.test_section.c17">(2)</a>
</pre>
</p>
<div>
<div id="callout_tests.test_section.c15">
<a href="#callout_tests.test_section.c14">(1)</a>
<p>
callout 2
</p>
</div>
<div id="callout_tests.test_section.c17">
<a href="#callout_tests.test_section.c16">(2)</a>
<p>
create a uniform_int distribution
</p>
</div>
</div>
</div>
</div>
</body>
</html>

View File

@@ -243,5 +243,7 @@
<para>
<code><phrase role="comment">/*&lt; This shouldn't be a callout &gt;*/</phrase></code>
</para>
<para>Silly test<co linkends="silly-callout"/></para>
<calloutlist><callout id="silly-callout"><para>silly</para></callout></calloutlist>
</section>
</article>

302
test/callouts-1_7.gold.html Normal file
View File

@@ -0,0 +1,302 @@
<!DOCTYPE html>
<html>
<head></head>
<body>
<h3>
Callout Tests
</h3>
<div class="toc">
<p>
<b>Table of contents</b>
</p>
<ul>
<li>
<a href="#callout_tests.test_section">Try callouts in a section</a>
</li>
<li>
<a href="#callout_tests.blocks">Callouts in code blocks</a>
</li>
</ul>
</div>
<p>
Example 1:
</p>
<p>
Now we can define a function that simulates an ordinary six-sided die.
</p>
<pre class="programlisting"><span class="keyword">int</span> <span class="identifier">roll_die</span><span class="special">()</span> <span class="special">{</span>
<span class="identifier">boost</span><span class="special">::</span><span class="identifier">uniform_int</span><span class="special">&lt;&gt;</span> <span class="identifier">dist</span><span class="special">(</span><span class="number">1</span><span class="special">,</span> <span class="number">6</span><span class="special">);</span> <a href="#callout_tests.c1">(1)</a>
<span class="special">}</span>
</pre>
<div>
<div id="callout_tests.c1">
<a href="#callout_tests.c0">(1)</a>
<p>
create a uniform_int distribution
</p>
</div>
</div>
<p>
Example 2:
</p>
<pre class="programlisting"><span class="keyword">int</span> <span class="identifier">roll_die</span><span class="special">()</span> <span class="special">{</span>
<a href="#callout_tests.c3">(1)</a><span class="identifier">boost</span><span class="special">::</span><span class="identifier">variate_generator</span><span class="special">&lt;</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">mt19937</span><span class="special">&amp;,</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">uniform_int</span><span class="special">&lt;&gt;</span> <span class="special">&gt;</span> <span class="identifier">die</span><span class="special">(</span><span class="identifier">gen</span><span class="special">,</span> <span class="identifier">dist</span><span class="special">);</span>
<span class="special">}</span>
</pre>
<div>
<div id="callout_tests.c3">
<a href="#callout_tests.c2">(1)</a>
<div class="important">
<p>
test
</p>
</div>
</div>
</div>
<p>
Example 3:
</p>
<pre class="programlisting"><span class="keyword">int</span> <span class="identifier">roll_die</span><span class="special">()</span> <span class="special">{</span>
<a href="#callout_tests.c5">(1)</a><span class="identifier">boost</span><span class="special">::</span><span class="identifier">variate_generator</span><span class="special">&lt;</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">mt19937</span><span class="special">&amp;,</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">uniform_int</span><span class="special">&lt;&gt;</span> <span class="special">&gt;</span> <span class="identifier">die</span><span class="special">(</span><span class="identifier">gen</span><span class="special">,</span> <span class="identifier">dist</span><span class="special">);</span>
<span class="special">}</span>
</pre>
<div>
<div id="callout_tests.c5">
<a href="#callout_tests.c4">(1)</a>
<div class="important">
<p>
test
</p>
</div>
</div>
</div>
<p>
Example 3 (again!):
</p>
<pre class="programlisting"><span class="keyword">int</span> <span class="identifier">roll_die</span><span class="special">()</span> <span class="special">{</span>
<a href="#callout_tests.c7">(1)</a><span class="identifier">boost</span><span class="special">::</span><span class="identifier">variate_generator</span><span class="special">&lt;</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">mt19937</span><span class="special">&amp;,</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">uniform_int</span><span class="special">&lt;&gt;</span> <span class="special">&gt;</span> <span class="identifier">die</span><span class="special">(</span><span class="identifier">gen</span><span class="special">,</span> <span class="identifier">dist</span><span class="special">);</span>
<span class="special">}</span>
</pre>
<div>
<div id="callout_tests.c7">
<a href="#callout_tests.c6">(1)</a>
<div class="important">
<p>
test
</p>
</div>
</div>
</div>
<p>
Example 4:
</p>
<pre class="programlisting"><span class="keyword">int</span> <span class="identifier">roll_die</span><span class="special">()</span> <span class="special">{</span>
<a href="#callout_tests.c9">(1)</a><span class="identifier">boost</span><span class="special">::</span><span class="identifier">variate_generator</span><span class="special">&lt;</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">mt19937</span><span class="special">&amp;,</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">uniform_int</span><span class="special">&lt;&gt;</span> <span class="special">&gt;</span> <span class="identifier">die</span><span class="special">(</span><span class="identifier">gen</span><span class="special">,</span> <span class="identifier">dist</span><span class="special">);</span>
<a href="#callout_tests.c11">(2)</a><span class="identifier">boost</span><span class="special">::</span><span class="identifier">uniform_int</span><span class="special">&lt;&gt;</span> <span class="identifier">dist</span><span class="special">(</span><span class="number">1</span><span class="special">,</span> <span class="number">6</span><span class="special">);</span> <a href="#callout_tests.c13">(3)</a>
<span class="special">}</span>
</pre>
<div>
<div id="callout_tests.c9">
<a href="#callout_tests.c8">(1)</a>
<p>
callout 1
</p>
</div>
<div id="callout_tests.c11">
<a href="#callout_tests.c10">(2)</a>
<p>
callout 2
</p>
</div>
<div id="callout_tests.c13">
<a href="#callout_tests.c12">(3)</a>
<p>
create a uniform_int distribution
</p>
</div>
</div>
<pre class="programlisting"><a href="#callout_tests.c15">(1)</a><span class="identifier">boost</span><span class="special">::</span><span class="identifier">uniform_int</span><span class="special">&lt;&gt;</span> <span class="identifier">dist</span><span class="special">(</span><span class="number">1</span><span class="special">,</span> <span class="number">6</span><span class="special">);</span> <a href="#callout_tests.c17">(2)</a>
</pre>
<div>
<div id="callout_tests.c15">
<a href="#callout_tests.c14">(1)</a>
<p>
callout 2
</p>
</div>
<div id="callout_tests.c17">
<a href="#callout_tests.c16">(2)</a>
<p>
create a uniform_int distribution
</p>
</div>
</div>
<div id="callout_tests.test_section">
<h3>
Try callouts in a section
</h3>
<div id="callout_tests.test_section">
<p>
Example 1:
</p>
<p>
Now we can define a function that simulates an ordinary six-sided die.
</p>
<pre class="programlisting"><span class="keyword">int</span> <span class="identifier">roll_die</span><span class="special">()</span> <span class="special">{</span>
<span class="identifier">boost</span><span class="special">::</span><span class="identifier">uniform_int</span><span class="special">&lt;&gt;</span> <span class="identifier">dist</span><span class="special">(</span><span class="number">1</span><span class="special">,</span> <span class="number">6</span><span class="special">);</span> <a href="#callout_tests.test_section.c1">(1)</a>
<span class="special">}</span>
</pre>
<div>
<div id="callout_tests.test_section.c1">
<a href="#callout_tests.test_section.c0">(1)</a>
<p>
create a uniform_int distribution
</p>
</div>
</div>
<p>
Example 2:
</p>
<pre class="programlisting"><span class="keyword">int</span> <span class="identifier">roll_die</span><span class="special">()</span> <span class="special">{</span>
<a href="#callout_tests.test_section.c3">(1)</a><span class="identifier">boost</span><span class="special">::</span><span class="identifier">variate_generator</span><span class="special">&lt;</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">mt19937</span><span class="special">&amp;,</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">uniform_int</span><span class="special">&lt;&gt;</span> <span class="special">&gt;</span> <span class="identifier">die</span><span class="special">(</span><span class="identifier">gen</span><span class="special">,</span> <span class="identifier">dist</span><span class="special">);</span>
<span class="special">}</span>
</pre>
<div>
<div id="callout_tests.test_section.c3">
<a href="#callout_tests.test_section.c2">(1)</a>
<div class="important">
<p>
test
</p>
</div>
</div>
</div>
<p>
Example 3:
</p>
<pre class="programlisting"><span class="keyword">int</span> <span class="identifier">roll_die</span><span class="special">()</span> <span class="special">{</span>
<a href="#callout_tests.test_section.c5">(1)</a><span class="identifier">boost</span><span class="special">::</span><span class="identifier">variate_generator</span><span class="special">&lt;</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">mt19937</span><span class="special">&amp;,</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">uniform_int</span><span class="special">&lt;&gt;</span> <span class="special">&gt;</span> <span class="identifier">die</span><span class="special">(</span><span class="identifier">gen</span><span class="special">,</span> <span class="identifier">dist</span><span class="special">);</span>
<span class="special">}</span>
</pre>
<div>
<div id="callout_tests.test_section.c5">
<a href="#callout_tests.test_section.c4">(1)</a>
<div class="important">
<p>
test
</p>
</div>
</div>
</div>
<p>
Example 3 (again!):
</p>
<pre class="programlisting"><span class="keyword">int</span> <span class="identifier">roll_die</span><span class="special">()</span> <span class="special">{</span>
<a href="#callout_tests.test_section.c7">(1)</a><span class="identifier">boost</span><span class="special">::</span><span class="identifier">variate_generator</span><span class="special">&lt;</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">mt19937</span><span class="special">&amp;,</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">uniform_int</span><span class="special">&lt;&gt;</span> <span class="special">&gt;</span> <span class="identifier">die</span><span class="special">(</span><span class="identifier">gen</span><span class="special">,</span> <span class="identifier">dist</span><span class="special">);</span>
<span class="special">}</span>
</pre>
<div>
<div id="callout_tests.test_section.c7">
<a href="#callout_tests.test_section.c6">(1)</a>
<div class="important">
<p>
test
</p>
</div>
</div>
</div>
<p>
Example 4:
</p>
<pre class="programlisting"><span class="keyword">int</span> <span class="identifier">roll_die</span><span class="special">()</span> <span class="special">{</span>
<a href="#callout_tests.test_section.c9">(1)</a><span class="identifier">boost</span><span class="special">::</span><span class="identifier">variate_generator</span><span class="special">&lt;</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">mt19937</span><span class="special">&amp;,</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">uniform_int</span><span class="special">&lt;&gt;</span> <span class="special">&gt;</span> <span class="identifier">die</span><span class="special">(</span><span class="identifier">gen</span><span class="special">,</span> <span class="identifier">dist</span><span class="special">);</span>
<a href="#callout_tests.test_section.c11">(2)</a><span class="identifier">boost</span><span class="special">::</span><span class="identifier">uniform_int</span><span class="special">&lt;&gt;</span> <span class="identifier">dist</span><span class="special">(</span><span class="number">1</span><span class="special">,</span> <span class="number">6</span><span class="special">);</span> <a href="#callout_tests.test_section.c13">(3)</a>
<span class="special">}</span>
</pre>
<div>
<div id="callout_tests.test_section.c9">
<a href="#callout_tests.test_section.c8">(1)</a>
<p>
callout 1
</p>
</div>
<div id="callout_tests.test_section.c11">
<a href="#callout_tests.test_section.c10">(2)</a>
<p>
callout 2
</p>
</div>
<div id="callout_tests.test_section.c13">
<a href="#callout_tests.test_section.c12">(3)</a>
<p>
create a uniform_int distribution
</p>
</div>
</div>
<pre class="programlisting"><a href="#callout_tests.test_section.c15">(1)</a><span class="identifier">boost</span><span class="special">::</span><span class="identifier">uniform_int</span><span class="special">&lt;&gt;</span> <span class="identifier">dist</span><span class="special">(</span><span class="number">1</span><span class="special">,</span> <span class="number">6</span><span class="special">);</span> <a href="#callout_tests.test_section.c17">(2)</a>
</pre>
<div>
<div id="callout_tests.test_section.c15">
<a href="#callout_tests.test_section.c14">(1)</a>
<p>
callout 2
</p>
</div>
<div id="callout_tests.test_section.c17">
<a href="#callout_tests.test_section.c16">(2)</a>
<p>
create a uniform_int distribution
</p>
</div>
</div>
</div>
</div>
<div id="callout_tests.blocks">
<h3>
Callouts in code blocks
</h3>
<div id="callout_tests.blocks">
<pre class="programlisting"><span class="keyword">int</span> <span class="identifier">roll_die</span><span class="special">()</span> <span class="special">{</span>
<span class="identifier">boost</span><span class="special">::</span><span class="identifier">uniform_int</span><span class="special">&lt;&gt;</span> <span class="identifier">dist</span><span class="special">(</span><span class="number">1</span><span class="special">,</span> <span class="number">6</span><span class="special">);</span> <a href="#callout_tests.blocks.c1">(1)</a>
<span class="special">}</span>
</pre>
<div>
<div id="callout_tests.blocks.c1">
<a href="#callout_tests.blocks.c0">(1)</a>
<p>
create a uniform_int distribution
</p>
</div>
</div>
<pre class="programlisting"><span class="keyword">int</span> <span class="identifier">roll_die</span><span class="special">()</span> <span class="special">{</span>
<a href="#callout_tests.blocks.c3">(1)</a><span class="identifier">boost</span><span class="special">::</span><span class="identifier">variate_generator</span><span class="special">&lt;</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">mt19937</span><span class="special">&amp;,</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">uniform_int</span><span class="special">&lt;&gt;</span> <span class="special">&gt;</span> <span class="identifier">die</span><span class="special">(</span><span class="identifier">gen</span><span class="special">,</span> <span class="identifier">dist</span><span class="special">);</span>
<span class="special">}</span>
</pre>
<div>
<div id="callout_tests.blocks.c3">
<a href="#callout_tests.blocks.c2">(1)</a>
<div class="important">
<p>
test
</p>
</div>
</div>
</div>
<p>
<code><span class="comment">/*&lt; This shouldn't be a callout &gt;*/</span></code>
</p>
<p>
Silly test<a href="#silly-callout">(1)</a>
</p>
<div>
<div id="silly-callout">
(1)
<p>
silly
</p>
</div>
</div>
</div>
</div>
</body>
</html>

View File

@@ -65,4 +65,9 @@ int roll_die() {
`/*< This shouldn't be a callout >*/`
[endsect]
[block'''
<para>Silly test<co linkends="silly-callout"/></para>
<calloutlist><callout id="silly-callout"><para>silly</para></callout></calloutlist>
''']
[endsect]

91
test/code-1_1.gold.html Normal file
View File

@@ -0,0 +1,91 @@
<!DOCTYPE html>
<html>
<head></head>
<body>
<h3>
Code Block
</h3>
<div class="toc">
<p>
<b>Table of contents</b>
</p>
<ul>
<li>
<a href="#code_block.test_1">Test 1</a>
</li>
<li>
<a href="#code_block.test_2">Test 2</a>
</li>
<li>
<a href="#code_block.test_3">Test 3</a>
</li>
<li>
<a href="#code_block.test_4">Test 4</a>
</li>
</ul>
</div>
<div id="code_block.test_1">
<h3>
Test 1
</h3>
<div id="code_block.test_1">
<p>
A code block with proper indentation ;-)
</p>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">iostream</span><span class="special">&gt;</span>
<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">&lt;&lt;</span> <span class="string">&quot;Hello, World!&quot;</span> <span class="special">&lt;&lt;</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">endl</span><span class="special">;</span>
<span class="keyword">return</span> <span class="number">0</span><span class="special">;</span>
<span class="special">}</span>
</pre>
</div>
</div>
<div id="code_block.test_2">
<h3>
Test 2
</h3>
<div id="code_block.test_2">
<p>
A code block with proper indentation ;-)
</p>
<p>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">iostream</span><span class="special">&gt;</span>
<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">&lt;&lt;</span> <span class="string">&quot;Hello, World!&quot;</span> <span class="special">&lt;&lt;</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">endl</span><span class="special">;</span>
<span class="keyword">return</span> <span class="number">0</span><span class="special">;</span>
<span class="special">}</span>
</pre>
</p>
</div>
</div>
<div id="code_block.test_3">
<h3>
Test 3
</h3>
<div id="code_block.test_3">
<p>
<pre class="programlisting"><span class="keyword">print</span> <span class="string">&quot;\xfabln\xeck&quot;</span>
</pre>
</p>
</div>
</div>
<div id="code_block.test_4">
<h3>
Test 4
</h3>
<div id="code_block.test_4">
<p>
This isn't valid C++ but I think we should accept it;
</p>
<p>
<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span><span class="special">&lt;&lt;</span><span class="string">&quot;\xfabln\xeck&quot;</span><span class="special">&lt;&lt;</span><span class="string">&quot;\n&quot;</span><span class="special">;</span>
</pre>
</p>
</div>
</div>
</body>
</html>

39
test/code-1_5.gold.html Normal file
View File

@@ -0,0 +1,39 @@
<!DOCTYPE html>
<html>
<head></head>
<body>
<h3>
Indented code blocks
</h3>
<p>
In a paragraph. Still in a paragraph.
</p>
<pre class="programlisting">In a code block.
</pre>
<p>
Back in a paragraph.
</p>
<pre class="programlisting"> Code block line 1.
Code block line 2.
Code block line 3.
</pre>
<p>
Paragraph.
</p>
<pre class="programlisting">Code block with no trailing blank lines.
</pre>
<p>
Paragraph.
</p>
<h2 id="indented_code_blocks.code_blocks_separated_by_comment">
Code blocks separated by comment
</h2>
<pre class="programlisting">First code block.
</pre>
<pre class="programlisting">Second code block.
[/ Comment in second code block]
Still second code block.
[/ Comment trailing second code block]
</pre>
</body>
</html>

View File

@@ -0,0 +1,43 @@
<!DOCTYPE html>
<html>
<head></head>
<body>
<h3>
C++ Code Blocks
</h3>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">some_header</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="string">&quot;another_header.hpp&quot;</span>
<span class="preprocessor"># define</span> <span class="identifier">A_MACRO</span> <span class="identifier">value</span>
<span class="preprocessor">#define</span> <span class="identifier">stringize</span><span class="special">(</span><span class="identifier">hello</span><span class="special">)</span> <span class="special">#</span><span class="identifier">hello</span>
<span class="comment">// No escape</span>
<span class="comment">/* No escape */</span>
<span class="comment">/* No escape
* with newlines
*/</span>
<span class="comment">// In Header: &lt;<a href="http://www.boost.org/doc/libs/release/boost/optional/optional.hpp">boost/optional/optional.hpp</a>&gt;</span>
<span class="comment">/* In Header: &lt;<a href="http://www.boost.org/doc/libs/release/boost/optional/optional.hpp">boost/optional/optional.hpp</a>&gt; */</span>
<span class="comment">/* Multiple escapes: <span class="emphasis"><em>italic</em></span>
* <span class="underline">underline</span><span class="bold"><strong>bold</strong></span>
*/</span>
<span class="comment">/* Token pasting: */</span> <span class="identifier">a</span><span class="special">##</span><span class="identifier">b</span>
</pre>
<p>
A badly formed comment:
</p>
<pre class="programlisting"><span class="comment">/* Oh dear
</span></pre>
<p>
A badly formed comment with an escape:
</p>
<pre class="programlisting"><span class="comment">/* Oh dear <span class="bold"><strong>bold</strong></span>
</span></pre>
<p>
Just some code:
</p>
<pre class="programlisting"><span class="keyword">int</span> <span class="identifier">main</span><span class="special">()</span> <span class="special">{</span>
<span class="keyword">constexpr</span> <span class="keyword">char32_t</span> <span class="identifier">x</span> <span class="special">=</span> <span class="char">'a'</span><span class="special">;</span>
<span class="keyword">const</span> <span class="keyword">auto</span> <span class="identifier">y</span> <span class="special">=</span> <span class="identifier">x</span> <span class="special">-</span> <span class="char">' '</span><span class="special">;</span>
<span class="special">}</span>
</pre>
</body>
</html>

View File

@@ -0,0 +1,13 @@
<!DOCTYPE html>
<html>
<head></head>
<body>
<h3>
Python Code Blocks
</h3>
<pre class="programlisting"><span class="comment"># No escape</span>
<span class="comment"># Escape: <span class="bold"><strong>bold</strong></span></span>
<span class="comment"># Escape: <span class="underline">underline</span><span class="emphasis"><em>italic</em></span></span>
</pre>
</body>
</html>

View File

@@ -0,0 +1,39 @@
<!DOCTYPE html>
<html>
<head></head>
<body>
<h3>
Code Snippets
</h3>
<div class="toc">
<p>
<b>Table of contents</b>
</p>
<ul>
<li>
<a href="#code_snippets.a_code_snippet">A code snippet</a>
</li>
</ul>
</div>
<div id="code_snippets.a_code_snippet">
<h3>
A code snippet
</h3>
<div id="code_snippets.a_code_snippet">
<p>
Code snippets inlined in text, as in <code><span class="keyword">namespace</span>
<span class="identifier">quickbook</span> <span class="special">{</span>
<span class="keyword">static</span> <span class="keyword">const</span>
<span class="keyword">int</span> <span class="identifier">value</span>
<span class="special">=</span> <span class="number">0</span><span class="special">;</span>
<span class="special">}</span></code>, should be properly formatted and
not glued to the surrounding text.
</p>
<p>
There shoud be no spacees around (<code><span class="keyword">this</span></code>),
and spaces around <code><span class="keyword">this</span></code> code.
</p>
</div>
</div>
</body>
</html>

View File

@@ -0,0 +1,29 @@
<!DOCTYPE html>
<html>
<head></head>
<body>
<h3>
Code Block Teletype 1
</h3>
<div class="toc">
<p>
<b>Table of contents</b>
</p>
<ul>
<li>
<a href="#code_block_teletype_1.a_code_block">A code block</a>
</li>
</ul>
</div>
<div id="code_block_teletype_1.a_code_block">
<h3>
A code block
</h3>
<div id="code_block_teletype_1.a_code_block">
<pre class="programlisting">Just some plain text.
With some <span class="bold"><strong>quickbook</strong></span> thrown in?
</pre>
</div>
</div>
</body>
</html>

View File

@@ -0,0 +1,15 @@
<!DOCTYPE html>
<html>
<head></head>
<body>
<h3>
Command Line Macro
</h3>
<p>
<span class="bold"><strong>bold</strong></span>
</p>
<p>
empty is defined
</p>
</body>
</html>

View File

@@ -0,0 +1,18 @@
<!DOCTYPE html>
<html>
<head></head>
<body>
<h3>
Coniditional Phrase Test
</h3>
<p>
This should show
</p>
<p>
The should be no space inserted.
</p>
<p>
<span class="bold"><strong>Bold text</strong></span>
</p>
</body>
</html>

View File

@@ -0,0 +1,24 @@
<!DOCTYPE html>
<html>
<head></head>
<body>
<h3>
Coniditional Phrase Test
</h3>
<p>
This should show
</p>
<p>
But this should show
</p>
<p>
Weird macro is defined
</p>
<p>
The should be no space inserted.
</p>
<p>
<span class="bold"><strong>Bold text</strong></span>
</p>
</body>
</html>

View File

@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html>
<head></head>
<body>
<h3>
Document Information 4
</h3>
Joe Blow
</body>
</html>

View File

@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html>
<head></head>
<body>
<h3>
Document Information 4
</h3>
Joe Blow Jane Doe John Coe
</body>
</html>

View File

@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html>
<head></head>
<body>
<h3>
Copyright Test
</h3>
1963 1964 1965 Jane Doe 2018 Joe Blow, John Coe 1977 1985 Someone else
</body>
</html>

View File

@@ -0,0 +1,17 @@
<!DOCTYPE html>
<html>
<head></head>
<body>
<h3>
Duplicates 1.1 2
</h3>
Joe Blow Jane Doe 2018 Joe Blow 1963 Jane Doe
<p>
Public Domain
</p>
Another Duplicate
<p>
Content
</p>
</body>
</html>

View File

@@ -0,0 +1,15 @@
<!DOCTYPE html>
<html>
<head></head>
<body>
<h3>
Duplicates 1.5 2
</h3>
Joe Blow Jane Doe 2018 Joe Blow 1963 Jane Doe
<p>
Public Domain
</p>
Another Duplicate http://www.boost.org/tools/quickbook/test/doc-info-2.quickbook
0-937383-18-X
</body>
</html>

View File

@@ -0,0 +1,13 @@
<!DOCTYPE html>
<html>
<head></head>
<body>
<h3>
Empty Attributes
</h3>
2011
<p>
<tt>biblioid</tt> and <tt>source-mode</tt> can't be empty.
</p>
</body>
</html>

View File

@@ -0,0 +1,26 @@
<!DOCTYPE html>
<html>
<head></head>
<body>
<div class="toc">
<p>
<b>Table of contents</b>
</p>
<ul>
<li>
<a href="#.test">Test</a>
</li>
</ul>
</div>
<div id=".test">
<h3>
Test
</h3>
<div id=".test">
<p>
Hello
</p>
</div>
</div>
</body>
</html>

View File

@@ -0,0 +1,26 @@
<!DOCTYPE html>
<html>
<head></head>
<body>
<div class="toc">
<p>
<b>Table of contents</b>
</p>
<ul>
<li>
<a href="#.test">Test</a>
</li>
</ul>
</div>
<div id=".test">
<h3>
Test
</h3>
<div id=".test">
<p>
Hello
</p>
</div>
</div>
</body>
</html>

View File

@@ -0,0 +1,6 @@
<!DOCTYPE html>
<html>
<head></head>
<body>
</body>
</html>

View File

@@ -0,0 +1,12 @@
<!DOCTYPE html>
<html>
<head></head>
<body>
<h3>
Karel Vom&#xE1;&#x10D;ka and Tom&#xE1;&#x161; Martin&#xED;k
</h3>
Matti Meik&#xE4;l&#xE4;inen Pero Peri&#x107; 2010 Me&#xF0;al-J&#xF3;n and J&#xF3;na
J&#xF3;nsd&#xF3;ttir Inline code test: <code>1 + 2</code> http://www.boost.org/tools/quickbook/test/doc-info-2.quickbook
0-937383-18-X
</body>
</html>

View File

@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html>
<head></head>
<body>
<h3>
Karel Vom&#xE1;&#x10D;ka and Tom&#xE1;&#x161; Martin&#xED;k
</h3>
Matti Meik&#xE4;l&#xE4;inen Pero Peri&#x107; 2010 Me&#xF0;al-J&#xF3;n and J&#xF3;na
J&#xF3;nsd&#xF3;ttir Inline code test: <code>1 + 2</code> http://www.boost.org/tools/quickbook/test/doc-info-1.quickbook
</body>
</html>

View File

@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html>
<head></head>
<body>
<h3>
Escaped name
</h3>
1325 John Doe John Doe john.doe@example.com
</body>
</html>

View File

@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html>
<head></head>
<body>
<h3>
Multiple escaped attributes
</h3>
John Doe john.doe@example.com Acme Corporation
</body>
</html>

View File

@@ -0,0 +1,86 @@
<!DOCTYPE html>
<html>
<head></head>
<body>
<h3>
Missing Id test
</h3>
<div class="toc">
<p>
<b>Table of contents</b>
</p>
<ul>
<li>
<a href="#missing_id_test.missing_id_test_1">Missing Id test 1</a>
</li>
<li>
<a href="#missing_id_test.no_docinfo_test_1">No docinfo test 1</a>
</li>
<li>
<a href="#missing_id_test.missing_id_test_2">Missing Id test 2</a>
</li>
<li>
<a href="#docinfo_no_id.docinfo_no_id_1">Docinfo no id 1</a>
</li>
<li>
<a href="#missing_id_test.missing_id_test_3">Missing Id test 3</a>
</li>
<li>
<a href="#docinfo_no_id.no_docinfo_test_1">No docinfo test 1</a>
</li>
<li>
<a href="#missing_id_test.missing_id_test_4">Missing Id test 4</a>
</li>
</ul>
</div>
<div id="missing_id_test.missing_id_test_1">
<h3>
Missing Id test 1
</h3>
<div id="missing_id_test.missing_id_test_1">
</div>
</div>
<div id="missing_id_test.no_docinfo_test_1">
<h3>
No docinfo test 1
</h3>
<div id="missing_id_test.no_docinfo_test_1">
</div>
</div>
<div id="missing_id_test.missing_id_test_2">
<h3>
Missing Id test 2
</h3>
<div id="missing_id_test.missing_id_test_2">
</div>
</div>
<div id="docinfo_no_id.docinfo_no_id_1">
<h3>
Docinfo no id 1
</h3>
<div id="docinfo_no_id.docinfo_no_id_1">
</div>
</div>
<div id="missing_id_test.missing_id_test_3">
<h3>
Missing Id test 3
</h3>
<div id="missing_id_test.missing_id_test_3">
</div>
</div>
<div id="docinfo_no_id.no_docinfo_test_1">
<h3>
No docinfo test 1
</h3>
<div id="docinfo_no_id.no_docinfo_test_1">
</div>
</div>
<div id="missing_id_test.missing_id_test_4">
<h3>
Missing Id test 4
</h3>
<div id="missing_id_test.missing_id_test_4">
</div>
</div>
</body>
</html>

View File

@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html>
<head></head>
<body>
<h3>
Macro shouldn't expand: __DATE__
</h3>
Unfortunately this does expand: 2000-Dec-20, but I'm not fixing it, as I don't
think it'll cause any real problems.
</body>
</html>

View File

@@ -0,0 +1,24 @@
<!DOCTYPE html>
<html>
<head></head>
<body>
<h3>
Testing date: 2000-Dec-20
</h3>
<div class="toc">
<p>
<b>Table of contents</b>
</p>
<ul>
<li>
<a href="#testing_macro_date_nested_macro">Testing macro date: 5 May 2013</a>
</li>
</ul>
</div>
<div id="testing_macro_date_nested_macro">
<h3>
Testing macro date: 5 May 2013
</h3>
</div>
</body>
</html>

View File

@@ -0,0 +1,31 @@
<!DOCTYPE html>
<html>
<head></head>
<body>
<h3>
C++ test
</h3>
<p>
<code><span class="keyword">def</span> <span class="identifier">foo</span><span
class="special">(</span><span class="identifier">x</span><span class="special">):</span>
<span class="keyword">print</span> <span class="string">&quot;Hello&quot;</span></code>
</p>
<code><span class="keyword">int</span> <span class="identifier">main</span><span
class="special">()</span> <span class="special">{}</span></code>
<p>
<pre class="programlisting"><span class="keyword">int</span> <span class="identifier">main</span><span class="special">()</span> <span class="special">{}</span></pre>
</p>
<p>
<pre class="programlisting"><span class="keyword">def</span> <span class="identifier">foo</span><span class="special">():</span></pre>
</p>
<p>
<pre class="programlisting"><span class="keyword">def</span> <span class="identifier">foo</span><span class="special">(</span><span class="identifier">x</span><span class="special">):</span></pre>
</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>
<p>
<pre class="programlisting"><span class="keyword">int</span> <span class="identifier">main</span><span class="special">()</span> <span class="special">{}</span></pre>
</p>
</body>
</html>

View File

@@ -0,0 +1,36 @@
<!DOCTYPE html>
<html>
<head></head>
<body>
<h3>
C++ test
</h3>
<p>
<code><span class="keyword">def</span> <span class="identifier">foo</span><span
class="special">(</span><span class="identifier">x</span><span class="special">):</span>
<span class="keyword">print</span> <span class="string">&quot;Hello&quot;</span></code>
</p>
<code>This shouldn't be highlighted</code>
<p>
<pre class="programlisting">This shouldn't be highlighted.</pre>
</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>
<p>
<pre class="programlisting"><span class="keyword">int</span> <span class="identifier">main</span><span class="special">()</span> <span class="special">{}</span></pre>
</p>
<p>
<pre class="programlisting"><span class="keyword">def</span> <span class="identifier">foo</span><span class="special">():</span></pre>
</p>
<p>
<pre class="programlisting"><span class="keyword">def</span> <span class="identifier">foo</span><span class="special">(</span><span class="identifier">x</span><span class="special">):</span></pre>
</p>
<p>
<pre class="programlisting">This shouldn't be highlighted</pre>
</p>
<p>
<pre class="programlisting">This shouldn't be highlighted.</pre>
</p>
</body>
</html>

View File

@@ -0,0 +1,59 @@
<!DOCTYPE html>
<html>
<head></head>
<body>
<h3>
C++ test
</h3>
<p>
<code><span class="keyword">def</span> <span class="identifier">foo</span><span
class="special">(</span><span class="identifier">x</span><span class="special">):</span>
<span class="keyword">print</span> <span class="string">&quot;Hello&quot;</span></code>
</p>
<code>This shouldn't be highlighted</code>
<div class="toc">
<p>
<b>Table of contents</b>
</p>
<ul>
<li>
<a href="#c___source_mode_include">C++ source mode include</a>
</li>
<li>
<a href="#python_source_mode_include">Python source mode include</a>
</li>
<li>
<a href="#teletype_source_mode_include">Teletype source mode include</a>
</li>
</ul>
</div>
<pre class="programlisting">This shouldn't be highlighted.</pre>
<pre class="programlisting">This shouldn't be highlighted.</pre>
<pre class="programlisting">This shouldn't be highlighted.</pre>
<pre class="programlisting">This shouldn't be highlighted.</pre>
<div id="c___source_mode_include">
<h3>
C++ source mode include
</h3>
<p>
<pre class="programlisting"><span class="keyword">int</span> <span class="identifier">main</span><span class="special">()</span> <span class="special">{}</span></pre>
</p>
</div>
<div id="python_source_mode_include">
<h3>
Python source mode include
</h3>
<p>
<pre class="programlisting"><span class="keyword">def</span> <span class="identifier">foo</span><span class="special">():</span></pre>
</p>
</div>
<div id="teletype_source_mode_include">
<h3>
Teletype source mode include
</h3>
<p>
<pre class="programlisting">This shouldn't be highlighted</pre>
</p>
</div>
</body>
</html>

View File

@@ -0,0 +1,26 @@
<!DOCTYPE html>
<html>
<head></head>
<body>
<h3>
Trailing Space
</h3>
<div class="toc">
<p>
<b>Table of contents</b>
</p>
<ul>
<li>
<a href="#trailing_space_____.body">Body</a>
</li>
</ul>
</div>
<div id="trailing_space_____.body">
<h3>
Body
</h3>
<div id="trailing_space_____.body">
</div>
</div>
</body>
</html>

View File

@@ -0,0 +1,26 @@
<!DOCTYPE html>
<html>
<head></head>
<body>
<h3>
Trailing Space
</h3>
<div class="toc">
<p>
<b>Table of contents</b>
</p>
<ul>
<li>
<a href="#trailing_space.body">Body</a>
</li>
</ul>
</div>
<div id="trailing_space.body">
<h3>
Body
</h3>
<div id="trailing_space.body">
</div>
</div>
</body>
</html>

View File

@@ -0,0 +1,44 @@
<!DOCTYPE html>
<html>
<head></head>
<body>
<h3>
1.6 Elements
</h3>
<ol>
<li>
<div>
item1
</div>
</li>
<li>
<div>
item2
</div>
</li>
</ol>
<ul>
<li>
<div>
item1
</div>
</li>
<li>
<div>
item2
</div>
</li>
</ul>
<ol>
<li>
<div>
Check that <span class="bold"><strong>bold text</strong></span> isn't confused
with a list.
</div>
</li>
</ol>
<h3>
A <span class="bold"><strong>simplesect</strong></span>!
</h3>
</body>
</html>

48
test/escape-1_1.gold.html Normal file
View File

@@ -0,0 +1,48 @@
<!DOCTYPE html>
<html>
<head></head>
<body>
<h3>
Escape
</h3>
<div class="toc">
<p>
<b>Table of contents</b>
</p>
<ul>
<li>
<a href="#escape.escape">Escape</a>
</li>
</ul>
</div>
<div id="escape.escape">
<h3>
Escape
</h3>
<div id="escape.escape">
<p>
<span class="emphasis"><em>Da do do do. Da da da da. That's all I have
to say to you.</em></span>
</p>
<p>
This letter &#x3B1; should have a space either side of it.
</p>
<p>
These should be properly encoded: &gt; &lt; &quot;
</p>
<p>
This <a>link</a> shouldn't be changed.
</p>
<p>
Some other problematic links: <a>one</a>, <a>two</a>, <a>three</a>.
</p>
<p>
<span class="emphasis"><em>This will be escaped</em></span>
</p>
<p>
\[ generates [. \] generates ].
</p>
</div>
</div>
</body>
</html>

48
test/escape-1_6.gold.html Normal file
View File

@@ -0,0 +1,48 @@
<!DOCTYPE html>
<html>
<head></head>
<body>
<h3>
Escape
</h3>
<div class="toc">
<p>
<b>Table of contents</b>
</p>
<ul>
<li>
<a href="#escape.escape">Escape</a>
</li>
</ul>
</div>
<div id="escape.escape">
<h3>
Escape
</h3>
<div id="escape.escape">
<p>
<span class="emphasis"><em>Da do do do. Da da da da. That's all I have
to say to you.</em></span>
</p>
<p>
This letter &#x3B1; should have a space either side of it.
</p>
<p>
These should be properly encoded: &gt; &lt; &quot;
</p>
<p>
This <a>link</a> shouldn't be changed.
</p>
<p>
Some other problematic links: <a>one</a>, <a>two</a>, <a>three</a>.
</p>
<p>
<span class="emphasis"><em>This will be escaped</em></span>
</p>
<p>
\[ generates [. \] generates ].
</p>
</div>
</div>
</body>
</html>

29
test/footnotes-1_7.gold Normal file
View File

@@ -0,0 +1,29 @@
<?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="footnotes" last-revision="DEBUG MODE Date: 2000/12/20 12:00:00 $" xmlns:xi="http://www.w3.org/2001/XInclude">
<title>Footnotes</title>
<section id="footnotes.first">
<title><link linkend="footnotes.first">First Section</link></title>
<para>
Some<footnote id="footnotes.first.f0">
<para>
First footnote
</para>
</footnote> normal<footnote id="footnotes.first.f1">
<para>
Second footnote
</para>
</footnote> footnotes<footnote id="footnotes.first.f2">
<para>
Third footnote
</para>
</footnote>.
</para>
</section>
<section id="footnotes.second">
<title><link linkend="footnotes.second">Second Section</link></title>
<para>
Boostbook<footnote id="f1"><para>Boostbook footnote</para></footnote> footnotes <footnote><para>Footnote without id</para></footnote>.
</para>
</section>
</article>

View File

@@ -0,0 +1,74 @@
<!DOCTYPE html>
<html>
<head></head>
<body>
<h3>
Footnotes
</h3>
<div class="toc">
<p>
<b>Table of contents</b>
</p>
<ul>
<li>
<a href="#footnotes.first">First Section</a>
</li>
<li>
<a href="#footnotes.second">Second Section</a>
</li>
</ul>
</div>
<div id="footnotes.first">
<h3>
First Section
</h3>
<div id="footnotes.first">
<p>
Some<a id="footnotes.first.f0" href="#footnote-1"><sup class="footnote">[1]</sup></a>
normal<a id="footnotes.first.f1" href="#footnote-2"><sup class="footnote">[2]</sup></a>
footnotes<a id="footnotes.first.f2" href="#footnote-3"><sup class="footnote">[3]</sup></a>.
</p>
</div>
</div>
<div id="footnotes.second">
<h3>
Second Section
</h3>
<div id="footnotes.second">
<p>
Boostbook<a id="f1" href="#footnote-4"><sup class="footnote">[4]</sup></a>
footnotes <a id="footnote-6" href="#footnote-5"><sup class="footnote">[5]</sup></a>.
</p>
</div>
</div>
<div class="footnotes">
<br/>
<hr/>
<div id="footnote-1" class="footnote">
<p>
<a href="#footnotes.first.f0"><sup>[1]</sup></a> First footnote
</p>
</div>
<div id="footnote-2" class="footnote">
<p>
<a href="#footnotes.first.f1"><sup>[2]</sup></a> Second footnote
</p>
</div>
<div id="footnote-3" class="footnote">
<p>
<a href="#footnotes.first.f2"><sup>[3]</sup></a> Third footnote
</p>
</div>
<div id="footnote-4" class="footnote">
<p>
<a href="#f1"><sup>[4]</sup></a> Boostbook footnote
</p>
</div>
<div id="footnote-5" class="footnote">
<p>
<a href="#footnote-6"><sup>[5]</sup></a> Footnote without id
</p>
</div>
</div>
</body>
</html>

View File

@@ -0,0 +1,16 @@
[quickbook 1.7]
[article Footnotes]
[section:first First Section]
Some[footnote First footnote] normal[footnote Second footnote] footnotes[footnote Third footnote].
[endsect]
[section:second Second Section]
Some'''<footnote id="f1"><para>Boostbook footnote</para></footnote>'''
boostbook'''<footnote><para>Footnote without id</para></footnote>'''
footnotes'''<footnote><para>Another footnote without an id</para></footnote>'''.
[endsect]

100
test/heading-1_1.gold.html Normal file
View File

@@ -0,0 +1,100 @@
<!DOCTYPE html>
<html>
<head></head>
<body>
<h3>
Heading Test 1.1
</h3>
<div class="toc">
<p>
<b>Table of contents</b>
</p>
<ul>
<li>
<a href="#heading_test_1_1.s1">S1</a>
</li>
</ul>
</div>
<h2 id="heading_test_1_1.generic_header">
Generic header
</h2>
<h1 id=".level_1">
Level 1
</h1>
<h2 id=".level_2">
Level 2
</h2>
<h3 id=".level_3">
Level 3
</h3>
<h4 id=".level_4">
Level 4
</h4>
<h5 id=".level_5">
Level 5
</h5>
<h6 id=".level_6">
Level 6
</h6>
<h1 id="._emphasis_role__bold__bold__emphasis_">
<span class="bold"><strong>Bold</strong></span>
</h1>
<h1 id=".comment">
Comment
</h1>
<h1 id="._notanid">
:notanid
</h1>
<h1 id="._also_not_an_id">
:also not an id
</h1>
<h1 id="._anchor_id__anchor___anchor_heading">
<span id="anchor"></span>Anchor heading
</h1>
<h1 id="._link_linkend__anchor__link_heading__link_">
<a href="#anchor">Link heading</a>
</h1>
<h1 id=".h1">
H1
</h1>
<h1 id="s3.h7">
H7
</h1>
<div id="heading_test_1_1.s1">
<h3>
S1
</h3>
<div id="heading_test_1_1.s1">
<h2 id="s1.h2">
H2
</h2>
<h3 id="heading_test_1_1.s1.h4">
H4
</h3>
<h3 id="heading_test_1_1.s1.h6">
H6
</h3>
</div>
<div id="heading_test_1_1.s2">
<h3>
S2
</h3>
<div id="heading_test_1_1.s2">
<h3 id="s2.h3">
H3
</h3>
</div>
</div>
<div id="heading_test_1_1.s3">
<h3>
S3
</h3>
<div id="heading_test_1_1.s3">
<h3 id="s3.h5">
H5
</h3>
</div>
</div>
</div>
</body>
</html>

View File

@@ -0,0 +1,27 @@
<!DOCTYPE html>
<html>
<head></head>
<body>
<h3>
Header
</h3>
<h2 id="header.header_test">
Header Test
</h2>
<p>
Testing headers without sections.
</p>
<h2 id="header._not_an_id">
:Not an Id
</h2>
<p>
Paragraph.
</p>
<h3 id="header._not_an_id_again">
:Not an Id again
</h3>
<p>
Paragraph.
</p>
</body>
</html>

100
test/heading-1_5.gold.html Normal file
View File

@@ -0,0 +1,100 @@
<!DOCTYPE html>
<html>
<head></head>
<body>
<h3>
Heading Test 1.5
</h3>
<div class="toc">
<p>
<b>Table of contents</b>
</p>
<ul>
<li>
<a href="#heading_test_1_5.s1">S1</a>
</li>
</ul>
</div>
<h2 id="heading_test_1_5.generic_header">
Generic header
</h2>
<h1 id="heading_test_1_5.level_1">
Level 1
</h1>
<h2 id="heading_test_1_5.level_2">
Level 2
</h2>
<h3 id="heading_test_1_5.level_3">
Level 3
</h3>
<h4 id="heading_test_1_5.level_4">
Level 4
</h4>
<h5 id="heading_test_1_5.level_5">
Level 5
</h5>
<h6 id="heading_test_1_5.level_6">
Level 6
</h6>
<h1 id="heading_test_1_5._emphasis_role__bold__bold__emphasis_">
<span class="bold"><strong>Bold</strong></span>
</h1>
<h1 id="heading_test_1_5.comment">
Comment
</h1>
<h1 id="heading_test_1_5._notanid">
:notanid
</h1>
<h1 id="heading_test_1_5._also_not_an_id">
:also not an id
</h1>
<h1 id="heading_test_1_5._anchor_id__anchor___anchor_heading">
<span id="anchor"></span>Anchor heading
</h1>
<h1 id="heading_test_1_5._link_linkend__anchor__link_heading__link_">
<a href="#anchor">Link heading</a>
</h1>
<h2 id="heading_test_1_5.h1">
H1
</h2>
<h1 id="heading_test_1_5.h7">
H7
</h1>
<div id="heading_test_1_5.s1">
<h3>
S1
</h3>
<div id="heading_test_1_5.s1">
<h2 id="heading_test_1_5.s1.h2">
H2
</h2>
<h2 id="heading_test_1_5.s1.h4">
H4
</h2>
<h2 id="heading_test_1_5.s1.h6">
H6
</h2>
</div>
<div id="heading_test_1_5.s1.s2">
<h3>
S2
</h3>
<div id="heading_test_1_5.s1.s2">
<h3 id="heading_test_1_5.s1.s2.h3">
H3
</h3>
</div>
</div>
<div id="heading_test_1_5.s1.s3">
<h3>
S3
</h3>
<div id="heading_test_1_5.s1.s3">
<h4 id="heading_test_1_5.s1.s3.h5">
H5
</h4>
</div>
</div>
</div>
</body>
</html>

139
test/heading-1_6.gold.html Normal file
View File

@@ -0,0 +1,139 @@
<!DOCTYPE html>
<html>
<head></head>
<body>
<h3>
Heading Test 1.6
</h3>
<div class="toc">
<p>
<b>Table of contents</b>
</p>
<ul>
<li>
<a href="#heading_test_1_6.s1">S1</a>
</li>
<li>
<a href="#heading_test_1_6.s1_0">S1</a>
</li>
</ul>
</div>
<h2 id="heading_test_1_6.generic_header">
Generic header
</h2>
<h1 id="heading_test_1_6.level_1">
Level 1
</h1>
<h2 id="heading_test_1_6.level_2">
Level 2
</h2>
<h3 id="heading_test_1_6.level_3">
Level 3
</h3>
<h4 id="heading_test_1_6.level_4">
Level 4
</h4>
<h5 id="heading_test_1_6.level_5">
Level 5
</h5>
<h6 id="heading_test_1_6.level_6">
Level 6
</h6>
<h1 id="heading_test_1_6.bold">
<span class="bold"><strong>Bold</strong></span>
</h1>
<h1 id="heading_test_1_6.comment">
Comment
</h1>
<h1 id="heading_test_1_6.anchor_anchor_heading">
<span id="anchor"></span>Anchor heading
</h1>
<h1 id="heading_test_1_6.link_anchor_link_heading">
<a href="#anchor">Link heading</a>
</h1>
<h1 id="heading_test_1_6.h1">
H1
</h1>
<h1 id="heading_test_1_6.h7">
H7
</h1>
<h1 id="heading_test_1_6.a1">
H1
</h1>
<h1 id="heading_test_1_6.a7">
H7
</h1>
<div id="heading_test_1_6.s1">
<h3>
S1
</h3>
<div id="heading_test_1_6.s1">
<h3 id="heading_test_1_6.s1.h2">
H2
</h3>
<h2 id="heading_test_1_6.s1.h4">
H4
</h2>
<h2 id="heading_test_1_6.s1.h6">
H6
</h2>
</div>
<div id="heading_test_1_6.s1.s2">
<h3>
S2
</h3>
<div id="heading_test_1_6.s1.s2">
<h3 id="heading_test_1_6.s1.s2.h3">
H3
</h3>
</div>
</div>
<div id="heading_test_1_6.s1.s3">
<h3>
S3
</h3>
<div id="heading_test_1_6.s1.s3">
<h4 id="heading_test_1_6.s1.s3.h5">
H5
</h4>
</div>
</div>
</div>
<div id="heading_test_1_6.s1_0">
<h3>
S1
</h3>
<div id="heading_test_1_6.s1_0">
<h2 id="heading_test_1_6.s1_0.a2">
H2
</h2>
<h2 id="heading_test_1_6.s1_0.a4">
H4
</h2>
<h3 id="heading_test_1_6.s1_0.a6">
H6
</h3>
</div>
<div id="heading_test_1_6.s1_0.s2">
<h3>
S2
</h3>
<div id="heading_test_1_6.s1_0.s2">
<h3 id="heading_test_1_6.s1_0.s2.a3">
H3
</h3>
</div>
</div>
<div id="heading_test_1_6.s1_0.s3">
<h3>
S3
</h3>
<div id="heading_test_1_6.s1_0.s3">
<h3 id="heading_test_1_6.s1_0.s3.a5">
H5
</h3>
</div>
</div>
</div>
</body>
</html>

142
test/heading-1_7.gold.html Normal file
View File

@@ -0,0 +1,142 @@
<!DOCTYPE html>
<html>
<head></head>
<body>
<h3>
Heading Test 1.7
</h3>
<div class="toc">
<p>
<b>Table of contents</b>
</p>
<ul>
<li>
<a href="#heading_test_1_7.s1">S1</a>
</li>
<li>
<a href="#heading_test_1_7.s1_0">S1</a>
</li>
</ul>
</div>
<h2 id="heading_test_1_7.generic_header">
Generic header
</h2>
<h1 id="heading_test_1_7.level_1">
Level 1
</h1>
<h2 id="heading_test_1_7.level_2">
Level 2
</h2>
<h3 id="heading_test_1_7.level_3">
Level 3
</h3>
<h4 id="heading_test_1_7.level_4">
Level 4
</h4>
<h5 id="heading_test_1_7.level_5">
Level 5
</h5>
<h6 id="heading_test_1_7.level_6">
Level 6
</h6>
<h1 id="heading_test_1_7.bold">
<span class="bold"><strong>Bold</strong></span>
</h1>
<h1 id="heading_test_1_7.comment">
Comment
</h1>
<h1 id="heading_test_1_7.anchor_anchor_heading">
<span id="anchor"></span>Anchor heading
</h1>
<h1 id="heading_test_1_7.link_anchor_link_heading">
<a href="#anchor">Link heading</a>
</h1>
<h1 id="heading_test_1_7.h1">
H1
</h1>
<h1 id="heading_test_1_7.h7">
H7
</h1>
<h1 id="heading_test_1_7.a1">
H1
</h1>
<h1 id="heading_test_1_7.a7">
H7
</h1>
<h2 id="heading_test_1_7.abc-2">
Template Id
</h2>
<div id="heading_test_1_7.s1">
<h3>
S1
</h3>
<div id="heading_test_1_7.s1">
<h3 id="heading_test_1_7.s1.h2">
H2
</h3>
<h2 id="heading_test_1_7.s1.h4">
H4
</h2>
<h2 id="heading_test_1_7.s1.h6">
H6
</h2>
</div>
<div id="heading_test_1_7.s1.s2">
<h3>
S2
</h3>
<div id="heading_test_1_7.s1.s2">
<h3 id="heading_test_1_7.s1.s2.h3">
H3
</h3>
</div>
</div>
<div id="heading_test_1_7.s1.s3">
<h3>
S3
</h3>
<div id="heading_test_1_7.s1.s3">
<h4 id="heading_test_1_7.s1.s3.h5">
H5
</h4>
</div>
</div>
</div>
<div id="heading_test_1_7.s1_0">
<h3>
S1
</h3>
<div id="heading_test_1_7.s1_0">
<h2 id="heading_test_1_7.s1_0.a2">
H2
</h2>
<h2 id="heading_test_1_7.s1_0.a4">
H4
</h2>
<h3 id="heading_test_1_7.s1_0.a6">
H6
</h3>
</div>
<div id="heading_test_1_7.s1_0.s2">
<h3>
S2
</h3>
<div id="heading_test_1_7.s1_0.s2">
<h3 id="heading_test_1_7.s1_0.s2.a3">
H3
</h3>
</div>
</div>
<div id="heading_test_1_7.s1_0.s3">
<h3>
S3
</h3>
<div id="heading_test_1_7.s1_0.s3">
<h3 id="heading_test_1_7.s1_0.s3.a5">
H5
</h3>
</div>
</div>
</div>
</body>
</html>

45
test/hr-1_5.gold.html Normal file
View File

@@ -0,0 +1,45 @@
<!DOCTYPE html>
<html>
<head></head>
<body>
<h3>
Horizontal Rule
</h3>
<p>
</p>
<p>
This should be displayed.
</p>
<p>
</p>
<p>
</p>
<p>
* This shouldn't be a list
</p>
<p>
</p>
<ul>
<li>
<div>
This should be a list
</div>
</li>
</ul>
<p>
</p>
<ul>
<li>
<div>
This should be a list
</div>
</li>
</ul>
<p>
</p>
<p>
</p>
<p>
</p>
</body>
</html>

49
test/hr-1_6.gold.html Normal file
View File

@@ -0,0 +1,49 @@
<!DOCTYPE html>
<html>
<head></head>
<body>
<h3>
Horizontal Rule
</h3>
<p>
</p>
<p>
This should be displayed.
</p>
<p>
</p>
<p>
</p>
<p>
* This shouldn't be a list
</p>
<p>
</p>
<ul>
<li>
<div>
This should be a list
</div>
</li>
</ul>
<p>
</p>
<ul>
<li>
<div>
This should be a list
</div>
</li>
</ul>
<p>
</p>
<p>
<span class="bold"><strong>This should be displayed. Maybe that's wrong?</strong></span>
</p>
<p>
</p>
<p>
Odd way to get text displayed.
</p>
</body>
</html>

49
test/html/index.html Normal file
View File

@@ -0,0 +1,49 @@
<!DOCTYPE html>
<html>
<head></head>
<body>
<h3>
Test that &amp;, &lt; are being escaped.
</h3>
<div class="toc">
<p>
<b>Table of contents</b>
</p>
<ul>
<li>
<a href="#test_that__amp____lt__are_being_escaped_.escapes___explicitly_written_markup">Escapes
&amp; explicitly written markup</a>
</li>
</ul>
</div>
<div id="test_that__amp____lt__are_being_escaped_.escapes___explicitly_written_markup">
<h3>
Escapes &amp; explicitly written markup
</h3>
<div id="test_that__amp____lt__are_being_escaped_.escapes___explicitly_written_markup">
<ul>
<li>
<div>
&amp; -&gt; &amp;amp;
</div>
</li>
<li>
<div>
&lt; -&gt; &amp;lt;
</div>
</li>
<li>
<div>
&gt; -&gt; &amp;gt;
</div>
</li>
<li>
<div>
&quot; -&gt; &amp;quot;
</div>
</li>
</ul>
</div>
</div>
</body>
</html>

View File

@@ -0,0 +1,421 @@
<!DOCTYPE html>
<html>
<head></head>
<body>
<h3>
Identifiers in quickbook 1.5
</h3>
<div class="toc">
<p>
<b>Table of contents</b>
</p>
<ul>
<li>
<a href="#identifiers_in_quickbook_1_5.identifier_10">Identifier 10</a>
</li>
<li>
<a href="#identifiers_in_quickbook_1_5.punctuation___stuff">Punctuation
&amp; stuff</a>
</li>
</ul>
</div>
<h2 id="identifiers_in_quickbook_1_5.test_heading_with__code__phrase_role__identifier__code__phrase___code_">
Test heading with <code><span class="identifier">code</span></code>
</h2>
<h2 id="identifiers_in_quickbook_1_5.identifier_10_0">
Identifier 10
</h2>
<h2 id="identifiers_in_quickbook_1_5.identifier_10_1">
Identifier 10
</h2>
<div id="identifiers_in_quickbook_1_5.identifier_10_2" class="table">
<table>
<caption>Identifier 10</caption>
<tbody>
<tr>
<td>
</td>
</tr>
</tbody>
</table>
</div>
<h2 id="identifiers_in_quickbook_1_5.generate_a_really_long_id_and_duplicate_it_by_having_several_headers">
Generate a really long id and duplicate it by having several headers
</h2>
<h2 id="identifiers_in_quickbook_1_5.generate_a_really_long_id_and_d0">
Generate a really long id and duplicate it by having several headers
</h2>
<h2 id="identifiers_in_quickbook_1_5.generate_a_really_long_id_and_duplicate_it_by_having_lots_of_headers">
Generate a really long id and duplicate it by having lots of headers
</h2>
<h2 id="identifiers_in_quickbook_1_5.generate_a_really_long_id_and_d1">
Generate a really long id and duplicate it by having lots of headers
</h2>
<h2 id="identifiers_in_quickbook_1_5.generate_a_really_long_id_and_d2">
Generate a really long id and duplicate it by having lots of headers
</h2>
<h2 id="identifiers_in_quickbook_1_5.generate_a_really_long_id_and_d3">
Generate a really long id and duplicate it by having several headers
</h2>
<h2 id="identifiers_in_quickbook_1_5.generate_a_really_long_id_and_d5">
Generate a really long id and duplicate it by having several headers
</h2>
<h2 id="identifiers_in_quickbook_1_5.generate_a_really_long_id_and_d6">
Generate a really long id and duplicate it by having several headers
</h2>
<h2 id="identifiers_in_quickbook_1_5.generate_a_really_long_id_and_d7">
Generate a really long id and duplicate it by having several headers
</h2>
<h2 id="identifiers_in_quickbook_1_5.generate_a_really_long_id_and_duplicate_it_by_having_too_many_headers">
Generate a really long id and duplicate it by having too many headers
</h2>
<h2 id="identifiers_in_quickbook_1_5.generate_a_really_long_id_and_d8">
Generate a really long id and duplicate it by having too many headers
</h2>
<h2 id="identifiers_in_quickbook_1_5.generate_a_really_long_id_and_d9">
Generate a really long id and duplicate it by having too many headers
</h2>
<h2 id="identifiers_in_quickbook_1_5.generate_a_really_long_id_and_0">
Generate a really long id and duplicate it by having too many headers
</h2>
<h2 id="identifiers_in_quickbook_1_5.generate_a_really_long_id_and_1">
Generate a really long id and duplicate it by having too many headers
</h2>
<h2 id="identifiers_in_quickbook_1_5.generate_a_really_long_id_and_2">
Generate a really long id and duplicate it by having too many headers
</h2>
<h2 id="identifiers_in_quickbook_1_5.generate_a_really_long_id_and_3">
Generate a really long id and duplicate it by having too many headers
</h2>
<h2 id="identifiers_in_quickbook_1_5.generate_a_really_long_id_and_4">
Generate a really long id and duplicate it by having too many headers
</h2>
<h2 id="identifiers_in_quickbook_1_5.generate_a_really_long_id_and_5">
Generate a really long id and duplicate it by having too many headers
</h2>
<h2 id="identifiers_in_quickbook_1_5.generate_a_really_long_id_and_6">
Generate a really long id and duplicate it by having too many headers
</h2>
<h2 id="identifiers_in_quickbook_1_5.generate_a_really_long_id_and_7">
Generate a really long id and duplicate it by having too many headers
</h2>
<h2 id="identifiers_in_quickbook_1_5.generate_a_really_long_id_and_8">
Generate a really long id and duplicate it by having too many headers
</h2>
<h2 id="identifiers_in_quickbook_1_5.generate_a_really_long_id_and_9">
Generate a really long id and duplicate it by having too many headers
</h2>
<h2 id="identifiers_in_quickbook_1_5.generate_a_really_long_id_and_10">
Generate a really long id and duplicate it by having too many headers
</h2>
<h2 id="identifiers_in_quickbook_1_5.generate_a_really_long_id_and_11">
Generate a really long id and duplicate it by having too many headers
</h2>
<h2 id="identifiers_in_quickbook_1_5.generate_a_really_long_id_and_12">
Generate a really long id and duplicate it by having too many headers
</h2>
<h2 id="identifiers_in_quickbook_1_5.generate_a_really_long_id_and_13">
Generate a really long id and duplicate it by having too many headers
</h2>
<h2 id="identifiers_in_quickbook_1_5.generate_a_really_long_id_and_14">
Generate a really long id and duplicate it by having too many headers
</h2>
<h2 id="identifiers_in_quickbook_1_5.generate_a_really_long_id_and_16">
Generate a really long id and duplicate it by having too many headers
</h2>
<h2 id="identifiers_in_quickbook_1_5.generate_a_really_long_id_and_17">
Generate a really long id and duplicate it by having too many headers
</h2>
<h2 id="identifiers_in_quickbook_1_5.generate_a_really_long_id_and_18">
Generate a really long id and duplicate it by having too many headers
</h2>
<h2 id="identifiers_in_quickbook_1_5.generate_a_really_long_id_and_19">
Generate a really long id and duplicate it by having several headers
</h2>
<h2 id="identifiers_in_quickbook_1_5.generate_a_really_long_id_and_20">
Generate a really long id and duplicate it by having several headers
</h2>
<h2 id="identifiers_in_quickbook_1_5.generate_a_really_long_id_and_21">
Generate a really long id and duplicate it by having several headers
</h2>
<h2 id="identifiers_in_quickbook_1_5.generate_a_really_long_id_and_22">
Generate a really long id and duplicate it by having several headers
</h2>
<h2 id="identifiers_in_quickbook_1_5.generate_a_really_long_id_and_23">
Generate a really long id and duplicate it by having several headers
</h2>
<h2 id="identifiers_in_quickbook_1_5.generate_a_really_long_id_and_24">
Generate a really long id and duplicate it by having several headers
</h2>
<h2 id="identifiers_in_quickbook_1_5.generate_a_really_long_id_and_25">
Generate a really long id and duplicate it by having several headers
</h2>
<h2 id="identifiers_in_quickbook_1_5.generate_a_really_long_id_and_26">
Generate a really long id and duplicate it by having several headers
</h2>
<h2 id="identifiers_in_quickbook_1_5.generate_a_really_long_id_and_duplicate_it_by_having_even_more_headers">
Generate a really long id and duplicate it by having even more headers
</h2>
<h2 id="identifiers_in_quickbook_1_5.generate_a_really_long_id_and_27">
Generate a really long id and duplicate it by having even more headers
</h2>
<h2 id="identifiers_in_quickbook_1_5.generate_a_really_long_id_and_28">
Generate a really long id and duplicate it by having even more headers
</h2>
<h2 id="identifiers_in_quickbook_1_5.generate_a_really_long_id_and_29">
Generate a really long id and duplicate it by having several headers
</h2>
<h2 id="identifiers_in_quickbook_1_5.generate_a_really_long_id_and_d4">
Generate a really long id and d4
</h2>
<h2 id="identifiers_in_quickbook_1_5.generate_a_really_long_id_and_15">
Generate a really long id and 15
</h2>
<h2 id="identifiers_in_quickbook_1_5.generate_a_really_long_id_and_30">
Generate a really long id and d4
</h2>
<h2 id="identifiers_in_quickbook_1_5.generate_a_really_long_id_and_31">
Generate a really long id and 15
</h2>
<h2 id="identifiers_in_quickbook_1_5.a2345678901234567890123456789012">
a2345678901234567890123456789012
</h2>
<h2 id="identifiers_in_quickbook_1_5.a0">
a2345678901234567890123456789012
</h2>
<h2 id="identifiers_in_quickbook_1_5.abcdefghijklmnopqrstuvwxyzabcdef">
abcdefghijklmnopqrstuvwxyzabcdef
</h2>
<h2 id="identifiers_in_quickbook_1_5.abcdefghijklmnopqrstuvwxyzabcde0">
abcdefghijklmnopqrstuvwxyzabcdef
</h2>
<h2 id="identifiers_in_quickbook_1_5.abcdefghijklmnopqrstuvwxyzabcde1">
abcdefghijklmnopqrstuvwxyzabcdef
</h2>
<h2 id="identifiers_in_quickbook_1_5.abcdefghijklmnopqrstuvwxyzabcde2">
abcdefghijklmnopqrstuvwxyzabcdef
</h2>
<h2 id="identifiers_in_quickbook_1_5.markup_in__code__phrase_role__identifier__heading__phrase___code___in__emphasis_role__bold__order__emphasis__to_test_normalization">
Markup in <code><span class="identifier">heading</span></code> in <span class="bold"><strong>order</strong></span>
to test normalization
</h2>
<h2 id="identifiers_in_quickbook_1_5.markup_in_code_phrase_role_iden0">
Markup in <code><span class="identifier">heading</span></code> in <span class="bold"><strong>order</strong></span>
to test normalization
</h2>
<h2 id="identifiers_in_quickbook_1_5.markup_in_code_phrase_role_iden1">
Markup in <code><span class="identifier">heading</span></code> in <span class="bold"><strong>order</strong></span>
to test normalization
</h2>
<div id="identifiers_in_quickbook_1_5.identifier_10">
<h3>
Identifier 10
</h3>
<div id="identifiers_in_quickbook_1_5.identifier_10">
<h3 id="identifiers_in_quickbook_1_5.identifier_10.generate_a_really_long_id_and_duplicate_it_by_having_several_headers">
Generate a really long id and duplicate it by having several headers
</h3>
<h3 id="identifiers_in_quickbook_1_5.identifier_10.generate_a_really_long_id_and_d0">
Generate a really long id and duplicate it by having several headers
</h3>
<h3 id="identifiers_in_quickbook_1_5.identifier_10.generate_a_really_long_id_and_duplicate_it_by_having_lots_of_headers">
Generate a really long id and duplicate it by having lots of headers
</h3>
<h3 id="identifiers_in_quickbook_1_5.identifier_10.generate_a_really_long_id_and_d1">
Generate a really long id and duplicate it by having lots of headers
</h3>
<h3 id="identifiers_in_quickbook_1_5.identifier_10.generate_a_really_long_id_and_d2">
Generate a really long id and duplicate it by having lots of headers
</h3>
<h3 id="identifiers_in_quickbook_1_5.identifier_10.generate_a_really_long_id_and_d3">
Generate a really long id and duplicate it by having several headers
</h3>
<h3 id="identifiers_in_quickbook_1_5.identifier_10.generate_a_really_long_id_and_d5">
Generate a really long id and duplicate it by having several headers
</h3>
<h3 id="identifiers_in_quickbook_1_5.identifier_10.generate_a_really_long_id_and_d6">
Generate a really long id and duplicate it by having several headers
</h3>
<h3 id="identifiers_in_quickbook_1_5.identifier_10.generate_a_really_long_id_and_d7">
Generate a really long id and duplicate it by having several headers
</h3>
<h3 id="identifiers_in_quickbook_1_5.identifier_10.generate_a_really_long_id_and_duplicate_it_by_having_too_many_headers">
Generate a really long id and duplicate it by having too many headers
</h3>
<h3 id="identifiers_in_quickbook_1_5.identifier_10.generate_a_really_long_id_and_d8">
Generate a really long id and duplicate it by having too many headers
</h3>
<h3 id="identifiers_in_quickbook_1_5.identifier_10.generate_a_really_long_id_and_d9">
Generate a really long id and duplicate it by having too many headers
</h3>
<h3 id="identifiers_in_quickbook_1_5.identifier_10.generate_a_really_long_id_and_0">
Generate a really long id and duplicate it by having too many headers
</h3>
<h3 id="identifiers_in_quickbook_1_5.identifier_10.generate_a_really_long_id_and_1">
Generate a really long id and duplicate it by having too many headers
</h3>
<h3 id="identifiers_in_quickbook_1_5.identifier_10.generate_a_really_long_id_and_2">
Generate a really long id and duplicate it by having too many headers
</h3>
<h3 id="identifiers_in_quickbook_1_5.identifier_10.generate_a_really_long_id_and_3">
Generate a really long id and duplicate it by having too many headers
</h3>
<h3 id="identifiers_in_quickbook_1_5.identifier_10.generate_a_really_long_id_and_4">
Generate a really long id and duplicate it by having too many headers
</h3>
<h3 id="identifiers_in_quickbook_1_5.identifier_10.generate_a_really_long_id_and_5">
Generate a really long id and duplicate it by having too many headers
</h3>
<h3 id="identifiers_in_quickbook_1_5.identifier_10.generate_a_really_long_id_and_6">
Generate a really long id and duplicate it by having too many headers
</h3>
<h3 id="identifiers_in_quickbook_1_5.identifier_10.generate_a_really_long_id_and_7">
Generate a really long id and duplicate it by having too many headers
</h3>
<h3 id="identifiers_in_quickbook_1_5.identifier_10.generate_a_really_long_id_and_8">
Generate a really long id and duplicate it by having too many headers
</h3>
<h3 id="identifiers_in_quickbook_1_5.identifier_10.generate_a_really_long_id_and_9">
Generate a really long id and duplicate it by having too many headers
</h3>
<h3 id="identifiers_in_quickbook_1_5.identifier_10.generate_a_really_long_id_and_10">
Generate a really long id and duplicate it by having too many headers
</h3>
<h3 id="identifiers_in_quickbook_1_5.identifier_10.generate_a_really_long_id_and_11">
Generate a really long id and duplicate it by having too many headers
</h3>
<h3 id="identifiers_in_quickbook_1_5.identifier_10.generate_a_really_long_id_and_12">
Generate a really long id and duplicate it by having too many headers
</h3>
<h3 id="identifiers_in_quickbook_1_5.identifier_10.generate_a_really_long_id_and_13">
Generate a really long id and duplicate it by having too many headers
</h3>
<h3 id="identifiers_in_quickbook_1_5.identifier_10.generate_a_really_long_id_and_14">
Generate a really long id and duplicate it by having too many headers
</h3>
<h3 id="identifiers_in_quickbook_1_5.identifier_10.generate_a_really_long_id_and_16">
Generate a really long id and duplicate it by having too many headers
</h3>
<h3 id="identifiers_in_quickbook_1_5.identifier_10.generate_a_really_long_id_and_17">
Generate a really long id and duplicate it by having too many headers
</h3>
<h3 id="identifiers_in_quickbook_1_5.identifier_10.generate_a_really_long_id_and_18">
Generate a really long id and duplicate it by having too many headers
</h3>
<h3 id="identifiers_in_quickbook_1_5.identifier_10.generate_a_really_long_id_and_19">
Generate a really long id and duplicate it by having several headers
</h3>
<h3 id="identifiers_in_quickbook_1_5.identifier_10.generate_a_really_long_id_and_20">
Generate a really long id and duplicate it by having several headers
</h3>
<h3 id="identifiers_in_quickbook_1_5.identifier_10.generate_a_really_long_id_and_21">
Generate a really long id and duplicate it by having several headers
</h3>
<h3 id="identifiers_in_quickbook_1_5.identifier_10.generate_a_really_long_id_and_22">
Generate a really long id and duplicate it by having several headers
</h3>
<h3 id="identifiers_in_quickbook_1_5.identifier_10.generate_a_really_long_id_and_23">
Generate a really long id and duplicate it by having several headers
</h3>
<h3 id="identifiers_in_quickbook_1_5.identifier_10.generate_a_really_long_id_and_24">
Generate a really long id and duplicate it by having several headers
</h3>
<h3 id="identifiers_in_quickbook_1_5.identifier_10.generate_a_really_long_id_and_25">
Generate a really long id and duplicate it by having several headers
</h3>
<h3 id="identifiers_in_quickbook_1_5.identifier_10.generate_a_really_long_id_and_26">
Generate a really long id and duplicate it by having several headers
</h3>
<h3 id="identifiers_in_quickbook_1_5.identifier_10.generate_a_really_long_id_and_duplicate_it_by_having_even_more_headers">
Generate a really long id and duplicate it by having even more headers
</h3>
<h3 id="identifiers_in_quickbook_1_5.identifier_10.generate_a_really_long_id_and_27">
Generate a really long id and duplicate it by having even more headers
</h3>
<h3 id="identifiers_in_quickbook_1_5.identifier_10.generate_a_really_long_id_and_28">
Generate a really long id and duplicate it by having even more headers
</h3>
<h3 id="identifiers_in_quickbook_1_5.identifier_10.generate_a_really_long_id_and_29">
Generate a really long id and duplicate it by having several headers
</h3>
<h3 id="identifiers_in_quickbook_1_5.identifier_10.generate_a_really_long_id_and_d4">
Generate a really long id and d4
</h3>
<h3 id="identifiers_in_quickbook_1_5.identifier_10.generate_a_really_long_id_and_15">
Generate a really long id and 15
</h3>
<h3 id="identifiers_in_quickbook_1_5.identifier_10.generate_a_really_long_id_and_30">
Generate a really long id and d4
</h3>
<h3 id="identifiers_in_quickbook_1_5.identifier_10.generate_a_really_long_id_and_31">
Generate a really long id and 15
</h3>
<h3 id="identifiers_in_quickbook_1_5.identifier_10.a2345678901234567890123456789012">
a2345678901234567890123456789012
</h3>
<h3 id="identifiers_in_quickbook_1_5.identifier_10.a0">
a2345678901234567890123456789012
</h3>
<h3 id="identifiers_in_quickbook_1_5.identifier_10.abcdefghijklmnopqrstuvwxyzabcdef">
abcdefghijklmnopqrstuvwxyzabcdef
</h3>
<h3 id="identifiers_in_quickbook_1_5.identifier_10.abcdefghijklmnopqrstuvwxyzabcde0">
abcdefghijklmnopqrstuvwxyzabcdef
</h3>
<h3 id="identifiers_in_quickbook_1_5.identifier_10.abcdefghijklmnopqrstuvwxyzabcde1">
abcdefghijklmnopqrstuvwxyzabcdef
</h3>
<h3 id="identifiers_in_quickbook_1_5.identifier_10.abcdefghijklmnopqrstuvwxyzabcde2">
abcdefghijklmnopqrstuvwxyzabcdef
</h3>
<h3 id="identifiers_in_quickbook_1_5.identifier_10.markup_in__code__phrase_role__identifier__heading__phrase___code___in__emphasis_role__bold__order__emphasis__to_test_normalization">
Markup in <code><span class="identifier">heading</span></code> in <span
class="bold"><strong>order</strong></span> to test normalization
</h3>
<h3 id="identifiers_in_quickbook_1_5.identifier_10.markup_in_code_phrase_role_iden0">
Markup in <code><span class="identifier">heading</span></code> in <span
class="bold"><strong>order</strong></span> to test normalization
</h3>
<h3 id="identifiers_in_quickbook_1_5.identifier_10.markup_in_code_phrase_role_iden1">
Markup in <code><span class="identifier">heading</span></code> in <span
class="bold"><strong>order</strong></span> to test normalization
</h3>
<div id="identifiers_in_quickbook_1_5.identifier_10.h3" class="table">
<table>
<caption>h3</caption>
<tbody>
<tr>
<td>
</td>
</tr>
</tbody>
</table>
</div>
<div id="identifiers_in_quickbook_1_5.identifier_10.h3_0" class="table">
<table>
<caption>h3</caption>
<tbody>
<tr>
<td>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div id="identifiers_in_quickbook_1_5.punctuation___stuff">
<h3>
Punctuation &amp; stuff
</h3>
<div id="identifiers_in_quickbook_1_5.punctuation___stuff">
<h3 id="identifiers_in_quickbook_1_5.punctuation___stuff.a___b">
A + B
</h3>
<h3 id="identifiers_in_quickbook_1_5.punctuation___stuff.a_b0">
A + B
</h3>
</div>
</div>
</body>
</html>

View File

@@ -0,0 +1,421 @@
<!DOCTYPE html>
<html>
<head></head>
<body>
<h3>
Identifiers in quickbook 1.6
</h3>
<div class="toc">
<p>
<b>Table of contents</b>
</p>
<ul>
<li>
<a href="#identifiers_in_quickbook_1_6.identifier_10">Identifier 10</a>
</li>
<li>
<a href="#identifiers_in_quickbook_1_6.punctuation_stuff">Punctuation &amp;
stuff</a>
</li>
</ul>
</div>
<h2 id="identifiers_in_quickbook_1_6.test_heading_with_code">
Test heading with <code><span class="identifier">code</span></code>
</h2>
<h2 id="identifiers_in_quickbook_1_6.identifier_10_0">
Identifier 10
</h2>
<h2 id="identifiers_in_quickbook_1_6.identifier_10_1">
Identifier 10
</h2>
<div id="identifiers_in_quickbook_1_6.identifier_10_2" class="table">
<table>
<caption>Identifier 10</caption>
<tbody>
<tr>
<td>
</td>
</tr>
</tbody>
</table>
</div>
<h2 id="identifiers_in_quickbook_1_6.generate_a_really_long_id_and_du">
Generate a really long id and duplicate it by having several headers
</h2>
<h2 id="identifiers_in_quickbook_1_6.generate_a_really_long_id_and_d0">
Generate a really long id and duplicate it by having several headers
</h2>
<h2 id="identifiers_in_quickbook_1_6.generate_a_really_long_id_and_d1">
Generate a really long id and duplicate it by having lots of headers
</h2>
<h2 id="identifiers_in_quickbook_1_6.generate_a_really_long_id_and_d2">
Generate a really long id and duplicate it by having lots of headers
</h2>
<h2 id="identifiers_in_quickbook_1_6.generate_a_really_long_id_and_d3">
Generate a really long id and duplicate it by having lots of headers
</h2>
<h2 id="identifiers_in_quickbook_1_6.generate_a_really_long_id_and_d5">
Generate a really long id and duplicate it by having several headers
</h2>
<h2 id="identifiers_in_quickbook_1_6.generate_a_really_long_id_and_d6">
Generate a really long id and duplicate it by having several headers
</h2>
<h2 id="identifiers_in_quickbook_1_6.generate_a_really_long_id_and_d7">
Generate a really long id and duplicate it by having several headers
</h2>
<h2 id="identifiers_in_quickbook_1_6.generate_a_really_long_id_and_d8">
Generate a really long id and duplicate it by having several headers
</h2>
<h2 id="identifiers_in_quickbook_1_6.generate_a_really_long_id_and_d9">
Generate a really long id and duplicate it by having too many headers
</h2>
<h2 id="identifiers_in_quickbook_1_6.generate_a_really_long_id_and_0">
Generate a really long id and duplicate it by having too many headers
</h2>
<h2 id="identifiers_in_quickbook_1_6.generate_a_really_long_id_and_1">
Generate a really long id and duplicate it by having too many headers
</h2>
<h2 id="identifiers_in_quickbook_1_6.generate_a_really_long_id_and_2">
Generate a really long id and duplicate it by having too many headers
</h2>
<h2 id="identifiers_in_quickbook_1_6.generate_a_really_long_id_and_3">
Generate a really long id and duplicate it by having too many headers
</h2>
<h2 id="identifiers_in_quickbook_1_6.generate_a_really_long_id_and_4">
Generate a really long id and duplicate it by having too many headers
</h2>
<h2 id="identifiers_in_quickbook_1_6.generate_a_really_long_id_and_5">
Generate a really long id and duplicate it by having too many headers
</h2>
<h2 id="identifiers_in_quickbook_1_6.generate_a_really_long_id_and_6">
Generate a really long id and duplicate it by having too many headers
</h2>
<h2 id="identifiers_in_quickbook_1_6.generate_a_really_long_id_and_7">
Generate a really long id and duplicate it by having too many headers
</h2>
<h2 id="identifiers_in_quickbook_1_6.generate_a_really_long_id_and_8">
Generate a really long id and duplicate it by having too many headers
</h2>
<h2 id="identifiers_in_quickbook_1_6.generate_a_really_long_id_and_9">
Generate a really long id and duplicate it by having too many headers
</h2>
<h2 id="identifiers_in_quickbook_1_6.generate_a_really_long_id_and_10">
Generate a really long id and duplicate it by having too many headers
</h2>
<h2 id="identifiers_in_quickbook_1_6.generate_a_really_long_id_and_11">
Generate a really long id and duplicate it by having too many headers
</h2>
<h2 id="identifiers_in_quickbook_1_6.generate_a_really_long_id_and_12">
Generate a really long id and duplicate it by having too many headers
</h2>
<h2 id="identifiers_in_quickbook_1_6.generate_a_really_long_id_and_13">
Generate a really long id and duplicate it by having too many headers
</h2>
<h2 id="identifiers_in_quickbook_1_6.generate_a_really_long_id_and_14">
Generate a really long id and duplicate it by having too many headers
</h2>
<h2 id="identifiers_in_quickbook_1_6.generate_a_really_long_id_and_16">
Generate a really long id and duplicate it by having too many headers
</h2>
<h2 id="identifiers_in_quickbook_1_6.generate_a_really_long_id_and_17">
Generate a really long id and duplicate it by having too many headers
</h2>
<h2 id="identifiers_in_quickbook_1_6.generate_a_really_long_id_and_18">
Generate a really long id and duplicate it by having too many headers
</h2>
<h2 id="identifiers_in_quickbook_1_6.generate_a_really_long_id_and_19">
Generate a really long id and duplicate it by having too many headers
</h2>
<h2 id="identifiers_in_quickbook_1_6.generate_a_really_long_id_and_20">
Generate a really long id and duplicate it by having too many headers
</h2>
<h2 id="identifiers_in_quickbook_1_6.generate_a_really_long_id_and_21">
Generate a really long id and duplicate it by having several headers
</h2>
<h2 id="identifiers_in_quickbook_1_6.generate_a_really_long_id_and_22">
Generate a really long id and duplicate it by having several headers
</h2>
<h2 id="identifiers_in_quickbook_1_6.generate_a_really_long_id_and_23">
Generate a really long id and duplicate it by having several headers
</h2>
<h2 id="identifiers_in_quickbook_1_6.generate_a_really_long_id_and_24">
Generate a really long id and duplicate it by having several headers
</h2>
<h2 id="identifiers_in_quickbook_1_6.generate_a_really_long_id_and_25">
Generate a really long id and duplicate it by having several headers
</h2>
<h2 id="identifiers_in_quickbook_1_6.generate_a_really_long_id_and_26">
Generate a really long id and duplicate it by having several headers
</h2>
<h2 id="identifiers_in_quickbook_1_6.generate_a_really_long_id_and_27">
Generate a really long id and duplicate it by having several headers
</h2>
<h2 id="identifiers_in_quickbook_1_6.generate_a_really_long_id_and_28">
Generate a really long id and duplicate it by having several headers
</h2>
<h2 id="identifiers_in_quickbook_1_6.generate_a_really_long_id_and_29">
Generate a really long id and duplicate it by having even more headers
</h2>
<h2 id="identifiers_in_quickbook_1_6.generate_a_really_long_id_and_30">
Generate a really long id and duplicate it by having even more headers
</h2>
<h2 id="identifiers_in_quickbook_1_6.generate_a_really_long_id_and_31">
Generate a really long id and duplicate it by having even more headers
</h2>
<h2 id="identifiers_in_quickbook_1_6.generate_a_really_long_id_and_32">
Generate a really long id and duplicate it by having several headers
</h2>
<h2 id="identifiers_in_quickbook_1_6.generate_a_really_long_id_and_d4">
Generate a really long id and d4
</h2>
<h2 id="identifiers_in_quickbook_1_6.generate_a_really_long_id_and_15">
Generate a really long id and 15
</h2>
<h2 id="identifiers_in_quickbook_1_6.generate_a_really_long_id_and_33">
Generate a really long id and d4
</h2>
<h2 id="identifiers_in_quickbook_1_6.generate_a_really_long_id_and_34">
Generate a really long id and 15
</h2>
<h2 id="identifiers_in_quickbook_1_6.a2345678901234567890123456789012">
a2345678901234567890123456789012
</h2>
<h2 id="identifiers_in_quickbook_1_6.a0">
a2345678901234567890123456789012
</h2>
<h2 id="identifiers_in_quickbook_1_6.abcdefghijklmnopqrstuvwxyzabcdef">
abcdefghijklmnopqrstuvwxyzabcdef
</h2>
<h2 id="identifiers_in_quickbook_1_6.abcdefghijklmnopqrstuvwxyzabcde0">
abcdefghijklmnopqrstuvwxyzabcdef
</h2>
<h2 id="identifiers_in_quickbook_1_6.abcdefghijklmnopqrstuvwxyzabcde1">
abcdefghijklmnopqrstuvwxyzabcdef
</h2>
<h2 id="identifiers_in_quickbook_1_6.abcdefghijklmnopqrstuvwxyzabcde2">
abcdefghijklmnopqrstuvwxyzabcdef
</h2>
<h2 id="identifiers_in_quickbook_1_6.markup_in_heading_in_order_to_te">
Markup in <code><span class="identifier">heading</span></code> in <span class="bold"><strong>order</strong></span>
to test normalization
</h2>
<h2 id="identifiers_in_quickbook_1_6.markup_in_heading_in_order_to_t0">
Markup in <code><span class="identifier">heading</span></code> in <span class="bold"><strong>order</strong></span>
to test normalization
</h2>
<h2 id="identifiers_in_quickbook_1_6.markup_in_heading_in_order_to_t1">
Markup in <code><span class="identifier">heading</span></code> in <span class="bold"><strong>order</strong></span>
to test normalization
</h2>
<div id="identifiers_in_quickbook_1_6.identifier_10">
<h3>
Identifier 10
</h3>
<div id="identifiers_in_quickbook_1_6.identifier_10">
<h3 id="identifiers_in_quickbook_1_6.identifier_10.generate_a_really_long_id_and_du">
Generate a really long id and duplicate it by having several headers
</h3>
<h3 id="identifiers_in_quickbook_1_6.identifier_10.generate_a_really_long_id_and_d0">
Generate a really long id and duplicate it by having several headers
</h3>
<h3 id="identifiers_in_quickbook_1_6.identifier_10.generate_a_really_long_id_and_d1">
Generate a really long id and duplicate it by having lots of headers
</h3>
<h3 id="identifiers_in_quickbook_1_6.identifier_10.generate_a_really_long_id_and_d2">
Generate a really long id and duplicate it by having lots of headers
</h3>
<h3 id="identifiers_in_quickbook_1_6.identifier_10.generate_a_really_long_id_and_d3">
Generate a really long id and duplicate it by having lots of headers
</h3>
<h3 id="identifiers_in_quickbook_1_6.identifier_10.generate_a_really_long_id_and_d5">
Generate a really long id and duplicate it by having several headers
</h3>
<h3 id="identifiers_in_quickbook_1_6.identifier_10.generate_a_really_long_id_and_d6">
Generate a really long id and duplicate it by having several headers
</h3>
<h3 id="identifiers_in_quickbook_1_6.identifier_10.generate_a_really_long_id_and_d7">
Generate a really long id and duplicate it by having several headers
</h3>
<h3 id="identifiers_in_quickbook_1_6.identifier_10.generate_a_really_long_id_and_d8">
Generate a really long id and duplicate it by having several headers
</h3>
<h3 id="identifiers_in_quickbook_1_6.identifier_10.generate_a_really_long_id_and_d9">
Generate a really long id and duplicate it by having too many headers
</h3>
<h3 id="identifiers_in_quickbook_1_6.identifier_10.generate_a_really_long_id_and_0">
Generate a really long id and duplicate it by having too many headers
</h3>
<h3 id="identifiers_in_quickbook_1_6.identifier_10.generate_a_really_long_id_and_1">
Generate a really long id and duplicate it by having too many headers
</h3>
<h3 id="identifiers_in_quickbook_1_6.identifier_10.generate_a_really_long_id_and_2">
Generate a really long id and duplicate it by having too many headers
</h3>
<h3 id="identifiers_in_quickbook_1_6.identifier_10.generate_a_really_long_id_and_3">
Generate a really long id and duplicate it by having too many headers
</h3>
<h3 id="identifiers_in_quickbook_1_6.identifier_10.generate_a_really_long_id_and_4">
Generate a really long id and duplicate it by having too many headers
</h3>
<h3 id="identifiers_in_quickbook_1_6.identifier_10.generate_a_really_long_id_and_5">
Generate a really long id and duplicate it by having too many headers
</h3>
<h3 id="identifiers_in_quickbook_1_6.identifier_10.generate_a_really_long_id_and_6">
Generate a really long id and duplicate it by having too many headers
</h3>
<h3 id="identifiers_in_quickbook_1_6.identifier_10.generate_a_really_long_id_and_7">
Generate a really long id and duplicate it by having too many headers
</h3>
<h3 id="identifiers_in_quickbook_1_6.identifier_10.generate_a_really_long_id_and_8">
Generate a really long id and duplicate it by having too many headers
</h3>
<h3 id="identifiers_in_quickbook_1_6.identifier_10.generate_a_really_long_id_and_9">
Generate a really long id and duplicate it by having too many headers
</h3>
<h3 id="identifiers_in_quickbook_1_6.identifier_10.generate_a_really_long_id_and_10">
Generate a really long id and duplicate it by having too many headers
</h3>
<h3 id="identifiers_in_quickbook_1_6.identifier_10.generate_a_really_long_id_and_11">
Generate a really long id and duplicate it by having too many headers
</h3>
<h3 id="identifiers_in_quickbook_1_6.identifier_10.generate_a_really_long_id_and_12">
Generate a really long id and duplicate it by having too many headers
</h3>
<h3 id="identifiers_in_quickbook_1_6.identifier_10.generate_a_really_long_id_and_13">
Generate a really long id and duplicate it by having too many headers
</h3>
<h3 id="identifiers_in_quickbook_1_6.identifier_10.generate_a_really_long_id_and_14">
Generate a really long id and duplicate it by having too many headers
</h3>
<h3 id="identifiers_in_quickbook_1_6.identifier_10.generate_a_really_long_id_and_16">
Generate a really long id and duplicate it by having too many headers
</h3>
<h3 id="identifiers_in_quickbook_1_6.identifier_10.generate_a_really_long_id_and_17">
Generate a really long id and duplicate it by having too many headers
</h3>
<h3 id="identifiers_in_quickbook_1_6.identifier_10.generate_a_really_long_id_and_18">
Generate a really long id and duplicate it by having too many headers
</h3>
<h3 id="identifiers_in_quickbook_1_6.identifier_10.generate_a_really_long_id_and_19">
Generate a really long id and duplicate it by having too many headers
</h3>
<h3 id="identifiers_in_quickbook_1_6.identifier_10.generate_a_really_long_id_and_20">
Generate a really long id and duplicate it by having too many headers
</h3>
<h3 id="identifiers_in_quickbook_1_6.identifier_10.generate_a_really_long_id_and_21">
Generate a really long id and duplicate it by having several headers
</h3>
<h3 id="identifiers_in_quickbook_1_6.identifier_10.generate_a_really_long_id_and_22">
Generate a really long id and duplicate it by having several headers
</h3>
<h3 id="identifiers_in_quickbook_1_6.identifier_10.generate_a_really_long_id_and_23">
Generate a really long id and duplicate it by having several headers
</h3>
<h3 id="identifiers_in_quickbook_1_6.identifier_10.generate_a_really_long_id_and_24">
Generate a really long id and duplicate it by having several headers
</h3>
<h3 id="identifiers_in_quickbook_1_6.identifier_10.generate_a_really_long_id_and_25">
Generate a really long id and duplicate it by having several headers
</h3>
<h3 id="identifiers_in_quickbook_1_6.identifier_10.generate_a_really_long_id_and_26">
Generate a really long id and duplicate it by having several headers
</h3>
<h3 id="identifiers_in_quickbook_1_6.identifier_10.generate_a_really_long_id_and_27">
Generate a really long id and duplicate it by having several headers
</h3>
<h3 id="identifiers_in_quickbook_1_6.identifier_10.generate_a_really_long_id_and_28">
Generate a really long id and duplicate it by having several headers
</h3>
<h3 id="identifiers_in_quickbook_1_6.identifier_10.generate_a_really_long_id_and_29">
Generate a really long id and duplicate it by having even more headers
</h3>
<h3 id="identifiers_in_quickbook_1_6.identifier_10.generate_a_really_long_id_and_30">
Generate a really long id and duplicate it by having even more headers
</h3>
<h3 id="identifiers_in_quickbook_1_6.identifier_10.generate_a_really_long_id_and_31">
Generate a really long id and duplicate it by having even more headers
</h3>
<h3 id="identifiers_in_quickbook_1_6.identifier_10.generate_a_really_long_id_and_32">
Generate a really long id and duplicate it by having several headers
</h3>
<h3 id="identifiers_in_quickbook_1_6.identifier_10.generate_a_really_long_id_and_d4">
Generate a really long id and d4
</h3>
<h3 id="identifiers_in_quickbook_1_6.identifier_10.generate_a_really_long_id_and_15">
Generate a really long id and 15
</h3>
<h3 id="identifiers_in_quickbook_1_6.identifier_10.generate_a_really_long_id_and_33">
Generate a really long id and d4
</h3>
<h3 id="identifiers_in_quickbook_1_6.identifier_10.generate_a_really_long_id_and_34">
Generate a really long id and 15
</h3>
<h3 id="identifiers_in_quickbook_1_6.identifier_10.a2345678901234567890123456789012">
a2345678901234567890123456789012
</h3>
<h3 id="identifiers_in_quickbook_1_6.identifier_10.a0">
a2345678901234567890123456789012
</h3>
<h3 id="identifiers_in_quickbook_1_6.identifier_10.abcdefghijklmnopqrstuvwxyzabcdef">
abcdefghijklmnopqrstuvwxyzabcdef
</h3>
<h3 id="identifiers_in_quickbook_1_6.identifier_10.abcdefghijklmnopqrstuvwxyzabcde0">
abcdefghijklmnopqrstuvwxyzabcdef
</h3>
<h3 id="identifiers_in_quickbook_1_6.identifier_10.abcdefghijklmnopqrstuvwxyzabcde1">
abcdefghijklmnopqrstuvwxyzabcdef
</h3>
<h3 id="identifiers_in_quickbook_1_6.identifier_10.abcdefghijklmnopqrstuvwxyzabcde2">
abcdefghijklmnopqrstuvwxyzabcdef
</h3>
<h3 id="identifiers_in_quickbook_1_6.identifier_10.markup_in_heading_in_order_to_te">
Markup in <code><span class="identifier">heading</span></code> in <span
class="bold"><strong>order</strong></span> to test normalization
</h3>
<h3 id="identifiers_in_quickbook_1_6.identifier_10.markup_in_heading_in_order_to_t0">
Markup in <code><span class="identifier">heading</span></code> in <span
class="bold"><strong>order</strong></span> to test normalization
</h3>
<h3 id="identifiers_in_quickbook_1_6.identifier_10.markup_in_heading_in_order_to_t1">
Markup in <code><span class="identifier">heading</span></code> in <span
class="bold"><strong>order</strong></span> to test normalization
</h3>
<div id="identifiers_in_quickbook_1_6.identifier_10.h3" class="table">
<table>
<caption>h3</caption>
<tbody>
<tr>
<td>
</td>
</tr>
</tbody>
</table>
</div>
<div id="identifiers_in_quickbook_1_6.identifier_10.h3_0" class="table">
<table>
<caption>h3</caption>
<tbody>
<tr>
<td>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div id="identifiers_in_quickbook_1_6.punctuation_stuff">
<h3>
Punctuation &amp; stuff
</h3>
<div id="identifiers_in_quickbook_1_6.punctuation_stuff">
<h3 id="identifiers_in_quickbook_1_6.punctuation_stuff.a_b">
A + B
</h3>
<h3 id="identifiers_in_quickbook_1_6.punctuation_stuff.a_b0">
A + B
</h3>
</div>
</div>
</body>
</html>

26
test/image-1_5.gold.html Normal file
View File

@@ -0,0 +1,26 @@
<!DOCTYPE html>
<html>
<head></head>
<body>
<h3>
Images 1.5
</h3>
<p>
<span class="inlinemediaobject"><img src="test.gif" alt="[]"/></span> <span
class="inlinemediaobject"><img src="test this.gif" alt="[]"/></span> <span
class="inlinemediaobject"><img src="test&amp;this.gif" alt="[]"/></span> <span
class="inlinemediaobject"><img src="test.gif" alt="[]"/></span> <span class="inlinemediaobject"><img
src="test.gif" alt="[]"/></span> <span class="inlinemediaobject"><img src="test.gif"
alt="[]"/></span> <span class="inlinemediaobject"><img src="test.gif" alt="[]"/></span>
<span class="inlinemediaobject"><img src="test.gif" alt="[]"/></span>
</p>
<p>
<span class="inlinemediaobject"><img src="test.gif" alt="[]"/></span> <span
class="inlinemediaobject"><img src="test.gif" alt="[]"/></span> <span class="inlinemediaobject"><img
src="test.gif" alt="[]"/></span>
</p>
<p>
<span class="inlinemediaobject"><img src="test.gif" alt="[]"/></span>
</p>
</body>
</html>

View File

@@ -43,4 +43,9 @@
<para>
<inlinemediaobject><imageobject><imagedata fileref="test.gif" height="10cm" width="10cm"></imagedata></imageobject></inlinemediaobject>
</para>
<para>
<inlinemediaobject><imageobject><imagedata fileref="boost:/boost.png"></imagedata></imageobject></inlinemediaobject>
<inlinemediaobject><imageobject><imagedata fileref="boost:boost.png" height="10cm"
width="10cm"></imagedata></imageobject></inlinemediaobject>
</para>
</article>

32
test/image-1_6.gold.html Normal file
View File

@@ -0,0 +1,32 @@
<!DOCTYPE html>
<html>
<head></head>
<body>
<h3>
Images 1.6
</h3>
<p>
<span class="inlinemediaobject"><img src="test.gif" alt="[]"/></span> <span
class="inlinemediaobject"><img src="test this.gif" alt="[]"/></span> <span
class="inlinemediaobject"><img src="test&amp;this.gif" alt="[]"/></span> <span
class="inlinemediaobject"><img src="test.gif" alt="[]"/></span> <span class="inlinemediaobject"><img
src="test.gif" alt="[]"/></span> <span class="inlinemediaobject"><img src="test.gif"
alt="[]"/></span> <span class="inlinemediaobject"><img src="test.gif" alt="[]"/></span>
<span class="inlinemediaobject"><img src="test.gif" alt="[]"/></span> <span
class="inlinemediaobject"><img src="test.gif" alt="[]"/></span>
</p>
<p>
<span class="inlinemediaobject"><img src="test.gif" alt="[]"/></span> <span
class="inlinemediaobject"><img src="test.gif" alt="[]"/></span> <span class="inlinemediaobject"><img
src="test.gif" alt="[]"/></span>
</p>
<p>
<span class="inlinemediaobject"><img src="test.gif" alt="[]"/></span>
</p>
<p>
<span class="inlinemediaobject"><img src="http://www.boost.org/doc/libs/release/boost.png"
alt="[]"/></span> <span class="inlinemediaobject"><img src="http://www.boost.org/doc/libs/release/boost.png"
alt="[]"/></span>
</p>
</body>
</html>

View File

@@ -18,3 +18,6 @@
[/ This should warn about repeated attribute and then ignore it. ]
[$test.gif [width 10cm] [height 10cm] [width 20cm]]
[$boost:/boost.png]
[$boost:boost.png [width 10cm] [height 10cm] [width 20cm]]

View File

@@ -0,0 +1,61 @@
<!DOCTYPE html>
<html>
<head></head>
<body>
<h3>
Include Test
</h3>
<div class="toc">
<p>
<b>Table of contents</b>
</p>
<ul>
<li>
<a href="#include_test_sub_document.test">Test</a>
</li>
<li>
<a href="#foo.test">Test</a>
</li>
<li>
<a href="#foo2.test">Test</a>
</li>
</ul>
</div>
<p>
Just trying including in a conditional macro.
</p>
<p>
With some text around it.
</p>
<div id="include_test_sub_document.test">
<h3>
Test
</h3>
<div id="include_test_sub_document.test">
<p>
Just testing.
</p>
</div>
</div>
<div id="foo.test">
<h3>
Test
</h3>
<div id="foo.test">
<p>
Just testing.
</p>
</div>
</div>
<div id="foo2.test">
<h3>
Test
</h3>
<div id="foo2.test">
<p>
Just testing.
</p>
</div>
</div>
</body>
</html>

View File

@@ -0,0 +1,61 @@
<!DOCTYPE html>
<html>
<head></head>
<body>
<h3>
Include Test
</h3>
<div class="toc">
<p>
<b>Table of contents</b>
</p>
<ul>
<li>
<a href="#include-test.test">Test</a>
</li>
<li>
<a href="#foo.test">Test</a>
</li>
<li>
<a href="#foo2.test">Test</a>
</li>
</ul>
</div>
<p>
Just trying including in a conditional macro.
</p>
<p>
With some text around it.
</p>
<div id="include-test.test">
<h3>
Test
</h3>
<div id="include-test.test">
<p>
Just testing.
</p>
</div>
</div>
<div id="foo.test">
<h3>
Test
</h3>
<div id="foo.test">
<p>
Just testing.
</p>
</div>
</div>
<div id="foo2.test">
<h3>
Test
</h3>
<div id="foo2.test">
<p>
Just testing.
</p>
</div>
</div>
</body>
</html>

View File

@@ -0,0 +1,74 @@
<!DOCTYPE html>
<html>
<head></head>
<body>
<h3>
Include Test
</h3>
<div class="toc">
<p>
<b>Table of contents</b>
</p>
<ul>
<li>
<a href="#include-test.test">Test</a>
</li>
<li>
<a href="#foo.test">Test</a>
</li>
<li>
<a href="#foo0.test">Test</a>
</li>
<li>
<a href="#foo2.test">Test</a>
</li>
</ul>
</div>
<p>
Just trying including in a conditional macro.
</p>
<p>
With some text around it.
</p>
<div id="include-test.test">
<h3>
Test
</h3>
<div id="include-test.test">
<p>
Just testing.
</p>
</div>
</div>
<div id="foo.test">
<h3>
Test
</h3>
<div id="foo.test">
<p>
Just testing.
</p>
</div>
</div>
<div id="foo0.test">
<h3>
Test
</h3>
<div id="foo0.test">
<p>
Just testing.
</p>
</div>
</div>
<div id="foo2.test">
<h3>
Test
</h3>
<div id="foo2.test">
<p>
Just testing.
</p>
</div>
</div>
</body>
</html>

View File

@@ -0,0 +1,148 @@
<!DOCTYPE html>
<html>
<head></head>
<body>
<h3>
Import
</h3>
<p>
This is the <span class="bold"><strong><span class="emphasis"><em>foo</em></span></strong></span>
function.
</p>
<p>
This description can have paragraphs...
</p>
<ul>
<li>
<div>
lists
</div>
</li>
<li>
<div>
etc.
</div>
</li>
</ul>
<p>
And any quickbook block markup.
</p>
<p>
<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <span class="identifier">foo</span><span class="special">()</span>
<span class="special">{</span>
<span class="comment">// return 'em, foo man!</span>
<span class="keyword">return</span> <span class="string">&quot;foo&quot;</span><span class="special">;</span>
<span class="special">}</span>
</pre>
</p>
<p>
This is the Python <span class="bold"><strong><span class="emphasis"><em>foo</em></span></strong></span>
function.
</p>
<p>
This description can have paragraphs...
</p>
<ul>
<li>
<div>
lists
</div>
</li>
<li>
<div>
etc.
</div>
</li>
</ul>
<p>
And any quickbook block markup.
</p>
<p>
<pre class="programlisting"><span class="keyword">def</span> <span class="identifier">foo</span><span class="special">():</span>
<span class="comment"># return 'em, foo man!</span>
<span class="keyword">return</span> <span class="string">&quot;foo&quot;</span>
</pre>
</p>
<p>
This is the C <span class="bold"><strong><span class="emphasis"><em>foo</em></span></strong></span>
function.
</p>
<p>
This description can have paragraphs...
</p>
<ul>
<li>
<div>
lists
</div>
</li>
<li>
<div>
etc.
</div>
</li>
</ul>
<p>
And any quickbook block markup.
</p>
<p>
<pre class="programlisting"><span class="keyword">char</span><span class="special">*</span> <span class="identifier">foo</span><span class="special">()</span>
<span class="special">{</span>
<span class="comment">// return 'em, foo man!</span>
<span class="keyword">return</span> <span class="string">&quot;foo&quot;</span><span class="special">;</span>
<span class="special">}</span>
</pre>
</p>
<p>
<pre class="programlisting"><span class="keyword">class</span> <span class="identifier">x</span>
<span class="special">{</span>
<span class="keyword">public</span><span class="special">:</span>
<a href="#import.c1">(1)</a><span class="identifier">x</span><span class="special">()</span> <span class="special">:</span> <span class="identifier">n</span><span class="special">(</span><span class="number">0</span><span class="special">)</span>
<span class="special">{</span>
<span class="special">}</span>
<a href="#import.c3">(2)</a><span class="special">~</span><span class="identifier">x</span><span class="special">()</span>
<span class="special">{</span>
<span class="special">}</span>
<a href="#import.c5">(3)</a><span class="keyword">int</span> <span class="identifier">get</span><span class="special">()</span> <span class="keyword">const</span>
<span class="special">{</span>
<span class="keyword">return</span> <span class="identifier">n</span><span class="special">;</span>
<span class="special">}</span>
<a href="#import.c7">(4)</a><span class="keyword">void</span> <span class="identifier">set</span><span class="special">(</span><span class="keyword">int</span> <span class="identifier">n_</span><span class="special">)</span>
<span class="special">{</span>
<span class="identifier">n</span> <span class="special">=</span> <span class="identifier">n_</span><span class="special">;</span>
<span class="special">}</span>
<span class="special">};</span>
</pre>
</p>
<div>
<div id="import.c1">
<a href="#import.c0">(1)</a>
<p>
Constructor
</p>
</div>
<div id="import.c3">
<a href="#import.c2">(2)</a>
<p>
Destructor
</p>
</div>
<div id="import.c5">
<a href="#import.c4">(3)</a>
<p>
Get the <code><span class="identifier">n</span></code> member variable
</p>
</div>
<div id="import.c7">
<a href="#import.c6">(4)</a>
<p>
Set the <code><span class="identifier">n</span></code> member variable
</p>
</div>
</div>
</body>
</html>

View File

@@ -0,0 +1,55 @@
<!DOCTYPE html>
<html>
<head></head>
<body>
<h3>
Include
</h3>
<p>
This should appear when <tt>stub.c</tt> is included.
</p>
<p>
This is the C <span class="bold"><strong><span class="emphasis"><em>foo</em></span></strong></span>
function.
</p>
<p>
This description can have paragraphs...
</p>
<ul>
<li>
<div>
lists
</div>
</li>
<li>
<div>
etc.
</div>
</li>
</ul>
<p>
And any quickbook block markup.
</p>
<pre class="programlisting"><span class="keyword">char</span><span class="special">*</span> <span class="identifier">foo</span><span class="special">()</span>
<span class="special">{</span>
<span class="comment">// return 'em, foo man!</span>
<span class="keyword">return</span> <span class="string">&quot;foo&quot;</span><span class="special">;</span>
<span class="special">}</span>
</pre>
<p>
This should appear when <tt>stub.py</tt> is included.
</p>
<p>
This should appear when <tt>stub.cpp</tt> is included.
</p>
<p>
[foo]
</p>
<p>
[foo_py]
</p>
<p>
[foo_c]
</p>
</body>
</html>

View File

@@ -0,0 +1,424 @@
<!DOCTYPE html>
<html>
<head></head>
<body>
<h3>
Test Compatibility Mode
</h3>
<div class="toc">
<p>
<b>Table of contents</b>
</p>
<ul>
<li>
<a href="#compatibility.collision">Outer</a>
</li>
<li>
<a href="#compatibility.collision0">Include compatibility 1.1</a>
</li>
<li>
<a href="#compatibility.collision1">Include compatibility 1.5</a>
</li>
<li>
<a href="#compatibility.collision2">Include compatibility 1.6</a>
</li>
</ul>
</div>
<div id="compatibility.collision">
<h3>
Outer
</h3>
<div id="compatibility.collision">
</div>
<div id="test_compatibility_mode.inner">
<h3>
Inner
</h3>
<div id="test_compatibility_mode.inner">
<h4 id="test_compatibility_mode.collision.inner.header">
Header
</h4>
<h1 id="inner.heading1">
Heading1
</h1>
<h4 id="test_compatibility_mode.collision.inner.x1">
Header with id
</h4>
<h1 id="test_compatibility_mode.collision.inner.x2">
Heading1 with id
</h1>
<div class="informaltable">
<table>
<thead>
<tr>
<th>
</th>
</tr>
</thead>
<tbody>
<tr>
<td>
</td>
</tr>
</tbody>
</table>
</div>
<div id="test_compatibility_mode.collision.inner.withid" class="informaltable">
<table>
<thead>
<tr>
<th>
</th>
</tr>
</thead>
<tbody>
<tr>
<td>
</td>
</tr>
</tbody>
</table>
</div>
<div id="test_compatibility_mode.collision.inner.t0" class="table">
<table>
<caption>With Title</caption>
<thead>
<tr>
<th>
</th>
</tr>
</thead>
<tbody>
<tr>
<td>
</td>
</tr>
</tbody>
</table>
</div>
<div id="test_compatibility_mode.collision.inner.x" class="table">
<table>
<caption>Id and Title</caption>
<thead>
<tr>
<th>
</th>
</tr>
</thead>
<tbody>
<tr>
<td>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div id="test_compatibility_mode.x">
<h3>
Inner with id
</h3>
<div id="test_compatibility_mode.x">
</div>
</div>
</div>
<div id="compatibility.collision0">
<h3>
Include compatibility 1.1
</h3>
<div id="compatibility.collision0">
</div>
<div id="test_compatibility_mode.inner0">
<h3>
Inner
</h3>
<div id="test_compatibility_mode.inner0">
<h4 id="test_compatibility_mode.collision.inner.header0">
Header
</h4>
<h1 id="inner.heading1_0">
Heading1
</h1>
<h4 id="test_compatibility_mode.collision.inner.x1_0">
Header with id
</h4>
<h1 id="test_compatibility_mode.collision.inner.x2_0">
Heading1 with id
</h1>
<div class="informaltable">
<table>
<thead>
<tr>
<th>
</th>
</tr>
</thead>
<tbody>
<tr>
<td>
</td>
</tr>
</tbody>
</table>
</div>
<div id="test_compatibility_mode.collision.inner.withid0" class="informaltable">
<table>
<thead>
<tr>
<th>
</th>
</tr>
</thead>
<tbody>
<tr>
<td>
</td>
</tr>
</tbody>
</table>
</div>
<div id="test_compatibility_mode.collision.inner.t1" class="table">
<table>
<caption>With Title</caption>
<thead>
<tr>
<th>
</th>
</tr>
</thead>
<tbody>
<tr>
<td>
</td>
</tr>
</tbody>
</table>
</div>
<div id="test_compatibility_mode.collision.inner.x0" class="table">
<table>
<caption>Id and Title</caption>
<thead>
<tr>
<th>
</th>
</tr>
</thead>
<tbody>
<tr>
<td>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div id="test_compatibility_mode.x0">
<h3>
Inner with id
</h3>
<div id="test_compatibility_mode.x0">
</div>
</div>
</div>
<div id="compatibility.collision1">
<h3>
Include compatibility 1.5
</h3>
<div id="compatibility.collision1">
</div>
<div id="test_compatibility_mode.collision.inner">
<h3>
Inner
</h3>
<div id="test_compatibility_mode.collision.inner">
<h4 id="test_compatibility_mode.collision.inner.header1">
Header
</h4>
<h1 id="test_compatibility_mode.collision.inner.heading1">
Heading1
</h1>
<h4 id="test_compatibility_mode.collision.inner.x1_1">
Header with id
</h4>
<h1 id="test_compatibility_mode.collision.inner.x2_1">
Heading1 with id
</h1>
<div class="informaltable">
<table>
<thead>
<tr>
<th>
</th>
</tr>
</thead>
<tbody>
<tr>
<td>
</td>
</tr>
</tbody>
</table>
</div>
<div id="test_compatibility_mode.collision.inner.withid1" class="informaltable">
<table>
<thead>
<tr>
<th>
</th>
</tr>
</thead>
<tbody>
<tr>
<td>
</td>
</tr>
</tbody>
</table>
</div>
<div id="test_compatibility_mode.collision.inner.with_title" class="table">
<table>
<caption>With Title</caption>
<thead>
<tr>
<th>
</th>
</tr>
</thead>
<tbody>
<tr>
<td>
</td>
</tr>
</tbody>
</table>
</div>
<div id="test_compatibility_mode.collision.inner.x3" class="table">
<table>
<caption>Id and Title</caption>
<thead>
<tr>
<th>
</th>
</tr>
</thead>
<tbody>
<tr>
<td>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div id="test_compatibility_mode.collision.x">
<h3>
Inner with id
</h3>
<div id="test_compatibility_mode.collision.x">
</div>
</div>
</div>
<div id="compatibility.collision2">
<h3>
Include compatibility 1.6
</h3>
<div id="compatibility.collision2">
</div>
<div id="compatibility.collision.inner">
<h3>
Inner
</h3>
<div id="compatibility.collision.inner">
<h4 id="compatibility.collision.inner.header">
Header
</h4>
<h1 id="compatibility.collision.inner.heading1">
Heading1
</h1>
<h4 id="compatibility.collision.inner.x1">
Header with id
</h4>
<h1 id="compatibility.collision.inner.x2">
Heading1 with id
</h1>
<div class="informaltable">
<table>
<thead>
<tr>
<th>
</th>
</tr>
</thead>
<tbody>
<tr>
<td>
</td>
</tr>
</tbody>
</table>
</div>
<div id="compatibility.collision.inner.withid" class="informaltable">
<table>
<thead>
<tr>
<th>
</th>
</tr>
</thead>
<tbody>
<tr>
<td>
</td>
</tr>
</tbody>
</table>
</div>
<div id="compatibility.collision.inner.with_title" class="table">
<table>
<caption>With Title</caption>
<thead>
<tr>
<th>
</th>
</tr>
</thead>
<tbody>
<tr>
<td>
</td>
</tr>
</tbody>
</table>
</div>
<div id="compatibility.collision.inner.x" class="table">
<table>
<caption>Id and Title</caption>
<thead>
<tr>
<th>
</th>
</tr>
</thead>
<tbody>
<tr>
<td>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div id="compatibility.collision.x">
<h3>
Inner with id
</h3>
<div id="compatibility.collision.x">
</div>
</div>
</div>
</body>
</html>

View File

@@ -0,0 +1,424 @@
<!DOCTYPE html>
<html>
<head></head>
<body>
<h3>
Test Compatibility Mode
</h3>
<div class="toc">
<p>
<b>Table of contents</b>
</p>
<ul>
<li>
<a href="#compatibility.collision">Outer</a>
</li>
<li>
<a href="#compatibility.collision0">Include compatibility 1.1</a>
</li>
<li>
<a href="#compatibility.collision1">Include compatibility 1.5</a>
</li>
<li>
<a href="#compatibility.collision2">Include compatibility 1.6</a>
</li>
</ul>
</div>
<div id="compatibility.collision">
<h3>
Outer
</h3>
<div id="compatibility.collision">
</div>
<div id="test_compatibility_mode.collision.inner">
<h3>
Inner
</h3>
<div id="test_compatibility_mode.collision.inner">
<h4 id="test_compatibility_mode.collision.inner.header">
Header
</h4>
<h1 id="test_compatibility_mode.collision.inner.heading1">
Heading1
</h1>
<h4 id="test_compatibility_mode.collision.inner.x1">
Header with id
</h4>
<h1 id="test_compatibility_mode.collision.inner.x2">
Heading1 with id
</h1>
<div class="informaltable">
<table>
<thead>
<tr>
<th>
</th>
</tr>
</thead>
<tbody>
<tr>
<td>
</td>
</tr>
</tbody>
</table>
</div>
<div id="test_compatibility_mode.collision.inner.withid" class="informaltable">
<table>
<thead>
<tr>
<th>
</th>
</tr>
</thead>
<tbody>
<tr>
<td>
</td>
</tr>
</tbody>
</table>
</div>
<div id="test_compatibility_mode.collision.inner.with_title" class="table">
<table>
<caption>With Title</caption>
<thead>
<tr>
<th>
</th>
</tr>
</thead>
<tbody>
<tr>
<td>
</td>
</tr>
</tbody>
</table>
</div>
<div id="test_compatibility_mode.collision.inner.x" class="table">
<table>
<caption>Id and Title</caption>
<thead>
<tr>
<th>
</th>
</tr>
</thead>
<tbody>
<tr>
<td>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div id="test_compatibility_mode.collision.x">
<h3>
Inner with id
</h3>
<div id="test_compatibility_mode.collision.x">
</div>
</div>
</div>
<div id="compatibility.collision0">
<h3>
Include compatibility 1.1
</h3>
<div id="compatibility.collision0">
</div>
<div id="test_compatibility_mode.inner">
<h3>
Inner
</h3>
<div id="test_compatibility_mode.inner">
<h4 id="test_compatibility_mode.collision.inner.header0">
Header
</h4>
<h1 id="inner.heading1">
Heading1
</h1>
<h4 id="test_compatibility_mode.collision.inner.x1_0">
Header with id
</h4>
<h1 id="test_compatibility_mode.collision.inner.x2_0">
Heading1 with id
</h1>
<div class="informaltable">
<table>
<thead>
<tr>
<th>
</th>
</tr>
</thead>
<tbody>
<tr>
<td>
</td>
</tr>
</tbody>
</table>
</div>
<div id="test_compatibility_mode.collision.inner.withid0" class="informaltable">
<table>
<thead>
<tr>
<th>
</th>
</tr>
</thead>
<tbody>
<tr>
<td>
</td>
</tr>
</tbody>
</table>
</div>
<div id="test_compatibility_mode.collision.inner.t0" class="table">
<table>
<caption>With Title</caption>
<thead>
<tr>
<th>
</th>
</tr>
</thead>
<tbody>
<tr>
<td>
</td>
</tr>
</tbody>
</table>
</div>
<div id="test_compatibility_mode.collision.inner.x0" class="table">
<table>
<caption>Id and Title</caption>
<thead>
<tr>
<th>
</th>
</tr>
</thead>
<tbody>
<tr>
<td>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div id="test_compatibility_mode.x">
<h3>
Inner with id
</h3>
<div id="test_compatibility_mode.x">
</div>
</div>
</div>
<div id="compatibility.collision1">
<h3>
Include compatibility 1.5
</h3>
<div id="compatibility.collision1">
</div>
<div id="test_compatibility_mode.collision.inner0">
<h3>
Inner
</h3>
<div id="test_compatibility_mode.collision.inner0">
<h4 id="test_compatibility_mode.collision.inner.header1">
Header
</h4>
<h1 id="test_compatibility_mode.collision.inner.heading1_0">
Heading1
</h1>
<h4 id="test_compatibility_mode.collision.inner.x1_1">
Header with id
</h4>
<h1 id="test_compatibility_mode.collision.inner.x2_1">
Heading1 with id
</h1>
<div class="informaltable">
<table>
<thead>
<tr>
<th>
</th>
</tr>
</thead>
<tbody>
<tr>
<td>
</td>
</tr>
</tbody>
</table>
</div>
<div id="test_compatibility_mode.collision.inner.withid1" class="informaltable">
<table>
<thead>
<tr>
<th>
</th>
</tr>
</thead>
<tbody>
<tr>
<td>
</td>
</tr>
</tbody>
</table>
</div>
<div id="test_compatibility_mode.collision.inner.with_title0" class="table">
<table>
<caption>With Title</caption>
<thead>
<tr>
<th>
</th>
</tr>
</thead>
<tbody>
<tr>
<td>
</td>
</tr>
</tbody>
</table>
</div>
<div id="test_compatibility_mode.collision.inner.x3" class="table">
<table>
<caption>Id and Title</caption>
<thead>
<tr>
<th>
</th>
</tr>
</thead>
<tbody>
<tr>
<td>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div id="test_compatibility_mode.collision.x0">
<h3>
Inner with id
</h3>
<div id="test_compatibility_mode.collision.x0">
</div>
</div>
</div>
<div id="compatibility.collision2">
<h3>
Include compatibility 1.6
</h3>
<div id="compatibility.collision2">
</div>
<div id="compatibility.collision.inner">
<h3>
Inner
</h3>
<div id="compatibility.collision.inner">
<h4 id="compatibility.collision.inner.header">
Header
</h4>
<h1 id="compatibility.collision.inner.heading1">
Heading1
</h1>
<h4 id="compatibility.collision.inner.x1">
Header with id
</h4>
<h1 id="compatibility.collision.inner.x2">
Heading1 with id
</h1>
<div class="informaltable">
<table>
<thead>
<tr>
<th>
</th>
</tr>
</thead>
<tbody>
<tr>
<td>
</td>
</tr>
</tbody>
</table>
</div>
<div id="compatibility.collision.inner.withid" class="informaltable">
<table>
<thead>
<tr>
<th>
</th>
</tr>
</thead>
<tbody>
<tr>
<td>
</td>
</tr>
</tbody>
</table>
</div>
<div id="compatibility.collision.inner.with_title" class="table">
<table>
<caption>With Title</caption>
<thead>
<tr>
<th>
</th>
</tr>
</thead>
<tbody>
<tr>
<td>
</td>
</tr>
</tbody>
</table>
</div>
<div id="compatibility.collision.inner.x" class="table">
<table>
<caption>Id and Title</caption>
<thead>
<tr>
<th>
</th>
</tr>
</thead>
<tbody>
<tr>
<td>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div id="compatibility.collision.x">
<h3>
Inner with id
</h3>
<div id="compatibility.collision.x">
</div>
</div>
</div>
</body>
</html>

View File

@@ -0,0 +1,424 @@
<!DOCTYPE html>
<html>
<head></head>
<body>
<h3>
Test Compatibility Mode
</h3>
<div class="toc">
<p>
<b>Table of contents</b>
</p>
<ul>
<li>
<a href="#compatibility.collision">Outer</a>
</li>
<li>
<a href="#compatibility.collision0">Include compatibility 1.1</a>
</li>
<li>
<a href="#compatibility.collision1">Include compatibility 1.5</a>
</li>
<li>
<a href="#compatibility.collision2">Include compatibility 1.6</a>
</li>
</ul>
</div>
<div id="compatibility.collision">
<h3>
Outer
</h3>
<div id="compatibility.collision">
</div>
<div id="compatibility.collision.inner">
<h3>
Inner
</h3>
<div id="compatibility.collision.inner">
<h4 id="compatibility.collision.inner.header">
Header
</h4>
<h1 id="compatibility.collision.inner.heading1">
Heading1
</h1>
<h4 id="compatibility.collision.inner.x1">
Header with id
</h4>
<h1 id="compatibility.collision.inner.x2">
Heading1 with id
</h1>
<div class="informaltable">
<table>
<thead>
<tr>
<th>
</th>
</tr>
</thead>
<tbody>
<tr>
<td>
</td>
</tr>
</tbody>
</table>
</div>
<div id="compatibility.collision.inner.withid" class="informaltable">
<table>
<thead>
<tr>
<th>
</th>
</tr>
</thead>
<tbody>
<tr>
<td>
</td>
</tr>
</tbody>
</table>
</div>
<div id="compatibility.collision.inner.with_title" class="table">
<table>
<caption>With Title</caption>
<thead>
<tr>
<th>
</th>
</tr>
</thead>
<tbody>
<tr>
<td>
</td>
</tr>
</tbody>
</table>
</div>
<div id="compatibility.collision.inner.x" class="table">
<table>
<caption>Id and Title</caption>
<thead>
<tr>
<th>
</th>
</tr>
</thead>
<tbody>
<tr>
<td>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div id="compatibility.collision.x">
<h3>
Inner with id
</h3>
<div id="compatibility.collision.x">
</div>
</div>
</div>
<div id="compatibility.collision0">
<h3>
Include compatibility 1.1
</h3>
<div id="compatibility.collision0">
</div>
<div id="compatibility.collision0.inner">
<h3>
Inner
</h3>
<div id="compatibility.collision0.inner">
<h4 id="compatibility.collision0.inner.header">
Header
</h4>
<h1 id="inner.heading1">
Heading1
</h1>
<h4 id="compatibility.collision0.inner.x1">
Header with id
</h4>
<h1 id="compatibility.collision0.inner.x2">
Heading1 with id
</h1>
<div class="informaltable">
<table>
<thead>
<tr>
<th>
</th>
</tr>
</thead>
<tbody>
<tr>
<td>
</td>
</tr>
</tbody>
</table>
</div>
<div id="compatibility.collision0.inner.withid" class="informaltable">
<table>
<thead>
<tr>
<th>
</th>
</tr>
</thead>
<tbody>
<tr>
<td>
</td>
</tr>
</tbody>
</table>
</div>
<div id="compatibility.collision0.inner.t0" class="table">
<table>
<caption>With Title</caption>
<thead>
<tr>
<th>
</th>
</tr>
</thead>
<tbody>
<tr>
<td>
</td>
</tr>
</tbody>
</table>
</div>
<div id="compatibility.collision0.inner.x" class="table">
<table>
<caption>Id and Title</caption>
<thead>
<tr>
<th>
</th>
</tr>
</thead>
<tbody>
<tr>
<td>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div id="compatibility.collision0.x">
<h3>
Inner with id
</h3>
<div id="compatibility.collision0.x">
</div>
</div>
</div>
<div id="compatibility.collision1">
<h3>
Include compatibility 1.5
</h3>
<div id="compatibility.collision1">
</div>
<div id="compatibility.collision1.inner">
<h3>
Inner
</h3>
<div id="compatibility.collision1.inner">
<h4 id="compatibility.collision1.inner.header">
Header
</h4>
<h1 id="compatibility.collision1.inner.heading1">
Heading1
</h1>
<h4 id="compatibility.collision1.inner.x1">
Header with id
</h4>
<h1 id="compatibility.collision1.inner.x2">
Heading1 with id
</h1>
<div class="informaltable">
<table>
<thead>
<tr>
<th>
</th>
</tr>
</thead>
<tbody>
<tr>
<td>
</td>
</tr>
</tbody>
</table>
</div>
<div id="compatibility.collision1.inner.withid" class="informaltable">
<table>
<thead>
<tr>
<th>
</th>
</tr>
</thead>
<tbody>
<tr>
<td>
</td>
</tr>
</tbody>
</table>
</div>
<div id="compatibility.collision1.inner.with_title" class="table">
<table>
<caption>With Title</caption>
<thead>
<tr>
<th>
</th>
</tr>
</thead>
<tbody>
<tr>
<td>
</td>
</tr>
</tbody>
</table>
</div>
<div id="compatibility.collision1.inner.x" class="table">
<table>
<caption>Id and Title</caption>
<thead>
<tr>
<th>
</th>
</tr>
</thead>
<tbody>
<tr>
<td>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div id="compatibility.collision1.x">
<h3>
Inner with id
</h3>
<div id="compatibility.collision1.x">
</div>
</div>
</div>
<div id="compatibility.collision2">
<h3>
Include compatibility 1.6
</h3>
<div id="compatibility.collision2">
</div>
<div id="compatibility.collision2.inner">
<h3>
Inner
</h3>
<div id="compatibility.collision2.inner">
<h4 id="compatibility.collision2.inner.header">
Header
</h4>
<h1 id="compatibility.collision2.inner.heading1">
Heading1
</h1>
<h4 id="compatibility.collision2.inner.x1">
Header with id
</h4>
<h1 id="compatibility.collision2.inner.x2">
Heading1 with id
</h1>
<div class="informaltable">
<table>
<thead>
<tr>
<th>
</th>
</tr>
</thead>
<tbody>
<tr>
<td>
</td>
</tr>
</tbody>
</table>
</div>
<div id="compatibility.collision2.inner.withid" class="informaltable">
<table>
<thead>
<tr>
<th>
</th>
</tr>
</thead>
<tbody>
<tr>
<td>
</td>
</tr>
</tbody>
</table>
</div>
<div id="compatibility.collision2.inner.with_title" class="table">
<table>
<caption>With Title</caption>
<thead>
<tr>
<th>
</th>
</tr>
</thead>
<tbody>
<tr>
<td>
</td>
</tr>
</tbody>
</table>
</div>
<div id="compatibility.collision2.inner.x" class="table">
<table>
<caption>Id and Title</caption>
<thead>
<tr>
<th>
</th>
</tr>
</thead>
<tbody>
<tr>
<td>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div id="compatibility.collision2.x">
<h3>
Inner with id
</h3>
<div id="compatibility.collision2.x">
</div>
</div>
</div>
</body>
</html>

View File

@@ -0,0 +1,30 @@
<!DOCTYPE html>
<html>
<head></head>
<body>
<h3>
Doc Title 1
</h3>
<h2 id="doc_title_1.a1">
a1
</h2>
<h2 id="doc_title_1.inc1">
inc1
</h2>
<h2 id="doc_title_1.a2">
a2
</h2>
<h2 id="doc_title_1_inc2.inc2">
inc2
</h2>
<h2 id="doc_title_1.a3">
a3
</h2>
<h2 id="doc_title_1_inc2.inc3">
inc3
</h2>
<h2 id="doc_title_1.a4">
a4
</h2>
</body>
</html>

View File

@@ -0,0 +1,30 @@
<!DOCTYPE html>
<html>
<head></head>
<body>
<h3>
Doc Title 1a
</h3>
<h2 id="doc-title.a1">
a1
</h2>
<h2 id="doc_title_1a.inc1">
inc1
</h2>
<h2 id="doc-title.a2">
a2
</h2>
<h2 id="doc_title_1_inc2.inc2">
inc2
</h2>
<h2 id="doc-title.a3">
a3
</h2>
<h2 id="doc_title_1_inc2.inc3">
inc3
</h2>
<h2 id="doc-title.a4">
a4
</h2>
</body>
</html>

View File

@@ -0,0 +1,45 @@
<!DOCTYPE html>
<html>
<head></head>
<body>
<h3>
Filename Test
</h3>
<p>
filename-1_7.quickbook
</p>
<h2 id="filename_test.test_1">
Test 1
</h2>
<p>
sub/filename_include1.quickbook
</p>
<p>
sub/../filename_include2.quickbook
</p>
<h2 id="filename_test.test_2">
Test 2
</h2>
<p>
filename_include2.quickbook
</p>
<h2 id="filename_test.test_3">
Test 3
</h2>
<p>
sub/filename_include1.quickbook
</p>
<p>
sub/../filename_include2.quickbook
</p>
<h2 id="filename_test.test_4">
Test 4
</h2>
<p>
sub/filename_include1.quickbook
</p>
<p>
sub/../filename_include2.quickbook
</p>
</body>
</html>

View File

@@ -0,0 +1,21 @@
<!DOCTYPE html>
<html>
<head></head>
<body>
<h3>
Filename test with include path
</h3>
<p>
filename-path.quickbook
</p>
<p>
filename_include1.quickbook
</p>
<p>
../filename_include2.quickbook
</p>
<p>
filename_include2.quickbook
</p>
</body>
</html>

View File

@@ -0,0 +1,21 @@
<!DOCTYPE html>
<html>
<head></head>
<body>
<h3>
Filename Test
</h3>
<p>
filename.quickbook
</p>
<p>
sub/filename_include1.quickbook
</p>
<p>
sub/../filename_include2.quickbook
</p>
<p>
filename_include2.quickbook
</p>
</body>
</html>

View File

@@ -0,0 +1,21 @@
<!DOCTYPE html>
<html>
<head></head>
<body>
<h3>
Filename test with include path
</h3>
<p>
filename_path-1_7.quickbook
</p>
<p>
filename_include1.quickbook
</p>
<p>
../filename_include2.quickbook
</p>
<p>
filename_include2.quickbook
</p>
</body>
</html>

View File

@@ -0,0 +1,94 @@
<!DOCTYPE html>
<html>
<head></head>
<body>
<h3>
Glob Test
</h3>
<div class="toc">
<p>
<b>Table of contents</b>
</p>
<ul>
<li>
<a href="#glob_test.t1_0">Test 1.0</a>
</li>
<li>
<a href="#glob_test.t1_1">Test 1.1</a>
</li>
<li>
<a href="#glob_test.t1_2">Test 1.2</a>
</li>
<li>
<a href="#glob_test.t1_3">Test 1.3</a>
</li>
<li>
<a href="#glob_test.t2_1">Test 2.1</a>
</li>
<li>
<a href="#glob_test.t2_2">Test 2.2</a>
</li>
</ul>
</div>
<div id="glob_test.t1_0">
<h3>
Test 1.0
</h3>
<div id="glob_test.t1_0">
</div>
</div>
<div id="glob_test.t1_1">
<h3>
Test 1.1
</h3>
<div id="glob_test.t1_1">
<p>
A
</p>
</div>
</div>
<div id="glob_test.t1_2">
<h3>
Test 1.2
</h3>
<div id="glob_test.t1_2">
<p>
B
</p>
</div>
</div>
<div id="glob_test.t1_3">
<h3>
Test 1.3
</h3>
<div id="glob_test.t1_3">
<p>
B
</p>
</div>
</div>
<div id="glob_test.t2_1">
<h3>
Test 2.1
</h3>
<div id="glob_test.t2_1">
<p>
A
</p>
<p>
B
</p>
</div>
</div>
<div id="glob_test.t2_2">
<h3>
Test 2.2
</h3>
<div id="glob_test.t2_2">
<p>
B
</p>
</div>
</div>
</body>
</html>

View File

@@ -0,0 +1,15 @@
<!DOCTYPE html>
<html>
<head></head>
<body>
<h3>
Import Quickbook Test
</h3>
<p>
Macro 1: import-basic-inc1.quickbook Template 1: import-basic-1.6.quickbook
</p>
<p>
Macro 2: import-basic-inc2.quickbook Template 2: import-basic-1.6.quickbook
</p>
</body>
</html>

View File

@@ -0,0 +1,120 @@
<!DOCTYPE html>
<html>
<head></head>
<body>
<h3>
Include in section 1.5
</h3>
<div class="toc">
<p>
<b>Table of contents</b>
</p>
<ul>
<li>
<a href="#include_in_section_1_5.container">Container</a>
</li>
<li>
<a href="#include_in_section_include_1.inner"><i>Untitled</i></a>
</li>
<li>
<a href="#section_include.inner"><i>Untitled</i></a>
</li>
<li>
<a href="#include_in_section_1_5.container2">Container2</a>
</li>
</ul>
</div>
<h1 id="include_in_section_include_1.test1">
Test1
</h1>
<h1 id="section_include.test1">
Test1
</h1>
<div id="include_in_section_1_5.container">
<h3>
Container
</h3>
<div id="include_in_section_1_5.container">
<h1 id="include_in_section_include_1.container.test1">
Test1
</h1>
<h1 id="section_include.container.test1">
Test1
</h1>
</div>
<div id="include_in_section_include_1.container.inner">
<div id="include_in_section_include_1.container.inner">
<h1 id="include_in_section_include_1.container.inner.test2">
Test2
</h1>
<h4 id="include_in_section_include_1.container.inner.simple_include">
Simple include
</h4>
</div>
</div>
<div id="section_include.container.inner">
<div id="section_include.container.inner">
<h1 id="section_include.container.inner.test2">
Test2
</h1>
<h4 id="include_in_section_include_2.container.inner.simple_include">
Simple include
</h4>
</div>
</div>
</div>
<div id="include_in_section_include_1.inner">
<div id="include_in_section_include_1.inner">
<h1 id="include_in_section_include_1.inner.test2">
Test2
</h1>
<h3 id="include_in_section_include_1.inner.simple_include">
Simple include
</h3>
</div>
</div>
<div id="section_include.inner">
<div id="section_include.inner">
<h1 id="section_include.inner.test2">
Test2
</h1>
<h3 id="include_in_section_include_2.inner.simple_include">
Simple include
</h3>
</div>
</div>
<div id="include_in_section_1_5.container2">
<h3>
Container2
</h3>
<div id="include_in_section_1_5.container2">
<h1 id="include_in_section_include_1.container2.test1">
Test1
</h1>
<h1 id="section_include.container2.test1">
Test1
</h1>
</div>
<div id="include_in_section_include_1.container2.inner">
<div id="include_in_section_include_1.container2.inner">
<h1 id="include_in_section_include_1.container2.inner.test2">
Test2
</h1>
<h4 id="include_in_section_include_1.container2.inner.simple_include">
Simple include
</h4>
</div>
</div>
<div id="section_include.container2.inner">
<div id="section_include.container2.inner">
<h1 id="section_include.container2.inner.test2">
Test2
</h1>
<h4 id="include_in_section_include_2.container2.inner.simple_include">
Simple include
</h4>
</div>
</div>
</div>
</body>
</html>

View File

@@ -0,0 +1,238 @@
<!DOCTYPE html>
<html>
<head></head>
<body>
<h3>
Include in section 1.6
</h3>
<div class="toc">
<p>
<b>Table of contents</b>
</p>
<ul>
<li>
<a href="#include_in_section_1_6.container">Container</a>
<ul>
<li>
<a href="#include_in_section_include_1">Include in section include
1</a>
</li>
<li>
<a href="#section_include">Include in section include 2</a>
</li>
</ul>
</li>
<li>
<a href="#include_in_section_include_1_0">Include in section include 1</a>
<ul>
<li>
<a href="#include_in_section_include_1_0.inner"><i>Untitled</i></a>
</li>
</ul>
</li>
<li>
<a href="#section_include0">Include in section include 2</a>
<ul>
<li>
<a href="#section_include0.inner"><i>Untitled</i></a>
</li>
</ul>
</li>
<li>
<a href="#include_in_section_1_6.container2">Container2</a>
<ul>
<li>
<a href="#include_in_section_include_1_1">Include in section include
1</a>
</li>
<li>
<a href="#section_include1">Include in section include 2</a>
</li>
</ul>
</li>
</ul>
</div>
<div id="include_in_section_1_6.container">
<h3>
Container
</h3>
<div id="include_in_section_1_6.container">
</div>
<div id="include_in_section_include_1">
<h3>
Include in section include 1
</h3>
<div class="toc">
<p>
<b>Table of contents</b>
</p>
<ul>
<li>
<a href="#include_in_section_include_1.inner"><i>Untitled</i></a>
</li>
</ul>
</div>
<h1 id="include_in_section_include_1.test1">
Test1
</h1>
<div id="include_in_section_include_1.inner">
<div id="include_in_section_include_1.inner">
<h1 id="include_in_section_include_1.inner.test2">
Test2
</h1>
<h3 id="include_in_section_include_1.inner.simple_include">
Simple include
</h3>
</div>
</div>
</div>
<div id="section_include">
<h3>
Include in section include 2
</h3>
<div class="toc">
<p>
<b>Table of contents</b>
</p>
<ul>
<li>
<a href="#section_include.inner"><i>Untitled</i></a>
</li>
</ul>
</div>
<h1 id="section_include.test1">
Test1
</h1>
<div id="section_include.inner">
<div id="section_include.inner">
<h1 id="section_include.inner.test2">
Test2
</h1>
<h3 id="section_include.inner.simple_include">
Simple include
</h3>
</div>
</div>
</div>
</div>
<div id="include_in_section_include_1_0">
<h3>
Include in section include 1
</h3>
<div class="toc">
<p>
<b>Table of contents</b>
</p>
<ul>
<li>
<a href="#include_in_section_include_1_0.inner"><i>Untitled</i></a>
</li>
</ul>
</div>
<h1 id="include_in_section_include_1_0.test1">
Test1
</h1>
<div id="include_in_section_include_1_0.inner">
<div id="include_in_section_include_1_0.inner">
<h1 id="include_in_section_include_1_0.inner.test2">
Test2
</h1>
<h3 id="include_in_section_include_1_0.inner.simple_include">
Simple include
</h3>
</div>
</div>
</div>
<div id="section_include0">
<h3>
Include in section include 2
</h3>
<div class="toc">
<p>
<b>Table of contents</b>
</p>
<ul>
<li>
<a href="#section_include0.inner"><i>Untitled</i></a>
</li>
</ul>
</div>
<h1 id="section_include0.test1">
Test1
</h1>
<div id="section_include0.inner">
<div id="section_include0.inner">
<h1 id="section_include0.inner.test2">
Test2
</h1>
<h3 id="section_include0.inner.simple_include">
Simple include
</h3>
</div>
</div>
</div>
<div id="include_in_section_1_6.container2">
<h3>
Container2
</h3>
<div id="include_in_section_1_6.container2">
</div>
<div id="include_in_section_include_1_1">
<h3>
Include in section include 1
</h3>
<div class="toc">
<p>
<b>Table of contents</b>
</p>
<ul>
<li>
<a href="#include_in_section_include_1_1.inner"><i>Untitled</i></a>
</li>
</ul>
</div>
<h1 id="include_in_section_include_1_1.test1">
Test1
</h1>
<div id="include_in_section_include_1_1.inner">
<div id="include_in_section_include_1_1.inner">
<h1 id="include_in_section_include_1_1.inner.test2">
Test2
</h1>
<h3 id="include_in_section_include_1_1.inner.simple_include">
Simple include
</h3>
</div>
</div>
</div>
<div id="section_include1">
<h3>
Include in section include 2
</h3>
<div class="toc">
<p>
<b>Table of contents</b>
</p>
<ul>
<li>
<a href="#section_include1.inner"><i>Untitled</i></a>
</li>
</ul>
</div>
<h1 id="section_include1.test1">
Test1
</h1>
<div id="section_include1.inner">
<div id="section_include1.inner">
<h1 id="section_include1.inner.test2">
Test2
</h1>
<h3 id="section_include1.inner.simple_include">
Simple include
</h3>
</div>
</div>
</div>
</div>
</body>
</html>

View File

@@ -0,0 +1,27 @@
<!DOCTYPE html>
<html>
<head></head>
<body>
<h3>
Include Id Test
</h3>
<h2 id="a.simple_include">
Simple include
</h2>
<h2 id="b.simple_include">
Simple include
</h2>
<h2 id="c.title__no_id">
Title, no id
</h2>
<h2 id="d.title__no_id">
Title, no id
</h2>
<h2 id="with-id.title_with_id">
Title with id
</h2>
<h2 id="with-id.title_with_id0">
Title with id
</h2>
</body>
</html>

View File

@@ -0,0 +1,66 @@
<!DOCTYPE html>
<html>
<head></head>
<body>
<h3>
Include Id Test
</h3>
<div class="toc">
<p>
<b>Table of contents</b>
</p>
<ul>
<li>
<a href="#c">Include without id</a>
</li>
<li>
<a href="#d">Include without id</a>
</li>
<li>
<a href="#e">Include with id</a>
</li>
<li>
<a href="#f">Include with id</a>
</li>
</ul>
</div>
<h2 id="a.simple_include">
Simple include
</h2>
<h2 id="b.simple_include">
Simple include
</h2>
<div id="c">
<h3>
Include without id
</h3>
<h2 id="c.title__no_id">
Title, no id
</h2>
</div>
<div id="d">
<h3>
Include without id
</h3>
<h2 id="d.title__no_id">
Title, no id
</h2>
</div>
<div id="e">
<h3>
Include with id
</h3>
<h2 id="e.title_with_id">
Title with id
</h2>
</div>
<div id="f">
<h3>
Include with id
</h3>
<h2 id="f.title_with_id">
Title with id
</h2>
</div>
</body>
</html>

View File

@@ -0,0 +1,89 @@
<!DOCTYPE html>
<html>
<head></head>
<body>
<h3>
Test include ids with unbalanced sections
</h3>
<div class="toc">
<p>
<b>Table of contents</b>
</p>
<ul>
<li>
<a href="#include1.inc1">Include 1</a>
</li>
<li>
<a href="#unbalanced.sect1">Section 1</a>
</li>
</ul>
</div>
<h2 id="include2a.inc2a_2">
Heading 2
</h2>
<h2 id="include2.inc2_3">
Heading 3
</h2>
<div id="include1.inc1">
<h3>
Include 1
</h3>
<div id="include1.inc1">
<h3 id="include1.inc1.inc1_1">
Heading 1
</h3>
<h3 id="include1a.inc1a_1">
Heading 1
</h3>
<h3 id="include1.inc1.x2">
X2
</h3>
</div>
<div id="include1a.inc1a">
<h3>
Include 1a
</h3>
<div id="include1a.inc1a">
<h4 id="include1a.inc1a.inc1a_2">
Heading 2
</h4>
<h4 id="include1a.inc1a.inc1_2">
Heading 2
</h4>
<h4 id="include1a.inc1a.x1">
X1
</h4>
</div>
</div>
</div>
<div id="unbalanced.sect1">
<h3>
Section 1
</h3>
<div id="unbalanced.sect1">
<h3 id="unbalanced.sect1.x1">
X1
</h3>
<h3 id="include2.inc2_2">
Heading 2
</h3>
<h3 id="include2a.inc2a_1">
Heading 1
</h3>
</div>
<div id="unbalanced.sect1.sect2">
<h3>
Section 2
</h3>
<div id="unbalanced.sect1.sect2">
<h4 id="unbalanced.sect1.sect2.x2">
X2
</h4>
<h4 id="include2.inc2_1">
Heading 1
</h4>
</div>
</div>
</div>
</body>
</html>

View File

@@ -0,0 +1,42 @@
<!DOCTYPE html>
<html>
<head></head>
<body>
<h3>
Macros Test 1.5
</h3>
<p>
Foo:macros-inc1.quickbook
</p>
<p>
Defined conditional phrase.
</p>
<ul>
<li>
<div>
__foo__
</div>
</li>
<li>
<div>
Defined template:macros-1.5.quickbook
</div>
</li>
<li>
<div>
__defined_macro__
</div>
</li>
<li>
<div>
[not_defined_template]
</div>
</li>
<li>
<div>
<span class="underline">_not_defined_macro__</span>
</div>
</li>
</ul>
</body>
</html>

View File

@@ -0,0 +1,69 @@
<!DOCTYPE html>
<html>
<head></head>
<body>
<h3>
Macros Test 1.6
</h3>
<p>
Foo:macros-inc1.quickbook
</p>
<p>
Defined conditional phrase.
</p>
<ul>
<li>
<div>
__foo__
</div>
</li>
<li>
<div>
[defined_template]
</div>
</li>
<li>
<div>
__defined_macro__
</div>
</li>
<li>
<div>
[not_defined_template]
</div>
</li>
<li>
<div>
<span class="underline">_not_defined_macro__</span>
</div>
</li>
</ul>
<ul>
<li>
<div>
Foo:macros-inc1.quickbook
</div>
</li>
<li>
<div>
Defined template:macros-1.6.quickbook
</div>
</li>
<li>
<div>
Defined macro:macros-inc1.quickbook
</div>
</li>
<li>
<div>
[not_defined_template]
</div>
</li>
<li>
<div>
<span class="underline">_not_defined_macro__</span>
</div>
</li>
</ul>
</body>
</html>

View File

@@ -0,0 +1,76 @@
<!DOCTYPE html>
<html>
<head></head>
<body>
<h3>
Nested Compatibility Test
</h3>
<div class="toc">
<p>
<b>Table of contents</b>
</p>
<ul>
<li>
<a href="#nested_compatibility_test.duplicate_name">Duplicate Name</a>
</li>
<li>
<a href="#nested_compatibility_test.duplicate_name0">Duplicate Name</a>
</li>
</ul>
</div>
<div id="nested_compatibility_test.duplicate_name">
<h3>
Duplicate Name
</h3>
<div id="nested_compatibility_test.duplicate_name">
</div>
<div id="nested_compatibility_test.duplicate_name.nested">
<h3>
Nested Section 1.5
</h3>
<div id="nested_compatibility_test.duplicate_name.nested">
<h4 id="nested_compatibility_test.duplicate_name.nested.nested_heading_1_5">
Nested Heading 1.5
</h4>
</div>
</div>
<div id="nested_compatibility_test.duplicate_name.nested0">
<h3>
Nested Section 1.6
</h3>
<div id="nested_compatibility_test.duplicate_name.nested0">
<h4 id="nested_compatibility_test.duplicate_name.nested0.nested_heading_1_6">
Nested Heading 1.6
</h4>
</div>
</div>
</div>
<div id="nested_compatibility_test.duplicate_name0">
<h3>
Duplicate Name
</h3>
<div id="nested_compatibility_test.duplicate_name0">
</div>
<div id="nested_compatibility_test.duplicate_name.nested1">
<h3>
Nested Section 1.5
</h3>
<div id="nested_compatibility_test.duplicate_name.nested1">
<h4 id="nested_compatibility_test.duplicate_name.nested.nested_heading_1_5_0">
Nested Heading 1.5
</h4>
</div>
</div>
<div id="nested_compatibility_test.duplicate_name.nested2">
<h3>
Nested Section 1.6
</h3>
<div id="nested_compatibility_test.duplicate_name.nested2">
<h4 id="nested_compatibility_test.duplicate_name.nested2.nested_heading_1_6">
Nested Heading 1.6
</h4>
</div>
</div>
</div>
</body>
</html>

View File

@@ -0,0 +1,76 @@
<!DOCTYPE html>
<html>
<head></head>
<body>
<h3>
Nested Compatibility Test
</h3>
<div class="toc">
<p>
<b>Table of contents</b>
</p>
<ul>
<li>
<a href="#nested_compatibility_test.duplicate_name">Duplicate Name</a>
</li>
<li>
<a href="#nested_compatibility_test.duplicate_name0">Duplicate Name</a>
</li>
</ul>
</div>
<div id="nested_compatibility_test.duplicate_name">
<h3>
Duplicate Name
</h3>
<div id="nested_compatibility_test.duplicate_name">
</div>
<div id="nested_compatibility_test.duplicate_name.nested">
<h3>
Nested Section 1.5
</h3>
<div id="nested_compatibility_test.duplicate_name.nested">
<h4 id="nested_compatibility_test.duplicate_name.nested.nested_heading_1_5">
Nested Heading 1.5
</h4>
</div>
</div>
<div id="nested_compatibility_test.duplicate_name.nested0">
<h3>
Nested Section 1.6
</h3>
<div id="nested_compatibility_test.duplicate_name.nested0">
<h4 id="nested_compatibility_test.duplicate_name.nested0.nested_heading_1_6">
Nested Heading 1.6
</h4>
</div>
</div>
</div>
<div id="nested_compatibility_test.duplicate_name0">
<h3>
Duplicate Name
</h3>
<div id="nested_compatibility_test.duplicate_name0">
</div>
<div id="nested_compatibility_test.duplicate_name0.nested">
<h3>
Nested Section 1.5
</h3>
<div id="nested_compatibility_test.duplicate_name0.nested">
<h4 id="nested_compatibility_test.duplicate_name0.nested.nested_heading_1_5">
Nested Heading 1.5
</h4>
</div>
</div>
<div id="nested_compatibility_test.duplicate_name0.nested0">
<h3>
Nested Section 1.6
</h3>
<div id="nested_compatibility_test.duplicate_name0.nested0">
<h4 id="nested_compatibility_test.duplicate_name0.nested0.nested_heading_1_6">
Nested Heading 1.6
</h4>
</div>
</div>
</div>
</body>
</html>

View File

@@ -0,0 +1,26 @@
<!DOCTYPE html>
<html>
<head></head>
<body>
<h3>
Include Section Test
</h3>
<div class="toc">
<p>
<b>Table of contents</b>
</p>
<ul>
<li>
<a href="#include_section_test.mulitple_file_section">Mulitple file section</a>
</li>
</ul>
</div>
<div id="include_section_test.mulitple_file_section">
<h3>
Mulitple file section
</h3>
<div id="include_section_test.mulitple_file_section">
</div>
</div>
</body>
</html>

View File

@@ -0,0 +1,26 @@
<!DOCTYPE html>
<html>
<head></head>
<body>
<h3>
Include Section Test
</h3>
<div class="toc">
<p>
<b>Table of contents</b>
</p>
<ul>
<li>
<a href="#include_section_test.mulitple_file_section">Mulitple file section</a>
</li>
</ul>
</div>
<div id="include_section_test.mulitple_file_section">
<h3>
Mulitple file section
</h3>
<div id="include_section_test.mulitple_file_section">
</div>
</div>
</body>
</html>

View File

@@ -0,0 +1,12 @@
<!DOCTYPE html>
<html>
<head></head>
<body>
<h3>
Souce Mode Include
</h3>
<pre class="programlisting">void main() {}</pre>
<pre class="programlisting">void main() {}
</pre>
</body>
</html>

View File

@@ -0,0 +1,27 @@
<!DOCTYPE html>
<html>
<head></head>
<body>
<h3>
Souce Mode Include
</h3>
<div class="toc">
<p>
<b>Table of contents</b>
</p>
<ul>
<li>
<a href="#source_include_with_no_source_mode">Source include with no source-mode</a>
</li>
</ul>
</div>
<pre class="programlisting">void main() {}
</pre>
<div id="source_include_with_no_source_mode">
<h3>
Source include with no source-mode
</h3>
<pre class="programlisting"><span class="keyword">void</span> <span class="identifier">main</span><span class="special">()</span> <span class="special">{}</span></pre>
</div>
</body>
</html>

View File

@@ -0,0 +1,14 @@
<!DOCTYPE html>
<html>
<head></head>
<body>
<h3>
Template include test
</h3>
<h2 id="template_include_test.simple_include">
Simple include
</h2>
<pre class="programlisting"><span class="keyword">void</span> <span class="identifier">main</span><span class="special">()</span> <span class="special">{}</span>
</pre>
</body>
</html>

View File

@@ -0,0 +1,15 @@
<!DOCTYPE html>
<html>
<head></head>
<body>
<h3>
Templates 1.5
</h3>
<p>
Inline:templates-inc1.quickbook
</p>
<p>
Foo:templates-1.5.quickbook
</p>
</body>
</html>

View File

@@ -0,0 +1,18 @@
<!DOCTYPE html>
<html>
<head></head>
<body>
<h3>
Templates 1.6
</h3>
<p>
Inline:templates-inc1.quickbook
</p>
<p>
[foo]
</p>
<p>
Foo:templates-1.6.quickbook
</p>
</body>
</html>

View File

@@ -0,0 +1,50 @@
<!DOCTYPE html>
<html>
<head></head>
<body>
<h3>
Include Test
</h3>
<div class="toc">
<p>
<b>Table of contents</b>
</p>
<ul>
<li>
<a href="#include-sub">Include Test Sub Document</a>
</li>
<li>
<a href="#include-test.test">Test</a>
</li>
<li>
<a href="#foo.test">Test</a>
</li>
</ul>
</div>
<div id="include-sub">
<h3>
Include Test Sub Document
</h3>
</div>
<div id="include-test.test">
<h3>
Test
</h3>
<div id="include-test.test">
<p>
Just testing.
</p>
</div>
</div>
<div id="foo.test">
<h3>
Test
</h3>
<div id="foo.test">
<p>
Just testing.
</p>
</div>
</div>
</body>
</html>

68
test/link-1_1.gold.html Normal file
View File

@@ -0,0 +1,68 @@
<!DOCTYPE html>
<html>
<head></head>
<body>
<h3>
Link tests
</h3>
<div class="toc">
<p>
<b>Table of contents</b>
</p>
<ul>
<li>
<a href="#link_tests.different_types_of_links">Different types of links</a>
</li>
<li>
<a href="#link_tests.side_by_side_links">Side-by-side links</a>
</li>
<li>
<a href="#link_tests.escaping_links">Escaping links</a>
</li>
</ul>
</div>
<div id="link_tests.different_types_of_links">
<h3>
Different types of links
</h3>
<div id="link_tests.different_types_of_links">
<p>
<a href="http://www.boost.org/">http://www.boost.org/</a> <a href="http://www.boost.org/">Boost</a>
<a href="#link-id">link-id</a> <a href="#link-id">Link Text</a> <span id="link-id"></span>foo
link text <code>foo</code> <code>link text</code> foo link text foo link
text foo link text foo link text foo link text foo link text
</p>
<p>
<a>description</a>
</p>
</div>
</div>
<div id="link_tests.side_by_side_links">
<h3>
Side-by-side links
</h3>
<div id="link_tests.side_by_side_links">
<p>
<a>x</a> and <a>y</a> are two distinct links, which should be separated
by whitespace when they appear together as in <a>x</a> <a>y</a>. Also in
<a>x</a> <a>y</a>, and in <a>x</a> <a>y</a> as well.
</p>
</div>
</div>
<div id="link_tests.escaping_links">
<h3>
Escaping links
</h3>
<div id="link_tests.escaping_links">
<ul>
<li>
<div>
<a href="http://svn.boost.org/trac/boost/query?status=closed&amp;milestone=Boost+1.34.1">Boost
Trac</a>
</div>
</li>
</ul>
</div>
</div>
</body>
</html>

71
test/link-1_6.gold.html Normal file
View File

@@ -0,0 +1,71 @@
<!DOCTYPE html>
<html>
<head></head>
<body>
<h3>
Link tests
</h3>
<div class="toc">
<p>
<b>Table of contents</b>
</p>
<ul>
<li>
<a href="#link_tests.different_types_of_links">Different types of links</a>
</li>
<li>
<a href="#link_tests.side_by_side_links">Side-by-side links</a>
</li>
<li>
<a href="#link_tests.escaping_links">Escaping links</a>
</li>
</ul>
</div>
<div id="link_tests.different_types_of_links">
<h3>
Different types of links
</h3>
<div id="link_tests.different_types_of_links">
<p>
<a href="http://www.boost.org/">http://www.boost.org/</a> <a href="http://www.boost.org/">Boost</a>
<a href="#link-id">link-id</a> <a href="#link-id">Link Text</a> <span id="link-id"></span>foo
link text <code>foo</code> <code>link text</code> foo link text foo link
text foo link text foo link text foo link text foo link text
</p>
<p>
<a>description</a>
</p>
<p>
<a>description</a>
</p>
</div>
</div>
<div id="link_tests.side_by_side_links">
<h3>
Side-by-side links
</h3>
<div id="link_tests.side_by_side_links">
<p>
<a>x</a> and <a>y</a> are two distinct links, which should be separated
by whitespace when they appear together as in <a>x</a> <a>y</a>. Also in
<a>x</a> <a>y</a>, and in <a>x</a> <a>y</a> as well.
</p>
</div>
</div>
<div id="link_tests.escaping_links">
<h3>
Escaping links
</h3>
<div id="link_tests.escaping_links">
<ul>
<li>
<div>
<a href="http://svn.boost.org/trac/boost/query?status=closed&amp;milestone=Boost+1.34.1">Boost
Trac</a>
</div>
</li>
</ul>
</div>
</div>
</body>
</html>

84
test/link-1_7.gold.html Normal file
View File

@@ -0,0 +1,84 @@
<!DOCTYPE html>
<html>
<head></head>
<body>
<h3>
Link tests
</h3>
<div class="toc">
<p>
<b>Table of contents</b>
</p>
<ul>
<li>
<a href="#link_tests.different_types_of_links">Different types of links</a>
</li>
<li>
<a href="#link_tests.side_by_side_links">Side-by-side links</a>
</li>
<li>
<a href="#link_tests.templates_is_links">Templates is links....</a>
</li>
<li>
<a href="#link_tests.escaping_links">Escaping links</a>
</li>
</ul>
</div>
<div id="link_tests.different_types_of_links">
<h3>
Different types of links
</h3>
<div id="link_tests.different_types_of_links">
<p>
<a href="http://www.boost.org/">http://www.boost.org/</a> <a href="http://www.boost.org/">Boost</a>
<a href="#link-id">link-id</a> <a href="#link-id">Link Text</a> <span id="link-id"></span>foo
link text <code>foo</code> <code>link text</code> foo link text foo link
text foo link text foo link text foo link text foo link text
</p>
<p>
<a>description</a>
</p>
</div>
</div>
<div id="link_tests.side_by_side_links">
<h3>
Side-by-side links
</h3>
<div id="link_tests.side_by_side_links">
<p>
<a>x</a> and <a>y</a> are two distinct links, which should be separated
by whitespace when they appear together as in <a>x</a> <a>y</a>. Also in
<a>x</a> <a>y</a>, and in <a>x</a> <a>y</a> as well.
</p>
</div>
</div>
<div id="link_tests.templates_is_links">
<h3>
Templates is links....
</h3>
<div id="link_tests.templates_is_links">
<p>
<a>Templated link?</a>
</p>
<p>
<a>something-one-two</a> <a>something-one-two</a> <a>something-one-two</a>
</p>
</div>
</div>
<div id="link_tests.escaping_links">
<h3>
Escaping links
</h3>
<div id="link_tests.escaping_links">
<ul>
<li>
<div>
<a href="http://svn.boost.org/trac/boost/query?status=closed&amp;milestone=Boost+1.34.1">Boost
Trac</a>
</div>
</li>
</ul>
</div>
</div>
</body>
</html>

View File

@@ -0,0 +1,432 @@
<!DOCTYPE html>
<html>
<head></head>
<body>
<h3>
List Test
</h3>
<div class="toc">
<p>
<b>Table of contents</b>
</p>
<ul>
<li>
<a href="#list_test.list_immediately_following_markup">List immediately
following markup</a>
</li>
<li>
<a href="#list_test.list_immediately_following_markup_2">List immediately
following markup 2</a>
</li>
</ul>
</div>
<p>
Simple list:
</p>
<ul>
<li>
<div>
A
</div>
</li>
<li>
<div>
B
</div>
</li>
</ul>
<p>
Simple list:
</p>
<ol>
<li>
<div>
A
</div>
</li>
<li>
<div>
B
</div>
</li>
</ol>
<p>
Two level list:
</p>
<ul>
<li>
<div>
A
<ul>
<li>
<div>
A
</div>
</li>
<li>
<div>
B
</div>
</li>
</ul>
</div>
</li>
<li>
<div>
B
<ul>
<li>
<div>
A
</div>
</li>
<li>
<div>
B
</div>
</li>
</ul>
</div>
</li>
</ul>
<p>
Two level list:
</p>
<ol>
<li>
<div>
A
<ul>
<li>
<div>
A
</div>
</li>
<li>
<div>
B
</div>
</li>
</ul>
</div>
</li>
<li>
<div>
B
<ul>
<li>
<div>
A
</div>
</li>
<li>
<div>
B
</div>
</li>
</ul>
</div>
</li>
</ol>
<p>
Three level list:
</p>
<ol>
<li>
<div>
A
<ul>
<li>
<div>
A
</div>
</li>
<li>
<div>
B
<ul>
<li>
<div>
C
</div>
</li>
<li>
<div>
D
</div>
</li>
</ul>
</div>
</li>
<li>
<div>
E
</div>
</li>
<li>
<div>
F
<ul>
<li>
<div>
G
</div>
</li>
<li>
<div>
H
</div>
</li>
</ul>
</div>
</li>
</ul>
</div>
</li>
</ol>
<p>
Three level list:
</p>
<ol>
<li>
<div>
A
<ul>
<li>
<div>
A
</div>
</li>
<li>
<div>
B
<ol>
<li>
<div>
C
</div>
</li>
<li>
<div>
D
</div>
</li>
</ol>
</div>
</li>
</ul>
</div>
</li>
<li>
<div>
G
</div>
</li>
<li>
<div>
H
</div>
</li>
</ol>
<p>
Inconsistent Indentation:
</p>
<ul>
<li>
<div>
A1
<ul>
<li>
<div>
B1
</div>
</li>
<li>
<div>
B2
<ul>
<li>
<div>
C1
</div>
</li>
<li>
<div>
C2
</div>
</li>
</ul>
</div>
</li>
<li>
<div>
B3
</div>
</li>
<li>
<div>
B4
</div>
</li>
<li>
<div>
B5
<ul>
<li>
<div>
C3
</div>
</li>
</ul>
</div>
</li>
<li>
<div>
B6
</div>
</li>
</ul>
</div>
</li>
<li>
<div>
A2
</div>
</li>
<li>
<div>
A3
</div>
</li>
</ul>
<p>
Markup in list:
</p>
<ul>
<li>
<div>
<span class="bold"><strong>Bold</strong></span>
</div>
</li>
<li>
<div>
<span class="bold"><strong>Bold</strong></span>
</div>
</li>
<li>
<div>
<q>Quoted</q>
</div>
</li>
<li>
<div>
<a id="list_test.f0" href="#footnote-1"><sup class="footnote">[1]</sup></a>
</div>
</li>
</ul>
<p>
Don't end list with comment 1:
</p>
<ul>
<li>
<div>
A1
</div>
</li>
<li>
<div>
A2
</div>
</li>
<li>
<div>
A3
</div>
</li>
<li>
<div>
A4
</div>
</li>
</ul>
<p>
Don't end list with comment 2:
</p>
<ul>
<li>
<div>
A1
<ul>
<li>
<div>
B1
</div>
</li>
<li>
<div>
B2
</div>
</li>
<li>
<div>
B3
</div>
</li>
</ul>
</div>
</li>
</ul>
<div id="list_test.list_immediately_following_markup">
<h3>
List immediately following markup
</h3>
<div id="list_test.list_immediately_following_markup">
<ul>
<li>
<div>
One
</div>
</li>
<li>
<div>
Two
</div>
</li>
<li>
<div>
Three
</div>
</li>
</ul>
</div>
</div>
<div id="list_test.list_immediately_following_markup_2">
<h3>
List immediately following markup 2
</h3>
<div id="list_test.list_immediately_following_markup_2">
<ul>
<li>
<div>
One [section Nested section]
</div>
</li>
<li>
<div>
Two [endsect]
</div>
</li>
</ul>
</div>
</div>
<div class="footnotes">
<br/>
<hr/>
<div id="footnote-1" class="footnote">
<p>
<a href="#list_test.f0"><sup>[1]</sup></a> Footnote
</p>
</div>
</div>
</body>
</html>

View File

@@ -0,0 +1,480 @@
<!DOCTYPE html>
<html>
<head></head>
<body>
<h3>
List Test
</h3>
<div class="toc">
<p>
<b>Table of contents</b>
</p>
<ul>
<li>
<a href="#list_test.list_immediately_following_marku">List immediately
following markup</a>
</li>
<li>
<a href="#list_test.list_immediately_following_mark0">List immediately
following markup 2</a>
</li>
</ul>
</div>
<p>
Simple list:
</p>
<ul>
<li>
<div>
A
</div>
</li>
<li>
<div>
B
</div>
</li>
</ul>
<p>
Simple list:
</p>
<ol>
<li>
<div>
A
</div>
</li>
<li>
<div>
B
</div>
</li>
</ol>
<p>
Two level list:
</p>
<ul>
<li>
<div>
A
<ul>
<li>
<div>
A
</div>
</li>
<li>
<div>
B
</div>
</li>
</ul>
</div>
</li>
<li>
<div>
B
<ul>
<li>
<div>
A
</div>
</li>
<li>
<div>
B
</div>
</li>
</ul>
</div>
</li>
</ul>
<p>
Two level list:
</p>
<ol>
<li>
<div>
A
<ul>
<li>
<div>
A
</div>
</li>
<li>
<div>
B
</div>
</li>
</ul>
</div>
</li>
<li>
<div>
B
<ul>
<li>
<div>
A
</div>
</li>
<li>
<div>
B
</div>
</li>
</ul>
</div>
</li>
</ol>
<p>
Three level list:
</p>
<ol>
<li>
<div>
A
<ul>
<li>
<div>
A
</div>
</li>
<li>
<div>
B
<ul>
<li>
<div>
C
</div>
</li>
<li>
<div>
D
</div>
</li>
</ul>
</div>
</li>
<li>
<div>
E
</div>
</li>
<li>
<div>
F
<ul>
<li>
<div>
G
</div>
</li>
<li>
<div>
H
</div>
</li>
</ul>
</div>
</li>
</ul>
</div>
</li>
</ol>
<p>
Three level list:
</p>
<ol>
<li>
<div>
A
<ul>
<li>
<div>
A
</div>
</li>
<li>
<div>
B
<ol>
<li>
<div>
C
</div>
</li>
<li>
<div>
D
</div>
</li>
</ol>
</div>
</li>
</ul>
</div>
</li>
<li>
<div>
G
</div>
</li>
<li>
<div>
H
</div>
</li>
</ol>
<p>
Inconsistent Indentation:
</p>
<ul>
<li>
<div>
A1
<ul>
<li>
<div>
B1
</div>
</li>
<li>
<div>
B2
<ul>
<li>
<div>
C1
</div>
</li>
<li>
<div>
C2
</div>
</li>
</ul>
</div>
</li>
<li>
<div>
B3
</div>
</li>
<li>
<div>
B4
</div>
</li>
<li>
<div>
B5
<ul>
<li>
<div>
C3
</div>
</li>
</ul>
</div>
</li>
<li>
<div>
B6
</div>
</li>
</ul>
</div>
</li>
<li>
<div>
A2
</div>
</li>
<li>
<div>
A3
</div>
</li>
</ul>
<p>
Markup in list:
</p>
<ul>
<li>
<div>
<span class="bold"><strong>Bold</strong></span>
</div>
</li>
<li>
<div>
<span class="bold"><strong>Bold</strong></span>
</div>
</li>
<li>
<div>
<q>Quoted</q>
</div>
</li>
<li>
<div>
<a id="list_test.f0" href="#footnote-1"><sup class="footnote">[1]</sup></a>
</div>
</li>
<li>
<div class="informaltable">
<table>
<thead>
<tr>
<th>
<p>
Heading
</p>
</th>
</tr>
</thead>
<tbody>
<tr>
<td>
<p>
Cell
</p>
</td>
</tr>
</tbody>
</table>
</div>
<div>
Some text.
</div>
</li>
<li>
<div>
[section Doesn't expand] Blah, blah. [endsect]
</div>
</li>
<li>
<div>
Paragraph cheat 1.
</div>
<div>
Paragraph cheat 2.
</div>
</li>
<li>
<div>
Paragraph cheat 3.
</div>
<div>
Paragraph cheat 4.
</div>
</li>
</ul>
<p>
Don't end list with comment 1:
</p>
<ul>
<li>
<div>
A1
</div>
</li>
<li>
<div>
A2
</div>
</li>
<li>
<div>
A3
</div>
</li>
<li>
<div>
A4
</div>
</li>
</ul>
<p>
Don't end list with comment 2:
</p>
<ul>
<li>
<div>
A1
<ul>
<li>
<div>
B1
</div>
</li>
<li>
<div>
B2
</div>
</li>
<li>
<div>
B3
</div>
</li>
</ul>
</div>
</li>
</ul>
<div id="list_test.list_immediately_following_marku">
<h3>
List immediately following markup
</h3>
<div id="list_test.list_immediately_following_marku">
<ul>
<li>
<div>
One
</div>
</li>
<li>
<div>
Two
</div>
</li>
<li>
<div>
Three
</div>
</li>
</ul>
</div>
</div>
<div id="list_test.list_immediately_following_mark0">
<h3>
List immediately following markup 2
</h3>
<div id="list_test.list_immediately_following_mark0">
<ul>
<li>
<div>
One [section Nested section]
</div>
</li>
<li>
<div>
Two [endsect]
</div>
</li>
</ul>
</div>
</div>
<div class="footnotes">
<br/>
<hr/>
<div id="footnote-1" class="footnote">
<p>
<a href="#list_test.f0"><sup>[1]</sup></a> Footnote
</p>
</div>
</div>
</body>
</html>

View File

@@ -0,0 +1,507 @@
<!DOCTYPE html>
<html>
<head></head>
<body>
<h3>
List Test
</h3>
<div class="toc">
<p>
<b>Table of contents</b>
</p>
<ul>
<li>
<a href="#list_test.paragraphs_in_list_items">Paragraphs in list items</a>
</li>
<li>
<a href="#list_test.indented_code_blocks_in_lists">Indented code blocks
in lists</a>
</li>
</ul>
</div>
<p>
Simple list:
</p>
<ul>
<li>
<div>
A
</div>
</li>
<li>
<div>
B
</div>
</li>
</ul>
<p>
Simple list:
</p>
<ol>
<li>
<div>
A
</div>
</li>
<li>
<div>
B
</div>
</li>
</ol>
<p>
Two level list:
</p>
<ul>
<li>
<div>
A
<ul>
<li>
<div>
A
</div>
</li>
<li>
<div>
B
</div>
</li>
</ul>
</div>
</li>
<li>
<div>
B
<ul>
<li>
<div>
A
</div>
</li>
<li>
<div>
B
</div>
</li>
</ul>
</div>
</li>
</ul>
<p>
Two level list:
</p>
<ol>
<li>
<div>
A
<ul>
<li>
<div>
A
</div>
</li>
<li>
<div>
B
</div>
</li>
</ul>
</div>
</li>
<li>
<div>
B
<ul>
<li>
<div>
A
</div>
</li>
<li>
<div>
B
</div>
</li>
</ul>
</div>
</li>
</ol>
<p>
Three level list:
</p>
<ol>
<li>
<div>
A
<ul>
<li>
<div>
A
</div>
</li>
<li>
<div>
B
<ul>
<li>
<div>
C
</div>
</li>
<li>
<div>
D
</div>
</li>
</ul>
</div>
</li>
<li>
<div>
E
</div>
</li>
<li>
<div>
F
<ul>
<li>
<div>
G
</div>
</li>
<li>
<div>
H
</div>
</li>
</ul>
</div>
</li>
</ul>
</div>
</li>
</ol>
<p>
Three level list:
</p>
<ol>
<li>
<div>
A
<ul>
<li>
<div>
A
</div>
</li>
<li>
<div>
B
<ol>
<li>
<div>
C
</div>
</li>
<li>
<div>
D
</div>
</li>
</ol>
</div>
</li>
</ul>
</div>
</li>
<li>
<div>
G
</div>
</li>
<li>
<div>
H
</div>
</li>
</ol>
<p>
Inconsistent Indentation:
</p>
<ul>
<li>
<div>
A1
<ul>
<li>
<div>
B1
</div>
</li>
<li>
<div>
B2
<ul>
<li>
<div>
C1
</div>
</li>
<li>
<div>
C2
</div>
</li>
</ul>
</div>
</li>
<li>
<div>
B3
</div>
</li>
<li>
<div>
B4
</div>
</li>
<li>
<div>
B5
<ul>
<li>
<div>
C3
</div>
</li>
</ul>
</div>
</li>
<li>
<div>
B6
</div>
</li>
</ul>
</div>
</li>
<li>
<div>
A2
</div>
</li>
<li>
<div>
A3
</div>
</li>
</ul>
<p>
Markup in list:
</p>
<ul>
<li>
<div>
<span class="bold"><strong>Bold</strong></span>
</div>
</li>
<li>
<div>
<span class="bold"><strong>Bold</strong></span>
</div>
</li>
<li>
<div>
<q>Quoted</q>
</div>
</li>
<li>
<div>
<a id="list_test.f0" href="#footnote-1"><sup class="footnote">[1]</sup></a>
</div>
</li>
<li>
<div class="informaltable">
<table>
<thead>
<tr>
<th>
<p>
Heading
</p>
</th>
</tr>
</thead>
<tbody>
<tr>
<td>
<p>
Cell
</p>
</td>
</tr>
</tbody>
</table>
</div>
</li>
<li>
<h2 id="list_test.the_heading_for_a_list_item">
The heading for a list item
</h2>
<div>
The content of the list item.
</div>
</li>
</ul>
<p>
Don't end list with comment 1:
</p>
<ul>
<li>
<div>
A1
</div>
</li>
<li>
<div>
A2
</div>
</li>
<li>
<div>
A3
</div>
</li>
<li>
<div>
A4
</div>
</li>
</ul>
<p>
Don't end list with comment 2:
</p>
<ul>
<li>
<div>
A1
<ul>
<li>
<div>
B1
</div>
</li>
<li>
<div>
B2
</div>
</li>
<li>
<div>
B3
</div>
</li>
</ul>
</div>
</li>
</ul>
<div id="list_test.paragraphs_in_list_items">
<h3>
Paragraphs in list items
</h3>
<div id="list_test.paragraphs_in_list_items">
<ul>
<li>
<div>
A1
</div>
<div>
A2
</div>
</li>
<li>
<div>
B1
<ul>
<li>
<div>
C1
</div>
<div>
C2
</div>
</li>
</ul>
</div>
<div>
B2
</div>
</li>
<li>
<div>
D1
<ul>
<li>
<div>
E1
</div>
<div>
E2
</div>
<div>
E3
</div>
</li>
</ul>
</div>
<div>
D2
</div>
</li>
</ul>
</div>
</div>
<div id="list_test.indented_code_blocks_in_lists">
<h3>
Indented code blocks in lists
</h3>
<div id="list_test.indented_code_blocks_in_lists">
<ul>
<li>
<div>
A
</div>
<pre class="programlisting"><span class="identifier">B</span>
</pre>
<div>
C
</div>
</li>
<li>
<div>
D
</div>
<pre class="programlisting"><span class="identifier">E</span>
</pre>
</li>
<li>
<div>
F
</div>
</li>
</ul>
</div>
</div>
<div class="footnotes">
<br/>
<hr/>
<div id="footnote-1" class="footnote">
<p>
<a href="#list_test.f0"><sup>[1]</sup></a> Footnote
</p>
</div>
</div>
</body>
</html>

30
test/macro-1_5.gold.html Normal file
View File

@@ -0,0 +1,30 @@
<!DOCTYPE html>
<html>
<head></head>
<body>
<h3>
Macro Test
</h3>
<p>
1
</p>
<p>
2
</p>
<p>
two
</p>
<p>
1
</p>
<p>
1
</p>
<p>
1
</p>
<p>
1 2
</p>
</body>
</html>

30
test/macro-1_6.gold.html Normal file
View File

@@ -0,0 +1,30 @@
<!DOCTYPE html>
<html>
<head></head>
<body>
<h3>
Macro Test
</h3>
<p>
1
</p>
<p>
2
</p>
<p>
two
</p>
<p>
2
</p>
<p>
3
</p>
<p>
2
</p>
<p>
[1] \m2
</p>
</body>
</html>

Some files were not shown because too many files have changed in this diff Show More