mizuho 0.9.6 → 0.9.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (222) hide show
  1. data/README.markdown +4 -2
  2. data/Rakefile +0 -37
  3. data/asciidoc/BUGS +9 -18
  4. data/asciidoc/BUGS.txt +5 -14
  5. data/asciidoc/CHANGELOG +1433 -266
  6. data/asciidoc/CHANGELOG.txt +2821 -1810
  7. data/asciidoc/COPYING +339 -339
  8. data/asciidoc/COPYRIGHT +18 -18
  9. data/asciidoc/INSTALL +189 -30
  10. data/asciidoc/INSTALL.txt +175 -19
  11. data/asciidoc/MANIFEST +88 -0
  12. data/asciidoc/Makefile.in +29 -13
  13. data/asciidoc/README +16 -17
  14. data/asciidoc/README.txt +35 -36
  15. data/asciidoc/a2x.py +902 -0
  16. data/asciidoc/asciidoc.conf +610 -455
  17. data/asciidoc/asciidoc.py +1965 -1061
  18. data/asciidoc/asciidocapi.py +257 -0
  19. data/asciidoc/common.aap +2 -2
  20. data/asciidoc/configure +1170 -1023
  21. data/asciidoc/configure.ac +1 -1
  22. data/asciidoc/dblatex/asciidoc-dblatex.xsl +42 -0
  23. data/asciidoc/doc/a2x.1 +559 -102
  24. data/asciidoc/doc/a2x.1.txt +233 -91
  25. data/asciidoc/doc/article-docinfo.xml +87 -0
  26. data/asciidoc/doc/article.pdf +0 -0
  27. data/asciidoc/doc/article.txt +139 -122
  28. data/asciidoc/doc/asciidoc.1 +157 -46
  29. data/asciidoc/doc/asciidoc.1.txt +171 -118
  30. data/asciidoc/doc/asciidoc.conf +7 -8
  31. data/asciidoc/doc/asciidoc.dict +960 -635
  32. data/asciidoc/doc/asciidoc.txt +2335 -1464
  33. data/asciidoc/doc/asciidocapi.txt +189 -0
  34. data/asciidoc/doc/asciimathml.txt +14 -17
  35. data/asciidoc/doc/book-multi.txt +181 -155
  36. data/asciidoc/doc/book.epub +0 -0
  37. data/asciidoc/doc/book.txt +156 -131
  38. data/asciidoc/doc/customers.csv +18 -18
  39. data/asciidoc/doc/epub-notes.txt +210 -0
  40. data/asciidoc/doc/faq.txt +1122 -547
  41. data/asciidoc/doc/latex-backend.txt +192 -191
  42. data/asciidoc/doc/latex-bugs.txt +134 -0
  43. data/asciidoc/doc/latex-filter.pdf +0 -0
  44. data/asciidoc/doc/latex-filter.txt +196 -0
  45. data/asciidoc/doc/latexmath.txt +13 -136
  46. data/asciidoc/doc/latexmathml.txt +2 -2
  47. data/asciidoc/doc/main.aap +233 -297
  48. data/asciidoc/doc/music-filter.pdf +0 -0
  49. data/asciidoc/doc/music-filter.txt +55 -65
  50. data/asciidoc/doc/publishing-ebooks-with-asciidoc.txt +398 -0
  51. data/asciidoc/doc/slidy-example.txt +167 -0
  52. data/asciidoc/doc/slidy.txt +113 -0
  53. data/asciidoc/doc/source-highlight-filter.pdf +0 -0
  54. data/asciidoc/doc/source-highlight-filter.txt +45 -20
  55. data/asciidoc/doc/testasciidoc.txt +231 -0
  56. data/asciidoc/docbook-xsl/asciidoc-docbook-xsl.txt +30 -8
  57. data/asciidoc/docbook-xsl/chunked.xsl +17 -19
  58. data/asciidoc/docbook-xsl/common.xsl +106 -67
  59. data/asciidoc/docbook-xsl/epub.xsl +35 -0
  60. data/asciidoc/docbook-xsl/fo.xsl +3 -0
  61. data/asciidoc/docbook-xsl/htmlhelp.xsl +16 -17
  62. data/asciidoc/docbook-xsl/manpage.xsl +31 -31
  63. data/asciidoc/docbook-xsl/text.xsl +6 -1
  64. data/asciidoc/docbook-xsl/xhtml.xsl +14 -14
  65. data/asciidoc/docbook45.conf +759 -0
  66. data/asciidoc/filters/code/code-filter-readme.txt +37 -37
  67. data/asciidoc/filters/code/code-filter-test.txt +15 -15
  68. data/asciidoc/filters/code/code-filter.conf +8 -8
  69. data/asciidoc/filters/graphviz/asciidoc-graphviz-sample.txt +104 -64
  70. data/asciidoc/filters/graphviz/graphviz-filter.conf +20 -16
  71. data/asciidoc/filters/graphviz/graphviz2png.py +54 -39
  72. data/asciidoc/filters/latex/latex-filter.conf +18 -0
  73. data/asciidoc/filters/latex/latex2png.py +216 -0
  74. data/asciidoc/filters/music/music-filter.conf +8 -17
  75. data/asciidoc/filters/music/music2png.py +40 -32
  76. data/asciidoc/filters/source/source-highlight-filter.conf +40 -34
  77. data/asciidoc/help.conf +261 -96
  78. data/asciidoc/html4.conf +505 -460
  79. data/asciidoc/html5.conf +686 -0
  80. data/asciidoc/images/highlighter.png +0 -0
  81. data/asciidoc/images/icons/caution.png +0 -0
  82. data/asciidoc/images/icons/example.png +0 -0
  83. data/asciidoc/images/icons/important.png +0 -0
  84. data/asciidoc/images/icons/note.png +0 -0
  85. data/asciidoc/images/icons/tip.png +0 -0
  86. data/asciidoc/images/icons/warning.png +0 -0
  87. data/asciidoc/images/smallnew.png +0 -0
  88. data/asciidoc/javascripts/asciidoc.js +189 -0
  89. data/asciidoc/javascripts/slidy.js +2845 -0
  90. data/asciidoc/javascripts/toc.js +8 -0
  91. data/asciidoc/lang-de.conf +57 -0
  92. data/asciidoc/lang-en.conf +54 -0
  93. data/asciidoc/lang-es.conf +49 -9
  94. data/asciidoc/lang-fr.conf +59 -0
  95. data/asciidoc/lang-hu.conf +55 -0
  96. data/asciidoc/lang-it.conf +55 -0
  97. data/asciidoc/lang-nl.conf +57 -0
  98. data/asciidoc/lang-pt-BR.conf +56 -0
  99. data/asciidoc/lang-ru.conf +60 -0
  100. data/asciidoc/lang-uk.conf +60 -0
  101. data/asciidoc/latex.conf +700 -663
  102. data/asciidoc/main.aap +77 -0
  103. data/asciidoc/slidy.conf +136 -0
  104. data/asciidoc/{examples/website/xhtml11-manpage.css → stylesheets/asciidoc-manpage.css} +1 -1
  105. data/asciidoc/stylesheets/asciidoc.css +508 -0
  106. data/asciidoc/stylesheets/docbook-xsl.css +322 -272
  107. data/asciidoc/stylesheets/flask-manpage.css +1 -0
  108. data/asciidoc/stylesheets/flask.css +584 -0
  109. data/asciidoc/stylesheets/pygments.css +66 -0
  110. data/asciidoc/stylesheets/slidy.css +445 -0
  111. data/asciidoc/stylesheets/toc2.css +33 -0
  112. data/asciidoc/stylesheets/volnitsky-manpage.css +1 -0
  113. data/asciidoc/stylesheets/volnitsky.css +435 -0
  114. data/asciidoc/stylesheets/xhtml11-quirks.css +5 -3
  115. data/asciidoc/tests/asciidocapi.py +257 -0
  116. data/asciidoc/tests/data/deprecated-quotes.txt +12 -0
  117. data/asciidoc/tests/data/filters-test.txt +90 -0
  118. data/asciidoc/tests/data/lang-de-test.txt +106 -0
  119. data/asciidoc/tests/data/lang-en-test.txt +114 -0
  120. data/asciidoc/tests/data/lang-es-test.txt +106 -0
  121. data/asciidoc/tests/data/lang-fr-test.txt +106 -0
  122. data/asciidoc/tests/data/lang-hu-test.txt +106 -0
  123. data/asciidoc/tests/data/lang-nl-test.txt +94 -0
  124. data/asciidoc/tests/data/lang-pt-BR-test.txt +106 -0
  125. data/asciidoc/tests/data/lang-ru-test.txt +106 -0
  126. data/asciidoc/tests/data/lang-uk-test.txt +106 -0
  127. data/asciidoc/tests/data/oldtables.txt +64 -0
  128. data/asciidoc/tests/data/rcs-id-marker-test.txt +6 -0
  129. data/asciidoc/tests/data/testcases.conf +2 -0
  130. data/asciidoc/tests/data/testcases.txt +740 -0
  131. data/asciidoc/tests/data/utf8-bom-test.txt +9 -0
  132. data/asciidoc/tests/data/utf8-examples.txt +217 -0
  133. data/asciidoc/tests/testasciidoc.conf +520 -0
  134. data/asciidoc/tests/testasciidoc.py +411 -0
  135. data/asciidoc/text.conf +16 -16
  136. data/asciidoc/vim/syntax/asciidoc.vim +99 -91
  137. data/asciidoc/wordpress.conf +43 -3
  138. data/asciidoc/xhtml11-quirks.conf +61 -57
  139. data/asciidoc/xhtml11.conf +684 -645
  140. data/lib/mizuho.rb +2 -0
  141. data/lib/mizuho/generator.rb +2 -2
  142. data/test/generator_spec.rb +1 -1
  143. data/test/parser_spec.rb +1 -1
  144. data/test/spec_helper.rb +3 -4
  145. metadata +87 -88
  146. data/asciidoc/a2x +0 -674
  147. data/asciidoc/doc/article.css-embedded.html +0 -602
  148. data/asciidoc/doc/article.html +0 -46
  149. data/asciidoc/doc/asciidoc-revhistory.xml +0 -27
  150. data/asciidoc/doc/asciidoc.1.css-embedded.html +0 -598
  151. data/asciidoc/doc/asciidoc.1.css.html +0 -212
  152. data/asciidoc/doc/asciidoc.1.html +0 -190
  153. data/asciidoc/doc/asciidoc.css-embedded.html +0 -7853
  154. data/asciidoc/doc/asciidoc.css.html +0 -7416
  155. data/asciidoc/doc/asciidoc.html +0 -3339
  156. data/asciidoc/doc/book-multi.css-embedded.html +0 -575
  157. data/asciidoc/doc/book-multi.html +0 -55
  158. data/asciidoc/doc/book.css-embedded.html +0 -607
  159. data/asciidoc/doc/book.html +0 -43
  160. data/asciidoc/doc/docbook-xsl.css +0 -272
  161. data/asciidoc/doc/latex-backend.html +0 -117
  162. data/asciidoc/doc/music-filter.html +0 -566
  163. data/asciidoc/doc/source-highlight-filter.html +0 -214
  164. data/asciidoc/docbook.conf +0 -721
  165. data/asciidoc/examples/website/ASCIIMathML.js +0 -938
  166. data/asciidoc/examples/website/CHANGELOG.html +0 -4389
  167. data/asciidoc/examples/website/CHANGELOG.txt +0 -1810
  168. data/asciidoc/examples/website/INSTALL.html +0 -161
  169. data/asciidoc/examples/website/INSTALL.txt +0 -71
  170. data/asciidoc/examples/website/LaTeXMathML.js +0 -1223
  171. data/asciidoc/examples/website/README-website.html +0 -118
  172. data/asciidoc/examples/website/README-website.txt +0 -29
  173. data/asciidoc/examples/website/README.html +0 -125
  174. data/asciidoc/examples/website/README.txt +0 -36
  175. data/asciidoc/examples/website/a2x.1.html +0 -419
  176. data/asciidoc/examples/website/a2x.1.txt +0 -204
  177. data/asciidoc/examples/website/asciidoc-docbook-xsl.html +0 -130
  178. data/asciidoc/examples/website/asciidoc-docbook-xsl.txt +0 -43
  179. data/asciidoc/examples/website/asciidoc-graphviz-sample.txt +0 -130
  180. data/asciidoc/examples/website/asciimathml.txt +0 -64
  181. data/asciidoc/examples/website/build-website.sh +0 -25
  182. data/asciidoc/examples/website/customers.csv +0 -18
  183. data/asciidoc/examples/website/downloads.html +0 -257
  184. data/asciidoc/examples/website/downloads.txt +0 -121
  185. data/asciidoc/examples/website/faq.html +0 -673
  186. data/asciidoc/examples/website/faq.txt +0 -547
  187. data/asciidoc/examples/website/index.html +0 -419
  188. data/asciidoc/examples/website/index.txt +0 -245
  189. data/asciidoc/examples/website/latex-backend.html +0 -535
  190. data/asciidoc/examples/website/latex-backend.txt +0 -191
  191. data/asciidoc/examples/website/latexmathml.txt +0 -41
  192. data/asciidoc/examples/website/layout1.conf +0 -161
  193. data/asciidoc/examples/website/layout1.css +0 -65
  194. data/asciidoc/examples/website/layout2.conf +0 -158
  195. data/asciidoc/examples/website/layout2.css +0 -93
  196. data/asciidoc/examples/website/manpage.html +0 -266
  197. data/asciidoc/examples/website/manpage.txt +0 -118
  198. data/asciidoc/examples/website/music-filter.html +0 -242
  199. data/asciidoc/examples/website/music-filter.txt +0 -158
  200. data/asciidoc/examples/website/music1.abc +0 -12
  201. data/asciidoc/examples/website/music1.png +0 -0
  202. data/asciidoc/examples/website/music2.ly +0 -9
  203. data/asciidoc/examples/website/music2.png +0 -0
  204. data/asciidoc/examples/website/newlists.txt +0 -40
  205. data/asciidoc/examples/website/newtables.txt +0 -397
  206. data/asciidoc/examples/website/sample1.png +0 -0
  207. data/asciidoc/examples/website/sample3.png +0 -0
  208. data/asciidoc/examples/website/sample4.png +0 -0
  209. data/asciidoc/examples/website/source-highlight-filter.html +0 -286
  210. data/asciidoc/examples/website/source-highlight-filter.txt +0 -203
  211. data/asciidoc/examples/website/support.html +0 -78
  212. data/asciidoc/examples/website/support.txt +0 -5
  213. data/asciidoc/examples/website/toc.js +0 -69
  214. data/asciidoc/examples/website/userguide.html +0 -7460
  215. data/asciidoc/examples/website/userguide.txt +0 -4979
  216. data/asciidoc/examples/website/version83.txt +0 -37
  217. data/asciidoc/examples/website/version9.html +0 -143
  218. data/asciidoc/examples/website/version9.txt +0 -48
  219. data/asciidoc/examples/website/xhtml11-quirks.css +0 -41
  220. data/asciidoc/examples/website/xhtml11.css +0 -328
  221. data/asciidoc/stylesheets/xhtml11-manpage.css +0 -18
  222. data/asciidoc/stylesheets/xhtml11.css +0 -328
