1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- This DocBook file was created by LyX 2.4.0dev
3 See https://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 <para>I am a standard paragraph. </para>
17 <section xml:id="sec.Sec-1">
18 <title>I am the first section </title>
19 <para>I am the first paragraph of the first section. </para>
20 <para>I am the second paragraph of the first section. </para>
22 <para>I am a quote<inlineequation>
23 <alt role='tex'>\,with\,a\,formula</alt>
24 <m:math display="inline">
27 <m:mspace width="6px"/>
32 <m:mspace width="6px"/>
34 <m:mspace width="6px"/>
44 </inlineequation>. </para>
46 <para>Now, we’re outside quotes.</para>
48 <alt role='tex'>Formula!</alt>
49 <m:math display="block">
63 <informalequation xml:id="eq.EQ.">
64 <alt role='tex'>\text{I am a formula with a ref.}\label{eq:EQ.}</alt>
65 <m:math display="block">
67 <m:mtable displaystyle='true'>
70 <m:mstyle mathvariant='normal'>
96 <m:mtext>(1)</m:mtext>
103 <para>See <xref linkend="sec.Sec-2kqgsdiflhqsdlifgjuzer-povtuizmvnuer-t-vmsrmfli--uh--a--rtpfuo----rtpc.m-ca-rgifzapeu-tvgz" />.</para>
104 <para>Also, a formula with an user-defined macro that outputs well in LaTeX but cannot in MathML: <inlineequation>
105 <alt role='tex'>\testmacro</alt>
106 <mathphrase>MathML export failed. Please report this as a bug to the LyX developers: https://www.lyx.org/trac.</mathphrase>
107 </inlineequation>. </para>
108 <!-- \latexCommandThatShouldBeCommented --><section>
109 <title>I am the first subsection</title>
110 <para>I am the only paragraph of the first subsection. </para>
113 <title>I am the second subsection</title>
114 <para>I am the only paragraph of the second subsection. </para>
117 <section xml:id="sec.Sec-2kqgsdiflhqsdlifgjuzer-povtuizmvnuer-t-vmsrmfli--uh--a--rtpfuo----rtpc.m-ca-rgifzapeu-tvgz">
118 <title>I am the second section </title>
119 <para>I am the only paragraph of the second section. <link xlink:href="http://example.org">Hyperlink.</link> “Text between quotes.”</para>
120 <para>See <xref linkend="sec.Sec-1" />.</para>
123 <title>I am the third section and I have fun with lists</title>
126 <para>First item.</para>
127 <para> Second line of the first item, after a line break. </para>
130 <para>Second item. </para>
135 <para>Item has no order (1). </para>
138 <para>Item has no order (2). </para>
145 <para>description</para>
149 <term>Sentence</term>
157 <title>I am the fourth section and I deal with formatting. </title>
158 <para>The following paragraph should be code. </para>
159 <para><programlisting>I am some code.
160 I am a second line of code. </programlisting>
161 I am no more code. </para>
162 <para>This line has inline code. <code>This has typewriter font</code><footnote>
163 <para>I repeat that in a footnote.</para>
165 <para>On the other hand, <footnote>
166 <para>this footnote</para>
167 <para>has multiple </para>
168 <para>paragraphs.</para>
172 <title>I am the fifth section and I deal with floats</title>
173 <para>Now, three tables: </para>
175 <caption>I am a table caption below the table.</caption>
178 <td align='center' valign='top'>
181 <td align='center' valign='top'>
184 <td align='center' valign='top'>
189 <td align='center' valign='top'>
192 <td align='center' valign='top'></td>
193 <td align='center' valign='top'>
194 <para>Col 3, row 1</para>
198 <td align='center' valign='top'>
201 <td align='center' valign='top'></td>
202 <td align='center' valign='top'>
203 <para>Col 3, row 2</para>
209 <caption>I am a table caption above the table.</caption>
212 <td align='center' valign='top'>
215 <td align='center' valign='top'>
218 <td align='center' valign='top'>
223 <td align='center' valign='top'>
226 <td align='center' valign='top'></td>
227 <td align='center' valign='top'>
228 <para>Col 3, row 1</para>
232 <td align='center' valign='top'>
235 <td align='center' valign='top'></td>
236 <td align='center' valign='top'>
237 <para>Col 3, row 2</para>
245 <td align='center' valign='top'>
246 <para>Table that has no caption 1</para>
248 <td align='center' valign='top'>
249 <para>Table that has no caption 2</para>
251 <td align='center' valign='top'>
252 <para>Table that has no caption 3</para>
256 <td align='center' valign='top'>
259 <td align='center' valign='top'></td>
260 <td align='center' valign='top'>
261 <para>Col 3, row 1</para>
265 <td align='center' valign='top'>
268 <td align='center' valign='top'></td>
269 <td align='center' valign='top'>
270 <para>Col 3, row 2</para>
276 <para>Then, one figure: </para>
278 <title>Caption.</title>
281 <imagedata fileref="D:/LyX/lyx-unstable/autotests/export/docbook/lyx-logo.png" />
287 <title>I am the sixth section and I really like bibliographies</title>
288 <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>
289 <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>
292 <title>I am the seventh section and I deal with indices</title>
293 <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>
294 <para>Then several terms for the first index: <indexterm type="idx"><primary>Term</primary><secondary>to</secondary><tertiary>index</tertiary></indexterm>. </para>
295 <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>
296 <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>
297 <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>
298 <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>
299 <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>
302 <title>I am the eight section and I deal with star sections</title>
303 <bridgehead renderas='other' otherrenderas='part'>Star part</bridgehead>
304 <bridgehead renderas='sect1'>Star section (sect1)</bridgehead>
305 <bridgehead renderas='sect2'>Star subsection (sect2)</bridgehead>
306 <bridgehead renderas='sect3'>Star subsubsection (sect3)</bridgehead>
307 <bridgehead renderas='sect4'>Star paragraph (sect4)</bridgehead>
308 <bridgehead renderas='sect5'>Star subparagraph (sect5)</bridgehead>
311 <title>References</title>
312 <biblioentry xml:id="article">
313 <title>The title of the work</title>
314 <volumenum>4</volumenum>
315 <artpagenums>201-213</artpagenums>
316 <bibliomisc role="type">article</bibliomisc>
317 <pubdate>1993</pubdate>
318 <biblioset relation="journal">
319 <title>The name of the journal</title>
324 <firstname>Peter</firstname>
325 <surname>Adams</surname>
329 <biblioid class="pubsnumber">2</biblioid>
330 <bibliomisc role="note">An optional note</bibliomisc>
332 <biblioentry xml:id="book">
333 <title>The title of the work</title>
334 <volumenum>4</volumenum>
336 <bibliomisc role="type">book</bibliomisc>
338 <publishername>The name of the publisher</publishername>
339 <address>The address</address></publisher>
340 <pubdate>1993</pubdate>
344 <firstname>Peter</firstname>
345 <surname>Babington</surname>
349 <bibliomisc role="note">An optional note</bibliomisc>
351 <biblioentry xml:id="booklet">
352 <title>The title of the work</title>
353 <bibliomisc role="type">booklet</bibliomisc>
354 <pubdate>1993</pubdate>
358 <firstname>Peter</firstname>
359 <surname>Caxton</surname>
364 <biblioentry xml:id="conference">
365 <title>The title of the work</title>
366 <artpagenums>213</artpagenums>
367 <bibliomisc role="type">conference</bibliomisc>
369 <publishername>The publisher</publishername>
371 <pubdate>1993</pubdate>
375 <firstname>Peter</firstname>
376 <surname>Draper</surname>
381 <biblioentry xml:id="inbook">
382 <title>The title of the work</title>
383 <artpagenums>201-213</artpagenums>
384 <bibliomisc role="type">inbook</bibliomisc>
386 <publishername>The name of the publisher</publishername>
388 <pubdate>1993</pubdate>
392 <firstname>Peter</firstname>
393 <surname>Eston</surname>
398 <biblioentry xml:id="incollection">
399 <title>The title of the work</title>
400 <volumenum>4</volumenum>
402 <artpagenums>201-213</artpagenums>
403 <bibliomisc role="type">incollection</bibliomisc>
405 <publishername>The name of the publisher</publishername>
406 <address>The address of the publisher</address></publisher>
407 <pubdate>1993</pubdate>
408 <biblioset relation="book">
409 <title>The title of the book</title>
414 <firstname>Peter</firstname>
415 <surname>Farindon</surname>
420 <personname>The editor</personname>
422 <bibliomisc role="note">An optional note</bibliomisc>
424 <biblioentry xml:id="small">
425 <title>A small paper</title>
426 <volumenum>-1</volumenum>
427 <bibliomisc role="type">article</bibliomisc>
428 <pubdate>1997</pubdate>
429 <biblioset relation="journal">
430 <title>The journal of small papers</title>
435 <surname>Freely</surname>
436 <othername role="suffix">I. P.</othername>
441 <firstname>Ditto</firstname>
442 <surname>Johannes</surname>
446 <bibliomisc role="note">to appear</bibliomisc>
448 <biblioentry xml:id="Gro60">
449 <title>Éléments de géométrie algébrique</title>
450 <bibliomisc role="type">book</bibliomisc>
451 <pubdate>1960</pubdate>
455 <firstname>Alexander</firstname>
456 <surname>Grothendieck</surname>
461 <biblioentry xml:id="big">
462 <title>A big paper</title>
463 <volumenum>MCMXCVII</volumenum>
464 <bibliomisc role="type">article</bibliomisc>
465 <pubdate>7991</pubdate>
466 <biblioset relation="journal">
467 <title>The journal of big papers</title>
472 <firstname>Hugh</firstname>
473 <surname>Jass</surname>