~ubuntu-branches/ubuntu/karmic/python-docutils/karmic

« back to all changes in this revision

Viewing changes to docs/user/rst/quickref.html

  • Committer: Bazaar Package Importer
  • Author(s): martin f. krafft
  • Date: 2006-07-10 11:45:05 UTC
  • mfrom: (2.1.4 edgy)
  • Revision ID: james.westby@ubuntu.com-20060710114505-otkhqcslevewxmz5
Tags: 0.4-3
Added build dependency on python-central (closes: #377580).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
 
2
   "http://www.w3.org/TR/html4/loose.dtd">
 
3
 
 
4
<html>
 
5
  <head>
 
6
    <title>Quick reStructuredText</title>
 
7
    <meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
 
8
 
 
9
    <style type="text/css"><!--
 
10
      a.backref { text-decoration: none ; color: black }
 
11
      div.line-block { display: block }
 
12
      div.line-block div.line-block { margin-left: 1.5em }
 
13
    --></style>
 
14
 
 
15
  </head>
 
16
 
 
17
  <body>
 
18
    <h1>Quick <i>re</i><font size="+4"><tt>Structured</tt></font><i>Text</i></h1>
 
19
 
 
20
    <!-- Caveat: if you're reading the HTML for the examples, -->
 
21
    <!-- beware that it was hand-generated, not by Docutils/ReST.  -->
 
22
 
 
23
    <p align="right"><em><a href="http://docutils.sourceforge.net/docs/user/rst/quickref.html"
 
24
    >http://docutils.sourceforge.net/docs/user/rst/quickref.html</a></em>
 
25
    <br><em>Being a cheat-sheet for reStructuredText</em>
 
26
    <br><em>Updated $Date: 2005-09-05 22:44:51 +0200 (Mon, 05 Sep 2005) $</em>
 
27
 
 
28
    <blockquote>
 
29
      <p>Copyright: This document has been placed in the public domain.
 
30
    </blockquote>
 
31
 
 
32
 
 
33
    <p>The full details of the markup may be found on the
 
34
      <a href="http://docutils.sourceforge.net/rst.html">reStructuredText</a>
 
35
      page. This document is just intended as a reminder.
 
36
 
 
37
    <p>Links that look like "(<a href="#details">details</a>)" point
 
38
      into the HTML version of the full <a
 
39
      href="../../ref/rst/restructuredtext.html">reStructuredText
 
40
      specification</a> document.  These are relative links; if they
 
41
      don't work, please use the <a
 
42
      href="http://docutils.sourceforge.net/docs/user/rst/quickref.html"
 
43
      >master "Quick reStructuredText"</a> document.
 
44
 
 
45
    <h2><a name="contents">Contents</a></h2>
 
46
 
 
47
    <ul>
 
48
    <li><a href="#inline-markup">Inline Markup</a></li>
 
49
    <li><a href="#escaping">Escaping with Backslashes</a></li>
 
50
    <li><a href="#section-structure">Section Structure</a></li>
 
51
    <li><a href="#paragraphs">Paragraphs</a></li>
 
52
    <li><a href="#bullet-lists">Bullet Lists</a></li>
 
53
    <li><a href="#enumerated-lists">Enumerated Lists</a></li>
 
54
    <li><a href="#definition-lists">Definition Lists</a></li>
 
55
    <li><a href="#field-lists">Field Lists</a></li>
 
56
    <li><a href="#option-lists">Option Lists</a></li>
 
57
    <li><a href="#literal-blocks">Literal Blocks</a></li>
 
58
    <li><a href="#line-blocks">Line Blocks</a></li>
 
59
    <li><a href="#block-quotes">Block Quotes</a></li>
 
60
    <li><a href="#doctest-blocks">Doctest Blocks</a></li>
 
61
    <li><a href="#tables">Tables</a></li>
 
62
    <li><a href="#transitions">Transitions</a></li>
 
63
    <li><a href="#explicit-markup">Explicit Markup</a>
 
64
    <ul>
 
65
    <li><a href="#footnotes">Footnotes</a></li>
 
66
    <li><a href="#citations">Citations</a></li>
 
67
    <li><a href="#hyperlink-targets">Hyperlink Targets</a>
 
68
    <ul>
 
69
    <li><a href="#external-hyperlink-targets">External Hyperlink Targets</a></li>
 
70
    <li><a href="#internal-hyperlink-targets">Internal Hyperlink Targets</a></li>
 
71
    <li><a href="#indirect-hyperlink-targets">Indirect Hyperlink Targets</a></li>
 
72
    <li><a href="#implicit-hyperlink-targets">Implicit Hyperlink Targets</a></li>
 
73
    </ul></li>
 
74
    <li><a href="#directives">Directives</a></li>
 
75
    <li><a href="#substitution-references-and-definitions">Substitution References and Definitions</a></li>
 
76
    <li><a href="#comments">Comments</a></li>
 
77
    </ul></li>
 
78
    <li><a href="#getting-help">Getting Help</a></li>
 
79
    </ul>
 
80
 
 
81
    <h2><a href="#contents" name="inline-markup" class="backref"
 
82
        >Inline Markup</a></h2>
 
83
 
 
84
    <p>(<a href="../../ref/rst/restructuredtext.html#inline-markup">details</a>)
 
85
 
 
86
    <p>Inline markup allows words and phrases within text to have
 
87
    character styles (like italics and boldface) and functionality
 
88
    (like hyperlinks).
 
89
 
 
90
    <p><table border="1" width="100%" bgcolor="#ffffcc" cellpadding="3">
 
91
      <thead>
 
92
    <tr align="left" bgcolor="#99CCFF">
 
93
      <th>Plain text
 
94
      <th>Typical result
 
95
      <th>Notes
 
96
      </thead>
 
97
      <tbody>
 
98
    <tr valign="top">
 
99
      <td nowrap><samp>*emphasis*</samp>
 
100
      <td><em>emphasis</em>
 
101
      <td>Normally rendered as italics.
 
102
 
 
103
    <tr valign="top">
 
104
      <td nowrap><samp>**strong&nbsp;emphasis**</samp>
 
105
      <td><strong>strong emphasis</strong>
 
106
      <td>Normally rendered as boldface.
 
107
 
 
108
    <tr valign="top">
 
109
      <td nowrap><samp>`interpreted&nbsp;text`</samp>
 
110
      <td>(see note at right)
 
111
      <td>The rendering and <em>meaning</em> of interpreted text is
 
112
      domain- or application-dependent.  It can be used for things
 
113
      like index entries or explicit descriptive markup (like program
 
114
      identifiers).
 
115
 
 
116
    <tr valign="top">
 
117
      <td nowrap><samp>``inline&nbsp;literal``</samp>
 
118
      <td><code>inline&nbsp;literal</code>
 
119
      <td>Normally rendered as monospaced text. Spaces should be
 
120
      preserved, but line breaks will not be.
 
121
 
 
122
    <tr valign="top">
 
123
      <td nowrap><samp>reference_</samp>
 
124
      <td><a href="#hyperlink-targets">reference</a>
 
125
      <td>A simple, one-word hyperlink reference.  See <a
 
126
      href="#hyperlink-targets">Hyperlink Targets</a>.
 
127
 
 
128
    <tr valign="top">
 
129
      <td nowrap><samp>`phrase reference`_</samp>
 
130
      <td><a href="#hyperlink-targets">phrase reference</a>
 
131
      <td>A hyperlink reference with spaces or punctuation needs to be
 
132
      quoted with backquotes.  See <a
 
133
      href="#hyperlink-targets">Hyperlink Targets</a>.
 
134
 
 
135
    <tr valign="top">
 
136
      <td nowrap><samp>anonymous__</samp>
 
137
      <td><a href="#hyperlink-targets">anonymous</a>
 
138
      <td>With two underscores instead of one, both simple and phrase
 
139
      references may be anonymous (the reference text is not repeated
 
140
      at the target).  See <a
 
141
      href="#hyperlink-targets">Hyperlink Targets</a>.
 
142
 
 
143
    <tr valign="top">
 
144
      <td nowrap><samp>_`inline internal target`</samp>
 
145
      <td><a name="inline-internal-target">inline internal target</a>
 
146
      <td>A crossreference target within text.
 
147
      See <a href="#hyperlink-targets">Hyperlink Targets</a>.
 
148
 
 
149
    <tr valign="top">
 
150
      <td nowrap><samp>|substitution reference|</samp>
 
151
      <td>(see note at right)
 
152
      <td>The result is substituted in from the <a
 
153
      href="#substitution-references-and-definitions">substitution
 
154
      definition</a>.  It could be text, an image, a hyperlink, or a
 
155
      combination of these and others.
 
156
 
 
157
    <tr valign="top">
 
158
      <td nowrap><samp>footnote reference [1]_</samp>
 
159
      <td>footnote reference <sup><a href="#footnotes">1</a></sup>
 
160
      <td>See <a href="#footnotes">Footnotes</a>.
 
161
 
 
162
    <tr valign="top">
 
163
      <td nowrap><samp>citation reference [CIT2002]_</samp>
 
164
      <td>citation reference <a href="#citations">[CIT2002]</a>
 
165
      <td>See <a href="#citations">Citations</a>.
 
166
 
 
167
    <tr valign="top">
 
168
      <td nowrap><samp>http://docutils.sf.net/</samp>
 
169
      <td><a href="http://docutils.sf.net/">http://docutils.sf.net/</a>
 
170
      <td>A standalone hyperlink.
 
171
 
 
172
    </table>
 
173
 
 
174
    <p>Asterisk, backquote, vertical bar, and underscore are inline
 
175
    delimiter characters. Asterisk, backquote, and vertical bar act
 
176
    like quote marks; matching characters surround the marked-up word
 
177
    or phrase, whitespace or other quoting is required outside them,
 
178
    and there can't be whitespace just inside them. If you want to use
 
179
    inline delimiter characters literally, <a href="#escaping">escape
 
180
    (with backslash)</a> or quote them (with double backquotes; i.e.
 
181
    use inline literals).
 
182
 
 
183
    <p>In detail, the reStructuredText specification says that in
 
184
      inline markup, the following rules apply to start-strings and
 
185
      end-strings (inline markup delimiters):
 
186
 
 
187
    <ol>
 
188
      <li>The start-string must start a text block or be
 
189
    immediately preceded by whitespace or any of&nbsp;
 
190
    <samp>' " ( [ {</samp> or&nbsp;<samp>&lt;</samp>.
 
191
      <li>The start-string must be immediately followed by non-whitespace.
 
192
      <li>The end-string must be immediately preceded by non-whitespace.
 
193
      <li>The end-string must end a text block (end of document or
 
194
    followed by a blank line) or be immediately followed by whitespace
 
195
    or any of&nbsp;<samp>' " . , : ; ! ? - ) ] } / \</samp> 
 
196
    or&nbsp;<samp>&gt;</samp>.
 
197
      <li>If a start-string is immediately preceded by one of&nbsp;
 
198
    <samp>' " ( [ {</samp> or&nbsp;<samp>&lt;</samp>, it must not be
 
199
    immediately followed by the corresponding character from&nbsp;
 
200
    <samp>' " ) ] }</samp> or&nbsp;<samp>&gt;</samp>.
 
201
      <li>An end-string must be separated by at least one
 
202
    character from the start-string.
 
203
      <li>An <a href="#escaping">unescaped</a> backslash preceding a
 
204
    start-string or end-string will disable markup recognition, except
 
205
    for the end-string of inline literals.
 
206
    </ol>
 
207
 
 
208
    <p>Also remember that inline markup may not be nested (well,
 
209
      except that inline literals can contain any of the other inline
 
210
      markup delimiter characters, but that doesn't count because
 
211
      nothing is processed).
 
212
 
 
213
    <h2><a href="#contents" name="escaping" class="backref"
 
214
        >Escaping with Backslashes</a></h2>
 
215
 
 
216
    <p>(<a
 
217
    href="../../ref/rst/restructuredtext.html#escaping-mechanism">details</a>)
 
218
 
 
219
    <p>reStructuredText uses backslashes ("\") to override the special
 
220
    meaning given to markup characters and get the literal characters
 
221
    themselves. To get a literal backslash, use an escaped backslash
 
222
    ("\\"). For example:
 
223
 
 
224
    <p><table border="1" width="100%" bgcolor="#ffffcc" cellpadding="3">
 
225
      <thead>
 
226
    <tr align="left" bgcolor="#99CCFF">
 
227
      <th width="50%">Raw reStructuredText
 
228
      <th width="50%">Typical result
 
229
      </thead>
 
230
      <tbody>
 
231
    <tr valign="top"><td>
 
232
        <samp>*escape*&nbsp;``with``&nbsp;"\"</samp>
 
233
      <td><em>escape</em> <samp>with</samp> ""
 
234
    <tr valign="top"><td>
 
235
        <samp>\*escape*&nbsp;\``with``&nbsp;"\\"</samp>
 
236
      <td>*escape* ``with`` "\"
 
237
    </table>
 
238
 
 
239
    <p>In Python strings it will, of course, be necessary
 
240
      to escape any backslash characters so that they actually
 
241
      <em>reach</em> reStructuredText.
 
242
      The simplest way to do this is to use raw strings:
 
243
 
 
244
    <p><table border="1" width="100%" bgcolor="#ffffcc" cellpadding="3">
 
245
      <thead>
 
246
    <tr align="left" bgcolor="#99CCFF">
 
247
      <th width="50%">Python string
 
248
      <th width="50%">Typical result
 
249
      </thead>
 
250
      <tbody>
 
251
    <tr valign="top"><td>
 
252
        <samp>r"""\*escape*&nbsp;\`with`&nbsp;"\\""""</samp>
 
253
      <td>*escape* `with` "\"
 
254
    <tr valign="top"><td>
 
255
        <samp>&nbsp;"""\\*escape*&nbsp;\\`with`&nbsp;"\\\\""""</samp>
 
256
      <td>*escape* `with` "\"
 
257
    <tr valign="top"><td>
 
258
        <samp>&nbsp;"""\*escape*&nbsp;\`with`&nbsp;"\\""""</samp>
 
259
      <td><em>escape</em> with ""
 
260
    </table>
 
261
 
 
262
    <h2><a href="#contents" name="section-structure" class="backref"
 
263
        >Section Structure</a></h2>
 
264
 
 
265
    <p>(<a href="../../ref/rst/restructuredtext.html#sections">details</a>)
 
266
 
 
267
    <p><table border="1" width="100%" bgcolor="#ffffcc" cellpadding="3">
 
268
      <thead>
 
269
    <tr align="left" bgcolor="#99CCFF">
 
270
      <th width="50%">Plain text
 
271
      <th width="50%">Typical result
 
272
      </thead>
 
273
      <tbody>
 
274
    <tr valign="top">
 
275
      <td>
 
276
<samp>=====</samp>
 
277
<br><samp>Title</samp>
 
278
<br><samp>=====</samp>
 
279
<br><samp>Subtitle</samp>
 
280
<br><samp>--------</samp>
 
281
<br><samp>Titles&nbsp;are&nbsp;underlined&nbsp;(or&nbsp;over-</samp>
 
282
<br><samp>and&nbsp;underlined)&nbsp;with&nbsp;a&nbsp;printing</samp>
 
283
<br><samp>nonalphanumeric&nbsp;7-bit&nbsp;ASCII</samp>
 
284
<br><samp>character.&nbsp;Recommended&nbsp;choices</samp>
 
285
<br><samp>are&nbsp;"``=&nbsp;-&nbsp;`&nbsp;:&nbsp;'&nbsp;"&nbsp;~&nbsp;^&nbsp;_&nbsp;*&nbsp;+&nbsp;#&nbsp;&lt;&nbsp;&gt;``".</samp>
 
286
<br><samp>The&nbsp;underline/overline&nbsp;must&nbsp;be&nbsp;at</samp>
 
287
<br><samp>least&nbsp;as&nbsp;long&nbsp;as&nbsp;the&nbsp;title&nbsp;text.</samp>
 
288
<br><samp></samp>
 
289
<br><samp>A&nbsp;lone&nbsp;top-level&nbsp;(sub)section</samp>
 
290
<br><samp>is&nbsp;lifted&nbsp;up&nbsp;to&nbsp;be&nbsp;the&nbsp;document's</samp>
 
291
<br><samp>(sub)title.</samp>
 
292
 
 
293
      <td>
 
294
        <font size="+2"><strong>Title</strong></font>
 
295
        <p><font size="+1"><strong>Subtitle</strong></font>
 
296
        <p>Titles are underlined (or over-
 
297
          and underlined) with a printing
 
298
          nonalphanumeric 7-bit ASCII
 
299
          character. Recommended choices
 
300
          are "<samp>= - ` : ' " ~ ^ _ * + # &lt; &gt;</samp>".
 
301
          The underline/overline must be at
 
302
          least as long as the title text.
 
303
        <p>A lone top-level (sub)section is
 
304
          lifted up to be the document's
 
305
          (sub)title.
 
306
    </table>
 
307
 
 
308
    <h2><a href="#contents" name="paragraphs" class="backref"
 
309
        >Paragraphs</a></h2>
 
310
 
 
311
    <p>(<a href="../../ref/rst/restructuredtext.html#paragraphs">details</a>)
 
312
 
 
313
    <p><table border="1" width="100%" bgcolor="#ffffcc" cellpadding="3">
 
314
      <thead>
 
315
    <tr align="left" bgcolor="#99CCFF">
 
316
      <th width="50%">Plain text
 
317
      <th width="50%">Typical result
 
318
      </thead>
 
319
      <tbody>
 
320
    <tr valign="top">
 
321
      <td>
 
322
<p><samp>This&nbsp;is&nbsp;a&nbsp;paragraph.</samp>
 
323
 
 
324
<p><samp>Paragraphs&nbsp;line&nbsp;up&nbsp;at&nbsp;their&nbsp;left</samp>
 
325
<br><samp>edges,&nbsp;and&nbsp;are&nbsp;normally&nbsp;separated</samp>
 
326
<br><samp>by&nbsp;blank&nbsp;lines.</samp>
 
327
 
 
328
      <td>
 
329
        <p>This is a paragraph.
 
330
 
 
331
        <p>Paragraphs line up at their left edges, and are normally
 
332
        separated by blank lines.
 
333
 
 
334
    </table>
 
335
 
 
336
    <h2><a href="#contents" name="bullet-lists" class="backref"
 
337
        >Bullet Lists</a></h2>
 
338
 
 
339
    <p>(<a href="../../ref/rst/restructuredtext.html#bullet-lists">details</a>)
 
340
 
 
341
    <p><table border="1" width="100%" bgcolor="#ffffcc" cellpadding="3">
 
342
      <thead>
 
343
    <tr align="left" bgcolor="#99CCFF">
 
344
      <th width="50%">Plain text
 
345
      <th width="50%">Typical result
 
346
      </thead>
 
347
      <tbody>
 
348
    <tr valign="top">
 
349
      <td>
 
350
<samp>Bullet&nbsp;lists:</samp>
 
351
 
 
352
<p><samp>-&nbsp;This&nbsp;is&nbsp;item&nbsp;1</samp>
 
353
<br><samp>-&nbsp;This&nbsp;is&nbsp;item&nbsp;2</samp>
 
354
 
 
355
<p><samp>-&nbsp;Bullets&nbsp;are&nbsp;"-",&nbsp;"*"&nbsp;or&nbsp;"+".</samp>
 
356
<br><samp>&nbsp;&nbsp;Continuing&nbsp;text&nbsp;must&nbsp;be&nbsp;aligned</samp>
 
357
<br><samp>&nbsp;&nbsp;after&nbsp;the&nbsp;bullet&nbsp;and&nbsp;whitespace.</samp>
 
358
 
 
359
<p><samp>Note&nbsp;that&nbsp;a&nbsp;blank&nbsp;line&nbsp;is&nbsp;required</samp>
 
360
<br><samp>before&nbsp;the&nbsp;first&nbsp;item&nbsp;and&nbsp;after&nbsp;the</samp>
 
361
<br><samp>last,&nbsp;but&nbsp;is&nbsp;optional&nbsp;between&nbsp;items.</samp>
 
362
      <td>Bullet lists:
 
363
        <ul>
 
364
          <li>This is item 1
 
365
          <li>This is item 2
 
366
          <li>Bullets are "-", "*" or "+".
 
367
        Continuing text must be aligned
 
368
        after the bullet and whitespace.
 
369
        </ul>
 
370
        <p>Note that a blank line is required before the first
 
371
          item and after the last, but is optional between items.
 
372
    </table>
 
373
 
 
374
    <h2><a href="#contents" name="enumerated-lists" class="backref"
 
375
        >Enumerated Lists</a></h2>
 
376
 
 
377
    <p>(<a href="../../ref/rst/restructuredtext.html#enumerated-lists">details</a>)
 
378
 
 
379
    <p><table border="1" width="100%" bgcolor="#ffffcc" cellpadding="3">
 
380
      <thead>
 
381
    <tr align="left" bgcolor="#99CCFF">
 
382
      <th width="50%">Plain text
 
383
      <th width="50%">Typical result
 
384
      </thead>
 
385
      <tbody>
 
386
    <tr valign="top">
 
387
      <td>
 
388
<samp>Enumerated&nbsp;lists:</samp>
 
389
 
 
390
<p><samp>3.&nbsp;This&nbsp;is&nbsp;the&nbsp;first&nbsp;item</samp>
 
391
<br><samp>4.&nbsp;This&nbsp;is&nbsp;the&nbsp;second&nbsp;item</samp>
 
392
<br><samp>5.&nbsp;Enumerators&nbsp;are&nbsp;arabic&nbsp;numbers,</samp>
 
393
<br><samp>&nbsp;&nbsp;&nbsp;single&nbsp;letters,&nbsp;or&nbsp;roman&nbsp;numerals</samp>
 
394
<br><samp>6.&nbsp;List&nbsp;items&nbsp;should&nbsp;be&nbsp;sequentially</samp>
 
395
<br><samp>&nbsp;&nbsp;&nbsp;numbered,&nbsp;but&nbsp;need&nbsp;not&nbsp;start&nbsp;at&nbsp;1</samp>
 
396
<br><samp>&nbsp;&nbsp;&nbsp;(although&nbsp;not&nbsp;all&nbsp;formatters&nbsp;will</samp>
 
397
<br><samp>&nbsp;&nbsp;&nbsp;honour&nbsp;the&nbsp;first&nbsp;index).</samp>
 
398
<br><samp>#.&nbsp;This&nbsp;item&nbsp;is&nbsp;auto-enumerated</samp>
 
399
      <td>Enumerated lists:
 
400
        <ol type="1">
 
401
          <li value="3">This is the first item
 
402
          <li>This is the second item
 
403
          <li>Enumerators are arabic numbers, single letters,
 
404
        or roman numerals
 
405
          <li>List items should be sequentially numbered,
 
406
        but need not start at 1 (although not all
 
407
        formatters will honour the first index).
 
408
          <li>This item is auto-enumerated
 
409
        </ol>
 
410
    </table>
 
411
 
 
412
    <h2><a href="#contents" name="definition-lists" class="backref"
 
413
        >Definition Lists</a></h2>
 
414
 
 
415
    <p>(<a href="../../ref/rst/restructuredtext.html#definition-lists">details</a>)
 
416
 
 
417
    <p><table border="1" width="100%" bgcolor="#ffffcc" cellpadding="3">
 
418
      <thead>
 
419
    <tr align="left" bgcolor="#99CCFF">
 
420
      <th width="50%">Plain text
 
421
      <th width="50%">Typical result
 
422
      </thead>
 
423
      <tbody>
 
424
    <tr valign="top">
 
425
      <td>
 
426
<samp>Definition&nbsp;lists:</samp>
 
427
<br>
 
428
<br><samp>what</samp>
 
429
<br><samp>&nbsp;&nbsp;Definition&nbsp;lists&nbsp;associate&nbsp;a&nbsp;term&nbsp;with</samp>
 
430
<br><samp>&nbsp;&nbsp;a&nbsp;definition.</samp>
 
431
<br>
 
432
<br><samp>how</samp>
 
433
<br><samp>&nbsp;&nbsp;The&nbsp;term&nbsp;is&nbsp;a&nbsp;one-line&nbsp;phrase,&nbsp;and&nbsp;the</samp>
 
434
<br><samp>&nbsp;&nbsp;definition&nbsp;is&nbsp;one&nbsp;or&nbsp;more&nbsp;paragraphs&nbsp;or</samp>
 
435
<br><samp>&nbsp;&nbsp;body&nbsp;elements,&nbsp;indented&nbsp;relative&nbsp;to&nbsp;the</samp>
 
436
<br><samp>&nbsp;&nbsp;term.&nbsp;Blank&nbsp;lines&nbsp;are&nbsp;not&nbsp;allowed</samp>
 
437
<br><samp>&nbsp;&nbsp;between&nbsp;term&nbsp;and&nbsp;definition.</samp>
 
438
      <td>Definition lists:
 
439
        <dl>
 
440
          <dt><strong>what</strong>
 
441
          <dd>Definition lists associate a term with
 
442
        a definition.
 
443
 
 
444
          <dt><strong>how</strong>
 
445
          <dd>The term is a one-line phrase, and the
 
446
        definition is one or more paragraphs or
 
447
        body elements, indented relative to the
 
448
        term.  Blank lines are not allowed
 
449
        between term and definition.
 
450
        </dl>
 
451
    </table>
 
452
 
 
453
    <h2><a href="#contents" name="field-lists" class="backref"
 
454
        >Field Lists</a></h2>
 
455
 
 
456
    <p>(<a href="../../ref/rst/restructuredtext.html#field-lists">details</a>)
 
457
 
 
458
    <p><table border="1" width="100%" bgcolor="#ffffcc" cellpadding="3">
 
459
      <thead>
 
460
    <tr align="left" bgcolor="#99CCFF">
 
461
      <th width="50%">Plain text
 
462
      <th width="50%">Typical result
 
463
      </thead>
 
464
      <tbody>
 
465
    <tr valign="top">
 
466
      <td>
 
467
<samp>:Authors:</samp>
 
468
<br><samp>&nbsp;&nbsp;&nbsp;&nbsp;Tony&nbsp;J.&nbsp;(Tibs)&nbsp;Ibbs,</samp>
 
469
<br><samp>&nbsp;&nbsp;&nbsp;&nbsp;David&nbsp;Goodger</samp>
 
470
 
 
471
<p><samp>&nbsp;&nbsp;&nbsp;&nbsp;(and&nbsp;sundry&nbsp;other&nbsp;good-natured&nbsp;folks)</samp>
 
472
 
 
473
<p><samp>:Version:&nbsp;1.0&nbsp;of&nbsp;2001/08/08</samp>
 
474
<br><samp>:Dedication:&nbsp;To&nbsp;my&nbsp;father.</samp>
 
475
      <td>
 
476
        <table>
 
477
          <tr valign="top">
 
478
        <td><strong>Authors:</strong>
 
479
        <td>Tony J. (Tibs) Ibbs,
 
480
          David Goodger
 
481
          <tr><td><td>(and sundry other good-natured folks)
 
482
          <tr><td><strong>Version:</strong><td>1.0 of 2001/08/08
 
483
          <tr><td><strong>Dedication:</strong><td>To my father.
 
484
        </table>
 
485
    </table>
 
486
 
 
487
    <p>Field lists are used as part of an extension syntax, such as
 
488
    options for <a href="#directives">directives</a>, or database-like
 
489
    records meant for further processing.  Field lists may also be
 
490
    used as generic two-column table constructs in documents.
 
491
 
 
492
    <h2><a href="#contents" name="option-lists" class="backref"
 
493
        >Option Lists</a></h2>
 
494
 
 
495
    <p>(<a href="../../ref/rst/restructuredtext.html#option-lists">details</a>)
 
496
 
 
497
    <p><table border="1" width="100%" bgcolor="#ffffcc" cellpadding="3">
 
498
      <thead>
 
499
      <tr align="left" bgcolor="#99CCFF">
 
500
      <th width="50%">Plain text
 
501
      <th width="50%">Typical result
 
502
      </thead>
 
503
      <tbody>
 
504
    <tr valign="top">
 
505
      <td>
 
506
        <p><samp>
 
507
-a&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;command-line&nbsp;option&nbsp;"a"
 
508
<br>-b&nbsp;file&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;options&nbsp;can&nbsp;have&nbsp;arguments
 
509
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;and&nbsp;long&nbsp;descriptions
 
510
<br>--long&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;options&nbsp;can&nbsp;be&nbsp;long&nbsp;also
 
511
<br>--input=file&nbsp;&nbsp;long&nbsp;options&nbsp;can&nbsp;also&nbsp;have
 
512
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;arguments
 
513
<br>/V&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;DOS/VMS-style&nbsp;options&nbsp;too
 
514
</samp>
 
515
 
 
516
      <td>
 
517
        <table border="0" width="100%">
 
518
          <tbody valign="top">
 
519
            <tr>
 
520
              <td width="30%"><samp>-a</samp>
 
521
              <td>command-line option "a"
 
522
            <tr>
 
523
              <td><samp>-b <i>file</i></samp>
 
524
              <td>options can have arguments and long descriptions
 
525
            <tr>
 
526
              <td><samp>--long</samp>
 
527
              <td>options can be long also
 
528
            <tr>
 
529
              <td><samp>--input=<i>file</i></samp>
 
530
              <td>long options can also have arguments
 
531
            <tr>
 
532
              <td><samp>/V</samp>
 
533
              <td>DOS/VMS-style options too
 
534
        </table>
 
535
    </table>
 
536
 
 
537
    <p>There must be at least two spaces between the option and the
 
538
    description.
 
539
 
 
540
    <h2><a href="#contents" name="literal-blocks" class="backref"
 
541
        >Literal Blocks</a></h2>
 
542
 
 
543
    <p>(<a href="../../ref/rst/restructuredtext.html#literal-blocks">details</a>)
 
544
 
 
545
    <p><table border="1" width="100%" bgcolor="#ffffcc" cellpadding="3">
 
546
      <thead>
 
547
    <tr align="left" bgcolor="#99CCFF">
 
548
      <th width="50%">Plain text
 
549
      <th width="50%">Typical result
 
550
      </thead>
 
551
      <tbody>
 
552
    <tr valign="top">
 
553
      <td>
 
554
<samp>A&nbsp;paragraph&nbsp;containing&nbsp;only&nbsp;two&nbsp;colons</samp>
 
555
<br><samp>indicates&nbsp;that&nbsp;the&nbsp;following&nbsp;indented</samp>
 
556
<br><samp>or&nbsp;quoted&nbsp;text&nbsp;is&nbsp;a&nbsp;literal&nbsp;block.</samp>
 
557
<br>
 
558
<br><samp>::</samp>
 
559
<br>
 
560
<br><samp>&nbsp;&nbsp;Whitespace,&nbsp;newlines,&nbsp;blank&nbsp;lines,&nbsp;and</samp>
 
561
<br><samp>&nbsp;&nbsp;all&nbsp;kinds&nbsp;of&nbsp;markup&nbsp;(like&nbsp;*this*&nbsp;or</samp>
 
562
<br><samp>&nbsp;&nbsp;\this)&nbsp;is&nbsp;preserved&nbsp;by&nbsp;literal&nbsp;blocks.</samp>
 
563
<br>
 
564
<br><samp>&nbsp;&nbsp;The&nbsp;paragraph&nbsp;containing&nbsp;only&nbsp;'::'</samp>
 
565
<br><samp>&nbsp;&nbsp;will&nbsp;be&nbsp;omitted&nbsp;from&nbsp;the&nbsp;result.</samp>
 
566
<br>
 
567
<br><samp>The&nbsp;``::``&nbsp;may&nbsp;be&nbsp;tacked&nbsp;onto&nbsp;the&nbsp;very</samp>
 
568
<br><samp>end&nbsp;of&nbsp;any&nbsp;paragraph.&nbsp;The&nbsp;``::``&nbsp;will&nbsp;be</samp>
 
569
<br><samp>omitted&nbsp;if&nbsp;it&nbsp;is&nbsp;preceded&nbsp;by&nbsp;whitespace.</samp>
 
570
<br><samp>The&nbsp;``::``&nbsp;will&nbsp;be&nbsp;converted&nbsp;to&nbsp;a&nbsp;single</samp>
 
571
<br><samp>colon&nbsp;if&nbsp;preceded&nbsp;by&nbsp;text,&nbsp;like&nbsp;this::</samp>
 
572
<br>
 
573
<br><samp>&nbsp;&nbsp;It's&nbsp;very&nbsp;convenient&nbsp;to&nbsp;use&nbsp;this&nbsp;form.</samp>
 
574
<br>
 
575
<br><samp>Literal&nbsp;blocks&nbsp;end&nbsp;when&nbsp;text&nbsp;returns&nbsp;to</samp>
 
576
<br><samp>the&nbsp;preceding&nbsp;paragraph's&nbsp;indentation.</samp>
 
577
<br><samp>This&nbsp;means&nbsp;that&nbsp;something&nbsp;like&nbsp;this</samp>
 
578
<br><samp>is&nbsp;possible::</samp>
 
579
<br>
 
580
<br><samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;We&nbsp;start&nbsp;here</samp>
 
581
<br><samp>&nbsp;&nbsp;&nbsp;&nbsp;and&nbsp;continue&nbsp;here</samp>
 
582
<br><samp>&nbsp;&nbsp;and&nbsp;end&nbsp;here.</samp>
 
583
<br>
 
584
<br><samp>Per-line&nbsp;quoting&nbsp;can&nbsp;also&nbsp;be&nbsp;used&nbsp;on</samp>
 
585
<br><samp>unindented&nbsp;literal&nbsp;blocks:</samp>
 
586
<br>
 
587
<br><samp>&gt;&nbsp;Useful&nbsp;for&nbsp;quotes&nbsp;from&nbsp;email&nbsp;and</samp>
 
588
<br><samp>&gt;&nbsp;for&nbsp;Haskell&nbsp;literate&nbsp;programming.</samp>
 
589
 
 
590
      <td>
 
591
        <p>A paragraph containing only two colons
 
592
indicates that the following indented or quoted
 
593
text is a literal block.
 
594
 
 
595
        <pre>
 
596
  Whitespace, newlines, blank lines, and
 
597
  all kinds of markup (like *this* or
 
598
  \this) is preserved by literal blocks.
 
599
 
 
600
  The paragraph containing only '::'
 
601
  will be omitted from the result.</pre>
 
602
 
 
603
        <p>The <samp>::</samp> may be tacked onto the very
 
604
end of any paragraph. The <samp>::</samp> will be
 
605
omitted if it is preceded by whitespace.
 
606
The <samp>::</samp> will be converted to a single
 
607
colon if preceded by text, like this:
 
608
 
 
609
        <pre>
 
610
  It's very convenient to use this form.</pre>
 
611
 
 
612
        <p>Literal blocks end when text returns to
 
613
the preceding paragraph's indentation.
 
614
This means that something like this is possible:
 
615
 
 
616
        <pre>
 
617
      We start here
 
618
    and continue here
 
619
  and end here.</pre>
 
620
 
 
621
        <p>Per-line quoting can also be used on
 
622
unindented literal blocks:
 
623
 
 
624
        <pre>
 
625
  &gt; Useful for quotes from email and
 
626
  &gt; for Haskell literate programming.</pre>
 
627
    </table>
 
628
 
 
629
    <h2><a href="#contents" name="line-blocks" class="backref"
 
630
        >Line Blocks</a></h2>
 
631
 
 
632
    <p>(<a href="../../ref/rst/restructuredtext.html#line-blocks">details</a>)
 
633
 
 
634
    <p><table border="1" width="100%" bgcolor="#ffffcc" cellpadding="3">
 
635
      <thead>
 
636
    <tr align="left" bgcolor="#99CCFF">
 
637
      <th width="50%">Plain text
 
638
      <th width="50%">Typical result
 
639
      </thead>
 
640
      <tbody>
 
641
    <tr valign="top">
 
642
      <td>
 
643
<samp>|&nbsp;Line&nbsp;blocks&nbsp;are&nbsp;useful&nbsp;for&nbsp;addresses,</samp>
 
644
<br><samp>|&nbsp;verse,&nbsp;and&nbsp;adornment-free&nbsp;lists.</samp>
 
645
<br><samp>|</samp>
 
646
<br><samp>|&nbsp;Each&nbsp;new&nbsp;line&nbsp;begins&nbsp;with&nbsp;a</samp>
 
647
<br><samp>|&nbsp;vertical&nbsp;bar&nbsp;("|").</samp>
 
648
<br><samp>|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Line&nbsp;breaks&nbsp;and&nbsp;initial&nbsp;indents</samp>
 
649
<br><samp>|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;are&nbsp;preserved.</samp>
 
650
<br><samp>|&nbsp;Continuation&nbsp;lines&nbsp;are&nbsp;wrapped</samp>
 
651
<br><samp>&nbsp;&nbsp;portions&nbsp;of&nbsp;long&nbsp;lines;&nbsp;they&nbsp;begin</samp>
 
652
<br><samp>&nbsp;&nbsp;with&nbsp;spaces&nbsp;in&nbsp;place&nbsp;of&nbsp;vertical&nbsp;bars.</samp>
 
653
 
 
654
      <td>
 
655
        <div class="line-block">
 
656
          <div class="line">Line blocks are useful for addresses,</div>
 
657
          <div class="line">verse, and adornment-free lists.</div>
 
658
          <div class="line"><br /></div>
 
659
          <div class="line">Each new line begins with a</div>
 
660
          <div class="line">vertical bar ("|").</div>
 
661
          <div class="line-block">
 
662
            <div class="line">Line breaks and initial indents</div>
 
663
            <div class="line">are preserved.</div>
 
664
          </div>
 
665
          <div class="line">Continuation lines are wrapped portions
 
666
            of long lines; they begin
 
667
            with spaces in place of vertical bars.</div>
 
668
        </div>
 
669
    </table>
 
670
 
 
671
    <h2><a href="#contents" name="block-quotes" class="backref"
 
672
        >Block Quotes</a></h2>
 
673
 
 
674
    <p>(<a href="../../ref/rst/restructuredtext.html#block-quotes">details</a>)
 
675
 
 
676
    <p><table border="1" width="100%" bgcolor="#ffffcc" cellpadding="3">
 
677
      <thead>
 
678
      <tr align="left" bgcolor="#99CCFF">
 
679
      <th width="50%">Plain text
 
680
      <th width="50%">Typical result
 
681
      </thead>
 
682
      <tbody>
 
683
    <tr valign="top">
 
684
      <td>
 
685
<samp>Block&nbsp;quotes&nbsp;are&nbsp;just:</samp>
 
686
 
 
687
<p><samp>&nbsp;&nbsp;&nbsp;&nbsp;Indented&nbsp;paragraphs,</samp>
 
688
 
 
689
<p><samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;and&nbsp;they&nbsp;may&nbsp;nest.</samp>
 
690
      <td>
 
691
        Block quotes are just:
 
692
        <blockquote>
 
693
          <p>Indented paragraphs,
 
694
          <blockquote>
 
695
        <p>and they may nest.
 
696
          </blockquote>
 
697
        </blockquote>
 
698
    </table>
 
699
 
 
700
    <h2><a href="#contents" name="doctest-blocks" class="backref"
 
701
        >Doctest Blocks</a></h2>
 
702
 
 
703
    <p>(<a href="../../ref/rst/restructuredtext.html#doctest-blocks">details</a>)
 
704
 
 
705
    <p><table border="1" width="100%" bgcolor="#ffffcc" cellpadding="3">
 
706
      <thead>
 
707
      <tr align="left" bgcolor="#99CCFF">
 
708
      <th width="50%">Plain text
 
709
      <th width="50%">Typical result
 
710
      </thead>
 
711
      <tbody>
 
712
    <tr valign="top">
 
713
      <td>
 
714
        <p><samp>Doctest&nbsp;blocks&nbsp;are&nbsp;interactive
 
715
<br>Python&nbsp;sessions.&nbsp;They&nbsp;begin&nbsp;with
 
716
<br>"``&gt;&gt;&gt;``"&nbsp;and&nbsp;end&nbsp;with&nbsp;a&nbsp;blank&nbsp;line.</samp>
 
717
 
 
718
        <p><samp>&gt;&gt;&gt;&nbsp;print&nbsp;"This&nbsp;is&nbsp;a&nbsp;doctest&nbsp;block."
 
719
<br>This&nbsp;is&nbsp;a&nbsp;doctest&nbsp;block.</samp>
 
720
 
 
721
      <td>
 
722
        <p>Doctest blocks are interactive
 
723
        Python sessions. They begin with
 
724
        "<samp>&gt;&gt;&gt;</samp>" and end with a blank line.
 
725
 
 
726
        <p><samp>&gt;&gt;&gt;&nbsp;print&nbsp;"This&nbsp;is&nbsp;a&nbsp;doctest&nbsp;block."
 
727
<br>This&nbsp;is&nbsp;a&nbsp;doctest&nbsp;block.</samp>
 
728
    </table>
 
729
 
 
730
    <p>"The <a
 
731
    href="http://www.python.org/doc/current/lib/module-doctest.html">doctest</a>
 
732
    module searches a module's docstrings for text that looks like an
 
733
    interactive Python session, then executes all such sessions to
 
734
    verify they still work exactly as shown." (From the doctest docs.)
 
735
 
 
736
    <h2><a href="#contents" name="tables" class="backref"
 
737
        >Tables</a></h2>
 
738
 
 
739
    <p>(<a href="../../ref/rst/restructuredtext.html#tables">details</a>)
 
740
 
 
741
    <p>There are two syntaxes for tables in reStructuredText.  Grid
 
742
    tables are complete but cumbersome to create.  Simple tables are
 
743
    easy to create but limited (no row spans, etc.).</p>
 
744
 
 
745
    <p><table border="1" width="100%" bgcolor="#ffffcc" cellpadding="3">
 
746
      <thead>
 
747
    <tr align="left" bgcolor="#99CCFF">
 
748
      <th width="50%">Plain text
 
749
      <th width="50%">Typical result
 
750
      </thead>
 
751
      <tbody>
 
752
    <tr valign="top">
 
753
      <td>
 
754
<p><samp>Grid table:</samp></p>
 
755
 
 
756
<p><samp>+------------+------------+-----------+</samp>
 
757
<br><samp>|&nbsp;Header&nbsp;1&nbsp;&nbsp;&nbsp;|&nbsp;Header&nbsp;2&nbsp;&nbsp;&nbsp;|&nbsp;Header&nbsp;3&nbsp;&nbsp;|</samp>
 
758
<br><samp>+============+============+===========+</samp>
 
759
<br><samp>|&nbsp;body&nbsp;row&nbsp;1&nbsp;|&nbsp;column&nbsp;2&nbsp;&nbsp;&nbsp;|&nbsp;column&nbsp;3&nbsp;&nbsp;|</samp>
 
760
<br><samp>+------------+------------+-----------+</samp>
 
761
<br><samp>|&nbsp;body&nbsp;row&nbsp;2&nbsp;|&nbsp;Cells&nbsp;may&nbsp;span&nbsp;columns.|</samp>
 
762
<br><samp>+------------+------------+-----------+</samp>
 
763
<br><samp>|&nbsp;body&nbsp;row&nbsp;3&nbsp;|&nbsp;Cells&nbsp;may&nbsp;&nbsp;|&nbsp;-&nbsp;Cells&nbsp;&nbsp;&nbsp;|</samp>
 
764
<br><samp>+------------+&nbsp;span&nbsp;rows.&nbsp;|&nbsp;-&nbsp;contain&nbsp;|</samp>
 
765
<br><samp>|&nbsp;body&nbsp;row&nbsp;4&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;-&nbsp;blocks.&nbsp;|</samp>
 
766
<br><samp>+------------+------------+-----------+</samp></p>
 
767
      <td>
 
768
        <p>Grid table:</p>
 
769
        <table border="1">
 
770
          <thead valign="bottom">
 
771
            <tr>
 
772
              <th>Header 1
 
773
              <th>Header 2
 
774
              <th>Header 3
 
775
            </tr>
 
776
          </thead>
 
777
          <tbody valign="top">
 
778
            <tr>
 
779
              <td>body row 1
 
780
              <td>column 2
 
781
              <td>column 3
 
782
            </tr>
 
783
            <tr>
 
784
              <td>body row 2
 
785
              <td colspan="2">Cells may span columns.
 
786
            </tr>
 
787
            <tr>
 
788
              <td>body row 3
 
789
              <td rowspan="2">Cells may<br>span rows.
 
790
              <td rowspan="2">
 
791
                <ul>
 
792
                  <li>Cells
 
793
                  <li>contain
 
794
                  <li>blocks.
 
795
                </ul>
 
796
            </tr>
 
797
            <tr>
 
798
              <td>body row 4
 
799
            </tr>
 
800
        </table>
 
801
    <tr valign="top">
 
802
      <td>
 
803
<p><samp>Simple table:</samp></p>
 
804
 
 
805
<p><samp>=====&nbsp;&nbsp;=====&nbsp;&nbsp;======</samp>
 
806
<br><samp>&nbsp;&nbsp;&nbsp;Inputs&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Output</samp>
 
807
<br><samp>------------&nbsp;&nbsp;------</samp>
 
808
<br><samp>&nbsp;&nbsp;A&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;B&nbsp;&nbsp;&nbsp;&nbsp;A&nbsp;or&nbsp;B</samp>
 
809
<br><samp>=====&nbsp;&nbsp;=====&nbsp;&nbsp;======</samp>
 
810
<br><samp>False&nbsp;&nbsp;False&nbsp;&nbsp;False</samp>
 
811
<br><samp>True&nbsp;&nbsp;&nbsp;False&nbsp;&nbsp;True</samp>
 
812
<br><samp>False&nbsp;&nbsp;True&nbsp;&nbsp;&nbsp;True</samp>
 
813
<br><samp>True&nbsp;&nbsp;&nbsp;True&nbsp;&nbsp;&nbsp;True</samp>
 
814
<br><samp>=====&nbsp;&nbsp;=====&nbsp;&nbsp;======</samp></p>
 
815
 
 
816
      <td>
 
817
        <p>Simple table:</p>
 
818
        <table border="1">
 
819
          <colgroup>
 
820
            <col width="31%">
 
821
            <col width="31%">
 
822
            <col width="38%">
 
823
          </colgroup>
 
824
          <thead valign="bottom">
 
825
            <tr>
 
826
              <th colspan="2">Inputs
 
827
              <th>Output
 
828
            <tr>
 
829
              <th>A
 
830
              <th>B
 
831
              <th>A or B
 
832
          <tbody valign="top">
 
833
            <tr>
 
834
              <td>False
 
835
              <td>False
 
836
              <td>False
 
837
            <tr>
 
838
              <td>True
 
839
              <td>False
 
840
              <td>True
 
841
            <tr>
 
842
              <td>False
 
843
              <td>True
 
844
              <td>True
 
845
            <tr>
 
846
              <td>True
 
847
              <td>True
 
848
              <td>True
 
849
        </table>
 
850
 
 
851
    </table>
 
852
 
 
853
    <h2><a href="#contents" name="transitions" class="backref"
 
854
        >Transitions</a></h2>
 
855
 
 
856
    <p>(<a href="../../ref/rst/restructuredtext.html#transitions">details</a>)
 
857
 
 
858
    <p><table border="1" width="100%" bgcolor="#ffffcc" cellpadding="3">
 
859
      <thead>
 
860
      <tr align="left" bgcolor="#99CCFF">
 
861
      <th width="50%">Plain text
 
862
      <th width="50%">Typical result
 
863
      </thead>
 
864
      <tbody>
 
865
    <tr valign="top">
 
866
      <td>
 
867
        <p><samp>
 
868
A&nbsp;transition&nbsp;marker&nbsp;is&nbsp;a&nbsp;horizontal&nbsp;line
 
869
<br>of&nbsp;4&nbsp;or&nbsp;more&nbsp;repeated&nbsp;punctuation
 
870
<br>characters.</samp>
 
871
 
 
872
        <p><samp>------------</samp>
 
873
 
 
874
        <p><samp>A&nbsp;transition&nbsp;should&nbsp;not&nbsp;begin&nbsp;or&nbsp;end&nbsp;a
 
875
<br>section&nbsp;or&nbsp;document,&nbsp;nor&nbsp;should&nbsp;two
 
876
<br>transitions&nbsp;be&nbsp;immediately&nbsp;adjacent.</samp>
 
877
 
 
878
      <td>
 
879
        <p>A transition marker is a horizontal line
 
880
        of 4 or more repeated punctuation
 
881
        characters.</p>
 
882
 
 
883
        <hr>
 
884
 
 
885
        <p>A transition should not begin or end a
 
886
        section or document, nor should two
 
887
        transitions be immediately adjacent.
 
888
    </table>
 
889
 
 
890
    <p>Transitions are commonly seen in novels and short fiction, as a
 
891
    gap spanning one or more lines, marking text divisions or
 
892
    signaling changes in subject, time, point of view, or emphasis.
 
893
 
 
894
    <h2><a href="#contents" name="explicit-markup" class="backref"
 
895
        >Explicit Markup</a></h2>
 
896
 
 
897
    <p>Explicit markup blocks are used for constructs which float
 
898
    (footnotes), have no direct paper-document representation
 
899
    (hyperlink targets, comments), or require specialized processing
 
900
    (directives).  They all begin with two periods and whitespace, the
 
901
    "explicit markup start".
 
902
 
 
903
    <h3><a href="#contents" name="footnotes" class="backref"
 
904
        >Footnotes</a></h3>
 
905
 
 
906
    <p>(<a href="../../ref/rst/restructuredtext.html#footnotes">details</a>)
 
907
 
 
908
    <p><table border="1" width="100%" bgcolor="#ffffcc" cellpadding="3">
 
909
      <thead>
 
910
    <tr align="left" bgcolor="#99CCFF">
 
911
      <th width="50%">Plain text
 
912
      <th width="50%">Typical result
 
913
      </thead>
 
914
      <tbody>
 
915
 
 
916
    <tr valign="top">
 
917
      <td>
 
918
        <samp>Footnote&nbsp;references,&nbsp;like&nbsp;[5]_.</samp>
 
919
        <br><samp>Note&nbsp;that&nbsp;footnotes&nbsp;may&nbsp;get</samp>
 
920
        <br><samp>rearranged,&nbsp;e.g.,&nbsp;to&nbsp;the&nbsp;bottom&nbsp;of</samp>
 
921
        <br><samp>the&nbsp;"page".</samp>
 
922
 
 
923
        <p><samp>..&nbsp;[5]&nbsp;A&nbsp;numerical&nbsp;footnote.&nbsp;Note</samp>
 
924
          <br><samp>&nbsp;&nbsp;&nbsp;there's&nbsp;no&nbsp;colon&nbsp;after&nbsp;the&nbsp;``]``.</samp>
 
925
 
 
926
      <td>
 
927
        Footnote references, like <sup><a href="#5">5</a></sup>.
 
928
        Note that footnotes may get rearranged, e.g., to the bottom of
 
929
        the "page".
 
930
 
 
931
        <p><table>
 
932
          <tr><td colspan="2"><hr>
 
933
          <!-- <tr><td colspan="2">Footnotes: -->
 
934
          <tr><td><a name="5"><strong>[5]</strong></a><td> A numerical footnote.
 
935
          Note there's no colon after the <samp>]</samp>.
 
936
          </table>
 
937
 
 
938
    <tr valign="top">
 
939
      <td>
 
940
        <samp>Autonumbered&nbsp;footnotes&nbsp;are</samp>
 
941
        <br><samp>possible,&nbsp;like&nbsp;using&nbsp;[#]_&nbsp;and&nbsp;[#]_.</samp>
 
942
        <p><samp>..&nbsp;[#]&nbsp;This&nbsp;is&nbsp;the&nbsp;first&nbsp;one.</samp>
 
943
          <br><samp>..&nbsp;[#]&nbsp;This&nbsp;is&nbsp;the&nbsp;second&nbsp;one.</samp>
 
944
 
 
945
        <p><samp>They&nbsp;may&nbsp;be&nbsp;assigned&nbsp;'autonumber</samp>
 
946
          <br><samp>labels'&nbsp;-&nbsp;for&nbsp;instance,
 
947
        <br>[#fourth]_&nbsp;and&nbsp;[#third]_.</samp>
 
948
 
 
949
        <p><samp>..&nbsp;[#third]&nbsp;a.k.a.&nbsp;third_</samp>
 
950
        <p><samp>..&nbsp;[#fourth]&nbsp;a.k.a.&nbsp;fourth_</samp>
 
951
      <td>
 
952
        Autonumbered footnotes are possible, like using <sup><a
 
953
        href="#auto1">1</a></sup> and <sup><a href="#auto2">2</a></sup>.
 
954
 
 
955
        <p>They may be assigned 'autonumber labels' - for instance,
 
956
          <sup><a href="#fourth">4</a></sup> and <sup><a
 
957
          href="#third">3</a></sup>.
 
958
 
 
959
        <p><table>
 
960
          <tr><td colspan="2"><hr>
 
961
          <!-- <tr><td colspan="2">Footnotes: -->
 
962
          <tr><td><a name="auto1"><strong>[1]</strong></a><td> This is the first one.
 
963
          <tr><td><a name="auto2"><strong>[2]</strong></a><td> This is the second one.
 
964
          <tr><td><a name="third"><strong>[3]</strong></a><td> a.k.a. <a href="#third">third</a>
 
965
          <tr><td><a name="fourth"><strong>[4]</strong></a><td> a.k.a. <a href="#fourth">fourth</a>
 
966
        </table>
 
967
 
 
968
    <tr valign="top">
 
969
      <td>
 
970
        <samp>Auto-symbol&nbsp;footnotes&nbsp;are&nbsp;also</samp>
 
971
        <br><samp>possible,&nbsp;like&nbsp;this:&nbsp;[*]_&nbsp;and&nbsp;[*]_.</samp>
 
972
        <p><samp>..&nbsp;[*]&nbsp;This&nbsp;is&nbsp;the&nbsp;first&nbsp;one.</samp>
 
973
          <br><samp>..&nbsp;[*]&nbsp;This&nbsp;is&nbsp;the&nbsp;second&nbsp;one.</samp>
 
974
 
 
975
      <td>
 
976
        Auto-symbol footnotes are also
 
977
        possible, like this: <sup><a href="#symbol1">*</a></sup>
 
978
        and <sup><a href="#symbol2">&dagger;</a></sup>.
 
979
 
 
980
        <p><table>
 
981
          <tr><td colspan="2"><hr>
 
982
          <!-- <tr><td colspan="2">Footnotes: -->
 
983
          <tr><td><a name="symbol1"><strong>[*]</strong></a><td> This is the first symbol footnote
 
984
          <tr><td><a name="symbol2"><strong>[&dagger;]</strong></a><td> This is the second one.
 
985
        </table>
 
986
 
 
987
    </table>
 
988
 
 
989
    <p>The numbering of auto-numbered footnotes is determined by the
 
990
    order of the footnotes, not of the references. For auto-numbered
 
991
    footnote references without autonumber labels
 
992
    ("<samp>[#]_</samp>"), the references and footnotes must be in the
 
993
    same relative order. Similarly for auto-symbol footnotes
 
994
    ("<samp>[*]_</samp>").
 
995
 
 
996
    <h3><a href="#contents" name="citations" class="backref"
 
997
        >Citations</a></h3>
 
998
 
 
999
    <p>(<a href="../../ref/rst/restructuredtext.html#citations">details</a>)
 
1000
 
 
1001
    <p><table border="1" width="100%" bgcolor="#ffffcc" cellpadding="3">
 
1002
      <thead>
 
1003
    <tr align="left" bgcolor="#99CCFF">
 
1004
      <th width="50%">Plain text
 
1005
      <th width="50%">Typical result
 
1006
      </thead>
 
1007
      <tbody>
 
1008
 
 
1009
    <tr valign="top">
 
1010
      <td>
 
1011
        <samp>Citation&nbsp;references,&nbsp;like&nbsp;[CIT2002]_.</samp>
 
1012
        <br><samp>Note&nbsp;that&nbsp;citations&nbsp;may&nbsp;get</samp>
 
1013
        <br><samp>rearranged,&nbsp;e.g.,&nbsp;to&nbsp;the&nbsp;bottom&nbsp;of</samp>
 
1014
        <br><samp>the&nbsp;"page".</samp>
 
1015
 
 
1016
        <p><samp>..&nbsp;[CIT2002]&nbsp;A&nbsp;citation</samp>
 
1017
          <br><samp>&nbsp;&nbsp;&nbsp;(as&nbsp;often&nbsp;used&nbsp;in&nbsp;journals).</samp>
 
1018
 
 
1019
        <p><samp>Citation&nbsp;labels&nbsp;contain&nbsp;alphanumerics,</samp>
 
1020
          <br><samp>underlines,&nbsp;hyphens&nbsp;and&nbsp;fullstops.</samp>
 
1021
          <br><samp>Case&nbsp;is&nbsp;not&nbsp;significant.</samp>
 
1022
 
 
1023
        <p><samp>Given&nbsp;a&nbsp;citation&nbsp;like&nbsp;[this]_,&nbsp;one</samp>
 
1024
          <br><samp>can&nbsp;also&nbsp;refer&nbsp;to&nbsp;it&nbsp;like&nbsp;this_.</samp>
 
1025
 
 
1026
        <p><samp>..&nbsp;[this]&nbsp;here.</samp>
 
1027
 
 
1028
      <td>
 
1029
        Citation references, like <a href="#cit2002">[CIT2002]</a>.
 
1030
        Note that citations may get rearranged, e.g., to the bottom of
 
1031
        the "page".
 
1032
 
 
1033
        <p>Citation labels contain alphanumerics, underlines, hyphens
 
1034
          and fullstops.  Case is not significant.
 
1035
 
 
1036
        <p>Given a citation like <a href="#this">[this]</a>, one
 
1037
          can also refer to it like <a href="#this">this</a>.
 
1038
 
 
1039
        <p><table>
 
1040
          <tr><td colspan="2"><hr>
 
1041
          <!-- <tr><td colspan="2">Citations: -->
 
1042
          <tr><td><a name="cit2002"><strong>[CIT2002]</strong></a><td> A citation
 
1043
          (as often used in journals).
 
1044
          <tr><td><a name="this"><strong>[this]</strong></a><td> here.
 
1045
          </table>
 
1046
 
 
1047
    </table>
 
1048
 
 
1049
    <h3><a href="#contents" name="hyperlink-targets" class="backref"
 
1050
        >Hyperlink Targets</a></h3>
 
1051
 
 
1052
    <p>(<a href="../../ref/rst/restructuredtext.html#hyperlink-targets">details</a>)
 
1053
 
 
1054
    <h4><a href="#contents" name="external-hyperlink-targets" class="backref"
 
1055
        >External Hyperlink Targets</a></h4>
 
1056
 
 
1057
    <p><table border="1" width="100%" bgcolor="#ffffcc" cellpadding="3">
 
1058
      <thead>
 
1059
    <tr align="left" bgcolor="#99CCFF">
 
1060
      <th width="50%">Plain text
 
1061
      <th width="50%">Typical result
 
1062
      </thead>
 
1063
      <tbody>
 
1064
 
 
1065
    <tr valign="top">
 
1066
      <td rowspan="2">
 
1067
        <samp>External&nbsp;hyperlinks,&nbsp;like&nbsp;Python_.</samp>
 
1068
 
 
1069
        <p><samp>..&nbsp;_Python:&nbsp;http://www.python.org/</samp>
 
1070
      <td>
 
1071
        <table width="100%">
 
1072
          <tr bgcolor="#99CCFF"><td><em>Fold-in form</em>
 
1073
          <tr><td>External hyperlinks, like
 
1074
          <a href="http://www.python.org/">Python</a>.
 
1075
        </table>
 
1076
    <tr valign="top">
 
1077
      <td>
 
1078
        <table width="100%">
 
1079
          <tr bgcolor="#99CCFF"><td><em>Call-out form</em>
 
1080
          <tr><td>External hyperlinks, like
 
1081
          <a href="#labPython"><i>Python</i></a>.
 
1082
 
 
1083
          <p><table>
 
1084
            <tr><td colspan="2"><hr>
 
1085
            <tr><td><a name="labPython"><i>Python:</i></a>
 
1086
              <td> <a href="http://www.python.org/">http://www.python.org/</a>
 
1087
          </table>
 
1088
        </table>
 
1089
    </table>
 
1090
 
 
1091
    <p>"<em>Fold-in</em>" is the representation typically used in HTML
 
1092
      documents (think of the indirect hyperlink being "folded in" like
 
1093
      ingredients into a cake), and "<em>call-out</em>" is more suitable for
 
1094
      printed documents, where the link needs to be presented explicitly, for
 
1095
      example as a footnote.  You can force usage of the call-out form by
 
1096
      using the
 
1097
      "<a href="../../ref/rst/directives.html#target-notes">target-notes</a>"
 
1098
      directive.
 
1099
 
 
1100
    <p>reStructuredText also provides for <b>embedded URIs</b> (<a
 
1101
      href="../../ref/rst/restructuredtext.html#embedded-uris">details</a>),
 
1102
      a convenience at the expense of readability.  A hyperlink
 
1103
      reference may directly embed a target URI inline, within angle
 
1104
      brackets.  The following is exactly equivalent to the example above:
 
1105
 
 
1106
    <p><table border="1" width="100%" bgcolor="#ffffcc" cellpadding="3">
 
1107
      <thead>
 
1108
    <tr align="left" bgcolor="#99CCFF">
 
1109
      <th width="50%">Plain text
 
1110
      <th width="50%">Typical result
 
1111
      </thead>
 
1112
      <tbody>
 
1113
 
 
1114
    <tr valign="top">
 
1115
      <td rowspan="2">
 
1116
        <samp>External&nbsp;hyperlinks,&nbsp;like&nbsp;`Python
 
1117
<br>&lt;http://www.python.org/&gt;`_.</samp>
 
1118
      <td>External hyperlinks, like
 
1119
          <a href="http://www.python.org/">Python</a>.
 
1120
    </table>
 
1121
 
 
1122
    <h4><a href="#contents" name="internal-hyperlink-targets" class="backref"
 
1123
        >Internal Hyperlink Targets</a></h4>
 
1124
 
 
1125
    <p><table border="1" width="100%" bgcolor="#ffffcc" cellpadding="3">
 
1126
      <thead>
 
1127
    <tr align="left" bgcolor="#99CCFF">
 
1128
      <th width="50%">Plain text
 
1129
      <th width="50%">Typical result
 
1130
      </thead>
 
1131
      <tbody>
 
1132
 
 
1133
    <tr valign="top">
 
1134
      <td rowspan="2"><samp>Internal&nbsp;crossreferences,&nbsp;like&nbsp;example_.</samp>
 
1135
 
 
1136
        <p><samp>..&nbsp;_example:</samp>
 
1137
 
 
1138
        <p><samp>This&nbsp;is&nbsp;an&nbsp;example&nbsp;crossreference&nbsp;target.</samp>
 
1139
      <td>
 
1140
        <table width="100%">
 
1141
          <tr bgcolor="#99CCFF"><td><em>Fold-in form</em>
 
1142
          <!-- Note that some browsers may not like an "a" tag that -->
 
1143
          <!-- does not have any content, so we could arbitrarily   -->
 
1144
          <!-- use the first word as content - *or* just trust to   -->
 
1145
          <!-- luck!                                                -->
 
1146
          <tr><td>Internal crossreferences, like <a href="#example-foldin">example</a>
 
1147
          <p><a name="example-foldin">This</a> is an example
 
1148
            crossreference target.
 
1149
        </table>
 
1150
    <tr valign="top">
 
1151
      <td>
 
1152
        <table width="100%">
 
1153
          <tr><td bgcolor="#99CCFF"><em>Call-out form</em>
 
1154
          <tr><td>Internal crossreferences, like <a href="#example-callout">example</a>
 
1155
 
 
1156
          <p><a name="example-callout"><i>example:</i></a>
 
1157
            <br>This is an example crossreference target.
 
1158
        </table>
 
1159
 
 
1160
    </table>
 
1161
 
 
1162
    <h4><a href="#contents" name="indirect-hyperlink-targets" class="backref"
 
1163
        >Indirect Hyperlink Targets</a></h4>
 
1164
 
 
1165
    <p>(<a href="../../ref/rst/restructuredtext.html#indirect-hyperlink-targets">details</a>)
 
1166
 
 
1167
    <p><table border="1" width="100%" bgcolor="#ffffcc" cellpadding="3">
 
1168
      <thead>
 
1169
    <tr align="left" bgcolor="#99CCFF">
 
1170
      <th width="50%">Plain text
 
1171
      <th width="50%">Typical result
 
1172
      </thead>
 
1173
      <tbody>
 
1174
 
 
1175
    <tr valign="top">
 
1176
      <td>
 
1177
        <samp>Python_&nbsp;is&nbsp;`my&nbsp;favourite
 
1178
<br>programming&nbsp;language`__.</samp>
 
1179
 
 
1180
        <p><samp>..&nbsp;_Python:&nbsp;http://www.python.org/</samp>
 
1181
 
 
1182
        <p><samp>__&nbsp;Python_</samp>
 
1183
 
 
1184
      <td>
 
1185
        <p><a href="http://www.python.org/">Python</a> is
 
1186
        <a href="http://www.python.org/">my favourite
 
1187
        programming language</a>.
 
1188
 
 
1189
    </table>
 
1190
 
 
1191
    <p>The second hyperlink target (the line beginning with
 
1192
    "<samp>__</samp>") is both an indirect hyperlink target
 
1193
    (<i>indirectly</i> pointing at the Python website via the
 
1194
    "<samp>Python_</samp>" reference) and an <b>anonymous hyperlink
 
1195
    target</b>. In the text, a double-underscore suffix is used to
 
1196
    indicate an <b>anonymous hyperlink reference</b>.  In an anonymous
 
1197
    hyperlink target, the reference text is not repeated.  This is
 
1198
    useful for references with long text or throw-away references, but
 
1199
    the target should be kept close to the reference to prevent them
 
1200
    going out of sync.
 
1201
 
 
1202
    <h4><a href="#contents" name="implicit-hyperlink-targets" class="backref"
 
1203
        >Implicit Hyperlink Targets</a></h4>
 
1204
 
 
1205
    <p>(<a href="../../ref/rst/restructuredtext.html#implicit-hyperlink-targets">details</a>)
 
1206
 
 
1207
    <p>Section titles, footnotes, and citations automatically generate
 
1208
    hyperlink targets (the title text or footnote/citation label is
 
1209
    used as the hyperlink name).
 
1210
 
 
1211
    <p><table border="1" width="100%" bgcolor="#ffffcc" cellpadding="3">
 
1212
       <thead><tr align="left" bgcolor="#99CCFF">
 
1213
      <th width="50%">Plain text
 
1214
      <th width="50%">Typical result
 
1215
      </thead>
 
1216
      <tbody>
 
1217
 
 
1218
    <tr valign="top">
 
1219
      <td>
 
1220
        <samp>Titles&nbsp;are&nbsp;targets,&nbsp;too</samp>
 
1221
        <br><samp>=======================</samp>
 
1222
        <br><samp>Implict&nbsp;references,&nbsp;like&nbsp;`Titles&nbsp;are</samp>
 
1223
        <br><samp>targets,&nbsp;too`_.</samp>
 
1224
      <td>
 
1225
        <font size="+2"><strong><a name="title">Titles are targets, too</a></strong></font>
 
1226
        <p>Implict references, like <a href="#title">Titles are
 
1227
        targets, too</a>.
 
1228
    </table>
 
1229
 
 
1230
    <h3><a href="#contents" name="directives" class="backref"
 
1231
        >Directives</a></h3>
 
1232
 
 
1233
    <p>(<a href="../../ref/rst/restructuredtext.html#directives">details</a>)
 
1234
 
 
1235
    <p>Directives are a general-purpose extension mechanism, a way of
 
1236
    adding support for new constructs without adding new syntax.  For
 
1237
    a description of all standard directives, see <a
 
1238
    href="../../ref/rst/directives.html" >reStructuredText
 
1239
    Directives</a>.
 
1240
 
 
1241
    <p><table border="1" width="100%" bgcolor="#ffffcc" cellpadding="3">
 
1242
      <thead>
 
1243
    <tr align="left" bgcolor="#99CCFF">
 
1244
      <th width="50%">Plain text
 
1245
      <th width="50%">Typical result
 
1246
      </thead>
 
1247
      <tbody>
 
1248
    <tr valign="top">
 
1249
      <td><samp>For&nbsp;instance:</samp>
 
1250
 
 
1251
        <p><samp>..&nbsp;image::&nbsp;images/ball1.gif</samp>
 
1252
 
 
1253
      <td>
 
1254
        For instance:
 
1255
        <p><img src="images/ball1.gif" alt="ball1">
 
1256
    </table>
 
1257
 
 
1258
    <h3><a href="#contents" name="substitution-references-and-definitions"
 
1259
        class="backref" >Substitution References and Definitions</a></h3>
 
1260
 
 
1261
    <p>(<a href="../../ref/rst/restructuredtext.html#substitution-definitions">details</a>)
 
1262
 
 
1263
    <p>Substitutions are like inline directives, allowing graphics and
 
1264
    arbitrary constructs within text.
 
1265
 
 
1266
    <p><table border="1" width="100%" bgcolor="#ffffcc" cellpadding="3">
 
1267
      <thead>
 
1268
    <tr align="left" bgcolor="#99CCFF">
 
1269
      <th width="50%">Plain text
 
1270
      <th width="50%">Typical result
 
1271
      </thead>
 
1272
      <tbody>
 
1273
    <tr valign="top">
 
1274
      <td><samp>
 
1275
The&nbsp;|biohazard|&nbsp;symbol&nbsp;must&nbsp;be
 
1276
used&nbsp;on&nbsp;containers&nbsp;used&nbsp;to
 
1277
dispose&nbsp;of&nbsp;medical&nbsp;waste.</samp>
 
1278
 
 
1279
        <p><samp>
 
1280
..&nbsp;|biohazard|&nbsp;image::&nbsp;biohazard.png</samp>
 
1281
 
 
1282
      <td>
 
1283
 
 
1284
        <p>The <img src="images/biohazard.png" align="bottom" alt="biohazard"> symbol
 
1285
        must be used on containers used to dispose of medical waste.
 
1286
 
 
1287
    </table>
 
1288
 
 
1289
    <h3><a href="#contents" name="comments" class="backref"
 
1290
        >Comments</a></h3>
 
1291
 
 
1292
    <p>(<a href="../../ref/rst/restructuredtext.html#comments">details</a>)
 
1293
 
 
1294
    <p>Any text which begins with an explicit markup start but doesn't
 
1295
    use the syntax of any of the constructs above, is a comment.
 
1296
 
 
1297
    <p><table border="1" width="100%" bgcolor="#ffffcc" cellpadding="3">
 
1298
      <thead>
 
1299
    <tr align="left" bgcolor="#99CCFF">
 
1300
      <th width="50%">Plain text
 
1301
      <th width="50%">Typical result
 
1302
      </thead>
 
1303
      <tbody>
 
1304
    <tr valign="top">
 
1305
      <td><samp>..&nbsp;This&nbsp;text&nbsp;will&nbsp;not&nbsp;be&nbsp;shown</samp>
 
1306
        <br><samp>&nbsp;&nbsp;&nbsp;(but,&nbsp;for&nbsp;instance,&nbsp;in&nbsp;HTML&nbsp;might&nbsp;be</samp>
 
1307
        <br><samp>&nbsp;&nbsp;&nbsp;rendered&nbsp;as&nbsp;an&nbsp;HTML&nbsp;comment)</samp>
 
1308
 
 
1309
      <td>&nbsp;
 
1310
          <!-- This text will not be shown         -->
 
1311
          <!-- (but, for instance in HTML might be -->
 
1312
          <!-- rendered as an HTML comment)        -->
 
1313
 
 
1314
    <tr valign="top">
 
1315
      <td>
 
1316
        <samp>An&nbsp;empty&nbsp;"comment"&nbsp;does&nbsp;not</samp>
 
1317
        <br><samp>"consume"&nbsp;following&nbsp;blocks.</samp>
 
1318
        <p><samp>..</samp>
 
1319
        <p><samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;So&nbsp;this&nbsp;block&nbsp;is&nbsp;not&nbsp;"lost",</samp>
 
1320
          <br><samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;despite&nbsp;its&nbsp;indentation.</samp>
 
1321
      <td>
 
1322
        An empty "comment" does not
 
1323
        "consume" following blocks.
 
1324
        <blockquote>
 
1325
          So this block is not "lost",
 
1326
          despite its indentation.
 
1327
        </blockquote>
 
1328
    </table>
 
1329
 
 
1330
    <h2><a href="#contents" name="getting-help" class="backref"
 
1331
        >Getting Help</a></h2>
 
1332
 
 
1333
    <p>Users who have questions or need assistance with Docutils or
 
1334
    reStructuredText should <a
 
1335
    href="mailto:docutils-users@lists.sourceforge.net" >post a
 
1336
    message</a> to the <a
 
1337
    href="http://lists.sourceforge.net/lists/listinfo/docutils-users"
 
1338
    >Docutils-Users mailing list</a>.  The <a
 
1339
    href="http://docutils.sourceforge.net/" >Docutils project web
 
1340
    site</a> has more information.
 
1341
 
 
1342
    <p><hr>
 
1343
    <address>
 
1344
      <p>Authors:
 
1345
    <a href="http://www.tibsnjoan.co.uk/">Tibs</a>
 
1346
    (<a href="mailto:tibs@tibsnjoan.co.uk"><tt>tibs@tibsnjoan.co.uk</tt></a>)
 
1347
    and David Goodger
 
1348
    (<a href="mailto:goodger@python.org">goodger@python.org</a>)
 
1349
    </address>
 
1350
    <!-- Created: Fri Aug 03 09:11:57 GMT Daylight Time 2001 -->
 
1351
  </body>
 
1352
</html>