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
@@ -1,602 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
2
- "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
3
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
4
- <head>
5
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
6
- <meta name="generator" content="AsciiDoc 8.3.3" />
7
- <title>The Article Title</title>
8
- <style type="text/css">
9
- /* Debug borders */
10
- p, li, dt, dd, div, pre, h1, h2, h3, h4, h5, h6 {
11
- /*
12
- border: 1px solid red;
13
- */
14
- }
15
-
16
- body {
17
- margin: 1em 5% 1em 5%;
18
- }
19
-
20
- a {
21
- color: blue;
22
- text-decoration: underline;
23
- }
24
- a:visited {
25
- color: fuchsia;
26
- }
27
-
28
- em {
29
- font-style: italic;
30
- color: navy;
31
- }
32
-
33
- strong {
34
- font-weight: bold;
35
- color: #083194;
36
- }
37
-
38
- tt {
39
- color: navy;
40
- }
41
-
42
- h1, h2, h3, h4, h5, h6 {
43
- color: #527bbd;
44
- font-family: sans-serif;
45
- margin-top: 1.2em;
46
- margin-bottom: 0.5em;
47
- line-height: 1.3;
48
- }
49
-
50
- h1, h2, h3 {
51
- border-bottom: 2px solid silver;
52
- }
53
- h2 {
54
- padding-top: 0.5em;
55
- }
56
- h3 {
57
- float: left;
58
- }
59
- h3 + * {
60
- clear: left;
61
- }
62
-
63
- div.sectionbody {
64
- font-family: serif;
65
- margin-left: 0;
66
- }
67
-
68
- hr {
69
- border: 1px solid silver;
70
- }
71
-
72
- p {
73
- margin-top: 0.5em;
74
- margin-bottom: 0.5em;
75
- }
76
-
77
- ul, ol, li > p {
78
- margin-top: 0;
79
- }
80
-
81
- pre {
82
- padding: 0;
83
- margin: 0;
84
- }
85
-
86
- span#author {
87
- color: #527bbd;
88
- font-family: sans-serif;
89
- font-weight: bold;
90
- font-size: 1.1em;
91
- }
92
- span#email {
93
- }
94
- span#revision {
95
- font-family: sans-serif;
96
- }
97
-
98
- div#footer {
99
- font-family: sans-serif;
100
- font-size: small;
101
- border-top: 2px solid silver;
102
- padding-top: 0.5em;
103
- margin-top: 4.0em;
104
- }
105
- div#footer-text {
106
- float: left;
107
- padding-bottom: 0.5em;
108
- }
109
- div#footer-badges {
110
- float: right;
111
- padding-bottom: 0.5em;
112
- }
113
-
114
- div#preamble,
115
- div.tableblock, div.imageblock, div.exampleblock, div.verseblock,
116
- div.quoteblock, div.literalblock, div.listingblock, div.sidebarblock,
117
- div.admonitionblock {
118
- margin-right: 10%;
119
- margin-top: 1.5em;
120
- margin-bottom: 1.5em;
121
- }
122
- div.admonitionblock {
123
- margin-top: 2.5em;
124
- margin-bottom: 2.5em;
125
- }
126
-
127
- div.content { /* Block element content. */
128
- padding: 0;
129
- }
130
-
131
- /* Block element titles. */
132
- div.title, caption.title {
133
- color: #527bbd;
134
- font-family: sans-serif;
135
- font-weight: bold;
136
- text-align: left;
137
- margin-top: 1.0em;
138
- margin-bottom: 0.5em;
139
- }
140
- div.title + * {
141
- margin-top: 0;
142
- }
143
-
144
- td div.title:first-child {
145
- margin-top: 0.0em;
146
- }
147
- div.content div.title:first-child {
148
- margin-top: 0.0em;
149
- }
150
- div.content + div.title {
151
- margin-top: 0.0em;
152
- }
153
-
154
- div.sidebarblock > div.content {
155
- background: #ffffee;
156
- border: 1px solid silver;
157
- padding: 0.5em;
158
- }
159
-
160
- div.listingblock {
161
- margin-right: 0%;
162
- }
163
- div.listingblock > div.content {
164
- border: 1px solid silver;
165
- background: #f4f4f4;
166
- padding: 0.5em;
167
- }
168
-
169
- div.quoteblock {
170
- padding-left: 2.0em;
171
- }
172
- div.quoteblock > div.attribution {
173
- padding-top: 0.5em;
174
- text-align: right;
175
- }
176
-
177
- div.verseblock {
178
- padding-left: 2.0em;
179
- }
180
- div.verseblock > div.content {
181
- white-space: pre;
182
- }
183
- div.verseblock > div.attribution {
184
- padding-top: 0.75em;
185
- text-align: left;
186
- }
187
- /* DEPRECATED: Pre version 8.2.7 verse style literal block. */
188
- div.verseblock + div.attribution {
189
- text-align: left;
190
- }
191
-
192
- div.admonitionblock .icon {
193
- vertical-align: top;
194
- font-size: 1.1em;
195
- font-weight: bold;
196
- text-decoration: underline;
197
- color: #527bbd;
198
- padding-right: 0.5em;
199
- }
200
- div.admonitionblock td.content {
201
- padding-left: 0.5em;
202
- border-left: 2px solid silver;
203
- }
204
-
205
- div.exampleblock > div.content {
206
- border-left: 2px solid silver;
207
- padding: 0.5em;
208
- }
209
-
210
- div.imageblock div.content { padding-left: 0; }
211
- div.imageblock img { border: 1px solid silver; }
212
- span.image img { border-style: none; }
213
-
214
- dl {
215
- margin-top: 0.8em;
216
- margin-bottom: 0.8em;
217
- }
218
- dt {
219
- margin-top: 0.5em;
220
- margin-bottom: 0;
221
- font-style: normal;
222
- color: navy;
223
- }
224
- dd > *:first-child {
225
- margin-top: 0.1em;
226
- }
227
-
228
- ul, ol {
229
- list-style-position: outside;
230
- }
231
- ol.arabic {
232
- list-style-type: decimal;
233
- }
234
- ol.loweralpha {
235
- list-style-type: lower-alpha;
236
- }
237
- ol.upperalpha {
238
- list-style-type: upper-alpha;
239
- }
240
- ol.lowerroman {
241
- list-style-type: lower-roman;
242
- }
243
- ol.upperroman {
244
- list-style-type: upper-roman;
245
- }
246
-
247
- div.compact ul, div.compact ol,
248
- div.compact p, div.compact p,
249
- div.compact div, div.compact div {
250
- margin-top: 0.1em;
251
- margin-bottom: 0.1em;
252
- }
253
-
254
- div.tableblock > table {
255
- border: 3px solid #527bbd;
256
- }
257
- thead {
258
- font-family: sans-serif;
259
- font-weight: bold;
260
- }
261
- tfoot {
262
- font-weight: bold;
263
- }
264
- td > div.verse {
265
- white-space: pre;
266
- }
267
- p.table {
268
- margin-top: 0;
269
- }
270
- /* Because the table frame attribute is overriden by CSS in most browsers. */
271
- div.tableblock > table[frame="void"] {
272
- border-style: none;
273
- }
274
- div.tableblock > table[frame="hsides"] {
275
- border-left-style: none;
276
- border-right-style: none;
277
- }
278
- div.tableblock > table[frame="vsides"] {
279
- border-top-style: none;
280
- border-bottom-style: none;
281
- }
282
-
283
-
284
- div.hdlist {
285
- margin-top: 0.8em;
286
- margin-bottom: 0.8em;
287
- }
288
- div.hdlist tr {
289
- padding-bottom: 15px;
290
- }
291
- dt.hdlist1.strong, td.hdlist1.strong {
292
- font-weight: bold;
293
- }
294
- td.hdlist1 {
295
- vertical-align: top;
296
- font-style: normal;
297
- padding-right: 0.8em;
298
- color: navy;
299
- }
300
- td.hdlist2 {
301
- vertical-align: top;
302
- }
303
- div.hdlist.compact tr {
304
- margin: 0;
305
- padding-bottom: 0;
306
- }
307
-
308
- @media print {
309
- div#footer-badges { display: none; }
310
- }
311
-
312
- div#toctitle {
313
- color: #527bbd;
314
- font-family: sans-serif;
315
- font-size: 1.1em;
316
- font-weight: bold;
317
- margin-top: 1.0em;
318
- margin-bottom: 0.1em;
319
- }
320
-
321
- div.toclevel1, div.toclevel2, div.toclevel3, div.toclevel4 {
322
- margin-top: 0;
323
- margin-bottom: 0;
324
- }
325
- div.toclevel2 {
326
- margin-left: 2em;
327
- font-size: 0.9em;
328
- }
329
- div.toclevel3 {
330
- margin-left: 4em;
331
- font-size: 0.9em;
332
- }
333
- div.toclevel4 {
334
- margin-left: 6em;
335
- font-size: 0.9em;
336
- }
337
- /* Workarounds for IE6's broken and incomplete CSS2. */
338
-
339
- div.sidebar-content {
340
- background: #ffffee;
341
- border: 1px solid silver;
342
- padding: 0.5em;
343
- }
344
- div.sidebar-title, div.image-title {
345
- color: #527bbd;
346
- font-family: sans-serif;
347
- font-weight: bold;
348
- margin-top: 0.0em;
349
- margin-bottom: 0.5em;
350
- }
351
-
352
- div.listingblock div.content {
353
- border: 1px solid silver;
354
- background: #f4f4f4;
355
- padding: 0.5em;
356
- }
357
-
358
- div.quoteblock-attribution {
359
- padding-top: 0.5em;
360
- text-align: right;
361
- }
362
-
363
- div.verseblock-content {
364
- white-space: pre;
365
- }
366
- div.verseblock-attribution {
367
- padding-top: 0.75em;
368
- text-align: left;
369
- }
370
-
371
- div.exampleblock-content {
372
- border-left: 2px solid silver;
373
- padding-left: 0.5em;
374
- }
375
-
376
- /* IE6 sets dynamically generated links as visited. */
377
- div#toc a:visited { color: blue; }
378
- </style>
379
- <script type="text/javascript">
380
- /*<![CDATA[*/
381
- window.onload = function(){generateToc(2)}
382
- /* Author: Mihai Bazon, September 2002
383
- * http://students.infoiasi.ro/~mishoo
384
- *
385
- * Table Of Content generator
386
- * Version: 0.4
387
- *
388
- * Feel free to use this script under the terms of the GNU General Public
389
- * License, as long as you do not remove or alter this notice.
390
- */
391
-
392
- /* modified by Troy D. Hanson, September 2006. License: GPL */
393
- /* modified by Stuart Rackham, October 2006. License: GPL */
394
-
395
- function getText(el) {
396
- var text = "";
397
- for (var i = el.firstChild; i != null; i = i.nextSibling) {
398
- if (i.nodeType == 3 /* Node.TEXT_NODE */) // IE doesn't speak constants.
399
- text += i.data;
400
- else if (i.firstChild != null)
401
- text += getText(i);
402
- }
403
- return text;
404
- }
405
-
406
- function TocEntry(el, text, toclevel) {
407
- this.element = el;
408
- this.text = text;
409
- this.toclevel = toclevel;
410
- }
411
-
412
- function tocEntries(el, toclevels) {
413
- var result = new Array;
414
- var re = new RegExp('[hH]([2-'+(toclevels+1)+'])');
415
- // Function that scans the DOM tree for header elements (the DOM2
416
- // nodeIterator API would be a better technique but not supported by all
417
- // browsers).
418
- var iterate = function (el) {
419
- for (var i = el.firstChild; i != null; i = i.nextSibling) {
420
- if (i.nodeType == 1 /* Node.ELEMENT_NODE */) {
421
- var mo = re.exec(i.tagName)
422
- if (mo)
423
- result[result.length] = new TocEntry(i, getText(i), mo[1]-1);
424
- iterate(i);
425
- }
426
- }
427
- }
428
- iterate(el);
429
- return result;
430
- }
431
-
432
- // This function does the work. toclevels = 1..4.
433
- function generateToc(toclevels) {
434
- var toc = document.getElementById("toc");
435
- var entries = tocEntries(document.getElementsByTagName("body")[0], toclevels);
436
- for (var i = 0; i < entries.length; ++i) {
437
- var entry = entries[i];
438
- if (entry.element.id == "")
439
- entry.element.id = "toc" + i;
440
- var a = document.createElement("a");
441
- a.href = "#" + entry.element.id;
442
- a.appendChild(document.createTextNode(entry.text));
443
- var div = document.createElement("div");
444
- div.appendChild(a);
445
- div.className = "toclevel" + entry.toclevel;
446
- toc.appendChild(div);
447
- }
448
- if (entries.length == 0)
449
- document.getElementById("header").removeChild(toc);
450
- }
451
- /*]]>*/
452
- </script>
453
- </head>
454
- <body>
455
- <div id="header">
456
- <h1>The Article Title</h1>
457
- <span id="author">Author's Name</span><br />
458
- <span id="email"><tt>&lt;<a href="mailto:authors@email.address">authors@email.address</a>&gt;</tt></span><br />
459
- <span id="revision">version 1.0,</span>
460
- Dec 2003
461
- <div id="toc">
462
- <div id="toctitle">Table of Contents</div>
463
- <noscript><p><b>JavaScript must be enabled in your browser to display the table of contents.</b></p></noscript>
464
- </div>
465
- </div>
466
- <div id="preamble">
467
- <div class="sectionbody">
468
- <div class="paragraph"><p>This is the optional preamble (an untitled section body). Useful for
469
- writing simple sectionless documents consisting only of a preamble.</p></div>
470
- </div>
471
- </div>
472
- <h2 id="_abstract">1. Abstract</h2>
473
- <div class="sectionbody">
474
- <div class="paragraph"><p>The optional abstract (one or more paragraphs) goes here.</p></div>
475
- <div class="paragraph"><p>This document is an <em>AsciiDoc</em> article skeleton containing briefly
476
- annotated element placeholders plus a couple of example index entries
477
- and footnotes. The preface, appendix, bibliography, glossary and index
478
- section titles are significant (<em>specialsections</em>).</p></div>
479
- </div>
480
- <h2 id="_the_first_section">2. The First Section</h2>
481
- <div class="sectionbody">
482
- <div class="paragraph"><p>Article sections start at level 1 and can be nested up to four levels
483
- deep.
484
- <br />[An example footnote.]<br /></p></div>
485
- <div class="paragraph"><p>And now for something completely different: monkeys, lions and
486
- tigers (Bengal and Siberian) using the alternative syntax index
487
- entries.
488
-
489
-
490
-
491
- Note that multi-entry terms generate separate index entries.</p></div>
492
- <div class="paragraph"><p>Here are a couple of image examples: an <span class="image">
493
- <img src="images/smallnew.png" alt="images/smallnew.png" />
494
- </span>
495
- example inline image followed by an example block image:</p></div>
496
- <div class="imageblock">
497
- <div class="content">
498
- <img src="images/tiger.png" alt="Tiger image" title="Tiger image"/>
499
- </div>
500
- <div class="image-title">Tiger block image</div>
501
- </div>
502
- <div class="paragraph"><p>Followed by an example table:</p></div>
503
- <div class="tableblock">
504
- <table rules="all"
505
- width="60%"
506
- frame="border"
507
- cellspacing="0" cellpadding="4">
508
- <caption class="title">An example table</caption>
509
- <col width="50%" />
510
- <col width="50%" />
511
- <thead valign="top">
512
- <tr>
513
- <th align="left"> Option </th>
514
- <th align="left"> Description</th>
515
- </tr>
516
- </thead>
517
- <tbody valign="top">
518
- <tr>
519
- <td align="left"><p class="table">-a <em>USER GROUP</em></p></td>
520
- <td align="left"><p class="table">Add <em>USER</em> to <em>GROUP</em>.</p></td>
521
- </tr>
522
- <tr>
523
- <td align="left"><p class="table">-R <em>GROUP</em></p></td>
524
- <td align="left"><p class="table">Disables access to <em>GROUP</em>.</p></td>
525
- </tr>
526
- </tbody>
527
- </table>
528
- </div>
529
- <h3 id="X1">2.1. Sub-section with Anchor</h3><div style="clear:left"></div>
530
- <div class="paragraph"><p>Sub-section at level 2.</p></div>
531
- <h4 id="_a_nested_sub_section">2.1.1. A Nested Sub-section</h4>
532
- <div class="paragraph"><p>Sub-section at level 3.</p></div>
533
- <h5 id="_yet_another_nested_sub_section">Yet another nested Sub-section</h5>
534
- <div class="paragraph"><p>Sub-section at level 4.</p></div>
535
- <div class="paragraph"><p>This is the maximum sub-section depth supported by the distributed
536
- <em>AsciiDoc</em> configuration.
537
- <br />[A second example footnote.]<br /></p></div>
538
- </div>
539
- <h2 id="_the_second_section">3. The Second Section</h2>
540
- <div class="sectionbody">
541
- <div class="paragraph"><p>Article sections are at level 1 and can contain sub-sections nested up
542
- to four deep.</p></div>
543
- <div class="paragraph"><p>An example link to anchor at start of the <a href="#X1">first sub-section</a>.</p></div>
544
- <div class="paragraph"><p>An example link to a bibliography entry <a href="#taoup">[taoup]</a>.</p></div>
545
- </div>
546
- <h2 id="_appendix_a_example_appendix">4. Appendix A: Example Appendix</h2>
547
- <div class="sectionbody">
548
- <div class="paragraph"><p><em>AsciiDoc</em> article appendices are just just article sections with
549
- <em>specialsection</em> titles.</p></div>
550
- <h3 id="_appendix_sub_section">4.1. Appendix Sub-section</h3><div style="clear:left"></div>
551
- <div class="paragraph"><p>Appendix sub-section at level 2.</p></div>
552
- </div>
553
- <h2 id="_bibliography">5. Bibliography</h2>
554
- <div class="sectionbody">
555
- <div class="paragraph"><p>The bibliography list is a style of <em>AsciiDoc</em> bulleted list.</p></div>
556
- <div class="ulist bibliography"><ul>
557
- <li>
558
- <p>
559
- <a id="taoup"></a>[taoup] Eric Steven Raymond. <em>The Art of Unix
560
- Programming</em>. Addison-Wesley. ISBN 0-13-142901-9.
561
- </p>
562
- </li>
563
- <li>
564
- <p>
565
- <a id="walsh-muellner"></a>[walsh-muellner] Norman Walsh &amp; Leonard Muellner.
566
- <em>DocBook - The Definitive Guide</em>. O&#8217;Reilly &amp; Associates. 1999.
567
- ISBN 1-56592-580-7.
568
- </p>
569
- </li>
570
- </ul></div>
571
- </div>
572
- <h2 id="_glossary">6. Glossary</h2>
573
- <div class="sectionbody">
574
- <div class="paragraph"><p>Glossaries are optional. Glossaries entries are an example of a style
575
- of <em>AsciiDoc</em> labeled lists.</p></div>
576
- <div class="dlist glossary"><dl>
577
- <dt>
578
- A glossary term
579
- </dt>
580
- <dd>
581
- <p>
582
- The corresponding (indented) definition.
583
- </p>
584
- </dd>
585
- <dt>
586
- A second glossary term
587
- </dt>
588
- <dd>
589
- <p>
590
- The corresponding (indented) definition.
591
- </p>
592
- </dd>
593
- </dl></div>
594
- </div>
595
- <div id="footer">
596
- <div id="footer-text">
597
- Version 1.0<br />
598
- Last updated 2009-01-02 12:43:47 NZDT
599
- </div>
600
- </div>
601
- </body>
602
- </html>