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>
57 <para>See <xref linkend="sec.Sec-2kqgsdiflhqsdlifgjuzer-povtuizmvnuer-t-vmsrmfli--uh--a--rtpfuo----rtpc.m-ca-rgifzapeu-tvgz" />.</para>
58 <para>Also, a formula with an user-defined macro that outputs well in LaTeX but cannot in MathML: <inlineequation>
59 <alt role='tex'>\testmacro</alt>
60 <mathphrase>MathML export failed. Please report this as a bug.</mathphrase>
61 </inlineequation>. </para>
62 <!-- \latexCommandThatShouldBeCommented -->
64 <title>I am the first subsection</title>
65 <para>I am the only paragraph of the first subsection. </para>
68 <title>I am the second subsection</title>
69 <para>I am the only paragraph of the second subsection. </para>
72 <section xml:id="sec.Sec-2kqgsdiflhqsdlifgjuzer-povtuizmvnuer-t-vmsrmfli--uh--a--rtpfuo----rtpc.m-ca-rgifzapeu-tvgz">
73 <title>I am the second section </title>
74 <para>I am the only paragraph of the second section. <link xlink:href="http://example.org">Hyperlink.</link> “Text between quotes.”</para>
75 <para>See <xref linkend="sec.Sec-1" />.</para>
78 <title>I am the third section and I have fun with lists</title>
81 <para>First item. </para>
82 <para>Second line of the first item, after a line break. </para>
85 <para>Second item. </para>
90 <para>Item has no order (1). </para>
93 <para>Item has no order (2). </para>
100 <para>description</para>
104 <term>Sentence</term>
112 <title>I am the fourth section and I deal with formatting. </title>
113 <para>The following paragraph should be code. </para>
114 <para><programlisting>I am some code.
115 I am a second line of code.
116 </programlisting>I am no more code. </para>
117 <para>This line has inline code. <code>This has typewriter font</code><footnote>
118 <para>I repeat that in a footnote.</para>
120 <para>On the other hand, <footnote>
121 <para>this footnote</para>
122 <para>has multiple </para>
123 <para>paragraphs.</para>
127 <title>I am the fifth section and I deal with floats</title>
128 <para>Now, three tables: </para>
130 <caption>I am a table caption below the table.</caption>
133 <td align='center' valign='top'>Table 1</td>
134 <td align='center' valign='top'>Table 2</td>
135 <td align='center' valign='top'>Table 3</td>
138 <td align='center' valign='top'>Row 1</td>
139 <td align='center' valign='top'></td>
140 <td align='center' valign='top'>Col 3, row 1</td>
143 <td align='center' valign='top'>Row 2</td>
144 <td align='center' valign='top'></td>
145 <td align='center' valign='top'>Col 3, row 2</td>
150 <caption>I am a table caption above the table.</caption>
153 <td align='center' valign='top'>Table 1</td>
154 <td align='center' valign='top'>Table 2</td>
155 <td align='center' valign='top'>Table 3</td>
158 <td align='center' valign='top'>Row 1</td>
159 <td align='center' valign='top'></td>
160 <td align='center' valign='top'>Col 3, row 1</td>
163 <td align='center' valign='top'>Row 2</td>
164 <td align='center' valign='top'></td>
165 <td align='center' valign='top'>Col 3, row 2</td>
172 <td align='center' valign='top'>Table that has no caption 1</td>
173 <td align='center' valign='top'>Table that has no caption 2</td>
174 <td align='center' valign='top'>Table that has no caption 3</td>
177 <td align='center' valign='top'>Row 1</td>
178 <td align='center' valign='top'></td>
179 <td align='center' valign='top'>Col 3, row 1</td>
182 <td align='center' valign='top'>Row 2</td>
183 <td align='center' valign='top'></td>
184 <td align='center' valign='top'>Col 3, row 2</td>
189 <para>Then, one figure: </para>
191 <title>Caption.</title>
194 <imagedata fileref="D:/LyX/lyx-unstable/autotests/export/docbook/lyx-logo.png" />
200 <title>I am the sixth section and I really like bibliographies</title>
201 <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>
202 <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>
205 <title>I am the seventh section and I deal with indices</title>
206 <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>
207 <para>Then several terms for the first index: <indexterm type="idx"><primary>Term</primary><secondary>to</secondary><tertiary>index</tertiary></indexterm>. </para>
208 <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>
209 <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>
210 <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>
211 <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>
212 <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>
215 <title>I am the eight section and I deal with star sections</title>
216 <bridgehead renderas='other' otherrenderas='part'>Star part</bridgehead>
217 <bridgehead renderas="sect1">Star section (sect1)</bridgehead>
218 <bridgehead renderas="sect2">Star subsection (sect2)</bridgehead>
219 <bridgehead renderas="sect3">Star subsubsection (sect3)</bridgehead>
220 <bridgehead renderas="sect4">Star paragraph (sect4)</bridgehead>
221 <bridgehead renderas="sect5">Star subparagraph (sect5)</bridgehead>
224 <title>References</title>
225 <biblioentry xml:id="article">
226 <title>The title of the work</title><volumenum>4</volumenum><artpagenums>201-213</artpagenums><bibliomisc role="type">article</bibliomisc>
227 <pubdate>1993</pubdate>
228 <biblioset relation="journal">
229 <title>The name of the journal</title>
231 <authorgroup><author>
233 <firstname>Peter</firstname>
234 <surname>Adams</surname>
238 <biblioid class="pubsnumber">2</biblioid>
239 <bibliomisc role="note">An optional note</bibliomisc>
241 <biblioentry xml:id="book">
242 <title>The title of the work</title><volumenum>4</volumenum><edition>3</edition><bibliomisc role="type">book</bibliomisc>
244 <publishername>The name of the publisher</publishername>
245 <address>The address</address></publisher>
246 <pubdate>1993</pubdate>
247 <authorgroup><author>
249 <firstname>Peter</firstname>
250 <surname>Babington</surname>
254 <bibliomisc role="note">An optional note</bibliomisc>
256 <biblioentry xml:id="booklet">
257 <title>The title of the work</title><bibliomisc role="type">booklet</bibliomisc>
258 <pubdate>1993</pubdate>
259 <authorgroup><author>
261 <firstname>Peter</firstname>
262 <surname>Caxton</surname>
267 <biblioentry xml:id="conference">
268 <title>The title of the work</title><artpagenums>213</artpagenums><bibliomisc role="type">conference</bibliomisc>
270 <publishername>The publisher</publishername>
272 <pubdate>1993</pubdate>
273 <authorgroup><author>
275 <firstname>Peter</firstname>
276 <surname>Draper</surname>
281 <biblioentry xml:id="inbook">
282 <title>The title of the work</title><artpagenums>201-213</artpagenums><bibliomisc role="type">inbook</bibliomisc>
284 <publishername>The name of the publisher</publishername>
286 <pubdate>1993</pubdate>
287 <authorgroup><author>
289 <firstname>Peter</firstname>
290 <surname>Eston</surname>
295 <biblioentry xml:id="incollection">
296 <title>The title of the work</title><volumenum>4</volumenum><edition>3</edition><artpagenums>201-213</artpagenums><bibliomisc role="type">incollection</bibliomisc>
298 <publishername>The name of the publisher</publishername>
299 <address>The address of the publisher</address></publisher>
300 <pubdate>1993</pubdate>
301 <biblioset relation="book">
302 <title>The title of the book</title>
304 <authorgroup><author>
306 <firstname>Peter</firstname>
307 <surname>Farindon</surname>
311 <bibliomisc role="note">An optional note</bibliomisc>
313 <biblioentry xml:id="small">
314 <title>A small paper</title><volumenum>-1</volumenum><bibliomisc role="type">article</bibliomisc>
315 <pubdate>1997</pubdate>
316 <biblioset relation="journal">
317 <title>The journal of small papers</title>
319 <authorgroup><author>
321 <surname>Freely</surname>
322 <othername role="suffix">I. P.</othername>
327 <firstname>Ditto</firstname>
328 <surname>Johannes</surname>
332 <bibliomisc role="note">to appear</bibliomisc>
334 <biblioentry xml:id="Gro60">
335 <title>Éléments de géométrie algébrique</title><bibliomisc role="type">book</bibliomisc>
336 <pubdate>1960</pubdate>
337 <authorgroup><author>
339 <firstname>Alexander</firstname>
340 <surname>Grothendieck</surname>
345 <biblioentry xml:id="big">
346 <title>A big paper</title><volumenum>MCMXCVII</volumenum><bibliomisc role="type">article</bibliomisc>
347 <pubdate>7991</pubdate>
348 <biblioset relation="journal">
349 <title>The journal of big papers</title>
351 <authorgroup><author>
353 <firstname>Hugh</firstname>
354 <surname>Jass</surname>
359 </bibliography></article>