git.iko.soy/typeable/pandoc
on rc/2.9.1.1 help sign in
typeable/pandoc/test/docbook-reader.docbook
1561 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 fig caption</title>
1037 <mediaobject>
1038 <imageobject>
1039 <imagedata fileref="lalune.jpg" />
1040 </imageobject>
1041 <textobject><phrase>lalune alt text shadowed by fig caption</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 And here a second movie <inlinemediaobject>
1051 <alt>alt text</alt>
1052 <imageobject>
1053 <imagedata fileref="movie.jpg" />
1054 </imageobject>
1055 </inlinemediaobject> icon.
1056 And here a third movie <inlinemediaobject>
1057 <textobject><phrase>alt text</phrase></textobject>
1058 <imageobject>
1059 <imagedata fileref="movie.jpg" />
1060 </imageobject>
1061 </inlinemediaobject> icon.
1062 </para>
1063 <mediaobject>
1064 <imageobject>
1065 <imagedata fileref="lalune.jpg" />
1066 </imageobject>
1067 <textobject><phrase>lalune no figure alt text</phrase></textobject>
1068 </mediaobject>
1069</sect1>
1070<sect1 id="footnotes">
1071 <title>Footnotes</title>
1072 <para>
1073 Here is a footnote reference,<footnote>
1074 <para>
1075 Here is the footnote. It can go anywhere after the footnote reference.
1076 It need not be placed at the end of the document.
1077 </para>
1078 </footnote> and another.<footnote>
1079 <para>
1080 Here’s the long note. This one contains multiple blocks.
1081 </para>
1082 <para>
1083 Subsequent blocks are indented to show that they belong to the
1084 footnote (as with list items).
1085 </para>
1086 <programlisting>
1087 { &lt;code&gt; }
1088</programlisting>
1089 <para>
1090 If you want, you can indent every line, but you can also be lazy and
1091 just indent the first line of each block.
1092 </para>
1093 </footnote> This should <emphasis>not</emphasis> be a footnote reference,
1094 because it contains a space.[^my note] Here is an inline note.<footnote>
1095 <para>
1096 This is <emphasis>easier</emphasis> to type. Inline notes may contain
1097 <ulink url="http://google.com">links</ulink> and <literal>]</literal>
1098 verbatim characters, as well as [bracketed text].
1099 </para>
1100 </footnote>
1101 </para>
1102 <blockquote>
1103 <para>
1104 Notes can go in quotes.<footnote>
1105 <para>
1106 In quote.
1107 </para>
1108 </footnote>
1109 </para>
1110 </blockquote>
1111 <orderedlist numeration="arabic">
1112 <listitem>
1113 <para>
1114 And in list items.<footnote>
1115 <para>
1116 In list.
1117 </para>
1118 </footnote>
1119 </para>
1120 </listitem>
1121 </orderedlist>
1122 <para>
1123 This paragraph should not be part of the note, as it is not indented.
1124 </para>
1125</sect1>
1126<sect1 id="tables">
1127 <title>Tables</title>
1128 <para>
1129 Simple table with caption:
1130 </para>
1131 <table>
1132 <title>
1133 Demonstration of simple table syntax.
1134 </title>
1135 <tgroup cols="4">
1136 <colspec align="right" />
1137 <colspec align="left" />
1138 <colspec align="center" />
1139 <colspec align="left" />
1140 <thead>
1141 <row>
1142 <entry>
1143 Right
1144 </entry>
1145 <entry>
1146 Left
1147 </entry>
1148 <entry>
1149 Center
1150 </entry>
1151 <entry>
1152 Default
1153 </entry>
1154 </row>
1155 </thead>
1156 <tbody>
1157 <row>
1158 <entry>
1159 12
1160 </entry>
1161 <entry>
1162 12
1163 </entry>
1164 <entry>
1165 12
1166 </entry>
1167 <entry>
1168 12
1169 </entry>
1170 </row>
1171 <row>
1172 <entry>
1173 123
1174 </entry>
1175 <entry>
1176 123
1177 </entry>
1178 <entry>
1179 123
1180 </entry>
1181 <entry>
1182 123
1183 </entry>
1184 </row>
1185 <row>
1186 <entry>
1188 </entry>
1189 <entry>
1191 </entry>
1192 <entry>
1194 </entry>
1195 <entry>
1197 </entry>
1198 </row>
1199 </tbody>
1200 </tgroup>
1201 </table>
1202 <para>
1203 Simple table without caption:
1204 </para>
1205 <informaltable>
1206 <tgroup cols="4">
1207 <colspec align="right" />
1208 <colspec align="left" />
1209 <colspec align="center" />
1210 <colspec align="left" />
1211 <thead>
1212 <row>
1213 <entry>
1214 Right
1215 </entry>
1216 <entry>
1217 Left
1218 </entry>
1219 <entry>
1220 Center
1221 </entry>
1222 <entry>
1223 Default
1224 </entry>
1225 </row>
1226 </thead>
1227 <tbody>
1228 <row>
1229 <entry>
1230 12
1231 </entry>
1232 <entry>
1233 12
1234 </entry>
1235 <entry>
1236 12
1237 </entry>
1238 <entry>
1239 12
1240 </entry>
1241 </row>
1242 <row>
1243 <entry>
1244 123
1245 </entry>
1246 <entry>
1247 123
1248 </entry>
1249 <entry>
1250 123
1251 </entry>
1252 <entry>
1253 123
1254 </entry>
1255 </row>
1256 <row>
1257 <entry>
1259 </entry>
1260 <entry>
1262 </entry>
1263 <entry>
1265 </entry>
1266 <entry>
1268 </entry>
1269 </row>
1270 </tbody>
1271 </tgroup>
1272 </informaltable>
1273 <para>
1274 Simple table indented two spaces:
1275 </para>
1276 <table>
1277 <title>
1278 Demonstration of simple table syntax.
1279 </title>
1280 <tgroup cols="4">
1281 <colspec align="right" />
1282 <colspec align="left" />
1283 <colspec align="center" />
1284 <colspec align="left" />
1285 <thead>
1286 <row>
1287 <entry>
1288 Right
1289 </entry>
1290 <entry>
1291 Left
1292 </entry>
1293 <entry>
1294 Center
1295 </entry>
1296 <entry>
1297 Default
1298 </entry>
1299 </row>
1300 </thead>
1301 <tbody>
1302 <row>
1303 <entry>
1304 12
1305 </entry>
1306 <entry>
1307 12
1308 </entry>
1309 <entry>
1310 12
1311 </entry>
1312 <entry>
1313 12
1314 </entry>
1315 </row>
1316 <row>
1317 <entry>
1318 123
1319 </entry>
1320 <entry>
1321 123
1322 </entry>
1323 <entry>
1324 123
1325 </entry>
1326 <entry>
1327 123
1328 </entry>
1329 </row>
1330 <row>
1331 <entry>
1333 </entry>
1334 <entry>
1336 </entry>
1337 <entry>
1339 </entry>
1340 <entry>
1342 </entry>
1343 </row>
1344 </tbody>
1345 </tgroup>
1346 </table>
1347 <para>
1348 Multiline table with caption:
1349 </para>
1350 <table>
1351 <title>
1352 Here's the caption. It may span multiple lines.
1353 </title>
1354 <tgroup cols="4">
1355 <colspec colwidth="2*" align="center" />
1356 <colspec colwidth="2*" align="left" />
1357 <colspec colwidth="3*" align="right" />
1358 <colspec colwidth="3*" align="left" />
1359 <thead>
1360 <row>
1361 <entry>
1362 Centered Header
1363 </entry>
1364 <entry>
1365 Left Aligned
1366 </entry>
1367 <entry>
1368 Right Aligned
1369 </entry>
1370 <entry>
1371 Default aligned
1372 </entry>
1373 </row>
1374 </thead>
1375 <tbody>
1376 <row>
1377 <entry>
1378 First
1379 </entry>
1380 <entry>
1381 row
1382 </entry>
1383 <entry>
1384 12.0
1385 </entry>
1386 <entry>
1387 Example of a row that spans multiple lines.
1388 </entry>
1389 </row>
1390 <row>
1391 <entry>
1392 Second
1393 </entry>
1394 <entry>
1395 row
1396 </entry>
1397 <entry>
1398 5.0
1399 </entry>
1400 <entry>
1401 Here's another one. Note the blank line between rows.
1402 </entry>
1403 </row>
1404 </tbody>
1405 </tgroup>
1406 </table>
1407 <para>
1408 Multiline table without caption:
1409 </para>
1410 <informaltable>
1411 <tgroup cols="4">
1412 <colspec colwidth="1*" align="center" />
1413 <colspec colwidth="2*" align="left" />
1414 <colspec colwidth="3*" align="right" />
1415 <colspec colwidth="4*" align="left" />
1416 <thead>
1417 <row>
1418 <entry>
1419 Centered Header
1420 </entry>
1421 <entry>
1422 Left Aligned
1423 </entry>
1424 <entry>
1425 Right Aligned
1426 </entry>
1427 <entry>
1428 Default aligned
1429 </entry>
1430 </row>
1431 </thead>
1432 <tbody>
1433 <row>
1434 <entry>
1435 First
1436 </entry>
1437 <entry>
1438 row
1439 </entry>
1440 <entry>
1441 12.0
1442 </entry>
1443 <entry>
1444 Example of a row that spans multiple lines.
1445 </entry>
1446 </row>
1447 <row>
1448 <entry>
1449 Second
1450 </entry>
1451 <entry>
1452 row
1453 </entry>
1454 <entry>
1455 5.0
1456 </entry>
1457 <entry>
1458 Here's another one. Note the blank line between rows.
1459 </entry>
1460 </row>
1461 </tbody>
1462 </tgroup>
1463 </informaltable>
1464 <para>
1465 Table without column headers:
1466 </para>
1467 <informaltable>
1468 <tgroup cols="4">
1469 <colspec align="right" />
1470 <colspec align="left" />
1471 <colspec align="center" />
1472 <colspec align="right" />
1473 <tbody>
1474 <row>
1475 <entry>
1476 12
1477 </entry>
1478 <entry>
1479 12
1480 </entry>
1481 <entry>
1482 12
1483 </entry>
1484 <entry>
1485 12
1486 </entry>
1487 </row>
1488 <row>
1489 <entry>
1490 123
1491 </entry>
1492 <entry>
1493 123
1494 </entry>
1495 <entry>
1496 123
1497 </entry>
1498 <entry>
1499 123
1500 </entry>
1501 </row>
1502 <row>
1503 <entry>
1505 </entry>
1506 <entry>
1508 </entry>
1509 <entry>
1511 </entry>
1512 <entry>
1514 </entry>
1515 </row>
1516 </tbody>
1517 </tgroup>
1518 </informaltable>
1519 <para>
1520 Multiline table without column headers:
1521 </para>
1522 <informaltable>
1523 <tgroup cols="4">
1524 <colspec colwidth="10*" align="center" />
1525 <colspec colwidth="10*" align="left" />
1526 <colspec colwidth="10*" align="right" />
1527 <colspec colwidth="10*" align="left" />
1528 <tbody>
1529 <row>
1530 <entry>
1531 First
1532 </entry>
1533 <entry>
1534 row
1535 </entry>
1536 <entry>
1537 12.0
1538 </entry>
1539 <entry>
1540 Example of a row that spans multiple lines.
1541 </entry>
1542 </row>
1543 <row>
1544 <entry>
1545 Second
1546 </entry>
1547 <entry>
1548 row
1549 </entry>
1550 <entry>
1551 5.0
1552 </entry>
1553 <entry>
1554 Here's another one. Note the blank line between rows.
1555 </entry>
1556 </row>
1557 </tbody>
1558 </tgroup>
1559 </informaltable>
1560</sect1>
1561</article>