@@ -14,117 +14,179 @@ Syntax: asciidoc --help syntax
14
14
 
15
15
  [manpage]
16
16
 
17
-
18
17
  NAME
19
18
 
20
- asciidoc - converts an AsciiDoc text file to DocBook, HTML or LinuxDoc
19
+ asciidoc - converts an AsciiDoc text file to HTML or DocBook
20
+
21
21
 
22
22
  SYNOPSIS
23
23
 
24
- asciidoc [OPTIONS] FILE
24
+ asciidoc [OPTIONS] FILE
25
+
25
26
 
26
27
  DESCRIPTION
27
28
 
28
- The asciidoc(1) command translates the AsciiDoc text file FILE to a
29
- DocBook, HTML or LinuxDoc file. If FILE is - then the standard input is
30
- used.
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
- -a, --attribute=ATTRIBUTE
35
- Define or delete document attribute. ATTRIBUTE is formatted like
36
- NAME=VALUE. Command-line attributes take precedence over
37
- document and configuration file attributes. Alternate acceptable
38
- forms are NAME (the VALUE defaults to an empty string); NAME!
39
- (delete the NAME attribute); NAME@ (do not override document or
40
- configuration file attributes). Values containing spaces should
41
- be enclosed in double-quote characters. This option may be
42
- specified more than once.
43
-
44
- -b, --backend=BACKEND
45
- Backend output file format: docbook, xhtml11 or html4. Defaults
46
- to xhtml11.
47
-
48
- -f, --conf-file=CONF_FILE
49
- Use configuration file CONF_FILE.Configuration files processed
50
- in command-line order (after implicit configuration files). This
51
- option may be specified more than once.
52
-
53
- -d, --doctype=DOCTYPE
54
- Document type: article, manpage or book. The book document type
55
- is only supported by the docbook backend. Default document type
56
- is article.
57
-
58
- -c, --dump-conf
59
- Dump configuration to stdout.
60
-
61
- -h, --help[=TOPIC]
62
- Print help TOPIC. --help=topics will print a list of help
63
- topics, --help=syntax summarizes AsciiDoc syntax, --help=manpage
64
- prints the AsciiDoc manpage.
65
-
66
- -e, --no-conf
67
- Exclude implicitly loaded configuration files except for those
68
- named like the input file (infile.conf and infile-backend.conf).
69
-
70
- -s, --no-header-footer
71
- Suppress document header and footer output.
72
-
73
- -o, --out-file=OUT_FILE
74
- Write output to file OUT_FILE. Defaults to the base name of
75
- input file with backend extension. If the input is stdin then
76
- the outfile defaults to stdout. If OUT_FILE is - then the
77
- standard output is used.
78
-
79
- -n, --section-numbers
80
- Auto-number HTML article section titles. Synonym for -a
81
- numbered.
82
-
83
- --unsafe
84
- Disable safe mode. Safe mode is enabled by default, disabling it
85
- is potentially dangerous.
86
-
87
- -v, --verbose
88
- Verbosely print processing information and configuration file
89
- checks to stderr.
90
-
91
- --version
92
- Print program version number.
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
- 0
97
- Success
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
- See the AsciiDoc distribution BUGS file.
120
+ See the AsciiDoc distribution BUGS file.
121
+
106
122
 
