docgenerator 2.0.0 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/examples/creole_example_tabular.rb +95 -0
- data/examples/docgenerator_example.rb +5 -5
- data/lib/creole/creole2doc.rb +28 -18
- data/lib/creole/creole_inclusions.rb +4 -4
- data/lib/creole/creole_placeholder.rb +4 -1
- data/lib/creole/creole_tabular.rb +173 -155
- data/lib/creole/plugins/rail.rb +118 -119
- data/lib/creole/plugins/struktex.rb +35 -35
- data/lib/creole/plugins/todonotes.rb +8 -1
- data/lib/docgenerator/attribute.rb +160 -160
- data/lib/docgenerator/characters.rb +343 -311
- data/lib/docgenerator/css.rb +167 -167
- data/lib/docgenerator/document.rb +525 -511
- data/lib/docgenerator/element.rb +316 -316
- data/lib/docgenerator/element_meta.rb +114 -114
- data/lib/docgenerator/elements.rb +19 -9
- data/lib/docgenerator/environments.rb +3 -1
- data/lib/docgenerator/lists.rb +177 -174
- data/lib/docgenerator/packages/hyperref.rb +74 -70
- data/lib/docgenerator/packages/multicol.rb +33 -0
- data/lib/docgenerator/packages/scrlettr2.rb +152 -151
- data/lib/docgenerator/packages/todonotes.rb +1 -1
- data/lib/docgenerator/tabular.rb +463 -400
- data/lib/docgenerator/templates/docgenerator_template.rb +94 -84
- data/lib/docgenerator/templates/docgenerator_template.yaml +75 -15
- data/lib/docgenerator.rb +1 -1
- data/lib/wiki2doc/wiki2docgenerator.rb +1 -1
- data/meta_test_and_doc/build__meta.rb +125 -0
- data/meta_test_and_doc/build_doc.rb +333 -0
- data/meta_test_and_doc/build_test.rb +251 -0
- data/meta_test_and_doc/manpages/attachfile.rb +389 -0
- data/meta_test_and_doc/manpages/caption.rb +133 -0
- data/meta_test_and_doc/manpages/characters.rb +3738 -0
- data/meta_test_and_doc/manpages/elements.rb +6851 -0
- data/meta_test_and_doc/manpages/environments.rb +985 -0
- data/meta_test_and_doc/manpages/footnote.rb +439 -0
- data/meta_test_and_doc/manpages/hyperref.rb +605 -0
- data/meta_test_and_doc/manpages/listings.rb +988 -0
- data/meta_test_and_doc/manpages/lists.rb +1463 -0
- data/meta_test_and_doc/manpages/others.rb +129 -0
- data/meta_test_and_doc/manpages/packages.rb +13 -0
- data/meta_test_and_doc/manpages/pdfpages.rb +108 -0
- data/meta_test_and_doc/manpages/readme.rdoc +9 -0
- data/meta_test_and_doc/manpages/scrlettr2.rb +362 -0
- data/meta_test_and_doc/manpages/scrpage2.rb +2028 -0
- data/meta_test_and_doc/manpages/sectioning.rb +2467 -0
- data/meta_test_and_doc/manpages/tables.rb +2088 -0
- data/meta_test_and_doc/manpages/todonotes.rb +235 -0
- data/meta_test_and_doc/manpages/wiki2docgenerator.rb +64 -0
- data/{readme.rd → readme.rdoc} +18 -1
- data/unittest/expected/test_tabular.creole +33 -0
- data/unittest/expected_creole/test_creole_creole1.0test.html +3 -3
- data/unittest/expected_creole/test_creole_creole1.0test.latex +3 -3
- data/unittest/expected_creole/test_creole_creole1.0test.text +3 -3
- data/unittest/expected_creole/test_creole_inline_apostroph.html +6 -0
- data/unittest/expected_creole/test_creole_inline_apostroph.latex +8 -0
- data/unittest/expected_creole/test_creole_inline_apostroph.text +4 -0
- data/unittest/expected_creole/test_creole_input.normsource +12 -12
- data/unittest/expected_creole/test_creole_input.normsource_1.8 +23 -0
- data/unittest/expected_creole/test_creole_links_external_implicit.html +2 -2
- data/unittest/expected_creole/test_creole_links_external_implicit.latex +2 -2
- data/unittest/expected_creole/test_creole_links_external_implicit.text +2 -2
- data/unittest/expected_creole/test_creole_links_implicit_end.html +1 -1
- data/unittest/expected_creole/test_creole_links_implicit_end.latex +1 -1
- data/unittest/expected_creole/test_creole_list_ul.normsource +42 -42
- data/unittest/expected_creole/test_creole_list_ul.normsource_1.8 +83 -0
- data/unittest/expected_creole/test_creole_paragraphs.normsource +15 -15
- data/unittest/expected_creole/test_creole_paragraphs.normsource_1.8 +27 -0
- data/unittest/expected_creole/test_creole_tabular.creole +22 -0
- data/unittest/expected_creole/test_creole_tabular_creole.creole +19 -0
- data/unittest/expected_creole/test_creole_tabular_css.creole +24 -0
- data/unittest/expected_creole/test_creole_tabular_multicols.creole +16 -0
- data/unittest/expected_creole/test_creole_tabular_multicols.html +14 -0
- data/unittest/expected_creole/test_creole_tabular_multicols.latex +16 -0
- data/unittest/expected_creole/test_creole_tabular_with_cell_option.creole +21 -0
- data/unittest/expected_creole/test_creole_toc_level_text.html +2 -2
- data/unittest/expected_creole/test_creole_toc_level_text.latex +2 -2
- data/unittest/expected_packages/test_multicol_3.tex +2 -0
- data/unittest/expected_packages/test_multicol_3_titleline.tex +2 -0
- data/unittest/expected_templates/test_article.tex +23 -0
- data/unittest/expected_templates/test_article_utf8.tex +34 -0
- data/unittest/expected_templates/test_context.miv +18 -0
- data/unittest/expected_templates/test_creole.creole +8 -0
- data/unittest/expected_templates/test_html.html +12 -0
- data/unittest/expected_templates/test_html401_strict.html +14 -0
- data/unittest/expected_templates/test_html401_trans.html +14 -0
- data/unittest/expected_templates/test_html_utf8.html +14 -0
- data/unittest/expected_templates/test_include.tex +17 -0
- data/unittest/expected_templates/test_include_utf8.tex +17 -0
- data/unittest/expected_templates/test_text.txt +6 -0
- data/unittest/expected_templates/test_wiki.wiki +6 -0
- data/unittest/expected_templates/test_xhtml_strict.html +14 -0
- data/unittest/expected_templates/test_xhtml_trans.html +14 -0
- data/unittest/unittest_creole.rb +27 -6
- data/unittest/unittest_creole_placeholders.rb +1 -123
- data/unittest/unittest_creole_tabular.rb +174 -0
- data/unittest/unittest_docgenerator.rb +4 -3
- data/unittest/unittest_docgenerator_characters.rb +4769 -615
- data/unittest/unittest_packages_multicol.rb +84 -0
- data/unittest/unittest_rubycode4doc.rb +0 -1
- data/unittest/unittest_templates.rb +64 -0
- metadata +163 -77
- data/build_test_and_doc.rb +0 -505
- data/manpage_elements.rb +0 -10411
@@ -0,0 +1,1463 @@
|
|
1
|
+
#encoding utf-8
|
2
|
+
=begin rdoc
|
3
|
+
Generated manpages for elements.
|
4
|
+
|
5
|
+
This document does not contain the implementation or code documentation.
|
6
|
+
|
7
|
+
This document is the source for a manpage for usage of Docgenerator elements.
|
8
|
+
|
9
|
+
The following Element are documented in this document:
|
10
|
+
|
11
|
+
* Docgenerator::Lists::ListEnvironment
|
12
|
+
* Docgenerator::Lists::Itemize
|
13
|
+
* Docgenerator::Lists::Enumerate
|
14
|
+
* Docgenerator::Lists::Description
|
15
|
+
* Docgenerator::Lists::Item
|
16
|
+
* Docgenerator::Lists::DT
|
17
|
+
* Docgenerator::Lists::DD
|
18
|
+
=end
|
19
|
+
|
20
|
+
#
|
21
|
+
module Docgenerator
|
22
|
+
module Lists
|
23
|
+
=begin rdoc
|
24
|
+
=Docgenerator::Lists::ListEnvironment
|
25
|
+
|
26
|
+
==Attributes
|
27
|
+
Attribute required? HTML LaTeX ~keyval ConTeXt Text Wiki Creole Values
|
28
|
+
====================================================================================================
|
29
|
+
lang : - X - - - - - -
|
30
|
+
id : - X - - - - - -
|
31
|
+
class : - X - - - - - -
|
32
|
+
style : - X - - - - - -
|
33
|
+
title : - X - - - - - -
|
34
|
+
dir : - X - - - - - -
|
35
|
+
onclick : - X - - - - - -
|
36
|
+
ondblclick : - X - - - - - -
|
37
|
+
onmousedown : - X - - - - - -
|
38
|
+
onmouseup : - X - - - - - -
|
39
|
+
onmouseover : - X - - - - - -
|
40
|
+
onmousemove : - X - - - - - -
|
41
|
+
onmouseout : - X - - - - - -
|
42
|
+
onkeypress : - X - - - - - -
|
43
|
+
onkeyup : - X - - - - - -
|
44
|
+
onkeydown : - X - - - - - -
|
45
|
+
|
46
|
+
|
47
|
+
Docgenerator::Lists::ListEnvironment can contain content.
|
48
|
+
|
49
|
+
==Generate an object
|
50
|
+
test = Docgenerator::Lists::ListEnvironment.new( {
|
51
|
+
#:lang => <<value>>, % optional, values: ["en", "de"]
|
52
|
+
#:id => <<value>>, % optional
|
53
|
+
#:class => <<value>>, % optional
|
54
|
+
#:style => <<value>>, % optional, values: [Docgenerator::CSS, String]
|
55
|
+
#:title => <<value>>, % optional
|
56
|
+
#:dir => <<value>>, % optional, values: ["ltr", "rtl"]
|
57
|
+
#:onclick => <<value>>, % optional
|
58
|
+
#:ondblclick => <<value>>, % optional
|
59
|
+
#:onmousedown => <<value>>, % optional
|
60
|
+
#:onmouseup => <<value>>, % optional
|
61
|
+
#:onmouseover => <<value>>, % optional
|
62
|
+
#:onmousemove => <<value>>, % optional
|
63
|
+
#:onmouseout => <<value>>, % optional
|
64
|
+
#:onkeypress => <<value>>, % optional
|
65
|
+
#:onkeyup => <<value>>, % optional
|
66
|
+
#:onkeydown => <<value>>, % optional
|
67
|
+
}, 'content')
|
68
|
+
|
69
|
+
Alternative generation
|
70
|
+
test = element(:listenvironment, {...Attributes...}, 'content' )
|
71
|
+
|
72
|
+
|
73
|
+
==Outputs
|
74
|
+
===Docgenerator::Lists::ListEnvironment#to_latex
|
75
|
+
\listenvironment{content}
|
76
|
+
|
77
|
+
* No output routine defined for latex - use a dummy
|
78
|
+
===Docgenerator::Lists::ListEnvironment#to_html
|
79
|
+
<span >content</span>
|
80
|
+
|
81
|
+
* No output routine defined for html - use a dummy
|
82
|
+
===Docgenerator::Lists::ListEnvironment#to_context
|
83
|
+
\listenvironment{content}
|
84
|
+
|
85
|
+
* No output routine defined for context - use a dummy
|
86
|
+
===Docgenerator::Lists::ListEnvironment#to_text
|
87
|
+
content
|
88
|
+
|
89
|
+
|
90
|
+
====:cr, :cR, :Cr, :CR for Docgenerator::Lists::ListEnvironment#.to_text
|
91
|
+
<<START>> and <<END>> are not part of the output, but needed to illustrate the line breaks.
|
92
|
+
|
93
|
+
Default:
|
94
|
+
<<START>>content
|
95
|
+
<<END>>
|
96
|
+
|
97
|
+
* Docgenerator::Lists::ListEnvironment#cr has no effect, same result as default
|
98
|
+
* Docgenerator::Lists::ListEnvironment#cR has no effect, same result as default
|
99
|
+
* Docgenerator::Lists::ListEnvironment#Cr has no effect, same result as default
|
100
|
+
* Docgenerator::Lists::ListEnvironment#CR has no effect, same result as default
|
101
|
+
===Docgenerator::Lists::ListEnvironment#to_wiki
|
102
|
+
content
|
103
|
+
|
104
|
+
|
105
|
+
====:cr, :cR, :Cr, :CR for Docgenerator::Lists::ListEnvironment#.to_wiki
|
106
|
+
<<START>> and <<END>> are not part of the output, but needed to illustrate the line breaks.
|
107
|
+
|
108
|
+
Default:
|
109
|
+
<<START>>content
|
110
|
+
<<END>>
|
111
|
+
|
112
|
+
* Docgenerator::Lists::ListEnvironment#cr has no effect, same result as default
|
113
|
+
* Docgenerator::Lists::ListEnvironment#cR has no effect, same result as default
|
114
|
+
* Docgenerator::Lists::ListEnvironment#Cr has no effect, same result as default
|
115
|
+
* Docgenerator::Lists::ListEnvironment#CR has no effect, same result as default
|
116
|
+
===Docgenerator::Lists::ListEnvironment#to_creole
|
117
|
+
content
|
118
|
+
|
119
|
+
|
120
|
+
====:cr, :cR, :Cr, :CR for Docgenerator::Lists::ListEnvironment#.to_creole
|
121
|
+
<<START>> and <<END>> are not part of the output, but needed to illustrate the line breaks.
|
122
|
+
|
123
|
+
Default:
|
124
|
+
<<START>>content
|
125
|
+
<<END>>
|
126
|
+
|
127
|
+
* Docgenerator::Lists::ListEnvironment#cr has no effect, same result as default
|
128
|
+
* Docgenerator::Lists::ListEnvironment#cR has no effect, same result as default
|
129
|
+
* Docgenerator::Lists::ListEnvironment#Cr has no effect, same result as default
|
130
|
+
* Docgenerator::Lists::ListEnvironment#CR has no effect, same result as default
|
131
|
+
=end
|
132
|
+
class ListEnvironment << Docgenerator::Environments::Environment
|
133
|
+
#This coding is empty - this is the manpage definition, not the implementation
|
134
|
+
end #class ListEnvironment
|
135
|
+
end #module Lists
|
136
|
+
end #module Docgenerator
|
137
|
+
module Docgenerator
|
138
|
+
module Lists
|
139
|
+
=begin rdoc
|
140
|
+
=Docgenerator::Lists::Itemize
|
141
|
+
|
142
|
+
==Attributes
|
143
|
+
Attribute required? HTML LaTeX ~keyval ConTeXt Text Wiki Creole Values
|
144
|
+
====================================================================================================
|
145
|
+
lang : - X - - - - - -
|
146
|
+
id : - X - - - - - -
|
147
|
+
class : - X - - - - - -
|
148
|
+
style : - X - - - - - -
|
149
|
+
title : - X - - - - - -
|
150
|
+
dir : - X - - - - - -
|
151
|
+
onclick : - X - - - - - -
|
152
|
+
ondblclick : - X - - - - - -
|
153
|
+
onmousedown : - X - - - - - -
|
154
|
+
onmouseup : - X - - - - - -
|
155
|
+
onmouseover : - X - - - - - -
|
156
|
+
onmousemove : - X - - - - - -
|
157
|
+
onmouseout : - X - - - - - -
|
158
|
+
onkeypress : - X - - - - - -
|
159
|
+
onkeyup : - X - - - - - -
|
160
|
+
onkeydown : - X - - - - - -
|
161
|
+
|
162
|
+
|
163
|
+
Docgenerator::Lists::Itemize can contain content.
|
164
|
+
|
165
|
+
==Generate an object
|
166
|
+
test = Docgenerator::Lists::Itemize.new( {
|
167
|
+
#:lang => <<value>>, % optional, values: ["en", "de"]
|
168
|
+
#:id => <<value>>, % optional
|
169
|
+
#:class => <<value>>, % optional
|
170
|
+
#:style => <<value>>, % optional, values: [Docgenerator::CSS, String]
|
171
|
+
#:title => <<value>>, % optional
|
172
|
+
#:dir => <<value>>, % optional, values: ["ltr", "rtl"]
|
173
|
+
#:onclick => <<value>>, % optional
|
174
|
+
#:ondblclick => <<value>>, % optional
|
175
|
+
#:onmousedown => <<value>>, % optional
|
176
|
+
#:onmouseup => <<value>>, % optional
|
177
|
+
#:onmouseover => <<value>>, % optional
|
178
|
+
#:onmousemove => <<value>>, % optional
|
179
|
+
#:onmouseout => <<value>>, % optional
|
180
|
+
#:onkeypress => <<value>>, % optional
|
181
|
+
#:onkeyup => <<value>>, % optional
|
182
|
+
#:onkeydown => <<value>>, % optional
|
183
|
+
}, 'content')
|
184
|
+
|
185
|
+
Alternative generation
|
186
|
+
test = element(:itemize, {...Attributes...}, 'content' )
|
187
|
+
test = element(:ul, {...Attributes...}, 'content' )
|
188
|
+
|
189
|
+
|
190
|
+
==Outputs
|
191
|
+
===Docgenerator::Lists::Itemize#to_latex
|
192
|
+
|
193
|
+
\begin{itemize}content\end{itemize}
|
194
|
+
|
195
|
+
|
196
|
+
====:cr, :cR, :Cr, :CR for Docgenerator::Lists::Itemize#.to_latex
|
197
|
+
<<START>> and <<END>> are not part of the output, but needed to illustrate the line breaks.
|
198
|
+
|
199
|
+
Default:
|
200
|
+
<<START>>
|
201
|
+
\begin{itemize}content\end{itemize}
|
202
|
+
<<END>>
|
203
|
+
|
204
|
+
* Result after Docgenerator::Lists::Itemize#cr:
|
205
|
+
|
206
|
+
<<START>>
|
207
|
+
\begin{itemize}content\end{itemize}
|
208
|
+
|
209
|
+
<<END>>
|
210
|
+
|
211
|
+
* Result after Docgenerator::Lists::Itemize#cR:
|
212
|
+
|
213
|
+
<<START>>
|
214
|
+
\begin{itemize}
|
215
|
+
content
|
216
|
+
\end{itemize}
|
217
|
+
|
218
|
+
<<END>>
|
219
|
+
|
220
|
+
* Result after Docgenerator::Lists::Itemize#Cr:
|
221
|
+
|
222
|
+
<<START>>
|
223
|
+
|
224
|
+
\begin{itemize}
|
225
|
+
content
|
226
|
+
\end{itemize}
|
227
|
+
|
228
|
+
<<END>>
|
229
|
+
|
230
|
+
* Result after Docgenerator::Lists::Itemize#CR:
|
231
|
+
|
232
|
+
<<START>>
|
233
|
+
|
234
|
+
\begin{itemize}
|
235
|
+
content
|
236
|
+
\end{itemize}
|
237
|
+
|
238
|
+
<<END>>
|
239
|
+
|
240
|
+
===Docgenerator::Lists::Itemize#to_html
|
241
|
+
<ul >content</ul>
|
242
|
+
|
243
|
+
====:cr, :cR, :Cr, :CR for Docgenerator::Lists::Itemize#.to_html
|
244
|
+
<<START>> and <<END>> are not part of the output, but needed to illustrate the line breaks.
|
245
|
+
|
246
|
+
Default:
|
247
|
+
<<START>><ul >content</ul><<END>>
|
248
|
+
|
249
|
+
* Result after Docgenerator::Lists::Itemize#cr:
|
250
|
+
|
251
|
+
<<START>><ul >content</ul>
|
252
|
+
<<END>>
|
253
|
+
|
254
|
+
* Result after Docgenerator::Lists::Itemize#cR:
|
255
|
+
|
256
|
+
<<START>><ul >
|
257
|
+
content
|
258
|
+
</ul>
|
259
|
+
<<END>>
|
260
|
+
|
261
|
+
* Result after Docgenerator::Lists::Itemize#Cr:
|
262
|
+
|
263
|
+
<<START>>
|
264
|
+
<ul >
|
265
|
+
content
|
266
|
+
</ul>
|
267
|
+
<<END>>
|
268
|
+
|
269
|
+
* Result after Docgenerator::Lists::Itemize#CR:
|
270
|
+
|
271
|
+
<<START>>
|
272
|
+
<ul >
|
273
|
+
content
|
274
|
+
</ul>
|
275
|
+
<<END>>
|
276
|
+
|
277
|
+
===Docgenerator::Lists::Itemize#to_context
|
278
|
+
|
279
|
+
\startitemize[1]content
|
280
|
+
\stopitemize
|
281
|
+
|
282
|
+
|
283
|
+
====:cr, :cR, :Cr, :CR for Docgenerator::Lists::Itemize#.to_context
|
284
|
+
<<START>> and <<END>> are not part of the output, but needed to illustrate the line breaks.
|
285
|
+
|
286
|
+
Default:
|
287
|
+
<<START>>
|
288
|
+
\startitemize[1]content
|
289
|
+
\stopitemize
|
290
|
+
<<END>>
|
291
|
+
|
292
|
+
* Result after Docgenerator::Lists::Itemize#cr:
|
293
|
+
|
294
|
+
<<START>>
|
295
|
+
\startitemize[1]content
|
296
|
+
\stopitemize
|
297
|
+
|
298
|
+
<<END>>
|
299
|
+
|
300
|
+
* Result after Docgenerator::Lists::Itemize#cR:
|
301
|
+
|
302
|
+
<<START>>
|
303
|
+
\startitemize[1]
|
304
|
+
content
|
305
|
+
\stopitemize
|
306
|
+
|
307
|
+
<<END>>
|
308
|
+
|
309
|
+
* Result after Docgenerator::Lists::Itemize#Cr:
|
310
|
+
|
311
|
+
<<START>>
|
312
|
+
|
313
|
+
\startitemize[1]
|
314
|
+
content
|
315
|
+
\stopitemize
|
316
|
+
|
317
|
+
<<END>>
|
318
|
+
|
319
|
+
* Result after Docgenerator::Lists::Itemize#CR:
|
320
|
+
|
321
|
+
<<START>>
|
322
|
+
|
323
|
+
\startitemize[1]
|
324
|
+
content
|
325
|
+
\stopitemize
|
326
|
+
|
327
|
+
<<END>>
|
328
|
+
|
329
|
+
===Docgenerator::Lists::Itemize#to_text
|
330
|
+
content
|
331
|
+
|
332
|
+
|
333
|
+
====:cr, :cR, :Cr, :CR for Docgenerator::Lists::Itemize#.to_text
|
334
|
+
<<START>> and <<END>> are not part of the output, but needed to illustrate the line breaks.
|
335
|
+
|
336
|
+
Default:
|
337
|
+
<<START>>content
|
338
|
+
<<END>>
|
339
|
+
|
340
|
+
* Docgenerator::Lists::Itemize#cr has no effect, same result as default
|
341
|
+
* Docgenerator::Lists::Itemize#cR has no effect, same result as default
|
342
|
+
* Docgenerator::Lists::Itemize#Cr has no effect, same result as default
|
343
|
+
* Docgenerator::Lists::Itemize#CR has no effect, same result as default
|
344
|
+
===Docgenerator::Lists::Itemize#to_wiki
|
345
|
+
content
|
346
|
+
|
347
|
+
|
348
|
+
====:cr, :cR, :Cr, :CR for Docgenerator::Lists::Itemize#.to_wiki
|
349
|
+
<<START>> and <<END>> are not part of the output, but needed to illustrate the line breaks.
|
350
|
+
|
351
|
+
Default:
|
352
|
+
<<START>>content
|
353
|
+
<<END>>
|
354
|
+
|
355
|
+
* Docgenerator::Lists::Itemize#cr has no effect, same result as default
|
356
|
+
* Docgenerator::Lists::Itemize#cR has no effect, same result as default
|
357
|
+
* Docgenerator::Lists::Itemize#Cr has no effect, same result as default
|
358
|
+
* Docgenerator::Lists::Itemize#CR has no effect, same result as default
|
359
|
+
===Docgenerator::Lists::Itemize#to_creole
|
360
|
+
content
|
361
|
+
|
362
|
+
|
363
|
+
====:cr, :cR, :Cr, :CR for Docgenerator::Lists::Itemize#.to_creole
|
364
|
+
<<START>> and <<END>> are not part of the output, but needed to illustrate the line breaks.
|
365
|
+
|
366
|
+
Default:
|
367
|
+
<<START>>content
|
368
|
+
<<END>>
|
369
|
+
|
370
|
+
* Docgenerator::Lists::Itemize#cr has no effect, same result as default
|
371
|
+
* Docgenerator::Lists::Itemize#cR has no effect, same result as default
|
372
|
+
* Docgenerator::Lists::Itemize#Cr has no effect, same result as default
|
373
|
+
* Docgenerator::Lists::Itemize#CR has no effect, same result as default
|
374
|
+
=end
|
375
|
+
class Itemize << Docgenerator::Lists::ListEnvironment
|
376
|
+
#This coding is empty - this is the manpage definition, not the implementation
|
377
|
+
end #class Itemize
|
378
|
+
end #module Lists
|
379
|
+
end #module Docgenerator
|
380
|
+
module Docgenerator
|
381
|
+
module Lists
|
382
|
+
=begin rdoc
|
383
|
+
=Docgenerator::Lists::Enumerate
|
384
|
+
|
385
|
+
==Attributes
|
386
|
+
Attribute required? HTML LaTeX ~keyval ConTeXt Text Wiki Creole Values
|
387
|
+
====================================================================================================
|
388
|
+
lang : - X - - - - - -
|
389
|
+
id : - X - - - - - -
|
390
|
+
class : - X - - - - - -
|
391
|
+
style : - X - - - - - -
|
392
|
+
title : - X - - - - - -
|
393
|
+
dir : - X - - - - - -
|
394
|
+
onclick : - X - - - - - -
|
395
|
+
ondblclick : - X - - - - - -
|
396
|
+
onmousedown : - X - - - - - -
|
397
|
+
onmouseup : - X - - - - - -
|
398
|
+
onmouseover : - X - - - - - -
|
399
|
+
onmousemove : - X - - - - - -
|
400
|
+
onmouseout : - X - - - - - -
|
401
|
+
onkeypress : - X - - - - - -
|
402
|
+
onkeyup : - X - - - - - -
|
403
|
+
onkeydown : - X - - - - - -
|
404
|
+
|
405
|
+
|
406
|
+
Docgenerator::Lists::Enumerate can contain content.
|
407
|
+
|
408
|
+
==Generate an object
|
409
|
+
test = Docgenerator::Lists::Enumerate.new( {
|
410
|
+
#:lang => <<value>>, % optional, values: ["en", "de"]
|
411
|
+
#:id => <<value>>, % optional
|
412
|
+
#:class => <<value>>, % optional
|
413
|
+
#:style => <<value>>, % optional, values: [Docgenerator::CSS, String]
|
414
|
+
#:title => <<value>>, % optional
|
415
|
+
#:dir => <<value>>, % optional, values: ["ltr", "rtl"]
|
416
|
+
#:onclick => <<value>>, % optional
|
417
|
+
#:ondblclick => <<value>>, % optional
|
418
|
+
#:onmousedown => <<value>>, % optional
|
419
|
+
#:onmouseup => <<value>>, % optional
|
420
|
+
#:onmouseover => <<value>>, % optional
|
421
|
+
#:onmousemove => <<value>>, % optional
|
422
|
+
#:onmouseout => <<value>>, % optional
|
423
|
+
#:onkeypress => <<value>>, % optional
|
424
|
+
#:onkeyup => <<value>>, % optional
|
425
|
+
#:onkeydown => <<value>>, % optional
|
426
|
+
}, 'content')
|
427
|
+
|
428
|
+
Alternative generation
|
429
|
+
test = element(:enumerate, {...Attributes...}, 'content' )
|
430
|
+
test = element(:ol, {...Attributes...}, 'content' )
|
431
|
+
|
432
|
+
|
433
|
+
==Outputs
|
434
|
+
===Docgenerator::Lists::Enumerate#to_latex
|
435
|
+
|
436
|
+
\begin{enumerate}content\end{enumerate}
|
437
|
+
|
438
|
+
|
439
|
+
====:cr, :cR, :Cr, :CR for Docgenerator::Lists::Enumerate#.to_latex
|
440
|
+
<<START>> and <<END>> are not part of the output, but needed to illustrate the line breaks.
|
441
|
+
|
442
|
+
Default:
|
443
|
+
<<START>>
|
444
|
+
\begin{enumerate}content\end{enumerate}
|
445
|
+
<<END>>
|
446
|
+
|
447
|
+
* Result after Docgenerator::Lists::Enumerate#cr:
|
448
|
+
|
449
|
+
<<START>>
|
450
|
+
\begin{enumerate}content\end{enumerate}
|
451
|
+
|
452
|
+
<<END>>
|
453
|
+
|
454
|
+
* Result after Docgenerator::Lists::Enumerate#cR:
|
455
|
+
|
456
|
+
<<START>>
|
457
|
+
\begin{enumerate}
|
458
|
+
content
|
459
|
+
\end{enumerate}
|
460
|
+
|
461
|
+
<<END>>
|
462
|
+
|
463
|
+
* Result after Docgenerator::Lists::Enumerate#Cr:
|
464
|
+
|
465
|
+
<<START>>
|
466
|
+
|
467
|
+
\begin{enumerate}
|
468
|
+
content
|
469
|
+
\end{enumerate}
|
470
|
+
|
471
|
+
<<END>>
|
472
|
+
|
473
|
+
* Result after Docgenerator::Lists::Enumerate#CR:
|
474
|
+
|
475
|
+
<<START>>
|
476
|
+
|
477
|
+
\begin{enumerate}
|
478
|
+
content
|
479
|
+
\end{enumerate}
|
480
|
+
|
481
|
+
<<END>>
|
482
|
+
|
483
|
+
===Docgenerator::Lists::Enumerate#to_html
|
484
|
+
<ol >content</ol>
|
485
|
+
|
486
|
+
====:cr, :cR, :Cr, :CR for Docgenerator::Lists::Enumerate#.to_html
|
487
|
+
<<START>> and <<END>> are not part of the output, but needed to illustrate the line breaks.
|
488
|
+
|
489
|
+
Default:
|
490
|
+
<<START>><ol >content</ol><<END>>
|
491
|
+
|
492
|
+
* Result after Docgenerator::Lists::Enumerate#cr:
|
493
|
+
|
494
|
+
<<START>><ol >content</ol>
|
495
|
+
<<END>>
|
496
|
+
|
497
|
+
* Result after Docgenerator::Lists::Enumerate#cR:
|
498
|
+
|
499
|
+
<<START>><ol >
|
500
|
+
content
|
501
|
+
</ol>
|
502
|
+
<<END>>
|
503
|
+
|
504
|
+
* Result after Docgenerator::Lists::Enumerate#Cr:
|
505
|
+
|
506
|
+
<<START>>
|
507
|
+
<ol >
|
508
|
+
content
|
509
|
+
</ol>
|
510
|
+
<<END>>
|
511
|
+
|
512
|
+
* Result after Docgenerator::Lists::Enumerate#CR:
|
513
|
+
|
514
|
+
<<START>>
|
515
|
+
<ol >
|
516
|
+
content
|
517
|
+
</ol>
|
518
|
+
<<END>>
|
519
|
+
|
520
|
+
===Docgenerator::Lists::Enumerate#to_context
|
521
|
+
|
522
|
+
\startitemize[n]content
|
523
|
+
\stopitemize
|
524
|
+
|
525
|
+
|
526
|
+
====:cr, :cR, :Cr, :CR for Docgenerator::Lists::Enumerate#.to_context
|
527
|
+
<<START>> and <<END>> are not part of the output, but needed to illustrate the line breaks.
|
528
|
+
|
529
|
+
Default:
|
530
|
+
<<START>>
|
531
|
+
\startitemize[n]content
|
532
|
+
\stopitemize
|
533
|
+
<<END>>
|
534
|
+
|
535
|
+
* Result after Docgenerator::Lists::Enumerate#cr:
|
536
|
+
|
537
|
+
<<START>>
|
538
|
+
\startitemize[n]content
|
539
|
+
\stopitemize
|
540
|
+
|
541
|
+
<<END>>
|
542
|
+
|
543
|
+
* Result after Docgenerator::Lists::Enumerate#cR:
|
544
|
+
|
545
|
+
<<START>>
|
546
|
+
\startitemize[n]
|
547
|
+
content
|
548
|
+
\stopitemize
|
549
|
+
|
550
|
+
<<END>>
|
551
|
+
|
552
|
+
* Result after Docgenerator::Lists::Enumerate#Cr:
|
553
|
+
|
554
|
+
<<START>>
|
555
|
+
|
556
|
+
\startitemize[n]
|
557
|
+
content
|
558
|
+
\stopitemize
|
559
|
+
|
560
|
+
<<END>>
|
561
|
+
|
562
|
+
* Result after Docgenerator::Lists::Enumerate#CR:
|
563
|
+
|
564
|
+
<<START>>
|
565
|
+
|
566
|
+
\startitemize[n]
|
567
|
+
content
|
568
|
+
\stopitemize
|
569
|
+
|
570
|
+
<<END>>
|
571
|
+
|
572
|
+
===Docgenerator::Lists::Enumerate#to_text
|
573
|
+
content
|
574
|
+
|
575
|
+
|
576
|
+
====:cr, :cR, :Cr, :CR for Docgenerator::Lists::Enumerate#.to_text
|
577
|
+
<<START>> and <<END>> are not part of the output, but needed to illustrate the line breaks.
|
578
|
+
|
579
|
+
Default:
|
580
|
+
<<START>>content
|
581
|
+
<<END>>
|
582
|
+
|
583
|
+
* Docgenerator::Lists::Enumerate#cr has no effect, same result as default
|
584
|
+
* Docgenerator::Lists::Enumerate#cR has no effect, same result as default
|
585
|
+
* Docgenerator::Lists::Enumerate#Cr has no effect, same result as default
|
586
|
+
* Docgenerator::Lists::Enumerate#CR has no effect, same result as default
|
587
|
+
===Docgenerator::Lists::Enumerate#to_wiki
|
588
|
+
content
|
589
|
+
|
590
|
+
|
591
|
+
====:cr, :cR, :Cr, :CR for Docgenerator::Lists::Enumerate#.to_wiki
|
592
|
+
<<START>> and <<END>> are not part of the output, but needed to illustrate the line breaks.
|
593
|
+
|
594
|
+
Default:
|
595
|
+
<<START>>content
|
596
|
+
<<END>>
|
597
|
+
|
598
|
+
* Docgenerator::Lists::Enumerate#cr has no effect, same result as default
|
599
|
+
* Docgenerator::Lists::Enumerate#cR has no effect, same result as default
|
600
|
+
* Docgenerator::Lists::Enumerate#Cr has no effect, same result as default
|
601
|
+
* Docgenerator::Lists::Enumerate#CR has no effect, same result as default
|
602
|
+
===Docgenerator::Lists::Enumerate#to_creole
|
603
|
+
content
|
604
|
+
|
605
|
+
|
606
|
+
====:cr, :cR, :Cr, :CR for Docgenerator::Lists::Enumerate#.to_creole
|
607
|
+
<<START>> and <<END>> are not part of the output, but needed to illustrate the line breaks.
|
608
|
+
|
609
|
+
Default:
|
610
|
+
<<START>>content
|
611
|
+
<<END>>
|
612
|
+
|
613
|
+
* Docgenerator::Lists::Enumerate#cr has no effect, same result as default
|
614
|
+
* Docgenerator::Lists::Enumerate#cR has no effect, same result as default
|
615
|
+
* Docgenerator::Lists::Enumerate#Cr has no effect, same result as default
|
616
|
+
* Docgenerator::Lists::Enumerate#CR has no effect, same result as default
|
617
|
+
=end
|
618
|
+
class Enumerate << Docgenerator::Lists::ListEnvironment
|
619
|
+
#This coding is empty - this is the manpage definition, not the implementation
|
620
|
+
end #class Enumerate
|
621
|
+
end #module Lists
|
622
|
+
end #module Docgenerator
|
623
|
+
module Docgenerator
|
624
|
+
module Lists
|
625
|
+
=begin rdoc
|
626
|
+
=Docgenerator::Lists::Description
|
627
|
+
|
628
|
+
==Attributes
|
629
|
+
Attribute required? HTML LaTeX ~keyval ConTeXt Text Wiki Creole Values
|
630
|
+
====================================================================================================
|
631
|
+
lang : - X - - - - - -
|
632
|
+
id : - X - - - - - -
|
633
|
+
class : - X - - - - - -
|
634
|
+
style : - X - - - - - -
|
635
|
+
title : - X - - - - - -
|
636
|
+
dir : - X - - - - - -
|
637
|
+
onclick : - X - - - - - -
|
638
|
+
ondblclick : - X - - - - - -
|
639
|
+
onmousedown : - X - - - - - -
|
640
|
+
onmouseup : - X - - - - - -
|
641
|
+
onmouseover : - X - - - - - -
|
642
|
+
onmousemove : - X - - - - - -
|
643
|
+
onmouseout : - X - - - - - -
|
644
|
+
onkeypress : - X - - - - - -
|
645
|
+
onkeyup : - X - - - - - -
|
646
|
+
onkeydown : - X - - - - - -
|
647
|
+
|
648
|
+
|
649
|
+
Docgenerator::Lists::Description can contain content.
|
650
|
+
|
651
|
+
==Generate an object
|
652
|
+
test = Docgenerator::Lists::Description.new( {
|
653
|
+
#:lang => <<value>>, % optional, values: ["en", "de"]
|
654
|
+
#:id => <<value>>, % optional
|
655
|
+
#:class => <<value>>, % optional
|
656
|
+
#:style => <<value>>, % optional, values: [Docgenerator::CSS, String]
|
657
|
+
#:title => <<value>>, % optional
|
658
|
+
#:dir => <<value>>, % optional, values: ["ltr", "rtl"]
|
659
|
+
#:onclick => <<value>>, % optional
|
660
|
+
#:ondblclick => <<value>>, % optional
|
661
|
+
#:onmousedown => <<value>>, % optional
|
662
|
+
#:onmouseup => <<value>>, % optional
|
663
|
+
#:onmouseover => <<value>>, % optional
|
664
|
+
#:onmousemove => <<value>>, % optional
|
665
|
+
#:onmouseout => <<value>>, % optional
|
666
|
+
#:onkeypress => <<value>>, % optional
|
667
|
+
#:onkeyup => <<value>>, % optional
|
668
|
+
#:onkeydown => <<value>>, % optional
|
669
|
+
}, 'content')
|
670
|
+
|
671
|
+
Alternative generation
|
672
|
+
test = element(:description, {...Attributes...}, 'content' )
|
673
|
+
test = element(:dl, {...Attributes...}, 'content' )
|
674
|
+
|
675
|
+
|
676
|
+
==Outputs
|
677
|
+
===Docgenerator::Lists::Description#to_latex
|
678
|
+
|
679
|
+
\begin{description}content\end{description}
|
680
|
+
|
681
|
+
|
682
|
+
====:cr, :cR, :Cr, :CR for Docgenerator::Lists::Description#.to_latex
|
683
|
+
<<START>> and <<END>> are not part of the output, but needed to illustrate the line breaks.
|
684
|
+
|
685
|
+
Default:
|
686
|
+
<<START>>
|
687
|
+
\begin{description}content\end{description}
|
688
|
+
<<END>>
|
689
|
+
|
690
|
+
* Result after Docgenerator::Lists::Description#cr:
|
691
|
+
|
692
|
+
<<START>>
|
693
|
+
\begin{description}content\end{description}
|
694
|
+
|
695
|
+
<<END>>
|
696
|
+
|
697
|
+
* Result after Docgenerator::Lists::Description#cR:
|
698
|
+
|
699
|
+
<<START>>
|
700
|
+
\begin{description}
|
701
|
+
content
|
702
|
+
\end{description}
|
703
|
+
|
704
|
+
<<END>>
|
705
|
+
|
706
|
+
* Result after Docgenerator::Lists::Description#Cr:
|
707
|
+
|
708
|
+
<<START>>
|
709
|
+
|
710
|
+
\begin{description}
|
711
|
+
content
|
712
|
+
\end{description}
|
713
|
+
|
714
|
+
<<END>>
|
715
|
+
|
716
|
+
* Result after Docgenerator::Lists::Description#CR:
|
717
|
+
|
718
|
+
<<START>>
|
719
|
+
|
720
|
+
\begin{description}
|
721
|
+
content
|
722
|
+
\end{description}
|
723
|
+
|
724
|
+
<<END>>
|
725
|
+
|
726
|
+
===Docgenerator::Lists::Description#to_html
|
727
|
+
<dl >content</dl>
|
728
|
+
|
729
|
+
====:cr, :cR, :Cr, :CR for Docgenerator::Lists::Description#.to_html
|
730
|
+
<<START>> and <<END>> are not part of the output, but needed to illustrate the line breaks.
|
731
|
+
|
732
|
+
Default:
|
733
|
+
<<START>><dl >content</dl><<END>>
|
734
|
+
|
735
|
+
* Result after Docgenerator::Lists::Description#cr:
|
736
|
+
|
737
|
+
<<START>><dl >content</dl>
|
738
|
+
<<END>>
|
739
|
+
|
740
|
+
* Result after Docgenerator::Lists::Description#cR:
|
741
|
+
|
742
|
+
<<START>><dl >
|
743
|
+
content
|
744
|
+
</dl>
|
745
|
+
<<END>>
|
746
|
+
|
747
|
+
* Result after Docgenerator::Lists::Description#Cr:
|
748
|
+
|
749
|
+
<<START>>
|
750
|
+
<dl >
|
751
|
+
content
|
752
|
+
</dl>
|
753
|
+
<<END>>
|
754
|
+
|
755
|
+
* Result after Docgenerator::Lists::Description#CR:
|
756
|
+
|
757
|
+
<<START>>
|
758
|
+
<dl >
|
759
|
+
content
|
760
|
+
</dl>
|
761
|
+
<<END>>
|
762
|
+
|
763
|
+
===Docgenerator::Lists::Description#to_context
|
764
|
+
\dl{content}
|
765
|
+
|
766
|
+
* No output routine defined for context - use a dummy
|
767
|
+
===Docgenerator::Lists::Description#to_text
|
768
|
+
content
|
769
|
+
|
770
|
+
|
771
|
+
====:cr, :cR, :Cr, :CR for Docgenerator::Lists::Description#.to_text
|
772
|
+
<<START>> and <<END>> are not part of the output, but needed to illustrate the line breaks.
|
773
|
+
|
774
|
+
Default:
|
775
|
+
<<START>>content
|
776
|
+
<<END>>
|
777
|
+
|
778
|
+
* Docgenerator::Lists::Description#cr has no effect, same result as default
|
779
|
+
* Docgenerator::Lists::Description#cR has no effect, same result as default
|
780
|
+
* Docgenerator::Lists::Description#Cr has no effect, same result as default
|
781
|
+
* Docgenerator::Lists::Description#CR has no effect, same result as default
|
782
|
+
===Docgenerator::Lists::Description#to_wiki
|
783
|
+
content
|
784
|
+
|
785
|
+
|
786
|
+
====:cr, :cR, :Cr, :CR for Docgenerator::Lists::Description#.to_wiki
|
787
|
+
<<START>> and <<END>> are not part of the output, but needed to illustrate the line breaks.
|
788
|
+
|
789
|
+
Default:
|
790
|
+
<<START>>content
|
791
|
+
<<END>>
|
792
|
+
|
793
|
+
* Docgenerator::Lists::Description#cr has no effect, same result as default
|
794
|
+
* Docgenerator::Lists::Description#cR has no effect, same result as default
|
795
|
+
* Docgenerator::Lists::Description#Cr has no effect, same result as default
|
796
|
+
* Docgenerator::Lists::Description#CR has no effect, same result as default
|
797
|
+
===Docgenerator::Lists::Description#to_creole
|
798
|
+
content
|
799
|
+
|
800
|
+
|
801
|
+
====:cr, :cR, :Cr, :CR for Docgenerator::Lists::Description#.to_creole
|
802
|
+
<<START>> and <<END>> are not part of the output, but needed to illustrate the line breaks.
|
803
|
+
|
804
|
+
Default:
|
805
|
+
<<START>>content
|
806
|
+
<<END>>
|
807
|
+
|
808
|
+
* Docgenerator::Lists::Description#cr has no effect, same result as default
|
809
|
+
* Docgenerator::Lists::Description#cR has no effect, same result as default
|
810
|
+
* Docgenerator::Lists::Description#Cr has no effect, same result as default
|
811
|
+
* Docgenerator::Lists::Description#CR has no effect, same result as default
|
812
|
+
=end
|
813
|
+
class Description << Docgenerator::Lists::ListEnvironment
|
814
|
+
#This coding is empty - this is the manpage definition, not the implementation
|
815
|
+
end #class Description
|
816
|
+
end #module Lists
|
817
|
+
end #module Docgenerator
|
818
|
+
module Docgenerator
|
819
|
+
module Lists
|
820
|
+
=begin rdoc
|
821
|
+
=Docgenerator::Lists::Item
|
822
|
+
|
823
|
+
==Attributes
|
824
|
+
Attribute required? HTML LaTeX ~keyval ConTeXt Text Wiki Creole Values
|
825
|
+
====================================================================================================
|
826
|
+
lang : - X - - - - - -
|
827
|
+
id : - X - - - - - -
|
828
|
+
class : - X - - - - - -
|
829
|
+
style : - X - - - - - -
|
830
|
+
title : - X - - - - - -
|
831
|
+
dir : - X - - - - - -
|
832
|
+
onclick : - X - - - - - -
|
833
|
+
ondblclick : - X - - - - - -
|
834
|
+
onmousedown : - X - - - - - -
|
835
|
+
onmouseup : - X - - - - - -
|
836
|
+
onmouseover : - X - - - - - -
|
837
|
+
onmousemove : - X - - - - - -
|
838
|
+
onmouseout : - X - - - - - -
|
839
|
+
onkeypress : - X - - - - - -
|
840
|
+
onkeyup : - X - - - - - -
|
841
|
+
onkeydown : - X - - - - - -
|
842
|
+
text : - - X - - - - -
|
843
|
+
type : - X - - - - - -
|
844
|
+
position : - X - - - - - -
|
845
|
+
|
846
|
+
|
847
|
+
Docgenerator::Lists::Item can contain content.
|
848
|
+
|
849
|
+
==Generate an object
|
850
|
+
test = Docgenerator::Lists::Item.new( {
|
851
|
+
#:lang => <<value>>, % optional, values: ["en", "de"]
|
852
|
+
#:id => <<value>>, % optional
|
853
|
+
#:class => <<value>>, % optional
|
854
|
+
#:style => <<value>>, % optional, values: [Docgenerator::CSS, String]
|
855
|
+
#:title => <<value>>, % optional
|
856
|
+
#:dir => <<value>>, % optional, values: ["ltr", "rtl"]
|
857
|
+
#:onclick => <<value>>, % optional
|
858
|
+
#:ondblclick => <<value>>, % optional
|
859
|
+
#:onmousedown => <<value>>, % optional
|
860
|
+
#:onmouseup => <<value>>, % optional
|
861
|
+
#:onmouseover => <<value>>, % optional
|
862
|
+
#:onmousemove => <<value>>, % optional
|
863
|
+
#:onmouseout => <<value>>, % optional
|
864
|
+
#:onkeypress => <<value>>, % optional
|
865
|
+
#:onkeyup => <<value>>, % optional
|
866
|
+
#:onkeydown => <<value>>, % optional
|
867
|
+
#:text => <<value>>, % optional
|
868
|
+
#:type => <<value>>, % optional, values: ["disc", "square", "circle", "1", "a", "A", "i", "I"]
|
869
|
+
#:position => <<value>>, % optional, values: ["inside", "outside"]
|
870
|
+
}, 'content')
|
871
|
+
|
872
|
+
Alternative generation
|
873
|
+
test = element(:item, {...Attributes...}, 'content' )
|
874
|
+
test = element(:li, {...Attributes...}, 'content' )
|
875
|
+
|
876
|
+
|
877
|
+
==Outputs
|
878
|
+
===Docgenerator::Lists::Item#to_latex
|
879
|
+
|
880
|
+
\item content
|
881
|
+
|
882
|
+
====:cr, :cR, :Cr, :CR for Docgenerator::Lists::Item#.to_latex
|
883
|
+
<<START>> and <<END>> are not part of the output, but needed to illustrate the line breaks.
|
884
|
+
|
885
|
+
Default:
|
886
|
+
<<START>>
|
887
|
+
\item content<<END>>
|
888
|
+
|
889
|
+
* Result after Docgenerator::Lists::Item#cr:
|
890
|
+
|
891
|
+
<<START>>
|
892
|
+
\item content
|
893
|
+
<<END>>
|
894
|
+
|
895
|
+
* Result after Docgenerator::Lists::Item#cR:
|
896
|
+
|
897
|
+
<<START>>
|
898
|
+
\item content
|
899
|
+
<<END>>
|
900
|
+
|
901
|
+
* Result after Docgenerator::Lists::Item#Cr:
|
902
|
+
|
903
|
+
<<START>>
|
904
|
+
|
905
|
+
\item content
|
906
|
+
<<END>>
|
907
|
+
|
908
|
+
* Result after Docgenerator::Lists::Item#CR:
|
909
|
+
|
910
|
+
<<START>>
|
911
|
+
|
912
|
+
\item content
|
913
|
+
<<END>>
|
914
|
+
|
915
|
+
===Docgenerator::Lists::Item#to_html
|
916
|
+
<li >content</li>
|
917
|
+
|
918
|
+
====:cr, :cR, :Cr, :CR for Docgenerator::Lists::Item#.to_html
|
919
|
+
<<START>> and <<END>> are not part of the output, but needed to illustrate the line breaks.
|
920
|
+
|
921
|
+
Default:
|
922
|
+
<<START>><li >content</li><<END>>
|
923
|
+
|
924
|
+
* Result after Docgenerator::Lists::Item#cr:
|
925
|
+
|
926
|
+
<<START>><li >content</li>
|
927
|
+
<<END>>
|
928
|
+
|
929
|
+
* Result after Docgenerator::Lists::Item#cR:
|
930
|
+
|
931
|
+
<<START>><li >
|
932
|
+
content
|
933
|
+
</li>
|
934
|
+
<<END>>
|
935
|
+
|
936
|
+
* Result after Docgenerator::Lists::Item#Cr:
|
937
|
+
|
938
|
+
<<START>>
|
939
|
+
<li >
|
940
|
+
content
|
941
|
+
</li>
|
942
|
+
<<END>>
|
943
|
+
|
944
|
+
* Result after Docgenerator::Lists::Item#CR:
|
945
|
+
|
946
|
+
<<START>>
|
947
|
+
<li >
|
948
|
+
content
|
949
|
+
</li>
|
950
|
+
<<END>>
|
951
|
+
|
952
|
+
===Docgenerator::Lists::Item#to_context
|
953
|
+
|
954
|
+
\item content
|
955
|
+
|
956
|
+
====:cr, :cR, :Cr, :CR for Docgenerator::Lists::Item#.to_context
|
957
|
+
<<START>> and <<END>> are not part of the output, but needed to illustrate the line breaks.
|
958
|
+
|
959
|
+
Default:
|
960
|
+
<<START>>
|
961
|
+
\item content<<END>>
|
962
|
+
|
963
|
+
* Result after Docgenerator::Lists::Item#cr:
|
964
|
+
|
965
|
+
<<START>>
|
966
|
+
\item content
|
967
|
+
<<END>>
|
968
|
+
|
969
|
+
* Result after Docgenerator::Lists::Item#cR:
|
970
|
+
|
971
|
+
<<START>>
|
972
|
+
\item content
|
973
|
+
<<END>>
|
974
|
+
|
975
|
+
* Result after Docgenerator::Lists::Item#Cr:
|
976
|
+
|
977
|
+
<<START>>
|
978
|
+
|
979
|
+
\item content
|
980
|
+
<<END>>
|
981
|
+
|
982
|
+
* Result after Docgenerator::Lists::Item#CR:
|
983
|
+
|
984
|
+
<<START>>
|
985
|
+
|
986
|
+
\item content
|
987
|
+
<<END>>
|
988
|
+
|
989
|
+
===Docgenerator::Lists::Item#to_text
|
990
|
+
- content
|
991
|
+
|
992
|
+
====:cr, :cR, :Cr, :CR for Docgenerator::Lists::Item#.to_text
|
993
|
+
<<START>> and <<END>> are not part of the output, but needed to illustrate the line breaks.
|
994
|
+
|
995
|
+
Default:
|
996
|
+
<<START>>- content<<END>>
|
997
|
+
|
998
|
+
* Result after Docgenerator::Lists::Item#cr:
|
999
|
+
|
1000
|
+
<<START>>- content
|
1001
|
+
<<END>>
|
1002
|
+
|
1003
|
+
* Result after Docgenerator::Lists::Item#cR:
|
1004
|
+
|
1005
|
+
<<START>>- content
|
1006
|
+
<<END>>
|
1007
|
+
|
1008
|
+
* Result after Docgenerator::Lists::Item#Cr:
|
1009
|
+
|
1010
|
+
<<START>>
|
1011
|
+
- content
|
1012
|
+
<<END>>
|
1013
|
+
|
1014
|
+
* Result after Docgenerator::Lists::Item#CR:
|
1015
|
+
|
1016
|
+
<<START>>
|
1017
|
+
- content
|
1018
|
+
<<END>>
|
1019
|
+
|
1020
|
+
===Docgenerator::Lists::Item#to_wiki
|
1021
|
+
|
1022
|
+
* content
|
1023
|
+
|
1024
|
+
====:cr, :cR, :Cr, :CR for Docgenerator::Lists::Item#.to_wiki
|
1025
|
+
<<START>> and <<END>> are not part of the output, but needed to illustrate the line breaks.
|
1026
|
+
|
1027
|
+
Default:
|
1028
|
+
<<START>>
|
1029
|
+
* content<<END>>
|
1030
|
+
|
1031
|
+
* Result after Docgenerator::Lists::Item#cr:
|
1032
|
+
|
1033
|
+
<<START>>
|
1034
|
+
* content
|
1035
|
+
<<END>>
|
1036
|
+
|
1037
|
+
* Result after Docgenerator::Lists::Item#cR:
|
1038
|
+
|
1039
|
+
<<START>>
|
1040
|
+
* content
|
1041
|
+
<<END>>
|
1042
|
+
|
1043
|
+
* Result after Docgenerator::Lists::Item#Cr:
|
1044
|
+
|
1045
|
+
<<START>>
|
1046
|
+
* content
|
1047
|
+
<<END>>
|
1048
|
+
|
1049
|
+
* Result after Docgenerator::Lists::Item#CR:
|
1050
|
+
|
1051
|
+
<<START>>
|
1052
|
+
* content
|
1053
|
+
<<END>>
|
1054
|
+
|
1055
|
+
===Docgenerator::Lists::Item#to_creole
|
1056
|
+
|
1057
|
+
* content
|
1058
|
+
|
1059
|
+
====:cr, :cR, :Cr, :CR for Docgenerator::Lists::Item#.to_creole
|
1060
|
+
<<START>> and <<END>> are not part of the output, but needed to illustrate the line breaks.
|
1061
|
+
|
1062
|
+
Default:
|
1063
|
+
<<START>>
|
1064
|
+
* content<<END>>
|
1065
|
+
|
1066
|
+
* Result after Docgenerator::Lists::Item#cr:
|
1067
|
+
|
1068
|
+
<<START>>
|
1069
|
+
* content
|
1070
|
+
<<END>>
|
1071
|
+
|
1072
|
+
* Result after Docgenerator::Lists::Item#cR:
|
1073
|
+
|
1074
|
+
<<START>>
|
1075
|
+
* content
|
1076
|
+
<<END>>
|
1077
|
+
|
1078
|
+
* Result after Docgenerator::Lists::Item#Cr:
|
1079
|
+
|
1080
|
+
<<START>>
|
1081
|
+
* content
|
1082
|
+
<<END>>
|
1083
|
+
|
1084
|
+
* Result after Docgenerator::Lists::Item#CR:
|
1085
|
+
|
1086
|
+
<<START>>
|
1087
|
+
* content
|
1088
|
+
<<END>>
|
1089
|
+
|
1090
|
+
=end
|
1091
|
+
class Item << Docgenerator::Element
|
1092
|
+
#This coding is empty - this is the manpage definition, not the implementation
|
1093
|
+
end #class Item
|
1094
|
+
end #module Lists
|
1095
|
+
end #module Docgenerator
|
1096
|
+
module Docgenerator
|
1097
|
+
module Lists
|
1098
|
+
=begin rdoc
|
1099
|
+
=Docgenerator::Lists::DT
|
1100
|
+
|
1101
|
+
==Attributes
|
1102
|
+
Attribute required? HTML LaTeX ~keyval ConTeXt Text Wiki Creole Values
|
1103
|
+
====================================================================================================
|
1104
|
+
lang : - X - - - - - -
|
1105
|
+
id : - X - - - - - -
|
1106
|
+
class : - X - - - - - -
|
1107
|
+
style : - X - - - - - -
|
1108
|
+
title : - X - - - - - -
|
1109
|
+
dir : - X - - - - - -
|
1110
|
+
onclick : - X - - - - - -
|
1111
|
+
ondblclick : - X - - - - - -
|
1112
|
+
onmousedown : - X - - - - - -
|
1113
|
+
onmouseup : - X - - - - - -
|
1114
|
+
onmouseover : - X - - - - - -
|
1115
|
+
onmousemove : - X - - - - - -
|
1116
|
+
onmouseout : - X - - - - - -
|
1117
|
+
onkeypress : - X - - - - - -
|
1118
|
+
onkeyup : - X - - - - - -
|
1119
|
+
onkeydown : - X - - - - - -
|
1120
|
+
|
1121
|
+
|
1122
|
+
Docgenerator::Lists::DT can contain content.
|
1123
|
+
|
1124
|
+
==Generate an object
|
1125
|
+
test = Docgenerator::Lists::DT.new( {
|
1126
|
+
#:lang => <<value>>, % optional, values: ["en", "de"]
|
1127
|
+
#:id => <<value>>, % optional
|
1128
|
+
#:class => <<value>>, % optional
|
1129
|
+
#:style => <<value>>, % optional, values: [Docgenerator::CSS, String]
|
1130
|
+
#:title => <<value>>, % optional
|
1131
|
+
#:dir => <<value>>, % optional, values: ["ltr", "rtl"]
|
1132
|
+
#:onclick => <<value>>, % optional
|
1133
|
+
#:ondblclick => <<value>>, % optional
|
1134
|
+
#:onmousedown => <<value>>, % optional
|
1135
|
+
#:onmouseup => <<value>>, % optional
|
1136
|
+
#:onmouseover => <<value>>, % optional
|
1137
|
+
#:onmousemove => <<value>>, % optional
|
1138
|
+
#:onmouseout => <<value>>, % optional
|
1139
|
+
#:onkeypress => <<value>>, % optional
|
1140
|
+
#:onkeyup => <<value>>, % optional
|
1141
|
+
#:onkeydown => <<value>>, % optional
|
1142
|
+
}, 'content')
|
1143
|
+
|
1144
|
+
Alternative generation
|
1145
|
+
test = element(:dt, {...Attributes...}, 'content' )
|
1146
|
+
|
1147
|
+
|
1148
|
+
==Outputs
|
1149
|
+
===Docgenerator::Lists::DT#to_latex
|
1150
|
+
|
1151
|
+
\item[content]
|
1152
|
+
|
1153
|
+
====:cr, :cR, :Cr, :CR for Docgenerator::Lists::DT#.to_latex
|
1154
|
+
<<START>> and <<END>> are not part of the output, but needed to illustrate the line breaks.
|
1155
|
+
|
1156
|
+
Default:
|
1157
|
+
<<START>>
|
1158
|
+
\item[content] <<END>>
|
1159
|
+
|
1160
|
+
* Result after Docgenerator::Lists::DT#cr:
|
1161
|
+
|
1162
|
+
<<START>>
|
1163
|
+
\item[content]
|
1164
|
+
<<END>>
|
1165
|
+
|
1166
|
+
* Result after Docgenerator::Lists::DT#cR:
|
1167
|
+
|
1168
|
+
<<START>>
|
1169
|
+
\item[content]
|
1170
|
+
<<END>>
|
1171
|
+
|
1172
|
+
* Result after Docgenerator::Lists::DT#Cr:
|
1173
|
+
|
1174
|
+
<<START>>
|
1175
|
+
|
1176
|
+
\item[content]
|
1177
|
+
<<END>>
|
1178
|
+
|
1179
|
+
* Result after Docgenerator::Lists::DT#CR:
|
1180
|
+
|
1181
|
+
<<START>>
|
1182
|
+
|
1183
|
+
\item[content]
|
1184
|
+
<<END>>
|
1185
|
+
|
1186
|
+
===Docgenerator::Lists::DT#to_html
|
1187
|
+
<dt >content</dt>
|
1188
|
+
|
1189
|
+
====:cr, :cR, :Cr, :CR for Docgenerator::Lists::DT#.to_html
|
1190
|
+
<<START>> and <<END>> are not part of the output, but needed to illustrate the line breaks.
|
1191
|
+
|
1192
|
+
Default:
|
1193
|
+
<<START>><dt >content</dt><<END>>
|
1194
|
+
|
1195
|
+
* Result after Docgenerator::Lists::DT#cr:
|
1196
|
+
|
1197
|
+
<<START>><dt >content</dt>
|
1198
|
+
<<END>>
|
1199
|
+
|
1200
|
+
* Result after Docgenerator::Lists::DT#cR:
|
1201
|
+
|
1202
|
+
<<START>><dt >
|
1203
|
+
content
|
1204
|
+
</dt>
|
1205
|
+
<<END>>
|
1206
|
+
|
1207
|
+
* Result after Docgenerator::Lists::DT#Cr:
|
1208
|
+
|
1209
|
+
<<START>>
|
1210
|
+
<dt >
|
1211
|
+
content
|
1212
|
+
</dt>
|
1213
|
+
<<END>>
|
1214
|
+
|
1215
|
+
* Result after Docgenerator::Lists::DT#CR:
|
1216
|
+
|
1217
|
+
<<START>>
|
1218
|
+
<dt >
|
1219
|
+
content
|
1220
|
+
</dt>
|
1221
|
+
<<END>>
|
1222
|
+
|
1223
|
+
===Docgenerator::Lists::DT#to_context
|
1224
|
+
\dt{content}
|
1225
|
+
|
1226
|
+
* No output routine defined for context - use a dummy
|
1227
|
+
===Docgenerator::Lists::DT#to_text
|
1228
|
+
|
1229
|
+
content:
|
1230
|
+
|
1231
|
+
====:cr, :cR, :Cr, :CR for Docgenerator::Lists::DT#.to_text
|
1232
|
+
<<START>> and <<END>> are not part of the output, but needed to illustrate the line breaks.
|
1233
|
+
|
1234
|
+
Default:
|
1235
|
+
<<START>>
|
1236
|
+
content: <<END>>
|
1237
|
+
|
1238
|
+
* Docgenerator::Lists::DT#cr has no effect, same result as default
|
1239
|
+
* Docgenerator::Lists::DT#cR has no effect, same result as default
|
1240
|
+
* Docgenerator::Lists::DT#Cr has no effect, same result as default
|
1241
|
+
* Docgenerator::Lists::DT#CR has no effect, same result as default
|
1242
|
+
===Docgenerator::Lists::DT#to_wiki
|
1243
|
+
|
1244
|
+
;content
|
1245
|
+
|
1246
|
+
|
1247
|
+
====:cr, :cR, :Cr, :CR for Docgenerator::Lists::DT#.to_wiki
|
1248
|
+
<<START>> and <<END>> are not part of the output, but needed to illustrate the line breaks.
|
1249
|
+
|
1250
|
+
Default:
|
1251
|
+
<<START>>
|
1252
|
+
;content
|
1253
|
+
<<END>>
|
1254
|
+
|
1255
|
+
* Docgenerator::Lists::DT#cr has no effect, same result as default
|
1256
|
+
* Docgenerator::Lists::DT#cR has no effect, same result as default
|
1257
|
+
* Result after Docgenerator::Lists::DT#Cr:
|
1258
|
+
|
1259
|
+
<<START>>
|
1260
|
+
|
1261
|
+
;content
|
1262
|
+
<<END>>
|
1263
|
+
|
1264
|
+
* Result after Docgenerator::Lists::DT#CR:
|
1265
|
+
|
1266
|
+
<<START>>
|
1267
|
+
|
1268
|
+
;content
|
1269
|
+
<<END>>
|
1270
|
+
|
1271
|
+
===Docgenerator::Lists::DT#to_creole
|
1272
|
+
content
|
1273
|
+
|
1274
|
+
|
1275
|
+
* No output routine defined for creole - use a dummy
|
1276
|
+
=end
|
1277
|
+
class DT << Docgenerator::Element
|
1278
|
+
#This coding is empty - this is the manpage definition, not the implementation
|
1279
|
+
end #class DT
|
1280
|
+
end #module Lists
|
1281
|
+
end #module Docgenerator
|
1282
|
+
module Docgenerator
|
1283
|
+
module Lists
|
1284
|
+
=begin rdoc
|
1285
|
+
=Docgenerator::Lists::DD
|
1286
|
+
|
1287
|
+
==Attributes
|
1288
|
+
Attribute required? HTML LaTeX ~keyval ConTeXt Text Wiki Creole Values
|
1289
|
+
====================================================================================================
|
1290
|
+
lang : - X - - - - - -
|
1291
|
+
id : - X - - - - - -
|
1292
|
+
class : - X - - - - - -
|
1293
|
+
style : - X - - - - - -
|
1294
|
+
title : - X - - - - - -
|
1295
|
+
dir : - X - - - - - -
|
1296
|
+
onclick : - X - - - - - -
|
1297
|
+
ondblclick : - X - - - - - -
|
1298
|
+
onmousedown : - X - - - - - -
|
1299
|
+
onmouseup : - X - - - - - -
|
1300
|
+
onmouseover : - X - - - - - -
|
1301
|
+
onmousemove : - X - - - - - -
|
1302
|
+
onmouseout : - X - - - - - -
|
1303
|
+
onkeypress : - X - - - - - -
|
1304
|
+
onkeyup : - X - - - - - -
|
1305
|
+
onkeydown : - X - - - - - -
|
1306
|
+
|
1307
|
+
|
1308
|
+
Docgenerator::Lists::DD can contain content.
|
1309
|
+
|
1310
|
+
==Generate an object
|
1311
|
+
test = Docgenerator::Lists::DD.new( {
|
1312
|
+
#:lang => <<value>>, % optional, values: ["en", "de"]
|
1313
|
+
#:id => <<value>>, % optional
|
1314
|
+
#:class => <<value>>, % optional
|
1315
|
+
#:style => <<value>>, % optional, values: [Docgenerator::CSS, String]
|
1316
|
+
#:title => <<value>>, % optional
|
1317
|
+
#:dir => <<value>>, % optional, values: ["ltr", "rtl"]
|
1318
|
+
#:onclick => <<value>>, % optional
|
1319
|
+
#:ondblclick => <<value>>, % optional
|
1320
|
+
#:onmousedown => <<value>>, % optional
|
1321
|
+
#:onmouseup => <<value>>, % optional
|
1322
|
+
#:onmouseover => <<value>>, % optional
|
1323
|
+
#:onmousemove => <<value>>, % optional
|
1324
|
+
#:onmouseout => <<value>>, % optional
|
1325
|
+
#:onkeypress => <<value>>, % optional
|
1326
|
+
#:onkeyup => <<value>>, % optional
|
1327
|
+
#:onkeydown => <<value>>, % optional
|
1328
|
+
}, 'content')
|
1329
|
+
|
1330
|
+
Alternative generation
|
1331
|
+
test = element(:dd, {...Attributes...}, 'content' )
|
1332
|
+
|
1333
|
+
|
1334
|
+
==Outputs
|
1335
|
+
===Docgenerator::Lists::DD#to_latex
|
1336
|
+
content
|
1337
|
+
|
1338
|
+
====:cr, :cR, :Cr, :CR for Docgenerator::Lists::DD#.to_latex
|
1339
|
+
<<START>> and <<END>> are not part of the output, but needed to illustrate the line breaks.
|
1340
|
+
|
1341
|
+
Default:
|
1342
|
+
<<START>> content <<END>>
|
1343
|
+
|
1344
|
+
* Result after Docgenerator::Lists::DD#cr:
|
1345
|
+
|
1346
|
+
<<START>> content
|
1347
|
+
<<END>>
|
1348
|
+
|
1349
|
+
* Result after Docgenerator::Lists::DD#cR:
|
1350
|
+
|
1351
|
+
<<START>> content
|
1352
|
+
<<END>>
|
1353
|
+
|
1354
|
+
* Result after Docgenerator::Lists::DD#Cr:
|
1355
|
+
|
1356
|
+
<<START>>
|
1357
|
+
content
|
1358
|
+
<<END>>
|
1359
|
+
|
1360
|
+
* Result after Docgenerator::Lists::DD#CR:
|
1361
|
+
|
1362
|
+
<<START>>
|
1363
|
+
content
|
1364
|
+
<<END>>
|
1365
|
+
|
1366
|
+
===Docgenerator::Lists::DD#to_html
|
1367
|
+
<dd >content</dd>
|
1368
|
+
|
1369
|
+
====:cr, :cR, :Cr, :CR for Docgenerator::Lists::DD#.to_html
|
1370
|
+
<<START>> and <<END>> are not part of the output, but needed to illustrate the line breaks.
|
1371
|
+
|
1372
|
+
Default:
|
1373
|
+
<<START>><dd >content</dd><<END>>
|
1374
|
+
|
1375
|
+
* Result after Docgenerator::Lists::DD#cr:
|
1376
|
+
|
1377
|
+
<<START>><dd >content</dd>
|
1378
|
+
<<END>>
|
1379
|
+
|
1380
|
+
* Result after Docgenerator::Lists::DD#cR:
|
1381
|
+
|
1382
|
+
<<START>><dd >
|
1383
|
+
content
|
1384
|
+
</dd>
|
1385
|
+
<<END>>
|
1386
|
+
|
1387
|
+
* Result after Docgenerator::Lists::DD#Cr:
|
1388
|
+
|
1389
|
+
<<START>>
|
1390
|
+
<dd >
|
1391
|
+
content
|
1392
|
+
</dd>
|
1393
|
+
<<END>>
|
1394
|
+
|
1395
|
+
* Result after Docgenerator::Lists::DD#CR:
|
1396
|
+
|
1397
|
+
<<START>>
|
1398
|
+
<dd >
|
1399
|
+
content
|
1400
|
+
</dd>
|
1401
|
+
<<END>>
|
1402
|
+
|
1403
|
+
===Docgenerator::Lists::DD#to_context
|
1404
|
+
\dd{content}
|
1405
|
+
|
1406
|
+
* No output routine defined for context - use a dummy
|
1407
|
+
===Docgenerator::Lists::DD#to_text
|
1408
|
+
|
1409
|
+
content
|
1410
|
+
|
1411
|
+
|
1412
|
+
====:cr, :cR, :Cr, :CR for Docgenerator::Lists::DD#.to_text
|
1413
|
+
<<START>> and <<END>> are not part of the output, but needed to illustrate the line breaks.
|
1414
|
+
|
1415
|
+
Default:
|
1416
|
+
<<START>>
|
1417
|
+
content
|
1418
|
+
<<END>>
|
1419
|
+
|
1420
|
+
* Docgenerator::Lists::DD#cr has no effect, same result as default
|
1421
|
+
* Docgenerator::Lists::DD#cR has no effect, same result as default
|
1422
|
+
* Docgenerator::Lists::DD#Cr has no effect, same result as default
|
1423
|
+
* Docgenerator::Lists::DD#CR has no effect, same result as default
|
1424
|
+
===Docgenerator::Lists::DD#to_wiki
|
1425
|
+
|
1426
|
+
:content
|
1427
|
+
|
1428
|
+
|
1429
|
+
====:cr, :cR, :Cr, :CR for Docgenerator::Lists::DD#.to_wiki
|
1430
|
+
<<START>> and <<END>> are not part of the output, but needed to illustrate the line breaks.
|
1431
|
+
|
1432
|
+
Default:
|
1433
|
+
<<START>>
|
1434
|
+
:content
|
1435
|
+
<<END>>
|
1436
|
+
|
1437
|
+
* Docgenerator::Lists::DD#cr has no effect, same result as default
|
1438
|
+
* Docgenerator::Lists::DD#cR has no effect, same result as default
|
1439
|
+
* Result after Docgenerator::Lists::DD#Cr:
|
1440
|
+
|
1441
|
+
<<START>>
|
1442
|
+
|
1443
|
+
:content
|
1444
|
+
<<END>>
|
1445
|
+
|
1446
|
+
* Result after Docgenerator::Lists::DD#CR:
|
1447
|
+
|
1448
|
+
<<START>>
|
1449
|
+
|
1450
|
+
:content
|
1451
|
+
<<END>>
|
1452
|
+
|
1453
|
+
===Docgenerator::Lists::DD#to_creole
|
1454
|
+
content
|
1455
|
+
|
1456
|
+
|
1457
|
+
* No output routine defined for creole - use a dummy
|
1458
|
+
=end
|
1459
|
+
class DD << Docgenerator::Element
|
1460
|
+
#This coding is empty - this is the manpage definition, not the implementation
|
1461
|
+
end #class DD
|
1462
|
+
end #module Lists
|
1463
|
+
end #module Docgenerator
|