1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- This DocBook file was created by LyX 2.4.0~devel
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:mtext>I am a formula with a ref
71 <m:mn>.</m:mn></m:mtext>
74 <m:mtext>(1)</m:mtext>
81 <para>See <xref linkend="sec.Sec-2kqgsdiflhqsdlifgjuzer-povtuizmvnuer-t-vmsrmfli--uh--a--rtpfuo----rtpc.m-ca-rgifzapeu-tvgz" />.</para>
82 <para>Also, a formula with an user-defined macro that outputs well in LaTeX but cannot in MathML: <inlineequation>
83 <alt role='tex'>\testmacro</alt>
84 <mathphrase>MathML export failed. Please report this as a bug to the LyX developers: https://www.lyx.org/trac.</mathphrase>
85 </inlineequation>. </para>
86 <!-- \latexCommandThatShouldBeCommented --><section>
87 <title>I am the first subsection</title>
88 <para>I am the only paragraph of the first subsection. </para>
91 <title>I am the second subsection</title>
92 <para>I am the only paragraph of the second subsection. </para>
95 <section xml:id="sec.Sec-2kqgsdiflhqsdlifgjuzer-povtuizmvnuer-t-vmsrmfli--uh--a--rtpfuo----rtpc.m-ca-rgifzapeu-tvgz">
96 <title>I am the second section </title>
97 <para>I am the only paragraph of the second section. <link xlink:href="http://example.org">Hyperlink.</link> “Text between quotes.”</para>
98 <para>See <xref linkend="sec.Sec-1" />.</para>
101 <title>I am the third section and I have fun with lists</title>
104 <para>First item.</para>
105 <para> Second line of the first item, after a line break. </para>
108 <para>Second item. </para>
113 <para>Item has no order (1). </para>
116 <para>Item has no order (2). </para>
123 <para>description</para>
127 <term>Sentence</term>
135 <title>I am the fourth section and I deal with formatting. </title>
136 <para>The following paragraph should be code. </para>
137 <para><programlisting>I am some code.
138 I am a second line of code. </programlisting>
139 I am no more code. </para>
140 <para>This line has inline code. <code>This has typewriter font</code><footnote>
141 <para>I repeat that in a footnote.</para>
143 <para>On the other hand, <footnote>
144 <para>this footnote</para>
145 <para>has multiple </para>
146 <para>paragraphs.</para>
150 <title>I am the fifth section and I deal with floats</title>
151 <para>Now, three tables: </para>
153 <caption>I am a table caption below the table.</caption>
156 <td style='border-bottom: 3.000000px double; border-left: 1px solid; border-top: 1.000000px solid' align='center' valign='top'>
159 <td style='border-bottom: 3.000000px double; border-left: 1px solid; border-top: 1.000000px solid' align='center' valign='top'>
162 <td style='border-bottom: 3.000000px double; border-right: 1px solid; border-left: 1px solid; border-top: 1.000000px solid' align='center' valign='top'>
167 <td style='border-left: 1px solid; border-top: 1.000000px solid' align='center' valign='top'>
170 <td style='border-left: 1px solid; border-top: 1.000000px solid' align='center' valign='top'></td>
171 <td style='border-right: 1px solid; border-left: 1px solid; border-top: 1.000000px solid' align='center' valign='top'>
172 <para>Col 3, row 1</para>
176 <td style='border-bottom: 1.000000px solid; border-left: 1px solid; border-top: 1.000000px solid' align='center' valign='top'>
179 <td style='border-bottom: 1.000000px solid; border-left: 1px solid; border-top: 1.000000px solid' align='center' valign='top'></td>
180 <td style='border-bottom: 1.000000px solid; border-right: 1px solid; border-left: 1px solid; border-top: 1.000000px solid' align='center' valign='top'>
181 <para>Col 3, row 2</para>
187 <caption>I am a table caption above the table.</caption>
190 <td style='border-bottom: 3.000000px double; border-left: 1px solid; border-top: 1.000000px solid' align='center' valign='top'>
193 <td style='border-bottom: 3.000000px double; border-left: 1px solid; border-top: 1.000000px solid' align='center' valign='top'>
196 <td style='border-bottom: 3.000000px double; border-right: 1px solid; border-left: 1px solid; border-top: 1.000000px solid' align='center' valign='top'>
201 <td style='border-left: 1px solid; border-top: 1.000000px solid' align='center' valign='top'>
204 <td style='border-left: 1px solid; border-top: 1.000000px solid' align='center' valign='top'></td>
205 <td style='border-right: 1px solid; border-left: 1px solid; border-top: 1.000000px solid' align='center' valign='top'>
206 <para>Col 3, row 1</para>
210 <td style='border-bottom: 1.000000px solid; border-left: 1px solid; border-top: 1.000000px solid' align='center' valign='top'>
213 <td style='border-bottom: 1.000000px solid; border-left: 1px solid; border-top: 1.000000px solid' align='center' valign='top'></td>
214 <td style='border-bottom: 1.000000px solid; border-right: 1px solid; border-left: 1px solid; border-top: 1.000000px solid' align='center' valign='top'>
215 <para>Col 3, row 2</para>
223 <td style='border-bottom: 3.000000px double; border-left: 1px solid; border-top: 1.000000px solid' align='center' valign='top'>
224 <para>Table that has no caption 1</para>
226 <td style='border-bottom: 3.000000px double; border-left: 1px solid; border-top: 1.000000px solid' align='center' valign='top'>
227 <para>Table that has no caption 2</para>
229 <td style='border-bottom: 3.000000px double; border-right: 1px solid; border-left: 1px solid; border-top: 1.000000px solid' align='center' valign='top'>
230 <para>Table that has no caption 3</para>
234 <td style='border-left: 1px solid; border-top: 1.000000px solid' align='center' valign='top'>
237 <td style='border-left: 1px solid; border-top: 1.000000px solid' align='center' valign='top'></td>
238 <td style='border-right: 1px solid; border-left: 1px solid; border-top: 1.000000px solid' align='center' valign='top'>
239 <para>Col 3, row 1</para>
243 <td style='border-bottom: 1.000000px solid; border-left: 1px solid; border-top: 1.000000px solid' align='center' valign='top'>
246 <td style='border-bottom: 1.000000px solid; border-left: 1px solid; border-top: 1.000000px solid' align='center' valign='top'></td>
247 <td style='border-bottom: 1.000000px solid; border-right: 1px solid; border-left: 1px solid; border-top: 1.000000px solid' align='center' valign='top'>
248 <para>Col 3, row 2</para>
254 <para>Then, one figure: </para>
256 <title>Caption.</title>
259 <imagedata fileref="D:/LyX/lyx-unstable/autotests/export/docbook/lyx-logo.png" />
265 <title>I am the sixth section and I really like bibliographies</title>
266 <para>This text has references. First reference: <biblioref linkend="big" />. Second reference: <biblioref linkend="small" />. Both at the same time: <biblioref linkend="big" />, <biblioref linkend="small" />. A book: <biblioref linkend="Gro60" />. </para>
267 <para>Many things, just testing for completeness: <biblioref linkend="article" />, <biblioref linkend="book" />, <biblioref linkend="booklet" />, <biblioref linkend="conference" />, <biblioref linkend="inbook" />, <biblioref linkend="incollection" />, <biblioref linkend="Foucault.Kritik-EN92" />. </para>
270 <title>I am the seventh section and I deal with indices</title>
271 <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>
272 <para>Then several terms for the first index: <indexterm type="idx"><primary>Term</primary><secondary>to</secondary><tertiary>index</tertiary></indexterm>. </para>
273 <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>
274 <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>
275 <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>
276 <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>
277 <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>
280 <title>I am the eight section and I deal with star sections</title>
281 <bridgehead renderas='other' otherrenderas='part'>Star part</bridgehead>
282 <bridgehead renderas='sect1'>Star section (sect1)</bridgehead>
283 <bridgehead renderas='sect2'>Star subsection (sect2)</bridgehead>
284 <bridgehead renderas='sect3'>Star subsubsection (sect3)</bridgehead>
285 <bridgehead renderas='sect4'>Star paragraph (sect4)</bridgehead>
286 <bridgehead renderas='sect5'>Star subparagraph (sect5)</bridgehead>
289 <title>References</title>
290 <biblioentry xml:id="article">
291 <title>The title of the work</title>
292 <volumenum>4</volumenum>
293 <artpagenums>201-213</artpagenums>
294 <bibliomisc role="type">article</bibliomisc>
295 <pubdate>1993</pubdate>
296 <biblioset relation="journal">
297 <title>The name of the journal</title>
302 <firstname>Peter</firstname>
303 <surname>Adams</surname>
307 <biblioid class="pubsnumber">2</biblioid>
308 <bibliomisc role="note">An optional note</bibliomisc>
310 <biblioentry xml:id="book">
311 <title>The title of the work</title>
312 <volumenum>4</volumenum>
314 <bibliomisc role="type">book</bibliomisc>
316 <publishername>The name of the publisher</publishername>
317 <address>The address</address></publisher>
318 <pubdate>1993</pubdate>
322 <firstname>Peter</firstname>
323 <surname>Babington</surname>
327 <bibliomisc role="note">An optional note</bibliomisc>
329 <biblioentry xml:id="booklet">
330 <title>The title of the work</title>
331 <bibliomisc role="type">booklet</bibliomisc>
332 <pubdate>1993</pubdate>
336 <firstname>Peter</firstname>
337 <surname>Caxton</surname>
342 <biblioentry xml:id="conference">
343 <title>The title of the work</title>
344 <artpagenums>213</artpagenums>
345 <bibliomisc role="type">conference</bibliomisc>
347 <publishername>The publisher</publishername>
349 <pubdate>1993</pubdate>
353 <firstname>Peter</firstname>
354 <surname>Draper</surname>
359 <biblioentry xml:id="inbook">
360 <title>The title of the work</title>
361 <volumenum>4</volumenum>
363 <artpagenums>201-213</artpagenums>
364 <bibliomisc role="type">inbook</bibliomisc>
366 <publishername>The name of the publisher</publishername>
367 <address>The address of the publisher</address></publisher>
368 <pubdate>1993</pubdate>
369 <biblioset relation="book">
375 <firstname>Peter</firstname>
376 <surname>Eston</surname>
380 <bibliomisc role="note">An optional note</bibliomisc>
382 <biblioentry xml:id="incollection">
383 <title>The title of the work</title>
384 <volumenum>4</volumenum>
386 <artpagenums>201-213</artpagenums>
387 <bibliomisc role="type">incollection</bibliomisc>
389 <publishername>The name of the publisher</publishername>
390 <address>The address of the publisher</address></publisher>
391 <pubdate>1993</pubdate>
392 <biblioset relation="book">
393 <title>The title of the book</title>
398 <firstname>Peter</firstname>
399 <surname>Farindon</surname>
404 <personname>The editor</personname>
406 <bibliomisc role="note">An optional note</bibliomisc>
408 <biblioentry xml:id="Foucault.Kritik-EN92">
409 <title>What is Critique?</title>
410 <artpagenums>41-82</artpagenums>
411 <bibliomisc role="type">incollection</bibliomisc>
413 <publishername>Semiotext(e)</publishername>
414 <address>Los Angeles</address></publisher>
415 <pubdate>1997</pubdate>
416 <biblioset relation="book">
417 <title>The Politics of Truth</title>
422 <firstname>Michel</firstname>
423 <surname>Foucault</surname>
428 <othercredit class="other" otherclass="bookauthor">
430 <firstname>Michel</firstname>
431 <surname>Foucault</surname>
436 <biblioentry xml:id="small">
437 <title>A small paper</title>
438 <volumenum>-1</volumenum>
439 <bibliomisc role="type">article</bibliomisc>
440 <pubdate>1997</pubdate>
441 <biblioset relation="journal">
442 <title>The journal of small papers</title>
447 <surname>Freely</surname>
448 <othername role="suffix">I. P.</othername>
453 <firstname>Ditto</firstname>
454 <surname>Johannes</surname>
458 <bibliomisc role="note">to appear</bibliomisc>
460 <biblioentry xml:id="Gro60">
461 <title>Éléments de géométrie algébrique</title>
462 <bibliomisc role="type">book</bibliomisc>
463 <pubdate>1960</pubdate>
467 <firstname>Alexander</firstname>
468 <surname>Grothendieck</surname>
473 <biblioentry xml:id="big">
474 <title>A big paper</title>
475 <volumenum>MCMXCVII</volumenum>
476 <bibliomisc role="type">article</bibliomisc>
477 <pubdate>7991</pubdate>
478 <biblioset relation="journal">
479 <title>The journal of big papers</title>
484 <firstname>Hugh</firstname>
485 <surname>Jass</surname>