+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>\r
-<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"\r
- "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd">\r
-<book>\r
-<bookinfo>\r
-<title>Unit Test: refentry.007</title>\r
-<releaseinfo role="CVS">$Id: refentry.007.xml 7282 2007-08-23 09:27:01Z xmldoc $</releaseinfo>\r
-<author><firstname>Norman</firstname><surname>Walsh</surname>\r
- <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>\r
-</author>\r
-</bookinfo>\r
-<reference>\r
-<title>Reference</title>\r
-<refentry>\r
- <refentryinfo>\r
- <authorgroup>\r
- <author>\r
- <firstname>Norman</firstname><surname>Walsh</surname>\r
- <email>ndw@nwalsh.com</email>\r
- <personblurb>\r
- <para>Wrote the original version of this document.</para>\r
- </personblurb>\r
- </author>\r
- <editor>\r
- <contrib>Added a bunch of test cases.</contrib>\r
- <firstname>Michael(tm)</firstname><surname>Smith</surname>\r
- <email>smith@sideshowbarker.net</email>\r
- </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
- </refentryinfo>\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\r
->#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
-<refsect1>\r
-<title>Description</title>\r
-<para>This is a minimal RefEntry.</para>\r
-\r
-<para>The following is a Variablelist with a title.\r
-<variablelist>\r
- <title>My variablelist</title>\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
-<refsect2>\r
-<title>Subsection</title>\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
- <title>My glosslist</title>\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
-<refsect3>\r
-<title>Sub-subsection</title>\r
-<para>This is a minimal RefEntry.</para>\r
-</refsect3>\r
-</refsect2>\r
-</refsect1>\r
-\r
-<refsect1>\r
-<title>More Description</title>\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>\r
- <title>Mrignkwolmcng</title>\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>\r
- <title>My variablelist</title>\r
- <varlistentry>\r
- <term>varlistentry term 1</term>\r
- <listitem>\r
- <itemizedlist>\r
- <title>nested itemizedlist</title>\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>\r
- <title>My nested-multi-term-per-varlistentry variablelist</title>\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
-<refsect2>\r
-<title>Subsection</title>\r
-<para>This is a minimal RefEntry.</para>\r
-</refsect2>\r
-</refsect1>\r
-\r
-<refsect1>\r
-<title>Even More Description</title>\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
- <title>Gibbererish</title>\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
-<sgmltag>important</sgmltag> 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\r
- ><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
-</refsect1>\r
-\r
-</refentry>\r
-</reference>\r
-</book>\r