quickbook/test/list_test-1_6.gold
Daniel James 25e37cd618 Generate simpara for ordered_list and itemized_list.
Also fixes block elements nested in lists.

[SVN r85326]
2013-08-12 21:35:29 +00:00

451 lines
9.1 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//Boost//DTD BoostBook XML V1.0//EN" "http://www.boost.org/tools/boostbook/dtd/boostbook.dtd">
<article id="list_test" last-revision="DEBUG MODE Date: 2000/12/20 12:00:00 $" xmlns:xi="http://www.w3.org/2001/XInclude">
<title>List Test</title>
<para>
Simple list:
</para>
<itemizedlist>
<listitem>
<simpara>
A
</simpara>
</listitem>
<listitem>
<simpara>
B
</simpara>
</listitem>
</itemizedlist>
<para>
Simple list:
</para>
<orderedlist>
<listitem>
<simpara>
A
</simpara>
</listitem>
<listitem>
<simpara>
B
</simpara>
</listitem>
</orderedlist>
<para>
Two level list:
</para>
<itemizedlist>
<listitem>
<simpara>
A
<itemizedlist>
<listitem>
<simpara>
A
</simpara>
</listitem>
<listitem>
<simpara>
B
</simpara>
</listitem>
</itemizedlist>
</simpara>
</listitem>
<listitem>
<simpara>
B
<itemizedlist>
<listitem>
<simpara>
A
</simpara>
</listitem>
<listitem>
<simpara>
B
</simpara>
</listitem>
</itemizedlist>
</simpara>
</listitem>
</itemizedlist>
<para>
Two level list:
</para>
<orderedlist>
<listitem>
<simpara>
A
<itemizedlist>
<listitem>
<simpara>
A
</simpara>
</listitem>
<listitem>
<simpara>
B
</simpara>
</listitem>
</itemizedlist>
</simpara>
</listitem>
<listitem>
<simpara>
B
<itemizedlist>
<listitem>
<simpara>
A
</simpara>
</listitem>
<listitem>
<simpara>
B
</simpara>
</listitem>
</itemizedlist>
</simpara>
</listitem>
</orderedlist>
<para>
Three level list:
</para>
<orderedlist>
<listitem>
<simpara>
A
<itemizedlist>
<listitem>
<simpara>
A
</simpara>
</listitem>
<listitem>
<simpara>
B
<itemizedlist>
<listitem>
<simpara>
C
</simpara>
</listitem>
<listitem>
<simpara>
D
</simpara>
</listitem>
</itemizedlist>
</simpara>
</listitem>
<listitem>
<simpara>
E
</simpara>
</listitem>
<listitem>
<simpara>
F
<itemizedlist>
<listitem>
<simpara>
G
</simpara>
</listitem>
<listitem>
<simpara>
H
</simpara>
</listitem>
</itemizedlist>
</simpara>
</listitem>
</itemizedlist>
</simpara>
</listitem>
</orderedlist>
<para>
Three level list:
</para>
<orderedlist>
<listitem>
<simpara>
A
<itemizedlist>
<listitem>
<simpara>
A
</simpara>
</listitem>
<listitem>
<simpara>
B
<orderedlist>
<listitem>
<simpara>
C
</simpara>
</listitem>
<listitem>
<simpara>
D
</simpara>
</listitem>
</orderedlist>
</simpara>
</listitem>
</itemizedlist>
</simpara>
</listitem>
<listitem>
<simpara>
G
</simpara>
</listitem>
<listitem>
<simpara>
H
</simpara>
</listitem>
</orderedlist>
<para>
Inconsistent Indentation:
</para>
<itemizedlist>
<listitem>
<simpara>
A1
<itemizedlist>
<listitem>
<simpara>
B1
</simpara>
</listitem>
<listitem>
<simpara>
B2
<itemizedlist>
<listitem>
<simpara>
C1
</simpara>
</listitem>
<listitem>
<simpara>
C2
</simpara>
</listitem>
</itemizedlist>
</simpara>
</listitem>
<listitem>
<simpara>
B3
</simpara>
</listitem>
<listitem>
<simpara>
B4
</simpara>
</listitem>
<listitem>
<simpara>
B5
<itemizedlist>
<listitem>
<simpara>
C3
</simpara>
</listitem>
</itemizedlist>
</simpara>
</listitem>
<listitem>
<simpara>
B6
</simpara>
</listitem>
</itemizedlist>
</simpara>
</listitem>
<listitem>
<simpara>
A2
</simpara>
</listitem>
<listitem>
<simpara>
A3
</simpara>
</listitem>
</itemizedlist>
<para>
Markup in list:
</para>
<itemizedlist>
<listitem>
<simpara>
<emphasis role="bold">Bold</emphasis>
</simpara>
</listitem>
<listitem>
<simpara>
<emphasis role="bold">Bold</emphasis>
</simpara>
</listitem>
<listitem>
<simpara>
<quote>Quoted</quote>
</simpara>
</listitem>
<listitem>
<simpara>
<footnote id="list_test.f0">
<para>
Footnote
</para>
</footnote>
</simpara>
</listitem>
<listitem>
<informaltable frame="all">
<tgroup cols="1">
<thead>
<row>
<entry>
<para>
Heading
</para>
</entry>
</row>
</thead>
<tbody>
<row>
<entry>
<para>
Cell
</para>
</entry>
</row>
</tbody>
</tgroup>
</informaltable>
<simpara>
Some text.
</simpara>
</listitem>
<listitem>
<simpara>
[section Doesn't expand] Blah, blah. [endsect]
</simpara>
</listitem>
<listitem>
<simpara>
Paragraph cheat 1.
</simpara>
<simpara>
Paragraph cheat 2.
</simpara>
</listitem>
<listitem>
<simpara>
Paragraph cheat 3.
</simpara>
<simpara>
Paragraph cheat 4.
</simpara>
</listitem>
</itemizedlist>
<para>
Don't end list with comment 1:
</para>
<itemizedlist>
<listitem>
<simpara>
A1
</simpara>
</listitem>
<listitem>
<simpara>
A2
</simpara>
</listitem>
<listitem>
<simpara>
A3
</simpara>
</listitem>
<listitem>
<simpara>
A4
</simpara>
</listitem>
</itemizedlist>
<para>
Don't end list with comment 2:
</para>
<itemizedlist>
<listitem>
<simpara>
A1
<itemizedlist>
<listitem>
<simpara>
B1
</simpara>
</listitem>
<listitem>
<simpara>
B2
</simpara>
</listitem>
<listitem>
<simpara>
B3
</simpara>
</listitem>
</itemizedlist>
</simpara>
</listitem>
</itemizedlist>
<section id="list_test.list_immediately_following_marku">
<title><link linkend="list_test.list_immediately_following_marku">List immediately
following markup</link></title>
<itemizedlist>
<listitem>
<simpara>
One
</simpara>
</listitem>
<listitem>
<simpara>
Two
</simpara>
</listitem>
<listitem>
<simpara>
Three
</simpara>
</listitem>
</itemizedlist>
</section>
<section id="list_test.list_immediately_following_mark0">
<title><link linkend="list_test.list_immediately_following_mark0">List immediately
following markup 2</link></title>
<itemizedlist>
<listitem>
<simpara>
One [section Nested section]
</simpara>
</listitem>
<listitem>
<simpara>
Two [endsect]
</simpara>
</listitem>
</itemizedlist>
</section>
</article>