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>
17 <para>I am a standard paragraph. </para>
18 <section xml:id="sec.Sec-1">
19 <title>I am the first section </title>
20 <para>I am the first paragraph of the first section. </para>
21 <para>I am the second paragraph of the first section. </para>
23 <para>I am a quote<inlineequation>
24 <alt role='tex'>\,with\,a\,formula</alt>
28 <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>
32 </inlineequation>. </para>
34 <para>Now, we're outside quotes.</para>
36 <alt role='tex'>Formula!</alt>
40 <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>
45 <informalequation xml:id="eq.EQ.">
46 <alt role='tex'>\text{I am a formula with a ref.}\label{eq:EQ.}</alt>
50 <m:mstyle mathvariant='normal'>
51 <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>
58 <para>See <xref linkend="sec.Sec-2kqgsdiflhqsdlifgjuzer-povtuizmvnuer-t-vmsrmfli--uh--a--rtpfuo----rtpc.m-ca-rgifzapeu-tvgz" />.</para>
59 <para>Also, a formula with an user-defined macro that outputs well in LaTeX but cannot in MathML: <inlineequation>
60 <alt role='tex'>\testmacro</alt>
61 <mathphrase>MathML export failed. Please report this as a bug.</mathphrase>
62 </inlineequation>. </para>
63 <!-- \latexCommandThatShouldBeCommented -->
65 <title>I am the first subsection</title>
66 <para>I am the only paragraph of the first subsection. </para>
69 <title>I am the second subsection</title>
70 <para>I am the only paragraph of the second subsection. </para>
73 <section xml:id="sec.Sec-2kqgsdiflhqsdlifgjuzer-povtuizmvnuer-t-vmsrmfli--uh--a--rtpfuo----rtpc.m-ca-rgifzapeu-tvgz">
74 <title>I am the second section </title>
75 <para>I am the only paragraph of the second section. <link xlink:href="http://example.org">Hyperlink.</link> “Text between quotes.”</para>
76 <para>See <xref linkend="sec.Sec-1" />.</para>
79 <title>I am the third section and I have fun with lists</title>
82 <para>First item.</para>
83 <para> Second line of the first item, after a line break. </para>
86 <para>Second item. </para>
91 <para>Item has no order (1). </para>
94 <para>Item has no order (2). </para>
101 <para>description</para>
105 <term>Sentence</term>
113 <title>I am the fourth section and I deal with formatting. </title>
114 <para>The following paragraph should be code. </para>
115 <para><programlisting>I am some code.
116 I am a second line of code. </programlisting>
117 I am no more code. </para>
118 <para>This line has inline code. <code>This has typewriter font</code><footnote>
119 <para>I repeat that in a footnote.</para>
121 <para>On the other hand, <footnote>
122 <para>this footnote</para>
123 <para>has multiple </para>
124 <para>paragraphs.</para>
128 <title>I am the fifth section and I deal with floats</title>
129 <para>Now, three tables: </para>
131 <caption>I am a table caption below the table.</caption>
134 <td align='center' valign='top'>Table 1</td>
135 <td align='center' valign='top'>Table 2</td>
136 <td align='center' valign='top'>Table 3</td>
139 <td align='center' valign='top'>Row 1</td>
140 <td align='center' valign='top'></td>
141 <td align='center' valign='top'>Col 3, row 1</td>
144 <td align='center' valign='top'>Row 2</td>
145 <td align='center' valign='top'></td>
146 <td align='center' valign='top'>Col 3, row 2</td>
151 <caption>I am a table caption above the table.</caption>
154 <td align='center' valign='top'>Table 1</td>
155 <td align='center' valign='top'>Table 2</td>
156 <td align='center' valign='top'>Table 3</td>
159 <td align='center' valign='top'>Row 1</td>
160 <td align='center' valign='top'></td>
161 <td align='center' valign='top'>Col 3, row 1</td>
164 <td align='center' valign='top'>Row 2</td>
165 <td align='center' valign='top'></td>
166 <td align='center' valign='top'>Col 3, row 2</td>
173 <td align='center' valign='top'>Table that has no caption 1</td>
174 <td align='center' valign='top'>Table that has no caption 2</td>
175 <td align='center' valign='top'>Table that has no caption 3</td>
178 <td align='center' valign='top'>Row 1</td>
179 <td align='center' valign='top'></td>
180 <td align='center' valign='top'>Col 3, row 1</td>
183 <td align='center' valign='top'>Row 2</td>
184 <td align='center' valign='top'></td>
185 <td align='center' valign='top'>Col 3, row 2</td>
190 <para>Then, one figure: </para>
192 <title>Caption.</title>
195 <imagedata fileref="D:/LyX/lyx-unstable/autotests/export/docbook/lyx-logo.png" />
201 <title>I am the sixth section and I really like bibliographies</title>
202 <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>
203 <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>
206 <title>I am the seventh section and I deal with indices</title>
207 <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>
208 <para>Then several terms for the first index: <indexterm type="idx"><primary>Term</primary><secondary>to</secondary><tertiary>index</tertiary></indexterm>. </para>
209 <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>
210 <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>
211 <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>
212 <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>
213 <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>
216 <title>I am the eight section and I deal with star sections</title>
217 <bridgehead renderas='other' otherrenderas='part'>Star part</bridgehead>
218 <bridgehead renderas='sect1'>Star section (sect1)</bridgehead>
219 <bridgehead renderas='sect2'>Star subsection (sect2)</bridgehead>
220 <bridgehead renderas='sect3'>Star subsubsection (sect3)</bridgehead>
221 <bridgehead renderas='sect4'>Star paragraph (sect4)</bridgehead>
222 <bridgehead renderas='sect5'>Star subparagraph (sect5)</bridgehead>
225 <title>References</title>
226 <biblioentry xml:id="article">
227 <title>The title of the work</title>
228 <volumenum>4</volumenum>
229 <artpagenums>201-213</artpagenums>
230 <bibliomisc role="type">article</bibliomisc>
231 <pubdate>1993</pubdate>
232 <biblioset relation="journal">
233 <title>The name of the journal</title>
238 <firstname>Peter</firstname>
239 <surname>Adams</surname>
243 <biblioid class="pubsnumber">2</biblioid>
244 <bibliomisc role="note">An optional note</bibliomisc>
246 <biblioentry xml:id="book">
247 <title>The title of the work</title>
248 <volumenum>4</volumenum>
250 <bibliomisc role="type">book</bibliomisc>
252 <publishername>The name of the publisher</publishername>
253 <address>The address</address></publisher>
254 <pubdate>1993</pubdate>
258 <firstname>Peter</firstname>
259 <surname>Babington</surname>
263 <bibliomisc role="note">An optional note</bibliomisc>
265 <biblioentry xml:id="booklet">
266 <title>The title of the work</title>
267 <bibliomisc role="type">booklet</bibliomisc>
268 <pubdate>1993</pubdate>
272 <firstname>Peter</firstname>
273 <surname>Caxton</surname>
278 <biblioentry xml:id="conference">
279 <title>The title of the work</title>
280 <artpagenums>213</artpagenums>
281 <bibliomisc role="type">conference</bibliomisc>
283 <publishername>The publisher</publishername>
285 <pubdate>1993</pubdate>
289 <firstname>Peter</firstname>
290 <surname>Draper</surname>
295 <biblioentry xml:id="inbook">
296 <title>The title of the work</title>
297 <artpagenums>201-213</artpagenums>
298 <bibliomisc role="type">inbook</bibliomisc>
300 <publishername>The name of the publisher</publishername>
302 <pubdate>1993</pubdate>
306 <firstname>Peter</firstname>
307 <surname>Eston</surname>
312 <biblioentry xml:id="incollection">
313 <title>The title of the work</title>
314 <volumenum>4</volumenum>
316 <artpagenums>201-213</artpagenums>
317 <bibliomisc role="type">incollection</bibliomisc>
319 <publishername>The name of the publisher</publishername>
320 <address>The address of the publisher</address></publisher>
321 <pubdate>1993</pubdate>
322 <biblioset relation="book">
323 <title>The title of the book</title>
328 <firstname>Peter</firstname>
329 <surname>Farindon</surname>
333 <bibliomisc role="note">An optional note</bibliomisc>
335 <biblioentry xml:id="small">
336 <title>A small paper</title>
337 <volumenum>-1</volumenum>
338 <bibliomisc role="type">article</bibliomisc>
339 <pubdate>1997</pubdate>
340 <biblioset relation="journal">
341 <title>The journal of small papers</title>
346 <surname>Freely</surname>
347 <othername role="suffix">I. P.</othername>
352 <firstname>Ditto</firstname>
353 <surname>Johannes</surname>
357 <bibliomisc role="note">to appear</bibliomisc>
359 <biblioentry xml:id="Gro60">
360 <title>Éléments de géométrie algébrique</title>
361 <bibliomisc role="type">book</bibliomisc>
362 <pubdate>1960</pubdate>
366 <firstname>Alexander</firstname>
367 <surname>Grothendieck</surname>
372 <biblioentry xml:id="big">
373 <title>A big paper</title>
374 <volumenum>MCMXCVII</volumenum>
375 <bibliomisc role="type">article</bibliomisc>
376 <pubdate>7991</pubdate>
377 <biblioset relation="journal">
378 <title>The journal of big papers</title>
383 <firstname>Hugh</firstname>
384 <surname>Jass</surname>