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