git.iko.soy/typeable/pandoc
on 1.14 help sign in
typeable/pandoc/tests/docbook-reader.docbook
1543 lines 33 kB history raw
1<?xml version="1.0" encoding="utf-8" ?>
2<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd">
4<article>
5 <articleinfo>
6 <title>Pandoc Test Suite</title>
7 <authorgroup>
8 <author>
9 <firstname>John</firstname>
10 <surname>MacFarlane</surname>
11 </author>
12 <author>
13 <firstname></firstname>
14 <surname>Anonymous</surname>
15 </author>
16 </authorgroup>
17 <date>July 17, 2006</date>
18 </articleinfo>
19<para>
20 This is a set of tests for pandoc. Most of them are adapted from John
21 Gruber’s markdown test suite.
22</para>
23<sect1 id="headers">
24 <title>Headers</title>
25 <sect2 id="level-2-with-an-embedded-link">
26 <title>Level 2 with an <ulink url="/url">embedded link</ulink></title>
27 <sect3 id="level-3-with-emphasis">
28 <title>Level 3 with <emphasis>emphasis</emphasis></title>
29 <sect4 id="level-4">
30 <title>Level 4</title>
31 <sect5 id="level-5">
32 <title>Level 5</title>
33 <para>
34 Hi.
35 </para>
36 </sect5>
37 </sect4>
38 </sect3>
39 </sect2>
40</sect1>
41<sect1 id="level-1">
42 <title>Level 1</title>
43 <sect2 id="level-2-with-emphasis">
44 <title>Level 2 with <emphasis>emphasis</emphasis></title>
45 <sect3 id="level-3">
46 <title>Level 3</title>
47 <para>
48 with no blank line
49 </para>
50 </sect3>
51 </sect2>
52 <sect2 id="level-2">
53 <title>Level 2</title>
54 <para>
55 with no blank line
56 </para>
57 </sect2>
58</sect1>
59<sect1 id="paragraphs">
60 <title>Paragraphs</title>
61 <para>
62 Here’s a regular paragraph.
63 </para>
64 <para>
65 In Markdown 1.0.0 and earlier. Version 8. This line turns into a list
66 item. Because a hard-wrapped line in the middle of a paragraph looked like
67 a list item.
68 </para>
69 <para>
70 Here’s one with a bullet. * criminey.
71 </para>
72</sect1>
73<sect1 id="block-quotes">
74 <title>Block Quotes</title>
75 <para>
76 E-mail style:
77 </para>
78 <blockquote>
79 <para>
80 This is a block quote. It is pretty short.
81 </para>
82 </blockquote>
83 <blockquote>
84 <para>
85 Code in a block quote:
86 </para>
87 <programlisting>
88sub status {
89 print &quot;working&quot;;
91</programlisting>
92 <screen>
93% <command>ls</command>
94</screen>
95 <para>
96 A list:
97 </para>
98 <orderedlist numeration="arabic">
99 <listitem>
100 <para>
101 item one
102 </para>
103 </listitem>
104 <listitem>
105 <para>
106 item two
107 </para>
108 </listitem>
109 </orderedlist>
110 <para>
111 Nested block quotes:
112 </para>
113 <blockquote>
114 <para>
115 nested
116 </para>
117 </blockquote>
118 <blockquote>
119 <para>
120 nested
121 </para>
122 </blockquote>
123 </blockquote>
124 <para>
125 This should not be a block quote: 2 &gt; 1.
126 </para>
127 <para>
128 And a following paragraph.
129 </para>
130</sect1>
131<sect1 id="code-blocks">
132 <title>Code Blocks</title>
133 <para>
134 Code:
135 </para>
136 <programlisting>
137---- (should be four hyphens)
139sub status {
140 print &quot;working&quot;;
143this code block is indented by one tab
144</programlisting>
145 <para>
146 And:
147 </para>
148 <programlisting>
149 this code block is indented by two tabs
151These should not be escaped: \$ \\ \&gt; \[ \{
152</programlisting>
153</sect1>
154<sect1 id="lists">
155 <title>Lists</title>
156 <sect2 id="unordered">
157 <title>Unordered</title>
158 <para>
159 Asterisks loose:
160 </para>
161 <itemizedlist>
162 <listitem>
163 <para>
164 asterisk 1
165 </para>
166 </listitem>
167 <listitem>
168 <para>
169 asterisk 2
170 </para>
171 </listitem>
172 <listitem>
173 <para>
174 asterisk 3
175 </para>
176 </listitem>
177 </itemizedlist>
178 <para>
179 Pluses loose:
180 </para>
181 <itemizedlist>
182 <listitem>
183 <para>
184 Plus 1
185 </para>
186 </listitem>
187 <listitem>
188 <para>
189 Plus 2
190 </para>
191 </listitem>
192 <listitem>
193 <para>
194 Plus 3
195 </para>
196 </listitem>
197 </itemizedlist>
198 <para>
199 Minuses loose:
200 </para>
201 <itemizedlist>
202 <listitem>
203 <para>
204 Minus 1
205 </para>
206 </listitem>
207 <listitem>
208 <para>
209 Minus 2
210 </para>
211 </listitem>
212 <listitem>
213 <para>
214 Minus 3
215 </para>
216 </listitem>
217 </itemizedlist>
218 </sect2>
219 <sect2 id="ordered">
220 <title>Ordered</title>
221 <orderedlist numeration="arabic">
222 <listitem>
223 <para>
224 First
225 </para>
226 </listitem>
227 <listitem>
228 <para>
229 Second
230 </para>
231 </listitem>
232 <listitem>
233 <para>
234 Third
235 </para>
236 </listitem>
237 </orderedlist>
238 <para>
239 and using spaces:
240 </para>
241 <orderedlist numeration="arabic">
242 <listitem>
243 <para>
244 One
245 </para>
246 </listitem>
247 <listitem>
248 <para>
249 Two
250 </para>
251 </listitem>
252 <listitem>
253 <para>
254 Three
255 </para>
256 </listitem>
257 </orderedlist>
258 <para>
259 Multiple paragraphs:
260 </para>
261 <orderedlist numeration="arabic">
262 <listitem>
263 <para>
264 Item 1, graf one.
265 </para>
266 <para>
267 Item 1. graf two. The quick brown fox jumped over the lazy dog’s
268 back.
269 </para>
270 </listitem>
271 <listitem>
272 <para>
273 Item 2.
274 </para>
275 </listitem>
276 <listitem>
277 <para>
278 Item 3.
279 </para>
280 </listitem>
281 </orderedlist>
282 </sect2>
283 <sect2 id="nested">
284 <title>Nested</title>
285 <itemizedlist>
286 <listitem>
287 <para>
288 Tab
289 </para>
290 <itemizedlist>
291 <listitem>
292 <para>
293 Tab
294 </para>
295 <itemizedlist>
296 <listitem>
297 <para>
298 Tab
299 </para>
300 </listitem>
301 </itemizedlist>
302 </listitem>
303 </itemizedlist>
304 </listitem>
305 </itemizedlist>
306 <para>
307 Here’s another:
308 </para>
309 <orderedlist numeration="arabic">
310 <listitem>
311 <para>
312 First
313 </para>
314 </listitem>
315 <listitem>
316 <para>
317 Second:
318 </para>
319 <itemizedlist>
320 <listitem>
321 <para>
322 Fee
323 </para>
324 </listitem>
325 <listitem>
326 <para>
327 Fie
328 </para>
329 </listitem>
330 <listitem>
331 <para>
332 Foe
333 </para>
334 </listitem>
335 </itemizedlist>
336 </listitem>
337 <listitem>
338 <para>
339 Third
340 </para>
341 </listitem>
342 </orderedlist>
343 <para>
344 Same thing but with paragraphs:
345 </para>
346 <orderedlist numeration="arabic">
347 <listitem>
348 <para>
349 First
350 </para>
351 </listitem>
352 <listitem>
353 <para>
354 Second:
355 </para>
356 <itemizedlist>
357 <listitem>
358 <para>
359 Fee
360 </para>
361 </listitem>
362 <listitem>
363 <para>
364 Fie
365 </para>
366 </listitem>
367 <listitem>
368 <para>
369 Foe
370 </para>
371 </listitem>
372 </itemizedlist>
373 </listitem>
374 <listitem>
375 <para>
376 Third
377 </para>
378 </listitem>
379 </orderedlist>
380 </sect2>
381 <sect2 id="tabs-and-spaces">
382 <title>Tabs and spaces</title>
383 <itemizedlist>
384 <listitem>
385 <para>
386 this is a list item indented with tabs
387 </para>
388 </listitem>
389 <listitem>
390 <para>
391 this is a list item indented with spaces
392 </para>
393 <itemizedlist>
394 <listitem>
395 <para>
396 this is an example list item indented with tabs
397 </para>
398 </listitem>
399 <listitem>
400 <para>
401 this is an example list item indented with spaces
402 </para>
403 </listitem>
404 </itemizedlist>
405 </listitem>
406 </itemizedlist>
407 </sect2>
408 <sect2 id="fancy-list-markers">
409 <title>Fancy list markers</title>
410 <orderedlist numeration="arabic">
411 <listitem override="2">
412 <para>
413 begins with 2
414 </para>
415 </listitem>
416 <listitem>
417 <para>
418 and now 3
419 </para>
420 <para>
421 with a continuation
422 </para>
423 <orderedlist numeration="lowerroman">
424 <listitem override="4">
425 <para>
426 sublist with roman numerals, starting with 4
427 </para>
428 </listitem>
429 <listitem>
430 <para>
431 more items
432 </para>
433 <orderedlist numeration="upperalpha">
434 <listitem>
435 <para>
436 a subsublist
437 </para>
438 </listitem>
439 <listitem>
440 <para>
441 a subsublist
442 </para>
443 </listitem>
444 </orderedlist>
445 </listitem>
446 </orderedlist>
447 </listitem>
448 </orderedlist>
449 <para>
450 Nesting:
451 </para>
452 <orderedlist numeration="upperalpha">
453 <listitem>
454 <para>
455 Upper Alpha
456 </para>
457 <orderedlist numeration="upperroman">
458 <listitem>
459 <para>
460 Upper Roman.
461 </para>
462 <orderedlist numeration="arabic">
463 <listitem override="6">
464 <para>
465 Decimal start with 6
466 </para>
467 <orderedlist numeration="loweralpha">
468 <listitem override="3">
469 <para>
470 Lower alpha with paren
471 </para>
472 </listitem>
473 </orderedlist>
474 </listitem>
475 </orderedlist>
476 </listitem>
477 </orderedlist>
478 </listitem>
479 </orderedlist>
480 <para>
481 Autonumbering:
482 </para>
483 <orderedlist>
484 <listitem>
485 <para>
486 Autonumber.
487 </para>
488 </listitem>
489 <listitem>
490 <para>
491 More.
492 </para>
493 <orderedlist>
494 <listitem>
495 <para>
496 Nested.
497 </para>
498 </listitem>
499 </orderedlist>
500 </listitem>
501 </orderedlist>
502 <para>
503 Should not be a list item:
504 </para>
505 <para>
506 M.A. 2007
507 </para>
508 <para>
509 B. Williams
510 </para>
511 </sect2>
512 <sect2 id="callout">
513 <title>Callout</title>
514 <para>Simple.</para>
515 <calloutlist>
516 <callout arearefs="loop1-letrec-co" id="loop1-letrec">
517 <para id="x_QA1">A <code>__letrec</code> is equivalent to a normal
518 Haskell &let;.</para>
519 </callout>
520 <callout arearefs="loop1-def-co" id="loop1-def">
521 <para id="x_RA1">&GHC; compiled the body of our list comprehension into
522 a loop named <function>go_s1YC</function>.</para>
523 </callout>
524 <callout arearefs="loop1-pat-empty-co" id="loop1-pat-empty">
525 <para id="x_SA1">If our &case; expression matches the empty list, we
526 return the empty list. This is reassuringly
527 familiar.</para>
528 </callout>
529 </calloutlist>
530 </sect2>
531</sect1>
532<sect1 id="definition-lists">
533 <title>Definition Lists</title>
534 <variablelist>
535 <varlistentry>
536 <term>
537 apple
538 </term>
539 <listitem>
540 <para>
541 red fruit
542 </para>
543 </listitem>
544 </varlistentry>
545 <varlistentry>
546 <term>
547 orange
548 </term>
549 <listitem>
550 <para>
551 orange fruit
552 </para>
553 </listitem>
554 </varlistentry>
555 <varlistentry>
556 <term>
557 banana
558 </term>
559 <listitem>
560 <para>
561 yellow fruit
562 </para>
563 </listitem>
564 </varlistentry>
565 </variablelist>
566 <para>
567 Multiple blocks with italics:
568 </para>
569 <variablelist>
570 <varlistentry>
571 <term>
572 <emphasis>apple</emphasis>
573 </term>
574 <listitem>
575 <para>
576 red fruit
577 </para>
578 <para>
579 contains seeds, crisp, pleasant to taste
580 </para>
581 </listitem>
582 </varlistentry>
583 <varlistentry>
584 <term>
585 <emphasis>orange</emphasis>
586 </term>
587 <listitem>
588 <para>
589 orange fruit
590 </para>
591 <programlisting>
592{ orange code block }
593</programlisting>
594 <blockquote>
595 <para>
596 orange block quote
597 </para>
598 </blockquote>
599 </listitem>
600 </varlistentry>
601 </variablelist>
602 <para>
603 Multiple definitions, loose:
604 </para>
605 <variablelist>
606 <varlistentry>
607 <term>
608 apple
609 </term>
610 <listitem>
611 <para>
612 red fruit
613 </para>
614 </listitem>
615 <listitem>
616 <para>
617 computer
618 </para>
619 </listitem>
620 </varlistentry>
621 <varlistentry>
622 <term>
623 orange
624 </term>
625 <listitem>
626 <para>
627 orange fruit
628 </para>
629 </listitem>
630 <listitem>
631 <para>
632 bank
633 </para>
634 </listitem>
635 </varlistentry>
636 </variablelist>
637 <para>
638 Blank line after term, indented marker, alternate markers:
639 </para>
640 <variablelist>
641 <varlistentry>
642 <term>
643 apple
644 </term>
645 <listitem>
646 <para>
647 red fruit
648 </para>
649 </listitem>
650 <listitem>
651 <para>
652 computer
653 </para>
654 </listitem>
655 </varlistentry>
656 <varlistentry>
657 <term>
658 orange
659 </term>
660 <listitem>
661 <para>
662 orange fruit
663 </para>
664 <orderedlist numeration="arabic">
665 <listitem>
666 <para>
667 sublist
668 </para>
669 </listitem>
670 <listitem>
671 <para>
672 sublist
673 </para>
674 </listitem>
675 </orderedlist>
676 </listitem>
677 </varlistentry>
678 </variablelist>
679</sect1>
680<sect1 id="inline-markup">
681 <title>Inline Markup</title>
682 <para>
683 This is <emphasis>emphasized</emphasis>, and so <emphasis>is
684 this</emphasis>.
685 </para>
686 <para>
687 This is <emphasis role="strong">strong</emphasis>, and so
688 <emphasis role="strong">is this</emphasis>.
689 </para>
690 <para>
691 An <emphasis><ulink url="/url">emphasized link</ulink></emphasis>.
692 </para>
693 <para>
694 <emphasis role="strong"><emphasis>This is strong and
695 em.</emphasis></emphasis>
696 </para>
697 <para>
698 So is <emphasis role="strong"><emphasis>this</emphasis></emphasis> word.
699 </para>
700 <para>
701 <emphasis role="strong"><emphasis>This is strong and
702 em.</emphasis></emphasis>
703 </para>
704 <para>
705 So is <emphasis role="strong"><emphasis>this</emphasis></emphasis> word.
706 </para>
707 <para>
708 This is code: <literal>&gt;</literal>, <literal>$</literal>,
709 <literal>\</literal>, <literal>\$</literal>,
710 <literal>&lt;html&gt;</literal>.
711 </para>
712 <para>
713 More code: <classname>Class</classname> and <type>Type</type>
714 </para>
715 <para>
716 <emphasis role="strikethrough">This is
717 <emphasis>strikeout</emphasis>.</emphasis>
718 </para>
719 <para>
720 Superscripts: a<superscript>bc</superscript>d
721 a<superscript><emphasis>hello</emphasis></superscript>
722 a<superscript>hello there</superscript>.
723 </para>
724 <para>
725 Subscripts: H<subscript>2</subscript>O, H<subscript>23</subscript>O,
726 H<subscript>many of them</subscript>O.
727 </para>
728 <para>
729 These should not be superscripts or subscripts, because of the unescaped
730 spaces: a^b c^d, a~b c~d.
731 </para>
732</sect1>
733<sect1 id="smart-quotes-ellipses-dashes">
734 <title>Smart quotes, ellipses, dashes</title>
735 <para>
736 <quote>Hello,</quote> said the spider. <quote><quote>Shelob</quote> is my
737 name.</quote>
738 </para>
739 <para>
740 <quote>A</quote>, <quote>B</quote>, and <quote>C</quote> are letters.
741 </para>
742 <para>
743 <quote>He said, <quote>I want to go.</quote></quote> Were you alive in the
744 70’s?
745 </para>
746 <para>
747 Some dashes: one—two — three—four — five.
748 </para>
749 <para>
750 Dashes between numbers: 5–7, 255–66, 1987–1999.
751 </para>
752 <para>
753 Ellipses…and…and….
754 </para>
755</sect1>
756<sect1 id="math">
757 <para>
758 <equation>
759 <mml:math>
760 <mml:mrow>
761 <mml:mi>e</mml:mi>
762 <mml:mo>=</mml:mo>
763 <mml:mi>m</mml:mi>
764 <mml:msup>
765 <mml:mi>c</mml:mi>
766 <mml:mn>2</mml:mn>
767 </mml:msup>
768 </mml:mrow>
769 </mml:math>
770 <mml:math>
771 <mrow>
772 <mn>1</mn>
773 </mrow>
774 </mml:math>
775 </equation>
776 <inlineequation>
777 <mml:math>
778 <mml:mrow>
779 <mml:mi>e</mml:mi>
780 <mml:mo>=</mml:mo>
781 <mml:mi>m</mml:mi>
782 <mml:msup>
783 <mml:mi>c</mml:mi>
784 <mml:mn>2</mml:mn>
785 </mml:msup>
786 </mml:mrow>
787 </mml:math>
788 </inlineequation>
789 <informalequation>
790 <mml:math>
791 <mml:mrow>
792 <mml:mi>e</mml:mi>
793 <mml:mo>=</mml:mo>
794 <mml:mi>m</mml:mi>
795 <mml:msup>
796 <mml:mi>c</mml:mi>
797 <mml:mn>2</mml:mn>
798 </mml:msup>
799 </mml:mrow>
800 </mml:math>
801 </informalequation>
802 </para>
803</sect1>
804<sect1 id="special-characters">
805 <title>Special Characters</title>
806 <para>
807 Here is some unicode:
808 </para>
809 <itemizedlist>
810 <listitem>
811 <para>
812 I hat: Î
813 </para>
814 </listitem>
815 <listitem>
816 <para>
817 o umlaut: ö
818 </para>
819 </listitem>
820 <listitem>
821 <para>
822 section: §
823 </para>
824 </listitem>
825 <listitem>
826 <para>
827 set membership: ∈
828 </para>
829 </listitem>
830 <listitem>
831 <para>
832 copyright: ©
833 </para>
834 </listitem>
835 </itemizedlist>
836 <para>
837 AT&amp;T has an ampersand in their name.
838 </para>
839 <para>
840 AT&amp;T is another way to write it.
841 </para>
842 <para>
843 This &amp; that.
844 </para>
845 <para>
846 4 &lt; 5.
847 </para>
848 <para>
849 6 &gt; 5.
850 </para>
851 <para>
852 Backslash: \
853 </para>
854 <para>
855 Backtick: `
856 </para>
857 <para>
858 Asterisk: *
859 </para>
860 <para>
861 Underscore: _
862 </para>
863 <para>
864 Left brace: {
865 </para>
866 <para>
867 Right brace: }
868 </para>
869 <para>
870 Left bracket: [
871 </para>
872 <para>
873 Right bracket: ]
874 </para>
875 <para>
876 Left paren: (
877 </para>
878 <para>
879 Right paren: )
880 </para>
881 <para>
882 Greater-than: &gt;
883 </para>
884 <para>
885 Hash: #
886 </para>
887 <para>
888 Period: .
889 </para>
890 <para>
891 Bang: !
892 </para>
893 <para>
894 Plus: +
895 </para>
896 <para>
897 Minus: -
898 </para>
899</sect1>
900<sect1 id="links">
901 <title>Links</title>
902 <sect2 id="explicit">
903 <title>Explicit</title>
904 <para>
905 Just a <ulink url="/url/">URL</ulink>.
906 </para>
907 <para>
908 <ulink url="/url/">URL and title</ulink>.
909 </para>
910 <para>
911 <ulink url="/url/">URL and title</ulink>.
912 </para>
913 <para>
914 <ulink url="/url/">URL and title</ulink>.
915 </para>
916 <para>
917 <ulink url="/url/">URL and title</ulink>
918 </para>
919 <para>
920 <ulink url="/url/">URL and title</ulink>
921 </para>
922 <para>
923 <ulink url="/url/with_underscore">with_underscore</ulink>
924 </para>
925 <para>
926 <email>nobody@nowhere.net</email>
927 </para>
928 <para>
929 <ulink url="">Empty</ulink>.
930 </para>
931 </sect2>
932 <sect2 id="reference">
933 <title>Reference</title>
934 <para>
935 Foo <ulink url="/url/">bar</ulink>.
936 </para>
937 <para>
938 Foo <ulink url="/url/">bar</ulink>.
939 </para>
940 <para>
941 Foo <ulink url="/url/">bar</ulink>.
942 </para>
943 <para>
944 With <ulink url="/url/">embedded [brackets]</ulink>.
945 </para>
946 <para>
947 <ulink url="/url/">b</ulink> by itself should be a link.
948 </para>
949 <para>
950 Indented <ulink url="/url">once</ulink>.
951 </para>
952 <para>
953 Indented <ulink url="/url">twice</ulink>.
954 </para>
955 <para>
956 Indented <ulink url="/url">thrice</ulink>.
957 </para>
958 <para>
959 This should [not][] be a link.
960 </para>
961 <programlisting>
962[not]: /url
963</programlisting>
964 <para>
965 Foo <ulink url="/url/">bar</ulink>.
966 </para>
967 <para>
968 Foo <ulink url="/url/">biz</ulink>.
969 </para>
970 </sect2>
971 <sect2 id="with-ampersands">
972 <title>With ampersands</title>
973 <para>
974 Here’s a <ulink url="http://example.com/?foo=1&amp;bar=2">link with an
975 ampersand in the URL</ulink>.
976 </para>
977 <para>
978 Here’s a link with an amersand in the link text:
979 <ulink url="http://att.com/">AT&amp;T</ulink>.
980 </para>
981 <para>
982 Here’s an <ulink url="/script?foo=1&amp;bar=2">inline link</ulink>.
983 </para>
984 <para>
985 Here’s an <ulink url="/script?foo=1&amp;bar=2">inline link in pointy
986 braces</ulink>.
987 </para>
988 </sect2>
989 <sect2 id="autolinks">
990 <title>Autolinks</title>
991 <para>
992 With an ampersand:
993 <ulink url="http://example.com/?foo=1&amp;bar=2">http://example.com/?foo=1&amp;bar=2</ulink>
994 </para>
995 <itemizedlist>
996 <listitem>
997 <para>
998 In a list?
999 </para>
1000 </listitem>
1001 <listitem>
1002 <para>
1003 <ulink url="http://example.com/">http://example.com/</ulink>
1004 </para>
1005 </listitem>
1006 <listitem>
1007 <para>
1008 It should.
1009 </para>
1010 </listitem>
1011 </itemizedlist>
1012 <para>
1013 An e-mail address: <email>nobody@nowhere.net</email>
1014 </para>
1015 <blockquote>
1016 <para>
1017 Blockquoted:
1018 <ulink url="http://example.com/">http://example.com/</ulink>
1019 </para>
1020 </blockquote>
1021 <para>
1022 Auto-links should not occur here:
1023 <literal>&lt;http://example.com/&gt;</literal>
1024 </para>
1025 <programlisting>
1026or here: &lt;http://example.com/&gt;
1027</programlisting>
1028 </sect2>
1029</sect1>
1030<sect1 id="images">
1031 <title>Images</title>
1032 <para>
1033 From <quote>Voyage dans la Lune</quote> by Georges Melies (1902):
1034 </para>
1035 <figure>
1036 <title>lalune</title>
1037 <mediaobject>
1038 <imageobject>
1039 <imagedata fileref="lalune.jpg" />
1040 </imageobject>
1041 <textobject><phrase>lalune</phrase></textobject>
1042 </mediaobject>
1043 </figure>
1044 <para>
1045 Here is a movie <inlinemediaobject>
1046 <imageobject>
1047 <imagedata fileref="movie.jpg" />
1048 </imageobject>
1049 </inlinemediaobject> icon.
1050 </para>
1051</sect1>
1052<sect1 id="footnotes">
1053 <title>Footnotes</title>
1054 <para>
1055 Here is a footnote reference,<footnote>
1056 <para>
1057 Here is the footnote. It can go anywhere after the footnote reference.
1058 It need not be placed at the end of the document.
1059 </para>
1060 </footnote> and another.<footnote>
1061 <para>
1062 Here’s the long note. This one contains multiple blocks.
1063 </para>
1064 <para>
1065 Subsequent blocks are indented to show that they belong to the
1066 footnote (as with list items).
1067 </para>
1068 <programlisting>
1069 { &lt;code&gt; }
1070</programlisting>
1071 <para>
1072 If you want, you can indent every line, but you can also be lazy and
1073 just indent the first line of each block.
1074 </para>
1075 </footnote> This should <emphasis>not</emphasis> be a footnote reference,
1076 because it contains a space.[^my note] Here is an inline note.<footnote>
1077 <para>
1078 This is <emphasis>easier</emphasis> to type. Inline notes may contain
1079 <ulink url="http://google.com">links</ulink> and <literal>]</literal>
1080 verbatim characters, as well as [bracketed text].
1081 </para>
1082 </footnote>
1083 </para>
1084 <blockquote>
1085 <para>
1086 Notes can go in quotes.<footnote>
1087 <para>
1088 In quote.
1089 </para>
1090 </footnote>
1091 </para>
1092 </blockquote>
1093 <orderedlist numeration="arabic">
1094 <listitem>
1095 <para>
1096 And in list items.<footnote>
1097 <para>
1098 In list.
1099 </para>
1100 </footnote>
1101 </para>
1102 </listitem>
1103 </orderedlist>
1104 <para>
1105 This paragraph should not be part of the note, as it is not indented.
1106 </para>
1107</sect1>
1108<sect1 id="tables">
1109 <title>Tables</title>
1110 <para>
1111 Simple table with caption:
1112 </para>
1113 <table>
1114 <title>
1115 Demonstration of simple table syntax.
1116 </title>
1117 <tgroup cols="4">
1118 <colspec align="right" />
1119 <colspec align="left" />
1120 <colspec align="center" />
1121 <colspec align="left" />
1122 <thead>
1123 <row>
1124 <entry>
1125 Right
1126 </entry>
1127 <entry>
1128 Left
1129 </entry>
1130 <entry>
1131 Center
1132 </entry>
1133 <entry>
1134 Default
1135 </entry>
1136 </row>
1137 </thead>
1138 <tbody>
1139 <row>
1140 <entry>
1141 12
1142 </entry>
1143 <entry>
1144 12
1145 </entry>
1146 <entry>
1147 12
1148 </entry>
1149 <entry>
1150 12
1151 </entry>
1152 </row>
1153 <row>
1154 <entry>
1155 123
1156 </entry>
1157 <entry>
1158 123
1159 </entry>
1160 <entry>
1161 123
1162 </entry>
1163 <entry>
1164 123
1165 </entry>
1166 </row>
1167 <row>
1168 <entry>
1170 </entry>
1171 <entry>
1173 </entry>
1174 <entry>
1176 </entry>
1177 <entry>
1179 </entry>
1180 </row>
1181 </tbody>
1182 </tgroup>
1183 </table>
1184 <para>
1185 Simple table without caption:
1186 </para>
1187 <informaltable>
1188 <tgroup cols="4">
1189 <colspec align="right" />
1190 <colspec align="left" />
1191 <colspec align="center" />
1192 <colspec align="left" />
1193 <thead>
1194 <row>
1195 <entry>
1196 Right
1197 </entry>
1198 <entry>
1199 Left
1200 </entry>
1201 <entry>
1202 Center
1203 </entry>
1204 <entry>
1205 Default
1206 </entry>
1207 </row>
1208 </thead>
1209 <tbody>
1210 <row>
1211 <entry>
1212 12
1213 </entry>
1214 <entry>
1215 12
1216 </entry>
1217 <entry>
1218 12
1219 </entry>
1220 <entry>
1221 12
1222 </entry>
1223 </row>
1224 <row>
1225 <entry>
1226 123
1227 </entry>
1228 <entry>
1229 123
1230 </entry>
1231 <entry>
1232 123
1233 </entry>
1234 <entry>
1235 123
1236 </entry>
1237 </row>
1238 <row>
1239 <entry>
1241 </entry>
1242 <entry>
1244 </entry>
1245 <entry>
1247 </entry>
1248 <entry>
1250 </entry>
1251 </row>
1252 </tbody>
1253 </tgroup>
1254 </informaltable>
1255 <para>
1256 Simple table indented two spaces:
1257 </para>
1258 <table>
1259 <title>
1260 Demonstration of simple table syntax.
1261 </title>
1262 <tgroup cols="4">
1263 <colspec align="right" />
1264 <colspec align="left" />
1265 <colspec align="center" />
1266 <colspec align="left" />
1267 <thead>
1268 <row>
1269 <entry>
1270 Right
1271 </entry>
1272 <entry>
1273 Left
1274 </entry>
1275 <entry>
1276 Center
1277 </entry>
1278 <entry>
1279 Default
1280 </entry>
1281 </row>
1282 </thead>
1283 <tbody>
1284 <row>
1285 <entry>
1286 12
1287 </entry>
1288 <entry>
1289 12
1290 </entry>
1291 <entry>
1292 12
1293 </entry>
1294 <entry>
1295 12
1296 </entry>
1297 </row>
1298 <row>
1299 <entry>
1300 123
1301 </entry>
1302 <entry>
1303 123
1304 </entry>
1305 <entry>
1306 123
1307 </entry>
1308 <entry>
1309 123
1310 </entry>
1311 </row>
1312 <row>
1313 <entry>
1315 </entry>
1316 <entry>
1318 </entry>
1319 <entry>
1321 </entry>
1322 <entry>
1324 </entry>
1325 </row>
1326 </tbody>
1327 </tgroup>
1328 </table>
1329 <para>
1330 Multiline table with caption:
1331 </para>
1332 <table>
1333 <title>
1334 Here's the caption. It may span multiple lines.
1335 </title>
1336 <tgroup cols="4">
1337 <colspec colwidth="2*" align="center" />
1338 <colspec colwidth="2*" align="left" />
1339 <colspec colwidth="3*" align="right" />
1340 <colspec colwidth="3*" align="left" />
1341 <thead>
1342 <row>
1343 <entry>
1344 Centered Header
1345 </entry>
1346 <entry>
1347 Left Aligned
1348 </entry>
1349 <entry>
1350 Right Aligned
1351 </entry>
1352 <entry>
1353 Default aligned
1354 </entry>
1355 </row>
1356 </thead>
1357 <tbody>
1358 <row>
1359 <entry>
1360 First
1361 </entry>
1362 <entry>
1363 row
1364 </entry>
1365 <entry>
1366 12.0
1367 </entry>
1368 <entry>
1369 Example of a row that spans multiple lines.
1370 </entry>
1371 </row>
1372 <row>
1373 <entry>
1374 Second
1375 </entry>
1376 <entry>
1377 row
1378 </entry>
1379 <entry>
1380 5.0
1381 </entry>
1382 <entry>
1383 Here's another one. Note the blank line between rows.
1384 </entry>
1385 </row>
1386 </tbody>
1387 </tgroup>
1388 </table>
1389 <para>
1390 Multiline table without caption:
1391 </para>
1392 <informaltable>
1393 <tgroup cols="4">
1394 <colspec colwidth="1*" align="center" />
1395 <colspec colwidth="2*" align="left" />
1396 <colspec colwidth="3*" align="right" />
1397 <colspec colwidth="4*" align="left" />
1398 <thead>
1399 <row>
1400 <entry>
1401 Centered Header
1402 </entry>
1403 <entry>
1404 Left Aligned
1405 </entry>
1406 <entry>
1407 Right Aligned
1408 </entry>
1409 <entry>
1410 Default aligned
1411 </entry>
1412 </row>
1413 </thead>
1414 <tbody>
1415 <row>
1416 <entry>
1417 First
1418 </entry>
1419 <entry>
1420 row
1421 </entry>
1422 <entry>
1423 12.0
1424 </entry>
1425 <entry>
1426 Example of a row that spans multiple lines.
1427 </entry>
1428 </row>
1429 <row>
1430 <entry>
1431 Second
1432 </entry>
1433 <entry>
1434 row
1435 </entry>
1436 <entry>
1437 5.0
1438 </entry>
1439 <entry>
1440 Here's another one. Note the blank line between rows.
1441 </entry>
1442 </row>
1443 </tbody>
1444 </tgroup>
1445 </informaltable>
1446 <para>
1447 Table without column headers:
1448 </para>
1449 <informaltable>
1450 <tgroup cols="4">
1451 <colspec align="right" />
1452 <colspec align="left" />
1453 <colspec align="center" />
1454 <colspec align="right" />
1455 <tbody>
1456 <row>
1457 <entry>
1458 12
1459 </entry>
1460 <entry>
1461 12
1462 </entry>
1463 <entry>
1464 12
1465 </entry>
1466 <entry>
1467 12
1468 </entry>
1469 </row>
1470 <row>
1471 <entry>
1472 123
1473 </entry>
1474 <entry>
1475 123
1476 </entry>
1477 <entry>
1478 123
1479 </entry>
1480 <entry>
1481 123
1482 </entry>
1483 </row>
1484 <row>
1485 <entry>
1487 </entry>
1488 <entry>
1490 </entry>
1491 <entry>
1493 </entry>
1494 <entry>
1496 </entry>
1497 </row>
1498 </tbody>
1499 </tgroup>
1500 </informaltable>
1501 <para>
1502 Multiline table without column headers:
1503 </para>
1504 <informaltable>
1505 <tgroup cols="4">
1506 <colspec colwidth="10*" align="center" />
1507 <colspec colwidth="10*" align="left" />
1508 <colspec colwidth="10*" align="right" />
1509 <colspec colwidth="10*" align="left" />
1510 <tbody>
1511 <row>
1512 <entry>
1513 First
1514 </entry>
1515 <entry>
1516 row
1517 </entry>
1518 <entry>
1519 12.0
1520 </entry>
1521 <entry>
1522 Example of a row that spans multiple lines.
1523 </entry>
1524 </row>
1525 <row>
1526 <entry>
1527 Second
1528 </entry>
1529 <entry>
1530 row
1531 </entry>
1532 <entry>
1533 5.0
1534 </entry>
1535 <entry>
1536 Here's another one. Note the blank line between rows.
1537 </entry>
1538 </row>
1539 </tbody>
1540 </tgroup>
1541 </informaltable>
1542</sect1>
1543</article>