git.iko.soy/typeable/pandoc
on 2.0.2 help sign in
typeable/pandoc/test/writer.tei
859 lines 22 kB history raw
1<?xml version="1.0" encoding="utf-8"?>
2<TEI xmlns="http://www.tei-c.org/ns/1.0">
3<teiHeader>
4 <fileDesc>
5 <titleStmt>
6 <title>Pandoc Test Suite</title>
7 <author>John MacFarlane</author>
8 <author>Anonymous</author>
9 </titleStmt>
10 <publicationStmt>
11 <p></p>
12 </publicationStmt>
13 <sourceDesc>
14 <p>Produced by pandoc.</p>
15 </sourceDesc>
16 </fileDesc>
17</teiHeader>
18<text>
19<body>
20<p>This is a set of tests for pandoc. Most of them are adapted from John
21Gruber’s markdown test suite.</p>
22<milestone unit="undefined" type="separator" rendition="line" />
23<div type="level1" id="headers">
24 <head>Headers</head>
25 <div type="level2" id="level-2-with-an-embedded-link">
26 <head>Level 2 with an <ref target="/url">embedded link</ref></head>
27 <div type="level3" id="level-3-with-emphasis">
28 <head>Level 3 with <hi rendition="simple:italic">emphasis</hi></head>
29 <div type="level4" id="level-4">
30 <head>Level 4</head>
31 <div type="level5" id="level-5">
32 <head>Level 5</head>
33 <p></p>
34 </div>
35 </div>
36 </div>
37 </div>
38</div>
39<div type="level1" id="level-1">
40 <head>Level 1</head>
41 <div type="level2" id="level-2-with-emphasis">
42 <head>Level 2 with <hi rendition="simple:italic">emphasis</hi></head>
43 <div type="level3" id="level-3">
44 <head>Level 3</head>
45 <p>with no blank line</p>
46 </div>
47 </div>
48 <div type="level2" id="level-2">
49 <head>Level 2</head>
50 <p>with no blank line</p>
51 <milestone unit="undefined" type="separator" rendition="line" />
52 </div>
53</div>
54<div type="level1" id="paragraphs">
55 <head>Paragraphs</head>
56 <p>Here’s a regular paragraph.</p>
57 <p>In Markdown 1.0.0 and earlier. Version 8. This line turns into a list
58 item. Because a hard-wrapped line in the middle of a paragraph looked like a
59 list item.</p>
60 <p>Here’s one with a bullet. * criminey.</p>
61 <p>There should be a hard line break<lb />here.</p>
62 <milestone unit="undefined" type="separator" rendition="line" />
63</div>
64<div type="level1" id="block-quotes">
65 <head>Block Quotes</head>
66 <p>E-mail style:</p>
67 <quote>
68 <p>This is a block quote. It is pretty short.</p>
69 </quote>
70 <quote>
71 <p>Code in a block quote:</p>
72 <ab type='codeblock '>
73sub status {
74 print &quot;working&quot;;
76</ab>
77 <p>A list:</p>
78 <list type="ordered:arabic">
79 <item>
80 <p>item one</p>
81 </item>
82 <item>
83 <p>item two</p>
84 </item>
85 </list>
86 <p>Nested block quotes:</p>
87 <quote>
88 <p>nested</p>
89 </quote>
90 <quote>
91 <p>nested</p>
92 </quote>
93 </quote>
94 <p>This should not be a block quote: 2 &gt; 1.</p>
95 <p>And a following paragraph.</p>
96 <milestone unit="undefined" type="separator" rendition="line" />
97</div>
98<div type="level1" id="code-blocks">
99 <head>Code Blocks</head>
100 <p>Code:</p>
101 <ab type='codeblock '>
102---- (should be four hyphens)
104sub status {
105 print &quot;working&quot;;
108this code block is indented by one tab
109</ab>
110 <p>And:</p>
111 <ab type='codeblock '>
112 this code block is indented by two tabs
114These should not be escaped: \$ \\ \&gt; \[ \{
115</ab>
116 <milestone unit="undefined" type="separator" rendition="line" />
117</div>
118<div type="level1" id="lists">
119 <head>Lists</head>
120 <div type="level2" id="unordered">
121 <head>Unordered</head>
122 <p>Asterisks tight:</p>
123 <list type="unordered">
124 <item>
125 <p>asterisk 1</p>
126 </item>
127 <item>
128 <p>asterisk 2</p>
129 </item>
130 <item>
131 <p>asterisk 3</p>
132 </item>
133 </list>
134 <p>Asterisks loose:</p>
135 <list type="unordered">
136 <item>
137 <p>asterisk 1</p>
138 </item>
139 <item>
140 <p>asterisk 2</p>
141 </item>
142 <item>
143 <p>asterisk 3</p>
144 </item>
145 </list>
146 <p>Pluses tight:</p>
147 <list type="unordered">
148 <item>
149 <p>Plus 1</p>
150 </item>
151 <item>
152 <p>Plus 2</p>
153 </item>
154 <item>
155 <p>Plus 3</p>
156 </item>
157 </list>
158 <p>Pluses loose:</p>
159 <list type="unordered">
160 <item>
161 <p>Plus 1</p>
162 </item>
163 <item>
164 <p>Plus 2</p>
165 </item>
166 <item>
167 <p>Plus 3</p>
168 </item>
169 </list>
170 <p>Minuses tight:</p>
171 <list type="unordered">
172 <item>
173 <p>Minus 1</p>
174 </item>
175 <item>
176 <p>Minus 2</p>
177 </item>
178 <item>
179 <p>Minus 3</p>
180 </item>
181 </list>
182 <p>Minuses loose:</p>
183 <list type="unordered">
184 <item>
185 <p>Minus 1</p>
186 </item>
187 <item>
188 <p>Minus 2</p>
189 </item>
190 <item>
191 <p>Minus 3</p>
192 </item>
193 </list>
194 </div>
195 <div type="level2" id="ordered">
196 <head>Ordered</head>
197 <p>Tight:</p>
198 <list type="ordered:arabic">
199 <item>
200 <p>First</p>
201 </item>
202 <item>
203 <p>Second</p>
204 </item>
205 <item>
206 <p>Third</p>
207 </item>
208 </list>
209 <p>and:</p>
210 <list type="ordered:arabic">
211 <item>
212 <p>One</p>
213 </item>
214 <item>
215 <p>Two</p>
216 </item>
217 <item>
218 <p>Three</p>
219 </item>
220 </list>
221 <p>Loose using tabs:</p>
222 <list type="ordered:arabic">
223 <item>
224 <p>First</p>
225 </item>
226 <item>
227 <p>Second</p>
228 </item>
229 <item>
230 <p>Third</p>
231 </item>
232 </list>
233 <p>and using spaces:</p>
234 <list type="ordered:arabic">
235 <item>
236 <p>One</p>
237 </item>
238 <item>
239 <p>Two</p>
240 </item>
241 <item>
242 <p>Three</p>
243 </item>
244 </list>
245 <p>Multiple paragraphs:</p>
246 <list type="ordered:arabic">
247 <item>
248 <p>Item 1, graf one.</p>
249 <p>Item 1. graf two. The quick brown fox jumped over the lazy dog’s
250 back.</p>
251 </item>
252 <item>
253 <p>Item 2.</p>
254 </item>
255 <item>
256 <p>Item 3.</p>
257 </item>
258 </list>
259 </div>
260 <div type="level2" id="nested">
261 <head>Nested</head>
262 <list type="unordered">
263 <item>
264 <p>Tab</p>
265 <list type="unordered">
266 <item>
267 <p>Tab</p>
268 <list type="unordered">
269 <item>
270 <p>Tab</p>
271 </item>
272 </list>
273 </item>
274 </list>
275 </item>
276 </list>
277 <p>Here’s another:</p>
278 <list type="ordered:arabic">
279 <item>
280 <p>First</p>
281 </item>
282 <item>
283 <p>Second:</p>
284 <list type="unordered">
285 <item>
286 <p>Fee</p>
287 </item>
288 <item>
289 <p>Fie</p>
290 </item>
291 <item>
292 <p>Foe</p>
293 </item>
294 </list>
295 </item>
296 <item>
297 <p>Third</p>
298 </item>
299 </list>
300 <p>Same thing but with paragraphs:</p>
301 <list type="ordered:arabic">
302 <item>
303 <p>First</p>
304 </item>
305 <item>
306 <p>Second:</p>
307 <list type="unordered">
308 <item>
309 <p>Fee</p>
310 </item>
311 <item>
312 <p>Fie</p>
313 </item>
314 <item>
315 <p>Foe</p>
316 </item>
317 </list>
318 </item>
319 <item>
320 <p>Third</p>
321 </item>
322 </list>
323 </div>
324 <div type="level2" id="tabs-and-spaces">
325 <head>Tabs and spaces</head>
326 <list type="unordered">
327 <item>
328 <p>this is a list item indented with tabs</p>
329 </item>
330 <item>
331 <p>this is a list item indented with spaces</p>
332 <list type="unordered">
333 <item>
334 <p>this is an example list item indented with tabs</p>
335 </item>
336 <item>
337 <p>this is an example list item indented with spaces</p>
338 </item>
339 </list>
340 </item>
341 </list>
342 </div>
343 <div type="level2" id="fancy-list-markers">
344 <head>Fancy list markers</head>
345 <list type="ordered:arabic">
346 <item n="2">
347 <p>begins with 2</p>
348 </item>
349 <item>
350 <p>and now 3</p>
351 <p>with a continuation</p>
352 <list type="ordered:lowerroman">
353 <item n="4">
354 <p>sublist with roman numerals, starting with 4</p>
355 </item>
356 <item>
357 <p>more items</p>
358 <list type="ordered:upperalpha">
359 <item>
360 <p>a subsublist</p>
361 </item>
362 <item>
363 <p>a subsublist</p>
364 </item>
365 </list>
366 </item>
367 </list>
368 </item>
369 </list>
370 <p>Nesting:</p>
371 <list type="ordered:upperalpha">
372 <item>
373 <p>Upper Alpha</p>
374 <list type="ordered:upperroman">
375 <item>
376 <p>Upper Roman.</p>
377 <list type="ordered:arabic">
378 <item n="6">
379 <p>Decimal start with 6</p>
380 <list type="ordered:loweralpha">
381 <item n="3">
382 <p>Lower alpha with paren</p>
383 </item>
384 </list>
385 </item>
386 </list>
387 </item>
388 </list>
389 </item>
390 </list>
391 <p>Autonumbering:</p>
392 <list>
393 <item>
394 <p>Autonumber.</p>
395 </item>
396 <item>
397 <p>More.</p>
398 <list>
399 <item>
400 <p>Nested.</p>
401 </item>
402 </list>
403 </item>
404 </list>
405 <p>Should not be a list item:</p>
406 <p>M.A. 2007</p>
407 <p>B. Williams</p>
408 <milestone unit="undefined" type="separator" rendition="line" />
409 </div>
410</div>
411<div type="level1" id="definition-lists">
412 <head>Definition Lists</head>
413 <p>Tight using spaces:</p>
414 <list type="definition">
415 <label>
416 apple
417 </label>
418 <item>
419 <p>red fruit</p>
420 </item>
421 <label>
422 orange
423 </label>
424 <item>
425 <p>orange fruit</p>
426 </item>
427 <label>
428 banana
429 </label>
430 <item>
431 <p>yellow fruit</p>
432 </item>
433 </list>
434 <p>Tight using tabs:</p>
435 <list type="definition">
436 <label>
437 apple
438 </label>
439 <item>
440 <p>red fruit</p>
441 </item>
442 <label>
443 orange
444 </label>
445 <item>
446 <p>orange fruit</p>
447 </item>
448 <label>
449 banana
450 </label>
451 <item>
452 <p>yellow fruit</p>
453 </item>
454 </list>
455 <p>Loose:</p>
456 <list type="definition">
457 <label>
458 apple
459 </label>
460 <item>
461 <p>red fruit</p>
462 </item>
463 <label>
464 orange
465 </label>
466 <item>
467 <p>orange fruit</p>
468 </item>
469 <label>
470 banana
471 </label>
472 <item>
473 <p>yellow fruit</p>
474 </item>
475 </list>
476 <p>Multiple blocks with italics:</p>
477 <list type="definition">
478 <label>
479 <hi rendition="simple:italic">apple</hi>
480 </label>
481 <item>
482 <p>red fruit</p>
483 <p>contains seeds, crisp, pleasant to taste</p>
484 </item>
485 <label>
486 <hi rendition="simple:italic">orange</hi>
487 </label>
488 <item>
489 <p>orange fruit</p>
490 <ab type='codeblock '>
491{ orange code block }
492</ab>
493 <quote>
494 <p>orange block quote</p>
495 </quote>
496 </item>
497 </list>
498 <p>Multiple definitions, tight:</p>
499 <list type="definition">
500 <label>
501 apple
502 </label>
503 <item>
504 <p>red fruit</p>
505 <p>computer</p>
506 </item>
507 <label>
508 orange
509 </label>
510 <item>
511 <p>orange fruit</p>
512 <p>bank</p>
513 </item>
514 </list>
515 <p>Multiple definitions, loose:</p>
516 <list type="definition">
517 <label>
518 apple
519 </label>
520 <item>
521 <p>red fruit</p>
522 <p>computer</p>
523 </item>
524 <label>
525 orange
526 </label>
527 <item>
528 <p>orange fruit</p>
529 <p>bank</p>
530 </item>
531 </list>
532 <p>Blank line after term, indented marker, alternate markers:</p>
533 <list type="definition">
534 <label>
535 apple
536 </label>
537 <item>
538 <p>red fruit</p>
539 <p>computer</p>
540 </item>
541 <label>
542 orange
543 </label>
544 <item>
545 <p>orange fruit</p>
546 <list type="ordered:arabic">
547 <item>
548 <p>sublist</p>
549 </item>
550 <item>
551 <p>sublist</p>
552 </item>
553 </list>
554 </item>
555 </list>
556</div>
557<div type="level1" id="html-blocks">
558 <head>HTML Blocks</head>
559 <p>Simple block on one line:</p>
560 <p>foo</p>
561 <p>And nested without indentation:</p>
562 <p>foo</p>
563 <p>bar</p>
564 <p>Interpreted markdown in a table:</p>
565 <p>This is <hi rendition="simple:italic">emphasized</hi></p>
566 <p>And this is <hi rendition="simple:bold">strong</hi></p>
567 <p>Here’s a simple block:</p>
568 <p>foo</p>
569 <p>This should be a code block, though:</p>
570 <ab type='codeblock '>
571&lt;div&gt;
572 foo
573&lt;/div&gt;
574</ab>
575 <p>As should this:</p>
576 <ab type='codeblock '>
577&lt;div&gt;foo&lt;/div&gt;
578</ab>
579 <p>Now, nested:</p>
580 <p>foo</p>
581 <p>This should just be an HTML comment:</p>
582 <p>Multiline:</p>
583 <p>Code block:</p>
584 <ab type='codeblock '>
585&lt;!-- Comment --&gt;
586</ab>
587 <p>Just plain comment, with trailing spaces on the line:</p>
588 <p>Code:</p>
589 <ab type='codeblock '>
590&lt;hr /&gt;
591</ab>
592 <p>Hr’s:</p>
593 <milestone unit="undefined" type="separator" rendition="line" />
594</div>
595<div type="level1" id="inline-markup">
596 <head>Inline Markup</head>
597 <p>This is <hi rendition="simple:italic">emphasized</hi>, and so
598 <hi rendition="simple:italic">is this</hi>.</p>
599 <p>This is <hi rendition="simple:bold">strong</hi>, and so
600 <hi rendition="simple:bold">is this</hi>.</p>
601 <p>An <hi rendition="simple:italic"><ref target="/url">emphasized
602 link</ref></hi>.</p>
603 <p><hi rendition="simple:bold"><hi rendition="simple:italic">This is strong
604 and em.</hi></hi></p>
605 <p>So is
606 <hi rendition="simple:bold"><hi rendition="simple:italic">this</hi></hi>
607 word.</p>
608 <p><hi rendition="simple:bold"><hi rendition="simple:italic">This is strong
609 and em.</hi></hi></p>
610 <p>So is
611 <hi rendition="simple:bold"><hi rendition="simple:italic">this</hi></hi>
612 word.</p>
613 <p>This is code: <seg type="code">&gt;</seg>, <seg type="code">$</seg>,
614 <seg type="code">\</seg>, <seg type="code">\$</seg>,
615 <seg type="code">&lt;html&gt;</seg>.</p>
616 <p><hi rendition="simple:strikethrough">This is
617 <hi rendition="simple:italic">strikeout</hi>.</hi></p>
618 <p>Superscripts: a<hi rendition="simple:superscript">bc</hi>d
619 a<hi rendition="simple:superscript"><hi rendition="simple:italic">hello</hi></hi>
620 a<hi rendition="simple:superscript">hello there</hi>.</p>
621 <p>Subscripts: H<hi rendition="simple:subscript">2</hi>O,
622 H<hi rendition="simple:subscript">23</hi>O,
623 H<hi rendition="simple:subscript">many of them</hi>O.</p>
624 <p>These should not be superscripts or subscripts, because of the unescaped
625 spaces: a^b c^d, a~b c~d.</p>
626 <milestone unit="undefined" type="separator" rendition="line" />
627</div>
628<div type="level1" id="smart-quotes-ellipses-dashes">
629 <head>Smart quotes, ellipses, dashes</head>
630 <p><quote>Hello,</quote> said the spider. <quote><quote>Shelob</quote> is my
631 name.</quote></p>
632 <p><quote>A</quote>, <quote>B</quote>, and <quote>C</quote> are letters.</p>
633 <p><quote>Oak,</quote> <quote>elm,</quote> and <quote>beech</quote> are
634 names of trees. So is <quote>pine.</quote></p>
635 <p><quote>He said, <quote>I want to go.</quote></quote> Were you alive in
636 the 70’s?</p>
637 <p>Here is some quoted <quote><seg type="code">code</seg></quote> and a
638 <quote><ref target="http://example.com/?foo=1&amp;bar=2">quoted
639 link</ref></quote>.</p>
640 <p>Some dashes: one—two — three—four — five.</p>
641 <p>Dashes between numbers: 5–7, 255–66, 1987–1999.</p>
642 <p>Ellipses…and…and….</p>
643 <milestone unit="undefined" type="separator" rendition="line" />
644</div>
645<div type="level1" id="latex">
646 <head>LaTeX</head>
647 <list type="unordered">
648 <item>
649 <p></p>
650 </item>
651 <item>
652 <p><formula notation="TeX">2+2=4</formula></p>
653 </item>
654 <item>
655 <p><formula notation="TeX">x \in y</formula></p>
656 </item>
657 <item>
658 <p><formula notation="TeX">\alpha \wedge \omega</formula></p>
659 </item>
660 <item>
661 <p><formula notation="TeX">223</formula></p>
662 </item>
663 <item>
664 <p><formula notation="TeX">p</formula>-Tree</p>
665 </item>
666 <item>
667 <p>Here’s some display math: <figure type="math">
668 <formula notation="TeX">\frac{d}{dx}f(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}</formula>
669 </figure></p>
670 </item>
671 <item>
672 <p>Here’s one that has a line break in it:
673 <formula notation="TeX">\alpha + \omega \times x^2</formula>.</p>
674 </item>
675 </list>
676 <p>These shouldn’t be math:</p>
677 <list type="unordered">
678 <item>
679 <p>To get the famous equation, write
680 <seg type="code">$e = mc^2$</seg>.</p>
681 </item>
682 <item>
683 <p>$22,000 is a <hi rendition="simple:italic">lot</hi> of money. So is
684 $34,000. (It worked if <quote>lot</quote> is emphasized.)</p>
685 </item>
686 <item>
687 <p>Shoes ($20) and socks ($5).</p>
688 </item>
689 <item>
690 <p>Escaped <seg type="code">$</seg>: $73
691 <hi rendition="simple:italic">this should be emphasized</hi> 23$.</p>
692 </item>
693 </list>
694 <p>Here’s a LaTeX table:</p>
695 <milestone unit="undefined" type="separator" rendition="line" />
696</div>
697<div type="level1" id="special-characters">
698 <head>Special Characters</head>
699 <p>Here is some unicode:</p>
700 <list type="unordered">
701 <item>
702 <p>I hat: Î</p>
703 </item>
704 <item>
705 <p>o umlaut: ö</p>
706 </item>
707 <item>
708 <p>section: §</p>
709 </item>
710 <item>
711 <p>set membership: ∈</p>
712 </item>
713 <item>
714 <p>copyright: ©</p>
715 </item>
716 </list>
717 <p>AT&amp;T has an ampersand in their name.</p>
718 <p>AT&amp;T is another way to write it.</p>
719 <p>This &amp; that.</p>
720 <p>4 &lt; 5.</p>
721 <p>6 &gt; 5.</p>
722 <p>Backslash: \</p>
723 <p>Backtick: `</p>
724 <p>Asterisk: *</p>
725 <p>Underscore: _</p>
726 <p>Left brace: {</p>
727 <p>Right brace: }</p>
728 <p>Left bracket: [</p>
729 <p>Right bracket: ]</p>
730 <p>Left paren: (</p>
731 <p>Right paren: )</p>
732 <p>Greater-than: &gt;</p>
733 <p>Hash: #</p>
734 <p>Period: .</p>
735 <p>Bang: !</p>
736 <p>Plus: +</p>
737 <p>Minus: -</p>
738 <milestone unit="undefined" type="separator" rendition="line" />
739</div>
740<div type="level1" id="links">
741 <head>Links</head>
742 <div type="level2" id="explicit">
743 <head>Explicit</head>
744 <p>Just a <ref target="/url/">URL</ref>.</p>
745 <p><ref target="/url/">URL and title</ref>.</p>
746 <p><ref target="/url/">URL and title</ref>.</p>
747 <p><ref target="/url/">URL and title</ref>.</p>
748 <p><ref target="/url/">URL and title</ref></p>
749 <p><ref target="/url/">URL and title</ref></p>
750 <p><ref target="/url/with_underscore">with_underscore</ref></p>
751 <p>Email link (nobody@nowhere.net)</p>
752 <p><ref target="">Empty</ref>.</p>
753 </div>
754 <div type="level2" id="reference">
755 <head>Reference</head>
756 <p>Foo <ref target="/url/">bar</ref>.</p>
757 <p>With <ref target="/url/">embedded [brackets]</ref>.</p>
758 <p><ref target="/url/">b</ref> by itself should be a link.</p>
759 <p>Indented <ref target="/url">once</ref>.</p>
760 <p>Indented <ref target="/url">twice</ref>.</p>
761 <p>Indented <ref target="/url">thrice</ref>.</p>
762 <p>This should [not][] be a link.</p>
763 <ab type='codeblock '>
764[not]: /url
765</ab>
766 <p>Foo <ref target="/url/">bar</ref>.</p>
767 <p>Foo <ref target="/url/">biz</ref>.</p>
768 </div>
769 <div type="level2" id="with-ampersands">
770 <head>With ampersands</head>
771 <p>Here’s a <ref target="http://example.com/?foo=1&amp;bar=2">link with an
772 ampersand in the URL</ref>.</p>
773 <p>Here’s a link with an amersand in the link text:
774 <ref target="http://att.com/">AT&amp;T</ref>.</p>
775 <p>Here’s an <ref target="/script?foo=1&amp;bar=2">inline link</ref>.</p>
776 <p>Here’s an <ref target="/script?foo=1&amp;bar=2">inline link in pointy
777 braces</ref>.</p>
778 </div>
779 <div type="level2" id="autolinks">
780 <head>Autolinks</head>
781 <p>With an ampersand:
782 <ref target="http://example.com/?foo=1&amp;bar=2">http://example.com/?foo=1&amp;bar=2</ref></p>
783 <list type="unordered">
784 <item>
785 <p>In a list?</p>
786 </item>
787 <item>
788 <p><ref target="http://example.com/">http://example.com/</ref></p>
789 </item>
790 <item>
791 <p>It should.</p>
792 </item>
793 </list>
794 <p>An e-mail address: nobody@nowhere.net</p>
795 <quote>
796 <p>Blockquoted:
797 <ref target="http://example.com/">http://example.com/</ref></p>
798 </quote>
799 <p>Auto-links should not occur here:
800 <seg type="code">&lt;http://example.com/&gt;</seg></p>
801 <ab type='codeblock '>
802or here: &lt;http://example.com/&gt;
803</ab>
804 <milestone unit="undefined" type="separator" rendition="line" />
805 </div>
806</div>
807<div type="level1" id="images">
808 <head>Images</head>
809 <p>From <quote>Voyage dans la Lune</quote> by Georges Melies (1902):</p>
810 <p><figure>
811 <head>lalune</head>
812 <graphic url="lalune.jpg" />
813 <figDesc>fig:Voyage dans la Lune</figDesc>
814 </figure></p>
815 <p>Here is a movie <figure>
816 <head>movie</head>
817 <graphic url="movie.jpg" />
818 </figure> icon.</p>
819 <milestone unit="undefined" type="separator" rendition="line" />
820</div>
821<div type="level1" id="footnotes">
822 <head>Footnotes</head>
823 <p>Here is a footnote reference,<note>
824 <p>Here is the footnote. It can go anywhere after the footnote reference.
825 It need not be placed at the end of the document.</p>
826 </note> and another.<note>
827 <p>Here’s the long note. This one contains multiple blocks.</p>
828 <p>Subsequent blocks are indented to show that they belong to the footnote
829 (as with list items).</p>
830 <ab type='codeblock '>
831 { &lt;code&gt; }
832</ab>
833 <p>If you want, you can indent every line, but you can also be lazy and
834 just indent the first line of each block.</p>
835 </note> This should <hi rendition="simple:italic">not</hi> be a footnote
836 reference, because it contains a space.[^my note] Here is an inline
837 note.<note>
838 <p>This is <hi rendition="simple:italic">easier</hi> to type. Inline notes
839 may contain <ref target="http://google.com">links</ref> and
840 <seg type="code">]</seg> verbatim characters, as well as [bracketed
841 text].</p>
842 </note></p>
843 <quote>
844 <p>Notes can go in quotes.<note>
845 <p>In quote.</p>
846 </note></p>
847 </quote>
848 <list type="ordered:arabic">
849 <item>
850 <p>And in list items.<note>
851 <p>In list.</p>
852 </note></p>
853 </item>
854 </list>
855 <p>This paragraph should not be part of the note, as it is not indented.</p>
856</div>
857</body>
858</text>
859</TEI>