mizuho 0.9.6 → 0.9.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (222) hide show
  1. data/README.markdown +4 -2
  2. data/Rakefile +0 -37
  3. data/asciidoc/BUGS +9 -18
  4. data/asciidoc/BUGS.txt +5 -14
  5. data/asciidoc/CHANGELOG +1433 -266
  6. data/asciidoc/CHANGELOG.txt +2821 -1810
  7. data/asciidoc/COPYING +339 -339
  8. data/asciidoc/COPYRIGHT +18 -18
  9. data/asciidoc/INSTALL +189 -30
  10. data/asciidoc/INSTALL.txt +175 -19
  11. data/asciidoc/MANIFEST +88 -0
  12. data/asciidoc/Makefile.in +29 -13
  13. data/asciidoc/README +16 -17
  14. data/asciidoc/README.txt +35 -36
  15. data/asciidoc/a2x.py +902 -0
  16. data/asciidoc/asciidoc.conf +610 -455
  17. data/asciidoc/asciidoc.py +1965 -1061
  18. data/asciidoc/asciidocapi.py +257 -0
  19. data/asciidoc/common.aap +2 -2
  20. data/asciidoc/configure +1170 -1023
  21. data/asciidoc/configure.ac +1 -1
  22. data/asciidoc/dblatex/asciidoc-dblatex.xsl +42 -0
  23. data/asciidoc/doc/a2x.1 +559 -102
  24. data/asciidoc/doc/a2x.1.txt +233 -91
  25. data/asciidoc/doc/article-docinfo.xml +87 -0
  26. data/asciidoc/doc/article.pdf +0 -0
  27. data/asciidoc/doc/article.txt +139 -122
  28. data/asciidoc/doc/asciidoc.1 +157 -46
  29. data/asciidoc/doc/asciidoc.1.txt +171 -118
  30. data/asciidoc/doc/asciidoc.conf +7 -8
  31. data/asciidoc/doc/asciidoc.dict +960 -635
  32. data/asciidoc/doc/asciidoc.txt +2335 -1464
  33. data/asciidoc/doc/asciidocapi.txt +189 -0
  34. data/asciidoc/doc/asciimathml.txt +14 -17
  35. data/asciidoc/doc/book-multi.txt +181 -155
  36. data/asciidoc/doc/book.epub +0 -0
  37. data/asciidoc/doc/book.txt +156 -131
  38. data/asciidoc/doc/customers.csv +18 -18
  39. data/asciidoc/doc/epub-notes.txt +210 -0
  40. data/asciidoc/doc/faq.txt +1122 -547
  41. data/asciidoc/doc/latex-backend.txt +192 -191
  42. data/asciidoc/doc/latex-bugs.txt +134 -0
  43. data/asciidoc/doc/latex-filter.pdf +0 -0
  44. data/asciidoc/doc/latex-filter.txt +196 -0
  45. data/asciidoc/doc/latexmath.txt +13 -136
  46. data/asciidoc/doc/latexmathml.txt +2 -2
  47. data/asciidoc/doc/main.aap +233 -297
  48. data/asciidoc/doc/music-filter.pdf +0 -0
  49. data/asciidoc/doc/music-filter.txt +55 -65
  50. data/asciidoc/doc/publishing-ebooks-with-asciidoc.txt +398 -0
  51. data/asciidoc/doc/slidy-example.txt +167 -0
  52. data/asciidoc/doc/slidy.txt +113 -0
  53. data/asciidoc/doc/source-highlight-filter.pdf +0 -0
  54. data/asciidoc/doc/source-highlight-filter.txt +45 -20
  55. data/asciidoc/doc/testasciidoc.txt +231 -0
  56. data/asciidoc/docbook-xsl/asciidoc-docbook-xsl.txt +30 -8
  57. data/asciidoc/docbook-xsl/chunked.xsl +17 -19
  58. data/asciidoc/docbook-xsl/common.xsl +106 -67
  59. data/asciidoc/docbook-xsl/epub.xsl +35 -0
  60. data/asciidoc/docbook-xsl/fo.xsl +3 -0
  61. data/asciidoc/docbook-xsl/htmlhelp.xsl +16 -17
  62. data/asciidoc/docbook-xsl/manpage.xsl +31 -31
  63. data/asciidoc/docbook-xsl/text.xsl +6 -1
  64. data/asciidoc/docbook-xsl/xhtml.xsl +14 -14
  65. data/asciidoc/docbook45.conf +759 -0
  66. data/asciidoc/filters/code/code-filter-readme.txt +37 -37
  67. data/asciidoc/filters/code/code-filter-test.txt +15 -15
  68. data/asciidoc/filters/code/code-filter.conf +8 -8
  69. data/asciidoc/filters/graphviz/asciidoc-graphviz-sample.txt +104 -64
  70. data/asciidoc/filters/graphviz/graphviz-filter.conf +20 -16
  71. data/asciidoc/filters/graphviz/graphviz2png.py +54 -39
  72. data/asciidoc/filters/latex/latex-filter.conf +18 -0
  73. data/asciidoc/filters/latex/latex2png.py +216 -0
  74. data/asciidoc/filters/music/music-filter.conf +8 -17
  75. data/asciidoc/filters/music/music2png.py +40 -32
  76. data/asciidoc/filters/source/source-highlight-filter.conf +40 -34
  77. data/asciidoc/help.conf +261 -96
  78. data/asciidoc/html4.conf +505 -460
  79. data/asciidoc/html5.conf +686 -0
  80. data/asciidoc/images/highlighter.png +0 -0
  81. data/asciidoc/images/icons/caution.png +0 -0
  82. data/asciidoc/images/icons/example.png +0 -0
  83. data/asciidoc/images/icons/important.png +0 -0
  84. data/asciidoc/images/icons/note.png +0 -0
  85. data/asciidoc/images/icons/tip.png +0 -0
  86. data/asciidoc/images/icons/warning.png +0 -0
  87. data/asciidoc/images/smallnew.png +0 -0
  88. data/asciidoc/javascripts/asciidoc.js +189 -0
  89. data/asciidoc/javascripts/slidy.js +2845 -0
  90. data/asciidoc/javascripts/toc.js +8 -0
  91. data/asciidoc/lang-de.conf +57 -0
  92. data/asciidoc/lang-en.conf +54 -0
  93. data/asciidoc/lang-es.conf +49 -9
  94. data/asciidoc/lang-fr.conf +59 -0
  95. data/asciidoc/lang-hu.conf +55 -0
  96. data/asciidoc/lang-it.conf +55 -0
  97. data/asciidoc/lang-nl.conf +57 -0
  98. data/asciidoc/lang-pt-BR.conf +56 -0
  99. data/asciidoc/lang-ru.conf +60 -0
  100. data/asciidoc/lang-uk.conf +60 -0
  101. data/asciidoc/latex.conf +700 -663
  102. data/asciidoc/main.aap +77 -0
  103. data/asciidoc/slidy.conf +136 -0
  104. data/asciidoc/{examples/website/xhtml11-manpage.css → stylesheets/asciidoc-manpage.css} +1 -1
  105. data/asciidoc/stylesheets/asciidoc.css +508 -0
  106. data/asciidoc/stylesheets/docbook-xsl.css +322 -272
  107. data/asciidoc/stylesheets/flask-manpage.css +1 -0
  108. data/asciidoc/stylesheets/flask.css +584 -0
  109. data/asciidoc/stylesheets/pygments.css +66 -0
  110. data/asciidoc/stylesheets/slidy.css +445 -0
  111. data/asciidoc/stylesheets/toc2.css +33 -0
  112. data/asciidoc/stylesheets/volnitsky-manpage.css +1 -0
  113. data/asciidoc/stylesheets/volnitsky.css +435 -0
  114. data/asciidoc/stylesheets/xhtml11-quirks.css +5 -3
  115. data/asciidoc/tests/asciidocapi.py +257 -0
  116. data/asciidoc/tests/data/deprecated-quotes.txt +12 -0
  117. data/asciidoc/tests/data/filters-test.txt +90 -0
  118. data/asciidoc/tests/data/lang-de-test.txt +106 -0
  119. data/asciidoc/tests/data/lang-en-test.txt +114 -0
  120. data/asciidoc/tests/data/lang-es-test.txt +106 -0
  121. data/asciidoc/tests/data/lang-fr-test.txt +106 -0
  122. data/asciidoc/tests/data/lang-hu-test.txt +106 -0
  123. data/asciidoc/tests/data/lang-nl-test.txt +94 -0
  124. data/asciidoc/tests/data/lang-pt-BR-test.txt +106 -0
  125. data/asciidoc/tests/data/lang-ru-test.txt +106 -0
  126. data/asciidoc/tests/data/lang-uk-test.txt +106 -0
  127. data/asciidoc/tests/data/oldtables.txt +64 -0
  128. data/asciidoc/tests/data/rcs-id-marker-test.txt +6 -0
  129. data/asciidoc/tests/data/testcases.conf +2 -0
  130. data/asciidoc/tests/data/testcases.txt +740 -0
  131. data/asciidoc/tests/data/utf8-bom-test.txt +9 -0
  132. data/asciidoc/tests/data/utf8-examples.txt +217 -0
  133. data/asciidoc/tests/testasciidoc.conf +520 -0
  134. data/asciidoc/tests/testasciidoc.py +411 -0
  135. data/asciidoc/text.conf +16 -16
  136. data/asciidoc/vim/syntax/asciidoc.vim +99 -91
  137. data/asciidoc/wordpress.conf +43 -3
  138. data/asciidoc/xhtml11-quirks.conf +61 -57
  139. data/asciidoc/xhtml11.conf +684 -645
  140. data/lib/mizuho.rb +2 -0
  141. data/lib/mizuho/generator.rb +2 -2
  142. data/test/generator_spec.rb +1 -1
  143. data/test/parser_spec.rb +1 -1
  144. data/test/spec_helper.rb +3 -4
  145. metadata +87 -88
  146. data/asciidoc/a2x +0 -674
  147. data/asciidoc/doc/article.css-embedded.html +0 -602
  148. data/asciidoc/doc/article.html +0 -46
  149. data/asciidoc/doc/asciidoc-revhistory.xml +0 -27
  150. data/asciidoc/doc/asciidoc.1.css-embedded.html +0 -598
  151. data/asciidoc/doc/asciidoc.1.css.html +0 -212
  152. data/asciidoc/doc/asciidoc.1.html +0 -190
  153. data/asciidoc/doc/asciidoc.css-embedded.html +0 -7853
  154. data/asciidoc/doc/asciidoc.css.html +0 -7416
  155. data/asciidoc/doc/asciidoc.html +0 -3339
  156. data/asciidoc/doc/book-multi.css-embedded.html +0 -575
  157. data/asciidoc/doc/book-multi.html +0 -55
  158. data/asciidoc/doc/book.css-embedded.html +0 -607
  159. data/asciidoc/doc/book.html +0 -43
  160. data/asciidoc/doc/docbook-xsl.css +0 -272
  161. data/asciidoc/doc/latex-backend.html +0 -117
  162. data/asciidoc/doc/music-filter.html +0 -566
  163. data/asciidoc/doc/source-highlight-filter.html +0 -214
  164. data/asciidoc/docbook.conf +0 -721
  165. data/asciidoc/examples/website/ASCIIMathML.js +0 -938
  166. data/asciidoc/examples/website/CHANGELOG.html +0 -4389
  167. data/asciidoc/examples/website/CHANGELOG.txt +0 -1810
  168. data/asciidoc/examples/website/INSTALL.html +0 -161
  169. data/asciidoc/examples/website/INSTALL.txt +0 -71
  170. data/asciidoc/examples/website/LaTeXMathML.js +0 -1223
  171. data/asciidoc/examples/website/README-website.html +0 -118
  172. data/asciidoc/examples/website/README-website.txt +0 -29
  173. data/asciidoc/examples/website/README.html +0 -125
  174. data/asciidoc/examples/website/README.txt +0 -36
  175. data/asciidoc/examples/website/a2x.1.html +0 -419
  176. data/asciidoc/examples/website/a2x.1.txt +0 -204
  177. data/asciidoc/examples/website/asciidoc-docbook-xsl.html +0 -130
  178. data/asciidoc/examples/website/asciidoc-docbook-xsl.txt +0 -43
  179. data/asciidoc/examples/website/asciidoc-graphviz-sample.txt +0 -130
  180. data/asciidoc/examples/website/asciimathml.txt +0 -64
  181. data/asciidoc/examples/website/build-website.sh +0 -25
  182. data/asciidoc/examples/website/customers.csv +0 -18
  183. data/asciidoc/examples/website/downloads.html +0 -257
  184. data/asciidoc/examples/website/downloads.txt +0 -121
  185. data/asciidoc/examples/website/faq.html +0 -673
  186. data/asciidoc/examples/website/faq.txt +0 -547
  187. data/asciidoc/examples/website/index.html +0 -419
  188. data/asciidoc/examples/website/index.txt +0 -245
  189. data/asciidoc/examples/website/latex-backend.html +0 -535
  190. data/asciidoc/examples/website/latex-backend.txt +0 -191
  191. data/asciidoc/examples/website/latexmathml.txt +0 -41
  192. data/asciidoc/examples/website/layout1.conf +0 -161
  193. data/asciidoc/examples/website/layout1.css +0 -65
  194. data/asciidoc/examples/website/layout2.conf +0 -158
  195. data/asciidoc/examples/website/layout2.css +0 -93
  196. data/asciidoc/examples/website/manpage.html +0 -266
  197. data/asciidoc/examples/website/manpage.txt +0 -118
  198. data/asciidoc/examples/website/music-filter.html +0 -242
  199. data/asciidoc/examples/website/music-filter.txt +0 -158
  200. data/asciidoc/examples/website/music1.abc +0 -12
  201. data/asciidoc/examples/website/music1.png +0 -0
  202. data/asciidoc/examples/website/music2.ly +0 -9
  203. data/asciidoc/examples/website/music2.png +0 -0
  204. data/asciidoc/examples/website/newlists.txt +0 -40
  205. data/asciidoc/examples/website/newtables.txt +0 -397
  206. data/asciidoc/examples/website/sample1.png +0 -0
  207. data/asciidoc/examples/website/sample3.png +0 -0
  208. data/asciidoc/examples/website/sample4.png +0 -0
  209. data/asciidoc/examples/website/source-highlight-filter.html +0 -286
  210. data/asciidoc/examples/website/source-highlight-filter.txt +0 -203
  211. data/asciidoc/examples/website/support.html +0 -78
  212. data/asciidoc/examples/website/support.txt +0 -5
  213. data/asciidoc/examples/website/toc.js +0 -69
  214. data/asciidoc/examples/website/userguide.html +0 -7460
  215. data/asciidoc/examples/website/userguide.txt +0 -4979
  216. data/asciidoc/examples/website/version83.txt +0 -37
  217. data/asciidoc/examples/website/version9.html +0 -143
  218. data/asciidoc/examples/website/version9.txt +0 -48
  219. data/asciidoc/examples/website/xhtml11-quirks.css +0 -41
  220. data/asciidoc/examples/website/xhtml11.css +0 -328
  221. data/asciidoc/stylesheets/xhtml11-manpage.css +0 -18
  222. data/asciidoc/stylesheets/xhtml11.css +0 -328
