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
@@ -1,204 +0,0 @@
1
- A2X(1)
2
- ======
3
- Stuart Rackham <srackham@gmail.com>
4
-
5
-
6
- NAME
7
- ----
8
- a2x - convert Asciidoc text file to PDF, XHTML, HTML Help, manpage or
9
- plain text
10
-
11
-
12
- SYNOPSIS
13
- --------
14
- *a2x* ['OPTIONS'] 'FILE'
15
-
16
-
17
- DESCRIPTION
18
- -----------
19
- A DocBook toolchain wrapper script that translates an AsciiDoc text
20
- file 'FILE' to PDF, DVI, PS, LaTeX, XHTML (single page or chunked),
21
- man page, HTML Help or plain text formats. PDF, XHTML, man page and
22
- HTML Help formats are are generated using the asciidoc(1),
23
- xsltproc(1), DocBook XSL Stylesheets, dblatex (or FOP) toolchain.
24
- Plain text is produced by passing asciidoc(1) generated HTML through
25
- lynx(1). The htmlhelp format option generates .hhp, .hhc and .html
26
- files suitable for compilation to an HTML Help .chm file.
27
-
28
-
29
- OPTIONS
30
- -------
31
- *-a, --attribute*='ATTRIBUTE'::
32
- Set asciidoc(1) attribute value (shortcut for *--asciidoc-opts*='"-a
33
- ATTRIBUTE"' option). This option may be specified more than once.
34
-
35
- *--asciidoc-opts*='ASCIIDOC_OPTS'::
36
- Additional asciidoc(1) options. This option may be specified more
37
- than once.
38
-
39
- *--copy*::
40
- Copy distributed docbook-xsl CSS stylesheet admonition and
41
- navigation icons to their respective destinations. Applies to
42
- 'xhtml', 'chunked', 'htmlhelp' formats. The default behavior is to
43
- suppress copying.
44
-
45
- *-D, --destination-dir*='PATH'::
46
- Output directory. Defaults to source 'FILE' directory.
47
-
48
- *-d, --doctype*='DOCTYPE'::
49
- DocBook document type: 'article', 'manpage' or 'book'. Default
50
- document type is 'article' unless the format is 'manpage' (in which
51
- case it defaults to 'manpage').
52
-
53
- *-f, --format*='FORMAT'::
54
- Output format: 'chunked', 'dvi', 'htmlhelp', 'manpage', 'pdf', 'ps',
55
- 'tex', 'text' or 'xhtml'.
56
-
57
- *-h, --help*::
58
- Print command-line syntax and program options to stdout.
59
-
60
- *--icons*::
61
- Use admonition or navigation icon images in output documents. The
62
- default behavior is to use text in place of icons.
63
-
64
- *--icons-dir*='PATH'::
65
- A path (relative to destination HTML files) containing admonition
66
- and navigation icons. Defaults to './images/icons/'.
67
- Applies to 'xhtml', 'chunked', 'htmlhelp' formats.
68
-
69
- *-L, --no-xmllint*::
70
- Don't check asciidoc output with 'xmllint(1)'.
71
-
72
- *-n, --dry-run*::
73
- Don't do anything just print what would have been done.
74
-
75
- *-s, --skip-asciidoc*::
76
- Skip asciidoc execution. This is useful for converting DocBook XML
77
- files not derived from AsciiDoc sources. Ignored if '--format=text'.
78
-
79
- *--stylesheet*='PATH'::
80
- A path (relative to destination HTML files) specifying the
81
- docbook-xsl CSS stylesheet file. Defaults to './docbook-xsl.css'.
82
- Applies to 'xhtml', 'chunked', 'htmlhelp' formats.
83
-
84
- *-v, --verbose*::
85
- Print operational details to stderr.
86
- A second *-v* option applies the verbose option to toolchain commands.
87
-
88
- *--version*::
89
- Print program version to stdout.
90
-
91
- *--xsltproc-opts*='XSLTPROC_OPTS'::
92
- Additional xsltproc(1) options. This option may be specified more
93
- than once.
94
-
95
- *--fop*::
96
- Use FOP to generate PDFs.
97
-
98
- *--fop-opts*='FOP_OPTS'::
99
- Additional fop options. This option may be specified more than
100
- once. If this option is specified FOP is used to generate PDFs.
101
-
102
- *--dblatex-opts*='DBLATEX_OPTS'::
103
- Additional dblatex options. This option may be specified more than once.
104
-
105
-
106
- OUTPUT FILES
107
- ------------
108
- Output files are written to the directory specified by the
109
- *--destination-dir* option. If no *--destination-dir* option is set
110
- output files are written to the source FILE directory.
111
-
112
- Output files have the same name as the source 'FILE' but with an
113
- appropriate file name extension: .html for 'xhtml'; .hhp for
114
- 'htmlhelp'; .pdf for 'pdf'; .text for 'text'. By convention manpages
115
- have no .man extension (man page section number only). Chunked HTML
116
- directory names have a .chunked extension; chunked HTML Help directory
117
- names have a .htmlhelp extension.
118
-
119
- Same named existing files are overwritten.
120
-
121
- Intermediate output files are written to the source 'FILE' directory
122
- and are not automatically deleted.
123
-
124
- Intermediate DocBook XML files generated by AsciiDoc are only
125
- regenerated if out of date with respect to the AsciiDoc source 'FILE'.
126
-
127
- In addition to generating HTML files the 'xhtml', 'chunked' and
128
- 'htmlhelp' formats copy the DocBook XSL stylesheet plus admonition and
129
- navigation icons distributed with AsciiDoc to their respective
130
- destination locations. Existing stylesheets and icons are only copied
131
- if they are newer than the destination files or if the destination
132
- files are missing.
133
-
134
- The 'xhtml' format generates a single XHTML output page. The
135
- 'chunked' format writes multiple per-section HTML pages to a chunked
136
- directory in the destination directory. The chunked directory has the
137
- same name as the source 'FILE' name plus a .chunked extension.
138
-
139
-
140
- EXAMPLES
141
- --------
142
- `a2x -f pdf doc/source-highlight-filter.txt`::
143
- Generates doc/source-highlight-filter.pdf file.
144
-
145
- `a2x -f chunked -D ../webpages guide.txt`::
146
- Creates chunked directory `../webpages/guide.chunked` containing
147
- chunked HTML files. Also copies `docbook-xsl.css` stylesheet to the
148
- `../webpages/guide.chunked` directory plus admonition and navigation
149
- icons to the `../webpages/guide.chunked/images/icons` directory.
150
-
151
-
152
- REQUISITES
153
- ----------
154
- This script runs under the bash(1) shell and requires the following
155
- programs (which may or may not be prepackaged with your Linux
156
- distribution):
157
-
158
- Asciidoc::
159
- http://www.methods.co.nz/asciidoc/
160
-
161
- xsltproc::
162
- http://xmlsoft.org/XSLT/
163
-
164
- DocBook XSL Stylesheets::
165
- http://docbook.sourceforge.net/projects/xsl/
166
-
167
- dblatex (for PDF, DVI, PostScript and LaTeX file generation)::
168
- http://dblatex.sourceforge.net/
169
-
170
- FOP (alternative PDF file generation)::
171
- http://xmlgraphics.apache.org/fop/
172
-
173
- w3m (text file generation)::
174
- http://w3m.sourceforge.net/index.en.html
175
-
176
- Lynx (used for text file generation if `w3m(1)` not installed)::
177
- http://lynx.isc.org/
178
-
179
- See also the latest README file.
180
-
181
-
182
- BUGS
183
- ----
184
- - The odt output format is undocumented and experimental.
185
- - See also the AsciiDoc distribution BUGS file.
186
-
187
-
188
- AUTHOR
189
- ------
190
- Written by Stuart Rackham, <srackham@gmail.com>
191
-
192
-
193
- RESOURCES
194
- ---------
195
- SourceForge: http://sourceforge.net/projects/asciidoc/
196
-
197
- Main web site: http://www.methods.co.nz/asciidoc/
198
-
199
-
200
- COPYING
201
- -------
202
- Copyright \(C) 2002-2008 Stuart Rackham. Free use of this software is
203
- granted under the terms of the GNU General Public License (GPL).
204
-
@@ -1,130 +0,0 @@
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
- <title>AsciiDoc DocBook XSL Stylesheets Notes</title>
11
- </head>
12
- <body>
13
- <div id="layout-banner">
14
- <div id="layout-title">AsciiDoc</div>
15
- <div id="layout-description">Text based document generation</div>
16
- </div>
17
- <table>
18
- <tr valign="top">
19
- <td id="layout-menu">
20
- <div>&#187;<a href="index.html">Home</a></div>
21
- <div>&#187;<a href="manpage.html">Man&nbsp;Page</a></div>
22
- <div>&#187;<a href="userguide.html">User&nbsp;Guide</a></div>
23
- <div>&#187;<a href="http://powerman.name/doc/asciidoc">Cheatsheet</a></div>
24
- <div>&#187;<a href="a2x.1.html">a2x</a></div>
25
- <div>&#187;<a href="README.html">README</a></div>
26
- <div>&#187;<a href="CHANGELOG.html">ChangeLog</a></div>
27
- <div>&#187;<a href="INSTALL.html">Installation</a></div>
28
- <div>&#187;<a href="downloads.html">Downloads</a></div>
29
- <div>&#187;<a href="faq.html">FAQ</a></div>
30
- <div>&#187;<a href="support.html">Support</a></div>
31
- <div id="page-source">&#187;<a href="asciidoc-docbook-xsl.txt">Page&nbsp;Source</a></div>
32
- </td>
33
- <td>
34
- <div id="layout-content">
35
- <div id="header">
36
- <h1>AsciiDoc DocBook XSL Stylesheets Notes</h1>
37
- </div>
38
- <div id="preamble">
39
- <div class="sectionbody">
40
- <div class="paragraph"><p>PDF generation from <em>AsciiDoc</em> generated DocBook using FOP plus DocBook XSL
41
- Stylesheets.</p></div>
42
- <div class="ulist"><ul>
43
- <li>
44
- <p>
45
- FOP 0.95beta.
46
- </p>
47
- </li>
48
- <li>
49
- <p>
50
- DocBook XSL Stylesheets version 1.74.0.
51
- </p>
52
- </li>
53
- </ul></div>
54
- <div class="paragraph"><p>Output file customisation is achieved by tweaking the DocBook XSL
55
- stylesheets. I&#8217;ve tried to keep customization to a minimum and
56
- confine it to the separate XSL driver files in the distribution
57
- <tt>./docbook-xsl/</tt> directory (see the User Guide for details).</p></div>
58
- <div class="paragraph"><p>To polish some rough edges I&#8217;ve written some patches for the DocBook
59
- XSL stylesheets&#8201;&#8212;&#8201;you don&#8217;t need them but they&#8217;re documented below
60
- and included in the distribution <tt>./docbook-xsl/</tt> directory.</p></div>
61
- </div>
62
- </div>
63
- <h2 id="_manually_upgrading_debian_to_the_latest_docbook_xsl_stylesheets">Manually upgrading Debian to the latest DocBook XSL stylesheets</h2>
64
- <div class="sectionbody">
65
- <div class="paragraph"><p>The DocBook XSL Stylesheets distribution is just a directory full of
66
- text files and you can switch between releases by changing the
67
- directory name in the system XML catalog.</p></div>
68
- <div class="paragraph"><p>To upgrade to the latest docbook-xsl stylesheets without having to
69
- wait for the Debian <tt>docbook-xsl</tt> package:</p></div>
70
- <div class="ulist"><ul>
71
- <li>
72
- <p>
73
- Download the latest docbook-xsl tarball from
74
- <a href="http://sourceforge.net/projects/docbook/">http://sourceforge.net/projects/docbook/</a>.
75
- </p>
76
- </li>
77
- <li>
78
- <p>
79
- Unzip the tarball to <tt>/usr/share/xml/docbook/stylesheet/</tt>:
80
- </p>
81
- <div class="literalblock">
82
- <div class="content">
83
- <pre><tt>$ cd /usr/share/xml/docbook/stylesheet
84
- $ sudo tar -xzf /tmp/docbook-xsl-1.72.0.tar.gz</tt></pre>
85
- </div></div>
86
- </li>
87
- <li>
88
- <p>
89
- Edit <tt>/etc/xml/docbook-xsl.xml</tt> catalog and replace occurences of
90
- the current stylesheets directory with the new one (in our example
91
- it would be <tt>/usr/share/xml/docbook/stylesheet/docbook-xsl-1.72.0</tt>.
92
- </p>
93
- <div class="literalblock">
94
- <div class="content">
95
- <pre><tt>$ cd /etc/xml/
96
- $ sudo cp -p docbook-xsl.xml docbook-xsl.xml.ORIG
97
- $ sudo vi docbook-xsl.xml</tt></pre>
98
- </div></div>
99
- </li>
100
- </ul></div>
101
- </div>
102
- <div id="footer">
103
- <div id="footer-text">
104
- Version 8.3.3<br />
105
- Last updated 2009-01-02 11:18:43 NZDT
106
- </div>
107
- <div id="footer-badges">
108
- <a href="http://validator.w3.org/check?uri=referer">
109
- <img style="border:none; width:88px; height:31px;"
110
- src="http://www.w3.org/Icons/valid-xhtml11"
111
- alt="Valid XHTML 1.1!" />
112
- </a>
113
- <a href="http://jigsaw.w3.org/css-validator/check/referer">
114
- <img style="border:none; width:88px; height:31px;"
115
- src="http://jigsaw.w3.org/css-validator/images/vcss"
116
- alt="Valid CSS!" />
117
- </a>
118
- <a href="http://www.mozilla.org/products/firefox/">
119
- <img style="border:none; width:110px; height:32px;"
120
- src="http://www.spreadfirefox.com/community/images/affiliates/Buttons/110x32/safer.gif"
121
- alt="Get Firefox!" />
122
- </a>
123
- </div>
124
- </div>
125
- </div>
126
- </td>
127
- </tr>
128
- </table>
129
- </body>
130
- </html>
@@ -1,43 +0,0 @@
1
- AsciiDoc DocBook XSL Stylesheets Notes
2
- ======================================
3
-
4
- PDF generation from AsciiDoc generated DocBook using FOP plus DocBook XSL
5
- Stylesheets.
6
-
7
- - FOP 0.95beta.
8
- - DocBook XSL Stylesheets version 1.74.0.
9
-
10
- Output file customisation is achieved by tweaking the DocBook XSL
11
- stylesheets. I've tried to keep customization to a minimum and
12
- confine it to the separate XSL driver files in the distribution
13
- `./docbook-xsl/` directory (see the User Guide for details).
14
-
15
- To polish some rough edges I've written some patches for the DocBook
16
- XSL stylesheets -- you don't need them but they're documented below
17
- and included in the distribution `./docbook-xsl/` directory.
18
-
19
-
20
- Manually upgrading Debian to the latest DocBook XSL stylesheets
21
- ---------------------------------------------------------------
22
- The DocBook XSL Stylesheets distribution is just a directory full of
23
- text files and you can switch between releases by changing the
24
- directory name in the system XML catalog.
25
-
26
- To upgrade to the latest docbook-xsl stylesheets without having to
27
- wait for the Debian `docbook-xsl` package:
28
-
29
- - Download the latest docbook-xsl tarball from
30
- http://sourceforge.net/projects/docbook/.
31
-
32
- - Unzip the tarball to `/usr/share/xml/docbook/stylesheet/`:
33
-
34
- $ cd /usr/share/xml/docbook/stylesheet
35
- $ sudo tar -xzf /tmp/docbook-xsl-1.72.0.tar.gz
36
-
37
- - Edit `/etc/xml/docbook-xsl.xml` catalog and replace occurences of
38
- the current stylesheets directory with the new one (in our example
39
- it would be `/usr/share/xml/docbook/stylesheet/docbook-xsl-1.72.0`.
40
-
41
- $ cd /etc/xml/
42
- $ sudo cp -p docbook-xsl.xml docbook-xsl.xml.ORIG
43
- $ sudo vi docbook-xsl.xml
@@ -1,130 +0,0 @@
1
- = Graphviz filter for AsciiDoc =
2
-
3
- Author: Gouichi Iisaka
4
-
5
- Version: 1.0
6
-
7
- == Introduction ==
8
-
9
- Graph visualization is a way of representing structural information
10
- as diagrams of abstract graphs and networks.
11
-
12
- AsciiDoc can external shell commands used to process Paragraph and
13
- DelimitedBlock content by Filter.
14
-
15
-
16
- == Simple Example ==
17
-
18
- --------------------------------------------------------------------
19
- ["graphviz", "sample1.png"]
20
- ---------------------------------------------------------------------
21
- digraph G { rankdir=LR; Graphviz->AsciiDoc->HTML}
22
- ---------------------------------------------------------------------
23
- --------------------------------------------------------------------
24
-
25
- ["graphviz", "sample1.png"]
26
- ---------------------------------------------------------------------
27
- digraph G { rankdir=LR; Graphviz->AsciiDoc->HTML}
28
- ---------------------------------------------------------------------
29
-
30
- ---------------------------------------------------------------------
31
- ["graphviz", "sample2.png"]
32
- ---------------------------------------------------------------------
33
- digraph automata_0 {
34
- size ="8.5, 11";
35
- node [shape = circle];
36
- 0 [ style = filled, color=lightgrey ];
37
- 2 [ shape = doublecircle ];
38
- 0 -> 2 [ label = "a " ];
39
- 0 -> 1 [ label = "other " ];
40
- 1 -> 2 [ label = "a " ];
41
- 1 -> 1 [ label = "other " ];
42
- 2 -> 2 [ label = "a " ];
43
- 2 -> 1 [ label = "other " ];
44
- "Machine: a" [ shape = plaintext ];
45
- }
46
- ---------------------------------------------------------------------
47
- ---------------------------------------------------------------------
48
-
49
- ["graphviz", "sample3.png"]
50
- ---------------------------------------------------------------------
51
- digraph automata_0 {
52
- size ="8.5, 11";
53
- node [shape = circle];
54
- 0 [ style = filled, color=lightgrey ];
55
- 2 [ shape = doublecircle ];
56
- 0 -> 2 [ label = "a " ];
57
- 0 -> 1 [ label = "other " ];
58
- 1 -> 2 [ label = "a " ];
59
- 1 -> 1 [ label = "other " ];
60
- 2 -> 2 [ label = "a " ];
61
- 2 -> 1 [ label = "other " ];
62
- "Machine: a" [ shape = plaintext ];
63
- }
64
- ---------------------------------------------------------------------
65
-
66
-
67
- --------------------------------------------------------------------
68
- ["graphviz", "sample4.png", "dot"]
69
- ---------------------------------------------------------------------
70
- digraph finite_state_machine {
71
- rankdir=LR;
72
- size="8,5"
73
- node [shape = doublecircle]; LR_0 LR_3 LR_4 LR_8;
74
- node [shape = circle];
75
- LR_0 -> LR_2 [ label = "SS(B)" ];
76
- LR_0 -> LR_1 [ label = "SS(S)" ];
77
- LR_1 -> LR_3 [ label = "S($end)" ];
78
- LR_2 -> LR_6 [ label = "SS(b)" ];
79
- LR_2 -> LR_5 [ label = "SS(a)" ];
80
- LR_2 -> LR_4 [ label = "S(A)" ];
81
- LR_5 -> LR_7 [ label = "S(b)" ];
82
- LR_5 -> LR_5 [ label = "S(a)" ];
83
- LR_6 -> LR_6 [ label = "S(b)" ];
84
- LR_6 -> LR_5 [ label = "S(a)" ];
85
- LR_7 -> LR_8 [ label = "S(b)" ];
86
- LR_7 -> LR_5 [ label = "S(a)" ];
87
- LR_8 -> LR_6 [ label = "S(b)" ];
88
- LR_8 -> LR_5 [ label = "S(a)" ];
89
- }
90
- ---------------------------------------------------------------------
91
- --------------------------------------------------------------------
92
-
93
- .Example for `dot':
94
- ["graphviz", "sample4.png", "dot"]
95
- ---------------------------------------------------------------------
96
- digraph finite_state_machine {
97
- rankdir=LR;
98
- size="8,5"
99
- node [shape = doublecircle]; LR_0 LR_3 LR_4 LR_8;
100
- node [shape = circle];
101
- LR_0 -> LR_2 [ label = "SS(B)" ];
102
- LR_0 -> LR_1 [ label = "SS(S)" ];
103
- LR_1 -> LR_3 [ label = "S($end)" ];
104
- LR_2 -> LR_6 [ label = "SS(b)" ];
105
- LR_2 -> LR_5 [ label = "SS(a)" ];
106
- LR_2 -> LR_4 [ label = "S(A)" ];
107
- LR_5 -> LR_7 [ label = "S(b)" ];
108
- LR_5 -> LR_5 [ label = "S(a)" ];
109
- LR_6 -> LR_6 [ label = "S(b)" ];
110
- LR_6 -> LR_5 [ label = "S(a)" ];
111
- LR_7 -> LR_8 [ label = "S(b)" ];
112
- LR_7 -> LR_5 [ label = "S(a)" ];
113
- LR_8 -> LR_6 [ label = "S(b)" ];
114
- LR_8 -> LR_5 [ label = "S(a)" ];
115
- }
116
- ---------------------------------------------------------------------
117
-
118
-
119
- == Layout ==
120
-
121
- layout for graphviz as follows.
122
-
123
- * dot:: filter for drawing directed graphs
124
- * neato:: filter for drawing undirected graphs
125
- * twopi:: filter for radial layouts of graphs
126
- * circo:: filter for circular layout of graphs
127
- * fdp:: filter for drawing undirected graphs
128
-
129
- default is `dot'.
130
-