summaryrefslogtreecommitdiff
path: root/sandbox/manpage-writer/expected-mandoc/optionslisttest.man
blob: fb50c718d163a8e43bfa720d703757ea41c5f465 (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
.\" Man page generated from reStructuredText.
.
.
.nr rst2man-indent-level 0
.
.de1 rstReportMargin
\\$1 \\n[an-margin]
level \\n[rst2man-indent-level]
level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
-
\\n[rst2man-indent0]
\\n[rst2man-indent1]
\\n[rst2man-indent2]
..
.de1 INDENT
.\" .rstReportMargin pre:
. RS \\$1
. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
. nr rst2man-indent-level +1
.\" .rstReportMargin post:
..
.de UNINDENT
. RE
.\" indent \\n[an-margin]
.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
.nr rst2man-indent-level -1
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
.TH "OPTIONLISTTEST" 1 "2008-04-29" "" ""
.SH NAME
OptionlistTest \- Test for correct intention/detention of option lists
.\" -*- mode: rst -*-
.
.SH DESCRIPTION
.sp
After an option list:
.INDENT 0.0
.IP \(bu 2
a paragraph within the same section must be intented
.IP \(bu 2
a section header directly following the list must \fInot\fP be
intentend.
.UNINDENT
.sp
This file tests this.
.SH OPTIONS
.sp
This line must be in indented.
.INDENT 0.0
.TP
.BI \-o \ x
an option
.TP
.B  \-b
another
.sp
This option does the following points:
.INDENT 7.0
.IP \(bu 2
one point
.IP \(bu 2
second point
.INDENT 2.0
.INDENT 3.5
.INDENT 0.0
.TP
.B  \-\-ccc
option lists may be nested, even if this is rarely
used.
.UNINDENT
.UNINDENT
.UNINDENT
.UNINDENT
.TP
.B  \-k
and even another
.sp
This option does the following points:
.INDENT 7.0
.IP \(bu 2
one point
.IP \(bu 2
second point
.UNINDENT
.UNINDENT
.sp
For all other options see \fB\-\-help\fP\&. This line must be intented.
.SH MORE OPTIONS
.INDENT 0.0
.TP
.BI \-o \ x
an option
.TP
.B  \-b
another
.TP
.BI \-m \ MESSAGE\fR,\fB \ \-\-message\fB= MESSAGE
The message to display (beaware of \fB,\fP)
.UNINDENT
.SH EXAMPLES
.sp
The \(dqExamples\(dq section header must not be intented. But this paragraph
is indented, as all text in man\-pages. This is level 0.
.INDENT 0.0
.IP \(bu 2
Now let\(aqs test nested lists.
.sp
Line indented once. This is level 1.
.INDENT 2.0
.IP \(bu 2
Nested item1.
.IP \(bu 2
Nested item2.
.IP \(bu 2
Nested item3.
.sp
Line for Nested item 3.
.IP \(bu 2
Nested item4.
.UNINDENT
.sp
Paragraph at level 1. Same level as Line indented once.
.UNINDENT
.sp
This paragraph should be at level 0.
.SH EMPHASIZE
.INDENT 0.0
.TP
.B plain text term
definition paragraph 1
.sp
definition paragraph 2
.TP
.B term with \fIemphasis\fP in it
paragraph 1 should not be preceeded by a blank line
.sp
definition paragraph 2
.UNINDENT
.SH DEFINITION LIST
.INDENT 0.0
.TP
.B term1
Description of Term 1 Description of Term 1 Description of Term 1
Description of Term 1 Description of Term 1
.sp
Description of Term 1 Description of Term 1 Description of Term 1
Description of Term 1 Description of Term 1
.TP
.B term1111111111
Description of Term 1 Description of Term 1 Description of Term 1
Description of Term 1 Description of Term 1
.sp
Description of Term 1 Description of Term 1 Description of Term 1
Description of Term 1 Description of Term 1
.TP
.B term2
Description of Term 2
.INDENT 7.0
.INDENT 3.5
Description of Term 2 Description of Term 2 Description of Term 2
Description of Term 2 Description of Term 2
.sp
Description of Term 2 Description of Term 2 Description of Term 2
Description of Term 2 Description of Term 2
.UNINDENT
.UNINDENT
.INDENT 7.0
.TP
.B term22
Defintions lists may be nested, thus this at level 1.
.sp
More Description of Term 22. More Description of Term 22.
More Description of Term 22. More Description of Term 22.
.TP
.B term23
Defintions lists may be nested, thus this at level 1.
.UNINDENT
.sp
This para is indented to term2, thus should be at level 1.
.sp
This para is indented to term2, thus should be at level 1.
.TP
.B term3
Defintions lists are not nested
.sp
More Description for term3.
.UNINDENT
.sp
This paragraph should be at level 0 again.
.SH AUTHOR
h.goebel@goebel-consult.de
.SH COPYRIGHT
public domain
.\" Generated by docutils manpage writer.
.