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
Binary file
@@ -1,122 +1,139 @@
1
- The Article Title
2
- =================
3
- Author's Name <authors@email.address>
4
- v1.0, Dec 2003
5
-
6
-
7
- This is the optional preamble (an untitled section body). Useful for
8
- writing simple sectionless documents consisting only of a preamble.
9
-
10
-
11
- Abstract
12
- --------
13
- The optional abstract (one or more paragraphs) goes here.
14
-
15
- This document is an AsciiDoc article skeleton containing briefly
16
- annotated element placeholders plus a couple of example index entries
17
- and footnotes. The preface, appendix, bibliography, glossary and index
18
- section titles are significant ('specialsections').
19
-
20
-
21
- The First Section
22
- -----------------
23
- Article sections start at level 1 and can be nested up to four levels
24
- deep.
25
- footnote:[An example footnote.]
26
- indexterm:[Example index entry]
27
-
28
- And now for something completely different: ((monkeys)), lions and
29
- tigers (Bengal and Siberian) using the alternative syntax index
30
- entries.
31
- (((Big cats,Lions)))
32
- (((Big cats,Tigers,Bengal Tiger)))
33
- (((Big cats,Tigers,Siberian Tiger)))
34
- Note that multi-entry terms generate separate index entries.
35
-
36
- Here are a couple of image examples: an image:images/smallnew.png[]
37
- example inline image followed by an example block image:
38
-
39
- .Tiger block image
40
- image::images/tiger.png[Tiger image]
41
-
42
- Followed by an example table:
43
-
44
- .An example table
45
- [width="60%",options="header"]
46
- |==============================================
47
- | Option | Description
48
- | -a 'USER GROUP' | Add 'USER' to 'GROUP'.
49
- | -R 'GROUP' | Disables access to 'GROUP'.
50
- |==============================================
51
-
52
- [[X1]]
53
- Sub-section with Anchor
54
- ~~~~~~~~~~~~~~~~~~~~~~~
55
- Sub-section at level 2.
56
-
57
- A Nested Sub-section
58
- ^^^^^^^^^^^^^^^^^^^^
59
- Sub-section at level 3.
60
-
61
- Yet another nested Sub-section
62
- ++++++++++++++++++++++++++++++
63
- Sub-section at level 4.
64
-
65
- This is the maximum sub-section depth supported by the distributed
66
- AsciiDoc configuration.
67
- footnote:[A second example footnote.]
68
-
69
-
70
- The Second Section
71
- ------------------
72
- Article sections are at level 1 and can contain sub-sections nested up
73
- to four deep.
74
-
75
- An example link to anchor at start of the <<X1,first sub-section>>.
76
- indexterm:[Second example index entry]
77
-
78
- An example link to a bibliography entry <<taoup>>.
79
-
80
- Appendix A: Example Appendix
81
- ----------------------------
82
- AsciiDoc article appendices are just just article sections with
83
- 'specialsection' titles.
84
-
85
- Appendix Sub-section
86
- ~~~~~~~~~~~~~~~~~~~~
87
- Appendix sub-section at level 2.
88
-
89
-
90
- Bibliography
91
- ------------
92
- The bibliography list is a style of AsciiDoc bulleted list.
93
-
94
- [bibliography]
95
- - [[[taoup]]] Eric Steven Raymond. 'The Art of Unix
96
- Programming'. Addison-Wesley. ISBN 0-13-142901-9.
97
- - [[[walsh-muellner]]] Norman Walsh & Leonard Muellner.
98
- 'DocBook - The Definitive Guide'. O'Reilly & Associates. 1999.
99
- ISBN 1-56592-580-7.
100
-
101
-
102
- Glossary
103
- --------
104
- Glossaries are optional. Glossaries entries are an example of a style
105
- of AsciiDoc labeled lists.
106
-
107
- [glossary]
108
- A glossary term::
109
- The corresponding (indented) definition.
110
-
111
- A second glossary term::
112
- The corresponding (indented) definition.
113
-
114
-
115
- ifdef::backend-docbook[]
116
- Index
117
- -----
118
- ////////////////////////////////////////////////////////////////
119
- The index is normally left completely empty, it's contents being
120
- generated automatically by the DocBook toolchain.
121
- ////////////////////////////////////////////////////////////////
122
- endif::backend-docbook[]
1
+ The Article Title
2
+ =================
3
+ Author's Name <authors@email.address>
4
+ v1.0, 2003-12
5
+
6
+
7
+ This is the optional preamble (an untitled section body). Useful for
8
+ writing simple sectionless documents consisting only of a preamble.
9
+
10
+ NOTE: The abstract, preface, appendix, bibliography, glossary and
11
+ index section titles are significant ('specialsections').
12
+
13
+
14
+ :numbered!:
15
+ [abstract]
16
+ Example Abstract
17
+ ----------------
18
+ The optional abstract (one or more paragraphs) goes here.
19
+
20
+ This document is an AsciiDoc article skeleton containing briefly
21
+ annotated element placeholders plus a couple of example index entries
22
+ and footnotes.
23
+
24
+ :numbered:
25
+
26
+ The First Section
27
+ -----------------
28
+ Article sections start at level 1 and can be nested up to four levels
29
+ deep.
30
+ footnote:[An example footnote.]
31
+ indexterm:[Example index entry]
32
+
33
+ And now for something completely different: ((monkeys)), lions and
34
+ tigers (Bengal and Siberian) using the alternative syntax index
35
+ entries.
36
+ (((Big cats,Lions)))
37
+ (((Big cats,Tigers,Bengal Tiger)))
38
+ (((Big cats,Tigers,Siberian Tiger)))
39
+ Note that multi-entry terms generate separate index entries.
40
+
41
+ Here are a couple of image examples: an image:images/smallnew.png[]
42
+ example inline image followed by an example block image:
43
+
44
+ .Tiger block image
45
+ image::images/tiger.png[Tiger image]
46
+
47
+ Followed by an example table:
48
+
49
+ .An example table
50
+ [width="60%",options="header"]
51
+ |==============================================
52
+ | Option | Description
53
+ | -a 'USER GROUP' | Add 'USER' to 'GROUP'.
54
+ | -R 'GROUP' | Disables access to 'GROUP'.
55
+ |==============================================
56
+
57
+ .An example example
58
+ ===============================================
59
+ Lorum ipum...
60
+ ===============================================
61
+
62
+ [[X1]]
63
+ Sub-section with Anchor
64
+ ~~~~~~~~~~~~~~~~~~~~~~~
65
+ Sub-section at level 2.
66
+
67
+ A Nested Sub-section
68
+ ^^^^^^^^^^^^^^^^^^^^
69
+ Sub-section at level 3.
70
+
71
+ Yet another nested Sub-section
72
+ ++++++++++++++++++++++++++++++
73
+ Sub-section at level 4.
74
+
75
+ This is the maximum sub-section depth supported by the distributed
76
+ AsciiDoc configuration.
77
+ footnote:[A second example footnote.]
78
+
79
+
80
+ The Second Section
81
+ ------------------
82
+ Article sections are at level 1 and can contain sub-sections nested up
83
+ to four deep.
84
+
85
+ An example link to anchor at start of the <<X1,first sub-section>>.
86
+ indexterm:[Second example index entry]
87
+
88
+ An example link to a bibliography entry <<taoup>>.
89
+
90
+
91
+ :numbered!:
92
+
93
+ [appendix]
94
+ Example Appendix
95
+ ----------------
96
+ AsciiDoc article appendices are just just article sections with
97
+ 'specialsection' titles.
98
+
99
+ Appendix Sub-section
100
+ ~~~~~~~~~~~~~~~~~~~~
101
+ Appendix sub-section at level 2.
102
+
103
+
104
+ [bibliography]
105
+ Example Bibliography
106
+ --------------------
107
+ The bibliography list is a style of AsciiDoc bulleted list.
108
+
109
+ [bibliography]
110
+ - [[[taoup]]] Eric Steven Raymond. 'The Art of Unix
111
+ Programming'. Addison-Wesley. ISBN 0-13-142901-9.
112
+ - [[[walsh-muellner]]] Norman Walsh & Leonard Muellner.
113
+ 'DocBook - The Definitive Guide'. O'Reilly & Associates. 1999.
114
+ ISBN 1-56592-580-7.
115
+
116
+
117
+ [glossary]
118
+ Example Glossary
119
+ ----------------
120
+ Glossaries are optional. Glossaries entries are an example of a style
121
+ of AsciiDoc labeled lists.
122
+
123
+ [glossary]
124
+ A glossary term::
125
+ The corresponding (indented) definition.
126
+
127
+ A second glossary term::
128
+ The corresponding (indented) definition.
129
+
130
+
131
+ ifdef::backend-docbook[]
132
+ [index]
133
+ Example Index
134
+ -------------
135
+ ////////////////////////////////////////////////////////////////
136
+ The index is normally left completely empty, it's contents being
137
+ generated automatically by the DocBook toolchain.
138
+ ////////////////////////////////////////////////////////////////
139
+ endif::backend-docbook[]
@@ -1,31 +1,48 @@
1
+ '\" t
1
2
  .\" Title: asciidoc
