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/help.conf
CHANGED
@@ -14,117 +14,179 @@ Syntax: asciidoc --help syntax
|
|
14
14
|
|
15
15
|
[manpage]
|
16
16
|
|
17
|
-
|
18
17
|
NAME
|
19
18
|
|
20
|
-
|
19
|
+
asciidoc - converts an AsciiDoc text file to HTML or DocBook
|
20
|
+
|
21
21
|
|
22
22
|
SYNOPSIS
|
23
23
|
|
24
|
-
|
24
|
+
asciidoc [OPTIONS] FILE
|
25
|
+
|
25
26
|
|
26
27
|
DESCRIPTION
|
27
28
|
|
28
|
-
|
29
|
-
|
30
|
-
|
29
|
+
The asciidoc(1) command translates the AsciiDoc text file FILE to
|
30
|
+
DocBook or HTML. If FILE is - then the standard input is used.
|
31
|
+
|
31
32
|
|
32
33
|
OPTIONS
|
33
34
|
|
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
|
-
|
35
|
+
-a, --attribute=ATTRIBUTE
|
36
|
+
Define or delete document attribute. ATTRIBUTE is formatted like
|
37
|
+
NAME=VALUE. Command-line attributes take precedence over
|
38
|
+
document and configuration file attributes. Alternate acceptable
|
39
|
+
forms are NAME (the VALUE defaults to an empty string);
|
40
|
+
NAME! (delete the NAME attribute); NAME@ (do not override
|
41
|
+
document or configuration file attributes). Values containing
|
42
|
+
spaces should be enclosed in double-quote characters. This option
|
43
|
+
may be specified more than once. A special attribute named
|
44
|
+
trace controls the output of diagnostic information.
|
45
|
+
|
46
|
+
-b, --backend=BACKEND
|
47
|
+
Backend output file format: docbook45, xhtml11, html4,
|
48
|
+
wordpress or latex (the latex backend is experimental).
|
49
|
+
You can also the backend alias names html (aliased to xhtml11)
|
50
|
+
or docbook (aliased to docbook45).
|
51
|
+
Defaults to html.
|
52
|
+
|
53
|
+
-f, --conf-file=CONF_FILE
|
54
|
+
Use configuration file CONF_FILE.Configuration files processed
|
55
|
+
in command-line order (after implicit configuration files). This
|
56
|
+
option may be specified more than once.
|
57
|
+
|
58
|
+
--doctest
|
59
|
+
Run Python doctests in asciidoc module.
|
60
|
+
|
61
|
+
-d, --doctype=DOCTYPE
|
62
|
+
Document type: article, manpage or book. The book document
|
63
|
+
type is only supported by the docbook backend. Default document
|
64
|
+
type is article.
|
65
|
+
|
66
|
+
-c, --dump-conf
|
67
|
+
Dump configuration to stdout.
|
68
|
+
|
69
|
+
-h, --help [TOPIC]
|
70
|
+
Print help TOPIC. '--help topics' will print a list of help
|
71
|
+
topics, '--help syntax' summarizes AsciiDoc syntax,
|
72
|
+
'--help manpage' prints the AsciiDoc manpage.
|
73
|
+
|
74
|
+
-e, --no-conf
|
75
|
+
Exclude implicitly loaded configuration files except for those
|
76
|
+
named like the input file (infile.conf and
|
77
|
+
infile-backend.conf).
|
78
|
+
|
79
|
+
-s, --no-header-footer
|
80
|
+
Suppress document header and footer output.
|
81
|
+
|
82
|
+
-o, --out-file=OUT_FILE
|
83
|
+
Write output to file OUT_FILE. Defaults to the base name of
|
84
|
+
input file with backend extension. If the input is stdin then
|
85
|
+
the outfile defaults to stdout. If OUT_FILE is - then the
|
86
|
+
standard output is used.
|
87
|
+
|
88
|
+
-n, --section-numbers
|
89
|
+
Auto-number HTML article section titles. Synonym for -a
|
90
|
+
numbered.
|
91
|
+
|
92
|
+
--safe
|
93
|
+
Enable safe mode. Safe mode is disabled by default. AsciiDoc
|
94
|
+
safe mode skips potentially dangerous scripted sections in
|
95
|
+
AsciiDoc source files.
|
96
|
+
|
97
|
+
-v, --verbose
|
98
|
+
Verbosely print processing information and configuration file
|
99
|
+
checks to stderr.
|
100
|
+
|
101
|
+
--version
|
102
|
+
Print program version number.
|
103
|
+
|
104
|
+
FILTER COMMANDS
|
105
|
+
|
106
|
+
For more information about filters, type 'asciidoc --help filters'.
|
93
107
|
|
94
108
|
EXIT STATUS
|
95
109
|
|
96
|
-
|
97
|
-
|
110
|
+
0
|
111
|
+
Success
|
112
|
+
|
113
|
+
1
|
114
|
+
Failure (syntax or usage error; configuration error; document
|
115
|
+
processing failure; unexpected error).
|
98
116
|
|
99
|
-
1
|
100
|
-
Failure (syntax or usage error; configuration error; document
|
101
|
-
processing failure; unexpected error).
|
102
117
|
|
103
118
|
BUGS
|
104
119
|
|
105
|
-
|
120
|
+
See the AsciiDoc distribution BUGS file.
|
121
|
+
|
106
122
|
|
107
123
|
AUTHOR
|
108
124
|
|
109
|
-
|
125
|
+
AsciiDoc was originally written by Stuart Rackham. Many people have
|
126
|
+
contributed to it.
|
127
|
+
|
110
128
|
|
111
129
|
RESOURCES
|
112
130
|
|
113
|
-
|
131
|
+
SourceForge: <http://sourceforge.net/projects/asciidoc/>
|
132
|
+
|
133
|
+
Main web site: <http://www.methods.co.nz/asciidoc/>
|
114
134
|
|
115
|
-
Main web site: http://www.methods.co.nz/asciidoc/
|
116
135
|
|
117
136
|
COPYING
|
118
137
|
|
119
|
-
|
120
|
-
|
138
|
+
Copyright (C) 2002-2011 Stuart Rackham. Free use of this software is
|
139
|
+
granted under the terms of the GNU General Public License (GPL).
|
140
|
+
|
141
|
+
|
142
|
+
[filters]
|
143
|
+
|
144
|
+
FILTER COMMANDS
|
145
|
+
|
146
|
+
The --filter option is used to install, remove and list AsciiDoc filter
|
147
|
+
plugins. Filter commands syntax:
|
148
|
+
|
149
|
+
asciidoc --filter install ZIP_FILE [FILTERS_DIR]
|
150
|
+
asciidoc --filter remove FILTER_NAME [FILTERS_DIR]
|
151
|
+
asciidoc --filter list
|
152
|
+
|
153
|
+
Where:
|
154
|
+
|
155
|
+
FILTER_NAME
|
156
|
+
A unique filter name containing only alphanumeric or underscore
|
157
|
+
characters.
|
158
|
+
|
159
|
+
ZIP_FILE
|
160
|
+
A Zip file containing filter resources, the name must start with
|
161
|
+
the filter name e.g. my_filter-1.0.zip packages filter my_filter.
|
162
|
+
|
163
|
+
FILTERS_DIR
|
164
|
+
The directory containing installed filters. Each filter is
|
165
|
+
contained in its own separate subdirectory which has the same name
|
166
|
+
as the filter. FILTERS_DIR defaults to the .asciidoc/filters
|
167
|
+
directory in the user's home directory.
|
168
|
+
|
169
|
+
The filter commands perform as follows:
|
170
|
+
|
171
|
+
install
|
172
|
+
Create a subdirectory in FILTERS_DIR with the same name as the
|
173
|
+
filter then extract the ZIP_FILE into it.
|
174
|
+
|
175
|
+
remove
|
176
|
+
Delete the FILTER_NAME filter subdirectory and all its contents
|
177
|
+
from the FILTERS_DIR.
|
178
|
+
|
179
|
+
list
|
180
|
+
List the names and locations of all installed filters (including
|
181
|
+
standard filters installed in the global configuration directory).
|
182
|
+
|
121
183
|
|
122
184
|
[syntax]
|
123
185
|
|
124
186
|
AsciiDoc Markup Syntax Summary
|
125
187
|
==============================
|
126
188
|
|
127
|
-
A summary of the most
|
189
|
+
A summary of the most commonly used markup.
|
128
190
|
For a complete reference see the 'AsciiDoc User Guide'.
|
129
191
|
|
130
192
|
Text formatting
|
@@ -133,7 +195,7 @@ Text formatting
|
|
133
195
|
_emphasized text_ (normally italics)
|
134
196
|
'emphasized text'
|
135
197
|
+monospaced text+ (proportional font)
|
136
|
-
`monospaced text`
|
198
|
+
`monospaced text` (inline literal passthrough)
|
137
199
|
|
138
200
|
Document links
|
139
201
|
--------------
|
@@ -158,26 +220,50 @@ Document header
|
|
158
220
|
|
159
221
|
The Document Title
|
160
222
|
==================
|
161
|
-
author <email>
|
162
|
-
revision, date
|
223
|
+
author <email>
|
224
|
+
revision, date
|
225
|
+
|
226
|
+
author, email, revision and date are optional.
|
163
227
|
|
164
228
|
Section title underlines
|
165
229
|
------------------------
|
166
|
-
|
167
|
-
|
168
|
-
Level
|
169
|
-
|
170
|
-
Level
|
230
|
+
Underlined:
|
231
|
+
|
232
|
+
Level 0 (document title)
|
233
|
+
=======
|
234
|
+
Level 1
|
235
|
+
-------
|
236
|
+
Level 2
|
237
|
+
~~~~~~~
|
238
|
+
Level 3
|
239
|
+
^^^^^^^
|
240
|
+
Level 4 (bottom level)
|
241
|
+
+++++++
|
242
|
+
|
243
|
+
Single line:
|
244
|
+
|
245
|
+
= Level 0 = (document title)
|
246
|
+
== Level 1 ==
|
247
|
+
=== Level 2 ===
|
248
|
+
==== Level 3 ====
|
249
|
+
===== Level 4 ===== (bottom level)
|
250
|
+
|
251
|
+
Paragraphs
|
252
|
+
----------
|
253
|
+
A normal paragraph. (styles: literal,verse,quote,listing,
|
254
|
+
NOTE,TIP,WARNING,IMPORTANT,CAUTION)
|
255
|
+
An indented literal
|
256
|
+
paragraph.
|
171
257
|
|
172
258
|
Delimited blocks
|
173
259
|
----------------
|
174
260
|
Delimiters must begin at left margin.
|
175
261
|
|
176
|
-
-------------------
|
262
|
+
------------------- (styles: source,music,graphviz)
|
177
263
|
listing block
|
178
264
|
-------------------
|
179
265
|
|
180
|
-
...................
|
266
|
+
................... (styles: listing,verse)
|
181
267
|
literal block
|
182
268
|
...................
|
183
269
|
|
@@ -185,27 +271,106 @@ Delimiters must begin at left margin.
|
|
185
271
|
sidebar block
|
186
272
|
*******************
|
187
273
|
|
188
|
-
[style, author, cite]
|
189
|
-
___________________
|
274
|
+
[style, author, cite]
|
275
|
+
___________________ (styles: quote,verse)
|
190
276
|
quote block
|
191
277
|
___________________
|
192
278
|
|
193
|
-
===================
|
194
|
-
example block
|
279
|
+
=================== (styles: NOTE,TIP,WARNING,
|
280
|
+
example block IMPORTANT,CAUTION)
|
195
281
|
===================
|
196
282
|
|
197
283
|
///////////////////
|
198
284
|
comment block
|
199
285
|
///////////////////
|
200
286
|
|
287
|
+
+++++++++++++++++++ (styles: pass,asciimath,latexmath)
|
288
|
+
passthrough block
|
289
|
+
+++++++++++++++++++
|
290
|
+
|
291
|
+
[style] (styles: abstract,partintro)
|
292
|
+
--
|
293
|
+
open block
|
294
|
+
--
|
295
|
+
|
201
296
|
More block elements
|
202
297
|
-------------------
|
203
|
-
[attributes list]
|
204
|
-
.Block title
|
205
|
-
// Comment line
|
206
|
-
include::filename[]
|
298
|
+
[attributes list]
|
299
|
+
.Block title
|
300
|
+
// Comment line
|
301
|
+
include::filename[]
|
302
|
+
|
303
|
+
Tables
|
304
|
+
------
|
305
|
+
.An example table
|
306
|
+
[width="40%",cols="^,2m",frame="topbot",options="header,footer"]
|
307
|
+
|======================
|
308
|
+
|Column 1 |Column 2
|
309
|
+
|1 |Item 1
|
310
|
+
|2 |Item 2
|
311
|
+
|3 |Item 3
|
312
|
+
|6 |Three items
|
313
|
+
|======================
|
314
|
+
|
315
|
+
Common attributes:
|
316
|
+
|
317
|
+
grid: none,cols,rows,all
|
318
|
+
frame: topbot,none,sides,all
|
319
|
+
options: header,footer
|
320
|
+
format: psv,csv,dsv
|
321
|
+
valign: top,bottom,middle
|
322
|
+
width: 1%..100%
|
323
|
+
cols: colspec[,colspec,...]
|
324
|
+
|
325
|
+
colspec: [multiplier*][align][width][style]
|
326
|
+
multiplier: 1...
|
327
|
+
width: 1... or 1%...100%
|
328
|
+
align: [horiz][.vert]
|
329
|
+
horiz: < (left), ^ (center), > (right)
|
330
|
+
vert: < (top), ^ (middle), > (bottom)
|
331
|
+
style: d[efault], e[mphasis], m[onospaced], a[sciidoc],
|
332
|
+
s[trong], l[iteral], v[erse], h[eader]
|
333
|
+
cell: [cellspec]|data
|
334
|
+
cellspec: [span*|+][align][style]
|
335
|
+
span: [colspan][.rowspan]
|
336
|
+
colspan: 1...
|
337
|
+
rowspan: 1...
|
338
|
+
|
339
|
+
Bulleted lists
|
340
|
+
--------------
|
341
|
+
- item text
|
342
|
+
* item text
|
343
|
+
** item text
|
344
|
+
*** item text
|
345
|
+
**** item text
|
346
|
+
***** item text
|
207
347
|
|
208
|
-
|
348
|
+
(styles: callout,bibliography)
|
349
|
+
|
350
|
+
Numbered lists
|
351
|
+
--------------
|
352
|
+
1. arabic (decimal) numbering
|
353
|
+
a. loweralpha numbering
|
354
|
+
F. upperalpha numbering
|
355
|
+
iii) lowerroman numbering
|
356
|
+
IX) upperroman numbering
|
357
|
+
|
358
|
+
. arabic (decimal) numbering
|
359
|
+
.. loweralpha numbering
|
360
|
+
... lowerroman numbering
|
361
|
+
.... upperalpha numbering
|
362
|
+
..... upperroman numbering
|
363
|
+
|
364
|
+
(styles: arabic,loweralpha,upperalpha,lowerroman,upperroman)
|
365
|
+
|
366
|
+
Labeled lists
|
367
|
+
-------------
|
368
|
+
label:: item text
|
369
|
+
label;; item text
|
370
|
+
label::: item text
|
371
|
+
label:::: item text
|
372
|
+
|
373
|
+
(styles: horizontal,vertical,glossary,qanda,bibliograpy)
|
209
374
|
|
210
375
|
More inline elements
|
211
376
|
--------------------
|
data/asciidoc/html4.conf
CHANGED
@@ -1,460 +1,505 @@
|
|
1
|
-
#
|
2
|
-
# html4.conf
|
3
|
-
#
|
4
|
-
# Asciidoc HTML 4.01 configuration file.
|
5
|
-
#
|
6
|
-
|
7
|
-
[miscellaneous]
|
8
|
-
outfilesuffix=.html
|
9
|
-
|
10
|
-
[attributes]
|
11
|
-
basebackend=html
|
12
|
-
basebackend-html=
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
[
|
28
|
-
<
|
29
|
-
|
30
|
-
[
|
31
|
-
|
32
|
-
|
33
|
-
[pi-
|
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
|
-
item=<
|
100
|
-
text=<p>|</p>
|
101
|
-
|
102
|
-
[listtags-
|
103
|
-
list={id?<a name="{id}"></a>}{title?<p><b>{title}</b></p>}<
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
item=<
|
121
|
-
text=<p>|</p>
|
122
|
-
|
123
|
-
[listtags-
|
124
|
-
list={id?<a name="{id}"></a>}{title?<p><b>{title}</b></p>}<
|
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
|
-
<a href="
|
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
|
-
<a
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
[
|
206
|
-
<
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
</
|
213
|
-
|
214
|
-
[
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
[
|
222
|
-
<a name="{id}"></a>
|
223
|
-
<
|
224
|
-
<tr><td>
|
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
|
-
<a name="{id}"></a>
|
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
|
-
|
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
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
{headrows#}
|
354
|
-
{
|
355
|
-
{
|
356
|
-
{footrows#}
|
357
|
-
|
358
|
-
{
|
359
|
-
|
360
|
-
|
361
|
-
</
|
362
|
-
|
363
|
-
|
364
|
-
#
|
365
|
-
|
366
|
-
|
367
|
-
[
|
368
|
-
#
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
[
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
</
|
402
|
-
|
403
|
-
|
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
|
-
|
456
|
-
|
457
|
-
|
458
|
-
|
459
|
-
|
460
|
-
|
1
|
+
#
|
2
|
+
# html4.conf
|
3
|
+
#
|
4
|
+
# Asciidoc HTML 4.01 configuration file.
|
5
|
+
#
|
6
|
+
|
7
|
+
[miscellaneous]
|
8
|
+
outfilesuffix=.html
|
9
|
+
|
10
|
+
[attributes]
|
11
|
+
basebackend=html
|
12
|
+
basebackend-html=
|
13
|
+
basebackend-html4=
|
14
|
+
|
15
|
+
[replacements2]
|
16
|
+
# Line break.
|
17
|
+
(?m)^(.*)\s\+$=\1<br>
|
18
|
+
|
19
|
+
[replacements]
|
20
|
+
ifdef::asciidoc7compatible[]
|
21
|
+
# Superscripts.
|
22
|
+
\^(.+?)\^=<sup>\1</sup>
|
23
|
+
# Subscripts.
|
24
|
+
~(.+?)~=<sub>\1</sub>
|
25
|
+
endif::asciidoc7compatible[]
|
26
|
+
|
27
|
+
[ruler-blockmacro]
|
28
|
+
<hr>
|
29
|
+
|
30
|
+
[pagebreak-blockmacro]
|
31
|
+
<div style="page-break-after:always"></div>
|
32
|
+
|
33
|
+
[pi-blockmacro]
|
34
|
+
<?{target}{0? {0}}?>
|
35
|
+
|
36
|
+
[pi-inlinemacro]
|
37
|
+
template::[pi-blockmacro]
|
38
|
+
|
39
|
+
[image-inlinemacro]
|
40
|
+
<a href="{link}"{role? class="{role}"}>
|
41
|
+
# src attribute must be first attribute for blogpost compatibility.
|
42
|
+
<img src="{imagesdir=}{imagesdir?/}{target}" style="border-width: 0;" alt="{alt={target}}"{width? width="{width}"}{height? height="{height}"}{title? title="{title}"}>
|
43
|
+
{link#}</a>
|
44
|
+
|
45
|
+
[image-blockmacro]
|
46
|
+
<div{align? align="{align}"}{role? class="{role}"}{float? style="float:{float};"}>
|
47
|
+
<a name="{id}"></a>
|
48
|
+
<a href="{link}">
|
49
|
+
<img src="{imagesdir=}{imagesdir?/}{target}" style="border-width: 0;" alt="{alt={target}}"{width? width="{width}"}{height? height="{height}"}>
|
50
|
+
{link#}</a>
|
51
|
+
<p><b>{caption={figure-caption} {counter:figure-number}. }</b>{title}</p>
|
52
|
+
</div>
|
53
|
+
|
54
|
+
[unfloat-blockmacro]
|
55
|
+
<br clear="all">
|
56
|
+
|
57
|
+
[indexterm-inlinemacro]
|
58
|
+
# Index term.
|
59
|
+
{empty}
|
60
|
+
|
61
|
+
[indexterm2-inlinemacro]
|
62
|
+
# Index term.
|
63
|
+
# Single entry index term that is visible in the primary text flow.
|
64
|
+
{1}
|
65
|
+
|
66
|
+
[footnote-inlinemacro]
|
67
|
+
# footnote:[<text>].
|
68
|
+
<br><i>[{0}]</i><br>
|
69
|
+
|
70
|
+
[footnoteref-inlinemacro]
|
71
|
+
# footnoteref:[<id>], create reference to footnote.
|
72
|
+
{2%}<br><i><a href="#_footnote_{1}">[{1}]</a></i><br>
|
73
|
+
# footnoteref:[<id>,<text>], create footnote with ID.
|
74
|
+
{2#}<br><i><a name="_footnote_{1}">[{2}]</a></i><br>
|
75
|
+
|
76
|
+
[callout-inlinemacro]
|
77
|
+
# Callout.
|
78
|
+
<b><{index}></b>
|
79
|
+
|
80
|
+
# Comment line macros.
|
81
|
+
[comment-inlinemacro]
|
82
|
+
{showcomments#}<br><span style="background:yellow;">{passtext}</span><br>
|
83
|
+
|
84
|
+
[comment-blockmacro]
|
85
|
+
{showcomments#}<p><span style="background:yellow;">{passtext}</span></p>
|
86
|
+
|
87
|
+
[literal-inlinemacro]
|
88
|
+
# Inline literal.
|
89
|
+
<tt>{passtext}</tt>
|
90
|
+
|
91
|
+
# List tags.
|
92
|
+
[listtags-bulleted]
|
93
|
+
list={id?<a name="{id}"></a>}{title?<p><b>{title}</b></p>}<ul{role? class="{role}"}>|</ul>
|
94
|
+
item=<li>|</li>
|
95
|
+
text=<p>|</p>
|
96
|
+
|
97
|
+
[listtags-numbered]
|
98
|
+
list={id?<a name="{id}"></a>}{title?<p><b>{title}</b></p>}<ol type="{style@arabic:1}{style@loweralpha:a}{style@upperalpha:A}{style@lowerroman:i}{style@upperroman:I}"{start? start="{start}"}{role? class="{role}"}>|</ol>
|
99
|
+
item=<li>|</li>
|
100
|
+
text=<p>|</p>
|
101
|
+
|
102
|
+
[listtags-labeled]
|
103
|
+
list={id?<a name="{id}"></a>}{title?<p><b>{title}</b></p>}<dl{role? class="{role}"}>|</dl>
|
104
|
+
entry=
|
105
|
+
label=
|
106
|
+
term=<dt>{strong-option?<strong>}|{strong-option?</strong>}</dt>
|
107
|
+
item=<dd>|</dd>
|
108
|
+
text=<p>|</p>
|
109
|
+
|
110
|
+
[listtags-horizontal]
|
111
|
+
list={id?<a name="{id}"></a>}{title?<p><b>{title}</b></p>}<table cellpadding="4"{role? class="{role}"}>|</table>
|
112
|
+
entry=<tr valign="top">|</tr>
|
113
|
+
label=<td{labelwidth? width="{labelwidth}%"}>{strong-option?<strong>}|{strong-option?</strong>}</td>
|
114
|
+
term=|<br>
|
115
|
+
item=<td{itemwidth? width="{itemwidth}%"}>|</td>
|
116
|
+
text=<p>|</p>
|
117
|
+
|
118
|
+
[listtags-callout]
|
119
|
+
list={id?<a name="{id}"></a>}{title?<p><b>{title}</b></p>}<ol{role? class="{role}"}>|</ol>
|
120
|
+
item=<li>|</li>
|
121
|
+
text=<p>|</p>
|
122
|
+
|
123
|
+
[listtags-qanda]
|
124
|
+
list={id?<a name="{id}"></a>}{title?<p><b>{title}</b></p>}<ol{role? class="{role}"}>|</ol>
|
125
|
+
entry=<li>|</li>
|
126
|
+
label=
|
127
|
+
term=<p><em>|</em></p>
|
128
|
+
item=
|
129
|
+
text=<p>|</p>
|
130
|
+
|
131
|
+
[listtags-glossary]
|
132
|
+
list={id?<a name="{id}"></a>}{title?<p><b>{title}</b></p>}<dl{role? class="{role}"}>|</dl>
|
133
|
+
entry=
|
134
|
+
label=
|
135
|
+
term=<dt>|</dt>
|
136
|
+
item=<dd>|</dd>
|
137
|
+
text=<p>|</p>
|
138
|
+
|
139
|
+
[listtags-bibliography]
|
140
|
+
list={id?<a name="{id}"></a>}{title?<p><b>{title}</b></p>}<ul{role? class="{role}"}>|</ul>
|
141
|
+
item=<li>|</li>
|
142
|
+
text=<p>|</p>
|
143
|
+
|
144
|
+
[tags]
|
145
|
+
# Quoted text.
|
146
|
+
emphasis=<em>{1?<span class="{1}">}|{1?</span>}</em>
|
147
|
+
strong=<strong>{1?<span class="{1}">}|{1?</span>}</strong>
|
148
|
+
monospaced=<tt>{1?<span class="{1}">}|{1?</span>}</tt>
|
149
|
+
singlequoted={lsquo}{1?<span class="{1}">}|{1?</span>}{rsquo}
|
150
|
+
doublequoted={ldquo}{1?<span class="{1}">}|{1?</span>}{rdquo}
|
151
|
+
unquoted={1?<span class="{1}">}|{1?</span>}
|
152
|
+
superscript=<sup>{1?<span class="{1}">}|{1?</span>}</sup>
|
153
|
+
subscript=<sub>{1?<span class="{1}">}|{1?</span>}</sub>
|
154
|
+
|
155
|
+
ifdef::deprecated-quotes[]
|
156
|
+
# Override with deprecated quote attributes.
|
157
|
+
emphasis={role?<span class="{role}">}<em{1,2,3? style="}{1?color:{1};}{2?background-color:{2};}{3?font-size:{3}em;}{1,2,3?"}>|</em>{role?</span>}
|
158
|
+
strong={role?<span class="{role}">}<strong{1,2,3? style="}{1?color:{1};}{2?background-color:{2};}{3?font-size:{3}em;}{1,2,3?"}>|</strong>{role?</span>}
|
159
|
+
monospaced={role?<span class="{role}">}<tt{1,2,3? style="}{1?color:{1};}{2?background-color:{2};}{3?font-size:{3}em;}{1,2,3?"}>|</tt>{role?</span>}
|
160
|
+
singlequoted={role?<span class="{role}">}{1,2,3?<span style="}{1?color:{1};}{2?background-color:{2};}{3?font-size:{3}em;}{1,2,3?">}{amp}#8216;|{amp}#8217;{1,2,3?</span>}{role?</span>}
|
161
|
+
doublequoted={role?<span class="{role}">}{1,2,3?<span style="}{1?color:{1};}{2?background-color:{2};}{3?font-size:{3}em;}{1,2,3?">}{amp}#8220;|{amp}#8221;{1,2,3?</span>}{role?</span>}
|
162
|
+
unquoted={role?<span class="{role}">}{1,2,3?<span style="{1?color:{1};}{2?background-color:{2};}{3?font-size:{3}em;}">}|{1,2,3?</span>}{role?</span>}
|
163
|
+
superscript={role?<span class="{role}">}<sup{1,2,3? style="}{1?color:{1};}{2?background-color:{2};}{3?font-size:{3}em;}{1,2,3?"}>|</sup>{role?</span>}
|
164
|
+
subscript={role?<span class="{role}">}<sub{1,2,3? style="}{1?color:{1};}{2?background-color:{2};}{3?font-size:{3}em;}{1,2,3?"}>|</sub>{role?</span>}
|
165
|
+
endif::deprecated-quotes[]
|
166
|
+
|
167
|
+
# Inline macros
|
168
|
+
[http-inlinemacro]
|
169
|
+
<a href="{name}:{target}">{0={name}:{target}}</a>
|
170
|
+
[https-inlinemacro]
|
171
|
+
<a href="{name}:{target}">{0={name}:{target}}</a>
|
172
|
+
[ftp-inlinemacro]
|
173
|
+
<a href="{name}:{target}">{0={name}:{target}}</a>
|
174
|
+
[file-inlinemacro]
|
175
|
+
<a href="{name}:{target}">{0={name}:{target}}</a>
|
176
|
+
[irc-inlinemacro]
|
177
|
+
<a href="{name}:{target}">{0={name}:{target}}</a>
|
178
|
+
[mailto-inlinemacro]
|
179
|
+
<a href="mailto:{target}">{0={target}}</a>
|
180
|
+
[callto-inlinemacro]
|
181
|
+
<a href="{name}:{target}">{0={target}}</a>
|
182
|
+
[link-inlinemacro]
|
183
|
+
<a href="{target}">{0={target}}</a>
|
184
|
+
# anchor:id[text]
|
185
|
+
[anchor-inlinemacro]
|
186
|
+
<a name="{target}"></a>
|
187
|
+
# [[id,text]]
|
188
|
+
[anchor2-inlinemacro]
|
189
|
+
<a name="{1}"></a>
|
190
|
+
# [[[id]]]
|
191
|
+
[anchor3-inlinemacro]
|
192
|
+
<a name="{1}"></a>[{1}]
|
193
|
+
# xref:id[text]
|
194
|
+
[xref-inlinemacro]
|
195
|
+
<a href="#{target}">{0=[{target}]}</a>
|
196
|
+
# <<id,text>>
|
197
|
+
[xref2-inlinemacro]
|
198
|
+
<a href="#{1}">{2=[{1}]}</a>
|
199
|
+
|
200
|
+
# Special word substitution.
|
201
|
+
[emphasizedwords]
|
202
|
+
<em>{words}</em>
|
203
|
+
[monospacedwords]
|
204
|
+
<tt>{words}</tt>
|
205
|
+
[strongwords]
|
206
|
+
<strong>{words}</strong>
|
207
|
+
|
208
|
+
# Paragraph substitution.
|
209
|
+
[paragraph]
|
210
|
+
<p{role? class="{role}"}>{id?<a name="{id}"></a>}{title?<b>{title}</b><br>}
|
211
|
+
|
|
212
|
+
</p>
|
213
|
+
|
214
|
+
[admonitionparagraph]
|
215
|
+
template::[admonitionblock]
|
216
|
+
|
217
|
+
# Delimited blocks.
|
218
|
+
[passthroughblock]
|
219
|
+
|
|
220
|
+
|
221
|
+
[listingblock]
|
222
|
+
<a name="{id}"></a>
|
223
|
+
<p><b>{title}</b></p>
|
224
|
+
<table border="0" bgcolor="#e8e8e8" width="100%" cellpadding="10"{role? class="{role}"}><tr><td>
|
225
|
+
<pre>
|
226
|
+
|
|
227
|
+
</pre>
|
228
|
+
</td></tr></table>
|
229
|
+
|
230
|
+
[literalblock]
|
231
|
+
<a name="{id}"></a>
|
232
|
+
<p><b>{title}</b></p>
|
233
|
+
<pre{role? class="{role}"}>
|
234
|
+
|
|
235
|
+
</pre>
|
236
|
+
|
237
|
+
[sidebarblock]
|
238
|
+
<a name="{id}"></a>
|
239
|
+
<table frame="border" bgcolor="#ffffee" width="100%" cellpadding="15"{role? class="{role}"}>
|
240
|
+
<tr><td>
|
241
|
+
<p><em>{title}</em></p>
|
242
|
+
|
|
243
|
+
</td></tr></table>
|
244
|
+
|
245
|
+
[openblock]
|
246
|
+
<div{id? id="{id}"}{role? class="{role}"}>
|
247
|
+
<p><b>{title}</b></p>
|
248
|
+
|
|
249
|
+
</div>
|
250
|
+
|
251
|
+
[partintroblock]
|
252
|
+
template::[openblock]
|
253
|
+
|
254
|
+
[abstractblock]
|
255
|
+
template::[quoteblock]
|
256
|
+
|
257
|
+
[quoteblock]
|
258
|
+
<a name="{id}"></a>
|
259
|
+
<blockquote{role? class="{role}"}>
|
260
|
+
<p><b>{title}</b></p>
|
261
|
+
|
|
262
|
+
<p align="right">
|
263
|
+
<em>{citetitle}</em>{attribution?<br>}
|
264
|
+
— {attribution}
|
265
|
+
</p>
|
266
|
+
</blockquote>
|
267
|
+
|
268
|
+
[verseblock]
|
269
|
+
<a name="{id}"></a>
|
270
|
+
<blockquote{role? class="{role}"}>
|
271
|
+
<p><b>{title}</b></p>
|
272
|
+
# Font inheritance broken in IE6.
|
273
|
+
<pre style="font-family: inherit;">
|
274
|
+
|
|
275
|
+
</pre>
|
276
|
+
<p align="left">
|
277
|
+
<em>{citetitle}</em>{attribution?<br>}
|
278
|
+
— {attribution}
|
279
|
+
</p>
|
280
|
+
</blockquote>
|
281
|
+
|
282
|
+
[exampleblock]
|
283
|
+
<a name="{id}"></a>
|
284
|
+
<p><b>{caption={example-caption} {counter:example-number}. }</b>{title}</p>
|
285
|
+
<table frame="border" width="100%" cellpadding="15"{role? class="{role}"}>
|
286
|
+
<tr><td style="border-left: 2px solid silver;">
|
287
|
+
|
|
288
|
+
</td></tr></table>
|
289
|
+
|
290
|
+
[admonitionblock]
|
291
|
+
<a name="{id}"></a>
|
292
|
+
<table frame="void" cellpadding="8"{role? class="{role}"}>
|
293
|
+
<tr valign="top"><td><p><b><u>{caption}</u></b></p></td>
|
294
|
+
<td style="border-left: 1px solid silver;">
|
295
|
+
<p><b>{title}</b></p>
|
296
|
+
|
|
297
|
+
</td></tr></table>
|
298
|
+
|
299
|
+
[mathblock]
|
300
|
+
# Here to suppress missing block warning (html4 does not include math
|
301
|
+
# JavaScripts).
|
302
|
+
<a name="{id}"></a>
|
303
|
+
<p><b>{title}</b></p>
|
304
|
+
<div{role? class="{role}"}>
|
305
|
+
|
|
306
|
+
</div>
|
307
|
+
|
308
|
+
# Tables.
|
309
|
+
[tabletags-default]
|
310
|
+
bodyrow=<tr>|</tr>
|
311
|
+
headdata=<th {colspan@1::colspan="{colspan}" }{rowspan@1::rowspan="{rowspan}" }align="{halign}"{autowidth-option! width="{colpcwidth}%"} valign="{valign}">|</th>
|
312
|
+
footdata=<td {colspan@1::colspan="{colspan}" }{rowspan@1::rowspan="{rowspan}" }align="{halign}"{autowidth-option! width="{colpcwidth}%"} style="font-weight:bold" valign="{valign}">|</td>
|
313
|
+
bodydata=<td {colspan@1::colspan="{colspan}" }{rowspan@1::rowspan="{rowspan}" }align="{halign}"{autowidth-option! width="{colpcwidth}%"} valign="{valign}">|</td>
|
314
|
+
paragraph=<p>|</p>
|
315
|
+
|
316
|
+
[tabletags-header]
|
317
|
+
paragraph=<p><strong>|</strong></p>
|
318
|
+
|
319
|
+
[tabletags-emphasis]
|
320
|
+
paragraph=<p><em>|</em></p>
|
321
|
+
|
322
|
+
[tabletags-strong]
|
323
|
+
paragraph=<p><strong>|</strong></p>
|
324
|
+
|
325
|
+
[tabletags-monospaced]
|
326
|
+
paragraph=<p><tt>|</tt></p>
|
327
|
+
|
328
|
+
[tabletags-verse]
|
329
|
+
bodydata=<td {colspan@1::colspan="{colspan}" }{rowspan@1::rowspan="{rowspan}" }align="{halign}"{autowidth-option! width="{colpcwidth}%"} valign="{valign}"><pre style="font-family: inherit;">|</pre></td>
|
330
|
+
paragraph=
|
331
|
+
|
332
|
+
[tabletags-literal]
|
333
|
+
bodydata=<td {colspan@1::colspan="{colspan}" }{rowspan@1::rowspan="{rowspan}" }align="{halign}"{autowidth-option! width="{colpcwidth}%"} valign="{valign}"><pre><tt>|</tt></pre></td>
|
334
|
+
paragraph=
|
335
|
+
|
336
|
+
[tabletags-asciidoc]
|
337
|
+
bodydata=<td {colspan@1::colspan="{colspan}" }{rowspan@1::rowspan="{rowspan}" }align="{halign}"{autowidth-option! width="{colpcwidth}%"} valign="{valign}"><div>|</div></td>
|
338
|
+
paragraph=
|
339
|
+
|
340
|
+
[table]
|
341
|
+
<div{align? align="{align}"}{role? class="{role}"}>
|
342
|
+
<a name="{id}"></a>
|
343
|
+
<table rules="{grid=all}"
|
344
|
+
style="float:{float};"
|
345
|
+
{autowidth-option%}width="{tablepcwidth}%"
|
346
|
+
{autowidth-option#}{width#width="{tablepcwidth}%"}
|
347
|
+
frame="{frame%border}"
|
348
|
+
frame="{frame@topbot:hsides}{frame@all:border}{frame@none:void}{frame@sides:vsides}"
|
349
|
+
cellspacing="0" cellpadding="4">
|
350
|
+
<caption><b>{caption={table-caption} {counter:table-number}. }</b>{title}</caption>
|
351
|
+
{headrows#}<thead>
|
352
|
+
{headrows}
|
353
|
+
{headrows#}</thead>
|
354
|
+
{footrows#}<tfoot>
|
355
|
+
{footrows}
|
356
|
+
{footrows#}</tfoot>
|
357
|
+
<tbody>
|
358
|
+
{bodyrows}
|
359
|
+
</tbody>
|
360
|
+
</table>
|
361
|
+
</div>
|
362
|
+
|
363
|
+
#--------------------------------------------------------------------
|
364
|
+
# Deprecated old table definitions.
|
365
|
+
#
|
366
|
+
|
367
|
+
[miscellaneous]
|
368
|
+
# Screen width in pixels.
|
369
|
+
pagewidth=800
|
370
|
+
pageunits=
|
371
|
+
|
372
|
+
[old_tabledef-default]
|
373
|
+
template=old_table
|
374
|
+
bodyrow=<tr>|</tr>
|
375
|
+
headdata=<th align="{colalign}" width="{colwidth}{pageunits}">|</th>
|
376
|
+
footdata=<td align="{colalign}" width="{colwidth}{pageunits}"><strong>|</strong></td>
|
377
|
+
bodydata=<td align="{colalign}" width="{colwidth}{pageunits}" valign="top">|</td>
|
378
|
+
|
379
|
+
[old_table]
|
380
|
+
<p><b>{caption={table-caption}}</b>{title}</p>
|
381
|
+
<a name="{id}"></a>
|
382
|
+
<table rules="{grid=none}"
|
383
|
+
frame="{frame%hsides}"
|
384
|
+
frame="{frame@topbot:hsides}{frame@all:border}{frame@none:void}{frame@sides:vsides}"
|
385
|
+
cellspacing="0" cellpadding="4">
|
386
|
+
{headrows#}<thead>
|
387
|
+
{headrows}
|
388
|
+
{headrows#}</thead>
|
389
|
+
{footrows#}<tfoot>
|
390
|
+
{footrows}
|
391
|
+
{footrows#}</tfoot>
|
392
|
+
<tbody>
|
393
|
+
{bodyrows}
|
394
|
+
</tbody>
|
395
|
+
</table>
|
396
|
+
|
397
|
+
# End of deprecated old table definitions.
|
398
|
+
#--------------------------------------------------------------------
|
399
|
+
|
400
|
+
[floatingtitle]
|
401
|
+
<h{level@1:2}{level@2:3}{level@3:4}{level@4:5}>{id?<a name="{id}"></a>}{title}</h{level@1:2}{level@2:3}{level@3:4}{level@4:5}>
|
402
|
+
|
403
|
+
[preamble]
|
404
|
+
# Untitled elements between header and first section title.
|
405
|
+
<a name="preamble"></a>
|
406
|
+
|
|
407
|
+
|
408
|
+
[sect0]
|
409
|
+
{doctype-manpage%}<hr>
|
410
|
+
<h1>{id?<a name="{id}"></a>}{title}</h1>
|
411
|
+
|
|
412
|
+
|
413
|
+
[sect1]
|
414
|
+
{doctype-manpage%}<hr>
|
415
|
+
<h2{role? class="{role}"}>{id?<a name="{id}"></a>}{numbered?{sectnum} }{title}</h2>
|
416
|
+
|
|
417
|
+
|
418
|
+
[sect2]
|
419
|
+
<h3{role? class="{role}"}>{id?<a name="{id}"></a>}{numbered?{sectnum} }{title}</h3>
|
420
|
+
|
|
421
|
+
|
422
|
+
[sect3]
|
423
|
+
<h4{role? class="{role}"}>{id?<a name="{id}"></a>}{numbered?{sectnum} }{title}</h4>
|
424
|
+
|
|
425
|
+
|
426
|
+
[sect4]
|
427
|
+
<h5{role? class="{role}"}>{id?<a name="{id}"></a>}{title}</h5>
|
428
|
+
|
|
429
|
+
|
430
|
+
[appendix]
|
431
|
+
<hr>
|
432
|
+
<h2{role? class="{role}"}>{id?<a name="{id}"></a>}{numbered?{sectnum} }{appendix-caption} {counter:appendix-number:A}: {title}</h2>
|
433
|
+
|
|
434
|
+
|
435
|
+
[footer]
|
436
|
+
<p></p>
|
437
|
+
<p></p>
|
438
|
+
<hr><p><small>
|
439
|
+
template::[footer-text]
|
440
|
+
</small></p>
|
441
|
+
</body>
|
442
|
+
</html>
|
443
|
+
|
444
|
+
[header-declarations]
|
445
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
446
|
+
<html>
|
447
|
+
<head>
|
448
|
+
<meta http-equiv="Content-Type" content="text/html; charset={encoding}">
|
449
|
+
<meta name="generator" content="AsciiDoc {asciidoc-version}">
|
450
|
+
<meta name="description" content="{description}">
|
451
|
+
<meta name="keywords" content="{keywords}">
|
452
|
+
<title>{title}</title>
|
453
|
+
{title%}<title>{doctitle=}</title>
|
454
|
+
{docinfo1,docinfo2#}{include:{docdir}/docinfo.html}
|
455
|
+
{docinfo,docinfo2#}{include:{docdir}/{docname}-docinfo.html}
|
456
|
+
</head>
|
457
|
+
|
458
|
+
#--------------------------------
|
459
|
+
# article and book document types
|
460
|
+
#--------------------------------
|
461
|
+
ifndef::doctype-manpage[]
|
462
|
+
|
463
|
+
[header]
|
464
|
+
template::[header-declarations]
|
465
|
+
<body>
|
466
|
+
{notitle%}<h1>{doctitle}</h1>
|
467
|
+
{doctitle#}<p>
|
468
|
+
{doctitle#}<strong>{author}</strong><br>
|
469
|
+
{doctitle#}<tt><<a href="mailto:{email}">{email}</a>></tt><br>
|
470
|
+
{doctitle#}version {revnumber}{revdate?,}
|
471
|
+
{doctitle#}{revdate}
|
472
|
+
{doctitle#}<br>{revremark}
|
473
|
+
{doctitle#}</p>
|
474
|
+
|
475
|
+
endif::doctype-manpage[]
|
476
|
+
|
477
|
+
#-------------------------
|
478
|
+
# manpage document type
|
479
|
+
#-------------------------
|
480
|
+
ifdef::doctype-manpage[]
|
481
|
+
|
482
|
+
[tags]
|
483
|
+
# This is more inline with man page convention.
|
484
|
+
emphasis=<b>|</b>
|
485
|
+
vlistterm=<dt><b>|</b></dt>
|
486
|
+
|
487
|
+
[header]
|
488
|
+
template::[header-declarations]
|
489
|
+
<body>
|
490
|
+
<hr>
|
491
|
+
<h1>
|
492
|
+
{doctitle} Manual Page
|
493
|
+
</h1>
|
494
|
+
<hr>
|
495
|
+
|
496
|
+
[name]
|
497
|
+
<h2>{manname-title}</h2>
|
498
|
+
<p>{manname} -
|
499
|
+
{manpurpose}
|
500
|
+
</p>
|
501
|
+
|
502
|
+
[synopsis]
|
503
|
+
template::[sect1]
|
504
|
+
|
505
|
+
endif::doctype-manpage[]
|