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
data/asciidoc/doc/article.pdf
CHANGED
Binary file
|
data/asciidoc/doc/article.txt
CHANGED
@@ -1,122 +1,139 @@
|
|
1
|
-
The Article Title
|
2
|
-
=================
|
3
|
-
Author's Name <authors@email.address>
|
4
|
-
v1.0,
|
5
|
-
|
6
|
-
|
7
|
-
This is the optional preamble (an untitled section body). Useful for
|
8
|
-
writing simple sectionless documents consisting only of a preamble.
|
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
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
Sub-section
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
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
|
-
|
1
|
+
The Article Title
|
2
|
+
=================
|
3
|
+
Author's Name <authors@email.address>
|
4
|
+
v1.0, 2003-12
|
5
|
+
|
6
|
+
|
7
|
+
This is the optional preamble (an untitled section body). Useful for
|
8
|
+
writing simple sectionless documents consisting only of a preamble.
|
9
|
+
|
10
|
+
NOTE: The abstract, preface, appendix, bibliography, glossary and
|
11
|
+
index section titles are significant ('specialsections').
|
12
|
+
|
13
|
+
|
14
|
+
:numbered!:
|
15
|
+
[abstract]
|
16
|
+
Example Abstract
|
17
|
+
----------------
|
18
|
+
The optional abstract (one or more paragraphs) goes here.
|
19
|
+
|
20
|
+
This document is an AsciiDoc article skeleton containing briefly
|
21
|
+
annotated element placeholders plus a couple of example index entries
|
22
|
+
and footnotes.
|
23
|
+
|
24
|
+
:numbered:
|
25
|
+
|
26
|
+
The First Section
|
27
|
+
-----------------
|
28
|
+
Article sections start at level 1 and can be nested up to four levels
|
29
|
+
deep.
|
30
|
+
footnote:[An example footnote.]
|
31
|
+
indexterm:[Example index entry]
|
32
|
+
|
33
|
+
And now for something completely different: ((monkeys)), lions and
|
34
|
+
tigers (Bengal and Siberian) using the alternative syntax index
|
35
|
+
entries.
|
36
|
+
(((Big cats,Lions)))
|
37
|
+
(((Big cats,Tigers,Bengal Tiger)))
|
38
|
+
(((Big cats,Tigers,Siberian Tiger)))
|
39
|
+
Note that multi-entry terms generate separate index entries.
|
40
|
+
|
41
|
+
Here are a couple of image examples: an image:images/smallnew.png[]
|
42
|
+
example inline image followed by an example block image:
|
43
|
+
|
44
|
+
.Tiger block image
|
45
|
+
image::images/tiger.png[Tiger image]
|
46
|
+
|
47
|
+
Followed by an example table:
|
48
|
+
|
49
|
+
.An example table
|
50
|
+
[width="60%",options="header"]
|
51
|
+
|==============================================
|
52
|
+
| Option | Description
|
53
|
+
| -a 'USER GROUP' | Add 'USER' to 'GROUP'.
|
54
|
+
| -R 'GROUP' | Disables access to 'GROUP'.
|
55
|
+
|==============================================
|
56
|
+
|
57
|
+
.An example example
|
58
|
+
===============================================
|
59
|
+
Lorum ipum...
|
60
|
+
===============================================
|
61
|
+
|
62
|
+
[[X1]]
|
63
|
+
Sub-section with Anchor
|
64
|
+
~~~~~~~~~~~~~~~~~~~~~~~
|
65
|
+
Sub-section at level 2.
|
66
|
+
|
67
|
+
A Nested Sub-section
|
68
|
+
^^^^^^^^^^^^^^^^^^^^
|
69
|
+
Sub-section at level 3.
|
70
|
+
|
71
|
+
Yet another nested Sub-section
|
72
|
+
++++++++++++++++++++++++++++++
|
73
|
+
Sub-section at level 4.
|
74
|
+
|
75
|
+
This is the maximum sub-section depth supported by the distributed
|
76
|
+
AsciiDoc configuration.
|
77
|
+
footnote:[A second example footnote.]
|
78
|
+
|
79
|
+
|
80
|
+
The Second Section
|
81
|
+
------------------
|
82
|
+
Article sections are at level 1 and can contain sub-sections nested up
|
83
|
+
to four deep.
|
84
|
+
|
85
|
+
An example link to anchor at start of the <<X1,first sub-section>>.
|
86
|
+
indexterm:[Second example index entry]
|
87
|
+
|
88
|
+
An example link to a bibliography entry <<taoup>>.
|
89
|
+
|
90
|
+
|
91
|
+
:numbered!:
|
92
|
+
|
93
|
+
[appendix]
|
94
|
+
Example Appendix
|
95
|
+
----------------
|
96
|
+
AsciiDoc article appendices are just just article sections with
|
97
|
+
'specialsection' titles.
|
98
|
+
|
99
|
+
Appendix Sub-section
|
100
|
+
~~~~~~~~~~~~~~~~~~~~
|
101
|
+
Appendix sub-section at level 2.
|
102
|
+
|
103
|
+
|
104
|
+
[bibliography]
|
105
|
+
Example Bibliography
|
106
|
+
--------------------
|
107
|
+
The bibliography list is a style of AsciiDoc bulleted list.
|
108
|
+
|
109
|
+
[bibliography]
|
110
|
+
- [[[taoup]]] Eric Steven Raymond. 'The Art of Unix
|
111
|
+
Programming'. Addison-Wesley. ISBN 0-13-142901-9.
|
112
|
+
- [[[walsh-muellner]]] Norman Walsh & Leonard Muellner.
|
113
|
+
'DocBook - The Definitive Guide'. O'Reilly & Associates. 1999.
|
114
|
+
ISBN 1-56592-580-7.
|
115
|
+
|
116
|
+
|
117
|
+
[glossary]
|
118
|
+
Example Glossary
|
119
|
+
----------------
|
120
|
+
Glossaries are optional. Glossaries entries are an example of a style
|
121
|
+
of AsciiDoc labeled lists.
|
122
|
+
|
123
|
+
[glossary]
|
124
|
+
A glossary term::
|
125
|
+
The corresponding (indented) definition.
|
126
|
+
|
127
|
+
A second glossary term::
|
128
|
+
The corresponding (indented) definition.
|
129
|
+
|
130
|
+
|
131
|
+
ifdef::backend-docbook[]
|
132
|
+
[index]
|
133
|
+
Example Index
|
134
|
+
-------------
|
135
|
+
////////////////////////////////////////////////////////////////
|
136
|
+
The index is normally left completely empty, it's contents being
|
137
|
+
generated automatically by the DocBook toolchain.
|
138
|
+
////////////////////////////////////////////////////////////////
|
139
|
+
endif::backend-docbook[]
|
data/asciidoc/doc/asciidoc.1
CHANGED
@@ -1,31 +1,48 @@
|
|
1
|
+
'\" t
|
1
2
|
.\" Title: asciidoc
|
2
|
-
.\" Author:
|
3
|
-
.\" Generator: DocBook XSL Stylesheets v1.
|
4
|
-
.\" Date:
|
5
|
-
.\" Manual:
|
6
|
-
.\" Source:
|
3
|
+
.\" Author: [see the "AUTHOR" section]
|
4
|
+
.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
|
5
|
+
.\" Date: 20 May 2011
|
6
|
+
.\" Manual: \ \&
|
7
|
+
.\" Source: \ \& 8.6.5
|
8
|
+
.\" Language: English
|
7
9
|
.\"
|
8
|
-
.TH "ASCIIDOC" "1" "
|
10
|
+
.TH "ASCIIDOC" "1" "20 May 2011" "\ \& 8\&.6\&.5" "\ \&"
|
11
|
+
.\" -----------------------------------------------------------------
|
12
|
+
.\" * Define some portability stuff
|
13
|
+
.\" -----------------------------------------------------------------
|
14
|
+
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
15
|
+
.\" http://bugs.debian.org/507673
|
16
|
+
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
17
|
+
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
18
|
+
.ie \n(.g .ds Aq \(aq
|
19
|
+
.el .ds Aq '
|
20
|
+
.\" -----------------------------------------------------------------
|
21
|
+
.\" * set default formatting
|
22
|
+
.\" -----------------------------------------------------------------
|
9
23
|
.\" disable hyphenation
|
10
24
|
.nh
|
11
25
|
.\" disable justification (adjust text to left margin only)
|
12
26
|
.ad l
|
27
|
+
.\" -----------------------------------------------------------------
|
28
|
+
.\" * MAIN CONTENT STARTS HERE *
|
29
|
+
.\" -----------------------------------------------------------------
|
13
30
|
.SH "NAME"
|
14
|
-
asciidoc
|
31
|
+
asciidoc \- converts an AsciiDoc text file to HTML or DocBook
|
15
32
|
.SH "SYNOPSIS"
|
16
|
-
\fBasciidoc\fR [\fIOPTIONS\fR] \fIFILE\fR
|
17
33
|
.sp
|
34
|
+
\fBasciidoc\fR [\fIOPTIONS\fR] \fIFILE\fR
|
18
35
|
.SH "DESCRIPTION"
|
19
|
-
The asciidoc(1) command translates the AsciiDoc text file \fIFILE\fR to a DocBook, HTML or LinuxDoc file\. If \fIFILE\fR is \fI\-\fR then the standard input is used\.
|
20
36
|
.sp
|
37
|
+
The asciidoc(1) command translates the AsciiDoc text file \fIFILE\fR to DocBook or HTML\&. If \fIFILE\fR is \fI\-\fR then the standard input is used\&.
|
21
38
|
.SH "OPTIONS"
|
22
39
|
.PP
|
23
40
|
\fB\-a, \-\-attribute\fR=\fIATTRIBUTE\fR
|
24
41
|
.RS 4
|
25
|
-
Define or delete document attribute
|
42
|
+
Define or delete document attribute\&.
|
26
43
|
\fIATTRIBUTE\fR
|
27
44
|
is formatted like
|
28
|
-
\fINAME=VALUE\fR
|
45
|
+
\fINAME=VALUE\fR\&. Command\-line attributes take precedence over document and configuration file attributes\&. Alternate acceptable forms are
|
29
46
|
\fINAME\fR
|
30
47
|
(the
|
31
48
|
\fIVALUE\fR
|
@@ -34,24 +51,44 @@ defaults to an empty string);
|
|
34
51
|
(delete the
|
35
52
|
\fINAME\fR
|
36
53
|
attribute);
|
37
|
-
\fINAME@\fR
|
38
|
-
(do not override document or configuration file attributes)
|
54
|
+
\fINAME=VALUE@\fR
|
55
|
+
(do not override document or configuration file attributes)\&. Values containing spaces should be enclosed in double\-quote characters\&. This option may be specified more than once\&. A special attribute named
|
56
|
+
\fItrace\fR
|
57
|
+
controls the output of diagnostic information\&.
|
39
58
|
.RE
|
40
59
|
.PP
|
41
60
|
\fB\-b, \-\-backend\fR=\fIBACKEND\fR
|
42
61
|
.RS 4
|
43
62
|
Backend output file format:
|
44
|
-
\
|
45
|
-
\fIxhtml11\fR
|
63
|
+
\fIdocbook45\fR,
|
64
|
+
\fIxhtml11\fR,
|
65
|
+
\fIhtml4\fR,
|
66
|
+
\fIwordpress\fR
|
46
67
|
or
|
47
|
-
\
|
48
|
-
|
68
|
+
\fIlatex\fR
|
69
|
+
(the
|
70
|
+
\fIlatex\fR
|
71
|
+
backend is experimental)\&. You can also the backend alias names
|
72
|
+
\fIhtml\fR
|
73
|
+
(aliased to
|
74
|
+
\fIxhtml11\fR) or
|
75
|
+
\fIdocbook\fR
|
76
|
+
(aliased to
|
77
|
+
\fIdocbook45\fR)\&. Defaults to
|
78
|
+
\fIhtml\fR\&.
|
49
79
|
.RE
|
50
80
|
.PP
|
51
81
|
\fB\-f, \-\-conf\-file\fR=\fICONF_FILE\fR
|
52
82
|
.RS 4
|
53
83
|
Use configuration file
|
54
|
-
\fICONF_FILE\fR
|
84
|
+
\fICONF_FILE\fR\&.Configuration files processed in command\-line order (after implicit configuration files)\&. This option may be specified more than once\&.
|
85
|
+
.RE
|
86
|
+
.PP
|
87
|
+
\fB\-\-doctest\fR
|
88
|
+
.RS 4
|
89
|
+
Run Python doctests in
|
90
|
+
\fIasciidoc\fR
|
91
|
+
module\&.
|
55
92
|
.RE
|
56
93
|
.PP
|
57
94
|
\fB\-d, \-\-doctype\fR=\fIDOCTYPE\fR
|
@@ -60,73 +97,147 @@ Document type:
|
|
60
97
|
\fIarticle\fR,
|
61
98
|
\fImanpage\fR
|
62
99
|
or
|
63
|
-
\fIbook\fR
|
100
|
+
\fIbook\fR\&. The
|
64
101
|
\fIbook\fR
|
65
102
|
document type is only supported by the
|
66
103
|
\fIdocbook\fR
|
67
|
-
backend
|
68
|
-
\fIarticle\fR
|
104
|
+
backend\&. Default document type is
|
105
|
+
\fIarticle\fR\&.
|
69
106
|
.RE
|
70
107
|
.PP
|
71
108
|
\fB\-c, \-\-dump\-conf\fR
|
72
109
|
.RS 4
|
73
|
-
Dump configuration to stdout
|
110
|
+
Dump configuration to stdout\&.
|
111
|
+
.RE
|
112
|
+
.PP
|
113
|
+
\fB\-\-filter\fR
|
114
|
+
.RS 4
|
115
|
+
Manage asciidoc(1) filters (see
|
116
|
+
\fBFILTER COMMANDS\fR)\&.
|
74
117
|
.RE
|
75
118
|
.PP
|
76
|
-
\fB\-h, \-\-help\fR[
|
119
|
+
\fB\-h, \-\-help\fR [\fITOPIC\fR]
|
77
120
|
.RS 4
|
78
|
-
Print help TOPIC
|
79
|
-
\fB\-\-help\fR
|
121
|
+
Print help TOPIC\&.
|
122
|
+
\fB\-\-help\fR
|
123
|
+
\fItopics\fR
|
80
124
|
will print a list of help topics,
|
81
|
-
\fB\-\-help\fR
|
125
|
+
\fB\-\-help\fR
|
126
|
+
\fIsyntax\fR
|
82
127
|
summarizes AsciiDoc syntax,
|
83
|
-
\fB\-\-help\fR
|
84
|
-
|
128
|
+
\fB\-\-help\fR
|
129
|
+
\fImanpage\fR
|
130
|
+
prints the AsciiDoc manpage\&.
|
85
131
|
.RE
|
86
132
|
.PP
|
87
133
|
\fB\-e, \-\-no\-conf\fR
|
88
134
|
.RS 4
|
89
|
-
Exclude implicitly loaded configuration files except for those named like the input file (\fIinfile
|
135
|
+
Exclude implicitly loaded configuration files except for those named like the input file (\fIinfile\&.conf\fR
|
90
136
|
and
|
91
|
-
\fIinfile\-backend
|
137
|
+
\fIinfile\-backend\&.conf\fR)\&.
|
92
138
|
.RE
|
93
139
|
.PP
|
94
140
|
\fB\-s, \-\-no\-header\-footer\fR
|
95
141
|
.RS 4
|
96
|
-
Suppress document header and footer output
|
142
|
+
Suppress document header and footer output\&.
|
97
143
|
.RE
|
98
144
|
.PP
|
99
145
|
\fB\-o, \-\-out\-file\fR=\fIOUT_FILE\fR
|
100
146
|
.RS 4
|
101
147
|
Write output to file
|
102
|
-
\fIOUT_FILE\fR
|
148
|
+
\fIOUT_FILE\fR\&. Defaults to the base name of input file with
|
103
149
|
\fIbackend\fR
|
104
|
-
extension
|
150
|
+
extension\&. If the input is stdin then the outfile defaults to stdout\&. If
|
105
151
|
\fIOUT_FILE\fR
|
106
152
|
is
|
107
153
|
\fI\-\fR
|
108
|
-
then the standard output is used
|
154
|
+
then the standard output is used\&.
|
109
155
|
.RE
|
110
156
|
.PP
|
111
157
|
\fB\-n, \-\-section\-numbers\fR
|
112
158
|
.RS 4
|
113
|
-
Auto\-number HTML article section titles
|
114
|
-
\fB\-a numbered\fR
|
159
|
+
Auto\-number HTML article section titles\&. Synonym for
|
160
|
+
\fB\-a numbered\fR\&.
|
115
161
|
.RE
|
116
162
|
.PP
|
117
|
-
\fB\-\-
|
163
|
+
\fB\-\-safe\fR
|
118
164
|
.RS 4
|
119
|
-
|
165
|
+
Enable safe mode\&. Safe mode is disabled by default\&. AsciiDoc
|
166
|
+
\fIsafe mode\fR
|
167
|
+
skips potentially dangerous scripted sections in AsciiDoc source files\&.
|
120
168
|
.RE
|
121
169
|
.PP
|
122
170
|
\fB\-v, \-\-verbose\fR
|
123
171
|
.RS 4
|
124
|
-
Verbosely print processing information and configuration file checks to stderr
|
172
|
+
Verbosely print processing information and configuration file checks to stderr\&.
|
125
173
|
.RE
|
126
174
|
.PP
|
127
175
|
\fB\-\-version\fR
|
128
176
|
.RS 4
|
129
|
-
Print program version number
|
177
|
+
Print program version number\&.
|
178
|
+
.RE
|
179
|
+
.SH "FILTER COMMANDS"
|
180
|
+
.sp
|
181
|
+
The \fB\-\-filter\fR option is used to install, remove and list AsciiDoc filter plugins\&. Filter commands syntax:
|
182
|
+
.sp
|
183
|
+
.if n \{\
|
184
|
+
.RS 4
|
185
|
+
.\}
|
186
|
+
.nf
|
187
|
+
asciidoc \-\-filter install ZIP_FILE [FILTERS_DIR]
|
188
|
+
asciidoc \-\-filter remove FILTER_NAME [FILTERS_DIR]
|
189
|
+
asciidoc \-\-filter list
|
190
|
+
.fi
|
191
|
+
.if n \{\
|
192
|
+
.RE
|
193
|
+
.\}
|
194
|
+
.sp
|
195
|
+
Where:
|
196
|
+
.PP
|
197
|
+
\fBFILTER_NAME\fR
|
198
|
+
.RS 4
|
199
|
+
A unique filter name containing only alphanumeric or underscore characters\&.
|
200
|
+
.RE
|
201
|
+
.PP
|
202
|
+
\fBZIP_FILE\fR
|
203
|
+
.RS 4
|
204
|
+
A Zip file containing filter resources, the name must start with the filter name e\&.g\&.
|
205
|
+
my_filter\-1\&.0\&.zip
|
206
|
+
packages filter
|
207
|
+
my_filter\&.
|
208
|
+
.RE
|
209
|
+
.PP
|
210
|
+
\fBFILTERS_DIR\fR
|
211
|
+
.RS 4
|
212
|
+
The directory containing installed filters\&. Each filter is contained in its own separate subdirectory which has the same name as the filter\&.
|
213
|
+
\fBFILTERS_DIR\fR
|
214
|
+
defaults to the
|
215
|
+
\&.asciidoc/filters
|
216
|
+
directory in the user\(cqs home directory\&.
|
217
|
+
.RE
|
218
|
+
.sp
|
219
|
+
The filter commands perform as follows:
|
220
|
+
.PP
|
221
|
+
\fBinstall\fR
|
222
|
+
.RS 4
|
223
|
+
Create a subdirectory in
|
224
|
+
\fBFILTERS_DIR\fR
|
225
|
+
with the same name as the filter then extract the
|
226
|
+
\fBZIP_FILE\fR
|
227
|
+
into it\&.
|
228
|
+
.RE
|
229
|
+
.PP
|
230
|
+
\fBremove\fR
|
231
|
+
.RS 4
|
232
|
+
Delete the
|
233
|
+
\fBFILTER_NAME\fR
|
234
|
+
filter subdirectory and all its contents from the
|
235
|
+
\fBFILTERS_DIR\fR\&.
|
236
|
+
.RE
|
237
|
+
.PP
|
238
|
+
\fBlist\fR
|
239
|
+
.RS 4
|
240
|
+
List the names and locations of all installed filters (including standard filters installed in the global configuration directory)\&.
|
130
241
|
.RE
|
131
242
|
.SH "EXIT STATUS"
|
132
243
|
.PP
|
@@ -137,19 +248,19 @@ Success
|
|
137
248
|
.PP
|
138
249
|
\fB1\fR
|
139
250
|
.RS 4
|
140
|
-
Failure (syntax or usage error; configuration error; document processing failure; unexpected error)
|
251
|
+
Failure (syntax or usage error; configuration error; document processing failure; unexpected error)\&.
|
141
252
|
.RE
|
142
253
|
.SH "BUGS"
|
143
|
-
See the AsciiDoc distribution BUGS file\.
|
144
254
|
.sp
|
255
|
+
See the AsciiDoc distribution BUGS file\&.
|
145
256
|
.SH "AUTHOR"
|
146
|
-
Written by Stuart Rackham, <srackham@gmail\.com>
|
147
257
|
.sp
|
258
|
+
AsciiDoc was originally written by Stuart Rackham\&. Many people have contributed to it\&.
|
148
259
|
.SH "RESOURCES"
|
149
|
-
SourceForge: http://sourceforge\.net/projects/asciidoc/
|
150
260
|
.sp
|
151
|
-
|
261
|
+
SourceForge: http://sourceforge\&.net/projects/asciidoc/
|
152
262
|
.sp
|
263
|
+
Main web site: http://www\&.methods\&.co\&.nz/asciidoc/
|
153
264
|
.SH "COPYING"
|
154
|
-
Copyright (C) 2002\-2008 Stuart Rackham\. Free use of this software is granted under the terms of the GNU General Public License (GPL)\.
|
155
265
|
.sp
|
266
|
+
Copyright (C) 2002\-2011 Stuart Rackham\&. Free use of this software is granted under the terms of the GNU General Public License (GPL)\&.
|