mizuho 0.9.6 → 0.9.8
Sign up to get free protection for your applications and to get access to all the features.
- data/README.markdown +4 -2
- data/Rakefile +0 -37
- data/asciidoc/BUGS +9 -18
- data/asciidoc/BUGS.txt +5 -14
- data/asciidoc/CHANGELOG +1433 -266
- data/asciidoc/CHANGELOG.txt +2821 -1810
- data/asciidoc/COPYING +339 -339
- data/asciidoc/COPYRIGHT +18 -18
- data/asciidoc/INSTALL +189 -30
- data/asciidoc/INSTALL.txt +175 -19
- data/asciidoc/MANIFEST +88 -0
- data/asciidoc/Makefile.in +29 -13
- data/asciidoc/README +16 -17
- data/asciidoc/README.txt +35 -36
- data/asciidoc/a2x.py +902 -0
- data/asciidoc/asciidoc.conf +610 -455
- data/asciidoc/asciidoc.py +1965 -1061
- data/asciidoc/asciidocapi.py +257 -0
- data/asciidoc/common.aap +2 -2
- data/asciidoc/configure +1170 -1023
- data/asciidoc/configure.ac +1 -1
- data/asciidoc/dblatex/asciidoc-dblatex.xsl +42 -0
- data/asciidoc/doc/a2x.1 +559 -102
- data/asciidoc/doc/a2x.1.txt +233 -91
- data/asciidoc/doc/article-docinfo.xml +87 -0
- data/asciidoc/doc/article.pdf +0 -0
- data/asciidoc/doc/article.txt +139 -122
- data/asciidoc/doc/asciidoc.1 +157 -46
- data/asciidoc/doc/asciidoc.1.txt +171 -118
- data/asciidoc/doc/asciidoc.conf +7 -8
- data/asciidoc/doc/asciidoc.dict +960 -635
- data/asciidoc/doc/asciidoc.txt +2335 -1464
- data/asciidoc/doc/asciidocapi.txt +189 -0
- data/asciidoc/doc/asciimathml.txt +14 -17
- data/asciidoc/doc/book-multi.txt +181 -155
- data/asciidoc/doc/book.epub +0 -0
- data/asciidoc/doc/book.txt +156 -131
- data/asciidoc/doc/customers.csv +18 -18
- data/asciidoc/doc/epub-notes.txt +210 -0
- data/asciidoc/doc/faq.txt +1122 -547
- data/asciidoc/doc/latex-backend.txt +192 -191
- data/asciidoc/doc/latex-bugs.txt +134 -0
- data/asciidoc/doc/latex-filter.pdf +0 -0
- data/asciidoc/doc/latex-filter.txt +196 -0
- data/asciidoc/doc/latexmath.txt +13 -136
- data/asciidoc/doc/latexmathml.txt +2 -2
- data/asciidoc/doc/main.aap +233 -297
- data/asciidoc/doc/music-filter.pdf +0 -0
- data/asciidoc/doc/music-filter.txt +55 -65
- data/asciidoc/doc/publishing-ebooks-with-asciidoc.txt +398 -0
- data/asciidoc/doc/slidy-example.txt +167 -0
- data/asciidoc/doc/slidy.txt +113 -0
- data/asciidoc/doc/source-highlight-filter.pdf +0 -0
- data/asciidoc/doc/source-highlight-filter.txt +45 -20
- data/asciidoc/doc/testasciidoc.txt +231 -0
- data/asciidoc/docbook-xsl/asciidoc-docbook-xsl.txt +30 -8
- data/asciidoc/docbook-xsl/chunked.xsl +17 -19
- data/asciidoc/docbook-xsl/common.xsl +106 -67
- data/asciidoc/docbook-xsl/epub.xsl +35 -0
- data/asciidoc/docbook-xsl/fo.xsl +3 -0
- data/asciidoc/docbook-xsl/htmlhelp.xsl +16 -17
- data/asciidoc/docbook-xsl/manpage.xsl +31 -31
- data/asciidoc/docbook-xsl/text.xsl +6 -1
- data/asciidoc/docbook-xsl/xhtml.xsl +14 -14
- data/asciidoc/docbook45.conf +759 -0
- data/asciidoc/filters/code/code-filter-readme.txt +37 -37
- data/asciidoc/filters/code/code-filter-test.txt +15 -15
- data/asciidoc/filters/code/code-filter.conf +8 -8
- data/asciidoc/filters/graphviz/asciidoc-graphviz-sample.txt +104 -64
- data/asciidoc/filters/graphviz/graphviz-filter.conf +20 -16
- data/asciidoc/filters/graphviz/graphviz2png.py +54 -39
- data/asciidoc/filters/latex/latex-filter.conf +18 -0
- data/asciidoc/filters/latex/latex2png.py +216 -0
- data/asciidoc/filters/music/music-filter.conf +8 -17
- data/asciidoc/filters/music/music2png.py +40 -32
- data/asciidoc/filters/source/source-highlight-filter.conf +40 -34
- data/asciidoc/help.conf +261 -96
- data/asciidoc/html4.conf +505 -460
- data/asciidoc/html5.conf +686 -0
- data/asciidoc/images/highlighter.png +0 -0
- data/asciidoc/images/icons/caution.png +0 -0
- data/asciidoc/images/icons/example.png +0 -0
- data/asciidoc/images/icons/important.png +0 -0
- data/asciidoc/images/icons/note.png +0 -0
- data/asciidoc/images/icons/tip.png +0 -0
- data/asciidoc/images/icons/warning.png +0 -0
- data/asciidoc/images/smallnew.png +0 -0
- data/asciidoc/javascripts/asciidoc.js +189 -0
- data/asciidoc/javascripts/slidy.js +2845 -0
- data/asciidoc/javascripts/toc.js +8 -0
- data/asciidoc/lang-de.conf +57 -0
- data/asciidoc/lang-en.conf +54 -0
- data/asciidoc/lang-es.conf +49 -9
- data/asciidoc/lang-fr.conf +59 -0
- data/asciidoc/lang-hu.conf +55 -0
- data/asciidoc/lang-it.conf +55 -0
- data/asciidoc/lang-nl.conf +57 -0
- data/asciidoc/lang-pt-BR.conf +56 -0
- data/asciidoc/lang-ru.conf +60 -0
- data/asciidoc/lang-uk.conf +60 -0
- data/asciidoc/latex.conf +700 -663
- data/asciidoc/main.aap +77 -0
- data/asciidoc/slidy.conf +136 -0
- data/asciidoc/{examples/website/xhtml11-manpage.css → stylesheets/asciidoc-manpage.css} +1 -1
- data/asciidoc/stylesheets/asciidoc.css +508 -0
- data/asciidoc/stylesheets/docbook-xsl.css +322 -272
- data/asciidoc/stylesheets/flask-manpage.css +1 -0
- data/asciidoc/stylesheets/flask.css +584 -0
- data/asciidoc/stylesheets/pygments.css +66 -0
- data/asciidoc/stylesheets/slidy.css +445 -0
- data/asciidoc/stylesheets/toc2.css +33 -0
- data/asciidoc/stylesheets/volnitsky-manpage.css +1 -0
- data/asciidoc/stylesheets/volnitsky.css +435 -0
- data/asciidoc/stylesheets/xhtml11-quirks.css +5 -3
- data/asciidoc/tests/asciidocapi.py +257 -0
- data/asciidoc/tests/data/deprecated-quotes.txt +12 -0
- data/asciidoc/tests/data/filters-test.txt +90 -0
- data/asciidoc/tests/data/lang-de-test.txt +106 -0
- data/asciidoc/tests/data/lang-en-test.txt +114 -0
- data/asciidoc/tests/data/lang-es-test.txt +106 -0
- data/asciidoc/tests/data/lang-fr-test.txt +106 -0
- data/asciidoc/tests/data/lang-hu-test.txt +106 -0
- data/asciidoc/tests/data/lang-nl-test.txt +94 -0
- data/asciidoc/tests/data/lang-pt-BR-test.txt +106 -0
- data/asciidoc/tests/data/lang-ru-test.txt +106 -0
- data/asciidoc/tests/data/lang-uk-test.txt +106 -0
- data/asciidoc/tests/data/oldtables.txt +64 -0
- data/asciidoc/tests/data/rcs-id-marker-test.txt +6 -0
- data/asciidoc/tests/data/testcases.conf +2 -0
- data/asciidoc/tests/data/testcases.txt +740 -0
- data/asciidoc/tests/data/utf8-bom-test.txt +9 -0
- data/asciidoc/tests/data/utf8-examples.txt +217 -0
- data/asciidoc/tests/testasciidoc.conf +520 -0
- data/asciidoc/tests/testasciidoc.py +411 -0
- data/asciidoc/text.conf +16 -16
- data/asciidoc/vim/syntax/asciidoc.vim +99 -91
- data/asciidoc/wordpress.conf +43 -3
- data/asciidoc/xhtml11-quirks.conf +61 -57
- data/asciidoc/xhtml11.conf +684 -645
- data/lib/mizuho.rb +2 -0
- data/lib/mizuho/generator.rb +2 -2
- data/test/generator_spec.rb +1 -1
- data/test/parser_spec.rb +1 -1
- data/test/spec_helper.rb +3 -4
- metadata +87 -88
- data/asciidoc/a2x +0 -674
- data/asciidoc/doc/article.css-embedded.html +0 -602
- data/asciidoc/doc/article.html +0 -46
- data/asciidoc/doc/asciidoc-revhistory.xml +0 -27
- data/asciidoc/doc/asciidoc.1.css-embedded.html +0 -598
- data/asciidoc/doc/asciidoc.1.css.html +0 -212
- data/asciidoc/doc/asciidoc.1.html +0 -190
- data/asciidoc/doc/asciidoc.css-embedded.html +0 -7853
- data/asciidoc/doc/asciidoc.css.html +0 -7416
- data/asciidoc/doc/asciidoc.html +0 -3339
- data/asciidoc/doc/book-multi.css-embedded.html +0 -575
- data/asciidoc/doc/book-multi.html +0 -55
- data/asciidoc/doc/book.css-embedded.html +0 -607
- data/asciidoc/doc/book.html +0 -43
- data/asciidoc/doc/docbook-xsl.css +0 -272
- data/asciidoc/doc/latex-backend.html +0 -117
- data/asciidoc/doc/music-filter.html +0 -566
- data/asciidoc/doc/source-highlight-filter.html +0 -214
- data/asciidoc/docbook.conf +0 -721
- data/asciidoc/examples/website/ASCIIMathML.js +0 -938
- data/asciidoc/examples/website/CHANGELOG.html +0 -4389
- data/asciidoc/examples/website/CHANGELOG.txt +0 -1810
- data/asciidoc/examples/website/INSTALL.html +0 -161
- data/asciidoc/examples/website/INSTALL.txt +0 -71
- data/asciidoc/examples/website/LaTeXMathML.js +0 -1223
- data/asciidoc/examples/website/README-website.html +0 -118
- data/asciidoc/examples/website/README-website.txt +0 -29
- data/asciidoc/examples/website/README.html +0 -125
- data/asciidoc/examples/website/README.txt +0 -36
- data/asciidoc/examples/website/a2x.1.html +0 -419
- data/asciidoc/examples/website/a2x.1.txt +0 -204
- data/asciidoc/examples/website/asciidoc-docbook-xsl.html +0 -130
- data/asciidoc/examples/website/asciidoc-docbook-xsl.txt +0 -43
- data/asciidoc/examples/website/asciidoc-graphviz-sample.txt +0 -130
- data/asciidoc/examples/website/asciimathml.txt +0 -64
- data/asciidoc/examples/website/build-website.sh +0 -25
- data/asciidoc/examples/website/customers.csv +0 -18
- data/asciidoc/examples/website/downloads.html +0 -257
- data/asciidoc/examples/website/downloads.txt +0 -121
- data/asciidoc/examples/website/faq.html +0 -673
- data/asciidoc/examples/website/faq.txt +0 -547
- data/asciidoc/examples/website/index.html +0 -419
- data/asciidoc/examples/website/index.txt +0 -245
- data/asciidoc/examples/website/latex-backend.html +0 -535
- data/asciidoc/examples/website/latex-backend.txt +0 -191
- data/asciidoc/examples/website/latexmathml.txt +0 -41
- data/asciidoc/examples/website/layout1.conf +0 -161
- data/asciidoc/examples/website/layout1.css +0 -65
- data/asciidoc/examples/website/layout2.conf +0 -158
- data/asciidoc/examples/website/layout2.css +0 -93
- data/asciidoc/examples/website/manpage.html +0 -266
- data/asciidoc/examples/website/manpage.txt +0 -118
- data/asciidoc/examples/website/music-filter.html +0 -242
- data/asciidoc/examples/website/music-filter.txt +0 -158
- data/asciidoc/examples/website/music1.abc +0 -12
- data/asciidoc/examples/website/music1.png +0 -0
- data/asciidoc/examples/website/music2.ly +0 -9
- data/asciidoc/examples/website/music2.png +0 -0
- data/asciidoc/examples/website/newlists.txt +0 -40
- data/asciidoc/examples/website/newtables.txt +0 -397
- data/asciidoc/examples/website/sample1.png +0 -0
- data/asciidoc/examples/website/sample3.png +0 -0
- data/asciidoc/examples/website/sample4.png +0 -0
- data/asciidoc/examples/website/source-highlight-filter.html +0 -286
- data/asciidoc/examples/website/source-highlight-filter.txt +0 -203
- data/asciidoc/examples/website/support.html +0 -78
- data/asciidoc/examples/website/support.txt +0 -5
- data/asciidoc/examples/website/toc.js +0 -69
- data/asciidoc/examples/website/userguide.html +0 -7460
- data/asciidoc/examples/website/userguide.txt +0 -4979
- data/asciidoc/examples/website/version83.txt +0 -37
- data/asciidoc/examples/website/version9.html +0 -143
- data/asciidoc/examples/website/version9.txt +0 -48
- data/asciidoc/examples/website/xhtml11-quirks.css +0 -41
- data/asciidoc/examples/website/xhtml11.css +0 -328
- data/asciidoc/stylesheets/xhtml11-manpage.css +0 -18
- data/asciidoc/stylesheets/xhtml11.css +0 -328
data/asciidoc/asciidoc.conf
CHANGED
@@ -1,455 +1,610 @@
|
|
1
|
-
#
|
2
|
-
# asciidoc.conf
|
3
|
-
#
|
4
|
-
# Asciidoc global configuration file.
|
5
|
-
# Contains backend independent configuration settings that are applied to all
|
6
|
-
# AsciiDoc documents.
|
7
|
-
#
|
8
|
-
|
9
|
-
[miscellaneous]
|
10
|
-
tabsize=8
|
11
|
-
textwidth=70
|
12
|
-
newline=\r\n
|
13
|
-
|
14
|
-
[attributes]
|
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
|
-
template
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
[
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
#
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
#
|
209
|
-
(
|
210
|
-
|
211
|
-
|
212
|
-
#
|
213
|
-
[\\]
|
214
|
-
|
215
|
-
#
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
#
|
223
|
-
|
224
|
-
#
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
#
|
229
|
-
|
230
|
-
#
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
[
|
248
|
-
|
249
|
-
|
250
|
-
[
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
[
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
[
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
subs=
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
style=
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
[listdef-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
#
|
380
|
-
[listdef-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
#
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
template
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
[
|
433
|
-
|
434
|
-
|
435
|
-
[
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
[
|
443
|
-
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
|
448
|
-
|
449
|
-
|
450
|
-
[
|
451
|
-
|
452
|
-
|
453
|
-
|
454
|
-
|
455
|
-
|
1
|
+
#
|
2
|
+
# asciidoc.conf
|
3
|
+
#
|
4
|
+
# Asciidoc global configuration file.
|
5
|
+
# Contains backend independent configuration settings that are applied to all
|
6
|
+
# AsciiDoc documents.
|
7
|
+
#
|
8
|
+
|
9
|
+
[miscellaneous]
|
10
|
+
tabsize=8
|
11
|
+
textwidth=70
|
12
|
+
newline=\r\n
|
13
|
+
|
14
|
+
[attributes]
|
15
|
+
backend-alias-html=xhtml11
|
16
|
+
backend-alias-docbook=docbook45
|
17
|
+
toclevels=2
|
18
|
+
sectids=
|
19
|
+
iconsdir=./images/icons
|
20
|
+
encoding=UTF-8
|
21
|
+
# Uncomment to use xhtml11 quirks mode CSS.
|
22
|
+
#quirks=
|
23
|
+
# Uncomment to use the Pygments source highlighter instead of GNU highlighter.
|
24
|
+
#pygments=
|
25
|
+
# Uncomment to use deprecated quote attributes.
|
26
|
+
#deprecated-quotes=
|
27
|
+
empty=
|
28
|
+
# Attribute and AttributeList element patterns.
|
29
|
+
attributeentry-pattern=^:(?P<attrname>\w[^.]*?)(\.(?P<attrname2>.*?))?:(\s+(?P<attrvalue>.*))?$
|
30
|
+
attributelist-pattern=(?u)(^\[\[(?P<id>[\w_:][\w_:.-]*)(,(?P<reftext>.*?))?\]\]$)|(^\[(?P<attrlist>.*)\]$)
|
31
|
+
# Substitution attributes for escaping AsciiDoc processing.
|
32
|
+
amp=&
|
33
|
+
lt=<
|
34
|
+
gt=>
|
35
|
+
brvbar=|
|
36
|
+
nbsp= 
|
37
|
+
zwsp=​
|
38
|
+
wj=⁠
|
39
|
+
deg=°
|
40
|
+
backslash=\
|
41
|
+
two-colons=::
|
42
|
+
two-semicolons=;;
|
43
|
+
# DEPRECATED: underscore attribute names.
|
44
|
+
two_colons=::
|
45
|
+
two_semicolons=;;
|
46
|
+
# Left and right single and double quote characters.
|
47
|
+
# See http://en.wikipedia.org/wiki/Non-English_usage_of_quotation_marks
|
48
|
+
lsquo=‘
|
49
|
+
rsquo=’
|
50
|
+
ldquo=“
|
51
|
+
rdquo=”
|
52
|
+
|
53
|
+
[titles]
|
54
|
+
subs=specialcharacters,quotes,replacements,macros,attributes,replacements2
|
55
|
+
# Double-line title pattern and underlines.
|
56
|
+
sectiontitle=^(?P<title>.*?)$
|
57
|
+
underlines="==","--","~~","^^","++"
|
58
|
+
# Single-line title patterns.
|
59
|
+
sect0=^= +(?P<title>[\S].*?)( +=)?$
|
60
|
+
sect1=^== +(?P<title>[\S].*?)( +==)?$
|
61
|
+
sect2=^=== +(?P<title>[\S].*?)( +===)?$
|
62
|
+
sect3=^==== +(?P<title>[\S].*?)( +====)?$
|
63
|
+
sect4=^===== +(?P<title>[\S].*?)( +=====)?$
|
64
|
+
blocktitle=^\.(?P<title>([^.\s].*)|(\.[^.\s].*))$
|
65
|
+
|
66
|
+
[specialcharacters]
|
67
|
+
&=&
|
68
|
+
<=<
|
69
|
+
>=>
|
70
|
+
|
71
|
+
[quotes]
|
72
|
+
# The order is important, quotes are processed in conf file order.
|
73
|
+
**=#strong
|
74
|
+
*=strong
|
75
|
+
``|''=doublequoted
|
76
|
+
'=emphasis
|
77
|
+
`|'=singlequoted
|
78
|
+
ifdef::no-inline-literal[]
|
79
|
+
`=monospaced
|
80
|
+
endif::no-inline-literal[]
|
81
|
+
# +++ and $$ quoting is applied to the +++ and $$ inline passthrough
|
82
|
+
# macros to allow quoted attributes to be used.
|
83
|
+
# This trick only works with inline passthrough macros.
|
84
|
+
+++=#unquoted
|
85
|
+
$$=#unquoted
|
86
|
+
++=#monospaced
|
87
|
+
+=monospaced
|
88
|
+
__=#emphasis
|
89
|
+
_=emphasis
|
90
|
+
\##=#unquoted
|
91
|
+
\#=unquoted
|
92
|
+
^=#superscript
|
93
|
+
~=#subscript
|
94
|
+
|
95
|
+
[specialwords]
|
96
|
+
emphasizedwords=
|
97
|
+
strongwords=
|
98
|
+
monospacedwords=
|
99
|
+
|
100
|
+
[replacements]
|
101
|
+
# Replacements performed in order of configuration file entry. The first entry
|
102
|
+
# of each replacement pair performs the (non-escaped) replacement, the second
|
103
|
+
# strips the backslash from the escaped replacement.
|
104
|
+
|
105
|
+
# (C) Copyright (entity reference ©)
|
106
|
+
(?<!\\)\(C\)=©
|
107
|
+
\\\(C\)=(C)
|
108
|
+
|
109
|
+
# (R) registered trade mark (entity reference ®
|
110
|
+
(?<!\\)\(R\)=®
|
111
|
+
\\\(R\)=(R)
|
112
|
+
|
113
|
+
# (TM) Trademark (entity reference ™)
|
114
|
+
(?<!\\)\(TM\)=™
|
115
|
+
\\\(TM\)=(TM)
|
116
|
+
|
117
|
+
# -- Spaced and unspaced em dashes (entity reference —).
|
118
|
+
# Space on both sides is translated to thin space characters.
|
119
|
+
(^-- )=— 
|
120
|
+
(\n-- )|( -- )|( --\n)= — 
|
121
|
+
(\w)--(\w)=\1—\2
|
122
|
+
\\--(?!-)=--
|
123
|
+
|
124
|
+
# Replace vertical typewriter apostrophe with punctuation apostrophe.
|
125
|
+
(\w)'(\w)=\1’\2
|
126
|
+
(\w)\\'(\w)=\1'\2
|
127
|
+
|
128
|
+
# ... Ellipsis (entity reference …)
|
129
|
+
(?<!\\)\.\.\.=…
|
130
|
+
\\\.\.\.=...
|
131
|
+
|
132
|
+
# Arrows from the Arrows block of Unicode.
|
133
|
+
# -> right arrow
|
134
|
+
(?<!\\)->=→
|
135
|
+
\\->=->
|
136
|
+
# => right double arrow
|
137
|
+
(?<!\\)\=>=⇒
|
138
|
+
\\\=>==>
|
139
|
+
# <- left arrow
|
140
|
+
(?<!\\)<-=←
|
141
|
+
\\<-=<-
|
142
|
+
# <= left double arrow
|
143
|
+
(?<!\\)<\==⇐
|
144
|
+
\\<\==<=
|
145
|
+
|
146
|
+
# Arbitrary entity references.
|
147
|
+
(?<!\\)&([:_#a-zA-Z][:_.\-\w]*?;)=&\1
|
148
|
+
\\(&[:_#a-zA-Z][:_.\-\w]*?;)=\1
|
149
|
+
|
150
|
+
#-----------
|
151
|
+
# Paragraphs
|
152
|
+
#-----------
|
153
|
+
[paradef-default]
|
154
|
+
delimiter=(?s)(?P<text>\S.*)
|
155
|
+
posattrs=style
|
156
|
+
style=normal
|
157
|
+
template::[paragraph-styles]
|
158
|
+
|
159
|
+
[paradef-literal]
|
160
|
+
delimiter=(?s)(?P<text>\s+.*)
|
161
|
+
options=listelement
|
162
|
+
posattrs=style
|
163
|
+
style=literal
|
164
|
+
template::[paragraph-styles]
|
165
|
+
|
166
|
+
[paradef-admonition]
|
167
|
+
delimiter=(?s)^\s*(?P<style>NOTE|TIP|IMPORTANT|WARNING|CAUTION):\s+(?P<text>.+)
|
168
|
+
template::[paragraph-styles]
|
169
|
+
|
170
|
+
[paragraph-styles]
|
171
|
+
normal-style=template="paragraph"
|
172
|
+
verse-style=template="verseparagraph",posattrs=["style","attribution","citetitle"]
|
173
|
+
quote-style=template="quoteparagraph",posattrs=["style","attribution","citetitle"]
|
174
|
+
literal-style=template="literalparagraph",subs=["verbatim"]
|
175
|
+
listing-style=template="listingparagraph",subs=["verbatim"]
|
176
|
+
NOTE-style=template="admonitionparagraph",name="note",caption="{note-caption}"
|
177
|
+
TIP-style=template="admonitionparagraph",name="tip",caption="{tip-caption}"
|
178
|
+
IMPORTANT-style=template="admonitionparagraph",name="important",caption="{important-caption}"
|
179
|
+
WARNING-style=template="admonitionparagraph",name="warning",caption="{warning-caption}"
|
180
|
+
CAUTION-style=template="admonitionparagraph",name="caution",caption="{caution-caption}"
|
181
|
+
|
182
|
+
[literalparagraph]
|
183
|
+
template::[literalblock]
|
184
|
+
|
185
|
+
[verseparagraph]
|
186
|
+
template::[verseblock]
|
187
|
+
|
188
|
+
[quoteparagraph]
|
189
|
+
template::[quoteblock]
|
190
|
+
|
191
|
+
[listingparagraph]
|
192
|
+
template::[listingblock]
|
193
|
+
|
194
|
+
[macros]
|
195
|
+
#--------------
|
196
|
+
# Inline macros
|
197
|
+
#--------------
|
198
|
+
# Backslash prefix required for escape processing.
|
199
|
+
# (?s) re flag for line spanning.
|
200
|
+
|
201
|
+
# Macros using default syntax.
|
202
|
+
(?su)(?<!\w)[\\]?(?P<name>http|https|ftp|file|irc|mailto|callto|image|link|anchor|xref|indexterm):(?P<target>\S*?)\[(?P<attrlist>.*?)\]=
|
203
|
+
|
204
|
+
# These URL types don't require any special attribute list formatting.
|
205
|
+
(?su)(?<!\S)[\\]?(?P<name>http|https|ftp|file|irc):(?P<target>//[^\s<>]*[\w/])=
|
206
|
+
# Allow a leading parenthesis and square bracket.
|
207
|
+
(?su)(?<\=[([])[\\]?(?P<name>http|https|ftp|file|irc):(?P<target>//[^\s<>]*[\w/])=
|
208
|
+
# Allow <> brackets.
|
209
|
+
(?su)[\\]?<(?P<name>http|https|ftp|file|irc):(?P<target>//[^\s<>]*[\w/])>=
|
210
|
+
|
211
|
+
# Email addresses don't require special attribute list formatting.
|
212
|
+
# The before ">: and after "< character exclusions stop multiple substitution.
|
213
|
+
(?su)(?<![">:\w._/-])[\\]?(?P<target>\w[\w._-]*@[\w._-]*\w)(?!["<\w_-])=mailto
|
214
|
+
|
215
|
+
# Allow footnote macros hard up against the preceding word so the footnote mark
|
216
|
+
# can be placed against the noted text without an intervening space
|
217
|
+
# (http://groups.google.com/group/asciidoc/browse_frm/thread/e1dcb7ee0efc17b5).
|
218
|
+
(?su)[\\]?(?P<name>footnote|footnoteref):(?P<target>\S*?)\[(?P<attrlist>.*?)\]=
|
219
|
+
|
220
|
+
# Anchor: [[[id]]]. Bibliographic anchor.
|
221
|
+
(?su)[\\]?\[\[\[(?P<attrlist>[\w_:][\w_:.-]*?)\]\]\]=anchor3
|
222
|
+
# Anchor: [[id,xreflabel]]
|
223
|
+
(?su)[\\]?\[\[(?P<attrlist>[\w"_:].*?)\]\]=anchor2
|
224
|
+
# Link: <<id,text>>
|
225
|
+
(?su)[\\]?<<(?P<attrlist>[\w"_:].*?)>>=xref2
|
226
|
+
|
227
|
+
ifdef::asciidoc7compatible[]
|
228
|
+
# Index term: ++primary,secondary,tertiary++
|
229
|
+
(?su)(?<!\S)[\\]?\+\+(?P<attrlist>[^+].*?)\+\+(?!\+)=indexterm
|
230
|
+
# Index term: +primary+
|
231
|
+
# Follows ++...++ macro otherwise it will match them.
|
232
|
+
(?<!\S)[\\]?\+(?P<attrlist>[^\s\+][^+].*?)\+(?!\+)=indexterm2
|
233
|
+
endif::asciidoc7compatible[]
|
234
|
+
|
235
|
+
ifndef::asciidoc7compatible[]
|
236
|
+
# Index term: (((primary,secondary,tertiary)))
|
237
|
+
(?su)(?<!\()[\\]?\(\(\((?P<attrlist>[^(].*?)\)\)\)(?!\))=indexterm
|
238
|
+
# Index term: ((primary))
|
239
|
+
# Follows (((...))) macro otherwise it will match them.
|
240
|
+
(?<!\()[\\]?\(\((?P<attrlist>[^\s\(][^(].*?)\)\)(?!\))=indexterm2
|
241
|
+
endif::asciidoc7compatible[]
|
242
|
+
|
243
|
+
# Callout
|
244
|
+
[\\]?<(?P<index>\d+)>=callout
|
245
|
+
|
246
|
+
# Passthrough macros.
|
247
|
+
(?su)[\\]?(?P<name>pass):(?P<subslist>\S*?)\[(?P<passtext>.*?)(?<!\\)\]=[]
|
248
|
+
|
249
|
+
# Triple-plus and double-dollar inline passthroughs.
|
250
|
+
(?su)[\\]?\+\+\+(?P<passtext>.*?)\+\+\+=pass[]
|
251
|
+
(?su)[\\]?\$\$(?P<passtext>.*?)\$\$=pass[specialcharacters]
|
252
|
+
|
253
|
+
# Inline literal.
|
254
|
+
ifndef::no-inline-literal[]
|
255
|
+
(?su)(?<![`\w])([\\]?`(?P<passtext>[^`\s]|[^`\s].*?\S)`)(?![`\w])=literal[specialcharacters]
|
256
|
+
endif::no-inline-literal[]
|
257
|
+
|
258
|
+
# Inline comment.
|
259
|
+
(?mu)^[\\]?//(?P<passtext>[^/].*|)$=comment[specialcharacters]
|
260
|
+
|
261
|
+
# Default (catchall) inline macro is not implemented so there is no ambiguity
|
262
|
+
# with previous definition that could result in double substitution of escaped
|
263
|
+
# references.
|
264
|
+
#(?su)[\\]?(?P<name>\w(\w|-)*?):(?P<target>\S*?)\[(?P<passtext>.*?)(?<!\\)\]=
|
265
|
+
|
266
|
+
#-------------
|
267
|
+
# Block macros
|
268
|
+
#-------------
|
269
|
+
# Macros using default syntax.
|
270
|
+
(?u)^(?P<name>image|unfloat)::(?P<target>\S*?)(\[(?P<attrlist>.*?)\])$=#
|
271
|
+
|
272
|
+
# Passthrough macros.
|
273
|
+
(?u)^(?P<name>pass)::(?P<subslist>\S*?)(\[(?P<passtext>.*?)\])$=#
|
274
|
+
|
275
|
+
^'{3,}$=#ruler
|
276
|
+
^<{3,}$=#pagebreak
|
277
|
+
^//(?P<passtext>[^/].*|)$=#comment[specialcharacters]
|
278
|
+
|
279
|
+
[unfloat-blockmacro]
|
280
|
+
# Implemented in HTML backends.
|
281
|
+
|
282
|
+
#-----------------
|
283
|
+
# Delimited blocks
|
284
|
+
#-----------------
|
285
|
+
[blockdef-comment]
|
286
|
+
delimiter=^/{4,}$
|
287
|
+
options=skip
|
288
|
+
|
289
|
+
[blockdef-sidebar]
|
290
|
+
delimiter=^\*{4,}$
|
291
|
+
template=sidebarblock
|
292
|
+
options=sectionbody
|
293
|
+
posattrs=style
|
294
|
+
# DEPRECATED: Use Openblock instead.
|
295
|
+
abstract-style=template="abstractblock"
|
296
|
+
|
297
|
+
[blockdef-open]
|
298
|
+
# A block without opening or closing tags.
|
299
|
+
delimiter=^--$
|
300
|
+
template=openblock
|
301
|
+
options=sectionbody
|
302
|
+
posattrs=style
|
303
|
+
abstract-style=template="abstractblock"
|
304
|
+
partintro-style=template="partintroblock"
|
305
|
+
|
306
|
+
[blockdef-pass]
|
307
|
+
delimiter=^\+{4,}$
|
308
|
+
template=passblock
|
309
|
+
# Default subs choosen for backward compatibility.
|
310
|
+
subs=attributes,macros
|
311
|
+
posattrs=style
|
312
|
+
pass-style=template="passblock",subs=[]
|
313
|
+
|
314
|
+
[blockdef-listing]
|
315
|
+
delimiter=^-{4,}$
|
316
|
+
template=listingblock
|
317
|
+
subs=verbatim
|
318
|
+
posattrs=style
|
319
|
+
|
320
|
+
[blockdef-literal]
|
321
|
+
delimiter=^\.{4,}$
|
322
|
+
template=literalblock
|
323
|
+
subs=verbatim
|
324
|
+
posattrs=style
|
325
|
+
listing-style=template="listingblock"
|
326
|
+
# DEPRECATED: Use verse style on quote blocks instead.
|
327
|
+
verse-style=template="verseblock",subs="normal"
|
328
|
+
|
329
|
+
[blockdef-quote]
|
330
|
+
delimiter=^_{4,}$
|
331
|
+
subs=normal
|
332
|
+
style=quote
|
333
|
+
posattrs=style,attribution,citetitle
|
334
|
+
quote-style=template="quoteblock",options=("sectionbody",)
|
335
|
+
verse-style=template="verseblock"
|
336
|
+
|
337
|
+
[blockdef-example]
|
338
|
+
delimiter=^={4,}$
|
339
|
+
template=exampleblock
|
340
|
+
options=sectionbody
|
341
|
+
posattrs=style
|
342
|
+
NOTE-style=template="admonitionblock",name="note",caption="{note-caption}"
|
343
|
+
TIP-style=template="admonitionblock",name="tip",caption="{tip-caption}"
|
344
|
+
IMPORTANT-style=template="admonitionblock",name="important",caption="{important-caption}"
|
345
|
+
WARNING-style=template="admonitionblock",name="warning",caption="{warning-caption}"
|
346
|
+
CAUTION-style=template="admonitionblock",name="caution",caption="{caution-caption}"
|
347
|
+
|
348
|
+
# For use by custom filters.
|
349
|
+
# DEPRECATED: No longer used, a styled listing block (blockdef-listing) is preferable.
|
350
|
+
[blockdef-filter]
|
351
|
+
delimiter=^~{4,}$
|
352
|
+
template=listingblock
|
353
|
+
subs=none
|
354
|
+
posattrs=style
|
355
|
+
|
356
|
+
#-------
|
357
|
+
# Lists
|
358
|
+
#-------
|
359
|
+
[listdef-bulleted]
|
360
|
+
# - bullets.
|
361
|
+
delimiter=^\s*- +(?P<text>.+)$
|
362
|
+
posattrs=style
|
363
|
+
type=bulleted
|
364
|
+
tags=bulleted
|
365
|
+
callout-style=tags="callout"
|
366
|
+
bibliography-style=tags="bibliography"
|
367
|
+
|
368
|
+
[listdef-bulleted1]
|
369
|
+
# * bullets.
|
370
|
+
template::[listdef-bulleted]
|
371
|
+
delimiter=^\s*\* +(?P<text>.+)$
|
372
|
+
|
373
|
+
[listdef-bulleted2]
|
374
|
+
# ** bullets.
|
375
|
+
template::[listdef-bulleted]
|
376
|
+
delimiter=^\s*\*{2} +(?P<text>.+)$
|
377
|
+
|
378
|
+
[listdef-bulleted3]
|
379
|
+
# *** bullets.
|
380
|
+
template::[listdef-bulleted]
|
381
|
+
delimiter=^\s*\*{3} +(?P<text>.+)$
|
382
|
+
|
383
|
+
[listdef-bulleted4]
|
384
|
+
# **** bullets.
|
385
|
+
template::[listdef-bulleted]
|
386
|
+
delimiter=^\s*\*{4} +(?P<text>.+)$
|
387
|
+
|
388
|
+
[listdef-bulleted5]
|
389
|
+
# ***** bullets.
|
390
|
+
template::[listdef-bulleted]
|
391
|
+
delimiter=^\s*\*{5} +(?P<text>.+)$
|
392
|
+
|
393
|
+
[listdef-arabic]
|
394
|
+
# Arabic numbering.
|
395
|
+
delimiter=^\s*(?P<index>\d+\.) +(?P<text>.+)$
|
396
|
+
posattrs=style
|
397
|
+
type=numbered
|
398
|
+
tags=numbered
|
399
|
+
style=arabic
|
400
|
+
|
401
|
+
[listdef-loweralpha]
|
402
|
+
# Lower alpha numbering.
|
403
|
+
template::[listdef-arabic]
|
404
|
+
delimiter=^\s*(?P<index>[a-z]\.) +(?P<text>.+)$
|
405
|
+
style=loweralpha
|
406
|
+
|
407
|
+
[listdef-upperalpha]
|
408
|
+
# Upper alpha numbering.
|
409
|
+
template::[listdef-arabic]
|
410
|
+
delimiter=^\s*(?P<index>[A-Z]\.) +(?P<text>.+)$
|
411
|
+
style=upperalpha
|
412
|
+
|
413
|
+
[listdef-lowerroman]
|
414
|
+
# Lower roman numbering.
|
415
|
+
template::[listdef-arabic]
|
416
|
+
delimiter=^\s*(?P<index>[ivx]+\)) +(?P<text>.+)$
|
417
|
+
style=lowerroman
|
418
|
+
|
419
|
+
[listdef-upperroman]
|
420
|
+
# Upper roman numbering.
|
421
|
+
template::[listdef-arabic]
|
422
|
+
delimiter=^\s*(?P<index>[IVX]+\)) +(?P<text>.+)$
|
423
|
+
style=upperroman
|
424
|
+
|
425
|
+
[listdef-numbered1]
|
426
|
+
# . numbering.
|
427
|
+
template::[listdef-arabic]
|
428
|
+
delimiter=^\s*\. +(?P<text>.+)$
|
429
|
+
|
430
|
+
[listdef-numbered2]
|
431
|
+
# .. numbering.
|
432
|
+
template::[listdef-loweralpha]
|
433
|
+
delimiter=^\s*\.{2} +(?P<text>.+)$
|
434
|
+
|
435
|
+
[listdef-numbered3]
|
436
|
+
# ... numbering.
|
437
|
+
template::[listdef-lowerroman]
|
438
|
+
delimiter=^\s*\.{3} +(?P<text>.+)$
|
439
|
+
|
440
|
+
[listdef-numbered4]
|
441
|
+
# .... numbering.
|
442
|
+
template::[listdef-upperalpha]
|
443
|
+
delimiter=^\s*\.{4} +(?P<text>.+)$
|
444
|
+
|
445
|
+
[listdef-numbered5]
|
446
|
+
# ..... numbering.
|
447
|
+
template::[listdef-upperroman]
|
448
|
+
delimiter=^\s*\.{5} +(?P<text>.+)$
|
449
|
+
|
450
|
+
[listdef-labeled]
|
451
|
+
# label:: item.
|
452
|
+
delimiter=^\s*(?P<label>.*[^:])::(\s+(?P<text>.+))?$
|
453
|
+
posattrs=style
|
454
|
+
type=labeled
|
455
|
+
tags=labeled
|
456
|
+
vertical-style=tags="labeled"
|
457
|
+
horizontal-style=tags="horizontal"
|
458
|
+
glossary-style=tags="glossary"
|
459
|
+
qanda-style=tags="qanda"
|
460
|
+
|
461
|
+
[listdef-labeled2]
|
462
|
+
# label;; item.
|
463
|
+
template::[listdef-labeled]
|
464
|
+
delimiter=^\s*(?P<label>.*[^;]);;(\s+(?P<text>.+))?$
|
465
|
+
|
466
|
+
[listdef-labeled3]
|
467
|
+
# label::: item.
|
468
|
+
template::[listdef-labeled]
|
469
|
+
delimiter=^\s*(?P<label>.*[^:]):{3}(\s+(?P<text>.+))?$
|
470
|
+
|
471
|
+
[listdef-labeled4]
|
472
|
+
# label:::: item.
|
473
|
+
template::[listdef-labeled]
|
474
|
+
delimiter=^\s*(?P<label>.*[^:]):{4}(\s+(?P<text>.+))?$
|
475
|
+
|
476
|
+
[listdef-callout]
|
477
|
+
posattrs=style
|
478
|
+
delimiter=^<?(?P<index>\d*>) +(?P<text>.+)$
|
479
|
+
type=callout
|
480
|
+
tags=callout
|
481
|
+
style=arabic
|
482
|
+
|
483
|
+
# DEPRECATED: Old list syntax.
|
484
|
+
[listdef-qanda]
|
485
|
+
posattrs=style
|
486
|
+
delimiter=^\s*(?P<label>.*\S)\?\?$
|
487
|
+
type=labeled
|
488
|
+
tags=qanda
|
489
|
+
|
490
|
+
# DEPRECATED: Old list syntax.
|
491
|
+
[listdef-bibliography]
|
492
|
+
posattrs=style
|
493
|
+
delimiter=^\+ +(?P<text>.+)$
|
494
|
+
type=bulleted
|
495
|
+
tags=bibliography
|
496
|
+
|
497
|
+
# DEPRECATED: Old list syntax.
|
498
|
+
[listdef-glossary]
|
499
|
+
delimiter=^(?P<label>.*\S):-$
|
500
|
+
posattrs=style
|
501
|
+
type=labeled
|
502
|
+
tags=glossary
|
503
|
+
|
504
|
+
#-------
|
505
|
+
# Tables
|
506
|
+
#-------
|
507
|
+
[tabledef-default]
|
508
|
+
delimiter=^\|={3,}$
|
509
|
+
posattrs=style
|
510
|
+
template=table
|
511
|
+
default-style=tags="default"
|
512
|
+
verse-style=tags="verse"
|
513
|
+
literal-style=tags="literal",subs=["specialcharacters"]
|
514
|
+
emphasis-style=tags="emphasis"
|
515
|
+
strong-style=tags="strong"
|
516
|
+
monospaced-style=tags="monospaced"
|
517
|
+
header-style=tags="header"
|
518
|
+
asciidoc-style=tags="asciidoc",subs=[],filter='python "{asciidoc-file}" -b {backend} {asciidoc-args}{lang? -a "lang={lang}@"}{icons? -a icons -a "iconsdir={iconsdir}"}{imagesdir? -a "imagesdir={imagesdir}"}{data-uri? -a data-uri} -a "indir={indir}"{trace? -a "trace={trace}"} -s -'
|
519
|
+
|
520
|
+
[tabledef-nested]
|
521
|
+
# Same as [tabledef-default] but with different delimiter and separator.
|
522
|
+
delimiter=^!={3,}$
|
523
|
+
separator=((?<!\S)((?P<span>[\d.]+)(?P<op>[*+]))?(?P<align>[<\^>.]{,3})?(?P<style>[a-z])?)?!
|
524
|
+
posattrs=style
|
525
|
+
template=table
|
526
|
+
verse-style=tags="verse"
|
527
|
+
literal-style=tags="literal",subs=["specialcharacters"]
|
528
|
+
emphasis-style=tags="emphasis"
|
529
|
+
strong-style=tags="strong"
|
530
|
+
monospaced-style=tags="monospaced"
|
531
|
+
header-style=tags="header"
|
532
|
+
asciidoc-style=tags="asciidoc",subs=[],filter='python "{asciidoc-file}" -b {backend} {asciidoc-args}{lang? -a "lang={lang}@"} -s -'
|
533
|
+
|
534
|
+
#----------------------------------------
|
535
|
+
# Common block and macro markup templates
|
536
|
+
#----------------------------------------
|
537
|
+
[comment-inlinemacro]
|
538
|
+
# Outputs nothing.
|
539
|
+
|
540
|
+
[comment-blockmacro]
|
541
|
+
# Outputs nothing.
|
542
|
+
|
543
|
+
[pass-blockmacro]
|
544
|
+
{passtext}
|
545
|
+
|
546
|
+
[pass-inlinemacro]
|
547
|
+
template::[pass-blockmacro]
|
548
|
+
|
549
|
+
[passblock]
|
550
|
+
|
|
551
|
+
|
552
|
+
[filter-image-blockmacro]
|
553
|
+
# Synthesize missing target attribute for filter generated file names.
|
554
|
+
# The tag split | ensures missing target file names are auto-generated
|
555
|
+
# before the filter is executed, the remainder (the [image-blockmacro])
|
556
|
+
# is excuted after the filter to ensure data URI encoding comes after
|
557
|
+
# the image is created.
|
558
|
+
{target%}{counter2:target-number}
|
559
|
+
{target%}{set2:target:{docname}__{target-number}.png}
|
560
|
+
|
|
561
|
+
template::[image-blockmacro]
|
562
|
+
|
563
|
+
#----------------------------------
|
564
|
+
# Default special section templates
|
565
|
+
#----------------------------------
|
566
|
+
[abstract]
|
567
|
+
template::[sect1]
|
568
|
+
|
569
|
+
[colophon]
|
570
|
+
template::[sect1]
|
571
|
+
|
572
|
+
[dedication]
|
573
|
+
template::[sect1]
|
574
|
+
|
575
|
+
[preface]
|
576
|
+
template::[sect1]
|
577
|
+
|
578
|
+
[appendix]
|
579
|
+
template::[sect1]
|
580
|
+
|
581
|
+
[glossary]
|
582
|
+
template::[sect1]
|
583
|
+
|
584
|
+
[bibliography]
|
585
|
+
template::[sect1]
|
586
|
+
|
587
|
+
[index]
|
588
|
+
template::[sect1]
|
589
|
+
|
590
|
+
[synopsis]
|
591
|
+
template::[sect1]
|
592
|
+
|
593
|
+
#--------------------------------------------------------------------
|
594
|
+
# Deprecated old table definitions.
|
595
|
+
#
|
596
|
+
|
597
|
+
[old_tabledef-default]
|
598
|
+
fillchar=-
|
599
|
+
format=fixed
|
600
|
+
|
601
|
+
[old_tabledef-csv]
|
602
|
+
fillchar=~
|
603
|
+
format=csv
|
604
|
+
|
605
|
+
[old_tabledef-dsv]
|
606
|
+
fillchar=_
|
607
|
+
format=dsv
|
608
|
+
|
609
|
+
# End of deprecated old table definitions.
|
610
|
+
#--------------------------------------------------------------------
|