1 <book xmlns="http://docbook.org/ns/docbook" version="5.0">
\r
2 <info><title>Unit Test: refentry.007</title>
\r
4 <releaseinfo role="CVS">$Id: refentry.007.xml 7282 2007-08-23 09:27:01Z xmldoc $</releaseinfo>
\r
5 <author><personname><firstname>Norman</firstname><surname>Walsh</surname></personname><affiliation><address><email>ndw@nwalsh.com</email></address></affiliation></author>
\r
7 <reference><info><title>Reference</title></info>
\r
12 <author><personname><firstname>Norman</firstname><surname>Walsh</surname></personname><email>ndw@nwalsh.com</email><personblurb>
\r
13 <para>Wrote the original version of this document.</para>
\r
14 </personblurb></author>
\r
15 <editor><personname><firstname>Michael(tm)</firstname><surname>Smith</surname></personname><contrib>Added a bunch of test cases.</contrib><email>smith@sideshowbarker.net</email></editor>
\r
19 <holder>Norman Walsh</holder>
\r
23 <holder>Michael(tm) Smith</holder>
\r
26 <para>This file is a product of the DocBook Project.</para>
\r
29 <para>Share and share alike.</para>
\r
33 <refname>FirstName</refname>
\r
34 <refname>SecondName</refname>
\r
35 <refpurpose>Purpose for FirstName</refpurpose>
\r
39 <refname>ThirdName</refname>
\r
40 <refpurpose>Purpose for ThirdName</refpurpose>
\r
46 <!-- * Yes, friend, Funcsynopsis is a verbatim -->
\r
47 <funcsynopsisinfo>#include <varargs.h>
\r
48 #include <mouteyh.h>
\r
49 #include <qlmppzj.h></funcsynopsisinfo>
\r
51 <funcdef><type>float</type> <function>rand</function></funcdef>
\r
56 <funcdef>int <function>max</function></funcdef>
\r
61 <funcdef>int <function>idiv</function></funcdef>
\r
62 <paramdef><type>int</type> <parameter>n</parameter></paramdef>
\r
63 <paramdef><type>int</type> <parameter>m</parameter></paramdef>
\r
67 <para>Another.</para>
\r
71 <funcdef>void <function>qsort</function></funcdef>
\r
72 <paramdef>void *<parameter>dataptr</parameter>[]</paramdef>
\r
73 <paramdef>int <parameter>left</parameter></paramdef>
\r
74 <paramdef>int <parameter>right</parameter></paramdef>
\r
75 <paramdef>int (*<parameter>comp</parameter>)
\r
76 <funcparams>void *, void *</funcparams></paramdef>
\r
82 <funcdef>int <function>foo_frob_something</function></funcdef>
\r
83 <paramdef>foo_sometype1 <parameter>foo_frob_parm1</parameter></paramdef>
\r
84 <paramdef>foo_sometype1 <parameter>foo_frob_parm2</parameter></paramdef>
\r
85 <paramdef>foo_sometype1 <parameter>foo_frob_parm3</parameter></paramdef>
\r
86 <paramdef><type>int</type> (* <parameter>parm4</parameter> )
\r
87 <funcparams>int a, int b, int c</funcparams>
\r
89 <paramdef>foo_sometype1 <parameter>foo_frob_parm5</parameter></paramdef>
\r
93 <funcdef>int <function>foo_frob_something</function></funcdef>
\r
94 <paramdef>foo_sometype1 <parameter>foo_frob_parm1</parameter></paramdef>
\r
95 <paramdef>foo_sometype1 <parameter>foo_frob_parm2</parameter></paramdef>
\r
96 <paramdef>foo_sometype1 <parameter>foo_frob_parm3</parameter></paramdef>
\r
97 <paramdef><type>int</type> (* <parameter>parm4</parameter> )
\r
98 <funcparams>int a, int b, int c</funcparams>
\r
100 <paramdef>foo_sometype1 <parameter>foo_frob_parm5</parameter></paramdef>
\r
105 <refsection><info><title>Description</title></info>
\r
107 <para>This is a minimal RefEntry.</para>
\r
109 <para>The following is a Variablelist with a title.
\r
110 <variablelist><info><title>My variablelist</title></info>
\r
113 <term>varlistentry term 1</term>
\r
114 <listitem><para>some listitem text</para></listitem>
\r
117 <term>varlistentry term 2</term>
\r
118 <listitem><para>some more listitem text</para></listitem>
\r
122 <refsection><info><title>Subsection</title></info>
\r
124 <para>This is a minimal RefEntry.</para>
\r
126 <para>The following is a Variablelist with a title and a nested variablelist
\r
130 <glossterm>glossentry term 1</glossterm>
\r
131 <glossdef><para>some glossdef text</para></glossdef>
\r
134 <glossterm>glossentry term 2</glossterm>
\r
138 <term>nested variablelist term 1</term>
\r
139 <listitem><para>some variablelist text</para></listitem>
\r
142 <term>nested variablelist term 2</term>
\r
143 <listitem><para>some more variablelist text</para></listitem>
\r
151 <refsection><info><title>Sub-subsection</title></info>
\r
153 <para>This is a minimal RefEntry.</para>
\r
158 <refsection><info><title>More Description</title></info>
\r
160 <para>This is a not-so minimal RefEntry.</para>
\r
162 This is a screen [break here]
\r
163 that starts with a line of space. [break here]
\r
164 And it ends with a line of space.
\r
167 <para>normal paragraph here</para>
\r
169 <screen>This is a screen [break here]
\r
170 that does not start with a line of space. [break here]
\r
171 And does not end with a line of space.</screen>
\r
173 <para>This is a normal paragraph that contains a screen.
\r
174 <screen>This is a screen within a normal paragraph [break here]
\r
175 that does not start with a line of space. [break here]
\r
176 And does not end with a line of space but is followed
\r
177 by a line of space.</screen>
\r
180 <para>This is another normal paragraph that contains a screen.
\r
181 <screen>This is a screen within a normal paragraph [break here]
\r
182 that does not start with a line of space. [break here]
\r
183 And does not end with a line of space and is not followed
\r
184 by a line of space.</screen></para>
\r
186 <para>This is another normal paragraph that contains a screen.
\r
188 This is a screen within a normal paragraph [break here]
\r
189 that starts with a line of space. [break here]
\r
190 And ends with a line of space but is not followed by a line of space.
\r
193 <para>This is another normal paragraph that contains a screen.
\r
195 This is a screen within a normal paragraph [break here]
\r
196 that starts with a line of space. [break here]
\r
197 And ends with a line of space and is followed by a line of space.
\r
201 <para>This is another normal paragraph that contains a screen.
\r
204 This is a screen within a normal paragraph [break here]
\r
205 that starts with a 2 lines of space. [break here]
\r
206 And ends with 3 lines of space and is followed by a line of space.
\r
212 <para>This paragraph contains an itemizedlist with a title. The title
\r
213 is “Mrignkwolmcng”.
\r
214 <orderedlist inheritnum="ignore" continuation="restarts"><info><title>Mrignkwolmcng</title></info>
\r
217 <para>itemizedlist listitem 1</para>
\r
220 <para>itemizedlist listitem 2</para>
\r
224 This is some useless text that follows the “Mrignkwolmcng” orderedlist
\r
225 in the same para.</para>
\r
227 <para>The following is a Variablelist with a title and with a nested itemizedlist.
\r
228 <variablelist><info><title>My variablelist</title></info>
\r
231 <term>varlistentry term 1</term>
\r
233 <itemizedlist><info><title>nested itemizedlist</title></info>
\r
236 <para>itemizedlist listitem 1</para>
\r
239 <para>itemizedlist listitem 2</para>
\r
245 <term>varlistentry term 2</term>
\r
246 <listitem><para>some more listitem text</para></listitem>
\r
251 <para>The following is a Variablelist with a title and with a
\r
252 nested Varlistentry that contains multiple Terms
\r
253 <variablelist><info><title>My nested-multi-term-per-varlistentry variablelist</title></info>
\r
256 <term>Varlistentry term 1</term>
\r
260 <term> varlistentry term 1.1</term>
\r
261 <term>varlistentry term 1.2 </term>
\r
262 <term>varlistentry term 1.3</term>
\r
263 <listitem><para>All 'bout terms 1.1, 1.2, and 1.3</para>
\r
270 <term>varlistentry term 2</term>
\r
271 <listitem><para>some more listitem text</para></listitem>
\r
276 <refsection><info><title>Subsection</title></info>
\r
278 <para>This is a minimal RefEntry.</para>
\r
282 <refsection><info><title>Even More Description</title></info>
\r
284 <para>This is an even less minimal RefEntry.</para>
\r
286 <para>This is a paragraph. It contains the following segmentedlist,
\r
287 titled “Gibbererish”, with several segtitle elements.
\r
290 <segtitle>Floober</segtitle>
\r
291 <segtitle>Buugler</segtitle>
\r
292 <segtitle>Sstangooo</segtitle>
\r
293 <segtitle>Borobinda</segtitle>
\r
295 <seg>Bamalalaboonda Bamalalaboonda Bamalalaboonda Bamalalaboonda Bamalalaboonda Bamalalaboonda</seg>
\r
296 <seg>Mondorotoluafu</seg>
\r
297 <seg>Ganafutralinga</seg>
\r
298 <seg>Patagularamakundra</seg>
\r
301 <seg>Cadraracondar</seg>
\r
302 <seg>Hentirotomaambu</seg>
\r
303 <seg>BdomentriolaiaBdomentriolaiaBdomentriolaia</seg>
\r
304 <seg>Candamalaturuanio</seg>
\r
307 This is some text that follows the segementedlist within the same
\r
308 paragraph. The next part of this same paragraph is an
\r
309 <tag>important</tag> admonition.
\r
311 <para>It is very important that you read this. That’s why it stands
\r
312 out the way that it does.</para>
\r
316 <para>This is a para with a footnote
\r
317 <footnote><para>Stuff here <programlisting>This is a program listing
\r
318 that's two lines long.</programlisting></para>
\r
319 and stuff after the
\r
320 footnote</footnote></para>
\r