aboutsummaryrefslogtreecommitdiff
path: root/tests/writer.rtf
blob: 073ec30544a51ede7e0cb604527c15e8600a4665 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
{\rtf1\ansi\deff0{\fonttbl{\f0 \fswiss Helvetica;}{\f1 Courier;}}
{\colortbl;\red255\green0\blue0;\red0\green0\blue255;}
\widowctrl\hyphauto

{\pard \f0 \sa180 \li0 \fi0 \qc \b \fs36 Pandoc Test Suite\par}
{\pard \f0 \sa180 \li0 \fi0 \qc John MacFarlane\Anonymous\par}
{\pard \f0 \sa180 \li0 \fi0 \qc July 17, 2006\par}
{\pard \f0 \sa180 \li0 \fi0 \par}
{\pard \f0 \sa180 \li0 \fi0 This is a set of tests for pandoc. Most of them are adapted from John Gruber's markdown test suite.\par}
{\pard \f0 \sa180 \li0 \fi0 \qc \emdash\emdash\emdash\emdash\emdash\par}
{\pard \f0 \sa180 \li0 \fi0 \b \fs36 Headers\par}
{\pard \f0 \sa180 \li0 \fi0 \b \fs32 Level 2 with an {\field{\*\fldinst{HYPERLINK "/url"}}{\fldrslt{\ul
embedded link
}}}
\par}
{\pard \f0 \sa180 \li0 \fi0 \b \fs28 Level 3 with {\i emphasis} \par}
{\pard \f0 \sa180 \li0 \fi0 \b \fs24 Level 4\par}
{\pard \f0 \sa180 \li0 \fi0 \b \fs20 Level 5\par}
{\pard \f0 \sa180 \li0 \fi0 \b \fs36 Level 1\par}
{\pard \f0 \sa180 \li0 \fi0 \b \fs32 Level 2 with {\i emphasis} \par}
{\pard \f0 \sa180 \li0 \fi0 \b \fs28 Level 3\par}
{\pard \f0 \sa180 \li0 \fi0 with no blank line\par}
{\pard \f0 \sa180 \li0 \fi0 \b \fs32 Level 2\par}
{\pard \f0 \sa180 \li0 \fi0 with no blank line\par}
{\pard \f0 \sa180 \li0 \fi0 \qc \emdash\emdash\emdash\emdash\emdash\par}
{\pard \f0 \sa180 \li0 \fi0 \b \fs36 Paragraphs\par}
{\pard \f0 \sa180 \li0 \fi0 Here's a regular paragraph.\par}
{\pard \f0 \sa180 \li0 \fi0 In Markdown 1.0.0 and earlier. Version 8. This line turns into a list item. Because a hard-wrapped line in the middle of a paragraph looked like a list item.\par}
{\pard \f0 \sa180 \li0 \fi0 Here's one with a bullet. * criminey.\par}
{\pard \f0 \sa180 \li0 \fi0 There should be a hard line break\line here.\par}
{\pard \f0 \sa180 \li0 \fi0 \qc \emdash\emdash\emdash\emdash\emdash\par}
{\pard \f0 \sa180 \li0 \fi0 \b \fs36 Block Quotes\par}
{\pard \f0 \sa180 \li0 \fi0 E-mail style:\par}
{\pard \f0 \sa180 \li720 \fi0 This is a block quote. It is pretty short.\par}
{\pard \f0 \sa180 \li720 \fi0 Code in a block quote:\par}
{\pard \f0 \sa180 \li720 \fi0 \f1 sub status \{\line
    print "working";\line
\}\par}
{\pard \f0 \sa180 \li720 \fi0 A list:\par}
{\pard \f0 \sa0 \li1080 \fi-360 1.\tx360\tab item one\par}
{\pard \f0 \sa0 \li1080 \fi-360 2.\tx360\tab item two\sa180\par}
{\pard \f0 \sa180 \li720 \fi0 Nested block quotes:\par}
{\pard \f0 \sa180 \li1440 \fi0 nested\par}
{\pard \f0 \sa180 \li1440 \fi0 nested\par}
{\pard \f0 \sa180 \li0 \fi0 This should not be a block quote: 2 > 1.\par}
{\pard \f0 \sa180 \li0 \fi0 Box-style:\par}
{\pard \f0 \sa180 \li720 \fi0 Example:\par}
{\pard \f0 \sa180 \li720 \fi0 \f1 sub status \{\line
    print "working";\line
\}\par}
{\pard \f0 \sa0 \li1080 \fi-360 1.\tx360\tab do laundry\par}
{\pard \f0 \sa0 \li1080 \fi-360 2.\tx360\tab take out the trash\sa180\par}
{\pard \f0 \sa180 \li0 \fi0 Here's a nested one:\par}
{\pard \f0 \sa180 \li720 \fi0 Joe said:\par}
{\pard \f0 \sa180 \li1440 \fi0 Don't quote me.\par}
{\pard \f0 \sa180 \li0 \fi0 And a following paragraph.\par}
{\pard \f0 \sa180 \li0 \fi0 \qc \emdash\emdash\emdash\emdash\emdash\par}
{\pard \f0 \sa180 \li0 \fi0 \b \fs36 Code Blocks\par}
{\pard \f0 \sa180 \li0 \fi0 Code:\par}
{\pard \f0 \sa180 \li0 \fi0 \f1 ---- (should be four hyphens)\line
\line
sub status \{\line
    print "working";\line
\}\line
\line
this code block is indented by one tab\par}
{\pard \f0 \sa180 \li0 \fi0 And:\par}
{\pard \f0 \sa180 \li0 \fi0 \f1     this code block is indented by two tabs\line
\line
These should not be escaped:  \\$ \\\\ \\> \\[ \\\{\par}
{\pard \f0 \sa180 \li0 \fi0 \qc \emdash\emdash\emdash\emdash\emdash\par}
{\pard \f0 \sa180 \li0 \fi0 \b \fs36 Lists\par}
{\pard \f0 \sa180 \li0 \fi0 \b \fs32 Unordered\par}
{\pard \f0 \sa180 \li0 \fi0 Asterisks tight:\par}
{\pard \f0 \sa0 \li360 \fi-360 \bullet \tx360\tab asterisk 1\par}
{\pard \f0 \sa0 \li360 \fi-360 \bullet \tx360\tab asterisk 2\par}
{\pard \f0 \sa0 \li360 \fi-360 \bullet \tx360\tab asterisk 3\sa180\par}
{\pard \f0 \sa180 \li0 \fi0 Asterisks loose:\par}
{\pard \f0 \sa180 \li360 \fi-360 \bullet \tx360\tab asterisk 1\par}
{\pard \f0 \sa180 \li360 \fi-360 \bullet \tx360\tab asterisk 2\par}
{\pard \f0 \sa180 \li360 \fi-360 \bullet \tx360\tab asterisk 3\sa180\par}
{\pard \f0 \sa180 \li0 \fi0 Pluses tight:\par}
{\pard \f0 \sa0 \li360 \fi-360 \bullet \tx360\tab Plus 1\par}
{\pard \f0 \sa0 \li360 \fi-360 \bullet \tx360\tab Plus 2\par}
{\pard \f0 \sa0 \li360 \fi-360 \bullet \tx360\tab Plus 3\sa180\par}
{\pard \f0 \sa180 \li0 \fi0 Pluses loose:\par}
{\pard \f0 \sa180 \li360 \fi-360 \bullet \tx360\tab Plus 1\par}
{\pard \f0 \sa180 \li360 \fi-360 \bullet \tx360\tab Plus 2\par}
{\pard \f0 \sa180 \li360 \fi-360 \bullet \tx360\tab Plus 3\sa180\par}
{\pard \f0 \sa180 \li0 \fi0 Minuses tight:\par}
{\pard \f0 \sa0 \li360 \fi-360 \bullet \tx360\tab Minus 1\par}
{\pard \f0 \sa0 \li360 \fi-360 \bullet \tx360\tab Minus 2\par}
{\pard \f0 \sa0 \li360 \fi-360 \bullet \tx360\tab Minus 3\sa180\par}
{\pard \f0 \sa180 \li0 \fi0 Minuses loose:\par}
{\pard \f0 \sa180 \li360 \fi-360 \bullet \tx360\tab Minus 1\par}
{\pard \f0 \sa180 \li360 \fi-360 \bullet \tx360\tab Minus 2\par}
{\pard \f0 \sa180 \li360 \fi-360 \bullet \tx360\tab Minus 3\sa180\par}
{\pard \f0 \sa180 \li0 \fi0 \b \fs32 Ordered\par}
{\pard \f0 \sa180 \li0 \fi0 Tight:\par}
{\pard \f0 \sa0 \li360 \fi-360 1.\tx360\tab First\par}
{\pard \f0 \sa0 \li360 \fi-360 2.\tx360\tab Second\par}
{\pard \f0 \sa0 \li360 \fi-360 3.\tx360\tab Third\sa180\par}
{\pard \f0 \sa180 \li0 \fi0 and:\par}
{\pard \f0 \sa0 \li360 \fi-360 1.\tx360\tab One\par}
{\pard \f0 \sa0 \li360 \fi-360 2.\tx360\tab Two\par}
{\pard \f0 \sa0 \li360 \fi-360 3.\tx360\tab Three\sa180\par}
{\pard \f0 \sa180 \li0 \fi0 Loose using tabs:\par}
{\pard \f0 \sa180 \li360 \fi-360 1.\tx360\tab First\par}
{\pard \f0 \sa180 \li360 \fi-360 2.\tx360\tab Second\par}
{\pard \f0 \sa180 \li360 \fi-360 3.\tx360\tab Third\sa180\par}
{\pard \f0 \sa180 \li0 \fi0 and using spaces:\par}
{\pard \f0 \sa180 \li360 \fi-360 1.\tx360\tab One\par}
{\pard \f0 \sa180 \li360 \fi-360 2.\tx360\tab Two\par}
{\pard \f0 \sa180 \li360 \fi-360 3.\tx360\tab Three\sa180\par}
{\pard \f0 \sa180 \li0 \fi0 Multiple paragraphs:\par}
{\pard \f0 \sa180 \li360 \fi-360 1.\tx360\tab Item 1, graf one.\par}
{\pard \f0 \sa180 \li360 \fi0 Item 1. graf two. The quick brown fox jumped over the lazy dog's back.\par}
{\pard \f0 \sa180 \li360 \fi-360 2.\tx360\tab Item 2.\par}
{\pard \f0 \sa180 \li360 \fi-360 3.\tx360\tab Item 3.\sa180\par}
{\pard \f0 \sa180 \li0 \fi0 \b \fs32 Nested\par}
{\pard \f0 \sa0 \li360 \fi-360 \bullet \tx360\tab Tab\par}
{\pard \f0 \sa0 \li720 \fi-360 \endash \tx360\tab Tab\par}
{\pard \f0 \sa0 \li1080 \fi-360 \bullet \tx360\tab Tab\sa180\sa180\sa180\par}
{\pard \f0 \sa180 \li0 \fi0 Here's another:\par}
{\pard \f0 \sa0 \li360 \fi-360 1.\tx360\tab First\par}
{\pard \f0 \sa0 \li360 \fi-360 2.\tx360\tab Second:\par}
{\pard \f0 \sa0 \li720 \fi-360 \endash \tx360\tab Fee\par}
{\pard \f0 \sa0 \li720 \fi-360 \endash \tx360\tab Fie\par}
{\pard \f0 \sa0 \li720 \fi-360 \endash \tx360\tab Foe\sa180\par}
{\pard \f0 \sa0 \li360 \fi-360 3.\tx360\tab Third\sa180\par}
{\pard \f0 \sa180 \li0 \fi0 Same thing but with paragraphs:\par}
{\pard \f0 \sa180 \li360 \fi-360 1.\tx360\tab First\par}
{\pard \f0 \sa180 \li360 \fi-360 2.\tx360\tab Second:\par}
{\pard \f0 \sa0 \li720 \fi-360 \endash \tx360\tab Fee\par}
{\pard \f0 \sa0 \li720 \fi-360 \endash \tx360\tab Fie\par}
{\pard \f0 \sa0 \li720 \fi-360 \endash \tx360\tab Foe\sa180\par}
{\pard \f0 \sa180 \li360 \fi-360 3.\tx360\tab Third\sa180\par}
{\pard \f0 \sa180 \li0 \fi0 \b \fs32 Tabs and spaces\par}
{\pard \f0 \sa180 \li360 \fi-360 \bullet \tx360\tab this is a list item indented with tabs\par}
{\pard \f0 \sa180 \li360 \fi-360 \bullet \tx360\tab this is a list item indented with spaces\par}
{\pard \f0 \sa180 \li720 \fi-360 \endash \tx360\tab this is an example list item indented with tabs\par}
{\pard \f0 \sa180 \li720 \fi-360 \endash \tx360\tab this is an example list item indented with spaces\sa180\sa180\par}
{\pard \f0 \sa180 \li0 \fi0 \qc \emdash\emdash\emdash\emdash\emdash\par}
{\pard \f0 \sa180 \li0 \fi0 \b \fs36 HTML Blocks\par}
{\pard \f0 \sa180 \li0 \fi0 Simple block on one line:\par}
{\pard \f0 \sa0 \li0 \fi0 foo\par}
{\pard \f0 \sa180 \li0 \fi0 And nested without indentation:\par}
{\pard \f0 \sa0 \li0 \fi0 foo\par}
{\pard \f0 \sa0 \li0 \fi0 bar\par}
{\pard \f0 \sa180 \li0 \fi0 Interpreted markdown in a table:\par}
{\pard \f0 \sa0 \li0 \fi0 This is {\i emphasized} \par}
{\pard \f0 \sa0 \li0 \fi0 And this is {\b strong} \par}
{\pard \f0 \sa180 \li0 \fi0 Here's a simple block:\par}
{\pard \f0 \sa0 \li0 \fi0 foo\par}
{\pard \f0 \sa180 \li0 \fi0 This should be a code block, though:\par}
{\pard \f0 \sa180 \li0 \fi0 \f1 <div>\line
    foo\line
</div>\par}
{\pard \f0 \sa180 \li0 \fi0 As should this:\par}
{\pard \f0 \sa180 \li0 \fi0 \f1 <div>foo</div>\par}
{\pard \f0 \sa180 \li0 \fi0 Now, nested:\par}
{\pard \f0 \sa0 \li0 \fi0 foo\par}
{\pard \f0 \sa180 \li0 \fi0 This should just be an HTML comment:\par}
{\pard \f0 \sa180 \li0 \fi0 Multiline:\par}
{\pard \f0 \sa180 \li0 \fi0 Code block:\par}
{\pard \f0 \sa180 \li0 \fi0 \f1 <!-- Comment -->\par}
{\pard \f0 \sa180 \li0 \fi0 Just plain comment, with trailing spaces on the line:\par}
{\pard \f0 \sa180 \li0 \fi0 Code:\par}
{\pard \f0 \sa180 \li0 \fi0 \f1 <hr />\par}
{\pard \f0 \sa180 \li0 \fi0 Hr's:\par}
{\pard \f0 \sa180 \li0 \fi0 \qc \emdash\emdash\emdash\emdash\emdash\par}
{\pard \f0 \sa180 \li0 \fi0 \b \fs36 Inline Markup\par}
{\pard \f0 \sa180 \li0 \fi0 This is {\i emphasized} , and so {\i is this} .\par}
{\pard \f0 \sa180 \li0 \fi0 This is {\b strong} , and so {\b is this} .\par}
{\pard \f0 \sa180 \li0 \fi0 An {\i {\field{\*\fldinst{HYPERLINK "/url"}}{\fldrslt{\ul
emphasized link
}}}
} .\par}
{\pard \f0 \sa180 \li0 \fi0 {\b {\i This is strong and em.} } \par}
{\pard \f0 \sa180 \li0 \fi0 So is {\b {\i this} }  word.\par}
{\pard \f0 \sa180 \li0 \fi0 {\b {\i This is strong and em.} } \par}
{\pard \f0 \sa180 \li0 \fi0 So is {\b {\i this} }  word.\par}
{\pard \f0 \sa180 \li0 \fi0 This is code: {\f1 >} , {\f1 $} , {\f1 \\} , {\f1 \\$} , {\f1 <html>} .\par}
{\pard \f0 \sa180 \li0 \fi0 \qc \emdash\emdash\emdash\emdash\emdash\par}
{\pard \f0 \sa180 \li0 \fi0 \b \fs36 Smart quotes, ellipses, dashes\par}
{\pard \f0 \sa180 \li0 \fi0 "Hello," said the spider. "'Shelob' is my name."\par}
{\pard \f0 \sa180 \li0 \fi0 'A', 'B', and 'C' are letters.\par}
{\pard \f0 \sa180 \li0 \fi0 'Oak,' 'elm,' and 'beech' are names of trees. So is 'pine.'\par}
{\pard \f0 \sa180 \li0 \fi0 'He said, "I want to go."' Were you alive in the 70's?\par}
{\pard \f0 \sa180 \li0 \fi0 Here is some quoted '{\f1 code} ' and a "{\field{\*\fldinst{HYPERLINK "http://example.com/?foo=1&bar=2"}}{\fldrslt{\ul
quoted link
}}}
".\par}
{\pard \f0 \sa180 \li0 \fi0 Some dashes: one---two --- three--four -- five.\par}
{\pard \f0 \sa180 \li0 \fi0 Dashes between numbers: 5-7, 255-66, 1987-1999.\par}
{\pard \f0 \sa180 \li0 \fi0 Ellipses...and. . .and . . . .\par}
{\pard \f0 \sa180 \li0 \fi0 \qc \emdash\emdash\emdash\emdash\emdash\par}
{\pard \f0 \sa180 \li0 \fi0 \b \fs36 LaTeX\par}
{\pard \f0 \sa0 \li360 \fi-360 \bullet \tx360\tab {\cf1 \\cite[22-23]\{smith.1899\}\cf0 } \par}
{\pard \f0 \sa0 \li360 \fi-360 \bullet \tx360\tab {\cf1 \\doublespacing\cf0 } \par}
{\pard \f0 \sa0 \li360 \fi-360 \bullet \tx360\tab {\cf1 $2+2=4$\cf0 } \par}
{\pard \f0 \sa0 \li360 \fi-360 \bullet \tx360\tab {\cf1 $x \\in y$\cf0 } \par}
{\pard \f0 \sa0 \li360 \fi-360 \bullet \tx360\tab {\cf1 $\\alpha \\wedge \\omega$\cf0 } \par}
{\pard \f0 \sa0 \li360 \fi-360 \bullet \tx360\tab {\cf1 $223$\cf0 } \par}
{\pard \f0 \sa0 \li360 \fi-360 \bullet \tx360\tab {\cf1 $p$\cf0 } -Tree\par}
{\pard \f0 \sa0 \li360 \fi-360 \bullet \tx360\tab {\cf1 $\\frac\{d\}\{dx\}f(x)=\\lim_\{h\\to 0\}\\frac\{f(x+h)-f(x)\}\{h\}$\cf0 } \par}
{\pard \f0 \sa0 \li360 \fi-360 \bullet \tx360\tab Here's one that has a line break in it: {\cf1 $\\alpha + \\omega \\times x^2$\cf0 } .\sa180\par}
{\pard \f0 \sa180 \li0 \fi0 These shouldn't be math:\par}
{\pard \f0 \sa0 \li360 \fi-360 \bullet \tx360\tab To get the famous equation, write {\f1 $e = mc^2$} .\par}
{\pard \f0 \sa0 \li360 \fi-360 \bullet \tx360\tab $22,000 is a {\i lot}  of money. So is $34,000. (It worked if "lot" is emphasized.)\par}
{\pard \f0 \sa0 \li360 \fi-360 \bullet \tx360\tab Escaped {\f1 $} : $73 {\i this should be emphasized}  23$.\sa180\par}
{\pard \f0 \sa180 \li0 \fi0 Here's a LaTeX table:\par}
{\pard \f0 \sa180 \li0 \fi0 {\cf1 \\begin\{tabular\}\{|l|l|\}\\hline
Animal & Number \\\\ \\hline
Dog    & 2      \\\\
Cat    & 1      \\\\ \\hline
\\end\{tabular\}\cf0 } \par}
{\pard \f0 \sa180 \li0 \fi0 \qc \emdash\emdash\emdash\emdash\emdash\par}
{\pard \f0 \sa180 \li0 \fi0 \b \fs36 Special Characters\par}
{\pard \f0 \sa180 \li0 \fi0 Here is some unicode:\par}
{\pard \f0 \sa0 \li360 \fi-360 \bullet \tx360\tab I hat: \u206?\par}
{\pard \f0 \sa0 \li360 \fi-360 \bullet \tx360\tab o umlaut: \u246?\par}
{\pard \f0 \sa0 \li360 \fi-360 \bullet \tx360\tab section: \u167?\par}
{\pard \f0 \sa0 \li360 \fi-360 \bullet \tx360\tab set membership: \u8712?\par}
{\pard \f0 \sa0 \li360 \fi-360 \bullet \tx360\tab copyright: \u169?\sa180\par}
{\pard \f0 \sa180 \li0 \fi0 AT&T has an ampersand in their name.\par}
{\pard \f0 \sa180 \li0 \fi0 AT&T is another way to write it.\par}
{\pard \f0 \sa180 \li0 \fi0 This & that.\par}
{\pard \f0 \sa180 \li0 \fi0 4 < 5.\par}
{\pard \f0 \sa180 \li0 \fi0 6 > 5.\par}
{\pard \f0 \sa180 \li0 \fi0 Backslash: \\\par}
{\pard \f0 \sa180 \li0 \fi0 Backtick: `\par}
{\pard \f0 \sa180 \li0 \fi0 Asterisk: *\par}
{\pard \f0 \sa180 \li0 \fi0 Underscore: _\par}
{\pard \f0 \sa180 \li0 \fi0 Left brace: \{\par}
{\pard \f0 \sa180 \li0 \fi0 Right brace: \}\par}
{\pard \f0 \sa180 \li0 \fi0 Left bracket: [\par}
{\pard \f0 \sa180 \li0 \fi0 Right bracket: ]\par}
{\pard \f0 \sa180 \li0 \fi0 Left paren: (\par}
{\pard \f0 \sa180 \li0 \fi0 Right paren: )\par}
{\pard \f0 \sa180 \li0 \fi0 Greater-than: >\par}
{\pard \f0 \sa180 \li0 \fi0 Hash: #\par}
{\pard \f0 \sa180 \li0 \fi0 Period: .\par}
{\pard \f0 \sa180 \li0 \fi0 Bang: !\par}
{\pard \f0 \sa180 \li0 \fi0 Plus: +\par}
{\pard \f0 \sa180 \li0 \fi0 Minus: -\par}
{\pard \f0 \sa180 \li0 \fi0 \qc \emdash\emdash\emdash\emdash\emdash\par}
{\pard \f0 \sa180 \li0 \fi0 \b \fs36 Links\par}
{\pard \f0 \sa180 \li0 \fi0 \b \fs32 Explicit\par}
{\pard \f0 \sa180 \li0 \fi0 Just a {\field{\*\fldinst{HYPERLINK "/url/"}}{\fldrslt{\ul
URL
}}}
.\par}
{\pard \f0 \sa180 \li0 \fi0 {\field{\*\fldinst{HYPERLINK "/url/"}}{\fldrslt{\ul
URL and title
}}}
.\par}
{\pard \f0 \sa180 \li0 \fi0 {\field{\*\fldinst{HYPERLINK "/url/"}}{\fldrslt{\ul
URL and title
}}}
.\par}
{\pard \f0 \sa180 \li0 \fi0 {\field{\*\fldinst{HYPERLINK "/url/"}}{\fldrslt{\ul
URL and title
}}}
.\par}
{\pard \f0 \sa180 \li0 \fi0 {\field{\*\fldinst{HYPERLINK "/url/"}}{\fldrslt{\ul
URL and title
}}}
\par}
{\pard \f0 \sa180 \li0 \fi0 {\field{\*\fldinst{HYPERLINK "/url/"}}{\fldrslt{\ul
URL and title
}}}
\par}
{\pard \f0 \sa180 \li0 \fi0 {\field{\*\fldinst{HYPERLINK "mailto:nobody@nowhere.net"}}{\fldrslt{\ul
Email link
}}}
\par}
{\pard \f0 \sa180 \li0 \fi0 {\field{\*\fldinst{HYPERLINK ""}}{\fldrslt{\ul
Empty
}}}
.\par}
{\pard \f0 \sa180 \li0 \fi0 \b \fs32 Reference\par}
{\pard \f0 \sa180 \li0 \fi0 Foo {\field{\*\fldinst{HYPERLINK "/url/"}}{\fldrslt{\ul
bar
}}}
.\par}
{\pard \f0 \sa180 \li0 \fi0 Foo {\field{\*\fldinst{HYPERLINK "/url/"}}{\fldrslt{\ul
bar
}}}
.\par}
{\pard \f0 \sa180 \li0 \fi0 Foo {\field{\*\fldinst{HYPERLINK "/url/"}}{\fldrslt{\ul
bar
}}}
.\par}
{\pard \f0 \sa180 \li0 \fi0 With {\field{\*\fldinst{HYPERLINK "/url/"}}{\fldrslt{\ul
embedded [brackets]
}}}
.\par}
{\pard \f0 \sa180 \li0 \fi0 {\field{\*\fldinst{HYPERLINK "/url/"}}{\fldrslt{\ul
b
}}}
 by itself should be a link.\par}
{\pard \f0 \sa180 \li0 \fi0 Indented {\field{\*\fldinst{HYPERLINK "/url"}}{\fldrslt{\ul
once
}}}
.\par}
{\pard \f0 \sa180 \li0 \fi0 Indented {\field{\*\fldinst{HYPERLINK "/url"}}{\fldrslt{\ul
twice
}}}
.\par}
{\pard \f0 \sa180 \li0 \fi0 Indented {\field{\*\fldinst{HYPERLINK "/url"}}{\fldrslt{\ul
thrice
}}}
.\par}
{\pard \f0 \sa180 \li0 \fi0 This should [not] be a link.\par}
{\pard \f0 \sa180 \li0 \fi0 \f1 [not]: /url\par}
{\pard \f0 \sa180 \li0 \fi0 Foo {\field{\*\fldinst{HYPERLINK "/url/"}}{\fldrslt{\ul
bar
}}}
.\par}
{\pard \f0 \sa180 \li0 \fi0 Foo {\field{\*\fldinst{HYPERLINK "/url/"}}{\fldrslt{\ul
biz
}}}
.\par}
{\pard \f0 \sa180 \li0 \fi0 \b \fs32 With ampersands\par}
{\pard \f0 \sa180 \li0 \fi0 Here's a {\field{\*\fldinst{HYPERLINK "http://example.com/?foo=1&bar=2"}}{\fldrslt{\ul
link with an ampersand in the URL
}}}
.\par}
{\pard \f0 \sa180 \li0 \fi0 Here's a link with an amersand in the link text: {\field{\*\fldinst{HYPERLINK "http://att.com/"}}{\fldrslt{\ul
AT&T
}}}
.\par}
{\pard \f0 \sa180 \li0 \fi0 Here's an {\field{\*\fldinst{HYPERLINK "/script?foo=1&bar=2"}}{\fldrslt{\ul
inline link
}}}
.\par}
{\pard \f0 \sa180 \li0 \fi0 Here's an {\field{\*\fldinst{HYPERLINK "/script?foo=1&bar=2"}}{\fldrslt{\ul
inline link in pointy braces
}}}
.\par}
{\pard \f0 \sa180 \li0 \fi0 \b \fs32 Autolinks\par}
{\pard \f0 \sa180 \li0 \fi0 With an ampersand: {\field{\*\fldinst{HYPERLINK "http://example.com/?foo=1&bar=2"}}{\fldrslt{\ul
http://example.com/?foo=1&bar=2
}}}
\par}
{\pard \f0 \sa0 \li360 \fi-360 \bullet \tx360\tab In a list?\par}
{\pard \f0 \sa0 \li360 \fi-360 \bullet \tx360\tab {\field{\*\fldinst{HYPERLINK "http://example.com/"}}{\fldrslt{\ul
http://example.com/
}}}
\par}
{\pard \f0 \sa0 \li360 \fi-360 \bullet \tx360\tab It should.\sa180\par}
{\pard \f0 \sa180 \li0 \fi0 An e-mail address: {\field{\*\fldinst{HYPERLINK "mailto:nobody@nowhere.net"}}{\fldrslt{\ul
nobody@nowhere.net
}}}
\par}
{\pard \f0 \sa180 \li720 \fi0 Blockquoted: {\field{\*\fldinst{HYPERLINK "http://example.com/"}}{\fldrslt{\ul
http://example.com/
}}}
\par}
{\pard \f0 \sa180 \li0 \fi0 Auto-links should not occur here: {\f1 <http://example.com/>} \par}
{\pard \f0 \sa180 \li0 \fi0 \f1 or here: <http://example.com/>\par}
{\pard \f0 \sa180 \li0 \fi0 \qc \emdash\emdash\emdash\emdash\emdash\par}
{\pard \f0 \sa180 \li0 \fi0 \b \fs36 Images\par}
{\pard \f0 \sa180 \li0 \fi0 From "Voyage dans la Lune" by Georges Melies (1902):\par}
{\pard \f0 \sa180 \li0 \fi0 {\cf1 [image: lalune.jpg]\cf0}\par}
{\pard \f0 \sa180 \li0 \fi0 Here is a movie {\cf1 [image: movie.jpg]\cf0} icon.\par}
{\pard \f0 \sa180 \li0 \fi0 \qc \emdash\emdash\emdash\emdash\emdash\par}
{\pard \f0 \sa180 \li0 \fi0 \b \fs36 Footnotes\par}
{\pard \f0 \sa180 \li0 \fi0 Here is a footnote reference,{\super\chftn}{\*\footnote\chftn\~\plain\pard {\pard \f0 \sa180 \li0 \fi0 Here is the footnote. It can go anywhere after the footnote reference. It need not be placed at the end of the document.\par}
} and another.{\super\chftn}{\*\footnote\chftn\~\plain\pard {\pard \f0 \sa180 \li0 \fi0 Here's the long note. This one contains multiple blocks.\par}
{\pard \f0 \sa180 \li0 \fi0 Subsequent blocks are indented to show that they belong to the footnote (as with list items).\par}
{\pard \f0 \sa180 \li0 \fi0 \f1   \{ <code> \}\par}
{\pard \f0 \sa180 \li0 \fi0 If you want, you can indent every line, but you can also be lazy and just indent the first line of each block.\par}
} This should {\i not}  be a footnote reference, because it contains a space.[^my note] Here is an inline note.{\super\chftn}{\*\footnote\chftn\~\plain\pard {\pard \f0 \sa180 \li0 \fi0 This is {\i easier}  to type. Inline notes may contain {\field{\*\fldinst{HYPERLINK "http://google.com"}}{\fldrslt{\ul
links
}}}
 and {\f1 ]}  verbatim characters.\par}
}\par}
{\pard \f0 \sa180 \li0 \fi0 This paragraph should not be part of the note, as it is not indented.\par}

}