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,158 @@
1
+ #
2
+ # AsciiDoc website.
3
+ # Three division CSS based layout (layout2).
4
+ #
5
+ # Simulated frames using CSS (fixed banner and menu, scrolling content).
6
+ # NOTE: This layout does not work with IE6.
7
+ #
8
+ # +-----------------------------------------------------+
9
+ # | #layout-banner |
10
+ # +--------------+--------------------------------------+
11
+ # | | |
12
+ # | | |
13
+ # | #layout-menu | #layout-content |
14
+ # | | |
15
+ # | | |
16
+ # | | |
17
+ # +--------------+--------------------------------------+
18
+ #
19
+ # Each of the three divisions is enclosed in a same-named *-box division
20
+ # which position and size the layout.
21
+ #
22
+ # - The #layout-content division is a container for AsciiDoc page documents.
23
+ # - Documents rendered in the #layout-content use the standard AsciiDoc
24
+ # xhtml11 backend stylesheets.
25
+
26
+ [specialwords]
27
+ emphasizedwords=(?u)\\?\bAsciiDoc\b
28
+ monospacedwords=(?u)\\?\basciidoc\(1\) (?u)\\?\ba2x\(1\)
29
+
30
+ [header]
31
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
32
+ "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
33
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
34
+ <head>
35
+ <meta http-equiv="Content-Type" content="text/html; charset={encoding}" />
36
+ <meta name="generator" content="AsciiDoc {asciidoc-version}" />
37
+ ifdef::index-only[]
38
+ <meta name="description" content="Text based document generation" />
39
+ <meta name="keywords" content="text to HTML, text to DocBook, text to XML, AsciiDoc" />
40
+ endif::index-only[]
41
+ <link rel="stylesheet" href="{stylesdir=.}/{theme={backend}}.css" type="text/css" />
42
+ {doctype-manpage}<link rel="stylesheet" href="{stylesdir=.}/{theme={backend}}-manpage.css" type="text/css" />
43
+ ifdef::quirks[]
44
+ <link rel="stylesheet" href="{stylesdir=.}/{theme={backend}}-quirks.css" type="text/css" />
45
+ endif::quirks[]
46
+ <link rel="stylesheet" href="{stylesdir=.}/layout2.css" type="text/css" />
47
+ ifdef::toc[]
48
+ <script type="text/javascript">
49
+ /*<![CDATA[*/
50
+ window.onload = function()\{generateToc({toclevels=2})\}
51
+ /*]]>*/
52
+ </script>
53
+ <script type="text/javascript" src="{scriptsdir=.}/toc.js"></script>
54
+ endif::toc[]
55
+ ifdef::asciimath[]
56
+ <script type="text/javascript" src="{scriptsdir=.}/ASCIIMathML.js"></script>
57
+ endif::asciimath[]
58
+ ifdef::latexmath[]
59
+ <script type="text/javascript" src="{scriptsdir=.}/LaTeXMathML.js"></script>
60
+ endif::latexmath[]
61
+ <title>{doctitle}</title>
62
+ </head>
63
+ <body>
64
+ <div id="layout-banner-box">
65
+ <div id="layout-banner">
66
+ <div id="layout-title">AsciiDoc</div>
67
+ <div id="layout-description">Text based document generation</div>
68
+ </div>
69
+ </div>
70
+ <div id="layout-menu-box">
71
+ <div id="layout-menu">
72
+ <div>&#187;<a href="index.html">Home</a></div>
73
+ <div>&#187;<a href="manpage.html">Man&nbsp;Page</a></div>
74
+ <div>&#187;<a href="userguide.html">User&nbsp;Guide</a></div>
75
+ <div>&#187;<a href="a2x.1.html">a2x</a></div>
76
+ <div>&#187;<a href="README.html">README</a></div>
77
+ <div>&#187;<a href="CHANGELOG.html">ChangeLog</a></div>
78
+ <div>&#187;<a href="downloads.html">Downloads</a></div>
79
+ <div>&#187;<a href="faq.html">FAQ</a></div>
80
+ <div>&#187;<a href="support.html">Support</a></div>
81
+ <div id="page-source">&#187;<a href="{eval:os.path.basename('{infile}')}">Page&nbsp;Source</a></div>
82
+ </div>
83
+ </div>
84
+ <div id="layout-content-box">
85
+ <div id="layout-content">
86
+ # Article, book header.
87
+ ifndef::doctype-manpage[]
88
+ <div id="header">
89
+ <h1>{doctitle}</h1>
90
+ <span id="author">{author}</span><br />
91
+ <span id="email"><tt>&lt;<a href="mailto:{email}">{email}</a>&gt;</tt></span><br />
92
+ {authored}<span id="revision">version {revision}{date?,}</span>
93
+ {authored}{date}
94
+ </div>
95
+ ifdef::toc[]
96
+ <div id="toc">
97
+ <div id="toctitle">Table of Contents</div>
98
+ <noscript><p><b>JavaScript must be enabled in your browser to display the table of contents.</b></p></noscript>
99
+ </div>
100
+ endif::toc[]
101
+ endif::doctype-manpage[]
102
+ # Man page header.
103
+ ifdef::doctype-manpage[]
104
+ <div id="header">
105
+ <h1>
106
+ {doctitle} Manual Page
107
+ </h1>
108
+ ifdef::toc[]
109
+ <div id="toc">
110
+ <div id="toctitle">Table of Contents</div>
111
+ <noscript><p><b>JavaScript must be enabled in your browser to display the table of contents.</b></p></noscript>
112
+ </div>
113
+ endif::toc[]
114
+ <h2>NAME</h2>
115
+ <div class="sectionbody">
116
+ <p>{manname} -
117
+ {manpurpose}
118
+ </p>
119
+ </div>
120
+ </div>
121
+ endif::doctype-manpage[]
122
+
123
+ [footer]
124
+ <div id="footer">
125
+ <div id="footer-text">
126
+ Version {revision}<br />
127
+ Last updated {localdate} {localtime}
128
+ </div>
129
+ ifdef::badges[]
130
+ <div id="footer-badges">
131
+ ifdef::textonly[]
132
+ Valid <a href="http://validator.w3.org/check?uri=referer">XHTML</a>
133
+ and <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a>.
134
+ endif::textonly[]
135
+ ifndef::textonly[]
136
+ <a href="http://validator.w3.org/check?uri=referer">
137
+ <img style="border:none; width:88px; height:31px;"
138
+ src="http://www.w3.org/Icons/valid-xhtml11"
139
+ alt="Valid XHTML 1.1!" />
140
+ </a>
141
+ <a href="http://jigsaw.w3.org/css-validator/check/referer">
142
+ <img style="border:none; width:88px; height:31px;"
143
+ src="http://jigsaw.w3.org/css-validator/images/vcss"
144
+ alt="Valid CSS!" />
145
+ </a>
146
+ <a href="http://www.mozilla.org/products/firefox/">
147
+ <img style="border:none; width:110px; height:32px;"
148
+ src="http://www.spreadfirefox.com/community/images/affiliates/Buttons/110x32/safer.gif"
149
+ alt="Get Firefox!" />
150
+ </a>
151
+ endif::textonly[]
152
+ </div>
153
+ endif::badges[]
154
+ </div>
155
+ </div>
156
+ </div>
157
+ </body>
158
+ </html>
@@ -0,0 +1,93 @@
1
+ body {
2
+ margin: 0;
3
+ }
4
+
5
+ #layout-banner-box {
6
+ position: fixed;
7
+ top: 0px;
8
+ left: 0px;
9
+ width: 100%;
10
+ height: 110px;
11
+ z-index: 2;
12
+ background-color: #73a0c5;
13
+ }
14
+
15
+ #layout-menu-box {
16
+ position: fixed;
17
+ left: 0px;
18
+ top: 110px;
19
+ width: 175px;
20
+ height: 100%;
21
+ z-index: 1;
22
+ background-color: #f4f4f4;
23
+ }
24
+
25
+ #layout-content-box {
26
+ position: relative;
27
+ margin-top: 110px;
28
+ margin-left: 175px;
29
+ background-color: white;
30
+ }
31
+
32
+ h1 {
33
+ margin-top: 0.5em;
34
+ }
35
+
36
+ #layout-banner {
37
+ color: white;
38
+ font-family: sans-serif;
39
+ text-align: left;
40
+ padding: 0.8em 20px;
41
+ }
42
+
43
+ #layout-title {
44
+ font-family: monospace;
45
+ font-size: 3.5em;
46
+ font-weight: bold;
47
+ letter-spacing: 0.2em;
48
+ margin: 0;
49
+ }
50
+
51
+ #layout-description {
52
+ font-size: 1.2em;
53
+ letter-spacing: 0.1em;
54
+ }
55
+
56
+ #layout-menu {
57
+ height: 100%;
58
+ border-right: 3px solid #eeeeee;
59
+ padding-top: 0.8em;
60
+ padding-left: 20px;
61
+ padding-right: 0.8em;
62
+ font-size: 1.0em;
63
+ font-family: sans-serif;
64
+ font-weight: bold;
65
+ }
66
+ #layout-menu a {
67
+ line-height: 2em;
68
+ margin-left: 0.5em;
69
+ }
70
+ #layout-menu a:link, #layout-menu a:visited, #layout-menu a:hover {
71
+ color: #527bbd;
72
+ text-decoration: none;
73
+ }
74
+ #layout-menu a:hover {
75
+ color: navy;
76
+ text-decoration: none;
77
+ }
78
+ #layout-menu #page-source {
79
+ border-top: 2px solid silver;
80
+ margin-top: 0.2em;
81
+ }
82
+
83
+ #layout-content {
84
+ padding-top: 0.2em;
85
+ padding-left: 1.0em;
86
+ padding-right: 0.4em;
87
+ }
88
+
89
+ @media print {
90
+ #layout-banner-box { display: none; }
91
+ #layout-menu-box { display: none; }
92
+ #layout-content-box { margin-top: 0; margin-left: 0; }
93
+ }
@@ -0,0 +1,266 @@
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
+ <link rel="stylesheet" href="./xhtml11.css" type="text/css" />
8
+ <link rel="stylesheet" href="./xhtml11-manpage.css" type="text/css" />
9
+ <link rel="stylesheet" href="./xhtml11-quirks.css" type="text/css" />
10
+ <link rel="stylesheet" href="./layout1.css" type="text/css" />
11
+ <script type="text/javascript">
12
+ /*<![CDATA[*/
13
+ window.onload = function(){generateToc(1)}
14
+ /*]]>*/
15
+ </script>
16
+ <script type="text/javascript" src="./toc.js"></script>
17
+ <title>ASCIIDOC(1)</title>
18
+ </head>
19
+ <body>
20
+ <div id="layout-banner">
21
+ <div id="layout-title">AsciiDoc</div>
22
+ <div id="layout-description">Text based document generation</div>
23
+ </div>
24
+ <table>
25
+ <tr valign="top">
26
+ <td id="layout-menu">
27
+ <div>&#187;<a href="index.html">Home</a></div>
28
+ <div>&#187;<a href="manpage.html">Man&nbsp;Page</a></div>
29
+ <div>&#187;<a href="userguide.html">User&nbsp;Guide</a></div>
30
+ <div>&#187;<a href="http://powerman.name/doc/asciidoc">Cheatsheet</a></div>
31
+ <div>&#187;<a href="a2x.1.html">a2x</a></div>
32
+ <div>&#187;<a href="README.html">README</a></div>
33
+ <div>&#187;<a href="CHANGELOG.html">ChangeLog</a></div>
34
+ <div>&#187;<a href="INSTALL.html">Installation</a></div>
35
+ <div>&#187;<a href="downloads.html">Downloads</a></div>
36
+ <div>&#187;<a href="faq.html">FAQ</a></div>
37
+ <div>&#187;<a href="support.html">Support</a></div>
38
+ <div id="page-source">&#187;<a href="manpage.txt">Page&nbsp;Source</a></div>
39
+ </td>
40
+ <td>
41
+ <div id="layout-content">
42
+ <div id="header">
43
+ <h1>
44
+ ASCIIDOC(1) Manual Page
45
+ </h1>
46
+ <div id="toc">
47
+ <div id="toctitle">Table of Contents</div>
48
+ <noscript><p><b>JavaScript must be enabled in your browser to display the table of contents.</b></p></noscript>
49
+ </div>
50
+ <h2>NAME</h2>
51
+ <div class="sectionbody">
52
+ <p>asciidoc -
53
+ converts an AsciiDoc text file to DocBook, HTML or LinuxDoc
54
+ </p>
55
+ </div>
56
+ </div>
57
+ <h2>SYNOPSIS</h2>
58
+ <div class="sectionbody">
59
+ <div class="paragraph"><p><strong>asciidoc</strong> [<em>OPTIONS</em>] <em>FILE</em></p></div>
60
+ </div>
61
+ <h2 id="_description">DESCRIPTION</h2>
62
+ <div class="sectionbody">
63
+ <div class="paragraph"><p>The <tt>asciidoc(1)</tt> command translates the <em>AsciiDoc</em> text file <em>FILE</em> to a
64
+ DocBook, HTML or LinuxDoc file. If <em>FILE</em> is <em>-</em> then the standard
65
+ input is used.</p></div>
66
+ </div>
67
+ <h2 id="_options">OPTIONS</h2>
68
+ <div class="sectionbody">
69
+ <div class="dlist"><dl>
70
+ <dt class="hdlist1">
71
+ <strong>-a, --attribute</strong>=<em>ATTRIBUTE</em>
72
+ </dt>
73
+ <dd>
74
+ <p>
75
+ Define or delete document attribute. <em>ATTRIBUTE</em> is formatted like
76
+ <em>NAME=VALUE</em>. Command-line attributes take precedence over
77
+ document and configuration file attributes. Alternate acceptable
78
+ forms are <em>NAME</em> (the <em>VALUE</em> defaults to an empty string);
79
+ <em>NAME!</em> (delete the <em>NAME</em> attribute); <em>NAME@</em> (do not override
80
+ document or configuration file attributes). Values containing
81
+ spaces should be enclosed in double-quote characters. This option
82
+ may be specified more than once.
83
+ </p>
84
+ </dd>
85
+ <dt class="hdlist1">
86
+ <strong>-b, --backend</strong>=<em>BACKEND</em>
87
+ </dt>
88
+ <dd>
89
+ <p>
90
+ Backend output file format: <em>docbook</em>, <em>xhtml11</em> or <em>html4</em>.
91
+ Defaults to <em>xhtml11</em>.
92
+ </p>
93
+ </dd>
94
+ <dt class="hdlist1">
95
+ <strong>-f, --conf-file</strong>=<em>CONF_FILE</em>
96
+ </dt>
97
+ <dd>
98
+ <p>
99
+ Use configuration file <em>CONF_FILE</em>.Configuration files processed
100
+ in command-line order (after implicit configuration files). This
101
+ option may be specified more than once.
102
+ </p>
103
+ </dd>
104
+ <dt class="hdlist1">
105
+ <strong>-d, --doctype</strong>=<em>DOCTYPE</em>
106
+ </dt>
107
+ <dd>
108
+ <p>
109
+ Document type: <em>article</em>, <em>manpage</em> or <em>book</em>. The <em>book</em> document
110
+ type is only supported by the <em>docbook</em> backend. Default document
111
+ type is <em>article</em>.
112
+ </p>
113
+ </dd>
114
+ <dt class="hdlist1">
115
+ <strong>-c, --dump-conf</strong>
116
+ </dt>
117
+ <dd>
118
+ <p>
119
+ Dump configuration to stdout.
120
+ </p>
121
+ </dd>
122
+ <dt class="hdlist1">
123
+ <strong>-h, --help</strong>[=<em>TOPIC</em>]
124
+ </dt>
125
+ <dd>
126
+ <p>
127
+ Print help TOPIC. <strong>--help</strong>=<em>topics</em> will print a list of help
128
+ topics, <strong>--help</strong>=<em>syntax</em> summarizes <em>AsciiDoc</em> syntax,
129
+ <strong>--help</strong>=<em>manpage</em> prints the <em>AsciiDoc</em> manpage.
130
+ </p>
131
+ </dd>
132
+ <dt class="hdlist1">
133
+ <strong>-e, --no-conf</strong>
134
+ </dt>
135
+ <dd>
136
+ <p>
137
+ Exclude implicitly loaded configuration files except for those
138
+ named like the input file (<em>infile.conf</em> and
139
+ <em>infile-backend.conf</em>).
140
+ </p>
141
+ </dd>
142
+ <dt class="hdlist1">
143
+ <strong>-s, --no-header-footer</strong>
144
+ </dt>
145
+ <dd>
146
+ <p>
147
+ Suppress document header and footer output.
148
+ </p>
149
+ </dd>
150
+ <dt class="hdlist1">
151
+ <strong>-o, --out-file</strong>=<em>OUT_FILE</em>
152
+ </dt>
153
+ <dd>
154
+ <p>
155
+ Write output to file <em>OUT_FILE</em>. Defaults to the base name of
156
+ input file with <em>backend</em> extension. If the input is stdin then
157
+ the outfile defaults to stdout. If <em>OUT_FILE</em> is <em>-</em> then the
158
+ standard output is used.
159
+ </p>
160
+ </dd>
161
+ <dt class="hdlist1">
162
+ <strong>-n, --section-numbers</strong>
163
+ </dt>
164
+ <dd>
165
+ <p>
166
+ Auto-number HTML article section titles. Synonym for <strong>-a
167
+ numbered</strong>.
168
+ </p>
169
+ </dd>
170
+ <dt class="hdlist1">
171
+ <strong>--unsafe</strong>
172
+ </dt>
173
+ <dd>
174
+ <p>
175
+ Disable safe mode. Safe mode is enabled by default, disabling
176
+ it is potentially dangerous.
177
+ </p>
178
+ </dd>
179
+ <dt class="hdlist1">
180
+ <strong>-v, --verbose</strong>
181
+ </dt>
182
+ <dd>
183
+ <p>
184
+ Verbosely print processing information and configuration file
185
+ checks to stderr.
186
+ </p>
187
+ </dd>
188
+ <dt class="hdlist1">
189
+ <strong>--version</strong>
190
+ </dt>
191
+ <dd>
192
+ <p>
193
+ Print program version number.
194
+ </p>
195
+ </dd>
196
+ </dl></div>
197
+ </div>
198
+ <h2 id="_exit_status">EXIT STATUS</h2>
199
+ <div class="sectionbody">
200
+ <div class="dlist"><dl>
201
+ <dt class="hdlist1">
202
+ <strong>0</strong>
203
+ </dt>
204
+ <dd>
205
+ <p>
206
+ Success
207
+ </p>
208
+ </dd>
209
+ <dt class="hdlist1">
210
+ <strong>1</strong>
211
+ </dt>
212
+ <dd>
213
+ <p>
214
+ Failure (syntax or usage error; configuration error; document
215
+ processing failure; unexpected error).
216
+ </p>
217
+ </dd>
218
+ </dl></div>
219
+ </div>
220
+ <h2 id="_bugs">BUGS</h2>
221
+ <div class="sectionbody">
222
+ <div class="paragraph"><p>See the <em>AsciiDoc</em> distribution BUGS file.</p></div>
223
+ </div>
224
+ <h2 id="_author">AUTHOR</h2>
225
+ <div class="sectionbody">
226
+ <div class="paragraph"><p>Written by Stuart Rackham, &lt;<a href="mailto:srackham@gmail.com">srackham@gmail.com</a>&gt;</p></div>
227
+ </div>
228
+ <h2 id="_resources">RESOURCES</h2>
229
+ <div class="sectionbody">
230
+ <div class="paragraph"><p>SourceForge: <a href="http://sourceforge.net/projects/asciidoc/">http://sourceforge.net/projects/asciidoc/</a></p></div>
231
+ <div class="paragraph"><p>Main web site: <a href="http://www.methods.co.nz/asciidoc/">http://www.methods.co.nz/asciidoc/</a></p></div>
232
+ </div>
233
+ <h2 id="_copying">COPYING</h2>
234
+ <div class="sectionbody">
235
+ <div class="paragraph"><p>Copyright (C) 2002-2008 Stuart Rackham. Free use of this software is
236
+ granted under the terms of the GNU General Public License (GPL).</p></div>
237
+ </div>
238
+ <div id="footer">
239
+ <div id="footer-text">
240
+ Version 8.3.3<br />
241
+ Last updated 2009-01-02 11:18:52 NZDT
242
+ </div>
243
+ <div id="footer-badges">
244
+ <a href="http://validator.w3.org/check?uri=referer">
245
+ <img style="border:none; width:88px; height:31px;"
246
+ src="http://www.w3.org/Icons/valid-xhtml11"
247
+ alt="Valid XHTML 1.1!" />
248
+ </a>
249
+ <a href="http://jigsaw.w3.org/css-validator/check/referer">
250
+ <img style="border:none; width:88px; height:31px;"
251
+ src="http://jigsaw.w3.org/css-validator/images/vcss"
252
+ alt="Valid CSS!" />
253
+ </a>
254
+ <a href="http://www.mozilla.org/products/firefox/">
255
+ <img style="border:none; width:110px; height:32px;"
256
+ src="http://www.spreadfirefox.com/community/images/affiliates/Buttons/110x32/safer.gif"
257
+ alt="Get Firefox!" />
258
+ </a>
259
+ </div>
260
+ </div>
261
+ </div>
262
+ </td>
263
+ </tr>
264
+ </table>
265
+ </body>
266
+ </html>