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
@@ -15,9 +15,6 @@ text=
15
15
  [listtags-numbered]
16
16
  text=
17
17
 
18
- [listtags-numbered2]
19
- text=
20
-
21
18
  [listtags-labeled]
22
19
  text=
23
20
 
@@ -46,3 +43,46 @@ paragraph=<div><strong>|</strong></div>
46
43
  [tabletags-monospaced]
47
44
  paragraph=<div><tt>|</tt></div>
48
45
 
46
+ [listingblock]
47
+ <a name="{id}"></a>
48
+ <p><b>{title}</b></p>
49
+ <table border="0" bgcolor="#e8e8e8" width="100%" style="margin:0.2em 0;">
50
+ <tr><td style="padding:0.5em;">
51
+ <pre style="margin:0; padding:0;">
52
+ |
53
+ </pre>
54
+ </td></tr>
55
+ </table>
56
+
57
+ [literalblock]
58
+ <a name="{id}"></a>
59
+ <p><b>{title}</b></p>
60
+ <pre style="padding:0.5em; color:gray;">
61
+ |
62
+ </pre>
63
+
64
+ [sidebarblock]
65
+ <a name="{id}"></a>
66
+ <table frame="void" bgcolor="#ffffee" width="100%" style="margin:0.2em 0;">
67
+ <tr><td style="padding:0.5em;">
68
+ <p style="margin-top:0;"><b>{title}</b></p>
69
+ |
70
+ </td></tr></table>
71
+
72
+ [exampleblock]
73
+ <a name="{id}"></a>
74
+ <p><b>{caption=}{title}</b></p>
75
+ <table frame="void" width="100%" style="margin:0.2em 0;">
76
+ <tr><td style="border-left:3px solid #e8e8e8; padding:0.5em;">
77
+ |
78
+ </td></tr></table>
79
+
80
+ [admonitionblock]
81
+ <a name="{id}"></a>
82
+ <table frame="void" style="margin:0.2em 0;">
83
+ <tr valign="top"><td style="padding:0.5em;"><p><b><u>{caption}</u></b></p></td>
84
+ <td style="border-left:3px solid #e8e8e8; padding:0.5em;">
85
+ <p><b>{title}</b></p>
86
+ |
87
+ </td></tr></table>
88
+
@@ -1,57 +1,61 @@
1
- #
2
- # xhtml11-quirks.conf
3
- #
4
- # Workarounds for IE6's broken # and incomplete CSS2.
5
- #
6
-
7
- [image-blockmacro]
8
- <div class="imageblock"{id? id="{id}"}>
9
- <div class="content">
10
- <a class="image" href="{link}">
11
- <img src="{imagesdir=}{target}" alt="{1={target}}"{1? title="{1}"}{width? width="{width}"}{height? height="{height}"}/>
12
- {link#}</a>
13
- </div>
14
- <div class="image-title">{caption={figure_caption}}{title}</div>
15
- </div>
16
-
17
- [sidebarblock]
18
- <div class="sidebarblock"{id? id="{id}"}>
19
- <div class="sidebar-content">
20
- <div class="sidebar-title">{title}</div>
21
- |
22
- </div></div>
23
-
24
- [quoteblock]
25
- <div class="quoteblock"{id? id="{id}"}>
26
- <div class="title">{title}</div>
27
- <div class="quoteblock-content">
28
- |
29
- </div>
30
- <div class="quoteblock-attribution">
31
- <em>{citetitle}</em><br />
32
- &#8212; {attribution}
33
- </div></div>
34
-
35
- [verseblock]
36
- <div class="verseblock"{id? id="{id}"}>
37
- <div class="title">{title}</div>
38
- <div class="verseblock-content">
39
- |
40
- </div>
41
- <div class="verseblock-attribution">
42
- <em>{citetitle}</em><br />
43
- &#8212; {attribution}
44
- </div></div>
45
-
46
- [exampleblock]
47
- <div class="exampleblock"{id? id="{id}"}>
48
- <div class="title">{caption=}{title}</div>
49
- <div class="exampleblock-content">
50
- |
51
- </div></div>
52
-
53
- [sect2]
54
- # The <div> is because the IE6 adjacent-sibling CSS selector is broken.
55
- <h3{id? id="{id}"}>{numbered?{sectnum} }{title}</h3><div style="clear:left"></div>
56
- |
57
-
1
+ #
2
+ # xhtml11-quirks.conf
3
+ #
4
+ # Workarounds for IE6's broken # and incomplete CSS2.
5
+ #
6
+
7
+ [image-blockmacro]
8
+ <div class="imageblock{style? {style}}{role? {role}}"{id? id="{id}"}{align? style="text-align:{align};"}{float? style="float:{float};"}>
9
+ <div class="content">
10
+ <a class="image" href="{link}">
11
+ {data-uri%}<img src="{imagesdir=}{imagesdir?/}{target}" alt="{alt={target}}"{width? width="{width}"}{height? height="{height}"} />
12
+ {data-uri#}<img alt="{alt={target}}"{width? width="{width}"}{height? height="{height}"} src="data:image/{eval:os.path.splitext('{target}')[1][1:]};base64,
13
+ {data-uri#}{sys:python -uc "import base64,sys; base64.encode(sys.stdin,sys.stdout)" < "{eval:os.path.join("{indir={outdir}}","{imagesdir=}","{target}")}"}" />
14
+ {link#}</a>
15
+ </div>
16
+ <div class="image-title">{caption={figure-caption} {counter:figure-number}: }{title}</div>
17
+ </div>
18
+
19
+ [sidebarblock]
20
+ <div class="sidebarblock{role? {role}}"{id? id="{id}"}>
21
+ <div class="sidebar-content">
22
+ <div class="sidebar-title">{title}</div>
23
+ |
24
+ </div></div>
25
+
26
+ [quoteblock]
27
+ <div class="quoteblock{role? {role}}"{id? id="{id}"}>
28
+ <div class="title">{title}</div>
29
+ <div class="quoteblock-content">
30
+ |
31
+ </div>
32
+ <div class="quoteblock-attribution">
33
+ <em>{citetitle}</em><br />
34
+ &#8212; {attribution}
35
+ </div></div>
36
+
37
+ [verseblock]
38
+ <div class="verseblock{role? {role}}"{id? id="{id}"}>
39
+ <div class="title">{title}</div>
40
+ <pre class="verseblock-content">
41
+ |
42
+ </pre>
43
+ <div class="verseblock-attribution">
44
+ <em>{citetitle}</em><br />
45
+ &#8212; {attribution}
46
+ </div></div>
47
+
48
+ [exampleblock]
49
+ <div class="exampleblock{role? {role}}"{id? id="{id}"}>
50
+ <div class="title">{caption={example-caption} {counter:example-number}: }{title}</div>
51
+ <div class="exampleblock-content">
52
+ |
53
+ </div></div>
54
+
55
+ [sect2]
56
+ <div class="sect2{style? {style}}{role? {role}}">
57
+ # The <div> is because the IE6 adjacent-sibling CSS selector is broken.
58
+ <h3{id? id="{id}"}>{numbered?{sectnum} }{title}</h3><div style="clear:left"></div>
59
+ |
60
+ </div>
61
+
@@ -1,645 +1,684 @@
1
- #
2
- # xhtml11.conf
3
- #
4
- # Asciidoc configuration file.
5
- # xhtml11 backend, generates XHTML 1.1 conformant markup.
6
- #
7
-
8
- [miscellaneous]
9
- outfilesuffix=.html
10
-
11
- [attributes]
12
- basebackend=html
13
- basebackend-html=
14
-
15
- [replacements]
16
- # Line break.
17
- (?m)^(.*)\s\+$=\1<br />
18
-
19
- # Escape ASCIIMathML delimiters.
20
- ifdef::asciimath[]
21
- \$=\$
22
- `=\`
23
- endif::asciimath[]
24
- # Escape LaTeXMathML delimiter.
25
- ifdef::latexmath[]
26
- \$=\$
27
- endif::latexmath[]
28
-
29
- ifdef::asciidoc7compatible[]
30
- # Superscripts.
31
- \^(.+?)\^=<sup>\1</sup>
32
- # Subscripts.
33
- ~(.+?)~=<sub>\1</sub>
34
- endif::asciidoc7compatible[]
35
-
36
- [ruler-blockmacro]
37
- <hr />
38
-
39
- [pagebreak-blockmacro]
40
- <div style="page-break-after:always"></div>
41
-
42
- [blockdef-pass]
43
- asciimath-style=template="asciimathblock",subs=[]
44
- latexmath-style=template="latexmathblock",subs=[]
45
-
46
- [macros]
47
- # math macros.
48
- # Special characters are escaped in HTML math markup.
49
- (?su)[\\]?(?P<name>asciimath|latexmath):(?P<subslist>\S*?)\[(?P<passtext>.*?)(?<!\\)\]=[specialcharacters]
50
- (?u)^(?P<name>asciimath|latexmath)::(?P<subslist>\S*?)(\[(?P<passtext>.*?)\])$=#[specialcharacters]
51
-
52
- [asciimath-inlinemacro]
53
- `{passtext}`
54
-
55
- [asciimath-blockmacro]
56
- <div class="mathblock"{id? id="{id}"}>
57
- <div class="content">
58
- <div class="title">{title}</div>
59
- `{passtext}`
60
- </div></div>
61
-
62
- [asciimathblock]
63
- <div class="mathblock"{id? id="{id}"}>
64
- <div class="content">
65
- <div class="title">{title}</div>
66
- `|`
67
- </div></div>
68
-
69
- [latexmath-inlinemacro]
70
- {passtext}
71
-
72
- [latexmath-blockmacro]
73
- <div class="mathblock"{id? id="{id}"}>
74
- <div class="content">
75
- <div class="title">{title}</div>
76
- {passtext}
77
- </div></div>
78
-
79
- [latexmathblock]
80
- <div class="mathblock"{id? id="{id}"}>
81
- <div class="content">
82
- <div class="title">{title}</div>
83
- |
84
- </div></div>
85
-
86
- [image-inlinemacro]
87
- <span class="image">
88
- <a class="image" href="{link}">
89
- <img src="{imagesdir=}{target}" alt="{1={target}}"{1? title="{1}"}{width? width="{width}"}{height? height="{height}"} />
90
- {link#}</a>
91
- </span>
92
-
93
- [image-blockmacro]
94
- <div class="imageblock"{id? id="{id}"}>
95
- <div class="content">
96
- <a class="image" href="{link}">
97
- <img src="{imagesdir=}{target}" alt="{1={target}}"{1? title="{1}"}{width? width="{width}"}{height? height="{height}"} />
98
- {link#}</a>
99
- </div>
100
- <div class="title">{caption={figure_caption}}{title}</div>
101
- </div>
102
-
103
- [indexterm-inlinemacro]
104
- # Index term.
105
- {empty}
106
-
107
- [indexterm2-inlinemacro]
108
- # Index term.
109
- # Single entry index term that is visible in the primary text flow.
110
- {1}
111
-
112
- [footnote-inlinemacro]
113
- # Footnote.
114
- <br />[{0}]<br />
115
-
116
- [footnoteref-inlinemacro]
117
- # Footnote reference.
118
- {2#}<br />Footnote {1} [{2}]<br />
119
- {2%}<br />[See footnote {1}]<br />
120
-
121
- [callout-inlinemacro]
122
- # Callout.
123
- <b>&lt;{index}&gt;</b>
124
-
125
- # List tags.
126
- [listtags-bulleted]
127
- list=<div class="ulist{style? {style}}{compact-option? compact}"{id? id="{id}"}>{title?<div class="title">{title}</div>}<ul>|</ul></div>
128
- item=<li>|</li>
129
- text=<p>|</p>
130
-
131
- [listtags-numbered]
132
- list=<div class="olist{style? {style}}{compact-option? compact}"{id? id="{id}"}>{title?<div class="title">{title}</div>}<ol class="{style}">|</ol></div>
133
- item=<li>|</li>
134
- text=<p>|</p>
135
-
136
- [listtags-numbered2]
137
- list=<div class="olist2{style? {style}}{compact-option? compact}"{id? id="{id}"}>{title?<div class="title">{title}</div>}<ol class="{style}">|</ol></div>
138
- item=<li>|</li>
139
- text=<p>|</p>
140
-
141
- [listtags-labeled]
142
- list=<div class="dlist{compact-option? compact}"{id? id="{id}"}>{title?<div class="title">{title}</div>}<dl>|</dl></div>
143
- entry=
144
- label=
145
- term=<dt class="hdlist1{strong-option? strong}">|</dt>
146
- item=<dd>|</dd>
147
- text=<p>|</p>
148
-
149
- [listtags-horizontal]
150
- list=<div class="hdlist{compact-option? compact}"{id? id="{id}"}>{title?<div class="title">{title}</div>}<table>{labelwidth?<col width="{labelwidth}%" />}{itemwidth?<col width="{itemwidth}%" />}|</table></div>
151
- label=<td class="hdlist1{strong-option? strong}">|</td>
152
- term=|<br />
153
- entry=<tr>|</tr>
154
- item=<td class="hdlist2">|</td>
155
- text=<p style="margin-top: 0;">|</p>
156
-
157
- [listtags-qanda]
158
- list=<div class="qlist{style? {style}}"{id? id="{id}"}>{title?<div class="title">{title}</div>}<ol>|</ol></div>
159
- entry=<li>|</li>
160
- label=
161
- term=<p><em>|</em></p>
162
- item=
163
- text=<p>|</p>
164
-
165
- [listtags-callout]
166
- list=<div class="colist{style? {style}}"{id? id="{id}"}>{title?<div class="title">{title}</div>}<ol>|</ol></div>
167
- item=<li>|</li>
168
- text=<p>|</p>
169
-
170
- [listtags-glossary]
171
- list=<div class="dlist{style? {style}}"{id? id="{id}"}>{title?<div class="title">{title}</div>}<dl>|</dl></div>
172
- label=
173
- entry=
174
- term=<dt>|</dt>
175
- item=<dd>|</dd>
176
- text=<p>|</p>
177
-
178
- [listtags-bibliography]
179
- list=<div class="ulist{style? {style}}"{id? id="{id}"}>{title?<div class="title">{title}</div>}<ul>|</ul></div>
180
- item=<li>|</li>
181
- text=<p>|</p>
182
-
183
- [tags]
184
- # Quoted text.
185
- emphasis=<em{0? style="}{1?color: {1};}{2?background-color: {2};}{3?font-size: {3}em;}{0?"}>|</em>
186
- strong=<strong{0? style="}{1?color: {1};}{2?background-color: {2};}{3?font-size: {3}em;}{0?"}>|</strong>
187
- monospaced=<tt{0? style="}{1?color: {1};}{2?background-color: {2};}{3?font-size: {3}em;}{0?"}>|</tt>
188
- singlequoted={0?<span style="}{1?color: {1};}{2?background-color: {2};}{3?font-size: {3}em;}{0?">}{amp}#8216;|{amp}#8217;{0?</span>}
189
- doublequoted={0?<span style="}{1?color: {1};}{2?background-color: {2};}{3?font-size: {3}em;}{0?">}{amp}#8220;|{amp}#8221;{0?</span>}
190
- unquoted={0?<span style="}{1?color: {1};}{2?background-color: {2};}{3?font-size: {3}em;}{0?">}|{0?</span>}
191
- superscript=<sup{0? style="}{1?color: {1};}{2?background-color: {2};}{3?font-size: {3}em;}{0?"}>|</sup>
192
- subscript=<sub{0? style="}{1?color: {1};}{2?background-color: {2};}{3?font-size: {3}em;}{0?"}>|</sub>
193
-
194
- # Inline macros
195
- [http-inlinemacro]
196
- <a href="{name}:{target}">{0={name}:{target}}</a>
197
- [https-inlinemacro]
198
- <a href="{name}:{target}">{0={name}:{target}}</a>
199
- [ftp-inlinemacro]
200
- <a href="{name}:{target}">{0={name}:{target}}</a>
201
- [file-inlinemacro]
202
- <a href="{name}:{target}">{0={name}:{target}}</a>
203
- [irc-inlinemacro]
204
- <a href="{name}:{target}">{0={name}:{target}}</a>
205
- [mailto-inlinemacro]
206
- <a href="mailto:{target}">{0={target}}</a>
207
- [link-inlinemacro]
208
- <a href="{target}">{0={target}}</a>
209
- [callto-inlinemacro]
210
- <a href="{name}:{target}">{0={target}}</a>
211
- # anchor:id[text]
212
- [anchor-inlinemacro]
213
- <a id="{target}"></a>
214
- # [[id,text]]
215
- [anchor2-inlinemacro]
216
- <a id="{1}"></a>
217
- # [[[id]]]
218
- [anchor3-inlinemacro]
219
- <a id="{1}"></a>[{1}]
220
- # xref:id[text]
221
- [xref-inlinemacro]
222
- <a href="#{target}">{0=[{target}]}</a>
223
- # <<id,text>>
224
- [xref2-inlinemacro]
225
- <a href="#{1}">{2=[{1}]}</a>
226
-
227
- # Special word substitution.
228
- [emphasizedwords]
229
- <em>{words}</em>
230
- [monospacedwords]
231
- <tt>{words}</tt>
232
- [strongwords]
233
- <strong>{words}</strong>
234
-
235
- # Paragraph substitution.
236
- [paragraph]
237
- <div class="paragraph{style? {style}}"{id? id="{id}"}>{title?<div class="title">{title}</div>}<p>
238
- |
239
- </p></div>
240
-
241
- [literalparagraph]
242
- # The literal block employs the same markup.
243
- template::[literalblock]
244
-
245
- [verseparagraph]
246
- # The verse block employs the same markup.
247
- template::[verseblock]
248
-
249
- [admonitionparagraph]
250
- # The admonition block employs the same markup.
251
- template::[admonitionblock]
252
-
253
- # Delimited blocks.
254
- [listingblock]
255
- <div class="listingblock"{id? id="{id}"}>
256
- <div class="title">{caption=}{title}</div>
257
- <div class="content">
258
- <pre><tt>
259
- |
260
- </tt></pre>
261
- </div></div>
262
-
263
- [literalblock]
264
- <div class="literalblock"{id? id="{id}"}>
265
- <div class="title">{title}</div>
266
- <div class="content">
267
- {style#}<pre class="{style}"><span>
268
- {style%}<pre><tt>
269
- |
270
- </tt></pre>
271
- </div></div>
272
-
273
- [sidebarblock]
274
- <div class="sidebarblock"{id? id="{id}"}>
275
- <div class="content">
276
- <div class="title">{title}</div>
277
- |
278
- </div></div>
279
-
280
- [abstractblock]
281
- template::[quoteblock]
282
-
283
- [quoteblock]
284
- <div class="quoteblock"{id? id="{id}"}>
285
- <div class="title">{title}</div>
286
- <div class="content">
287
- |
288
- </div>
289
- <div class="attribution">
290
- <em>{citetitle}</em><br />
291
- &#8212; {attribution}
292
- </div></div>
293
-
294
- [verseblock]
295
- <div class="verseblock"{id? id="{id}"}>
296
- <div class="title">{title}</div>
297
- <div class="content">
298
- |
299
- </div>
300
- <div class="attribution">
301
- <em>{citetitle}</em><br />
302
- &#8212; {attribution}
303
- </div></div>
304
-
305
- [exampleblock]
306
- <div class="exampleblock"{id? id="{id}"}>
307
- <div class="title">{caption=}{title}</div>
308
- <div class="content">
309
- |
310
- </div></div>
311
-
312
- [admonitionblock]
313
- <div class="admonitionblock"{id? id="{id}"}>
314
- <table><tr>
315
- <td class="icon">
316
- {icons#}<img src="{icon={iconsdir}/{name}.png}" alt="{caption}" />
317
- {icons%}<div class="title">{caption}</div>
318
- </td>
319
- <td class="content">
320
- <div class="title">{title}</div>
321
- |
322
- </td>
323
- </tr></table>
324
- </div>
325
-
326
- # Tables.
327
- [tabletags-default]
328
- # {colalign} should be in <col> but Firefox 2 & 3 require it in <td>.
329
- colspec=<col width="{colpcwidth}%" />
330
- bodyrow=<tr>|</tr>
331
- headdata=<th align="{colalign}">|</th>
332
- bodydata=<td align="{colalign}">|</td>
333
- paragraph=<p class="table">|</p>
334
-
335
- [tabletags-emphasis]
336
- paragraph=<p class="table"><em>|</em></p>
337
-
338
- [tabletags-strong]
339
- paragraph=<p class="table"><strong>|</strong></p>
340
-
341
- [tabletags-monospaced]
342
- paragraph=<p class="table"><tt>|</tt></p>
343
-
344
- [tabletags-verse]
345
- bodydata=<td align="{colalign}"><div class="verse">|</div></td>
346
- paragraph=
347
-
348
- [tabletags-literal]
349
- bodydata=<td align="{colalign}"><div class="literal"><pre><tt>|</tt></pre></div></td>
350
- paragraph=
351
-
352
- [tabletags-asciidoc]
353
- bodydata=<td align="{colalign}"><div>|</div></td>
354
- paragraph=
355
-
356
- [table]
357
- <div class="tableblock"{id? id="{id}"}>
358
- <table rules="{grid=all}"
359
- width="{tablepcwidth}%"
360
- frame="{frame%border}"
361
- frame="{frame@topbot:hsides}{frame@all:border}{frame@none:void}{frame@sides:vsides}"
362
- cellspacing="0" cellpadding="4">
363
- <caption class="title">{caption={table_caption}}{title}</caption>
364
- {colspecs}
365
- {headrows#}<thead valign="{valign=top}">
366
- {headrows}
367
- {headrows#}</thead>
368
- {footrows#}<tfoot valign="{valign=top}">
369
- {footrows}
370
- {footrows#}</tfoot>
371
- <tbody valign="{valign=top}">
372
- {bodyrows}
373
- </tbody>
374
- </table>
375
- </div>
376
-
377
- #--------------------------------------------------------------------
378
- # Deprecated old table definitions.
379
- #
380
-
381
- [miscellaneous]
382
- # Screen width in pixels.
383
- pagewidth=800
384
- pageunits=
385
-
386
- [old_tabledef-default]
387
- template=old_table
388
- colspec=<col width="{colwidth}{pageunits}" />
389
- bodyrow=<tr>|</tr>
390
- headdata=<th align="{colalign}">|</th>
391
- footdata=<td align="{colalign}">|</td>
392
- bodydata=<td align="{colalign}">|</td>
393
-
394
- [old_table]
395
- <div class="tableblock"{id? id="{id}"}>
396
- <table rules="{grid=none}"
397
- frame="{frame%hsides}"
398
- frame="{frame@topbot:hsides}{frame@all:border}{frame@none:void}{frame@sides:vsides}"
399
- cellspacing="0" cellpadding="4">
400
- <caption class="title">{caption={table_caption}}{title}</caption>
401
- {colspecs}
402
- {headrows#}<thead>
403
- {headrows}
404
- {headrows#}</thead>
405
- {footrows#}<tfoot>
406
- {footrows}
407
- {footrows#}</tfoot>
408
- <tbody valign="top">
409
- {bodyrows}
410
- </tbody>
411
- </table>
412
- </div>
413
-
414
- # End of deprecated old table definitions.
415
- #--------------------------------------------------------------------
416
-
417
- [preamble]
418
- # Untitled elements between header and first section title.
419
- <div id="preamble"{id? id="{id}"}>
420
- <div class="sectionbody">
421
- |
422
- </div>
423
- </div>
424
-
425
- # Document sections.
426
- [sect0]
427
- <h1{id? id="{id}"}>{title}</h1>
428
- |
429
-
430
- [sect1]
431
- <h2{id? id="{id}"}>{numbered?{sectnum} }{title}</h2>
432
- <div class="sectionbody">
433
- |
434
- </div>
435
-
436
- [sect2]
437
- <h3{id? id="{id}"}>{numbered?{sectnum} }{title}</h3>
438
- |
439
-
440
- [sect3]
441
- <h4{id? id="{id}"}>{numbered?{sectnum} }{title}</h4>
442
- |
443
-
444
- [sect4]
445
- <h5{id? id="{id}"}>{title}</h5>
446
- |
447
-
448
- [header]
449
- # IE6 enters quirks mode if the following XML directive is present.
450
- #<?xml version="1.0" encoding="UTF-8"?>
451
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
452
- "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
453
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{lang=en}">
454
- <head>
455
- <meta http-equiv="Content-Type" content="{quirks=application/xhtml+xml}{quirks?text/html}; charset={encoding}" />
456
- <meta name="generator" content="AsciiDoc {asciidoc-version}" />
457
- <title>{doctitle=}</title>
458
- ifdef::linkcss[]
459
- <link rel="stylesheet" href="{stylesdir=.}/{theme={backend}}.css" type="text/css" />
460
- {doctype-manpage}<link rel="stylesheet" href="{stylesdir=.}/{theme={backend}}-manpage.css" type="text/css" />
461
- ifdef::quirks[]
462
- <link rel="stylesheet" href="{stylesdir=.}/{theme={backend}}-quirks.css" type="text/css" />
463
- endif::quirks[]
464
- <link rel="stylesheet" href="{stylesdir=.}/{stylesheet}" type="text/css" />
465
- endif::linkcss[]
466
- ifndef::linkcss[]
467
- <style type="text/css">
468
- include1::{stylesdir=./stylesheets}/{theme={backend}}.css[]
469
- ifdef::doctype-manpage[]
470
- include1::{stylesdir=./stylesheets}/{theme={backend}}-manpage.css[]
471
- endif::doctype-manpage[]
472
- ifdef::quirks[]
473
- include1::{stylesdir=./stylesheets}/{theme={backend}}-quirks.css[]
474
- endif::quirks[]
475
- include1::{stylesheet}[]
476
- </style>
477
- endif::linkcss[]
478
- ifdef::toc[]
479
- ifdef::linkcss[]
480
- <script type="text/javascript">
481
- # Escape as CDATA to pass validators.
482
- /*<![CDATA[*/
483
- window.onload = function()\{generateToc({toclevels=2})\}
484
- /*]]>*/
485
- </script>
486
- <script type="text/javascript" src="{scriptsdir=.}/toc.js"></script>
487
- endif::linkcss[]
488
- ifndef::linkcss[]
489
- <script type="text/javascript">
490
- # Escape as CDATA to pass validators.
491
- /*<![CDATA[*/
492
- window.onload = function()\{generateToc({toclevels=2})\}
493
- include1::{scriptsdir=./javascripts}/toc.js[]
494
- /*]]>*/
495
- </script>
496
- endif::linkcss[]
497
- endif::toc[]
498
- ifdef::asciimath[]
499
- ifdef::linkcss[]
500
- <script type="text/javascript" src="{scriptsdir=.}/ASCIIMathML.js"></script>
501
- endif::linkcss[]
502
- ifndef::linkcss[]
503
- <script type="text/javascript">
504
- # Escape as CDATA to pass validators.
505
- /*<![CDATA[*/
506
- include1::{scriptsdir=./javascripts}/ASCIIMathML.js[]
507
- /*]]>*/
508
- </script>
509
- endif::linkcss[]
510
- endif::asciimath[]
511
- ifdef::latexmath[]
512
- ifdef::linkcss[]
513
- <script type="text/javascript" src="{scriptsdir=.}/LaTeXMathML.js"></script>
514
- endif::linkcss[]
515
- ifndef::linkcss[]
516
- <script type="text/javascript">
517
- # Escape as CDATA to pass validators.
518
- /*<![CDATA[*/
519
- include1::{scriptsdir=./javascripts}/LaTeXMathML.js[]
520
- /*]]>*/
521
- </script>
522
- endif::linkcss[]
523
- endif::latexmath[]
524
- </head>
525
- <body>
526
- # Article, book header.
527
- ifndef::doctype-manpage[]
528
- <div id="header">
529
- <h1>{doctitle}</h1>
530
- <span id="author">{author}</span><br />
531
- <span id="email"><tt>&lt;<a href="mailto:{email}">{email}</a>&gt;</tt></span><br />
532
- <span id="revision">version {revision}{date?,}</span>
533
- {date}
534
- ifdef::toc[]
535
- <div id="toc">
536
- <div id="toctitle">{toc_title}</div>
537
- <noscript><p><b>JavaScript must be enabled in your browser to display the table of contents.</b></p></noscript>
538
- </div>
539
- endif::toc[]
540
- </div>
541
- endif::doctype-manpage[]
542
- # Man page header.
543
- ifdef::doctype-manpage[]
544
- <div id="header">
545
- <h1>
546
- {doctitle} Manual Page
547
- </h1>
548
- ifdef::toc[]
549
- <div id="toc">
550
- <div id="toctitle">{toc_title}</div>
551
- <noscript><p><b>JavaScript must be enabled in your browser to display the table of contents.</b></p></noscript>
552
- </div>
553
- endif::toc[]
554
- <h2>NAME</h2>
555
- <div class="sectionbody">
556
- <p>{manname} -
557
- {manpurpose}
558
- </p>
559
- </div>
560
- </div>
561
- endif::doctype-manpage[]
562
-
563
- [footer]
564
- <div id="footer">
565
- <div id="footer-text">
566
- Version {revision}<br />
567
- Last updated {localdate} {localtime}
568
- </div>
569
- ifdef::badges[]
570
- <div id="footer-badges">
571
- ifndef::icons[]
572
- Valid <a href="http://validator.w3.org/check?uri=referer">XHTML</a>
573
- and <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a>.
574
- endif::icons[]
575
- ifdef::icons[]
576
- <a href="http://validator.w3.org/check?uri=referer">
577
- <img style="border:none; width:88px; height:31px;"
578
- src="http://www.w3.org/Icons/valid-xhtml11"
579
- alt="Valid XHTML 1.1!" />
580
- </a>
581
- <a href="http://jigsaw.w3.org/css-validator/check/referer">
582
- <img style="border:none; width:88px; height:31px;"
583
- src="http://jigsaw.w3.org/css-validator/images/vcss"
584
- alt="Valid CSS!" />
585
- </a>
586
- <a href="http://www.mozilla.org/products/firefox/">
587
- <img style="border:none; width:110px; height:32px;"
588
- src="http://www.spreadfirefox.com/community/images/affiliates/Buttons/110x32/safer.gif"
589
- alt="Get Firefox!" />
590
- </a>
591
- endif::icons[]
592
- </div>
593
- endif::badges[]
594
- </div>
595
- </body>
596
- </html>
597
-
598
- ifdef::doctype-manpage[]
599
- [sect-synopsis]
600
- template::[sect1]
601
- endif::doctype-manpage[]
602
-
603
- ifdef::quirks[]
604
- include::{backend}-quirks.conf[]
605
- endif::quirks[]
606
-
607
- # If data-uri attribute is defined then embed images in HTML pages using the
608
- # data: URI scheme (http://en.wikipedia.org/wiki/Data:_URI_scheme).
609
- ifdef::data-uri[]
610
-
611
- [image-inlinemacro]
612
- <span class="image">
613
- <a class="image" href="{link}">
614
- <img alt="{1={target}}"{1? title="{1}"}{width? width="{width}"}{height? height="{height}"} src="data:image/{eval:os.path.splitext('{target}')[1][1:]};base64,
615
- {sys:python -uc "import base64,sys; base64.encode(sys.stdin,sys.stdout)" < "{imagesdir=}{target}"}" />
616
- {link#}</a>
617
- </span>
618
-
619
- [image-blockmacro]
620
- <div class="imageblock"{id? id="{id}"}>
621
- <div class="content">
622
- <a class="image" href="{link}">
623
- <img alt="{1={target}}"{1? title="{1}"}{width? width="{width}"}{height? height="{height}"} src="data:image/{eval:os.path.splitext('{target}')[1][1:]};base64,
624
- {sys:python -uc "import base64,sys; base64.encode(sys.stdin,sys.stdout)" < "{imagesdir=}{target}"}" />
625
- {link#}</a>
626
- </div>
627
- <div class="title">{caption={figure_caption}}{title}</div>
628
- </div>
629
-
630
- [admonitionblock]
631
- <div class="admonitionblock"{id? id="{id}"}>
632
- <table><tr>
633
- <td class="icon">
634
- {icons%}<div class="title">{caption}</div>
635
- {icons#}<img alt="{caption}" src="data:image/png;base64,
636
- {icons#}{sys:python -uc "import base64,sys; base64.encode(sys.stdin,sys.stdout)" < "{icon={iconsdir}/{name}.png}"}" />
637
- </td>
638
- <td class="content">
639
- <div class="title">{title}</div>
640
- |
641
- </td>
642
- </tr></table>
643
- </div>
644
-
645
- endif::data-uri[]
1
+ #
2
+ # xhtml11.conf
3
+ #
4
+ # Asciidoc configuration file.
5
+ # xhtml11 backend, generates XHTML 1.1 conformant markup.
6
+ #
7
+
8
+ [miscellaneous]
9
+ outfilesuffix=.html
10
+
11
+ [attributes]
12
+ basebackend=html
13
+ basebackend-html=
14
+ basebackend-xhtml11=
15
+
16
+ [replacements2]
17
+ # Line break.
18
+ (?m)^(.*)\s\+$=\1<br />
19
+
20
+ [replacements]
21
+ ifdef::asciidoc7compatible[]
22
+ # Superscripts.
23
+ \^(.+?)\^=<sup>\1</sup>
24
+ # Subscripts.
25
+ ~(.+?)~=<sub>\1</sub>
26
+ endif::asciidoc7compatible[]
27
+
28
+ [ruler-blockmacro]
29
+ <hr />
30
+
31
+ [pagebreak-blockmacro]
32
+ <div style="page-break-after:always"></div>
33
+
34
+ [blockdef-pass]
35
+ asciimath-style=template="asciimathblock",subs=[]
36
+ latexmath-style=template="latexmathblock",subs=[]
37
+
38
+ [macros]
39
+ # math macros.
40
+ # Special characters are escaped in HTML math markup.
41
+ (?su)[\\]?(?P<name>asciimath|latexmath):(?P<subslist>\S*?)\[(?P<passtext>.*?)(?<!\\)\]=[specialcharacters]
42
+ (?u)^(?P<name>asciimath|latexmath)::(?P<subslist>\S*?)(\[(?P<passtext>.*?)\])$=#[specialcharacters]
43
+
44
+ [asciimath-inlinemacro]
45
+ `{passtext}`
46
+
47
+ [asciimath-blockmacro]
48
+ <div class="mathblock{role? {role}}"{id? id="{id}"}>
49
+ <div class="content">
50
+ <div class="title">{title}</div>
51
+ `{passtext}`
52
+ </div></div>
53
+
54
+ [asciimathblock]
55
+ <div class="mathblock{role? {role}}"{id? id="{id}"}>
56
+ <div class="content">
57
+ <div class="title">{title}</div>
58
+ `|`
59
+ </div></div>
60
+
61
+ [latexmath-inlinemacro]
62
+ {passtext}
63
+
64
+ [latexmath-blockmacro]
65
+ <div class="mathblock{role? {role}}"{id? id="{id}"}>
66
+ <div class="content">
67
+ <div class="title">{title}</div>
68
+ {passtext}
69
+ </div></div>
70
+
71
+ [latexmathblock]
72
+ <div class="mathblock{role? {role}}"{id? id="{id}"}>
73
+ <div class="content">
74
+ <div class="title">{title}</div>
75
+ |
76
+ </div></div>
77
+
78
+ [image-inlinemacro]
79
+ <span class="image{role? {role}}">
80
+ <a class="image" href="{link}">
81
+ {data-uri%}<img src="{imagesdir=}{imagesdir?/}{target}" alt="{alt={target}}"{width? width="{width}"}{height? height="{height}"}{title? title="{title}"} />
82
+ {data-uri#}<img alt="{alt={target}}"{width? width="{width}"}{height? height="{height}"}{title? title="{title}"} src="data:image/{eval:os.path.splitext('{target}')[1][1:]};base64,
83
+ {data-uri#}{sys3:python -uc "import base64,sys; base64.encode(sys.stdin,sys.stdout)" < "{eval:os.path.join("{indir={outdir}}","{imagesdir=}","{target}")}"}" />
84
+ {link#}</a>
85
+ </span>
86
+
87
+ [image-blockmacro]
88
+ <div class="imageblock{style? {style}}{role? {role}}"{id? id="{id}"}{align? style="text-align:{align};"}{float? style="float:{float};"}>
89
+ <div class="content">
90
+ <a class="image" href="{link}">
91
+ {data-uri%}<img src="{imagesdir=}{imagesdir?/}{target}" alt="{alt={target}}"{width? width="{width}"}{height? height="{height}"} />
92
+ {data-uri#}<img alt="{alt={target}}"{width? width="{width}"}{height? height="{height}"} src="data:image/{eval:os.path.splitext('{target}')[1][1:]};base64,
93
+ {data-uri#}{sys:python -uc "import base64,sys; base64.encode(sys.stdin,sys.stdout)" < "{eval:os.path.join("{indir={outdir}}","{imagesdir=}","{target}")}"}" />
94
+ {link#}</a>
95
+ </div>
96
+ <div class="title">{caption={figure-caption} {counter:figure-number}. }{title}</div>
97
+ </div>
98
+
99
+ [unfloat-blockmacro]
100
+ <div style="clear:both;"></div>
101
+
102
+ [indexterm-inlinemacro]
103
+ # Index term.
104
+ {empty}
105
+
106
+ [indexterm2-inlinemacro]
107
+ # Index term.
108
+ # Single entry index term that is visible in the primary text flow.
109
+ {1}
110
+
111
+ [footnote-inlinemacro]
112
+ # footnote:[<text>].
113
+ <span class="footnote"><br />[{0}]<br /></span>
114
+
115
+ [footnoteref-inlinemacro]
116
+ # footnoteref:[<id>], create reference to footnote.
117
+ {2%}<span class="footnoteref"><br /><a href="#_footnote_{1}">[{1}]</a><br /></span>
118
+ # footnoteref:[<id>,<text>], create footnote with ID.
119
+ {2#}<span class="footnote" id="_footnote_{1}"><br />[{2}]<br /></span>
120
+
121
+ [callout-inlinemacro]
122
+ ifndef::icons[]
123
+ <b>&lt;{index}&gt;</b>
124
+ endif::icons[]
125
+ ifdef::icons[]
126
+ ifndef::data-uri[]
127
+ <img src="{icon={iconsdir}/callouts/{index}.png}" alt="{index}" />
128
+ endif::data-uri[]
129
+ ifdef::data-uri[]
130
+ <img alt="{index}" src="data:image/png;base64,
131
+ {sys:python -uc "import base64,sys; base64.encode(sys.stdin,sys.stdout)" < "{eval:os.path.join("{indir={outdir}}","{icon={iconsdir}/callouts/{index}.png}")}"}" />
132
+ endif::data-uri[]
133
+ endif::icons[]
134
+
135
+ # Comment line macros.
136
+ [comment-inlinemacro]
137
+ {showcomments#}<br /><span class="comment">{passtext}</span><br />
138
+
139
+ [comment-blockmacro]
140
+ {showcomments#}<p><span class="comment">{passtext}</span></p>
141
+
142
+ [literal-inlinemacro]
143
+ # Inline literal.
144
+ <tt>{passtext}</tt>
145
+
146
+ # List tags.
147
+ [listtags-bulleted]
148
+ list=<div class="ulist{style? {style}}{compact-option? compact}{role? {role}}"{id? id="{id}"}>{title?<div class="title">{title}</div>}<ul>|</ul></div>
149
+ item=<li>|</li>
150
+ text=<p>|</p>
151
+
152
+ [listtags-numbered]
153
+ # The start attribute is not valid XHTML 1.1 but all browsers support it.
154
+ list=<div class="olist{style? {style}}{compact-option? compact}{role? {role}}"{id? id="{id}"}>{title?<div class="title">{title}</div>}<ol class="{style}"{start? start="{start}"}>|</ol></div>
155
+ item=<li>|</li>
156
+ text=<p>|</p>
157
+
158
+ [listtags-labeled]
159
+ list=<div class="dlist{compact-option? compact}{role? {role}}"{id? id="{id}"}>{title?<div class="title">{title}</div>}<dl>|</dl></div>
160
+ entry=
161
+ label=
162
+ term=<dt class="hdlist1{strong-option? strong}">|</dt>
163
+ item=<dd>|</dd>
164
+ text=<p>|</p>
165
+
166
+ [listtags-horizontal]
167
+ list=<div class="hdlist{compact-option? compact}{role? {role}}"{id? id="{id}"}>{title?<div class="title">{title}</div>}<table>{labelwidth?<col width="{labelwidth}%" />}{itemwidth?<col width="{itemwidth}%" />}|</table></div>
168
+ label=<td class="hdlist1{strong-option? strong}">|</td>
169
+ term=|<br />
170
+ entry=<tr>|</tr>
171
+ item=<td class="hdlist2">|</td>
172
+ text=<p style="margin-top: 0;">|</p>
173
+
174
+ [listtags-qanda]
175
+ list=<div class="qlist{style? {style}}{role? {role}}"{id? id="{id}"}>{title?<div class="title">{title}</div>}<ol>|</ol></div>
176
+ entry=<li>|</li>
177
+ label=
178
+ term=<p><em>|</em></p>
179
+ item=
180
+ text=<p>|</p>
181
+
182
+ [listtags-callout]
183
+ ifndef::icons[]
184
+ list=<div class="colist{style? {style}}{role? {role}}"{id? id="{id}"}>{title?<div class="title">{title}</div>}<ol>|</ol></div>
185
+ item=<li>|</li>
186
+ text=<p>|</p>
187
+ endif::icons[]
188
+ ifdef::icons[]
189
+ list=<div class="colist{style? {style}}{role? {role}}"{id? id="{id}"}>{title?<div class="title">{title}</div>}<table>|</table></div>
190
+ ifndef::data-uri[]
191
+ item=<tr><td><img src="{iconsdir}/callouts/{listindex}.png" alt="{listindex}" /></td><td>|</td></tr>
192
+ endif::data-uri[]
193
+ ifdef::data-uri[]
194
+ item=<tr><td><img alt="{listindex}" src="data:image/png;base64, {sys:python -uc "import base64,sys; base64.encode(sys.stdin,sys.stdout)" < "{eval:os.path.join("{indir={outdir}}","{icon={iconsdir}/callouts/{listindex}.png}")}"}" /></td><td>|</td></tr>
195
+ endif::data-uri[]
196
+ text=|
197
+ endif::icons[]
198
+
199
+ [listtags-glossary]
200
+ list=<div class="dlist{style? {style}}{role? {role}}"{id? id="{id}"}>{title?<div class="title">{title}</div>}<dl>|</dl></div>
201
+ label=
202
+ entry=
203
+ term=<dt>|</dt>
204
+ item=<dd>|</dd>
205
+ text=<p>|</p>
206
+
207
+ [listtags-bibliography]
208
+ list=<div class="ulist{style? {style}}{role? {role}}"{id? id="{id}"}>{title?<div class="title">{title}</div>}<ul>|</ul></div>
209
+ item=<li>|</li>
210
+ text=<p>|</p>
211
+
212
+ [tags]
213
+ # Quoted text.
214
+ emphasis=<em>{1?<span class="{1}">}|{1?</span>}</em>
215
+ strong=<strong>{1?<span class="{1}">}|{1?</span>}</strong>
216
+ monospaced=<tt>{1?<span class="{1}">}|{1?</span>}</tt>
217
+ singlequoted={lsquo}{1?<span class="{1}">}|{1?</span>}{rsquo}
218
+ doublequoted={ldquo}{1?<span class="{1}">}|{1?</span>}{rdquo}
219
+ unquoted={1?<span class="{1}">}|{1?</span>}
220
+ superscript=<sup>{1?<span class="{1}">}|{1?</span>}</sup>
221
+ subscript=<sub>{1?<span class="{1}">}|{1?</span>}</sub>
222
+
223
+ ifdef::deprecated-quotes[]
224
+ # Override with deprecated quote attributes.
225
+ 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>}
226
+ 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>}
227
+ 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>}
228
+ 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>}
229
+ 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>}
230
+ 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>}
231
+ 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>}
232
+ 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>}
233
+ endif::deprecated-quotes[]
234
+
235
+ # Inline macros
236
+ [http-inlinemacro]
237
+ <a href="{name}:{target}">{0={name}:{target}}</a>
238
+ [https-inlinemacro]
239
+ <a href="{name}:{target}">{0={name}:{target}}</a>
240
+ [ftp-inlinemacro]
241
+ <a href="{name}:{target}">{0={name}:{target}}</a>
242
+ [file-inlinemacro]
243
+ <a href="{name}:{target}">{0={name}:{target}}</a>
244
+ [irc-inlinemacro]
245
+ <a href="{name}:{target}">{0={name}:{target}}</a>
246
+ [mailto-inlinemacro]
247
+ <a href="mailto:{target}">{0={target}}</a>
248
+ [link-inlinemacro]
249
+ <a href="{target}">{0={target}}</a>
250
+ [callto-inlinemacro]
251
+ <a href="{name}:{target}">{0={target}}</a>
252
+ # anchor:id[text]
253
+ [anchor-inlinemacro]
254
+ <a id="{target}"></a>
255
+ # [[id,text]]
256
+ [anchor2-inlinemacro]
257
+ <a id="{1}"></a>
258
+ # [[[id]]]
259
+ [anchor3-inlinemacro]
260
+ <a id="{1}"></a>[{1}]
261
+ # xref:id[text]
262
+ [xref-inlinemacro]
263
+ <a href="#{target}">{0=[{target}]}</a>
264
+ # <<id,text>>
265
+ [xref2-inlinemacro]
266
+ <a href="#{1}">{2=[{1}]}</a>
267
+
268
+ # Special word substitution.
269
+ [emphasizedwords]
270
+ <em>{words}</em>
271
+ [monospacedwords]
272
+ <tt>{words}</tt>
273
+ [strongwords]
274
+ <strong>{words}</strong>
275
+
276
+ # Paragraph substitution.
277
+ [paragraph]
278
+ <div class="paragraph{role? {role}}"{id? id="{id}"}>{title?<div class="title">{title}</div>}<p>
279
+ |
280
+ </p></div>
281
+
282
+ [admonitionparagraph]
283
+ template::[admonitionblock]
284
+
285
+ # Delimited blocks.
286
+ [listingblock]
287
+ <div class="listingblock{role? {role}}"{id? id="{id}"}>
288
+ <div class="title">{caption=}{title}</div>
289
+ <div class="content">
290
+ <pre><tt>
291
+ |
292
+ </tt></pre>
293
+ </div></div>
294
+
295
+ [literalblock]
296
+ <div class="literalblock{role? {role}}"{id? id="{id}"}>
297
+ <div class="title">{title}</div>
298
+ <div class="content">
299
+ <pre><tt>
300
+ |
301
+ </tt></pre>
302
+ </div></div>
303
+
304
+ [sidebarblock]
305
+ <div class="sidebarblock{role? {role}}"{id? id="{id}"}>
306
+ <div class="content">
307
+ <div class="title">{title}</div>
308
+ |
309
+ </div></div>
310
+
311
+ [openblock]
312
+ <div class="openblock{role? {role}}"{id? id="{id}"}>
313
+ <div class="title">{title}</div>
314
+ <div class="content">
315
+ |
316
+ </div></div>
317
+
318
+ [partintroblock]
319
+ template::[openblock]
320
+
321
+ [abstractblock]
322
+ template::[quoteblock]
323
+
324
+ [quoteblock]
325
+ <div class="quoteblock{role? {role}}"{id? id="{id}"}>
326
+ <div class="title">{title}</div>
327
+ <div class="content">
328
+ |
329
+ </div>
330
+ <div class="attribution">
331
+ <em>{citetitle}</em>{attribution?<br />}
332
+ &#8212; {attribution}
333
+ </div></div>
334
+
335
+ [verseblock]
336
+ <div class="verseblock{role? {role}}"{id? id="{id}"}>
337
+ <div class="title">{title}</div>
338
+ <pre class="content">
339
+ |
340
+ </pre>
341
+ <div class="attribution">
342
+ <em>{citetitle}</em>{attribution?<br />}
343
+ &#8212; {attribution}
344
+ </div></div>
345
+
346
+ [exampleblock]
347
+ <div class="exampleblock{role? {role}}"{id? id="{id}"}>
348
+ <div class="title">{caption={example-caption} {counter:example-number}. }{title}</div>
349
+ <div class="content">
350
+ |
351
+ </div></div>
352
+
353
+ [admonitionblock]
354
+ <div class="admonitionblock{role? {role}}"{id? id="{id}"}>
355
+ <table><tr>
356
+ <td class="icon">
357
+ {data-uri%}{icons#}<img src="{icon={iconsdir}/{name}.png}" alt="{caption}" />
358
+ {data-uri#}{icons#}<img alt="{caption}" src="data:image/png;base64,
359
+ {data-uri#}{icons#}{sys:python -uc "import base64,sys; base64.encode(sys.stdin,sys.stdout)" < "{eval:os.path.join("{indir={outdir}}","{icon={iconsdir}/{name}.png}")}"}" />
360
+ {icons%}<div class="title">{caption}</div>
361
+ </td>
362
+ <td class="content">
363
+ <div class="title">{title}</div>
364
+ |
365
+ </td>
366
+ </tr></table>
367
+ </div>
368
+
369
+ # Tables.
370
+ [tabletags-default]
371
+ colspec=<col{autowidth-option! width="{colpcwidth}%"} />
372
+ bodyrow=<tr>|</tr>
373
+ headdata=<th {colspan@1::colspan="{colspan}" }{rowspan@1::rowspan="{rowspan}" }align="{halign}" valign="{valign}">|</th>
374
+ bodydata=<td {colspan@1::colspan="{colspan}" }{rowspan@1::rowspan="{rowspan}" }align="{halign}" valign="{valign}">|</td>
375
+ paragraph=<p class="table">|</p>
376
+
377
+ [tabletags-header]
378
+ paragraph=<p class="table header">|</p>
379
+
380
+ [tabletags-emphasis]
381
+ paragraph=<p class="table"><em>|</em></p>
382
+
383
+ [tabletags-strong]
384
+ paragraph=<p class="table"><strong>|</strong></p>
385
+
386
+ [tabletags-monospaced]
387
+ paragraph=<p class="table"><tt>|</tt></p>
388
+
389
+ [tabletags-verse]
390
+ bodydata=<td {colspan@1::colspan="{colspan}" }{rowspan@1::rowspan="{rowspan}" }align="{halign}" valign="{valign}"><div class="verse">|</div></td>
391
+ paragraph=
392
+
393
+ [tabletags-literal]
394
+ bodydata=<td {colspan@1::colspan="{colspan}" }{rowspan@1::rowspan="{rowspan}" }align="{halign}" valign="{valign}"><div class="literal"><pre><tt>|</tt></pre></div></td>
395
+ paragraph=
396
+
397
+ [tabletags-asciidoc]
398
+ bodydata=<td {colspan@1::colspan="{colspan}" }{rowspan@1::rowspan="{rowspan}" }align="{halign}" valign="{valign}"><div>|</div></td>
399
+ paragraph=
400
+
401
+ [table]
402
+ <div class="tableblock{role? {role}}"{id? id="{id}"}>
403
+ <table rules="{grid=all}"
404
+ style="margin-left:{align@left:0}{align@center|right:auto}; margin-right:{align@left|center:auto}{align@right:0};"
405
+ style="float:{float};"
406
+ {autowidth-option%}width="{tablepcwidth}%"
407
+ {autowidth-option#}{width#width="{tablepcwidth}%"}
408
+ frame="{frame%border}"
409
+ frame="{frame@topbot:hsides}{frame@all:border}{frame@none:void}{frame@sides:vsides}"
410
+ cellspacing="0" cellpadding="4">
411
+ <caption class="title">{caption={table-caption} {counter:table-number}. }{title}</caption>
412
+ {colspecs}
413
+ {headrows#}<thead>
414
+ {headrows}
415
+ {headrows#}</thead>
416
+ {footrows#}<tfoot>
417
+ {footrows}
418
+ {footrows#}</tfoot>
419
+ <tbody>
420
+ {bodyrows}
421
+ </tbody>
422
+ </table>
423
+ </div>
424
+
425
+ #--------------------------------------------------------------------
426
+ # Deprecated old table definitions.
427
+ #
428
+
429
+ [miscellaneous]
430
+ # Screen width in pixels.
431
+ pagewidth=800
432
+ pageunits=
433
+
434
+ [old_tabledef-default]
435
+ template=old_table
436
+ colspec=<col width="{colwidth}{pageunits}" />
437
+ bodyrow=<tr>|</tr>
438
+ headdata=<th align="{colalign}">|</th>
439
+ footdata=<td align="{colalign}">|</td>
440
+ bodydata=<td align="{colalign}">|</td>
441
+
442
+ [old_table]
443
+ <div class="tableblock"{id? id="{id}"}>
444
+ <table rules="{grid=none}"
445
+ frame="{frame%hsides}"
446
+ frame="{frame@topbot:hsides}{frame@all:border}{frame@none:void}{frame@sides:vsides}"
447
+ cellspacing="0" cellpadding="4">
448
+ <caption class="title">{caption={table-caption}}{title}</caption>
449
+ {colspecs}
450
+ {headrows#}<thead>
451
+ {headrows}
452
+ {headrows#}</thead>
453
+ {footrows#}<tfoot>
454
+ {footrows}
455
+ {footrows#}</tfoot>
456
+ <tbody valign="top">
457
+ {bodyrows}
458
+ </tbody>
459
+ </table>
460
+ </div>
461
+
462
+ # End of deprecated old table definitions.
463
+ #--------------------------------------------------------------------
464
+
465
+ [floatingtitle]
466
+ <h{level@0:1}{level@1:2}{level@2:3}{level@3:4}{level@4:5}{id? id="{id}"} class="float">{title}</h{level@0:1}{level@1:2}{level@2:3}{level@3:4}{level@4:5}>
467
+
468
+ [preamble]
469
+ # Untitled elements between header and first section title.
470
+ <div id="preamble">
471
+ <div class="sectionbody">
472
+ |
473
+ </div>
474
+ </div>
475
+
476
+ # Document sections.
477
+ [sect0]
478
+ <h1{id? id="{id}"}>{title}</h1>
479
+ |
480
+
481
+ [sect1]
482
+ <div class="sect1{style? {style}}{role? {role}}">
483
+ <h2{id? id="{id}"}>{numbered?{sectnum} }{title}</h2>
484
+ <div class="sectionbody">
485
+ |
486
+ </div>
487
+ </div>
488
+
489
+ [sect2]
490
+ <div class="sect2{style? {style}}{role? {role}}">
491
+ <h3{id? id="{id}"}>{numbered?{sectnum} }{title}</h3>
492
+ |
493
+ </div>
494
+
495
+ [sect3]
496
+ <div class="sect3{style? {style}}{role? {role}}">
497
+ <h4{id? id="{id}"}>{numbered?{sectnum} }{title}</h4>
498
+ |
499
+ </div>
500
+
501
+ [sect4]
502
+ <div class="sect4{style? {style}}{role? {role}}">
503
+ <h5{id? id="{id}"}>{title}</h5>
504
+ |
505
+ </div>
506
+
507
+ [appendix]
508
+ <div class="sect1{style? {style}}{role? {role}}">
509
+ <h2{id? id="{id}"}>{numbered?{sectnum} }{appendix-caption} {counter:appendix-number:A}: {title}</h2>
510
+ <div class="sectionbody">
511
+ |
512
+ </div>
513
+ </div>
514
+
515
+ [toc]
516
+ <div id="toc">
517
+ <div id="toctitle">{toc-title}</div>
518
+ <noscript><p><b>JavaScript must be enabled in your browser to display the table of contents.</b></p></noscript>
519
+ </div>
520
+
521
+ [header]
522
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
523
+ "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
524
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{lang=en}">
525
+ <head>
526
+ <meta http-equiv="Content-Type" content="{quirks=application/xhtml+xml}{quirks?text/html}; charset={encoding}" />
527
+ <meta name="generator" content="AsciiDoc {asciidoc-version}" />
528
+ <meta name="description" content="{description}" />
529
+ <meta name="keywords" content="{keywords}" />
530
+ <title>{title}</title>
531
+ {title%}<title>{doctitle=}</title>
532
+ ifdef::linkcss[]
533
+ <link rel="stylesheet" href="{stylesdir=.}/{theme=asciidoc}.css" type="text/css" />
534
+ {doctype-manpage}<link rel="stylesheet" href="{stylesdir=.}/{theme=asciidoc}-manpage.css" type="text/css" />
535
+ ifdef::quirks[]
536
+ <link rel="stylesheet" href="{stylesdir=.}/xhtml11-quirks.css" type="text/css" />
537
+ endif::quirks[]
538
+ ifdef::pygments[<link rel="stylesheet" href="{stylesdir=.}/pygments.css" type="text/css" />]
539
+ ifdef::toc2[<link rel="stylesheet" href="{stylesdir=.}/toc2.css" type="text/css" />]
540
+ <link rel="stylesheet" href="{stylesdir=.}/{stylesheet}" type="text/css" />
541
+ endif::linkcss[]
542
+ ifndef::linkcss[]
543
+ <style type="text/css">
544
+ include1::{stylesdir=./stylesheets}/{theme=asciidoc}.css[]
545
+ ifdef::doctype-manpage[]
546
+ include1::{stylesdir=./stylesheets}/{theme=asciidoc}-manpage.css[]
547
+ endif::doctype-manpage[]
548
+ ifdef::quirks[]
549
+ include1::{stylesdir=./stylesheets}/xhtml11-quirks.css[]
550
+ endif::quirks[]
551
+ ifdef::pygments[]
552
+ include1::{stylesdir=./stylesheets}/pygments.css[]
553
+ endif::pygments[]
554
+ ifdef::toc2[]
555
+ include1::{stylesdir=./stylesheets}/toc2.css[]
556
+ endif::toc2[]
557
+ include1::{stylesheet}[]
558
+ </style>
559
+ endif::linkcss[]
560
+ ifndef::disable-javascript[]
561
+ ifdef::linkcss[]
562
+ <script type="text/javascript" src="{scriptsdir=.}/asciidoc.js"></script>
563
+ <script type="text/javascript">
564
+ # Escape as CDATA to pass validators.
565
+ /*<![CDATA[*/
566
+ asciidoc.install({toc,toc2?{toclevels}});
567
+ /*]]>*/
568
+ </script>
569
+ endif::linkcss[]
570
+ ifndef::linkcss[]
571
+ <script type="text/javascript">
572
+ # Escape as CDATA to pass validators.
573
+ /*<![CDATA[*/
574
+ include1::{scriptsdir=./javascripts}/asciidoc.js[]
575
+ asciidoc.install({toc,toc2?{toclevels}});
576
+ /*]]>*/
577
+ </script>
578
+ endif::linkcss[]
579
+ endif::disable-javascript[]
580
+ ifdef::asciimath[]
581
+ ifdef::linkcss[]
582
+ <script type="text/javascript" src="{scriptsdir=.}/ASCIIMathML.js"></script>
583
+ endif::linkcss[]
584
+ ifndef::linkcss[]
585
+ <script type="text/javascript">
586
+ # Escape as CDATA to pass validators.
587
+ /*<![CDATA[*/
588
+ include1::{scriptsdir=./javascripts}/ASCIIMathML.js[]
589
+ /*]]>*/
590
+ </script>
591
+ endif::linkcss[]
592
+ endif::asciimath[]
593
+ ifdef::latexmath[]
594
+ ifdef::linkcss[]
595
+ <script type="text/javascript" src="{scriptsdir=.}/LaTeXMathML.js"></script>
596
+ endif::linkcss[]
597
+ ifndef::linkcss[]
598
+ <script type="text/javascript">
599
+ # Escape as CDATA to pass validators.
600
+ /*<![CDATA[*/
601
+ include1::{scriptsdir=./javascripts}/LaTeXMathML.js[]
602
+ /*]]>*/
603
+ </script>
604
+ endif::linkcss[]
605
+ endif::latexmath[]
606
+ {docinfo1,docinfo2#}{include:{docdir}/docinfo.html}
607
+ {docinfo,docinfo2#}{include:{docdir}/{docname}-docinfo.html}
608
+ </head>
609
+ <body class="{doctype}"{max-width? style="max-width:{max-width}"}>
610
+ # Article, book header.
611
+ ifndef::doctype-manpage[]
612
+ <div id="header">
613
+ ifndef::notitle[<h1>{doctitle}</h1>]
614
+ ifdef::doctitle[]
615
+ <span id="author">{author}</span><br />
616
+ <span id="email"><tt>&lt;<a href="mailto:{email}">{email}</a>&gt;</tt></span><br />
617
+ <span id="revnumber">version {revnumber}{revdate?,}</span>
618
+ <span id="revdate">{revdate}</span>
619
+ <br /><span id="revremark">{revremark}</span>
620
+ endif::doctitle[]
621
+ ifdef::toc,toc2[{template:toc}]
622
+ </div>
623
+ endif::doctype-manpage[]
624
+ # Man page header.
625
+ ifdef::doctype-manpage[]
626
+ <div id="header">
627
+ <h1>
628
+ {doctitle} Manual Page
629
+ </h1>
630
+ ifdef::toc,toc2[{template:toc}]
631
+ <h2>{manname-title}</h2>
632
+ <div class="sectionbody">
633
+ <p>{manname} -
634
+ {manpurpose}
635
+ </p>
636
+ </div>
637
+ </div>
638
+ endif::doctype-manpage[]
639
+ <div id="content">
640
+
641
+ [footer]
642
+ </div>
643
+ {disable-javascript%<div id="footnotes"><hr /></div>}
644
+ <div id="footer">
645
+ <div id="footer-text">
646
+ template::[footer-text]
647
+ </div>
648
+ ifdef::badges[]
649
+ <div id="footer-badges">
650
+ ifndef::icons[]
651
+ Valid <a href="http://validator.w3.org/check?uri=referer">XHTML</a>
652
+ and <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a>.
653
+ endif::icons[]
654
+ ifdef::icons[]
655
+ <a href="http://validator.w3.org/check?uri=referer">
656
+ <img style="border:0;width:88px;height:31px"
657
+ src="http://www.w3.org/Icons/valid-xhtml11-blue"
658
+ alt="Valid XHTML 1.1" height="31" width="88" />
659
+ </a>
660
+ <a href="http://jigsaw.w3.org/css-validator/">
661
+ <img style="border:0;width:88px;height:31px"
662
+ src="http://jigsaw.w3.org/css-validator/images/vcss-blue"
663
+ alt="Valid CSS!" />
664
+ </a>
665
+ <a href="http://www.mozilla.org/products/firefox/">
666
+ <img style="border:none; width:110px; height:32px;"
667
+ src="http://www.spreadfirefox.com/community/images/affiliates/Buttons/110x32/safer.gif"
668
+ alt="Get Firefox!" />
669
+ </a>
670
+ endif::icons[]
671
+ </div>
672
+ endif::badges[]
673
+ </div>
674
+ </body>
675
+ </html>
676
+
677
+ ifdef::doctype-manpage[]
678
+ [synopsis]
679
+ template::[sect1]
680
+ endif::doctype-manpage[]
681
+
682
+ ifdef::quirks[]
683
+ include::xhtml11-quirks.conf[]
684
+ endif::quirks[]