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">
28 <m:mspace width="6px"/>
33 <m:mspace width="6px"/>
35 <m:mspace width="6px"/>
46 </inlineequation>. </para>
48 <para>Now, we're outside quotes.</para>
50 <alt role='tex'>Formula!</alt>
51 <m:math display="block">
67 <informalequation xml:id="eq.EQ.">
68 <alt role='tex'>\text{I am a formula with a ref.}\label{eq:EQ.}</alt>
69 <m:math display="block">
71 <m:mtable displaystyle='true'>
74 <m:mstyle mathvariant='normal'>
100 <m:mtext>(1)</m:mtext>
107 <para>See <xref linkend="sec.Sec-2kqgsdiflhqsdlifgjuzer-povtuizmvnuer-t-vmsrmfli--uh--a--rtpfuo----rtpc.m-ca-rgifzapeu-tvgz" />.</para>
108 <para>Also, a formula with an user-defined macro that outputs well in LaTeX but cannot in MathML: <inlineequation>
109 <alt role='tex'>\testmacro</alt>
110 <mathphrase>MathML export failed. Please report this as a bug to the LyX developers: https://www.lyx.org/trac.</mathphrase>
111 </inlineequation>. </para>
112 <!-- \latexCommandThatShouldBeCommented --><section>
113 <title>I am the first subsection</title>
114 <para>I am the only paragraph of the first subsection. </para>
117 <title>I am the second subsection</title>
118 <para>I am the only paragraph of the second subsection. </para>
121 <section xml:id="sec.Sec-2kqgsdiflhqsdlifgjuzer-povtuizmvnuer-t-vmsrmfli--uh--a--rtpfuo----rtpc.m-ca-rgifzapeu-tvgz">
122 <title>I am the second section </title>
123 <para>I am the only paragraph of the second section. <link xlink:href="http://example.org">Hyperlink.</link> “Text between quotes.”</para>
124 <para>See <xref linkend="sec.Sec-1" />.</para>
127 <title>I am the third section and I have fun with lists</title>
130 <para>First item.</para>
131 <para> Second line of the first item, after a line break. </para>
134 <para>Second item. </para>
139 <para>Item has no order (1). </para>
142 <para>Item has no order (2). </para>
149 <para>description</para>
153 <term>Sentence</term>
161 <title>I am the fourth section and I deal with formatting. </title>
162 <para>The following paragraph should be code. </para>
163 <para><programlisting>I am some code.
164 I am a second line of code. </programlisting>
165 I am no more code. </para>
166 <para>This line has inline code. <code>This has typewriter font</code><footnote>
167 <para>I repeat that in a footnote.</para>
169 <para>On the other hand, <footnote>
170 <para>this footnote</para>
171 <para>has multiple </para>
172 <para>paragraphs.</para>
176 <title>I am the fifth section and I deal with floats</title>
177 <para>Now, three tables: </para>
179 <caption>I am a table caption below the table.</caption>
182 <td align='center' valign='top'>
185 <td align='center' valign='top'>
188 <td align='center' valign='top'>
193 <td align='center' valign='top'>
196 <td align='center' valign='top'></td>
197 <td align='center' valign='top'>
198 <para>Col 3, row 1</para>
202 <td align='center' valign='top'>
205 <td align='center' valign='top'></td>
206 <td align='center' valign='top'>
207 <para>Col 3, row 2</para>
213 <caption>I am a table caption above the table.</caption>
216 <td align='center' valign='top'>
219 <td align='center' valign='top'>
222 <td align='center' valign='top'>
227 <td align='center' valign='top'>
230 <td align='center' valign='top'></td>
231 <td align='center' valign='top'>
232 <para>Col 3, row 1</para>
236 <td align='center' valign='top'>
239 <td align='center' valign='top'></td>
240 <td align='center' valign='top'>
241 <para>Col 3, row 2</para>
249 <td align='center' valign='top'>
250 <para>Table that has no caption 1</para>
252 <td align='center' valign='top'>
253 <para>Table that has no caption 2</para>
255 <td align='center' valign='top'>
256 <para>Table that has no caption 3</para>
260 <td align='center' valign='top'>
263 <td align='center' valign='top'></td>
264 <td align='center' valign='top'>
265 <para>Col 3, row 1</para>
269 <td align='center' valign='top'>
272 <td align='center' valign='top'></td>
273 <td align='center' valign='top'>
274 <para>Col 3, row 2</para>
280 <para>Then, one figure: </para>
282 <title>Caption.</title>
285 <imagedata fileref="D:/LyX/lyx-unstable/autotests/export/docbook/lyx-logo.png" />
291 <title>I am the sixth section and I really like bibliographies</title>
292 <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>
293 <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>
296 <title>I am the seventh section and I deal with indices</title>
297 <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>
298 <para>Then several terms for the first index: <indexterm type="idx"><primary>Term</primary><secondary>to</secondary><tertiary>index</tertiary></indexterm>. </para>
299 <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>
300 <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>
301 <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>
302 <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>
303 <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>
306 <title>I am the eight section and I deal with star sections</title>
307 <bridgehead renderas='other' otherrenderas='part'>Star part</bridgehead>
308 <bridgehead renderas='sect1'>Star section (sect1)</bridgehead>
309 <bridgehead renderas='sect2'>Star subsection (sect2)</bridgehead>
310 <bridgehead renderas='sect3'>Star subsubsection (sect3)</bridgehead>
311 <bridgehead renderas='sect4'>Star paragraph (sect4)</bridgehead>
312 <bridgehead renderas='sect5'>Star subparagraph (sect5)</bridgehead>
315 <title>References</title>
316 <biblioentry xml:id="article">
317 <title>The title of the work</title>
318 <volumenum>4</volumenum>
319 <artpagenums>201-213</artpagenums>
320 <bibliomisc role="type">article</bibliomisc>
321 <pubdate>1993</pubdate>
322 <biblioset relation="journal">
323 <title>The name of the journal</title>
328 <firstname>Peter</firstname>
329 <surname>Adams</surname>
333 <biblioid class="pubsnumber">2</biblioid>
334 <bibliomisc role="note">An optional note</bibliomisc>
336 <biblioentry xml:id="book">
337 <title>The title of the work</title>
338 <volumenum>4</volumenum>
340 <bibliomisc role="type">book</bibliomisc>
342 <publishername>The name of the publisher</publishername>
343 <address>The address</address></publisher>
344 <pubdate>1993</pubdate>
348 <firstname>Peter</firstname>
349 <surname>Babington</surname>
353 <bibliomisc role="note">An optional note</bibliomisc>
355 <biblioentry xml:id="booklet">
356 <title>The title of the work</title>
357 <bibliomisc role="type">booklet</bibliomisc>
358 <pubdate>1993</pubdate>
362 <firstname>Peter</firstname>
363 <surname>Caxton</surname>
368 <biblioentry xml:id="conference">
369 <title>The title of the work</title>
370 <artpagenums>213</artpagenums>
371 <bibliomisc role="type">conference</bibliomisc>
373 <publishername>The publisher</publishername>
375 <pubdate>1993</pubdate>
379 <firstname>Peter</firstname>
380 <surname>Draper</surname>
385 <biblioentry xml:id="inbook">
386 <title>The title of the work</title>
387 <artpagenums>201-213</artpagenums>
388 <bibliomisc role="type">inbook</bibliomisc>
390 <publishername>The name of the publisher</publishername>
392 <pubdate>1993</pubdate>
396 <firstname>Peter</firstname>
397 <surname>Eston</surname>
402 <biblioentry xml:id="incollection">
403 <title>The title of the work</title>
404 <volumenum>4</volumenum>
406 <artpagenums>201-213</artpagenums>
407 <bibliomisc role="type">incollection</bibliomisc>
409 <publishername>The name of the publisher</publishername>
410 <address>The address of the publisher</address></publisher>
411 <pubdate>1993</pubdate>
412 <biblioset relation="book">
413 <title>The title of the book</title>
418 <firstname>Peter</firstname>
419 <surname>Farindon</surname>
423 <bibliomisc role="note">An optional note</bibliomisc>
425 <biblioentry xml:id="small">
426 <title>A small paper</title>
427 <volumenum>-1</volumenum>
428 <bibliomisc role="type">article</bibliomisc>
429 <pubdate>1997</pubdate>
430 <biblioset relation="journal">
431 <title>The journal of small papers</title>
436 <surname>Freely</surname>
437 <othername role="suffix">I. P.</othername>
442 <firstname>Ditto</firstname>
443 <surname>Johannes</surname>
447 <bibliomisc role="note">to appear</bibliomisc>
449 <biblioentry xml:id="Gro60">
450 <title>Éléments de géométrie algébrique</title>
451 <bibliomisc role="type">book</bibliomisc>
452 <pubdate>1960</pubdate>
456 <firstname>Alexander</firstname>
457 <surname>Grothendieck</surname>
462 <biblioentry xml:id="big">
463 <title>A big paper</title>
464 <volumenum>MCMXCVII</volumenum>
465 <bibliomisc role="type">article</bibliomisc>
466 <pubdate>7991</pubdate>
467 <biblioset relation="journal">
468 <title>The journal of big papers</title>
473 <firstname>Hugh</firstname>
474 <surname>Jass</surname>