Fix a regression in [r8062] (extra space with French smartquotes again).
[docutils.git] / sandbox / manpage-writer / input / optionslisttest.txt
blob9f1e2141d5b5fe036be5db1bc18be4619ac32540
1 .. -*- mode: rst -*-
3 ===============
4 OptionlistTest
5 ===============
7 -----------------------------------------------------
8 Test for correct intention/detention of option lists
9 -----------------------------------------------------
11 :Author: h.goebel@goebel-consult.de
12 :Date:   2008-04-29
13 :Copyright: public domain
14 :Manual section: 1
17 DESCRIPTION
18 ===========
20 After an option list:
22 - a paragraph within the same section must be intented
24 - a section header directly following the list must *not* be
25   intentend.
27 This file tests this.
29 OPTIONS
30 =======
31 This line must be in indented.
33 -o x   an option
34 -b     another
36        This option does the following points:
38        * one point
40        * second point
42           --ccc     option lists may be nested, even if this is rarely
43                      used.
46 -k     and even another
48        This option does the following points:
50        * one point
52        * second point
54 For all other options see ``--help``. This line must be intented.
57 MORE OPTIONS 
58 =============
60 -o x   an option
61 -b     another
63 -m MESSAGE, --message=MESSAGE  The message to display (beaware of ``,``) 
65 EXAMPLES
66 ===========
68 The "Examples" section header must not be intented. But this paragraph
69 is indented, as all text in man-pages. This is level 0.
71 * Now let's test nested lists. 
73   Line indented once. This is level 1.
75   * Nested item1.
76   * Nested item2.
77   * Nested item3.
79     Line for Nested item 3.
81   * Nested item4.
83   Paragraph at level 1. Same level as Line indented once.
85 This paragraph should be at level 0. 
87 emphasize
88 =========
90 plain text term
91     definition paragraph 1
93     definition paragraph 2
95 term with *emphasis* in it
96     paragraph 1 should not be preceeded by a blank line
98     definition paragraph 2
101 DEFINITION LIST
102 =================
104 :term1:
106     Description of Term 1 Description of Term 1 Description of Term 1
107     Description of Term 1 Description of Term 1
109     Description of Term 1 Description of Term 1 Description of Term 1
110     Description of Term 1 Description of Term 1
112 :term1111111111:
114     Description of Term 1 Description of Term 1 Description of Term 1
115     Description of Term 1 Description of Term 1
117     Description of Term 1 Description of Term 1 Description of Term 1
118     Description of Term 1 Description of Term 1
121 :term2:    Description of Term 2
123     Description of Term 2 Description of Term 2 Description of Term 2
124     Description of Term 2 Description of Term 2
126     Description of Term 2 Description of Term 2 Description of Term 2
127     Description of Term 2 Description of Term 2
128    
129    :term22:       Defintions lists may be nested, thus this at level 1.
131          More Description of Term 22. More Description of Term 22.
132          More Description of Term 22. More Description of Term 22.
134    :term23:       Defintions lists may be nested, thus this at level 1.
136    This para is indented to term2, thus should be at level 1.
138    This para is indented to term2, thus should be at level 1.
140 :term3:       Defintions lists are not nested
142    More Description for term3.
144 This paragraph should be at level 0. But the rst-manpage writer has a
145 bug here. See the option list above.