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>Now, we're outside quotes.</para>
34 <alt role='tex'>Formula!</alt>
38 <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>
43 <informalequation xml:id="eq.EQ.">
44 <alt role='tex'>\text{I am a formula with a ref.}\label{eq:EQ.}</alt>
48 <m:mstyle mathvariant='normal'>
49 <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>
55 <para>See <xref linkend="sec.Sec-2kqgsdiflhqsdlifgjuzer-povtuizmvnuer-t-vmsrmfli--uh--a--rtpfuo----rtpc.m-ca-rgifzapeu-tvgz" />.</para>
56 <para>Also, a formula with an user-defined macro that outputs well in LaTeX but cannot in MathML: <inlineequation>
57 <alt role='tex'>\testmacro</alt>
58 <mathphrase>MathML export failed. Please report this as a bug.</mathphrase>
59 </inlineequation>. </para>
60 <!-- \latexCommandThatShouldBeCommented -->
62 <title>I am the first subsection</title>
63 <para>I am the only paragraph of the first subsection. </para>
66 <title>I am the second subsection</title>
67 <para>I am the only paragraph of the second subsection. </para>
70 <section xml:id="sec.Sec-2kqgsdiflhqsdlifgjuzer-povtuizmvnuer-t-vmsrmfli--uh--a--rtpfuo----rtpc.m-ca-rgifzapeu-tvgz">
71 <title>I am the second section </title>
72 <para>I am the only paragraph of the second section. <link xlink:href="http://example.org">Hyperlink.</link> “Text between quotes.”</para>
73 <para>See <xref linkend="sec.Sec-1" />.</para>
76 <title>I am the third section and I have fun with lists</title>
79 <para>First item. </para>
80 <para>Second line of the first item, after a line break. </para>
83 <para>Second item. </para>
88 <para>Item has no order (1). </para>
91 <para>Item has no order (2). </para>
98 <para>description</para>
102 <term>Sentence</term>
110 <title>I am the fourth section and I deal with formatting. </title>
111 <para>The following paragraph should be code. </para>
112 <para><programlisting>I am some code.
113 I am a second line of code.
114 </programlisting>I am no more code. </para>
115 <para>This line has inline code. <code>This has typewriter font</code><footnote>
116 <para>I repeat that in a footnote.</para>
118 <para>On the other hand, <footnote>
119 <para>this footnote</para>
120 <para>has multiple </para>
121 <para>paragraphs.</para>
125 <title>I am the fifth section and I deal with floats</title>
126 <para>Now, three tables: </para>
128 <caption>I am a table caption below the table.</caption>
131 <td align='center' valign='top'>Table 1</td>
132 <td align='center' valign='top'>Table 2</td>
133 <td align='center' valign='top'>Table 3</td>
136 <td align='center' valign='top'>Row 1</td>
137 <td align='center' valign='top'></td>
138 <td align='center' valign='top'>Col 3, row 1</td>
141 <td align='center' valign='top'>Row 2</td>
142 <td align='center' valign='top'></td>
143 <td align='center' valign='top'>Col 3, row 2</td>
148 <caption>I am a table caption above the table.</caption>
151 <td align='center' valign='top'>Table 1</td>
152 <td align='center' valign='top'>Table 2</td>
153 <td align='center' valign='top'>Table 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>
170 <td align='center' valign='top'>Table that has no caption 1</td>
171 <td align='center' valign='top'>Table that has no caption 2</td>
172 <td align='center' valign='top'>Table that has no caption 3</td>
175 <td align='center' valign='top'>Row 1</td>
176 <td align='center' valign='top'></td>
177 <td align='center' valign='top'>Col 3, row 1</td>
180 <td align='center' valign='top'>Row 2</td>
181 <td align='center' valign='top'></td>
182 <td align='center' valign='top'>Col 3, row 2</td>
187 <para>Then, one figure: </para>
189 <title>Caption.</title>
192 <imagedata fileref="D:/LyX/lyx-unstable/autotests/export/docbook/lyx-logo.png" />
198 <title>I am the sixth section and I really like bibliographies</title>
199 <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>
200 <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>
203 <title>I am the seventh section and I deal with indices</title>
204 <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>
205 <para>Then several terms for the first index: <indexterm type="idx"><primary>Term</primary><secondary>to</secondary><tertiary>index</tertiary></indexterm>. </para>
206 <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>
207 <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>
208 <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 class="endofrange" startref="Term-to-index" />.</para>
209 <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 class="endofrange" startref="Term.to.index" />.</para>
210 <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 class="endofrange" startref="Term.to.index-0" />.</para>
213 <title>I am the eight section and I deal with star sections</title>
214 <bridgehead renderas='other' otherrenderas='part'>Star part</bridgehead>
215 <bridgehead renderas="sect1">Star section (sect1)</bridgehead>
216 <bridgehead renderas="sect2">Star subsection (sect2)</bridgehead>
217 <bridgehead renderas="sect3">Star subsubsection (sect3)</bridgehead>
218 <bridgehead renderas="sect4">Star paragraph (sect4)</bridgehead>
219 <bridgehead renderas="sect5">Star subparagraph (sect5)</bridgehead>
222 <title>References</title>
223 <biblioentry xml:id="article">
224 <title>The title of the work</title><volumenum>4</volumenum><artpagenums>201-213</artpagenums><bibliomisc role="type">article</bibliomisc>
225 <pubdate>1993</pubdate>
226 <biblioset relation="journal">
227 <title>The name of the journal</title>
229 <authorgroup><author>
231 <firstname>Peter</firstname>
232 <surname>Adams</surname>
236 <biblioid class="pubsnumber">2</biblioid>
237 <bibliomisc role="note">An optional note</bibliomisc>
239 <biblioentry xml:id="book">
240 <title>The title of the work</title><volumenum>4</volumenum><edition>3</edition><bibliomisc role="type">book</bibliomisc>
242 <publishername>The name of the publisher</publishername>
243 <address>The address</address></publisher>
244 <pubdate>1993</pubdate>
245 <authorgroup><author>
247 <firstname>Peter</firstname>
248 <surname>Babington</surname>
252 <bibliomisc role="note">An optional note</bibliomisc>
254 <biblioentry xml:id="booklet">
255 <title>The title of the work</title><bibliomisc role="type">booklet</bibliomisc>
256 <pubdate>1993</pubdate>
257 <authorgroup><author>
259 <firstname>Peter</firstname>
260 <surname>Caxton</surname>
265 <biblioentry xml:id="conference">
266 <title>The title of the work</title><artpagenums>213</artpagenums><bibliomisc role="type">conference</bibliomisc>
268 <publishername>The publisher</publishername>
270 <pubdate>1993</pubdate>
271 <authorgroup><author>
273 <firstname>Peter</firstname>
274 <surname>Draper</surname>
279 <biblioentry xml:id="inbook">
280 <title>The title of the work</title><artpagenums>201-213</artpagenums><bibliomisc role="type">inbook</bibliomisc>
282 <publishername>The name of the publisher</publishername>
284 <pubdate>1993</pubdate>
285 <authorgroup><author>
287 <firstname>Peter</firstname>
288 <surname>Eston</surname>
293 <biblioentry xml:id="incollection">
294 <title>The title of the work</title><volumenum>4</volumenum><edition>3</edition><artpagenums>201-213</artpagenums><bibliomisc role="type">incollection</bibliomisc>
296 <publishername>The name of the publisher</publishername>
297 <address>The address of the publisher</address></publisher>
298 <pubdate>1993</pubdate>
299 <biblioset relation="book">
300 <title>The title of the book</title>
302 <authorgroup><author>
304 <firstname>Peter</firstname>
305 <surname>Farindon</surname>
309 <bibliomisc role="note">An optional note</bibliomisc>
311 <biblioentry xml:id="small">
312 <title>A small paper</title><volumenum>-1</volumenum><bibliomisc role="type">article</bibliomisc>
313 <pubdate>1997</pubdate>
314 <biblioset relation="journal">
315 <title>The journal of small papers</title>
317 <authorgroup><author>
319 <surname>Freely</surname>
320 <othername role="suffix">I. P.</othername>
325 <firstname>Ditto</firstname>
326 <surname>Johannes</surname>
330 <bibliomisc role="note">to appear</bibliomisc>
332 <biblioentry xml:id="Gro60">
333 <title>Éléments de géométrie algébrique</title><bibliomisc role="type">book</bibliomisc>
334 <pubdate>1960</pubdate>
335 <authorgroup><author>
337 <firstname>Alexander</firstname>
338 <surname>Grothendieck</surname>
343 <biblioentry xml:id="big">
344 <title>A big paper</title><volumenum>MCMXCVII</volumenum><bibliomisc role="type">article</bibliomisc>
345 <pubdate>7991</pubdate>
346 <biblioset relation="journal">
347 <title>The journal of big papers</title>
349 <authorgroup><author>
351 <firstname>Hugh</firstname>
352 <surname>Jass</surname>
357 </bibliography></article>