mizuho 0.9.6 → 0.9.8
Sign up to get free protection for your applications and to get access to all the features.
- data/README.markdown +4 -2
- data/Rakefile +0 -37
- data/asciidoc/BUGS +9 -18
- data/asciidoc/BUGS.txt +5 -14
- data/asciidoc/CHANGELOG +1433 -266
- data/asciidoc/CHANGELOG.txt +2821 -1810
- data/asciidoc/COPYING +339 -339
- data/asciidoc/COPYRIGHT +18 -18
- data/asciidoc/INSTALL +189 -30
- data/asciidoc/INSTALL.txt +175 -19
- data/asciidoc/MANIFEST +88 -0
- data/asciidoc/Makefile.in +29 -13
- data/asciidoc/README +16 -17
- data/asciidoc/README.txt +35 -36
- data/asciidoc/a2x.py +902 -0
- data/asciidoc/asciidoc.conf +610 -455
- data/asciidoc/asciidoc.py +1965 -1061
- data/asciidoc/asciidocapi.py +257 -0
- data/asciidoc/common.aap +2 -2
- data/asciidoc/configure +1170 -1023
- data/asciidoc/configure.ac +1 -1
- data/asciidoc/dblatex/asciidoc-dblatex.xsl +42 -0
- data/asciidoc/doc/a2x.1 +559 -102
- data/asciidoc/doc/a2x.1.txt +233 -91
- data/asciidoc/doc/article-docinfo.xml +87 -0
- data/asciidoc/doc/article.pdf +0 -0
- data/asciidoc/doc/article.txt +139 -122
- data/asciidoc/doc/asciidoc.1 +157 -46
- data/asciidoc/doc/asciidoc.1.txt +171 -118
- data/asciidoc/doc/asciidoc.conf +7 -8
- data/asciidoc/doc/asciidoc.dict +960 -635
- data/asciidoc/doc/asciidoc.txt +2335 -1464
- data/asciidoc/doc/asciidocapi.txt +189 -0
- data/asciidoc/doc/asciimathml.txt +14 -17
- data/asciidoc/doc/book-multi.txt +181 -155
- data/asciidoc/doc/book.epub +0 -0
- data/asciidoc/doc/book.txt +156 -131
- data/asciidoc/doc/customers.csv +18 -18
- data/asciidoc/doc/epub-notes.txt +210 -0
- data/asciidoc/doc/faq.txt +1122 -547
- data/asciidoc/doc/latex-backend.txt +192 -191
- data/asciidoc/doc/latex-bugs.txt +134 -0
- data/asciidoc/doc/latex-filter.pdf +0 -0
- data/asciidoc/doc/latex-filter.txt +196 -0
- data/asciidoc/doc/latexmath.txt +13 -136
- data/asciidoc/doc/latexmathml.txt +2 -2
- data/asciidoc/doc/main.aap +233 -297
- data/asciidoc/doc/music-filter.pdf +0 -0
- data/asciidoc/doc/music-filter.txt +55 -65
- data/asciidoc/doc/publishing-ebooks-with-asciidoc.txt +398 -0
- data/asciidoc/doc/slidy-example.txt +167 -0
- data/asciidoc/doc/slidy.txt +113 -0
- data/asciidoc/doc/source-highlight-filter.pdf +0 -0
- data/asciidoc/doc/source-highlight-filter.txt +45 -20
- data/asciidoc/doc/testasciidoc.txt +231 -0
- data/asciidoc/docbook-xsl/asciidoc-docbook-xsl.txt +30 -8
- data/asciidoc/docbook-xsl/chunked.xsl +17 -19
- data/asciidoc/docbook-xsl/common.xsl +106 -67
- data/asciidoc/docbook-xsl/epub.xsl +35 -0
- data/asciidoc/docbook-xsl/fo.xsl +3 -0
- data/asciidoc/docbook-xsl/htmlhelp.xsl +16 -17
- data/asciidoc/docbook-xsl/manpage.xsl +31 -31
- data/asciidoc/docbook-xsl/text.xsl +6 -1
- data/asciidoc/docbook-xsl/xhtml.xsl +14 -14
- data/asciidoc/docbook45.conf +759 -0
- data/asciidoc/filters/code/code-filter-readme.txt +37 -37
- data/asciidoc/filters/code/code-filter-test.txt +15 -15
- data/asciidoc/filters/code/code-filter.conf +8 -8
- data/asciidoc/filters/graphviz/asciidoc-graphviz-sample.txt +104 -64
- data/asciidoc/filters/graphviz/graphviz-filter.conf +20 -16
- data/asciidoc/filters/graphviz/graphviz2png.py +54 -39
- data/asciidoc/filters/latex/latex-filter.conf +18 -0
- data/asciidoc/filters/latex/latex2png.py +216 -0
- data/asciidoc/filters/music/music-filter.conf +8 -17
- data/asciidoc/filters/music/music2png.py +40 -32
- data/asciidoc/filters/source/source-highlight-filter.conf +40 -34
- data/asciidoc/help.conf +261 -96
- data/asciidoc/html4.conf +505 -460
- data/asciidoc/html5.conf +686 -0
- data/asciidoc/images/highlighter.png +0 -0
- data/asciidoc/images/icons/caution.png +0 -0
- data/asciidoc/images/icons/example.png +0 -0
- data/asciidoc/images/icons/important.png +0 -0
- data/asciidoc/images/icons/note.png +0 -0
- data/asciidoc/images/icons/tip.png +0 -0
- data/asciidoc/images/icons/warning.png +0 -0
- data/asciidoc/images/smallnew.png +0 -0
- data/asciidoc/javascripts/asciidoc.js +189 -0
- data/asciidoc/javascripts/slidy.js +2845 -0
- data/asciidoc/javascripts/toc.js +8 -0
- data/asciidoc/lang-de.conf +57 -0
- data/asciidoc/lang-en.conf +54 -0
- data/asciidoc/lang-es.conf +49 -9
- data/asciidoc/lang-fr.conf +59 -0
- data/asciidoc/lang-hu.conf +55 -0
- data/asciidoc/lang-it.conf +55 -0
- data/asciidoc/lang-nl.conf +57 -0
- data/asciidoc/lang-pt-BR.conf +56 -0
- data/asciidoc/lang-ru.conf +60 -0
- data/asciidoc/lang-uk.conf +60 -0
- data/asciidoc/latex.conf +700 -663
- data/asciidoc/main.aap +77 -0
- data/asciidoc/slidy.conf +136 -0
- data/asciidoc/{examples/website/xhtml11-manpage.css → stylesheets/asciidoc-manpage.css} +1 -1
- data/asciidoc/stylesheets/asciidoc.css +508 -0
- data/asciidoc/stylesheets/docbook-xsl.css +322 -272
- data/asciidoc/stylesheets/flask-manpage.css +1 -0
- data/asciidoc/stylesheets/flask.css +584 -0
- data/asciidoc/stylesheets/pygments.css +66 -0
- data/asciidoc/stylesheets/slidy.css +445 -0
- data/asciidoc/stylesheets/toc2.css +33 -0
- data/asciidoc/stylesheets/volnitsky-manpage.css +1 -0
- data/asciidoc/stylesheets/volnitsky.css +435 -0
- data/asciidoc/stylesheets/xhtml11-quirks.css +5 -3
- data/asciidoc/tests/asciidocapi.py +257 -0
- data/asciidoc/tests/data/deprecated-quotes.txt +12 -0
- data/asciidoc/tests/data/filters-test.txt +90 -0
- data/asciidoc/tests/data/lang-de-test.txt +106 -0
- data/asciidoc/tests/data/lang-en-test.txt +114 -0
- data/asciidoc/tests/data/lang-es-test.txt +106 -0
- data/asciidoc/tests/data/lang-fr-test.txt +106 -0
- data/asciidoc/tests/data/lang-hu-test.txt +106 -0
- data/asciidoc/tests/data/lang-nl-test.txt +94 -0
- data/asciidoc/tests/data/lang-pt-BR-test.txt +106 -0
- data/asciidoc/tests/data/lang-ru-test.txt +106 -0
- data/asciidoc/tests/data/lang-uk-test.txt +106 -0
- data/asciidoc/tests/data/oldtables.txt +64 -0
- data/asciidoc/tests/data/rcs-id-marker-test.txt +6 -0
- data/asciidoc/tests/data/testcases.conf +2 -0
- data/asciidoc/tests/data/testcases.txt +740 -0
- data/asciidoc/tests/data/utf8-bom-test.txt +9 -0
- data/asciidoc/tests/data/utf8-examples.txt +217 -0
- data/asciidoc/tests/testasciidoc.conf +520 -0
- data/asciidoc/tests/testasciidoc.py +411 -0
- data/asciidoc/text.conf +16 -16
- data/asciidoc/vim/syntax/asciidoc.vim +99 -91
- data/asciidoc/wordpress.conf +43 -3
- data/asciidoc/xhtml11-quirks.conf +61 -57
- data/asciidoc/xhtml11.conf +684 -645
- data/lib/mizuho.rb +2 -0
- data/lib/mizuho/generator.rb +2 -2
- data/test/generator_spec.rb +1 -1
- data/test/parser_spec.rb +1 -1
- data/test/spec_helper.rb +3 -4
- metadata +87 -88
- data/asciidoc/a2x +0 -674
- data/asciidoc/doc/article.css-embedded.html +0 -602
- data/asciidoc/doc/article.html +0 -46
- data/asciidoc/doc/asciidoc-revhistory.xml +0 -27
- data/asciidoc/doc/asciidoc.1.css-embedded.html +0 -598
- data/asciidoc/doc/asciidoc.1.css.html +0 -212
- data/asciidoc/doc/asciidoc.1.html +0 -190
- data/asciidoc/doc/asciidoc.css-embedded.html +0 -7853
- data/asciidoc/doc/asciidoc.css.html +0 -7416
- data/asciidoc/doc/asciidoc.html +0 -3339
- data/asciidoc/doc/book-multi.css-embedded.html +0 -575
- data/asciidoc/doc/book-multi.html +0 -55
- data/asciidoc/doc/book.css-embedded.html +0 -607
- data/asciidoc/doc/book.html +0 -43
- data/asciidoc/doc/docbook-xsl.css +0 -272
- data/asciidoc/doc/latex-backend.html +0 -117
- data/asciidoc/doc/music-filter.html +0 -566
- data/asciidoc/doc/source-highlight-filter.html +0 -214
- data/asciidoc/docbook.conf +0 -721
- data/asciidoc/examples/website/ASCIIMathML.js +0 -938
- data/asciidoc/examples/website/CHANGELOG.html +0 -4389
- data/asciidoc/examples/website/CHANGELOG.txt +0 -1810
- data/asciidoc/examples/website/INSTALL.html +0 -161
- data/asciidoc/examples/website/INSTALL.txt +0 -71
- data/asciidoc/examples/website/LaTeXMathML.js +0 -1223
- data/asciidoc/examples/website/README-website.html +0 -118
- data/asciidoc/examples/website/README-website.txt +0 -29
- data/asciidoc/examples/website/README.html +0 -125
- data/asciidoc/examples/website/README.txt +0 -36
- data/asciidoc/examples/website/a2x.1.html +0 -419
- data/asciidoc/examples/website/a2x.1.txt +0 -204
- data/asciidoc/examples/website/asciidoc-docbook-xsl.html +0 -130
- data/asciidoc/examples/website/asciidoc-docbook-xsl.txt +0 -43
- data/asciidoc/examples/website/asciidoc-graphviz-sample.txt +0 -130
- data/asciidoc/examples/website/asciimathml.txt +0 -64
- data/asciidoc/examples/website/build-website.sh +0 -25
- data/asciidoc/examples/website/customers.csv +0 -18
- data/asciidoc/examples/website/downloads.html +0 -257
- data/asciidoc/examples/website/downloads.txt +0 -121
- data/asciidoc/examples/website/faq.html +0 -673
- data/asciidoc/examples/website/faq.txt +0 -547
- data/asciidoc/examples/website/index.html +0 -419
- data/asciidoc/examples/website/index.txt +0 -245
- data/asciidoc/examples/website/latex-backend.html +0 -535
- data/asciidoc/examples/website/latex-backend.txt +0 -191
- data/asciidoc/examples/website/latexmathml.txt +0 -41
- data/asciidoc/examples/website/layout1.conf +0 -161
- data/asciidoc/examples/website/layout1.css +0 -65
- data/asciidoc/examples/website/layout2.conf +0 -158
- data/asciidoc/examples/website/layout2.css +0 -93
- data/asciidoc/examples/website/manpage.html +0 -266
- data/asciidoc/examples/website/manpage.txt +0 -118
- data/asciidoc/examples/website/music-filter.html +0 -242
- data/asciidoc/examples/website/music-filter.txt +0 -158
- data/asciidoc/examples/website/music1.abc +0 -12
- data/asciidoc/examples/website/music1.png +0 -0
- data/asciidoc/examples/website/music2.ly +0 -9
- data/asciidoc/examples/website/music2.png +0 -0
- data/asciidoc/examples/website/newlists.txt +0 -40
- data/asciidoc/examples/website/newtables.txt +0 -397
- data/asciidoc/examples/website/sample1.png +0 -0
- data/asciidoc/examples/website/sample3.png +0 -0
- data/asciidoc/examples/website/sample4.png +0 -0
- data/asciidoc/examples/website/source-highlight-filter.html +0 -286
- data/asciidoc/examples/website/source-highlight-filter.txt +0 -203
- data/asciidoc/examples/website/support.html +0 -78
- data/asciidoc/examples/website/support.txt +0 -5
- data/asciidoc/examples/website/toc.js +0 -69
- data/asciidoc/examples/website/userguide.html +0 -7460
- data/asciidoc/examples/website/userguide.txt +0 -4979
- data/asciidoc/examples/website/version83.txt +0 -37
- data/asciidoc/examples/website/version9.html +0 -143
- data/asciidoc/examples/website/version9.txt +0 -48
- data/asciidoc/examples/website/xhtml11-quirks.css +0 -41
- data/asciidoc/examples/website/xhtml11.css +0 -328
- data/asciidoc/stylesheets/xhtml11-manpage.css +0 -18
- data/asciidoc/stylesheets/xhtml11.css +0 -328
Binary file
|
data/asciidoc/doc/book.txt
CHANGED
@@ -1,131 +1,156 @@
|
|
1
|
-
Book Title Goes Here
|
2
|
-
====================
|
3
|
-
Author's Name
|
4
|
-
v1.0,
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
((
|
41
|
-
(
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
image
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
Sub-section at level
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
The
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
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
|
+
////////////////////////////////////////////////////////////////
|
data/asciidoc/doc/customers.csv
CHANGED
@@ -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''.
|