mizuho 0.9.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (295) hide show
  1. data/LICENSE.txt +20 -0
  2. data/README.markdown +61 -0
  3. data/Rakefile +41 -0
  4. data/asciidoc/BUGS +39 -0
  5. data/asciidoc/BUGS.txt +32 -0
  6. data/asciidoc/CHANGELOG +1796 -0
  7. data/asciidoc/CHANGELOG.txt +1810 -0
  8. data/asciidoc/COPYING +339 -0
  9. data/asciidoc/COPYRIGHT +18 -0
  10. data/asciidoc/INSTALL +76 -0
  11. data/asciidoc/INSTALL.txt +71 -0
  12. data/asciidoc/Makefile.in +161 -0
  13. data/asciidoc/README +46 -0
  14. data/asciidoc/README.txt +36 -0
  15. data/asciidoc/a2x +674 -0
  16. data/asciidoc/asciidoc.conf +455 -0
  17. data/asciidoc/asciidoc.py +4998 -0
  18. data/asciidoc/common.aap +9 -0
  19. data/asciidoc/configure +2840 -0
  20. data/asciidoc/configure.ac +11 -0
  21. data/asciidoc/dblatex/asciidoc-dblatex.sty +20 -0
  22. data/asciidoc/dblatex/asciidoc-dblatex.xsl +32 -0
  23. data/asciidoc/dblatex/dblatex-readme.txt +39 -0
  24. data/asciidoc/doc/a2x.1 +257 -0
  25. data/asciidoc/doc/a2x.1.txt +204 -0
  26. data/asciidoc/doc/article.css-embedded.html +602 -0
  27. data/asciidoc/doc/article.html +46 -0
  28. data/asciidoc/doc/article.pdf +0 -0
  29. data/asciidoc/doc/article.txt +122 -0
  30. data/asciidoc/doc/asciidoc-revhistory.xml +27 -0
  31. data/asciidoc/doc/asciidoc.1 +155 -0
  32. data/asciidoc/doc/asciidoc.1.css-embedded.html +598 -0
  33. data/asciidoc/doc/asciidoc.1.css.html +212 -0
  34. data/asciidoc/doc/asciidoc.1.html +190 -0
  35. data/asciidoc/doc/asciidoc.1.txt +118 -0
  36. data/asciidoc/doc/asciidoc.conf +8 -0
  37. data/asciidoc/doc/asciidoc.css-embedded.html +7853 -0
  38. data/asciidoc/doc/asciidoc.css.html +7416 -0
  39. data/asciidoc/doc/asciidoc.dict +733 -0
  40. data/asciidoc/doc/asciidoc.html +3339 -0
  41. data/asciidoc/doc/asciidoc.txt +4979 -0
  42. data/asciidoc/doc/asciimathml.txt +64 -0
  43. data/asciidoc/doc/book-multi.css-embedded.html +575 -0
  44. data/asciidoc/doc/book-multi.html +55 -0
  45. data/asciidoc/doc/book-multi.txt +155 -0
  46. data/asciidoc/doc/book.css-embedded.html +607 -0
  47. data/asciidoc/doc/book.html +43 -0
  48. data/asciidoc/doc/book.txt +131 -0
  49. data/asciidoc/doc/customers.csv +18 -0
  50. data/asciidoc/doc/docbook-xsl.css +272 -0
  51. data/asciidoc/doc/faq.txt +547 -0
  52. data/asciidoc/doc/latex-backend.html +117 -0
  53. data/asciidoc/doc/latex-backend.txt +191 -0
  54. data/asciidoc/doc/latexmath.txt +244 -0
  55. data/asciidoc/doc/latexmathml.txt +41 -0
  56. data/asciidoc/doc/main.aap +297 -0
  57. data/asciidoc/doc/music-filter.html +566 -0
  58. data/asciidoc/doc/music-filter.pdf +0 -0
  59. data/asciidoc/doc/music-filter.txt +158 -0
  60. data/asciidoc/doc/source-highlight-filter.html +214 -0
  61. data/asciidoc/doc/source-highlight-filter.pdf +0 -0
  62. data/asciidoc/doc/source-highlight-filter.txt +203 -0
  63. data/asciidoc/docbook-xsl/asciidoc-docbook-xsl.txt +43 -0
  64. data/asciidoc/docbook-xsl/chunked.xsl +19 -0
  65. data/asciidoc/docbook-xsl/common.xsl +67 -0
  66. data/asciidoc/docbook-xsl/fo.xsl +149 -0
  67. data/asciidoc/docbook-xsl/htmlhelp.xsl +17 -0
  68. data/asciidoc/docbook-xsl/manpage.xsl +31 -0
  69. data/asciidoc/docbook-xsl/text.xsl +50 -0
  70. data/asciidoc/docbook-xsl/xhtml.xsl +14 -0
  71. data/asciidoc/docbook.conf +721 -0
  72. data/asciidoc/examples/website/ASCIIMathML.js +938 -0
  73. data/asciidoc/examples/website/CHANGELOG.html +4389 -0
  74. data/asciidoc/examples/website/CHANGELOG.txt +1810 -0
  75. data/asciidoc/examples/website/INSTALL.html +161 -0
  76. data/asciidoc/examples/website/INSTALL.txt +71 -0
  77. data/asciidoc/examples/website/LaTeXMathML.js +1223 -0
  78. data/asciidoc/examples/website/README-website.html +118 -0
  79. data/asciidoc/examples/website/README-website.txt +29 -0
  80. data/asciidoc/examples/website/README.html +125 -0
  81. data/asciidoc/examples/website/README.txt +36 -0
  82. data/asciidoc/examples/website/a2x.1.html +419 -0
  83. data/asciidoc/examples/website/a2x.1.txt +204 -0
  84. data/asciidoc/examples/website/asciidoc-docbook-xsl.html +130 -0
  85. data/asciidoc/examples/website/asciidoc-docbook-xsl.txt +43 -0
  86. data/asciidoc/examples/website/asciidoc-graphviz-sample.txt +130 -0
  87. data/asciidoc/examples/website/asciimathml.txt +64 -0
  88. data/asciidoc/examples/website/build-website.sh +25 -0
  89. data/asciidoc/examples/website/customers.csv +18 -0
  90. data/asciidoc/examples/website/downloads.html +257 -0
  91. data/asciidoc/examples/website/downloads.txt +121 -0
  92. data/asciidoc/examples/website/faq.html +673 -0
  93. data/asciidoc/examples/website/faq.txt +547 -0
  94. data/asciidoc/examples/website/index.html +419 -0
  95. data/asciidoc/examples/website/index.txt +245 -0
  96. data/asciidoc/examples/website/latex-backend.html +535 -0
  97. data/asciidoc/examples/website/latex-backend.txt +191 -0
  98. data/asciidoc/examples/website/latexmathml.txt +41 -0
  99. data/asciidoc/examples/website/layout1.conf +161 -0
  100. data/asciidoc/examples/website/layout1.css +65 -0
  101. data/asciidoc/examples/website/layout2.conf +158 -0
  102. data/asciidoc/examples/website/layout2.css +93 -0
  103. data/asciidoc/examples/website/manpage.html +266 -0
  104. data/asciidoc/examples/website/manpage.txt +118 -0
  105. data/asciidoc/examples/website/music-filter.html +242 -0
  106. data/asciidoc/examples/website/music-filter.txt +158 -0
  107. data/asciidoc/examples/website/music1.abc +12 -0
  108. data/asciidoc/examples/website/music1.png +0 -0
  109. data/asciidoc/examples/website/music2.ly +9 -0
  110. data/asciidoc/examples/website/music2.png +0 -0
  111. data/asciidoc/examples/website/newlists.txt +40 -0
  112. data/asciidoc/examples/website/newtables.txt +397 -0
  113. data/asciidoc/examples/website/sample1.png +0 -0
  114. data/asciidoc/examples/website/sample3.png +0 -0
  115. data/asciidoc/examples/website/sample4.png +0 -0
  116. data/asciidoc/examples/website/source-highlight-filter.html +286 -0
  117. data/asciidoc/examples/website/source-highlight-filter.txt +203 -0
  118. data/asciidoc/examples/website/support.html +78 -0
  119. data/asciidoc/examples/website/support.txt +5 -0
  120. data/asciidoc/examples/website/toc.js +69 -0
  121. data/asciidoc/examples/website/userguide.html +7460 -0
  122. data/asciidoc/examples/website/userguide.txt +4979 -0
  123. data/asciidoc/examples/website/version83.txt +37 -0
  124. data/asciidoc/examples/website/version9.html +143 -0
  125. data/asciidoc/examples/website/version9.txt +48 -0
  126. data/asciidoc/examples/website/xhtml11-manpage.css +18 -0
  127. data/asciidoc/examples/website/xhtml11-quirks.css +41 -0
  128. data/asciidoc/examples/website/xhtml11.css +328 -0
  129. data/asciidoc/filters/code/code-filter-readme.txt +37 -0
  130. data/asciidoc/filters/code/code-filter-test.txt +15 -0
  131. data/asciidoc/filters/code/code-filter.conf +8 -0
  132. data/asciidoc/filters/code/code-filter.py +239 -0
  133. data/asciidoc/filters/graphviz/asciidoc-graphviz-sample.txt +130 -0
  134. data/asciidoc/filters/graphviz/graphviz-filter.conf +39 -0
  135. data/asciidoc/filters/graphviz/graphviz2png.py +154 -0
  136. data/asciidoc/filters/music/music-filter-test.txt +40 -0
  137. data/asciidoc/filters/music/music-filter.conf +40 -0
  138. data/asciidoc/filters/music/music2png.py +189 -0
  139. data/asciidoc/filters/source/source-highlight-filter-test.txt +19 -0
  140. data/asciidoc/filters/source/source-highlight-filter.conf +108 -0
  141. data/asciidoc/help.conf +213 -0
  142. data/asciidoc/html4.conf +460 -0
  143. data/asciidoc/images/highlighter.png +0 -0
  144. data/asciidoc/images/icons/README +5 -0
  145. data/asciidoc/images/icons/callouts/1.png +0 -0
  146. data/asciidoc/images/icons/callouts/10.png +0 -0
  147. data/asciidoc/images/icons/callouts/11.png +0 -0
  148. data/asciidoc/images/icons/callouts/12.png +0 -0
  149. data/asciidoc/images/icons/callouts/13.png +0 -0
  150. data/asciidoc/images/icons/callouts/14.png +0 -0
  151. data/asciidoc/images/icons/callouts/15.png +0 -0
  152. data/asciidoc/images/icons/callouts/2.png +0 -0
  153. data/asciidoc/images/icons/callouts/3.png +0 -0
  154. data/asciidoc/images/icons/callouts/4.png +0 -0
  155. data/asciidoc/images/icons/callouts/5.png +0 -0
  156. data/asciidoc/images/icons/callouts/6.png +0 -0
  157. data/asciidoc/images/icons/callouts/7.png +0 -0
  158. data/asciidoc/images/icons/callouts/8.png +0 -0
  159. data/asciidoc/images/icons/callouts/9.png +0 -0
  160. data/asciidoc/images/icons/caution.png +0 -0
  161. data/asciidoc/images/icons/example.png +0 -0
  162. data/asciidoc/images/icons/home.png +0 -0
  163. data/asciidoc/images/icons/important.png +0 -0
  164. data/asciidoc/images/icons/next.png +0 -0
  165. data/asciidoc/images/icons/note.png +0 -0
  166. data/asciidoc/images/icons/prev.png +0 -0
  167. data/asciidoc/images/icons/tip.png +0 -0
  168. data/asciidoc/images/icons/up.png +0 -0
  169. data/asciidoc/images/icons/warning.png +0 -0
  170. data/asciidoc/images/smallnew.png +0 -0
  171. data/asciidoc/images/tiger.png +0 -0
  172. data/asciidoc/install-sh +201 -0
  173. data/asciidoc/javascripts/ASCIIMathML.js +938 -0
  174. data/asciidoc/javascripts/LaTeXMathML.js +1223 -0
  175. data/asciidoc/javascripts/toc.js +69 -0
  176. data/asciidoc/lang-es.conf +15 -0
  177. data/asciidoc/latex.conf +663 -0
  178. data/asciidoc/stylesheets/docbook-xsl.css +272 -0
  179. data/asciidoc/stylesheets/xhtml11-manpage.css +18 -0
  180. data/asciidoc/stylesheets/xhtml11-quirks.css +41 -0
  181. data/asciidoc/stylesheets/xhtml11.css +328 -0
  182. data/asciidoc/text.conf +16 -0
  183. data/asciidoc/vim/ftdetect/asciidoc_filetype.vim +53 -0
  184. data/asciidoc/vim/syntax/asciidoc.vim +165 -0
  185. data/asciidoc/wordpress.conf +48 -0
  186. data/asciidoc/xhtml11-quirks.conf +57 -0
  187. data/asciidoc/xhtml11.conf +645 -0
  188. data/bin/mizuho +47 -0
  189. data/bin/mizuho-asciidoc +4 -0
  190. data/lib/mizuho.rb +10 -0
  191. data/lib/mizuho/chapter.rb +54 -0
  192. data/lib/mizuho/generator.rb +134 -0
  193. data/lib/mizuho/heading.rb +46 -0
  194. data/lib/mizuho/parser.rb +103 -0
  195. data/lib/mizuho/source_highlight.rb +2 -0
  196. data/lib/mizuho/template.rb +50 -0
  197. data/source-highlight/ada.lang +38 -0
  198. data/source-highlight/bib.lang +6 -0
  199. data/source-highlight/bison.lang +3 -0
  200. data/source-highlight/c.lang +41 -0
  201. data/source-highlight/c_comment.lang +27 -0
  202. data/source-highlight/c_string.lang +9 -0
  203. data/source-highlight/caml.lang +16 -0
  204. data/source-highlight/changelog.lang +8 -0
  205. data/source-highlight/clike_vardeclaration.lang +4 -0
  206. data/source-highlight/cpp.lang +15 -0
  207. data/source-highlight/csharp.lang +36 -0
  208. data/source-highlight/css.lang +14 -0
  209. data/source-highlight/css_common.outlang +26 -0
  210. data/source-highlight/darwin/source-highlight +0 -0
  211. data/source-highlight/default.css +51 -0
  212. data/source-highlight/default.lang +8 -0
  213. data/source-highlight/default.style +57 -0
  214. data/source-highlight/desktop.lang +7 -0
  215. data/source-highlight/diff.lang +32 -0
  216. data/source-highlight/docbook.outlang +36 -0
  217. data/source-highlight/esc.outlang +46 -0
  218. data/source-highlight/esc.style +35 -0
  219. data/source-highlight/extreme_comment.lang +5 -0
  220. data/source-highlight/extreme_comment2.lang +5 -0
  221. data/source-highlight/extreme_comment3.lang +15 -0
  222. data/source-highlight/fixed-fortran.lang +5 -0
  223. data/source-highlight/flex.lang +37 -0
  224. data/source-highlight/fortran.lang +57 -0
  225. data/source-highlight/function.lang +2 -0
  226. data/source-highlight/glsl.lang +86 -0
  227. data/source-highlight/haxe.lang +7 -0
  228. data/source-highlight/html.lang +7 -0
  229. data/source-highlight/html.outlang +25 -0
  230. data/source-highlight/html_common.outlang +35 -0
  231. data/source-highlight/html_notfixed.outlang +22 -0
  232. data/source-highlight/html_ref.outlang +6 -0
  233. data/source-highlight/htmlcss.outlang +28 -0
  234. data/source-highlight/htmltable.outlang +14 -0
  235. data/source-highlight/htmltablelinenum.outlang +26 -0
  236. data/source-highlight/java.lang +26 -0
  237. data/source-highlight/javadoc.outlang +24 -0
  238. data/source-highlight/javascript.lang +27 -0
  239. data/source-highlight/key_string.lang +4 -0
  240. data/source-highlight/lang.map +108 -0
  241. data/source-highlight/langdef.lang +21 -0
  242. data/source-highlight/latex.lang +52 -0
  243. data/source-highlight/latex.outlang +59 -0
  244. data/source-highlight/latexcolor.outlang +44 -0
  245. data/source-highlight/ldap.lang +10 -0
  246. data/source-highlight/log.lang +53 -0
  247. data/source-highlight/logtalk.lang +85 -0
  248. data/source-highlight/lsm.lang +7 -0
  249. data/source-highlight/lua.lang +27 -0
  250. data/source-highlight/m4.lang +27 -0
  251. data/source-highlight/makefile.lang +42 -0
  252. data/source-highlight/nohilite.lang +2 -0
  253. data/source-highlight/number.lang +3 -0
  254. data/source-highlight/outlang.lang +16 -0
  255. data/source-highlight/outlang.map +12 -0
  256. data/source-highlight/pascal.lang +20 -0
  257. data/source-highlight/perl.lang +134 -0
  258. data/source-highlight/php.lang +25 -0
  259. data/source-highlight/postscript.lang +42 -0
  260. data/source-highlight/prolog.lang +37 -0
  261. data/source-highlight/properties.lang +7 -0
  262. data/source-highlight/python.lang +26 -0
  263. data/source-highlight/ruby.lang +32 -0
  264. data/source-highlight/scala.lang +31 -0
  265. data/source-highlight/script_comment.lang +3 -0
  266. data/source-highlight/sh.lang +38 -0
  267. data/source-highlight/slang.lang +25 -0
  268. data/source-highlight/sml.lang +5 -0
  269. data/source-highlight/source-highlight +24 -0
  270. data/source-highlight/spec.lang +12 -0
  271. data/source-highlight/sql.lang +46 -0
  272. data/source-highlight/style.defaults +15 -0
  273. data/source-highlight/style.lang +16 -0
  274. data/source-highlight/style2.style +10 -0
  275. data/source-highlight/style3.style +10 -0
  276. data/source-highlight/symbols.lang +2 -0
  277. data/source-highlight/tcl.lang +35 -0
  278. data/source-highlight/texinfo.outlang +34 -0
  279. data/source-highlight/texinfo.style +20 -0
  280. data/source-highlight/url.lang +3 -0
  281. data/source-highlight/xhtml.outlang +25 -0
  282. data/source-highlight/xhtml_common.outlang +8 -0
  283. data/source-highlight/xhtml_notfixed.outlang +16 -0
  284. data/source-highlight/xhtmlcss.outlang +19 -0
  285. data/source-highlight/xhtmltable.outlang +7 -0
  286. data/source-highlight/xml.lang +17 -0
  287. data/source-highlight/xorg.lang +10 -0
  288. data/templates/asciidoc.css +358 -0
  289. data/templates/asciidoc.html.erb +86 -0
  290. data/templates/manualsonrails.css +165 -0
  291. data/templates/manualsonrails.html.erb +97 -0
  292. data/test/generator_spec.rb +60 -0
  293. data/test/parser_spec.rb +239 -0
  294. data/test/spec_helper.rb +51 -0
  295. metadata +358 -0
@@ -0,0 +1,602 @@
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>