Binary file
@@ -1,131 +1,156 @@
1
- Book Title Goes Here
2
- ====================
3
- Author's Name
4
- v1.0, Dec 2003
5
-
6
-
7
- Dedication
8
- ----------
9
- Optional dedication.
10
-
11
- This document is an AsciiDoc book skeleton containing briefly
12
- annotated example elements plus a couple of example index entries and
13
- footnotes.
14
-
15
- Books are normally used to generate DocBook markup and the titles of
16
- the preface, appendix, bibliography, glossary and index sections are
17
- significant ('specialsections').
18
-
19
-
20
- Preface
21
- -------
22
- Optional preface.
23
-
24
- Preface Sub-section
25
- ~~~~~~~~~~~~~~~~~~~
26
- Preface sub-section body.
27
-
28
-
29
- The First Chapter
30
- -----------------
31
- Chapters can contain sub-sections nested up to three deep.
32
- footnote:[An example footnote.]
33
- indexterm:[Example index entry]
34
-
35
- Chapters can have their own bibliography, glossary and index.
36
-
37
- And now for something completely different: ((monkeys)), lions and
38
- tigers (Bengal and Siberian) using the alternative syntax index
39
- entries.
40
- (((Big cats,Lions)))
41
- (((Big cats,Tigers,Bengal Tiger)))
42
- (((Big cats,Tigers,Siberian Tiger)))
43
- Note that multi-entry terms generate separate index entries.
44
-
45
- Here are a couple of image examples: an image:images/smallnew.png[]
46
- example inline image followed by an example block image:
47
-
48
- .Tiger block image
49
- image::images/tiger.png[Tiger image]
50
-
51
- Followed by an example table:
52
-
53
- .An example table
54
- [width="60%",options="header"]
55
- |==============================================
56
- | Option | Description
57
- | -a 'USER GROUP' | Add 'USER' to 'GROUP'.
58
- | -R 'GROUP' | Disables access to 'GROUP'.
59
- |==============================================
60
-
61
- [[X1]]
62
- Sub-section with Anchor
63
- ~~~~~~~~~~~~~~~~~~~~~~~
64
- Sub-section at level 2.
65
-
66
- Chapter Sub-section
67
- ^^^^^^^^^^^^^^^^^^^
68
- Sub-section at level 3.
69
-
70
- Chapter Sub-section
71
- +++++++++++++++++++
72
- Sub-section at level 4.
73
-
74
- This is the maximum sub-section depth supported by the distributed
75
- AsciiDoc configuration.
76
- footnote:[A second example footnote.]
77
-
78
-
79
- The Second Chapter
80
- ------------------
81
- An example link to anchor at start of the <<X1,first sub-section>>.
82
- indexterm:[Second example index entry]
83
-
84
- An example link to a bibliography entry <<taoup>>.
85
-
86
-
87
- The Third Chapter
88
- -----------------
89
- Book chapters are at level 1 and can contain sub-sections.
90
-
91
-
92
- Appendix A: Example Appendix
93
- ----------------------------
94
- One or more optional appendixes go here at section level 1.
95
-
96
- Appendix Sub-section
97
- ~~~~~~~~~~~~~~~~~~~
98
- Sub-section body.
99
-
100
-
101
- Bibliography
102
- ------------
103
- The bibliography list is a style of AsciiDoc bulleted list.
104
-
105
- [bibliography]
106
- - [[[taoup]]] Eric Steven Raymond. 'The Art of Unix
107
- Programming'. Addison-Wesley. ISBN 0-13-142901-9.
108
- - [[[walsh-muellner]]] Norman Walsh & Leonard Muellner.
109
- 'DocBook - The Definitive Guide'. O'Reilly & Associates. 1999.
110
- ISBN 1-56592-580-7.
111
-
112
-
113
- Glossary
114
- --------
115
- Glossaries are optional. Glossaries entries are an example of a style
116
- of AsciiDoc labeled lists.
117
-
118
- [glossary]
119
- A glossary term::
120
- The corresponding (indented) definition.
121
-
122
- A second glossary term::
123
- The corresponding (indented) definition.
124
-
125
-
126
- Index
127
- -----
128
- ////////////////////////////////////////////////////////////////
129
- The index is normally left completely empty, it's contents being
130
- generated automatically by the DocBook toolchain.
131
- ////////////////////////////////////////////////////////////////
1
+ Book Title Goes Here
2
+ ====================
3
+ Author's Name
4
+ v1.0, 2003-12
5
+ :doctype: book
6
+
7
+
8
+ [dedication]
9
+ Example Dedication
10
+ ------------------
11
+ Optional dedication.
12
+
13
+ This document is an AsciiDoc book skeleton containing briefly
14
+ annotated example elements plus a couple of example index entries and
15
+ footnotes.
16
+
17
+ Books are normally used to generate DocBook markup and the titles of
18
+ the preface, appendix, bibliography, glossary and index sections are
19
+ significant ('specialsections').
20
+
21
+
22
+ [preface]
23
+ Example Preface
24
+ ---------------
25
+ Optional preface.
26
+
27
+ Preface Sub-section
28
+ ~~~~~~~~~~~~~~~~~~~
29
+ Preface sub-section body.
30
+
31
+
32
+ The First Chapter
33
+ -----------------
34
+ Chapters can contain sub-sections nested up to three deep.
35
+ footnote:[An example footnote.]
36
+ indexterm:[Example index entry]
37
+
38
+ Chapters can have their own bibliography, glossary and index.
39
+
40
+ And now for something completely different: ((monkeys)), lions and
41
+ tigers (Bengal and Siberian) using the alternative syntax index
42
+ entries.
43
+ (((Big cats,Lions)))
44
+ (((Big cats,Tigers,Bengal Tiger)))
45
+ (((Big cats,Tigers,Siberian Tiger)))
46
+ Note that multi-entry terms generate separate index entries.
47
+
48
+ Here are a couple of image examples: an image:images/smallnew.png[]
49
+ example inline image followed by an example block image:
50
+
51
+ .Tiger block image
52
+ image::images/tiger.png[Tiger image]
53
+
54
+ Followed by an example table:
55
+
56
+ .An example table
57
+ [width="60%",options="header"]
58
+ |==============================================
59
+ | Option | Description
60
+ | -a 'USER GROUP' | Add 'USER' to 'GROUP'.
61
+ | -R 'GROUP' | Disables access to 'GROUP'.
62
+ |==============================================
63
+
64
+ .An example example
65
+ ===============================================
66
+ Lorum ipum...
67
+ ===============================================
68
+
69
+ [[X1]]
70
+ Sub-section with Anchor
71
+ ~~~~~~~~~~~~~~~~~~~~~~~
72
+ Sub-section at level 2.
73
+
74
+ Chapter Sub-section
75
+ ^^^^^^^^^^^^^^^^^^^
76
+ Sub-section at level 3.
77
+
78
+ Chapter Sub-section
79
+ +++++++++++++++++++
80
+ Sub-section at level 4.
81
+
82
+ This is the maximum sub-section depth supported by the distributed
83
+ AsciiDoc configuration.
84
+ footnote:[A second example footnote.]
85
+
86
+
87
+ The Second Chapter
88
+ ------------------
89
+ An example link to anchor at start of the <<X1,first sub-section>>.
90
+ indexterm:[Second example index entry]
91
+
92
+ An example link to a bibliography entry <<taoup>>.
93
+
94
+
95
+ The Third Chapter
96
+ -----------------
97
+ Book chapters are at level 1 and can contain sub-sections.
98
+
99
+
100
+ :numbered!:
101
+
102
+ [appendix]
103
+ Example Appendix
104
+ ----------------
105
+ One or more optional appendixes go here at section level 1.
106
+
107
+ Appendix Sub-section
108
+ ~~~~~~~~~~~~~~~~~~~
109
+ Sub-section body.
110
+
111
+
112
+ [bibliography]
113
+ Example Bibliography
114
+ --------------------
115
+ The bibliography list is a style of AsciiDoc bulleted list.
116
+
117
+ [bibliography]
118
+ .Books
119
+ - [[[taoup]]] Eric Steven Raymond. 'The Art of Unix
120
+ Programming'. Addison-Wesley. ISBN 0-13-142901-9.
121
+ - [[[walsh-muellner]]] Norman Walsh & Leonard Muellner.
122
+ 'DocBook - The Definitive Guide'. O'Reilly & Associates. 1999.
123
+ ISBN 1-56592-580-7.
124
+
125
+ [bibliography]
126
+ .Articles
127
+ - [[[abc2003]]] Gall Anonim. 'An article', Whatever. 2003.
128
+
129
+
130
+ [glossary]
131
+ Example Glossary
132
+ ----------------
133
+ Glossaries are optional. Glossaries entries are an example of a style
134
+ of AsciiDoc labeled lists.
135
+
136
+ [glossary]
137
+ A glossary term::
138
+ The corresponding (indented) definition.
139
+
140
+ A second glossary term::
141
+ The corresponding (indented) definition.
142
+
143
+
144
+ [colophon]
145
+ Example Colophon
146
+ ----------------
147
+ Text at the end of a book describing facts about its production.
148
+
149
+
150
+ [index]
151
+ Example Index
152
+ -------------
153
+ ////////////////////////////////////////////////////////////////
154
+ The index is normally left completely empty, it's contents being
155
+ generated automatically by the DocBook toolchain.
156
+ ////////////////////////////////////////////////////////////////
@@ -1,18 +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"
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,210 @@
1
+ AsciiDoc EPUB Notes
2
+ ===================
3
+
4
+
5
+ Restrictions
6
+ ------------
7
+ - If the date format of the DocBook 'data' element is not formatted like
8
+ `YYYY[-MM[-DD]]` you will get an error like the following one when
9
+ validating with `epubcheck(1)`:
10
+
11
+ ERROR: doc/article.epub/OEBPS/content.opf(6): date value 'Dec 2003'
12
+ is not valid, YYYY[-MM[-DD]] expected
13
+
14
+ - Navigation headers are suppressed by `docbook-xsl/epub.xsl` (see
15
+ <<X3,bug report>>).
16
+
17
+
18
+ DocBook XSL Stylesheets related limitations and bugs
19
+ ----------------------------------------------------
20
+
21
+ === epub: toc.section.depth parameter ignored
22
+ https://sourceforge.net/tracker/?func=detail&aid=3043393&group_id=21935&atid=373747
23
+
24
+ epub outputs include every section in the table of contents regardless of the
25
+ toc.section.depth XSL Stylesheets parameter
26
+ (http://docbook.sourceforge.net/release/xsl/current/doc/html/toc.section.depth.html).
27
+ This behavior is specific to epub (xhtml and fo outputs honor
28
+ toc.section.depth).
29
+
30
+ Environment: DocBook XSL 1.75.2; Xubuntu 10.04
31
+
32
+ Also epub/docbook.xsl has written a hard-coded illegal dtb:depth value of -1
33
+ into the toc.ncx navigation control file:
34
+
35
+ <ncx:meta name="dtb:depth" content="-1"/>
36
+
37
+ Shouldn't it be a positive integer equal to the depth navPoint nesting in the
38
+ navMap element (see
39
+ http://www.niso.org/workrooms/daisy/Z39-86-2005.html#NavMeta)? Though epubcheck 1.05 doesn't flag it as invalid -- are they both wrong?
40
+
41
+
42
+ [[X1]]
43
+ === epub: untitled DocBook sidebar emits invalid XHTML
44
+ https://sourceforge.net/tracker/index.php?func=detail&aid=2840768&group_id=21935&atid=373747
45
+
46
+ I get the same problem, but is confined to EPUB outputs (not XHTML)
47
+ and results in the sidebar and all subsequent text on the page
48
+ displayed in bold text in both Firefox 3.6.8 and Google Chrome
49
+ 5.0.375.125 (I haven't checked other browsers).
50
+
51
+ Environment: DocBook XSL 1.75.2; Xubuntu 10.04
52
+
53
+ If a DocBook sidebar element does not have a title then the emitted
54
+ title is (I haven't checked other browsers).
55
+ set to <b/> instead of <b></b>, for example this DocBook markup:
56
+
57
+ <sidebar>
58
+ <simpara>Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</simpara>
59
+ </sidebar>
60
+
61
+ Generates this EPUB XHTML:
62
+
63
+ <div class="sidebar"><p class="title"><b/></p><p>Lorem ipsum dolor
64
+ sit amet, consectetuer adipiscing elit.</p></div>
65
+
66
+ This problem is not picked up by either the epubcheck or the W3C
67
+ validators.
68
+
69
+ The problem does not occur generating XHTML which emits the following
70
+ for the above example:
71
+
72
+ <div class="sidebar"><p class="title"><b></b></p><p>Lorem ipsum
73
+ dolor sit amet, consectetuer adipiscing elit.</p></div>
74
+
75
+
76
+ === epub: Unreferenced callout icons in OPF
77
+ NOTE: A workaround for this problem was added in `a2x(1)` version
78
+ 8.6.5.
79
+
80
+ https://sourceforge.net/tracker/?func=detail&aid=2854075&group_id=21935&atid=373747
81
+
82
+ Environment: DocBook XSL 1.75.2; Xubuntu 8.04
83
+
84
+ When callouts are used in a document and callout graphics are disabled
85
+ (callout.graphics=0) the generated 'contents.opf' still contains
86
+ references to all the callout icons even though none are not
87
+ referenced in the generated XHTML content. This results in 10
88
+ epubcheck validation errors like:
89
+
90
+ image file OEBPS/images/icons/callouts/1.png is missing
91
+
92
+ It appears that epub is adding the icons to the OPF without
93
+ first checking the callout.graphics parameter.
94
+
95
+
96
+ === epub: Table grids not generated
97
+ https://sourceforge.net/tracker/?func=detail&aid=2849647&group_id=21935&atid=373747
98
+
99
+ Environment: DocBook XSL 1.75.2; Xubuntu 8.04
100
+
101
+ DocBook XSL epub does not appear to process the DocBook table element rowsep
102
+ and colsep attributes -- table grids are not displayed. The DocBook
103
+ <table rowsep="1" colsep="1"> results in:
104
+
105
+ epub DocBook XSL generates:
106
+
107
+ <td style="text-align: left" valign="top">
108
+
109
+ i.e. epub is not generating CSS borders (same for generated th elements).
110
+
111
+ Compare this with the (correct) xhtml DocBook XSL generates the correct border
112
+ styles:
113
+
114
+ <td style="border-right: 1px solid ; border-bottom: 1px solid ; " align="left" valign="top">
115
+
116
+
117
+
118
+ === epub: htmltoc is not generated
119
+ https://sourceforge.net/tracker/?func=detail&aid=2849686&group_id=21935&atid=373747
120
+
121
+ Environment: DocBook XSL 1.75.2; Xubuntu 8.04
122
+
123
+ If DocBook XSL TOC generation is specified the generated
124
+ 'contents.opf' contains an 'htmltoc' element but the referenced TOC file
125
+ is not generated by DocBook XSL. For example the contents.opf contains:
126
+
127
+ <item id="htmltoc" media-type="application/xhtml+xml" href="ar01-toc.html"/>
128
+
129
+ but the actual TOC file `OEBPS/ar01-toc.html` is missing and epubcheck
130
+ generates validation errors like:
131
+
132
+ ERROR: doc/article.epub: OPS/XHTML file OEBPS/ar01-toc.html is missing
133
+
134
+
135
+ === epub: leading dot in directory name error
136
+ https://sourceforge.net/tracker/?func=detail&aid=2849683&group_id=21935&atid=373747
137
+
138
+ Environment: DocBook XSL 1.75.2; Xubuntu 8.04
139
+
140
+ Specifying paths with a leading dot causes problems, for example:
141
+
142
+ <xsl:param name="html.stylesheet" select="'./docbook-xsl.css'"/>
143
+
144
+ This generates validation errors like:
145
+
146
+ ERROR: article.epub/OEBPS/index.html(4):
147
+ 'OEBPS/./docbook-xsl.css': referenced resource missing in the package
148
+
149
+ The file is in the archive at the correct location, just doesn't
150
+ seem to like './' in the path name -- the path needs to be normalized
151
+ before being written to the contents.opf.
152
+
153
+ It's not just the validator, the file is missing when the EPUB is viewed
154
+ (in bookworm).
155
+
156
+ This works fine:
157
+
158
+ <xsl:param name="html.stylesheet" select="'docbook-xsl.css'"/>
159
+
160
+
161
+ [[X2]]
162
+ === epub: admonition icon images missing from contents.opf
163
+ NOTE: A workaround for this problem was added in `a2x(1)` version
164
+ 8.6.5.
165
+
166
+ https://sourceforge.net/tracker/?func=detail&aid=2849681&group_id=21935&atid=373747
167
+
168
+ Environment: DocBook XSL 1.75.2; Xubuntu 8.04
169
+
170
+ When admonition icons are specified epubcheck generates validation
171
+ errors like:
172
+
173
+ ERROR: article.epub/OEBPS/index.html(4):
174
+ 'OEBPS/images/icons/note.png': referenced resource exists,
175
+ but not declared in the OPF file
176
+
177
+ i.e. The admonition icon is in the EPUB file but DocBook XSL has not
178
+ been added to the content.opf manifest. Compare this with callout icons
179
+ which are processed correctly.
180
+
181
+
182
+ [[X3]]
183
+ === Table width attribute validation error
184
+ https://sourceforge.net/tracker/?func=detail&aid=2848734&group_id=21935&atid=373747
185
+
186
+ Environment: DocBook XSL 1.75.2; Xubuntu 8.04
187
+
188
+ I get the following validation errors when navigation headers are in
189
+ included in the generated XHTML:
190
+
191
+ ERROR: article.epub/OEBPS/ix01.html(3): attribute "width" not allowed
192
+ at this point; ignored
193
+
194
+ This is because DocBook XSL has emitted invalid XHTML 1.1: tables
195
+ using the 'width' element are generated automatically in navigation
196
+ headers.
197
+
198
+ Though, admittedly, navigation is redundant if you're reading with an
199
+ EPUB reader. Suppress by setting the suppress.navigation param to 1.
200
+
201
+ Is this a DocBook XSL bug?
202
+
203
+
204
+ The Linux zip(1) command
205
+ ------------------------
206
+ If you use the Linux `zip(1)` command to update or create EPUB files
207
+ you must use the `-X`, `--no-extra` command-line option, if you do not
208
+ the platform dependent extra fields will confuse `epubcheck(1)` which
209
+ will emit errors like ``extra field length for first filename must be
210
+ 0, but was 28''.