FooBarWidget-mizuho 0.9.0

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