git.iko.soy/typeable/pandoc
on 229b310 help sign in
typeable/pandoc/tests/writer.docbook
1162 lines 26 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">
5<article>
6 <articleinfo>
7 <title>Pandoc Test Suite</title>
8 <author>
9 <firstname>John</firstname>
10 <surname>MacFarlane</surname>
11 </author>
12 <author>
13 <firstname></firstname>
14 <surname>Anonymous</surname>
15 </author>
16 <date>July 17, 2006</date>
17 </articleinfo>
18 <para>
19 This is a set of tests for pandoc. Most of them are adapted from
20 John Gruber's markdown test suite.
21 </para>
22 <section>
23 <title>Headers</title>
24 <section>
25 <title>Level 2 with an
26 <ulink url="/url">embedded link</ulink></title>
27 <section>
28 <title>Level 3 with <emphasis>emphasis</emphasis></title>
29 <section>
30 <title>Level 4</title>
31 <section>
32 <title>Level 5</title>
33 <para>
34 </para>
35 </section>
36 </section>
37 </section>
38 </section>
39 </section>
40 <section>
41 <title>Level 1</title>
42 <section>
43 <title>Level 2 with <emphasis>emphasis</emphasis></title>
44 <section>
45 <title>Level 3</title>
46 <para>
47 with no blank line
48 </para>
49 </section>
50 </section>
51 <section>
52 <title>Level 2</title>
53 <para>
54 with no blank line
55 </para>
56 </section>
57 </section>
58 <section>
59 <title>Paragraphs</title>
60 <para>
61 Here's a regular paragraph.
62 </para>
63 <para>
64 In Markdown 1.0.0 and earlier. Version 8. This line turns into a
65 list item. Because a hard-wrapped line in the middle of a paragraph
66 looked like a list item.
67 </para>
68 <para>
69 Here's one with a bullet. * criminey.
70 </para>
71 <para>
72 There should be a hard line
73 break<literallayout></literallayout>here.
74 </para>
75 </section>
76 <section>
77 <title>Block Quotes</title>
78 <para>
79 E-mail style:
80 </para>
81 <blockquote>
82 <para>
83 This is a block quote. It is pretty short.
84 </para>
85 </blockquote>
86 <blockquote>
87 <para>
88 Code in a block quote:
89 </para>
90 <screen>
91sub status {
92 print &quot;working&quot;;
94</screen>
95 <para>
96 A list:
97 </para>
98 <orderedlist>
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 Box-style:
129 </para>
130 <blockquote>
131 <para>
132 Example:
133 </para>
134 <screen>
135sub status {
136 print &quot;working&quot;;
138</screen>
139 </blockquote>
140 <blockquote>
141 <orderedlist>
142 <listitem>
143 <para>
144 do laundry
145 </para>
146 </listitem>
147 <listitem>
148 <para>
149 take out the trash
150 </para>
151 </listitem>
152 </orderedlist>
153 </blockquote>
154 <para>
155 Here's a nested one:
156 </para>
157 <blockquote>
158 <para>
159 Joe said:
160 </para>
161 <blockquote>
162 <para>
163 Don't quote me.
164 </para>
165 </blockquote>
166 </blockquote>
167 <para>
168 And a following paragraph.
169 </para>
170 </section>
171 <section>
172 <title>Code Blocks</title>
173 <para>
174 Code:
175 </para>
176 <screen>
177---- (should be four hyphens)
179sub status {
180 print &quot;working&quot;;
183this code block is indented by one tab
184</screen>
185 <para>
186 And:
187 </para>
188 <screen>
189 this code block is indented by two tabs
191These should not be escaped: \$ \\ \&gt; \[ \{
192</screen>
193 </section>
194 <section>
195 <title>Lists</title>
196 <section>
197 <title>Unordered</title>
198 <para>
199 Asterisks tight:
200 </para>
201 <itemizedlist>
202 <listitem>
203 <para>
204 asterisk 1
205 </para>
206 </listitem>
207 <listitem>
208 <para>
209 asterisk 2
210 </para>
211 </listitem>
212 <listitem>
213 <para>
214 asterisk 3
215 </para>
216 </listitem>
217 </itemizedlist>
218 <para>
219 Asterisks loose:
220 </para>
221 <itemizedlist>
222 <listitem>
223 <para>
224 asterisk 1
225 </para>
226 </listitem>
227 <listitem>
228 <para>
229 asterisk 2
230 </para>
231 </listitem>
232 <listitem>
233 <para>
234 asterisk 3
235 </para>
236 </listitem>
237 </itemizedlist>
238 <para>
239 Pluses tight:
240 </para>
241 <itemizedlist>
242 <listitem>
243 <para>
244 Plus 1
245 </para>
246 </listitem>
247 <listitem>
248 <para>
249 Plus 2
250 </para>
251 </listitem>
252 <listitem>
253 <para>
254 Plus 3
255 </para>
256 </listitem>
257 </itemizedlist>
258 <para>
259 Pluses loose:
260 </para>
261 <itemizedlist>
262 <listitem>
263 <para>
264 Plus 1
265 </para>
266 </listitem>
267 <listitem>
268 <para>
269 Plus 2
270 </para>
271 </listitem>
272 <listitem>
273 <para>
274 Plus 3
275 </para>
276 </listitem>
277 </itemizedlist>
278 <para>
279 Minuses tight:
280 </para>
281 <itemizedlist>
282 <listitem>
283 <para>
284 Minus 1
285 </para>
286 </listitem>
287 <listitem>
288 <para>
289 Minus 2
290 </para>
291 </listitem>
292 <listitem>
293 <para>
294 Minus 3
295 </para>
296 </listitem>
297 </itemizedlist>
298 <para>
299 Minuses loose:
300 </para>
301 <itemizedlist>
302 <listitem>
303 <para>
304 Minus 1
305 </para>
306 </listitem>
307 <listitem>
308 <para>
309 Minus 2
310 </para>
311 </listitem>
312 <listitem>
313 <para>
314 Minus 3
315 </para>
316 </listitem>
317 </itemizedlist>
318 </section>
319 <section>
320 <title>Ordered</title>
321 <para>
322 Tight:
323 </para>
324 <orderedlist>
325 <listitem>
326 <para>
327 First
328 </para>
329 </listitem>
330 <listitem>
331 <para>
332 Second
333 </para>
334 </listitem>
335 <listitem>
336 <para>
337 Third
338 </para>
339 </listitem>
340 </orderedlist>
341 <para>
342 and:
343 </para>
344 <orderedlist>
345 <listitem>
346 <para>
347 One
348 </para>
349 </listitem>
350 <listitem>
351 <para>
352 Two
353 </para>
354 </listitem>
355 <listitem>
356 <para>
357 Three
358 </para>
359 </listitem>
360 </orderedlist>
361 <para>
362 Loose using tabs:
363 </para>
364 <orderedlist>
365 <listitem>
366 <para>
367 First
368 </para>
369 </listitem>
370 <listitem>
371 <para>
372 Second
373 </para>
374 </listitem>
375 <listitem>
376 <para>
377 Third
378 </para>
379 </listitem>
380 </orderedlist>
381 <para>
382 and using spaces:
383 </para>
384 <orderedlist>
385 <listitem>
386 <para>
387 One
388 </para>
389 </listitem>
390 <listitem>
391 <para>
392 Two
393 </para>
394 </listitem>
395 <listitem>
396 <para>
397 Three
398 </para>
399 </listitem>
400 </orderedlist>
401 <para>
402 Multiple paragraphs:
403 </para>
404 <orderedlist>
405 <listitem>
406 <para>
407 Item 1, graf one.
408 </para>
409 <para>
410 Item 1. graf two. The quick brown fox jumped over the lazy dog's
411 back.
412 </para>
413 </listitem>
414 <listitem>
415 <para>
416 Item 2.
417 </para>
418 </listitem>
419 <listitem>
420 <para>
421 Item 3.
422 </para>
423 </listitem>
424 </orderedlist>
425 </section>
426 <section>
427 <title>Nested</title>
428 <itemizedlist>
429 <listitem>
430 <para>
431 Tab
432 </para>
433 <itemizedlist>
434 <listitem>
435 <para>
436 Tab
437 </para>
438 <itemizedlist>
439 <listitem>
440 <para>
441 Tab
442 </para>
443 </listitem>
444 </itemizedlist>
445 </listitem>
446 </itemizedlist>
447 </listitem>
448 </itemizedlist>
449 <para>
450 Here's another:
451 </para>
452 <orderedlist>
453 <listitem>
454 <para>
455 First
456 </para>
457 </listitem>
458 <listitem>
459 <para>
460 Second:
461 </para>
462 <itemizedlist>
463 <listitem>
464 <para>
465 Fee
466 </para>
467 </listitem>
468 <listitem>
469 <para>
470 Fie
471 </para>
472 </listitem>
473 <listitem>
474 <para>
475 Foe
476 </para>
477 </listitem>
478 </itemizedlist>
479 </listitem>
480 <listitem>
481 <para>
482 Third
483 </para>
484 </listitem>
485 </orderedlist>
486 <para>
487 Same thing but with paragraphs:
488 </para>
489 <orderedlist>
490 <listitem>
491 <para>
492 First
493 </para>
494 </listitem>
495 <listitem>
496 <para>
497 Second:
498 </para>
499 <itemizedlist>
500 <listitem>
501 <para>
502 Fee
503 </para>
504 </listitem>
505 <listitem>
506 <para>
507 Fie
508 </para>
509 </listitem>
510 <listitem>
511 <para>
512 Foe
513 </para>
514 </listitem>
515 </itemizedlist>
516 </listitem>
517 <listitem>
518 <para>
519 Third
520 </para>
521 </listitem>
522 </orderedlist>
523 </section>
524 <section>
525 <title>Tabs and spaces</title>
526 <itemizedlist>
527 <listitem>
528 <para>
529 this is a list item indented with tabs
530 </para>
531 </listitem>
532 <listitem>
533 <para>
534 this is a list item indented with spaces
535 </para>
536 <itemizedlist>
537 <listitem>
538 <para>
539 this is an example list item indented with tabs
540 </para>
541 </listitem>
542 <listitem>
543 <para>
544 this is an example list item indented with spaces
545 </para>
546 </listitem>
547 </itemizedlist>
548 </listitem>
549 </itemizedlist>
550 </section>
551 </section>
552 <section>
553 <title>Definition Lists</title>
554 <para>
555 Tight using spaces:
556 </para>
557 <variablelist>
558 <varlistentry>
559 <term>
560 apple
561 </term>
562 <listitem>
563 <para>
564 red fruit
565 </para>
566 </listitem>
567 </varlistentry>
568 <varlistentry>
569 <term>
570 orange
571 </term>
572 <listitem>
573 <para>
574 orange fruit
575 </para>
576 </listitem>
577 </varlistentry>
578 <varlistentry>
579 <term>
580 banana
581 </term>
582 <listitem>
583 <para>
584 yellow fruit
585 </para>
586 </listitem>
587 </varlistentry>
588 </variablelist>
589 <para>
590 Tight using tabs:
591 </para>
592 <variablelist>
593 <varlistentry>
594 <term>
595 apple
596 </term>
597 <listitem>
598 <para>
599 red fruit
600 </para>
601 </listitem>
602 </varlistentry>
603 <varlistentry>
604 <term>
605 orange
606 </term>
607 <listitem>
608 <para>
609 orange fruit
610 </para>
611 </listitem>
612 </varlistentry>
613 <varlistentry>
614 <term>
615 banana
616 </term>
617 <listitem>
618 <para>
619 yellow fruit
620 </para>
621 </listitem>
622 </varlistentry>
623 </variablelist>
624 <para>
625 Loose:
626 </para>
627 <variablelist>
628 <varlistentry>
629 <term>
630 apple
631 </term>
632 <listitem>
633 <para>
634 red fruit
635 </para>
636 </listitem>
637 </varlistentry>
638 <varlistentry>
639 <term>
640 orange
641 </term>
642 <listitem>
643 <para>
644 orange fruit
645 </para>
646 </listitem>
647 </varlistentry>
648 <varlistentry>
649 <term>
650 banana
651 </term>
652 <listitem>
653 <para>
654 yellow fruit
655 </para>
656 </listitem>
657 </varlistentry>
658 </variablelist>
659 <para>
660 Multiple blocks with italics:
661 </para>
662 <variablelist>
663 <varlistentry>
664 <term>
665 <emphasis>apple</emphasis>
666 </term>
667 <listitem>
668 <para>
669 red fruit
670 </para>
671 <para>
672 contains seeds, crisp, pleasant to taste
673 </para>
674 </listitem>
675 </varlistentry>
676 <varlistentry>
677 <term>
678 <emphasis>orange</emphasis>
679 </term>
680 <listitem>
681 <para>
682 orange fruit
683 </para>
684 <screen>
685{ orange code block }
686</screen>
687 <blockquote>
688 <para>
689 orange block quote
690 </para>
691 </blockquote>
692 </listitem>
693 </varlistentry>
694 </variablelist>
695 </section>
696 <section>
697 <title>Inline Markup</title>
698 <para>
699 This is <emphasis>emphasized</emphasis>, and so
700 <emphasis>is this</emphasis>.
701 </para>
702 <para>
703 This is <emphasis role="strong">strong</emphasis>, and so
704 <emphasis role="strong">is this</emphasis>.
705 </para>
706 <para>
707 An <emphasis><ulink url="/url">emphasized link</ulink></emphasis>.
708 </para>
709 <para>
710 <emphasis role="strong"><emphasis>This is strong and em.</emphasis></emphasis>
711 </para>
712 <para>
713 So is <emphasis role="strong"><emphasis>this</emphasis></emphasis>
714 word.
715 </para>
716 <para>
717 <emphasis role="strong"><emphasis>This is strong and em.</emphasis></emphasis>
718 </para>
719 <para>
720 So is <emphasis role="strong"><emphasis>this</emphasis></emphasis>
721 word.
722 </para>
723 <para>
724 This is code: <literal>&gt;</literal>, <literal>$</literal>,
725 <literal>\</literal>, <literal>\$</literal>,
726 <literal>&lt;html&gt;</literal>.
727 </para>
728 </section>
729 <section>
730 <title>Smart quotes, ellipses, dashes</title>
731 <para>
732 <quote>Hello,</quote> said the spider.
733 <quote><quote>Shelob</quote> is my name.</quote>
734 </para>
735 <para>
736 <quote>A</quote>, <quote>B</quote>, and <quote>C</quote> are
737 letters.
738 </para>
739 <para>
740 <quote>Oak,</quote> <quote>elm,</quote> and <quote>beech</quote>
741 are names of trees. So is <quote>pine.</quote>
742 </para>
743 <para>
744 <quote>He said, <quote>I want to go.</quote></quote> Were you alive
745 in the 70's?
746 </para>
747 <para>
748 Here is some quoted <quote><literal>code</literal></quote> and a
749 <quote><ulink url="http://example.com/?foo=1&amp;bar=2">quoted link</ulink></quote>.
750 </para>
751 <para>
752 Some dashes: one&#8212;two&#8212;three&#8212;four&#8212;five.
753 </para>
754 <para>
755 Dashes between numbers: 5&#8211;7, 255&#8211;66, 1987&#8211;1999.
756 </para>
757 <para>
758 Ellipses&#8230;and&#8230;and&#8230;.
759 </para>
760 </section>
761 <section>
762 <title>LaTeX</title>
763 <itemizedlist>
764 <listitem>
765 <para>
766 <literal>\cite[22-23]{smith.1899}</literal>
767 </para>
768 </listitem>
769 <listitem>
770 <para>
771 <literal>\doublespacing</literal>
772 </para>
773 </listitem>
774 <listitem>
775 <para>
776 <literal>$2+2=4$</literal>
777 </para>
778 </listitem>
779 <listitem>
780 <para>
781 <literal>$x \in y$</literal>
782 </para>
783 </listitem>
784 <listitem>
785 <para>
786 <literal>$\alpha \wedge \omega$</literal>
787 </para>
788 </listitem>
789 <listitem>
790 <para>
791 <literal>$223$</literal>
792 </para>
793 </listitem>
794 <listitem>
795 <para>
796 <literal>$p$</literal>-Tree
797 </para>
798 </listitem>
799 <listitem>
800 <para>
801 <literal>$\frac{d}{dx}f(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}$</literal>
802 </para>
803 </listitem>
804 <listitem>
805 <para>
806 Here's one that has a line break in it:
807 <literal>$\alpha + \omega \times x^2$</literal>.
808 </para>
809 </listitem>
810 </itemizedlist>
811 <para>
812 These shouldn't be math:
813 </para>
814 <itemizedlist>
815 <listitem>
816 <para>
817 To get the famous equation, write <literal>$e = mc^2$</literal>.
818 </para>
819 </listitem>
820 <listitem>
821 <para>
822 $22,000 is a <emphasis>lot</emphasis> of money. So is $34,000. (It
823 worked if <quote>lot</quote> is emphasized.)
824 </para>
825 </listitem>
826 <listitem>
827 <para>
828 Escaped <literal>$</literal>: $73
829 <emphasis>this should be emphasized</emphasis> 23$.
830 </para>
831 </listitem>
832 </itemizedlist>
833 <para>
834 Here's a LaTeX table:
835 </para>
836 <para>
837 <literal>\begin{tabular}{|l|l|}\hline
838Animal &amp; Number \\ \hline
839Dog &amp; 2 \\
840Cat &amp; 1 \\ \hline
841\end{tabular}</literal>
842 </para>
843 </section>
844 <section>
845 <title>Special Characters</title>
846 <para>
847 Here is some unicode:
848 </para>
849 <itemizedlist>
850 <listitem>
851 <para>
852 I hat: Î
853 </para>
854 </listitem>
855 <listitem>
856 <para>
857 o umlaut: ö
858 </para>
859 </listitem>
860 <listitem>
861 <para>
862 section: §
863 </para>
864 </listitem>
865 <listitem>
866 <para>
867 set membership: ∈
868 </para>
869 </listitem>
870 <listitem>
871 <para>
872 copyright: ©
873 </para>
874 </listitem>
875 </itemizedlist>
876 <para>
877 AT&amp;T has an ampersand in their name.
878 </para>
879 <para>
880 AT&amp;T is another way to write it.
881 </para>
882 <para>
883 This &amp; that.
884 </para>
885 <para>
886 4 &lt; 5.
887 </para>
888 <para>
889 6 &gt; 5.
890 </para>
891 <para>
892 Backslash: \
893 </para>
894 <para>
895 Backtick: `
896 </para>
897 <para>
898 Asterisk: *
899 </para>
900 <para>
901 Underscore: _
902 </para>
903 <para>
904 Left brace: {
905 </para>
906 <para>
907 Right brace: }
908 </para>
909 <para>
910 Left bracket: [
911 </para>
912 <para>
913 Right bracket: ]
914 </para>
915 <para>
916 Left paren: (
917 </para>
918 <para>
919 Right paren: )
920 </para>
921 <para>
922 Greater-than: &gt;
923 </para>
924 <para>
925 Hash: #
926 </para>
927 <para>
928 Period: .
929 </para>
930 <para>
931 Bang: !
932 </para>
933 <para>
934 Plus: +
935 </para>
936 <para>
937 Minus: -
938 </para>
939 </section>
940 <section>
941 <title>Links</title>
942 <section>
943 <title>Explicit</title>
944 <para>
945 Just a <ulink url="/url/">URL</ulink>.
946 </para>
947 <para>
948 <ulink url="/url/">URL and title</ulink>.
949 </para>
950 <para>
951 <ulink url="/url/">URL and title</ulink>.
952 </para>
953 <para>
954 <ulink url="/url/">URL and title</ulink>.
955 </para>
956 <para>
957 <ulink url="/url/">URL and title</ulink>
958 </para>
959 <para>
960 <ulink url="/url/">URL and title</ulink>
961 </para>
962 <para>
963 <ulink url="/url/with_underscore">with_underscore</ulink>
964 </para>
965 <para>
966 <email>nobody@nowhere.net</email>
967 </para>
968 <para>
969 <ulink url="">Empty</ulink>.
970 </para>
971 </section>
972 <section>
973 <title>Reference</title>
974 <para>
975 Foo <ulink url="/url/">bar</ulink>.
976 </para>
977 <para>
978 Foo <ulink url="/url/">bar</ulink>.
979 </para>
980 <para>
981 Foo <ulink url="/url/">bar</ulink>.
982 </para>
983 <para>
984 With <ulink url="/url/">embedded [brackets]</ulink>.
985 </para>
986 <para>
987 <ulink url="/url/">b</ulink> by itself should be a link.
988 </para>
989 <para>
990 Indented <ulink url="/url">once</ulink>.
991 </para>
992 <para>
993 Indented <ulink url="/url">twice</ulink>.
994 </para>
995 <para>
996 Indented <ulink url="/url">thrice</ulink>.
997 </para>
998 <para>
999 This should [not][] be a link.
1000 </para>
1001 <screen>
1002[not]: /url
1003</screen>
1004 <para>
1005 Foo <ulink url="/url/">bar</ulink>.
1006 </para>
1007 <para>
1008 Foo <ulink url="/url/">biz</ulink>.
1009 </para>
1010 </section>
1011 <section>
1012 <title>With ampersands</title>
1013 <para>
1014 Here's a
1015 <ulink url="http://example.com/?foo=1&amp;bar=2">link with an ampersand in the URL</ulink>.
1016 </para>
1017 <para>
1018 Here's a link with an amersand in the link text:
1019 <ulink url="http://att.com/">AT&amp;T</ulink>.
1020 </para>
1021 <para>
1022 Here's an <ulink url="/script?foo=1&amp;bar=2">inline link</ulink>.
1023 </para>
1024 <para>
1025 Here's an
1026 <ulink url="/script?foo=1&amp;bar=2">inline link in pointy braces</ulink>.
1027 </para>
1028 </section>
1029 <section>
1030 <title>Autolinks</title>
1031 <para>
1032 With an ampersand:
1033 <ulink url="http://example.com/?foo=1&amp;bar=2">http://example.com/?foo=1&amp;bar=2</ulink>
1034 </para>
1035 <itemizedlist>
1036 <listitem>
1037 <para>
1038 In a list?
1039 </para>
1040 </listitem>
1041 <listitem>
1042 <para>
1043 <ulink url="http://example.com/">http://example.com/</ulink>
1044 </para>
1045 </listitem>
1046 <listitem>
1047 <para>
1048 It should.
1049 </para>
1050 </listitem>
1051 </itemizedlist>
1052 <para>
1053 An e-mail address: <email>nobody@nowhere.net</email>
1054 </para>
1055 <blockquote>
1056 <para>
1057 Blockquoted:
1058 <ulink url="http://example.com/">http://example.com/</ulink>
1059 </para>
1060 </blockquote>
1061 <para>
1062 Auto-links should not occur here:
1063 <literal>&lt;http://example.com/&gt;</literal>
1064 </para>
1065 <screen>
1066or here: &lt;http://example.com/&gt;
1067</screen>
1068 </section>
1069 </section>
1070 <section>
1071 <title>Images</title>
1072 <para>
1073 From <quote>Voyage dans la Lune</quote> by Georges Melies (1902):
1074 </para>
1075 <para>
1076 <inlinemediaobject>
1077 <imageobject>
1078 <objectinfo>
1079 <title>
1080 Voyage dans la Lune
1081 </title>
1082 </objectinfo>
1083 <imagedata fileref="lalune.jpg" />
1084 </imageobject>
1085 </inlinemediaobject>
1086 </para>
1087 <para>
1088 Here is a movie
1089 <inlinemediaobject>
1090 <imageobject>
1091 <imagedata fileref="movie.jpg" />
1092 </imageobject>
1093 </inlinemediaobject>
1094 icon.
1095 </para>
1096 </section>
1097 <section>
1098 <title>Footnotes</title>
1099 <para>
1100 Here is a footnote
1101 reference,<footnote>
1102 <para>
1103 Here is the footnote. It can go anywhere after the footnote
1104 reference. It need not be placed at the end of the document.
1105 </para>
1106 </footnote>
1107 and
1108 another.<footnote>
1109 <para>
1110 Here's the long note. This one contains multiple blocks.
1111 </para>
1112 <para>
1113 Subsequent blocks are indented to show that they belong to the
1114 footnote (as with list items).
1115 </para>
1116 <screen>
1117 { &lt;code&gt; }
1118</screen>
1119 <para>
1120 If you want, you can indent every line, but you can also be lazy
1121 and just indent the first line of each block.
1122 </para>
1123 </footnote>
1124 This should <emphasis>not</emphasis> be a footnote reference,
1125 because it contains a space.[^my note] Here is an inline
1126 note.<footnote>
1127 <para>
1128 This is <emphasis>easier</emphasis> to type. Inline notes may
1129 contain <ulink url="http://google.com">links</ulink> and
1130 <literal>]</literal> verbatim characters, as well as [bracketed
1131 text].
1132 </para>
1133 </footnote>
1134 </para>
1135 <blockquote>
1136 <para>
1137 Notes can go in
1138 quotes.<footnote>
1139 <para>
1140 In quote.
1141 </para>
1142 </footnote>
1143 </para>
1144 </blockquote>
1145 <orderedlist>
1146 <listitem>
1147 <para>
1148 And in list
1149 items.<footnote>
1150 <para>
1151 In list.
1152 </para>
1153 </footnote>
1154 </para>
1155 </listitem>
1156 </orderedlist>
1157 <para>
1158 This paragraph should not be part of the note, as it is not
1159 indented.
1160 </para>
1161 </section>
1162</article>