+++ /dev/null
-<book xmlns="http://docbook.org/ns/docbook" version="5.0">\r
-<info><title>Unit Test: refentry.007</title>\r
-\r
-<releaseinfo role="CVS">$Id: refentry.007.xml 7282 2007-08-23 09:27:01Z xmldoc $</releaseinfo>\r
-<author><personname><firstname>Norman</firstname><surname>Walsh</surname></personname><affiliation><address><email>ndw@nwalsh.com</email></address></affiliation></author>\r
-</info>\r
-<reference><info><title>Reference</title></info>\r
-\r
-<refentry>\r
- <info>\r
- <authorgroup>\r
- <author><personname><firstname>Norman</firstname><surname>Walsh</surname></personname><email>ndw@nwalsh.com</email><personblurb>\r
- <para>Wrote the original version of this document.</para>\r
- </personblurb></author>\r
- <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
- </authorgroup>\r
- <copyright>\r
- <year>2003</year>\r
- <holder>Norman Walsh</holder>\r
- </copyright>\r
- <copyright>\r
- <year>2006</year>\r
- <holder>Michael(tm) Smith</holder>\r
- </copyright>\r
- <legalnotice>\r
- <para>This file is a product of the DocBook Project.</para>\r
- </legalnotice>\r
- <legalnotice>\r
- <para>Share and share alike.</para>\r
- </legalnotice>\r
- </info>\r
-<refnamediv>\r
-<refname>FirstName</refname>\r
-<refname>SecondName</refname>\r
-<refpurpose>Purpose for FirstName</refpurpose>\r
-</refnamediv>\r
-\r
-<refnamediv>\r
-<refname>ThirdName</refname>\r
-<refpurpose>Purpose for ThirdName</refpurpose>\r
-</refnamediv>\r
-\r
-<refsynopsisdiv>\r
- <?dbfunclist ?>\r
- <funcsynopsis>\r
- <!-- * Yes, friend, Funcsynopsis is a verbatim -->\r
- <funcsynopsisinfo>#include <varargs.h>\r
-#include <mouteyh.h>\r
-#include <qlmppzj.h></funcsynopsisinfo>\r
- <funcprototype>\r
- <funcdef><type>float</type> <function>rand</function></funcdef>\r
- <void/>\r
- </funcprototype>\r
-\r
- <funcprototype>\r
- <funcdef>int <function>max</function></funcdef>\r
- <varargs/>\r
- </funcprototype>\r
-\r
- <funcprototype>\r
- <funcdef>int <function>idiv</function></funcdef>\r
- <paramdef><type>int</type> <parameter>n</parameter></paramdef>\r
- <paramdef><type>int</type> <parameter>m</parameter></paramdef>\r
- </funcprototype>\r
- </funcsynopsis>\r
-\r
- <para>Another.</para>\r
-\r
- <funcsynopsis>\r
- <funcprototype>\r
- <funcdef>void <function>qsort</function></funcdef>\r
- <paramdef>void *<parameter>dataptr</parameter>[]</paramdef>\r
- <paramdef>int <parameter>left</parameter></paramdef>\r
- <paramdef>int <parameter>right</parameter></paramdef>\r
- <paramdef>int (*<parameter>comp</parameter>)\r
- <funcparams>void *, void *</funcparams></paramdef>\r
- </funcprototype>\r
- </funcsynopsis>\r
-\r
- <funcsynopsis>\r
- <funcprototype>\r
- <funcdef>int <function>foo_frob_something</function></funcdef>\r
- <paramdef>foo_sometype1 <parameter>foo_frob_parm1</parameter></paramdef>\r
- <paramdef>foo_sometype1 <parameter>foo_frob_parm2</parameter></paramdef>\r
- <paramdef>foo_sometype1 <parameter>foo_frob_parm3</parameter></paramdef>\r
- <paramdef><type>int</type> (* <parameter>parm4</parameter> )\r
- <funcparams>int a, int b, int c</funcparams>\r
- </paramdef>\r
- <paramdef>foo_sometype1 <parameter>foo_frob_parm5</parameter></paramdef>\r
- </funcprototype>\r
-\r
- <funcprototype>\r
- <funcdef>int <function>foo_frob_something</function></funcdef>\r
- <paramdef>foo_sometype1 <parameter>foo_frob_parm1</parameter></paramdef>\r
- <paramdef>foo_sometype1 <parameter>foo_frob_parm2</parameter></paramdef>\r
- <paramdef>foo_sometype1 <parameter>foo_frob_parm3</parameter></paramdef>\r
- <paramdef><type>int</type> (* <parameter>parm4</parameter> )\r
- <funcparams>int a, int b, int c</funcparams>\r
- </paramdef>\r
- <paramdef>foo_sometype1 <parameter>foo_frob_parm5</parameter></paramdef>\r
- </funcprototype>\r
- </funcsynopsis>\r
-</refsynopsisdiv>\r
-\r
-<refsection><info><title>Description</title></info>\r
-\r
-<para>This is a minimal RefEntry.</para>\r
-\r
-<para>The following is a Variablelist with a title.\r
-<variablelist><info><title>My variablelist</title></info>\r
- \r
- <varlistentry>\r
- <term>varlistentry term 1</term>\r
- <listitem><para>some listitem text</para></listitem>\r
- </varlistentry>\r
- <varlistentry>\r
- <term>varlistentry term 2</term>\r
- <listitem><para>some more listitem text</para></listitem>\r
- </varlistentry>\r
-</variablelist>\r
-</para>\r
-<refsection><info><title>Subsection</title></info>\r
-\r
-<para>This is a minimal RefEntry.</para>\r
-\r
-<para>The following is a Variablelist with a title and a nested variablelist\r
- <glosslist>\r
- \r
- <glossentry>\r
- <glossterm>glossentry term 1</glossterm>\r
- <glossdef><para>some glossdef text</para></glossdef>\r
- </glossentry>\r
- <glossentry>\r
- <glossterm>glossentry term 2</glossterm>\r
- <glossdef>\r
- <variablelist>\r
- <varlistentry>\r
- <term>nested variablelist term 1</term>\r
- <listitem><para>some variablelist text</para></listitem>\r
- </varlistentry>\r
- <varlistentry>\r
- <term>nested variablelist term 2</term>\r
- <listitem><para>some more variablelist text</para></listitem>\r
- </varlistentry>\r
- </variablelist>\r
- </glossdef>\r
- </glossentry>\r
- </glosslist>\r
-</para>\r
-\r
-<refsection><info><title>Sub-subsection</title></info>\r
-\r
-<para>This is a minimal RefEntry.</para>\r
-</refsection>\r
-</refsection>\r
-</refsection>\r
-\r
-<refsection><info><title>More Description</title></info>\r
-\r
-<para>This is a not-so minimal RefEntry.</para>\r
-<screen>\r
-This is a screen [break here]\r
-that starts with a line of space. [break here]\r
-And it ends with a line of space.\r
-</screen>\r
-\r
-<para>normal paragraph here</para>\r
-\r
-<screen>This is a screen [break here]\r
-that does not start with a line of space. [break here]\r
-And does not end with a line of space.</screen>\r
-\r
-<para>This is a normal paragraph that contains a screen.\r
-<screen>This is a screen within a normal paragraph [break here]\r
-that does not start with a line of space. [break here]\r
-And does not end with a line of space but is followed\r
-by a line of space.</screen>\r
-</para>\r
-\r
-<para>This is another normal paragraph that contains a screen.\r
-<screen>This is a screen within a normal paragraph [break here]\r
-that does not start with a line of space. [break here]\r
-And does not end with a line of space and is not followed\r
-by a line of space.</screen></para>\r
-\r
-<para>This is another normal paragraph that contains a screen.\r
-<screen>\r
-This is a screen within a normal paragraph [break here]\r
-that starts with a line of space. [break here]\r
-And ends with a line of space but is not followed by a line of space.\r
-</screen></para>\r
-\r
-<para>This is another normal paragraph that contains a screen.\r
-<screen>\r
-This is a screen within a normal paragraph [break here]\r
-that starts with a line of space. [break here]\r
-And ends with a line of space and is followed by a line of space.\r
-</screen>\r
-</para>\r
-\r
-<para>This is another normal paragraph that contains a screen.\r
-<screen>\r
-\r
-This is a screen within a normal paragraph [break here]\r
-that starts with a 2 lines of space. [break here]\r
-And ends with 3 lines of space and is followed by a line of space.\r
-\r
-\r
-</screen>\r
-</para>\r
-\r
-<para>This paragraph contains an itemizedlist with a title. The title\r
-is “Mrignkwolmcng”.\r
-<orderedlist inheritnum="ignore" continuation="restarts"><info><title>Mrignkwolmcng</title></info>\r
- \r
- <listitem>\r
- <para>itemizedlist listitem 1</para>\r
- </listitem>\r
- <listitem>\r
- <para>itemizedlist listitem 2</para>\r
- </listitem>\r
-</orderedlist>\r
-\r
-This is some useless text that follows the “Mrignkwolmcng” orderedlist\r
-in the same para.</para>\r
-\r
-<para>The following is a Variablelist with a title and with a nested itemizedlist.\r
-<variablelist><info><title>My variablelist</title></info>\r
- \r
- <varlistentry>\r
- <term>varlistentry term 1</term>\r
- <listitem>\r
- <itemizedlist><info><title>nested itemizedlist</title></info>\r
- \r
- <listitem>\r
- <para>itemizedlist listitem 1</para>\r
- </listitem>\r
- <listitem>\r
- <para>itemizedlist listitem 2</para>\r
- </listitem>\r
- </itemizedlist>\r
- </listitem>\r
- </varlistentry>\r
- <varlistentry>\r
- <term>varlistentry term 2</term>\r
- <listitem><para>some more listitem text</para></listitem>\r
- </varlistentry>\r
-</variablelist>\r
-</para>\r
-\r
-<para>The following is a Variablelist with a title and with a\r
-nested Varlistentry that contains multiple Terms\r
-<variablelist><info><title>My nested-multi-term-per-varlistentry variablelist</title></info>\r
- \r
- <varlistentry>\r
- <term>Varlistentry term 1</term>\r
- <listitem>\r
- <variablelist>\r
- <varlistentry>\r
- <term> varlistentry term 1.1</term>\r
- <term>varlistentry term 1.2 </term>\r
- <term>varlistentry term 1.3</term>\r
- <listitem><para>All 'bout terms 1.1, 1.2, and 1.3</para>\r
- </listitem>\r
- </varlistentry>\r
- </variablelist>\r
- </listitem>\r
- </varlistentry>\r
- <varlistentry>\r
- <term>varlistentry term 2</term>\r
- <listitem><para>some more listitem text</para></listitem>\r
- </varlistentry>\r
-</variablelist>\r
-</para>\r
-\r
-<refsection><info><title>Subsection</title></info>\r
-\r
-<para>This is a minimal RefEntry.</para>\r
-</refsection>\r
-</refsection>\r
-\r
-<refsection><info><title>Even More Description</title></info>\r
-\r
-<para>This is an even less minimal RefEntry.</para>\r
-\r
-<para>This is a paragraph. It contains the following segmentedlist,\r
-titled “Gibbererish”, with several segtitle elements.\r
-<segmentedlist>\r
- \r
- <segtitle>Floober</segtitle>\r
- <segtitle>Buugler</segtitle>\r
- <segtitle>Sstangooo</segtitle>\r
- <segtitle>Borobinda</segtitle>\r
- <seglistitem>\r
- <seg>Bamalalaboonda Bamalalaboonda Bamalalaboonda Bamalalaboonda Bamalalaboonda Bamalalaboonda</seg>\r
- <seg>Mondorotoluafu</seg>\r
- <seg>Ganafutralinga</seg>\r
- <seg>Patagularamakundra</seg>\r
- </seglistitem>\r
- <seglistitem>\r
- <seg>Cadraracondar</seg>\r
- <seg>Hentirotomaambu</seg>\r
- <seg>BdomentriolaiaBdomentriolaiaBdomentriolaia</seg>\r
- <seg>Candamalaturuanio</seg>\r
- </seglistitem>\r
-</segmentedlist>\r
-This is some text that follows the segementedlist within the same\r
-paragraph. The next part of this same paragraph is an\r
-<tag>important</tag> admonition.\r
-<important>\r
- <para>It is very important that you read this. That’s why it stands\r
- out the way that it does.</para>\r
-</important>\r
-</para>\r
-\r
-<para>This is a para with a footnote\r
- <footnote><para>Stuff here <programlisting>This is a program listing\r
-that's two lines long.</programlisting></para>\r
- and stuff after the\r
-footnote</footnote></para>\r
-</refsection>\r
-\r
-</refentry>\r
-</reference>\r
-</book>\r