107
123
  AUTHOR
108
124
 
109
- Written by Stuart Rackham, <srackham@gmail.com>
125
+ AsciiDoc was originally written by Stuart Rackham. Many people have
126
+ contributed to it.
127
+
110
128
 
111
129
  RESOURCES
112
130
 
113
- SourceForge: http://sourceforge.net/projects/asciidoc/
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
- Copyright (C) 2002-2008 Stuart Rackham. Free use of this software is
120
- granted under the terms of the GNU General Public License (GPL).
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 often used markup.
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> (optional)
162
- revision, date (optional)
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
- Level 0 (document title): ======================
167
- Level 1: ----------------------
168
- Level 2: ~~~~~~~~~~~~~~~~~~~~~~
169
- Level 3: ^^^^^^^^^^^^^^^^^^^^^^
170
- Level 4 (bottom 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] (optional)
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] (Note 1)
204
- .Block title (Note 1)
205
- // Comment line (Note 1)
206
- include::filename[] (Note 1)
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
- Note 1: Begin at the left margin.
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
  --------------------
@@ -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
- [replacements]
15
- # Line break.
16
- (?m)^(.*)\s\+$=\1<br />
17
- ifdef::asciidoc7compatible[]
18
- # Superscripts.
19
- \^(.+?)\^=<sup>\1</sup>
20
- # Subscripts.
21
- ~(.+?)~=<sub>\1</sub>
22
- endif::asciidoc7compatible[]
23
-
24
- [ruler-blockmacro]
25
- <hr />
26
-
27
- [pagebreak-blockmacro]
28
- <div style="page-break-after:always"></div>
29
-
30
- [pi-blockmacro]
31
- <?{target}{0? {0}}?>
32
-
33
- [pi-inlinemacro]
34
- template::[pi-blockmacro]
35
-
36
- [image-inlinemacro]
37
- <a href="{link}">
38
- <img src="{imagesdir=}{target}" alt="{1={target}}"{1? title="{1}"}{width? width="{width}"}{height? height="{height}"}/>
39
- {link#}</a>
40
-
41
- [image-blockmacro]
42
- <a name="{id}"></a>
43
- <a href="{link}">
44
- <img src="{imagesdir=}{target}" alt="{1={target}}"{1? title="{1}"}{width? width="{width}"}{height? height="{height}"}/>
45
- {link#}</a>
46
- <p><b>{caption={figure_caption}}{title}</b></p>
47
-
48
- [indexterm-inlinemacro]
49
- # Index term.
50
- {empty}
51
-
52
- [indexterm2-inlinemacro]
53
- # Index term.
54
- # Single entry index term that is visible in the primary text flow.
55
- {1}
56
-
57
- [footnote-inlinemacro]
58
- # Footnote.
59
- <br />[{0}]<br />
60
-
61
- [footnoteref-inlinemacro]
62
- # Footnote reference.
63
- {2#}<br />Footnote {1} [{2}]<br />
64
- {2%}<br />[See footnote {1}]<br />
65
-
66
- [callout-inlinemacro]
67
- # Callout.
68
- <b>&lt;{index}&gt;</b>
69
-
70
- # List tags.
71
- [listtags-bulleted]
72
- list={id?<a name="{id}"></a>}{title?<p><b>{title}</b></p>}<ul>|</ul>
73
- item=<li>|</li>
74
- text=<p>|</p>
75
-
76
- [listtags-numbered]
77
- 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}">|</ol>
78
- item=<li>|</li>
79
- text=<p>|</p>
80
-
81
- [listtags-numbered2]
82
- 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}">|</ol>
83
- item=<li>|</li>
84
- text=<p>|</p>
85
-
86
- [listtags-labeled]
87
- list={id?<a name="{id}"></a>}{title?<p><b>{title}</b></p>}<dl>|</dl>
88
- entry=
89
- label=
90
- term=<dt>{strong-option?<strong>}|{strong-option?</strong>}</dt>
91
- item=<dd>|</dd>
92
- text=<p>|</p>
93
-
94
- [listtags-horizontal]
95
- list={id?<a name="{id}"></a>}{title?<p><b>{title}</b></p>}<table cellpadding="4">|</table>
96
- entry=<tr valign="top">|</tr>
97
- label=<td{labelwidth? width="{labelwidth}%"}>{strong-option?<strong>}|{strong-option?</strong>}</td>
98
- term=|<br />
99
- item=<td{itemwidth? width="{itemwidth}%"}>|</td>
100
- text=<p>|</p>
101
-
102
- [listtags-callout]
103
- list={id?<a name="{id}"></a>}{title?<p><b>{title}</b></p>}<ol>|</ol>
104
- item=<li>|</li>
105
- text=<p>|</p>
106
-
107
- [listtags-qanda]
108
- list={id?<a name="{id}"></a>}{title?<p><b>{title}</b></p>}<ol>|</ol>
109
- entry=<li>|</li>
110
- label=
111
- term=<p><em>|</em></p>
112
- item=
113
- text=<p>|</p>
114
-
115
- [listtags-glossary]
116
- list={id?<a name="{id}"></a>}{title?<p><b>{title}</b></p>}<dl>|</dl>
117
- entry=
118
- label=
119
- term=<dt>|</dt>
120
- item=<dd>|</dd>
121
- text=<p>|</p>
122
-
123
- [listtags-bibliography]
124
- list={id?<a name="{id}"></a>}{title?<p><b>{title}</b></p>}<ul>|</ul>
125
- item=<li>|</li>
126
- text=<p>|</p>
127
-
128
- [tags]
129
- # Quoted text.
130
- emphasis=<em{0? style="}{1?color: {1};}{2?background-color: {2};}{3?font-size: {3}em;}{0?"}>|</em>
131
- strong=<strong{0? style="}{1?color: {1};}{2?background-color: {2};}{3?font-size: {3}em;}{0?"}>|</strong>
132
- monospaced=<tt{0? style="}{1?color: {1};}{2?background-color: {2};}{3?font-size: {3}em;}{0?"}>|</tt>
133
- singlequoted={0?<span style="}{1?color: {1};}{2?background-color: {2};}{3?font-size: {3}em;}{0?">}{amp}#8216;|{amp}#8217;{0?</span>}
134
- doublequoted={0?<span style="}{1?color: {1};}{2?background-color: {2};}{3?font-size: {3}em;}{0?">}{amp}#8220;|{amp}#8221;{0?</span>}
135
- unquoted={0?<span style="}{1?color: {1};}{2?background-color: {2};}{3?font-size: {3}em;}{0?">}|{0?</span>}
136
- superscript=<sup{0? style="}{1?color: {1};}{2?background-color: {2};}{3?font-size: {3}em;}{0?"}>|</sup>
137
- subscript=<sub{0? style="}{1?color: {1};}{2?background-color: {2};}{3?font-size: {3}em;}{0?"}>|</sub>
138
-
139
- # $$ inline passthrough.
140
- passthrough=<span{0? style="}{1?color: {1};}{2?background-color: {2};}{3?font-size: {3}em;}{0?"}>|</span>
141
-
142
- # Inline macros
143
- [http-inlinemacro]
144
- <a href="{name}:{target}">{0={name}:{target}}</a>
145
- [https-inlinemacro]
146
- <a href="{name}:{target}">{0={name}:{target}}</a>
147
- [ftp-inlinemacro]
148
- <a href="{name}:{target}">{0={name}:{target}}</a>
149
- [file-inlinemacro]
150
- <a href="{name}:{target}">{0={name}:{target}}</a>
151
- [irc-inlinemacro]
152
- <a href="{name}:{target}">{0={name}:{target}}</a>
153
- [mailto-inlinemacro]
154
- <a href="mailto:{target}">{0={target}}</a>
155
- [callto-inlinemacro]
156
- <a href="{name}:{target}">{0={target}}</a>
157
- [link-inlinemacro]
158
- <a href="{target}">{0={target}}</a>
159
- # anchor:id[text]
160
- [anchor-inlinemacro]
161
- <a name="{target}"></a>
162
- # [[id,text]]
163
- [anchor2-inlinemacro]
164
- <a name="{1}"></a>
165
- # [[[id]]]
166
- [anchor3-inlinemacro]
167
- <a name="{1}"></a>[{1}]
168
- # xref:id[text]
169
- [xref-inlinemacro]
170
- <a href="#{target}">{0=[{target}]}</a>
171
- # <<id,text>>
172
- [xref2-inlinemacro]
173
- <a href="#{1}">{2=[{1}]}</a>
174
-
175
- # Special word substitution.
176
- [emphasizedwords]
177
- <em>{words}</em>
178
- [monospacedwords]
179
- <tt>{words}</tt>
180
- [strongwords]
181
- <strong>{words}</strong>
182
-
183
- # Paragraph substitution.
184
- [paragraph]
185
- <p>{id?<a name="{id}"></a>}{title?<b>{title}</b><br />}
186
- |
187
- </p>
188
-
189
- [literalparagraph]
190
- # The literal block employs the same markup.
191
- template::[literalblock]
192
-
193
- [verseparagraph]
194
- # The verse block employs the same markup.
195
- template::[verseblock]
196
-
197
- [admonitionparagraph]
198
- <a name="{id}"></a>
199
- <p><b>{caption}:</b> |</p>
200
-
201
- # Delimited blocks.
202
- [passthroughblock]
203
- |
204
-
205
- [listingblock]
206
- <a name="{id}"></a>
207
- <p><b>{title}</b></p>
208
- <table border="0" bgcolor="#e8e8e8" width="100%" cellpadding="10"><tr><td>
209
- <pre>
210
- |
211
- </pre>
212
- </td></tr></table>
213
-
214
- [literalblock]
215
- <a name="{id}"></a>
216
- <p><b>{title}</b></p>
217
- <pre>
218
- |
219
- </pre>
220
-
221
- [sidebarblock]
222
- <a name="{id}"></a>
223
- <table frame="border" bgcolor="#ffffee" width="80%" cellpadding="15">
224
- <tr><td>
225
- <p><em>{title}</em></p>
226
- |
227
- </td></tr></table>
228
-
229
- [abstractblock]
230
- template::[quoteblock]
231
-
232
- [quoteblock]
233
- <a name="{id}"></a>
234
- <blockquote>
235
- <p><b>{title}</b></p>
236
- |
237
- <p align="right">
238
- <em>{citetitle}</em><br />
239
- &#8212; {attribution}
240
- </p>
241
- </blockquote>
242
-
243
- [verseblock]
244
- <a name="{id}"></a>
245
- <blockquote>
246
- <p><b>{title}</b></p>
247
- # Font inheritance broken in IE6.
248
- <pre style="font-family: inherit;">
249
- |
250
- </pre>
251
- <p align="left">
252
- <em>{citetitle}</em><br />
253
- &#8212; {attribution}
254
- </p>
255
- </blockquote>
256
-
257
- [exampleblock]
258
- <a name="{id}"></a>
259
- <p><b>{caption=}{title}</b></p>
260
- <table frame="border" bgcolor="white" width="80%" cellpadding="15">
261
- <tr><td>
262
- |
263
- </td></tr></table>
264
-
265
- [admonitionblock]
266
- <a name="{id}"></a>
267
- <table frame="void" bgcolor="white" width="80%" cellpadding="8">
268
- <tr valign="top"><td><p><b>{caption}</b></p></td><td>
269
- <p><b>{title}</b></p>
270
- |
271
- </td></tr></table>
272
-
273
- [mathblock]
274
- # Here to suppress missing block warning (html4 does not include math
275
- # JavaScripts).
276
- <a name="{id}"></a>
277
- <p><b>{title}</b></p>
278
- <div>
279
- |
280
- </div>
281
-
282
- # Tables.
283
- [tabletags-default]
284
- bodyrow=<tr>|</tr>
285
- headdata=<th align="{colalign}" width="{colpcwidth}%">|</th>
286
- footdata=<td align="{colalign}" width="{colpcwidth}%" style="font-weight:bold">|</td>
287
- bodydata=<td align="{colalign}" width="{colpcwidth}%" valign="{valign=top}">|</td>
288
- paragraph=<p>|</p>
289
-
290
- [tabletags-emphasis]
291
- paragraph=<p><em>|</em></p>
292
-
293
- [tabletags-strong]
294
- paragraph=<p><strong>|</strong></p>
295
-
296
- [tabletags-monospaced]
297
- paragraph=<p><tt>|</tt></p>
298
-
299
- [tabletags-verse]
300
- bodydata=<td align="{colalign}" width="{colpcwidth}%" valign="{valign=top}"><pre style="font-family: inherit;">|</pre></td>
301
- paragraph=
302
-
303
- [tabletags-literal]
304
- bodydata=<td align="{colalign}" width="{colpcwidth}%" valign="{valign=top}"><pre><tt>|</tt></pre></td>
305
- paragraph=
306
-
307
- [tabletags-asciidoc]
308
- bodydata=<td align="{colalign}" width="{colpcwidth}%" valign="{valign=top}"><div>|</div></td>
309
- paragraph=
310
-
311
- [table]
312
- <p><b>{caption={table_caption}}</b>{title}</p>
313
- <a name="{id}"></a>
314
- <table rules="{grid=all}"
315
- width="{tablepcwidth}%"
316
- frame="{frame%border}"
317
- frame="{frame@topbot:hsides}{frame@all:border}{frame@none:void}{frame@sides:vsides}"
318
- cellspacing="0" cellpadding="4">
319
- {headrows#}<thead>
320
- {headrows}
321
- {headrows#}</thead>
322
- {footrows#}<tfoot>
323
- {footrows}
324
- {footrows#}</tfoot>
325
- <tbody>
326
- {bodyrows}
327
- </tbody>
328
- </table>
329
-
330
- #--------------------------------------------------------------------
331
- # Deprecated old table definitions.
332
- #
333
-
334
- [miscellaneous]
335
- # Screen width in pixels.
336
- pagewidth=800
337
- pageunits=
338
-
339
- [old_tabledef-default]
340
- template=old_table
341
- bodyrow=<tr>|</tr>
342
- headdata=<th align="{colalign}" width="{colwidth}{pageunits}">|</th>
343
- footdata=<td align="{colalign}" width="{colwidth}{pageunits}"><strong>|</strong></td>
344
- bodydata=<td align="{colalign}" width="{colwidth}{pageunits}" valign="top">|</td>
345
-
346
- [old_table]
347
- <p><b>{caption={table_caption}}</b>{title}</p>
348
- <a name="{id}"></a>
349
- <table rules="{grid=none}"
350
- frame="{frame%hsides}"
351
- frame="{frame@topbot:hsides}{frame@all:border}{frame@none:void}{frame@sides:vsides}"
352
- cellspacing="0" cellpadding="4">
353
- {headrows#}<thead>
354
- {headrows}
355
- {headrows#}</thead>
356
- {footrows#}<tfoot>
357
- {footrows}
358
- {footrows#}</tfoot>
359
- <tbody>
360
- {bodyrows}
361
- </tbody>
362
- </table>
363
-
364
- # End of deprecated old table definitions.
365
- #--------------------------------------------------------------------
366
-
367
- [preamble]
368
- # Untitled elements between header and first section title.
369
- <a name="{id}"></a>
370
- |
371
-
372
- [sect0]
373
- {doctype-manpage%}<hr />
374
- <h1>{id?<a name="{id}"></a>}{title}</h1>
375
- |
376
-
377
- [sect1]
378
- {doctype-manpage%}<hr />
379
- <h2>{id?<a name="{id}"></a>}{numbered?{sectnum} }{title}</h2>
380
- |
381
-
382
- [sect2]
383
- <h3>{id?<a name="{id}"></a>}{numbered?{sectnum} }{title}</h3>
384
- |
385
-
386
- [sect3]
387
- <h4>{id?<a name="{id}"></a>}{numbered?{sectnum} }{title}</h4>
388
- |
389
-
390
- [sect4]
391
- <h5>{id?<a name="{id}"></a>}{title}</h5>
392
- |
393
-
394
- [footer]
395
- <p></p>
396
- <p></p>
397
- <hr /><p><small>
398
- Version {revision}<br />
399
- Last updated {localdate} {localtime}
400
- </small></p>
401
- </body>
402
- </html>
403
-
404
- #-------------------------
405
- # article document type
406
- #-------------------------
407
- ifndef::doctype-manpage[]
408
-
409
- [header]
410
- <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
411
- <html>
412
- <head>
413
- <meta http-equiv="Content-Type" content="text/html; charset={encoding=ISO-8859-1}">
414
- <meta name="generator" content="AsciiDoc {asciidoc-version}">
415
- <title>{doctitle}</title>
416
- </head>
417
- <body>
418
- <h1>{doctitle}</h1>
419
- <p>
420
- <strong>{author}</strong><br />
421
- <tt>&lt;<a href="mailto:{email}">{email}</a>&gt;</tt><br />
422
- version {revision}{date?,}
423
- {date}
424
- </p>
425
-
426
- endif::doctype-manpage[]
427
-
428
- #-------------------------
429
- # manpage document type
430
- #-------------------------
431
- ifdef::doctype-manpage[]
432
-
433
- [tags]
434
- # This is more inline with man page convention.
435
- emphasis=<b>|</b>
436
- vlistterm=<dt><b>|</b></dt>
437
-
438
- [header]
439
- <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
440
- <html>
441
- <head>
442
- <meta http-equiv="Content-Type" content="text/html; charset={encoding=ISO-8859-1}">
443
- <meta name="generator" content="AsciiDoc {asciidoc-version}">
444
- <title>{mantitle}</title>
445
- </head>
446
- <body>
447
- <hr />
448
- <h1>
449
- {doctitle} Manual Page
450
- </h1>
451
- <hr />
452
- <h2>NAME</h2>
453
- <p>{manname} -
454
- {manpurpose}
455
- </p>
456
-
457
- [sect-synopsis]
458
- template::[sect1]
459
-
460
- endif::doctype-manpage[]
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>&lt;{index}&gt;</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
+ &#8212; {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
+ &#8212; {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>&lt;<a href="mailto:{email}">{email}</a>&gt;</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[]