FooBarWidget-mizuho 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE.txt +20 -0
- data/README.markdown +68 -0
- data/Rakefile +9 -0
- data/asciidoc/BUGS +34 -0
- data/asciidoc/BUGS.txt +28 -0
- data/asciidoc/CHANGELOG +1585 -0
- data/asciidoc/CHANGELOG.txt +1595 -0
- data/asciidoc/COPYING +339 -0
- data/asciidoc/COPYRIGHT +18 -0
- data/asciidoc/INSTALL +82 -0
- data/asciidoc/INSTALL.txt +71 -0
- data/asciidoc/README +46 -0
- data/asciidoc/README.txt +36 -0
- data/asciidoc/a2x +641 -0
- data/asciidoc/asciidoc.conf +404 -0
- data/asciidoc/asciidoc.py +4255 -0
- data/asciidoc/common.aap +9 -0
- data/asciidoc/dblatex/asciidoc-dblatex.sty +18 -0
- data/asciidoc/dblatex/asciidoc-dblatex.xsl +17 -0
- data/asciidoc/dblatex/dblatex-readme.txt +22 -0
- data/asciidoc/doc/a2x.1 +246 -0
- data/asciidoc/doc/a2x.1.txt +195 -0
- data/asciidoc/doc/article.css-embedded.html +579 -0
- data/asciidoc/doc/article.html +62 -0
- data/asciidoc/doc/article.pdf +0 -0
- data/asciidoc/doc/article.txt +124 -0
- data/asciidoc/doc/asciidoc-revhistory.xml +27 -0
- data/asciidoc/doc/asciidoc.1 +161 -0
- data/asciidoc/doc/asciidoc.1.css-embedded.html +562 -0
- data/asciidoc/doc/asciidoc.1.css.html +212 -0
- data/asciidoc/doc/asciidoc.1.html +190 -0
- data/asciidoc/doc/asciidoc.1.txt +118 -0
- data/asciidoc/doc/asciidoc.conf +8 -0
- data/asciidoc/doc/asciidoc.css-embedded.html +7954 -0
- data/asciidoc/doc/asciidoc.css.html +7553 -0
- data/asciidoc/doc/asciidoc.dict +673 -0
- data/asciidoc/doc/asciidoc.html +3502 -0
- data/asciidoc/doc/asciidoc.txt +4757 -0
- data/asciidoc/doc/asciimath.txt +47 -0
- data/asciidoc/doc/book-multi.css-embedded.html +575 -0
- data/asciidoc/doc/book-multi.html +72 -0
- data/asciidoc/doc/book-multi.txt +159 -0
- data/asciidoc/doc/book.css-embedded.html +585 -0
- data/asciidoc/doc/book.html +60 -0
- data/asciidoc/doc/book.txt +133 -0
- data/asciidoc/doc/customers.csv +18 -0
- data/asciidoc/doc/faq.txt +262 -0
- data/asciidoc/doc/latex-backend.html +224 -0
- data/asciidoc/doc/latex-backend.txt +193 -0
- data/asciidoc/doc/latexmath.txt +35 -0
- data/asciidoc/doc/main.aap +293 -0
- data/asciidoc/doc/music-filter.html +513 -0
- data/asciidoc/doc/music-filter.pdf +0 -0
- data/asciidoc/doc/music-filter.txt +158 -0
- data/asciidoc/doc/source-highlight-filter.html +183 -0
- data/asciidoc/doc/source-highlight-filter.pdf +0 -0
- data/asciidoc/doc/source-highlight-filter.txt +174 -0
- data/asciidoc/docbook-xsl/asciidoc-docbook-xsl.txt +71 -0
- data/asciidoc/docbook-xsl/chunked.xsl +19 -0
- data/asciidoc/docbook-xsl/common.xsl +67 -0
- data/asciidoc/docbook-xsl/fo.xsl +117 -0
- data/asciidoc/docbook-xsl/htmlhelp.xsl +17 -0
- data/asciidoc/docbook-xsl/manpage.xsl +28 -0
- data/asciidoc/docbook-xsl/shaded-literallayout.patch +32 -0
- data/asciidoc/docbook-xsl/xhtml.xsl +14 -0
- data/asciidoc/docbook.conf +606 -0
- data/asciidoc/examples/website/CHANGELOG.html +3828 -0
- data/asciidoc/examples/website/INSTALL.html +163 -0
- data/asciidoc/examples/website/README-website.html +129 -0
- data/asciidoc/examples/website/README-website.txt +29 -0
- data/asciidoc/examples/website/README.html +125 -0
- data/asciidoc/examples/website/a2x.1.html +395 -0
- data/asciidoc/examples/website/asciidoc-docbook-xsl.html +165 -0
- data/asciidoc/examples/website/asciimath.html +157 -0
- data/asciidoc/examples/website/build-website.sh +25 -0
- data/asciidoc/examples/website/downloads.html +219 -0
- data/asciidoc/examples/website/downloads.txt +98 -0
- data/asciidoc/examples/website/faq.html +372 -0
- data/asciidoc/examples/website/index.html +398 -0
- data/asciidoc/examples/website/index.txt +222 -0
- data/asciidoc/examples/website/latex-backend.html +640 -0
- data/asciidoc/examples/website/latexmath.html +119 -0
- data/asciidoc/examples/website/layout1.conf +161 -0
- data/asciidoc/examples/website/layout1.css +65 -0
- data/asciidoc/examples/website/layout2.conf +158 -0
- data/asciidoc/examples/website/layout2.css +93 -0
- data/asciidoc/examples/website/manpage.html +266 -0
- data/asciidoc/examples/website/music-filter.html +242 -0
- data/asciidoc/examples/website/music1.abc +12 -0
- data/asciidoc/examples/website/music1.png +0 -0
- data/asciidoc/examples/website/music2.ly +9 -0
- data/asciidoc/examples/website/music2.png +0 -0
- data/asciidoc/examples/website/source-highlight-filter.html +251 -0
- data/asciidoc/examples/website/support.html +78 -0
- data/asciidoc/examples/website/support.txt +5 -0
- data/asciidoc/examples/website/userguide.html +7597 -0
- data/asciidoc/examples/website/version9.html +143 -0
- data/asciidoc/examples/website/version9.txt +48 -0
- data/asciidoc/filters/code-filter-readme.txt +37 -0
- data/asciidoc/filters/code-filter-test-c++.txt +7 -0
- data/asciidoc/filters/code-filter-test.txt +15 -0
- data/asciidoc/filters/code-filter.conf +8 -0
- data/asciidoc/filters/code-filter.py +239 -0
- data/asciidoc/filters/music-filter-test.txt +40 -0
- data/asciidoc/filters/music-filter.conf +40 -0
- data/asciidoc/filters/music2png.py +189 -0
- data/asciidoc/filters/source-highlight-filter-test.txt +19 -0
- data/asciidoc/filters/source-highlight-filter.conf +100 -0
- data/asciidoc/help.conf +213 -0
- data/asciidoc/html4.conf +363 -0
- data/asciidoc/images/highlighter.png +0 -0
- data/asciidoc/images/icons/README +5 -0
- data/asciidoc/images/icons/callouts/1.png +0 -0
- data/asciidoc/images/icons/callouts/10.png +0 -0
- data/asciidoc/images/icons/callouts/11.png +0 -0
- data/asciidoc/images/icons/callouts/12.png +0 -0
- data/asciidoc/images/icons/callouts/13.png +0 -0
- data/asciidoc/images/icons/callouts/14.png +0 -0
- data/asciidoc/images/icons/callouts/15.png +0 -0
- data/asciidoc/images/icons/callouts/2.png +0 -0
- data/asciidoc/images/icons/callouts/3.png +0 -0
- data/asciidoc/images/icons/callouts/4.png +0 -0
- data/asciidoc/images/icons/callouts/5.png +0 -0
- data/asciidoc/images/icons/callouts/6.png +0 -0
- data/asciidoc/images/icons/callouts/7.png +0 -0
- data/asciidoc/images/icons/callouts/8.png +0 -0
- data/asciidoc/images/icons/callouts/9.png +0 -0
- data/asciidoc/images/icons/caution.png +0 -0
- data/asciidoc/images/icons/example.png +0 -0
- data/asciidoc/images/icons/home.png +0 -0
- data/asciidoc/images/icons/important.png +0 -0
- data/asciidoc/images/icons/next.png +0 -0
- data/asciidoc/images/icons/note.png +0 -0
- data/asciidoc/images/icons/prev.png +0 -0
- data/asciidoc/images/icons/tip.png +0 -0
- data/asciidoc/images/icons/up.png +0 -0
- data/asciidoc/images/icons/warning.png +0 -0
- data/asciidoc/images/smallnew.png +0 -0
- data/asciidoc/images/tiger.png +0 -0
- data/asciidoc/install.sh +55 -0
- data/asciidoc/javascripts/ASCIIMathML.js +938 -0
- data/asciidoc/javascripts/LaTeXMathML.js +1223 -0
- data/asciidoc/javascripts/toc.js +69 -0
- data/asciidoc/lang-es.conf +15 -0
- data/asciidoc/latex.conf +663 -0
- data/asciidoc/linuxdoc.conf +285 -0
- data/asciidoc/math.conf +50 -0
- data/asciidoc/stylesheets/docbook-xsl.css +271 -0
- data/asciidoc/stylesheets/xhtml-deprecated-manpage.css +21 -0
- data/asciidoc/stylesheets/xhtml-deprecated.css +247 -0
- data/asciidoc/stylesheets/xhtml11-manpage.css +18 -0
- data/asciidoc/stylesheets/xhtml11-quirks.css +49 -0
- data/asciidoc/stylesheets/xhtml11.css +284 -0
- data/asciidoc/t.conf +20 -0
- data/asciidoc/text.conf +16 -0
- data/asciidoc/vim/ftdetect/asciidoc_filetype.vim +53 -0
- data/asciidoc/vim/syntax/asciidoc.vim +139 -0
- data/asciidoc/xhtml-deprecated-css.conf +235 -0
- data/asciidoc/xhtml-deprecated.conf +351 -0
- data/asciidoc/xhtml11-quirks.conf +57 -0
- data/asciidoc/xhtml11.conf +514 -0
- data/bin/mizuho +40 -0
- data/lib/mizuho/chapter.rb +54 -0
- data/lib/mizuho/generator.rb +106 -0
- data/lib/mizuho/heading.rb +46 -0
- data/lib/mizuho/parser.rb +99 -0
- data/lib/mizuho/template.rb +50 -0
- data/mizuho.gemspec +34 -0
- data/templates/asciidoc.css +358 -0
- data/templates/asciidoc.html.erb +86 -0
- data/templates/manualsonrails.css +165 -0
- data/templates/manualsonrails.html.erb +97 -0
- data/test/parser_spec.rb +190 -0
- data/test/spec_helper.rb +43 -0
- metadata +234 -0
data/asciidoc/html4.conf
ADDED
@@ -0,0 +1,363 @@
|
|
1
|
+
#
|
2
|
+
# html4.conf
|
3
|
+
#
|
4
|
+
# Asciidoc HTML 4.01 configuration file.
|
5
|
+
#
|
6
|
+
|
7
|
+
[miscellaneous]
|
8
|
+
outfilesuffix=.html
|
9
|
+
# Screen width in pixels.
|
10
|
+
pagewidth=800
|
11
|
+
pageunits=
|
12
|
+
|
13
|
+
[attributes]
|
14
|
+
basebackend=html
|
15
|
+
basebackend-html=
|
16
|
+
|
17
|
+
[replacements]
|
18
|
+
# Line break.
|
19
|
+
(?m)^(.*)\s\+$=\1<br />
|
20
|
+
ifdef::asciidoc7compatible[]
|
21
|
+
# Superscripts.
|
22
|
+
\^(.+?)\^=<sup>\1</sup>
|
23
|
+
# Subscripts.
|
24
|
+
~(.+?)~=<sub>\1</sub>
|
25
|
+
endif::asciidoc7compatible[]
|
26
|
+
|
27
|
+
[ruler-blockmacro]
|
28
|
+
<hr />
|
29
|
+
|
30
|
+
[image-inlinemacro]
|
31
|
+
<a href="{link}">
|
32
|
+
<img src="{imagesdir=}{target}" alt="{1={target}}"{1? title="{1}"}{width? width="{width}"}{height? height="{height}"}/>
|
33
|
+
{link#}</a>
|
34
|
+
|
35
|
+
[image-blockmacro]
|
36
|
+
<a name="{id}"></a>
|
37
|
+
<a href="{link}">
|
38
|
+
<img src="{imagesdir=}{target}" alt="{1={target}}"{1? title="{1}"}{width? width="{width}"}{height? height="{height}"}/>
|
39
|
+
{link#}</a>
|
40
|
+
<p><b>{caption={figure_caption}}{title}</b></p>
|
41
|
+
|
42
|
+
[indexterm-inlinemacro]
|
43
|
+
# Inline index term.
|
44
|
+
{empty}
|
45
|
+
|
46
|
+
[indexterm2-inlinemacro]
|
47
|
+
# Inline index term.
|
48
|
+
# Single entry index term that is visible in the primary text flow.
|
49
|
+
{1}
|
50
|
+
|
51
|
+
[footnote-inlinemacro]
|
52
|
+
# Inline footnote.
|
53
|
+
<br />[{0}]<br />
|
54
|
+
|
55
|
+
[callout-inlinemacro]
|
56
|
+
# Inline callout.
|
57
|
+
<b>({index})</b>
|
58
|
+
|
59
|
+
[tags]
|
60
|
+
# Bulleted, numbered and labeled list tags.
|
61
|
+
ilist={id?<a name="{id}"></a>}{title?<p><b>{title}</b></p>}<ul>|</ul>
|
62
|
+
ilistitem=<li>|</li>
|
63
|
+
ilisttext=<p>|</p>
|
64
|
+
olist={id?<a name="{id}"></a>}{title?<p><b>{title}</b></p>}<ol>|</ol>
|
65
|
+
olist2={id?<a name="{id}"></a>}<ol type="a">|</ol>
|
66
|
+
olistitem=<li>|</li>
|
67
|
+
olisttext=<p>|</p>
|
68
|
+
vlist={id?<a name="{id}"></a>}{title?<p><b>{title}</b></p>}<dl>|</dl>
|
69
|
+
vlistentry=|
|
70
|
+
vlistterm=<dt>|</dt>
|
71
|
+
vlistitem=<dd>|</dd>
|
72
|
+
vlisttext=<p>|</p>
|
73
|
+
# Horizontal labeled list.
|
74
|
+
hlist={id?<a name="{id}"></a>}{title?<p><b>{title}</b></p>}<table cellpadding="4">|</table>
|
75
|
+
hlistentry=<tr valign="top">|</tr>
|
76
|
+
hlisttext=|
|
77
|
+
hlistterm=<td{1? width="{1}%"}>|</td>
|
78
|
+
hlistitem=<td{2? width="{2}%"}>|</td>
|
79
|
+
# Question and Answer list.
|
80
|
+
qlist={id?<a name="{id}"></a>}{title?<p><b>{title}</b></p>}<ol>|</ol>
|
81
|
+
qlistentry=<li>|</li>
|
82
|
+
qlistterm=<p><em>|</em></p>
|
83
|
+
qlistitem=|
|
84
|
+
qlisttext=<p>|</p>
|
85
|
+
# Callout list.
|
86
|
+
colist={id?<a name="{id}"></a>}{title?<p><b>{title}</b></p>}<ol>|</ol>
|
87
|
+
colistitem=<li>|</li>
|
88
|
+
colisttext=<p>|</p>
|
89
|
+
|
90
|
+
# Quoted text.
|
91
|
+
emphasis=<em{0? style="}{1?color: {1};}{2?background-color: {2};}{3?font-size: {3}em;}{0?"}>|</em>
|
92
|
+
strong=<strong{0? style="}{1?color: {1};}{2?background-color: {2};}{3?font-size: {3}em;}{0?"}>|</strong>
|
93
|
+
monospaced=<tt{0? style="}{1?color: {1};}{2?background-color: {2};}{3?font-size: {3}em;}{0?"}>|</tt>
|
94
|
+
quoted={0?<span style="}{1?color: {1};}{2?background-color: {2};}{3?font-size: {3}em;}{0?">}{amp}#8220;|{amp}#8221;{0?</span>}
|
95
|
+
unquoted={0?<span style="}{1?color: {1};}{2?background-color: {2};}{3?font-size: {3}em;}{0?">}|{0?</span>}
|
96
|
+
superscript=<sup{0? style="}{1?color: {1};}{2?background-color: {2};}{3?font-size: {3}em;}{0?"}>|</sup>
|
97
|
+
subscript=<sub{0? style="}{1?color: {1};}{2?background-color: {2};}{3?font-size: {3}em;}{0?"}>|</sub>
|
98
|
+
|
99
|
+
# $$ inline passthrough.
|
100
|
+
passthrough=<span{0? style="}{1?color: {1};}{2?background-color: {2};}{3?font-size: {3}em;}{0?"}>|</span>
|
101
|
+
|
102
|
+
# Inline macros
|
103
|
+
[http-inlinemacro]
|
104
|
+
<a href="{name}:{target}">{0={name}:{target}}</a>
|
105
|
+
[https-inlinemacro]
|
106
|
+
<a href="{name}:{target}">{0={name}:{target}}</a>
|
107
|
+
[ftp-inlinemacro]
|
108
|
+
<a href="{name}:{target}">{0={name}:{target}}</a>
|
109
|
+
[file-inlinemacro]
|
110
|
+
<a href="{name}:{target}">{0={name}:{target}}</a>
|
111
|
+
[mailto-inlinemacro]
|
112
|
+
<a href="mailto:{target}">{0={target}}</a>
|
113
|
+
[callto-inlinemacro]
|
114
|
+
<a href="{name}:{target}">{0={target}}</a>
|
115
|
+
[link-inlinemacro]
|
116
|
+
<a href="{target}">{0={target}}</a>
|
117
|
+
# anchor:id[text]
|
118
|
+
[anchor-inlinemacro]
|
119
|
+
<a name="{target}"></a>
|
120
|
+
# [[id,text]]
|
121
|
+
[anchor2-inlinemacro]
|
122
|
+
<a name="{1}"></a>
|
123
|
+
# [[[id]]]
|
124
|
+
[anchor3-inlinemacro]
|
125
|
+
<a name="{1}"></a>[{1}]
|
126
|
+
# xref:id[text]
|
127
|
+
[xref-inlinemacro]
|
128
|
+
<a href="#{target}">{0=[{target}]}</a>
|
129
|
+
# <<id,text>>
|
130
|
+
[xref2-inlinemacro]
|
131
|
+
<a href="#{1}">{2=[{1}]}</a>
|
132
|
+
|
133
|
+
# Special word substitution.
|
134
|
+
[emphasizedwords]
|
135
|
+
<em>{words}</em>
|
136
|
+
[monospacedwords]
|
137
|
+
<tt>{words}</tt>
|
138
|
+
[strongwords]
|
139
|
+
<strong>{words}</strong>
|
140
|
+
|
141
|
+
# Paragraph substitution.
|
142
|
+
[paragraph]
|
143
|
+
<p>{id?<a name="{id}"></a>}{title?<b>{title}</b><br />}
|
144
|
+
|
|
145
|
+
</p>
|
146
|
+
|
147
|
+
[literalparagraph]
|
148
|
+
# The literal block employs the same markup.
|
149
|
+
template::[literalblock]
|
150
|
+
|
151
|
+
[verseparagraph]
|
152
|
+
# The verse block employs the same markup.
|
153
|
+
template::[verseblock]
|
154
|
+
|
155
|
+
[admonitionparagraph]
|
156
|
+
<a name="{id}"></a>
|
157
|
+
<p><b>{caption}:</b> |</p>
|
158
|
+
|
159
|
+
# Delimited blocks.
|
160
|
+
[passthroughblock]
|
161
|
+
|
|
162
|
+
|
163
|
+
[listingblock]
|
164
|
+
<a name="{id}"></a>
|
165
|
+
<p><b>{title}</b></p>
|
166
|
+
<table border="0" bgcolor="#e8e8e8" width="100%" cellpadding="10"><tr><td>
|
167
|
+
<pre>
|
168
|
+
|
|
169
|
+
</pre>
|
170
|
+
</td></tr></table>
|
171
|
+
|
172
|
+
[literalblock]
|
173
|
+
<a name="{id}"></a>
|
174
|
+
<p><b>{title}</b></p>
|
175
|
+
<pre>
|
176
|
+
|
|
177
|
+
</pre>
|
178
|
+
|
179
|
+
[sidebarblock]
|
180
|
+
<a name="{id}"></a>
|
181
|
+
<table frame="border" bgcolor="#ffffee" width="80%" cellpadding="15">
|
182
|
+
<tr><td>
|
183
|
+
<p><em>{title}</em></p>
|
184
|
+
|
|
185
|
+
</td></tr></table>
|
186
|
+
|
187
|
+
[quoteblock]
|
188
|
+
<a name="{id}"></a>
|
189
|
+
<blockquote>
|
190
|
+
<p><b>{title}</b></p>
|
191
|
+
|
|
192
|
+
<p align="right">
|
193
|
+
<em>{citetitle}</em><br />
|
194
|
+
— {attribution}
|
195
|
+
</p>
|
196
|
+
</blockquote>
|
197
|
+
|
198
|
+
[verseblock]
|
199
|
+
<a name="{id}"></a>
|
200
|
+
<blockquote>
|
201
|
+
<p><b>{title}</b></p>
|
202
|
+
# Font inheritance broken in IE6.
|
203
|
+
<pre style="font-family: inherit;">
|
204
|
+
|
|
205
|
+
</pre>
|
206
|
+
<p align="left">
|
207
|
+
<em>{citetitle}</em><br />
|
208
|
+
— {attribution}
|
209
|
+
</p>
|
210
|
+
</blockquote>
|
211
|
+
|
212
|
+
[exampleblock]
|
213
|
+
<a name="{id}"></a>
|
214
|
+
<p><b>{caption=Example: }{title}</b></p>
|
215
|
+
<table frame="border" bgcolor="white" width="80%" cellpadding="15">
|
216
|
+
<tr><td>
|
217
|
+
|
|
218
|
+
</td></tr></table>
|
219
|
+
|
220
|
+
[admonitionblock]
|
221
|
+
<a name="{id}"></a>
|
222
|
+
<table frame="void" bgcolor="white" width="80%" cellpadding="8">
|
223
|
+
<tr valign="top"><td><p><b>{caption}</b></p></td><td>
|
224
|
+
<p><b>{title}</b></p>
|
225
|
+
|
|
226
|
+
</td></tr></table>
|
227
|
+
|
228
|
+
# Bibliography list.
|
229
|
+
# Same as numbered list.
|
230
|
+
[listdef-bibliography]
|
231
|
+
listtag=olist
|
232
|
+
itemtag=olistitem
|
233
|
+
texttag=olisttext
|
234
|
+
|
235
|
+
# Glossary list.
|
236
|
+
# Same as labeled list.
|
237
|
+
[listdef-glossary]
|
238
|
+
listtag=vlist
|
239
|
+
itemtag=vlistitem
|
240
|
+
texttag=vlisttext
|
241
|
+
entrytag=vlistentry
|
242
|
+
labeltag=vlistterm
|
243
|
+
|
244
|
+
# Tables.
|
245
|
+
[tabledef-default]
|
246
|
+
template=table
|
247
|
+
bodyrow=<tr>|</tr>
|
248
|
+
headdata=<th align="{colalign}" width="{colwidth}{pageunits}">|</th>
|
249
|
+
footdata=<td align="{colalign}" width="{colwidth}{pageunits}"><strong>|</strong></td>
|
250
|
+
bodydata=<td align="{colalign}" width="{colwidth}{pageunits}" valign="top">|</td>
|
251
|
+
|
252
|
+
[table]
|
253
|
+
<p><b>{caption={table_caption}}</b>{title}</p>
|
254
|
+
<a name="{id}"></a>
|
255
|
+
<table rules="{grid=none}"
|
256
|
+
frame="{frame%hsides}"
|
257
|
+
frame="{frame@topbot:hsides}{frame@all:border}{frame@none:void}{frame@sides:vsides}"
|
258
|
+
cellspacing="0" cellpadding="4">
|
259
|
+
{headrows#}<thead>
|
260
|
+
{headrows}
|
261
|
+
{headrows#}</thead>
|
262
|
+
{footrows#}<tfoot>
|
263
|
+
{footrows}
|
264
|
+
{footrows#}</tfoot>
|
265
|
+
<tbody>
|
266
|
+
{bodyrows}
|
267
|
+
</tbody>
|
268
|
+
</table>
|
269
|
+
|
270
|
+
[preamble]
|
271
|
+
# Untitled elements between header and first section title.
|
272
|
+
<a name="{id}"></a>
|
273
|
+
|
|
274
|
+
|
275
|
+
[sect0]
|
276
|
+
{doctype-manpage%}<hr />
|
277
|
+
<h1>{id?<a name="{id}"></a>}{title}</h1>
|
278
|
+
|
|
279
|
+
|
280
|
+
[sect1]
|
281
|
+
{doctype-manpage%}<hr />
|
282
|
+
<h2>{id?<a name="{id}"></a>}{numbered?{sectnum} }{title}</h2>
|
283
|
+
|
|
284
|
+
|
285
|
+
[sect2]
|
286
|
+
<h3>{id?<a name="{id}"></a>}{numbered?{sectnum} }{title}</h3>
|
287
|
+
|
|
288
|
+
|
289
|
+
[sect3]
|
290
|
+
<h4>{id?<a name="{id}"></a>}{numbered?{sectnum} }{title}</h4>
|
291
|
+
|
|
292
|
+
|
293
|
+
[sect4]
|
294
|
+
<h5>{id?<a name="{id}"></a>}{title}</h5>
|
295
|
+
|
|
296
|
+
|
297
|
+
[footer]
|
298
|
+
<p></p>
|
299
|
+
<p></p>
|
300
|
+
<hr /><p><small>
|
301
|
+
Version {revision}<br />
|
302
|
+
Last updated {localdate} {localtime}
|
303
|
+
</small></p>
|
304
|
+
</body>
|
305
|
+
</html>
|
306
|
+
|
307
|
+
#-------------------------
|
308
|
+
# article document type
|
309
|
+
#-------------------------
|
310
|
+
ifndef::doctype-manpage[]
|
311
|
+
|
312
|
+
[header]
|
313
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
314
|
+
<html>
|
315
|
+
<head>
|
316
|
+
<meta http-equiv="Content-Type" content="text/html; charset={encoding=ISO-8859-1}">
|
317
|
+
<meta name="generator" content="AsciiDoc {asciidoc-version}">
|
318
|
+
<title>{doctitle}</title>
|
319
|
+
</head>
|
320
|
+
<body>
|
321
|
+
<h1>{doctitle}</h1>
|
322
|
+
<p>
|
323
|
+
<strong>{author}</strong><br />
|
324
|
+
<tt><<a href="mailto:{email}">{email}</a>></tt><br />
|
325
|
+
version {revision}{date?,}
|
326
|
+
{date}
|
327
|
+
</p>
|
328
|
+
|
329
|
+
endif::doctype-manpage[]
|
330
|
+
|
331
|
+
#-------------------------
|
332
|
+
# manpage document type
|
333
|
+
#-------------------------
|
334
|
+
ifdef::doctype-manpage[]
|
335
|
+
|
336
|
+
[tags]
|
337
|
+
# This is more inline with man page convention.
|
338
|
+
emphasis=<b>|</b>
|
339
|
+
vlistterm=<dt><b>|</b></dt>
|
340
|
+
|
341
|
+
[header]
|
342
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
343
|
+
<html>
|
344
|
+
<head>
|
345
|
+
<meta http-equiv="Content-Type" content="text/html; charset={encoding=ISO-8859-1}">
|
346
|
+
<meta name="generator" content="AsciiDoc {asciidoc-version}">
|
347
|
+
<title>{mantitle}</title>
|
348
|
+
</head>
|
349
|
+
<body>
|
350
|
+
<hr />
|
351
|
+
<h1>
|
352
|
+
{doctitle} Manual Page
|
353
|
+
</h1>
|
354
|
+
<hr />
|
355
|
+
<h2>NAME</h2>
|
356
|
+
<p>{manname} -
|
357
|
+
{manpurpose}
|
358
|
+
</p>
|
359
|
+
|
360
|
+
[sect-synopsis]
|
361
|
+
template::[sect1]
|
362
|
+
|
363
|
+
endif::doctype-manpage[]
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/asciidoc/install.sh
ADDED
@@ -0,0 +1,55 @@
|
|
1
|
+
#!/bin/sh
|
2
|
+
#
|
3
|
+
# AsciiDoc canonical installer/uninstaller.
|
4
|
+
# Definative packager's guide.
|
5
|
+
# Documented in INSTALL file.
|
6
|
+
#
|
7
|
+
# NOTE: If you change the CONFDIR (the global asciidoc(1) configuration file
|
8
|
+
# directory) then you will also need to change the CONF_DIR constant definition
|
9
|
+
# values in both a2x and asciiidoc.py scripts.
|
10
|
+
|
11
|
+
CONFDIR=/etc/asciidoc
|
12
|
+
BINDIR=/usr/local/bin
|
13
|
+
MANDIR=/usr/local/man
|
14
|
+
VIM_CONFDIR=/etc/vim
|
15
|
+
|
16
|
+
if [ `basename $0` = uninstall.sh ]; then
|
17
|
+
rm $BINDIR/asciidoc
|
18
|
+
rm $BINDIR/a2x
|
19
|
+
rm $MANDIR/man1/asciidoc.1
|
20
|
+
rm $MANDIR/man1/a2x.1
|
21
|
+
rm -rf $CONFDIR
|
22
|
+
rm -f $VIM_CONFDIR/syntax/asciidoc.vim
|
23
|
+
rm -f $VIM_CONFDIR/ftdetect/asciidoc_filetype.vim
|
24
|
+
else
|
25
|
+
install asciidoc.py $BINDIR/asciidoc
|
26
|
+
install a2x $BINDIR/a2x
|
27
|
+
install -d $MANDIR/man1
|
28
|
+
install doc/*.1 $MANDIR/man1
|
29
|
+
install -d $CONFDIR/filters \
|
30
|
+
$CONFDIR/docbook-xsl \
|
31
|
+
$CONFDIR/dblatex \
|
32
|
+
$CONFDIR/stylesheets \
|
33
|
+
$CONFDIR/javascripts \
|
34
|
+
$CONFDIR/images/icons/callouts
|
35
|
+
install -m 644 *.conf $CONFDIR
|
36
|
+
install filters/*.py $CONFDIR/filters
|
37
|
+
install -m 644 filters/*.conf $CONFDIR/filters
|
38
|
+
install -m 644 docbook-xsl/*.xsl $CONFDIR/docbook-xsl
|
39
|
+
install -m 644 dblatex/*.xsl $CONFDIR/dblatex
|
40
|
+
install -m 644 dblatex/*.sty $CONFDIR/dblatex
|
41
|
+
install -m 644 stylesheets/*.css $CONFDIR/stylesheets
|
42
|
+
install -m 644 javascripts/*.js $CONFDIR/javascripts
|
43
|
+
install -m 644 images/icons/callouts/* $CONFDIR/images/icons/callouts
|
44
|
+
install -m 644 images/icons/README images/icons/*.png $CONFDIR/images/icons
|
45
|
+
if [ -d $VIM_CONFDIR ]; then
|
46
|
+
install -d $VIM_CONFDIR/syntax
|
47
|
+
install -m 644 vim/syntax/asciidoc.vim \
|
48
|
+
$VIM_CONFDIR/syntax/asciidoc.vim
|
49
|
+
install -d $VIM_CONFDIR/ftdetect
|
50
|
+
install -m 644 vim/ftdetect/asciidoc_filetype.vim \
|
51
|
+
$VIM_CONFDIR/ftdetect/asciidoc_filetype.vim
|
52
|
+
fi
|
53
|
+
fi
|
54
|
+
|
55
|
+
# vim: set et ts=4 sw=4 sts=4:
|