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,64 @@
1
+ ASCIIMathML Formulae
2
+ ====================
3
+
4
+ http://www1.chapman.edu/~jipsen/mathml/asciimath.html[ASCIIMathML] is
5
+ a clever JavaScript written by Peter Jipsen that dynamically
6
+ transforms mathematical formulae written in a wiki-like plain text
7
+ markup to http://www.w3.org/Math/[MathML] markup which is displayed as
8
+ standard mathematical notation by the Web Browser. See 'Appendix E'
9
+ in the AsciiDoc User Guide for more details.
10
+
11
+ The AsciiDoc `xhtml11` backend supports ASCIIMathML -- it links the
12
+ ASCIIMathML script and escapes ASCIIMathML delimiters and special
13
+ characters to yield valid XHTML. To use ASCIIMathML:
14
+
15
+ 1. Include the `-a asciimath` command-line option when you run
16
+ `asciidoc(1)`.
17
+ 2. Enclose ASCIIMathML formulas inside math or double-dollar
18
+ passthroughs or in math passthrough blocks.
19
+
20
+ Here's the link:asciimath.txt[AsciiDoc source] that generated this
21
+ page.
22
+
23
+ .NOTE
24
+ - When you use the `\asciimath:[]` inline macro you need to escape `]`
25
+ characters in the formulas with a backslash, escaping is unnecessary
26
+ if you use the double-dollar macro (for examples see the first two
27
+ formulas below).
28
+ - See the
29
+ http://www1.chapman.edu/~jipsen/mathml/asciimath.html[ASCIIMathML]
30
+ website for ASCIIMathML documentation and the latest version.
31
+ - If the formulas don't appear to be correct you probably need to
32
+ install the correct math fonts (see the
33
+ http://www1.chapman.edu/~jipsen/mathml/asciimath.html[ASCIIMathML]
34
+ website for details).
35
+ - See the link:latexmathml.html[LaTeXMathML page] if you prefer to use
36
+ LaTeX math formulas.
37
+
38
+ A list of formulas with a mixture of formatting:
39
+
40
+ - asciimath:[[[a,b\],[c,d\]\]((n),(k))]
41
+ - $$`[[a,b],[c,d]]((n),(k))`$$
42
+ - asciimath:[x/x={(1,if x!=0),(text{undefined},if x=0):}]
43
+ - asciimath:[d/dxf(x)=lim_(h->0)(f(x+h)-f(x))/h]
44
+ - Red [red]+++`sum_(i=1)\^n i=(n(n+1))/2`$+++ and [blue]*bold
45
+ asciimath:[int_0\^(pi/2) sinx\ dx=1]*
46
+ - [,,1.5]## 1.5 times normal size asciimath:[(a,b\]={x in RR : a < x <= b}]##
47
+ - A [,,2]##big## [blue]##blue## formula
48
+ [blue,,2]##asciimath:[x^2+y_1+z_12^34]##.
49
+ - [green,yellow,4]##asciimath:[x^2+y_1+z_12^34]##
50
+
51
+ *********************************************************************
52
+ The first three terms factor to give
53
+ [red]##asciimath:[(x+b/(2a))^2=(b^2)/(4a^2)-c/a]##.
54
+
55
+ [red]##asciimath:[x+b/(2a)=+-sqrt((b^2)/(4a^2)-c/a)]##.
56
+
57
+ Now we take square roots on both sides and get
58
+ [red]##asciimath:[x+b/(2a)=+-sqrt((b^2)/(4a^2)-c/a)]##. Finally we
59
+ move the [red]##asciimath:[b/(2a)]## to the right and simplify to get
60
+ the two solutions:
61
+ [red]*asciimath:[x_(1,2)=(-b+-sqrt(b^2-4ac))/(2a)]*.
62
+
63
+ *********************************************************************
64
+
@@ -0,0 +1,25 @@
1
+ #!/bin/sh
2
+
3
+ VERS="8.1.0"
4
+ DATE="2006-10-22"
5
+
6
+ # Leave the desired layout uncommented.
7
+ LAYOUT=layout1 # Tables based layout.
8
+ #LAYOUT=layout2 # CSS based simulated frames layout.
9
+
10
+ ASCIIDOC_HTML="python ../../asciidoc.py --unsafe --backend=xhtml11 --conf-file=${LAYOUT}.conf --attribute icons --attribute iconsdir=./images/icons --attribute=badges --attribute=revision=$VERS --attribute=date=$DATE"
11
+
12
+ $ASCIIDOC_HTML -a index-only index.txt
13
+ $ASCIIDOC_HTML -a toc -a numbered userguide.txt
14
+ $ASCIIDOC_HTML -d manpage manpage.txt
15
+ $ASCIIDOC_HTML downloads.txt
16
+ $ASCIIDOC_HTML latex-backend.txt
17
+ $ASCIIDOC_HTML README.txt
18
+ $ASCIIDOC_HTML INSTALL.txt
19
+ $ASCIIDOC_HTML CHANGELOG.txt
20
+ $ASCIIDOC_HTML README-website.txt
21
+ $ASCIIDOC_HTML support.txt
22
+ $ASCIIDOC_HTML source-highlight-filter.txt
23
+ $ASCIIDOC_HTML music-filter.txt
24
+ $ASCIIDOC_HTML a2x.1.txt
25
+ $ASCIIDOC_HTML asciimath.txt
@@ -0,0 +1,18 @@
1
+ "AROUT","Around the Horn","Thomas Hardy","120 Hanover Sq.
2
+ London","(171) 555-7788"
3
+ "BERGS","Berglunds snabbkop","Christina Berglund","Berguvsvagen 8
4
+ Lulea","0921-12 34 65"
5
+ "BLAUS","Blauer See Delikatessen","Hanna Moos","Forsterstr. 57
6
+ Mannheim","0621-08460"
7
+ "BLONP","Blondel pere et fils","Frederique Citeaux","24, place Kleber
8
+ Strasbourg","88.60.15.31"
9
+ "BOLID","Bolido Comidas preparadas","Martin Sommer","C/ Araquil, 67
10
+ Madrid","(91) 555 22 82"
11
+ "BONAP","Bon app'","Laurence Lebihan","12, rue des Bouchers
12
+ Marseille","91.24.45.40"
13
+ "BOTTM","Bottom-Dollar Markets","Elizabeth Lincoln","23 Tsawassen Blvd.
14
+ Tsawassen","(604) 555-4729"
15
+ "BSBEV","B's Beverages","Victoria Ashworth","Fauntleroy Circus
16
+ London","(171) 555-1212"
17
+ "CACTU","Cactus Comidas para llevar","Patricio Simpson","Cerrito 333
18
+ Buenos Aires","(1) 135-5555"
@@ -0,0 +1,257 @@
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-quirks.css" type="text/css" />
9
+ <link rel="stylesheet" href="./layout1.css" type="text/css" />
10
+ <script type="text/javascript">
11
+ /*<![CDATA[*/
12
+ window.onload = function(){generateToc(1)}
13
+ /*]]>*/
14
+ </script>
15
+ <script type="text/javascript" src="./toc.js"></script>
16
+ <title>Download and Install AsciiDoc</title>
17
+ </head>
18
+ <body>
19
+ <div id="layout-banner">
20
+ <div id="layout-title">AsciiDoc</div>
21
+ <div id="layout-description">Text based document generation</div>
22
+ </div>
23
+ <table>
24
+ <tr valign="top">
25
+ <td id="layout-menu">
26
+ <div>&#187;<a href="index.html">Home</a></div>
27
+ <div>&#187;<a href="manpage.html">Man&nbsp;Page</a></div>
28
+ <div>&#187;<a href="userguide.html">User&nbsp;Guide</a></div>
29
+ <div>&#187;<a href="http://powerman.name/doc/asciidoc">Cheatsheet</a></div>
30
+ <div>&#187;<a href="a2x.1.html">a2x</a></div>
31
+ <div>&#187;<a href="README.html">README</a></div>
32
+ <div>&#187;<a href="CHANGELOG.html">ChangeLog</a></div>
33
+ <div>&#187;<a href="INSTALL.html">Installation</a></div>
34
+ <div>&#187;<a href="downloads.html">Downloads</a></div>
35
+ <div>&#187;<a href="faq.html">FAQ</a></div>
36
+ <div>&#187;<a href="support.html">Support</a></div>
37
+ <div id="page-source">&#187;<a href="downloads.txt">Page&nbsp;Source</a></div>
38
+ </td>
39
+ <td>
40
+ <div id="layout-content">
41
+ <div id="header">
42
+ <h1>Download and Install AsciiDoc</h1>
43
+ </div>
44
+ <div id="toc">
45
+ <div id="toctitle">Table of Contents</div>
46
+ <noscript><p><b>JavaScript must be enabled in your browser to display the table of contents.</b></p></noscript>
47
+ </div>
48
+ <div id="preamble">
49
+ <div class="sectionbody">
50
+ <div class="paragraph"><p>See the <a href="README.html">README</a> and <a href="INSTALL.html">INSTALL</a> pages
51
+ for install prerequisites and procedures.</p></div>
52
+ </div>
53
+ </div>
54
+ <h2 id="X2">Distribution Archives</h2>
55
+ <div class="sectionbody">
56
+ <div class="paragraph"><p>These distribution archives are also available, along with previous
57
+ <em>AsciiDoc</em> versions, at the SourceForge
58
+ <a href="http://sourceforge.net/projects/asciidoc/">http://sourceforge.net/projects/asciidoc/</a>.</p></div>
59
+ <div class="dlist"><dl>
60
+ <dt class="hdlist1">
61
+ <a href="asciidoc-8.3.3.tar.gz">asciidoc-8.3.3.tar.gz</a>
62
+ </dt>
63
+ <dd>
64
+ <p>
65
+ A tarball distribution of the latest version of <em>AsciiDoc</em> for *NIX
66
+ platforms.
67
+ </p>
68
+ </dd>
69
+ <dt class="hdlist1">
70
+ <a href="asciidoc-8.3.3.zip">asciidoc-8.3.3.zip</a>
71
+ </dt>
72
+ <dd>
73
+ <p>
74
+ A Zip distribution of the latest version of <em>AsciiDoc</em> for Microsoft
75
+ Windows users (UNIX users should use the tarball since includes
76
+ symbolic links to eliminate file duplication).
77
+ </p>
78
+ </dd>
79
+ </dl></div>
80
+ </div>
81
+ <h2 id="X3">Mercurial Repository</h2>
82
+ <div class="sectionbody">
83
+ <div class="paragraph"><p>The <em>AsciiDoc</em> <a href="http://www.selenic.com/mercurial/">Mercurial</a> repository
84
+ is hosted by <a href="http://sharesource.org">ShareSource</a>. ShareSource is a
85
+ Mercurial friendly website for hosting Open Source projects.</p></div>
86
+ <div class="paragraph"><p>To browse the repo go to <a href="http://hg.sharesource.org/asciidoc/">http://hg.sharesource.org/asciidoc/</a>.</p></div>
87
+ <h3 id="_installing_from_the_repository">Installing from the repository</h3><div style="clear:left"></div>
88
+ <div class="paragraph"><p>This is an easy way to install <em>AsciiDoc</em> if you don&#8217;t have an up to
89
+ date packaged version or want to get the latest version from the
90
+ trunk:</p></div>
91
+ <div class="ulist"><ul>
92
+ <li>
93
+ <p>
94
+ Make sure you have <a href="http://www.selenic.com/mercurial/">Mercurial</a>
95
+ installed, you can check with:
96
+ </p>
97
+ <div class="literalblock">
98
+ <div class="content">
99
+ <pre><tt>$ hg --version</tt></pre>
100
+ </div></div>
101
+ </li>
102
+ <li>
103
+ <p>
104
+ Go to the directory you want to install <em>AsciiDoc</em> into and download
105
+ the repository. This example gets the 8.3.3 tagged release:
106
+ </p>
107
+ <div class="literalblock">
108
+ <div class="content">
109
+ <pre><tt>$ cd ~/bin
110
+ $ hg clone -r 8.3.3 http://hg.sharesource.org/asciidoc asciidoc.hg</tt></pre>
111
+ </div></div>
112
+ </li>
113
+ <li>
114
+ <p>
115
+ Create a symlink to the <em>AsciiDoc</em> script in a search <tt>PATH</tt> directory
116
+ so it&#8217;s easy to execute <tt>asciidoc</tt> from the command-line, for
117
+ example:
118
+ </p>
119
+ <div class="literalblock">
120
+ <div class="content">
121
+ <pre><tt>$ ln -s ~/bin/asciidoc.hg/asciidoc.py ~/bin/asciidoc</tt></pre>
122
+ </div></div>
123
+ </li>
124
+ </ul></div>
125
+ <div class="paragraph"><p>You can now use the Mercurial <tt>pull</tt> command to update your <em>AsciiDoc</em>
126
+ repository.</p></div>
127
+ </div>
128
+ <h2 id="X1">Prepackaged Versions</h2>
129
+ <div class="sectionbody">
130
+ <div class="paragraph"><p>The following platform specific packages are available:</p></div>
131
+ <div class="dlist"><dl>
132
+ <dt class="hdlist1">
133
+ <strong>Debian GNU/Linux</strong>
134
+ </dt>
135
+ <dd>
136
+ <p>
137
+ If you use Debian or a Debian based distribution there&#8217;s an
138
+ <a href="http://packages.debian.org/asciidoc"><em>AsciiDoc</em> Debian package</a>
139
+ available. Thanks to <a href="mailto:stone@debian.org">Fredrik Steen</a> who
140
+ built and maintains the Debian <em>AsciiDoc</em> package.
141
+ </p>
142
+ </dd>
143
+ <dt class="hdlist1">
144
+ <strong>Gentoo Linux</strong>
145
+ </dt>
146
+ <dd>
147
+ <p>
148
+ If you use Gentoo Linux there&#8217;s a
149
+ <a href="http://packages.gentoo.org/packages/?category=app-text;name=asciidoc">Gentoo
150
+ <em>AsciiDoc</em> package</a> available. Thanks to
151
+ <a href="mailto:brandon@ifup.org">Brandon Philips</a> for writing the ebuild.
152
+ </p>
153
+ </dd>
154
+ <dt class="hdlist1">
155
+ <strong>Fedora Linux</strong>
156
+ </dt>
157
+ <dd>
158
+ <p>
159
+ With help from Terje Røsten, Chris Wright added asciidoc to Fedora
160
+ Extras which is available in the default installation. To install
161
+ asciidoc execute the following command:
162
+ </p>
163
+ <div class="literalblock">
164
+ <div class="content">
165
+ <pre><tt>$ yum install asciidoc</tt></pre>
166
+ </div></div>
167
+ </dd>
168
+ <dt class="hdlist1">
169
+ <strong>Slackware Linux</strong>
170
+ </dt>
171
+ <dd>
172
+ <p>
173
+ John Calixto has created a Slackware package for <em>AsciiDoc</em> which can
174
+ be downloaded from <a href="http://linuxpackages.net/">http://linuxpackages.net/</a>.
175
+ </p>
176
+ </dd>
177
+ <dt class="hdlist1">
178
+ <strong>Ark Linux</strong>
179
+ </dt>
180
+ <dd>
181
+ <p>
182
+ <a href="mailto:bero@arklinux.org">Bernhard Rosenkraenzer</a> added <em>AsciiDoc</em> to
183
+ Ark Linux&#8201;&#8212;&#8201;the package is available from the Ark Linux repository
184
+ at <a href="http://arklinux.osuosl.org/dockyard-devel/">http://arklinux.osuosl.org/dockyard-devel/</a>, so Ark Linux users
185
+ should just run <tt>apt-get install asciidoc</tt>.
186
+ </p>
187
+ </dd>
188
+ <dt class="hdlist1">
189
+ <strong>T2 Linux</strong>
190
+ </dt>
191
+ <dd>
192
+ <p>
193
+ <a href="mailto:cw@ixplanet.de">Christian Wiese</a> added <em>AsciiDoc</em> to the
194
+ <a href="http://www.t2-project.org/">T2 Linux</a> repository at
195
+ <a href="http://svn.exactcode.de/t2/trunk/package/textproc/asciidoc/">http://svn.exactcode.de/t2/trunk/package/textproc/asciidoc/</a>. To
196
+ build and install the package on a T2 system, run
197
+ <tt>./scripts/Emerge-Pkg asciidoc</tt> from within your T2 source directory
198
+ (default: <tt>/usr/src/t2-src</tt>).
199
+ </p>
200
+ </dd>
201
+ <dt class="hdlist1">
202
+ <strong>Red Hat Enterprise Linux, Fedora and CentOS packages</strong>
203
+ </dt>
204
+ <dd>
205
+ <p>
206
+ Dag Wieers has built <em>AsciiDoc</em> RPMs for a number of Red Hat based
207
+ distributions, they can be downloaded from
208
+ <a href="http://dag.wieers.com/rpm/packages/asciidoc/">http://dag.wieers.com/rpm/packages/asciidoc/</a>.
209
+ </p>
210
+ </dd>
211
+ <dt class="hdlist1">
212
+ <strong>CSW Package for Sun Solaris</strong>
213
+ </dt>
214
+ <dd>
215
+ <p>
216
+ Ben Walton has created a CSW package for <em>AsciiDoc</em>, you can find it
217
+ here: <a href="http://opencsw.org/packages/asciidoc">http://opencsw.org/packages/asciidoc</a>.
218
+ </p>
219
+ </dd>
220
+ </dl></div>
221
+ <div class="paragraph"><p>See also <a href="userguide.html#X38">Packager Notes</a> in the <em><em>AsciiDoc</em> User
222
+ Guide</em>.</p></div>
223
+ </div>
224
+ <h2 id="_copying">Copying</h2>
225
+ <div class="sectionbody">
226
+ <div class="paragraph"><p>Copyright &#169; 2002-2008 Stuart Rackham. Free use of <em>AsciiDoc</em> is
227
+ granted under the terms of the GNU General Public License (GPL).</p></div>
228
+ </div>
229
+ <div id="footer">
230
+ <div id="footer-text">
231
+ Version 8.3.3<br />
232
+ Last updated 2009-01-02 11:18:48 NZDT
233
+ </div>
234
+ <div id="footer-badges">
235
+ <a href="http://validator.w3.org/check?uri=referer">
236
+ <img style="border:none; width:88px; height:31px;"
237
+ src="http://www.w3.org/Icons/valid-xhtml11"
238
+ alt="Valid XHTML 1.1!" />
239
+ </a>
240
+ <a href="http://jigsaw.w3.org/css-validator/check/referer">
241
+ <img style="border:none; width:88px; height:31px;"
242
+ src="http://jigsaw.w3.org/css-validator/images/vcss"
243
+ alt="Valid CSS!" />
244
+ </a>
245
+ <a href="http://www.mozilla.org/products/firefox/">
246
+ <img style="border:none; width:110px; height:32px;"
247
+ src="http://www.spreadfirefox.com/community/images/affiliates/Buttons/110x32/safer.gif"
248
+ alt="Get Firefox!" />
249
+ </a>
250
+ </div>
251
+ </div>
252
+ </div>
253
+ </td>
254
+ </tr>
255
+ </table>
256
+ </body>
257
+ </html>
@@ -0,0 +1,121 @@
1
+ Download and Install AsciiDoc
2
+ =============================
3
+
4
+ See the link:README.html[README] and link:INSTALL.html[INSTALL] pages
5
+ for install prerequisites and procedures.
6
+
7
+
8
+ [[X2]]
9
+ Distribution Archives
10
+ ---------------------
11
+ These distribution archives are also available, along with previous
12
+ AsciiDoc versions, at the SourceForge
13
+ http://sourceforge.net/projects/asciidoc/.
14
+
15
+ link:asciidoc-{revision}.tar.gz[]::
16
+ A tarball distribution of the latest version of AsciiDoc for *NIX
17
+ platforms.
18
+
19
+ link:asciidoc-{revision}.zip[]::
20
+ A Zip distribution of the latest version of AsciiDoc for Microsoft
21
+ Windows users (UNIX users should use the tarball since includes
22
+ symbolic links to eliminate file duplication).
23
+
24
+
25
+ [[X3]]
26
+ Mercurial Repository
27
+ --------------------
28
+ The AsciiDoc http://www.selenic.com/mercurial/[Mercurial] repository
29
+ is hosted by http://sharesource.org[ShareSource]. ShareSource is a
30
+ Mercurial friendly website for hosting Open Source projects.
31
+
32
+ To browse the repo go to http://hg.sharesource.org/asciidoc/.
33
+
34
+ Installing from the repository
35
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
36
+ This is an easy way to install AsciiDoc if you don't have an up to
37
+ date packaged version or want to get the latest version from the
38
+ trunk:
39
+
40
+ - Make sure you have http://www.selenic.com/mercurial/[Mercurial]
41
+ installed, you can check with:
42
+
43
+ $ hg --version
44
+
45
+ - Go to the directory you want to install AsciiDoc into and download
46
+ the repository. This example gets the {revision} tagged release:
47
+ +
48
+ --
49
+ [subs="attributes"]
50
+ $ cd ~/bin
51
+ $ hg clone -r {revision} http://hg.sharesource.org/asciidoc asciidoc.hg
52
+ --
53
+
54
+ - Create a symlink to the AsciiDoc script in a search `PATH` directory
55
+ so it's easy to execute `asciidoc` from the command-line, for
56
+ example:
57
+
58
+ $ ln -s ~/bin/asciidoc.hg/asciidoc.py ~/bin/asciidoc
59
+
60
+ You can now use the Mercurial `pull` command to update your AsciiDoc
61
+ repository.
62
+
63
+
64
+ [[X1]]
65
+ Prepackaged Versions
66
+ --------------------
67
+ The following platform specific packages are available:
68
+
69
+ *Debian GNU/Linux*::
70
+ If you use Debian or a Debian based distribution there's an
71
+ http://packages.debian.org/asciidoc[AsciiDoc Debian package]
72
+ available. Thanks to mailto:stone@debian.org[Fredrik Steen] who
73
+ built and maintains the Debian AsciiDoc package.
74
+
75
+ *Gentoo Linux*::
76
+ If you use Gentoo Linux there's a
77
+ http://packages.gentoo.org/packages/?category=app-text;name=asciidoc[Gentoo
78
+ AsciiDoc package] available. Thanks to
79
+ mailto:brandon@ifup.org[Brandon Philips] for writing the ebuild.
80
+
81
+ *Fedora Linux*::
82
+ With help from Terje Røsten, Chris Wright added asciidoc to Fedora
83
+ Extras which is available in the default installation. To install
84
+ asciidoc execute the following command:
85
+
86
+ $ yum install asciidoc
87
+
88
+ *Slackware Linux*::
89
+ John Calixto has created a Slackware package for AsciiDoc which can
90
+ be downloaded from http://linuxpackages.net/.
91
+
92
+ *Ark Linux*::
93
+ mailto:bero@arklinux.org[Bernhard Rosenkraenzer] added AsciiDoc to
94
+ Ark Linux -- the package is available from the Ark Linux repository
95
+ at http://arklinux.osuosl.org/dockyard-devel/, so Ark Linux users
96
+ should just run `apt-get install asciidoc`.
97
+
98
+ *T2 Linux*::
99
+ mailto:cw@ixplanet.de[Christian Wiese] added AsciiDoc to the
100
+ http://www.t2-project.org/[T2 Linux] repository at
101
+ http://svn.exactcode.de/t2/trunk/package/textproc/asciidoc/. To
102
+ build and install the package on a T2 system, run
103
+ `./scripts/Emerge-Pkg asciidoc` from within your T2 source directory
104
+ (default: `/usr/src/t2-src`).
105
+
106
+ *Red Hat Enterprise Linux, Fedora and CentOS packages*::
107
+ Dag Wieers has built AsciiDoc RPMs for a number of Red Hat based
108
+ distributions, they can be downloaded from
109
+ http://dag.wieers.com/rpm/packages/asciidoc/.
110
+
111
+ *CSW Package for Sun Solaris*::
112
+ Ben Walton has created a CSW package for AsciiDoc, you can find it
113
+ here: http://opencsw.org/packages/asciidoc.
114
+
115
+ See also link:userguide.html#X38[Packager Notes] in the 'AsciiDoc User
116
+ Guide'.
117
+
118
+ Copying
119
+ -------
120
+ Copyright (C) 2002-2008 Stuart Rackham. Free use of AsciiDoc is
121
+ granted under the terms of the GNU General Public License (GPL).