1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- This DocBook file was created by LyX 2.4.0dev
3 See http://www.lyx.org/ for more information -->
4 <article xml:lang="en_US" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:xi="http://www.w3.org/2001/XInclude" version="5.2">
6 <title>I am a title</title>
8 <personname>I am an author</personname>
10 <date>I am a date</date>
12 <para>I am an abstract</para>
13 <para>I am also an abstract</para>
16 <section xml:id="sec.Sec-1">
17 <title>I am the first section </title>
18 <para>I am the first paragraph of the first section. </para>
19 <para>I am the second paragraph of the first section. </para>
21 <para>I am a quote<inlineequation>
22 <alt role='tex'>\,with\,a\,formula</alt>
26 <m:mrow><m:mspace width="6px" /><m:mi>w</m:mi><m:mi>i</m:mi><m:mi>t</m:mi><m:mi>h</m:mi><m:mspace width="6px" /><m:mi>a</m:mi><m:mspace width="6px" /><m:mi>f</m:mi><m:mi>o</m:mi><m:mi>r</m:mi><m:mi>m</m:mi><m:mi>u</m:mi><m:mi>l</m:mi><m:mi>a</m:mi>
30 </inlineequation>. </para>
32 <para><informalequation>
33 <alt role='tex'>Formula!</alt>
37 <m:mrow><m:mi>F</m:mi><m:mi>o</m:mi><m:mi>r</m:mi><m:mi>m</m:mi><m:mi>u</m:mi><m:mi>l</m:mi><m:mi>a</m:mi><m:mo>!</m:mo>
41 </informalequation><informalequation xml:id="eq.EQ.">
42 <alt role='tex'>\text{I am a formula with a ref.}\label{eq:EQ.}</alt>
46 <m:mstyle mathvariant='normal'>
47 <m:mrow><m:mi>I</m:mi> <m:mi>a</m:mi><m:mi>m</m:mi> <m:mi>a</m:mi> <m:mi>f</m:mi><m:mi>o</m:mi><m:mi>r</m:mi><m:mi>m</m:mi><m:mi>u</m:mi><m:mi>l</m:mi><m:mi>a</m:mi> <m:mi>w</m:mi><m:mi>i</m:mi><m:mi>t</m:mi><m:mi>h</m:mi> <m:mi>a</m:mi> <m:mi>r</m:mi><m:mi>e</m:mi><m:mi>f</m:mi><m:mn>.</m:mn>
52 </informalequation></para>
53 <para>See <xref linkend="sec.Sec-2kqgsdiflhqsdlifgjuzer-povtuizmvnuer-t-vmsrmfli--uh--a--rtpfuo----rtpc.m-ca-rgifzapeu-tvgz" />.</para>
54 <para>Also, a formula with an user-defined macro that outputs well in LaTeX but cannot in MathML (hence replaced by picture): <inlineequation>
55 <alt role='tex'>\testmacro</alt>
56 <mathphrase>MathML export failed. Please report this as a bug.</mathphrase>
57 </inlineequation>. </para>
58 <!-- \latexCommandThatShouldBeCommented -->
60 <title>I am the first subsection</title>
61 <para>I am the only paragraph of the first subsection. </para>
64 <title>I am the second subsection</title>
65 <para>I am the only paragraph of the second subsection. </para>
68 <section xml:id="sec.Sec-2kqgsdiflhqsdlifgjuzer-povtuizmvnuer-t-vmsrmfli--uh--a--rtpfuo----rtpc.m-ca-rgifzapeu-tvgz">
69 <title>I am the second section </title>
70 <para>I am the only paragraph of the second section. <link xlink:href="http://example.org">Hyperlink.</link> “Text between quotes.”</para>
71 <para>See <xref linkend="sec.Sec-1" />.</para>
74 <title>I am the third section and I have fun with lists</title>
75 <orderedlist><listitem>First item.
77 Second line of the first item, after a line break. </listitem></orderedlist>
78 <orderedlist><listitem>Second item. </listitem></orderedlist>
79 <itemizedlist><listitem>Item has no order (1). </listitem></itemizedlist>
80 <itemizedlist><listitem>Item has no order (2). </listitem></itemizedlist>
81 <variablelist><listitem><varlistentry>
83 Word description<!-- Output Error: Closing tag `listitem' when other tags are open, namely: -->
84 <!-- Output Error: varlistentry -->
85 </varlistentry></listitem></variablelist>
86 <variablelist><listitem><varlistentry>
88 Sentence meaning<!-- Output Error: Closing tag `listitem' when other tags are open, namely: -->
89 <!-- Output Error: varlistentry -->
90 </varlistentry></listitem></variablelist>
93 <title>I am the fourth section and I deal with formatting. </title>
94 <para>The following paragraph should be code. </para>
95 <para><programlisting>I am some code.
96 I am a second line of code.
97 </programlisting>I am no more code. </para>
98 <para>This line has inline code. <code>This has typewriter font</code><footnote><para>I repeat that in a footnote.</para>
100 <para>On the other hand, <footnote><para>this footnote</para>
101 <para>has multiple </para>
102 <para>paragraphs.</para>
106 <title>I am the fifth section and I deal with floats</title>
107 <para>Now, three tables: </para>
109 <caption>I am a table caption below the table.</caption>
112 <td align='center' valign='top'>Table 1</td>
113 <td align='center' valign='top'>Table 2</td>
114 <td align='center' valign='top'>Table 3</td>
117 <td align='center' valign='top'>Row 1</td>
118 <td align='center' valign='top'></td>
119 <td align='center' valign='top'>Col 3, row 1</td>
122 <td align='center' valign='top'>Row 2</td>
123 <td align='center' valign='top'></td>
124 <td align='center' valign='top'>Col 3, row 2</td>
129 <caption>I am a table caption above the table.</caption>
132 <td align='center' valign='top'>Table 1</td>
133 <td align='center' valign='top'>Table 2</td>
134 <td align='center' valign='top'>Table 3</td>
137 <td align='center' valign='top'>Row 1</td>
138 <td align='center' valign='top'></td>
139 <td align='center' valign='top'>Col 3, row 1</td>
142 <td align='center' valign='top'>Row 2</td>
143 <td align='center' valign='top'></td>
144 <td align='center' valign='top'>Col 3, row 2</td>
151 <td align='center' valign='top'>Table that has no caption 1</td>
152 <td align='center' valign='top'>Table that has no caption 2</td>
153 <td align='center' valign='top'>Table that has no caption 3</td>
156 <td align='center' valign='top'>Row 1</td>
157 <td align='center' valign='top'></td>
158 <td align='center' valign='top'>Col 3, row 1</td>
161 <td align='center' valign='top'>Row 2</td>
162 <td align='center' valign='top'></td>
163 <td align='center' valign='top'>Col 3, row 2</td>
167 <para>Then, one figure: </para>
169 <title>Caption.</title>
172 <imagedata fileref="D:/LyX/lyx-unstable/autotests/export/docbook/lyx-logo.png" />
178 <title>I am the sixth section and I really like bibliographies</title>
179 <para>This text has references. First reference: <biblioref endterm="big" />. Second reference: <biblioref endterm="small" />. Both at the same time: <biblioref endterm="big" />, <biblioref endterm="small" />. A book: <biblioref endterm="Gro60" />. </para>
180 <para>Many things, just testing for completeness: <biblioref endterm="article" />, <biblioref endterm="book" />, <biblioref endterm="booklet" />, <biblioref endterm="conference" />, <biblioref endterm="inbook" />, <biblioref endterm="incollection" />. </para>
183 <title>I am the seventh section and I deal with indices</title>
184 <para>First, a term to index: <indexterm type="idx"><primary>Term to index</primary></indexterm>. Then a term to add to the second index: <indexterm type="oth"><primary>Term to add to the second index</primary></indexterm>. </para>
185 <para>Then several terms for the first index: <indexterm type="idx"><primary>Term</primary><secondary>to</secondary><tertiary>index</tertiary></indexterm>. </para>
186 <para>With a see: <indexterm type="idx"><primary>Term</primary><see>index</see></indexterm>. With a see also: <indexterm type="idx"><primary>Term</primary><seealso>index</seealso></indexterm>. </para>
187 <para>Several terms with a see: <indexterm type="idx"><primary>Term</primary><secondary>to</secondary><tertiary>index</tertiary><see>index</see></indexterm>. Several terms with a see also: <indexterm type="idx"><primary>Term</primary><secondary>to</secondary><tertiary>index</tertiary><seealso>index</seealso></indexterm>. </para>
188 <para>A start of range: <indexterm type="idx" class="startofrange" xml:id="Term-to-index"><primary>Term to index</primary></indexterm>. The corresponding end of range: <indexterm type="idx" class="endofrange" startref="Term-to-index"><primary>Term to index</primary></indexterm>.</para>
189 <para>Several terms with a start of range: <indexterm type="idx" class="startofrange" xml:id="Term.to.index"><primary>Term</primary><secondary>to</secondary><tertiary>index</tertiary></indexterm>. The corresponding end of range: <indexterm type="idx" class="endofrange" startref="Term.to.index"><primary>Term</primary><secondary>to</secondary><tertiary>index</tertiary></indexterm>.</para>
190 <para>These terms already appeared before! Start of range: <indexterm type="idx" class="startofrange" xml:id="Term.to.index-0"><primary>Term</primary><secondary>to</secondary><tertiary>index</tertiary></indexterm>. The corresponding end of range: <indexterm type="idx" class="endofrange" startref="Term.to.index-0"><primary>Term</primary><secondary>to</secondary><tertiary>index</tertiary></indexterm>.</para>
193 <title>I am the eight section and I deal with star sections</title>
194 <bridgehead renderas='other' otherrenderas='part'>Star part</bridgehead>
195 <bridgehead renderas="sect1">Star section (sect1)</bridgehead>
196 <bridgehead renderas="sect2">Star subsection (sect2)</bridgehead>
197 <bridgehead renderas="sect3">Star subsubsection (sect3)</bridgehead>
198 <bridgehead renderas="sect4">Star paragraph (sect4)</bridgehead>
199 <bridgehead renderas="sect5">Star subparagraph (sect5)</bridgehead>
202 <title>References</title>
203 <biblioentry xml:id="article">
204 <title>The title of the work</title><volumenum>4</volumenum><artpagenums>201-213</artpagenums><bibliomisc role="type">article</bibliomisc>
205 <pubdate>1993</pubdate>
206 <biblioset relation="journal">
207 <title>The name of the journal</title>
209 <authorgroup><author>
211 <firstname>Peter</firstname>
212 <surname>Adams</surname>
216 <biblioid class="pubsnumber">2</biblioid>
217 <bibliomisc role="note">An optional note</bibliomisc>
219 <biblioentry xml:id="book">
220 <title>The title of the work</title><volumenum>4</volumenum><edition>3</edition><bibliomisc role="type">book</bibliomisc>
222 <publishername>The name of the publisher</publishername>
223 <address>The address</address></publisher>
224 <pubdate>1993</pubdate>
225 <authorgroup><author>
227 <firstname>Peter</firstname>
228 <surname>Babington</surname>
232 <bibliomisc role="note">An optional note</bibliomisc>
234 <biblioentry xml:id="booklet">
235 <title>The title of the work</title><bibliomisc role="type">booklet</bibliomisc>
236 <pubdate>1993</pubdate>
237 <authorgroup><author>
239 <firstname>Peter</firstname>
240 <surname>Caxton</surname>
245 <biblioentry xml:id="conference">
246 <title>The title of the work</title><artpagenums>213</artpagenums><bibliomisc role="type">conference</bibliomisc>
248 <publishername>The publisher</publishername>
250 <pubdate>1993</pubdate>
251 <authorgroup><author>
253 <firstname>Peter</firstname>
254 <surname>Draper</surname>
259 <biblioentry xml:id="inbook">
260 <title>The title of the work</title><artpagenums>201-213</artpagenums><bibliomisc role="type">inbook</bibliomisc>
262 <publishername>The name of the publisher</publishername>
264 <pubdate>1993</pubdate>
265 <authorgroup><author>
267 <firstname>Peter</firstname>
268 <surname>Eston</surname>
273 <biblioentry xml:id="incollection">
274 <title>The title of the work</title><volumenum>4</volumenum><edition>3</edition><artpagenums>201-213</artpagenums><bibliomisc role="type">incollection</bibliomisc>
276 <publishername>The name of the publisher</publishername>
277 <address>The address of the publisher</address></publisher>
278 <pubdate>1993</pubdate>
279 <biblioset relation="book">
280 <title>The title of the book</title>
282 <authorgroup><author>
284 <firstname>Peter</firstname>
285 <surname>Farindon</surname>
289 <bibliomisc role="note">An optional note</bibliomisc>
291 <biblioentry xml:id="small">
292 <title>A small paper</title><volumenum>-1</volumenum><bibliomisc role="type">article</bibliomisc>
293 <pubdate>1997</pubdate>
294 <biblioset relation="journal">
295 <title>The journal of small papers</title>
297 <authorgroup><author>
299 <surname>Freely</surname>
300 <othername role="suffix">I. P.</othername>
305 <firstname>Ditto</firstname>
306 <surname>Johannes</surname>
310 <bibliomisc role="note">to appear</bibliomisc>
312 <biblioentry xml:id="Gro60">
313 <title>Éléments de géométrie algébrique</title><bibliomisc role="type">book</bibliomisc>
314 <pubdate>1960</pubdate>
315 <authorgroup><author>
317 <firstname>Alexander</firstname>
318 <surname>Grothendieck</surname>
323 <biblioentry xml:id="big">
324 <title>A big paper</title><volumenum>MCMXCVII</volumenum><bibliomisc role="type">article</bibliomisc>
325 <pubdate>7991</pubdate>
326 <biblioset relation="journal">
327 <title>The journal of big papers</title>
329 <authorgroup><author>
331 <firstname>Hugh</firstname>
332 <surname>Jass</surname>