2
- .\" Author:
3
- .\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/>
4
- .\" Date: 01/02/2009
5
- .\" Manual:
6
- .\" Source:
3
+ .\" Author: [see the "AUTHOR" section]
4
+ .\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
5
+ .\" Date: 20 May 2011
6
+ .\" Manual: \ \&
7
+ .\" Source: \ \& 8.6.5
8
+ .\" Language: English
7
9
  .\"
8
- .TH "ASCIIDOC" "1" "01/02/2009" "" ""
10
+ .TH "ASCIIDOC" "1" "20 May 2011" "\ \& 8\&.6\&.5" "\ \&"
11
+ .\" -----------------------------------------------------------------
12
+ .\" * Define some portability stuff
13
+ .\" -----------------------------------------------------------------
14
+ .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
15
+ .\" http://bugs.debian.org/507673
16
+ .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
17
+ .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
18
+ .ie \n(.g .ds Aq \(aq
19
+ .el .ds Aq '
20
+ .\" -----------------------------------------------------------------
21
+ .\" * set default formatting
22
+ .\" -----------------------------------------------------------------
9
23
  .\" disable hyphenation
10
24
  .nh
11
25
  .\" disable justification (adjust text to left margin only)
12
26
  .ad l
27
+ .\" -----------------------------------------------------------------
28
+ .\" * MAIN CONTENT STARTS HERE *
29
+ .\" -----------------------------------------------------------------
13
30
  .SH "NAME"
14
- asciidoc - converts an AsciiDoc text file to DocBook, HTML or LinuxDoc
31
+ asciidoc \- converts an AsciiDoc text file to HTML or DocBook
15
32
  .SH "SYNOPSIS"
16
- \fBasciidoc\fR [\fIOPTIONS\fR] \fIFILE\fR
17
33
  .sp
34
+ \fBasciidoc\fR [\fIOPTIONS\fR] \fIFILE\fR
18
35
  .SH "DESCRIPTION"
19
- The asciidoc(1) command translates the AsciiDoc text file \fIFILE\fR to a DocBook, HTML or LinuxDoc file\. If \fIFILE\fR is \fI\-\fR then the standard input is used\.
20
36
  .sp
37
+ The asciidoc(1) command translates the AsciiDoc text file \fIFILE\fR to DocBook or HTML\&. If \fIFILE\fR is \fI\-\fR then the standard input is used\&.
21
38
  .SH "OPTIONS"
22
39
  .PP
23
40
  \fB\-a, \-\-attribute\fR=\fIATTRIBUTE\fR
24
41
  .RS 4
25
- Define or delete document attribute\.
42
+ Define or delete document attribute\&.
26
43
  \fIATTRIBUTE\fR
27
44
  is formatted like
28
- \fINAME=VALUE\fR\. Command\-line attributes take precedence over document and configuration file attributes\. Alternate acceptable forms are
45
+ \fINAME=VALUE\fR\&. Command\-line attributes take precedence over document and configuration file attributes\&. Alternate acceptable forms are
29
46
  \fINAME\fR
30
47
  (the
31
48
  \fIVALUE\fR
@@ -34,24 +51,44 @@ defaults to an empty string);
34
51
  (delete the
35
52
  \fINAME\fR
36
53
  attribute);
37
- \fINAME@\fR
38
- (do not override document or configuration file attributes)\. Values containing spaces should be enclosed in double\-quote characters\. This option may be specified more than once\.
54
+ \fINAME=VALUE@\fR
55
+ (do not override document or configuration file attributes)\&. Values containing spaces should be enclosed in double\-quote characters\&. This option may be specified more than once\&. A special attribute named
56
+ \fItrace\fR
57
+ controls the output of diagnostic information\&.
39
58
  .RE
40
59
  .PP
41
60
  \fB\-b, \-\-backend\fR=\fIBACKEND\fR
42
61
  .RS 4
43
62
  Backend output file format:
44
- \fIdocbook\fR,
45
- \fIxhtml11\fR
63
+ \fIdocbook45\fR,
64
+ \fIxhtml11\fR,
65
+ \fIhtml4\fR,
66
+ \fIwordpress\fR
46
67
  or
47
- \fIhtml4\fR\. Defaults to
48
- \fIxhtml11\fR\.
68
+ \fIlatex\fR
69
+ (the
70
+ \fIlatex\fR
71
+ backend is experimental)\&. You can also the backend alias names
72
+ \fIhtml\fR
73
+ (aliased to
74
+ \fIxhtml11\fR) or
75
+ \fIdocbook\fR
76
+ (aliased to
77
+ \fIdocbook45\fR)\&. Defaults to
78
+ \fIhtml\fR\&.
49
79
  .RE
50
80
  .PP
51
81
  \fB\-f, \-\-conf\-file\fR=\fICONF_FILE\fR
52
82
  .RS 4
53
83
  Use configuration file
54
- \fICONF_FILE\fR\.Configuration files processed in command\-line order (after implicit configuration files)\. This option may be specified more than once\.
84
+ \fICONF_FILE\fR\&.Configuration files processed in command\-line order (after implicit configuration files)\&. This option may be specified more than once\&.
85
+ .RE
86
+ .PP
87
+ \fB\-\-doctest\fR
88
+ .RS 4
89
+ Run Python doctests in
90
+ \fIasciidoc\fR
91
+ module\&.
55
92
  .RE
56
93
  .PP
57
94
  \fB\-d, \-\-doctype\fR=\fIDOCTYPE\fR
@@ -60,73 +97,147 @@ Document type:
60
97
  \fIarticle\fR,
61
98
  \fImanpage\fR
62
99
  or
63
- \fIbook\fR\. The
100
+ \fIbook\fR\&. The
64
101
  \fIbook\fR
65
102
  document type is only supported by the
66
103
  \fIdocbook\fR
67
- backend\. Default document type is
68
- \fIarticle\fR\.
104
+ backend\&. Default document type is
105
+ \fIarticle\fR\&.
69
106
  .RE
70
107
  .PP
71
108
  \fB\-c, \-\-dump\-conf\fR
72
109
  .RS 4
73
- Dump configuration to stdout\.
110
+ Dump configuration to stdout\&.
111
+ .RE
112
+ .PP
113
+ \fB\-\-filter\fR
114
+ .RS 4
115
+ Manage asciidoc(1) filters (see
116
+ \fBFILTER COMMANDS\fR)\&.
74
117
  .RE
75
118
  .PP
76
- \fB\-h, \-\-help\fR[=\fITOPIC\fR]
119
+ \fB\-h, \-\-help\fR [\fITOPIC\fR]
77
120
  .RS 4
78
- Print help TOPIC\.
79
- \fB\-\-help\fR=\fItopics\fR
121
+ Print help TOPIC\&.
122
+ \fB\-\-help\fR
123
+ \fItopics\fR
80
124
  will print a list of help topics,
81
- \fB\-\-help\fR=\fIsyntax\fR
125
+ \fB\-\-help\fR
126
+ \fIsyntax\fR
82
127
  summarizes AsciiDoc syntax,
83
- \fB\-\-help\fR=\fImanpage\fR
84
- prints the AsciiDoc manpage\.
128
+ \fB\-\-help\fR
129
+ \fImanpage\fR
130
+ prints the AsciiDoc manpage\&.
85
131
  .RE
86
132
  .PP
87
133
  \fB\-e, \-\-no\-conf\fR
88
134
  .RS 4
89
- Exclude implicitly loaded configuration files except for those named like the input file (\fIinfile\.conf\fR
135
+ Exclude implicitly loaded configuration files except for those named like the input file (\fIinfile\&.conf\fR
90
136
  and
91
- \fIinfile\-backend\.conf\fR)\.
137
+ \fIinfile\-backend\&.conf\fR)\&.
92
138
  .RE
93
139
  .PP
94
140
  \fB\-s, \-\-no\-header\-footer\fR
95
141
  .RS 4
96
- Suppress document header and footer output\.
142
+ Suppress document header and footer output\&.
97
143
  .RE
98
144
  .PP
99
145
  \fB\-o, \-\-out\-file\fR=\fIOUT_FILE\fR
100
146
  .RS 4
101
147
  Write output to file
102
- \fIOUT_FILE\fR\. Defaults to the base name of input file with
148
+ \fIOUT_FILE\fR\&. Defaults to the base name of input file with
103
149
  \fIbackend\fR
104
- extension\. If the input is stdin then the outfile defaults to stdout\. If
150
+ extension\&. If the input is stdin then the outfile defaults to stdout\&. If
105
151
  \fIOUT_FILE\fR
106
152
  is
107
153
  \fI\-\fR
108
- then the standard output is used\.
154
+ then the standard output is used\&.
109
155
  .RE
110
156
  .PP
111
157
  \fB\-n, \-\-section\-numbers\fR
112
158
  .RS 4
113
- Auto\-number HTML article section titles\. Synonym for
114
- \fB\-a numbered\fR\.
159
+ Auto\-number HTML article section titles\&. Synonym for
160
+ \fB\-a numbered\fR\&.
115
161
  .RE
116
162
  .PP
117
- \fB\-\-unsafe\fR
163
+ \fB\-\-safe\fR
118
164
  .RS 4
119
- Disable safe mode\. Safe mode is enabled by default, disabling it is potentially dangerous\.
165
+ Enable safe mode\&. Safe mode is disabled by default\&. AsciiDoc
166
+ \fIsafe mode\fR
167
+ skips potentially dangerous scripted sections in AsciiDoc source files\&.
120
168
  .RE
121
169
  .PP
122
170
  \fB\-v, \-\-verbose\fR
123
171
  .RS 4
124
- Verbosely print processing information and configuration file checks to stderr\.
172
+ Verbosely print processing information and configuration file checks to stderr\&.
125
173
  .RE
126
174
  .PP
127
175
  \fB\-\-version\fR
128
176
  .RS 4
129
- Print program version number\.
177
+ Print program version number\&.
178
+ .RE
179
+ .SH "FILTER COMMANDS"
180
+ .sp
181
+ The \fB\-\-filter\fR option is used to install, remove and list AsciiDoc filter plugins\&. Filter commands syntax:
182
+ .sp
183
+ .if n \{\
184
+ .RS 4
185
+ .\}
186
+ .nf
187
+ asciidoc \-\-filter install ZIP_FILE [FILTERS_DIR]
188
+ asciidoc \-\-filter remove FILTER_NAME [FILTERS_DIR]
189
+ asciidoc \-\-filter list
190
+ .fi
191
+ .if n \{\
192
+ .RE
193
+ .\}
194
+ .sp
195
+ Where:
196
+ .PP
197
+ \fBFILTER_NAME\fR
198
+ .RS 4
199
+ A unique filter name containing only alphanumeric or underscore characters\&.
200
+ .RE
201
+ .PP
202
+ \fBZIP_FILE\fR
203
+ .RS 4
204
+ A Zip file containing filter resources, the name must start with the filter name e\&.g\&.
205
+ my_filter\-1\&.0\&.zip
206
+ packages filter
207
+ my_filter\&.
208
+ .RE
209
+ .PP
210
+ \fBFILTERS_DIR\fR
211
+ .RS 4
212
+ The directory containing installed filters\&. Each filter is contained in its own separate subdirectory which has the same name as the filter\&.
213
+ \fBFILTERS_DIR\fR
214
+ defaults to the
215
+ \&.asciidoc/filters
216
+ directory in the user\(cqs home directory\&.
217
+ .RE
218
+ .sp
219
+ The filter commands perform as follows:
220
+ .PP
221
+ \fBinstall\fR
222
+ .RS 4
223
+ Create a subdirectory in
224
+ \fBFILTERS_DIR\fR
225
+ with the same name as the filter then extract the
226
+ \fBZIP_FILE\fR
227
+ into it\&.
228
+ .RE
229
+ .PP
230
+ \fBremove\fR
231
+ .RS 4
232
+ Delete the
233
+ \fBFILTER_NAME\fR
234
+ filter subdirectory and all its contents from the
235
+ \fBFILTERS_DIR\fR\&.
236
+ .RE
237
+ .PP
238
+ \fBlist\fR
239
+ .RS 4
240
+ List the names and locations of all installed filters (including standard filters installed in the global configuration directory)\&.
130
241
  .RE
131
242
  .SH "EXIT STATUS"
132
243
  .PP
@@ -137,19 +248,19 @@ Success
137
248
  .PP
138
249
  \fB1\fR
139
250
  .RS 4
140
- Failure (syntax or usage error; configuration error; document processing failure; unexpected error)\.
251
+ Failure (syntax or usage error; configuration error; document processing failure; unexpected error)\&.
141
252
  .RE
142
253
  .SH "BUGS"
143
- See the AsciiDoc distribution BUGS file\.
144
254
  .sp
255
+ See the AsciiDoc distribution BUGS file\&.
145
256
  .SH "AUTHOR"
146
- Written by Stuart Rackham, <srackham@gmail\.com>
147
257
  .sp
258
+ AsciiDoc was originally written by Stuart Rackham\&. Many people have contributed to it\&.
148
259
  .SH "RESOURCES"
149
- SourceForge: http://sourceforge\.net/projects/asciidoc/
150
260
  .sp
151
- Main web site: http://www\.methods\.co\.nz/asciidoc/
261
+ SourceForge: http://sourceforge\&.net/projects/asciidoc/
152
262
  .sp
263
+ Main web site: http://www\&.methods\&.co\&.nz/asciidoc/
153
264
  .SH "COPYING"
154
- Copyright (C) 2002\-2008 Stuart Rackham\. Free use of this software is granted under the terms of the GNU General Public License (GPL)\.
155
265
  .sp
266
+ Copyright (C) 2002\-2011 Stuart Rackham\&. Free use of this software is granted under the terms of the GNU General Public License (GPL)\&.