]> git.lyx.org Git - lyx.git/blob - autotests/export/docbook/basic.xml
de.po
[lyx.git] / autotests / export / docbook / basic.xml
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">
5 <info>
6 <title>I am a title</title>
7 <author>
8 <personname>I am an author</personname>
9 </author>
10 <date>I am a date</date>
11 <abstract>
12 <para>I am an abstract</para>
13 <para>I am also an abstract</para>
14 </abstract>
15 </info>
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>
21 <blockquote>
22 <para>I am a quote<inlineequation>
23 <alt role='tex'>\,with\,a\,formula</alt>
24 <m:math display="inline">
25  
26 <m:mrow>
27  <m:mspace width="6px"/>
28  <m:mi>w</m:mi>
29  <m:mi>i</m:mi>
30  <m:mi>t</m:mi>
31  <m:mi>h</m:mi>
32  <m:mspace width="6px"/>
33  <m:mi>a</m:mi>
34  <m:mspace width="6px"/>
35  <m:mi>f</m:mi>
36  <m:mi>o</m:mi>
37  <m:mi>r</m:mi>
38  <m:mi>m</m:mi>
39  <m:mi>u</m:mi>
40  <m:mi>l</m:mi>
41  <m:mi>a</m:mi>
42 </m:mrow>
43 </m:math>
44 </inlineequation>. </para>
45 </blockquote>
46 <para>Now, we&#8217;re outside quotes.</para>
47 <informalequation>
48 <alt role='tex'>Formula!</alt>
49 <m:math display="block">
50  
51 <m:mrow>
52  <m:mi>F</m:mi>
53  <m:mi>o</m:mi>
54  <m:mi>r</m:mi>
55  <m:mi>m</m:mi>
56  <m:mi>u</m:mi>
57  <m:mi>l</m:mi>
58  <m:mi>a</m:mi>
59  <m:mo>!</m:mo>
60 </m:mrow>
61 </m:math>
62 </informalequation>
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">
66  
67 <m:mtable displaystyle='true'>
68  <m:mtr>
69   <m:mtd>
70    <m:mtext>I&#0160;am&#0160;a&#0160;formula&#0160;with&#0160;a&#0160;ref
71    <m:mn>.</m:mn></m:mtext>
72   </m:mtd>
73   <m:mtd>
74    <m:mtext>(1)</m:mtext>
75   </m:mtd>
76  </m:mtr>
77 </m:mtable>
78 </m:math>
79 </informalequation>
80
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>
89 </section>
90 <section>
91 <title>I am the second subsection</title>
92 <para>I am the only paragraph of the second subsection. </para>
93 </section>
94 </section>
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> &#8220;Text between quotes.&#8221;</para>
98 <para>See <xref linkend="sec.Sec-1" />.</para>
99 </section>
100 <section>
101 <title>I am the third section and I have fun with lists</title>
102 <orderedlist>
103 <listitem>
104 <para>First item.</para>
105 <para> Second line of the first item, after a line break. </para>
106 </listitem>
107 <listitem>
108 <para>Second item. </para>
109 </listitem>
110 </orderedlist>
111 <itemizedlist>
112 <listitem>
113 <para>Item has no order (1). </para>
114 </listitem>
115 <listitem>
116 <para>Item has no order (2). </para>
117 </listitem>
118 </itemizedlist>
119 <variablelist>
120 <varlistentry>
121 <term>Word</term>
122 <listitem>
123 <para>description</para>
124 </listitem>
125 </varlistentry>
126 <varlistentry>
127 <term>Sentence</term>
128 <listitem>
129 <para>meaning</para>
130 </listitem>
131 </varlistentry>
132 </variablelist>
133 </section>
134 <section>
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>
142 </footnote>. </para>
143 <para>On the other hand, <footnote>
144 <para>this footnote</para>
145 <para>has multiple </para>
146 <para>paragraphs.</para>
147 </footnote>. </para>
148 </section>
149 <section>
150 <title>I am the fifth section and I deal with floats</title>
151 <para>Now, three tables: </para>
152 <table>
153 <caption>I am a table caption below the table.</caption>
154 <tbody>
155 <tr>
156 <td style='border-bottom: 3.000000px double; border-left: 1px solid; border-top: 1.000000px solid' align='center' valign='top'>
157 <para>Table 1</para>
158 </td>
159 <td style='border-bottom: 3.000000px double; border-left: 1px solid; border-top: 1.000000px solid' align='center' valign='top'>
160 <para>Table 2</para>
161 </td>
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'>
163 <para>Table 3</para>
164 </td>
165 </tr>
166 <tr>
167 <td style='border-left: 1px solid; border-top: 1.000000px solid' align='center' valign='top'>
168 <para>Row 1</para>
169 </td>
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>
173 </td>
174 </tr>
175 <tr>
176 <td style='border-bottom: 1.000000px solid; border-left: 1px solid; border-top: 1.000000px solid' align='center' valign='top'>
177 <para>Row 2</para>
178 </td>
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>
182 </td>
183 </tr>
184 </tbody>
185 </table>
186 <table>
187 <caption>I am a table caption above the table.</caption>
188 <tbody>
189 <tr>
190 <td style='border-bottom: 3.000000px double; border-left: 1px solid; border-top: 1.000000px solid' align='center' valign='top'>
191 <para>Table 1</para>
192 </td>
193 <td style='border-bottom: 3.000000px double; border-left: 1px solid; border-top: 1.000000px solid' align='center' valign='top'>
194 <para>Table 2</para>
195 </td>
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'>
197 <para>Table 3</para>
198 </td>
199 </tr>
200 <tr>
201 <td style='border-left: 1px solid; border-top: 1.000000px solid' align='center' valign='top'>
202 <para>Row 1</para>
203 </td>
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>
207 </td>
208 </tr>
209 <tr>
210 <td style='border-bottom: 1.000000px solid; border-left: 1px solid; border-top: 1.000000px solid' align='center' valign='top'>
211 <para>Row 2</para>
212 </td>
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>
216 </td>
217 </tr>
218 </tbody>
219 </table>
220 <informaltable>
221 <tbody>
222 <tr>
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>
225 </td>
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>
228 </td>
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>
231 </td>
232 </tr>
233 <tr>
234 <td style='border-left: 1px solid; border-top: 1.000000px solid' align='center' valign='top'>
235 <para>Row 1</para>
236 </td>
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>
240 </td>
241 </tr>
242 <tr>
243 <td style='border-bottom: 1.000000px solid; border-left: 1px solid; border-top: 1.000000px solid' align='center' valign='top'>
244 <para>Row 2</para>
245 </td>
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>
249 </td>
250 </tr>
251 </tbody>
252 </informaltable>
253
254 <para>Then, one figure: </para>
255 <figure>
256 <title>Caption.</title>
257 <mediaobject>
258 <imageobject>
259 <imagedata fileref="D:/LyX/lyx-unstable/autotests/export/docbook/lyx-logo.png"  />
260 </imageobject>
261 </mediaobject>
262 </figure>
263 </section>
264 <section>
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>
268 </section>
269 <section>
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>
278 </section>
279 <section>
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>
287 </section>
288 <bibliography>
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>
298 </biblioset>
299 <authorgroup>
300 <author>
301 <personname>
302 <firstname>Peter</firstname>
303 <surname>Adams</surname>
304 </personname>
305 </author>
306 </authorgroup>
307 <biblioid class="pubsnumber">2</biblioid>
308 <bibliomisc role="note">An optional note</bibliomisc>
309 </biblioentry>
310 <biblioentry xml:id="book">
311 <title>The title of the work</title>
312 <volumenum>4</volumenum>
313 <edition>3</edition>
314 <bibliomisc role="type">book</bibliomisc>
315 <publisher>
316 <publishername>The name of the publisher</publishername>
317 <address>The address</address></publisher>
318 <pubdate>1993</pubdate>
319 <authorgroup>
320 <author>
321 <personname>
322 <firstname>Peter</firstname>
323 <surname>Babington</surname>
324 </personname>
325 </author>
326 </authorgroup>
327 <bibliomisc role="note">An optional note</bibliomisc>
328 </biblioentry>
329 <biblioentry xml:id="booklet">
330 <title>The title of the work</title>
331 <bibliomisc role="type">booklet</bibliomisc>
332 <pubdate>1993</pubdate>
333 <authorgroup>
334 <author>
335 <personname>
336 <firstname>Peter</firstname>
337 <surname>Caxton</surname>
338 </personname>
339 </author>
340 </authorgroup>
341 </biblioentry>
342 <biblioentry xml:id="conference">
343 <title>The title of the work</title>
344 <artpagenums>213</artpagenums>
345 <bibliomisc role="type">conference</bibliomisc>
346 <publisher>
347 <publishername>The publisher</publishername>
348 </publisher>
349 <pubdate>1993</pubdate>
350 <authorgroup>
351 <author>
352 <personname>
353 <firstname>Peter</firstname>
354 <surname>Draper</surname>
355 </personname>
356 </author>
357 </authorgroup>
358 </biblioentry>
359 <biblioentry xml:id="inbook">
360 <title>The title of the work</title>
361 <volumenum>4</volumenum>
362 <edition>3</edition>
363 <artpagenums>201-213</artpagenums>
364 <bibliomisc role="type">inbook</bibliomisc>
365 <publisher>
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">
370 <title></title>
371 </biblioset>
372 <authorgroup>
373 <author>
374 <personname>
375 <firstname>Peter</firstname>
376 <surname>Eston</surname>
377 </personname>
378 </author>
379 </authorgroup>
380 <bibliomisc role="note">An optional note</bibliomisc>
381 </biblioentry>
382 <biblioentry xml:id="incollection">
383 <title>The title of the work</title>
384 <volumenum>4</volumenum>
385 <edition>3</edition>
386 <artpagenums>201-213</artpagenums>
387 <bibliomisc role="type">incollection</bibliomisc>
388 <publisher>
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>
394 </biblioset>
395 <authorgroup>
396 <author>
397 <personname>
398 <firstname>Peter</firstname>
399 <surname>Farindon</surname>
400 </personname>
401 </author>
402 </authorgroup>
403 <editor>
404 <personname>The editor</personname>
405 </editor>
406 <bibliomisc role="note">An optional note</bibliomisc>
407 </biblioentry>
408 <biblioentry xml:id="Foucault.Kritik-EN92">
409 <title>What is Critique?</title>
410 <artpagenums>41-82</artpagenums>
411 <bibliomisc role="type">incollection</bibliomisc>
412 <publisher>
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>
418 </biblioset>
419 <authorgroup>
420 <author>
421 <personname>
422 <firstname>Michel</firstname>
423 <surname>Foucault</surname>
424 </personname>
425 </author>
426 </authorgroup>
427 <authorgroup>
428 <othercredit class="other" otherclass="bookauthor">
429 <personname>
430 <firstname>Michel</firstname>
431 <surname>Foucault</surname>
432 </personname>
433 </othercredit>
434 </authorgroup>
435 </biblioentry>
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>
443 </biblioset>
444 <authorgroup>
445 <author>
446 <personname>
447 <surname>Freely</surname>
448 <othername role="suffix">I. P.</othername>
449 </personname>
450 </author>
451 <author>
452 <personname>
453 <firstname>Ditto</firstname>
454 <surname>Johannes</surname>
455 </personname>
456 </author>
457 </authorgroup>
458 <bibliomisc role="note">to appear</bibliomisc>
459 </biblioentry>
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>
464 <authorgroup>
465 <author>
466 <personname>
467 <firstname>Alexander</firstname>
468 <surname>Grothendieck</surname>
469 </personname>
470 </author>
471 </authorgroup>
472 </biblioentry>
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>
480 </biblioset>
481 <authorgroup>
482 <author>
483 <personname>
484 <firstname>Hugh</firstname>
485 <surname>Jass</surname>
486 </personname>
487 </author>
488 </authorgroup>
489 </biblioentry>
490 </bibliography>
491 </article>