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
@@ -0,0 +1,351 @@
|
|
1
|
+
#
|
2
|
+
# xhtml-deprecated.conf
|
3
|
+
#
|
4
|
+
# DEPRECATED: Asciidoc 6 xhtml backend.
|
5
|
+
#
|
6
|
+
[miscellaneous]
|
7
|
+
outfilesuffix=.html
|
8
|
+
# Screen width in pixels.
|
9
|
+
pagewidth=800
|
10
|
+
pageunits=
|
11
|
+
|
12
|
+
[attributes]
|
13
|
+
basebackend=html
|
14
|
+
basebackend-html=
|
15
|
+
dtddecl=PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
|
16
|
+
|
17
|
+
[replacements]
|
18
|
+
# Line break.
|
19
|
+
(?m)^(.*)\s\+$=\1<br />
|
20
|
+
# Superscripts.
|
21
|
+
\^(.+?)\^=<sup>\1</sup>
|
22
|
+
# Subscripts.
|
23
|
+
~(.+?)~=<sub>\1</sub>
|
24
|
+
|
25
|
+
[ruler-blockmacro]
|
26
|
+
<hr />
|
27
|
+
|
28
|
+
[image-inlinemacro]
|
29
|
+
<a href="{link}">
|
30
|
+
<img src="{target}" alt="{1={target}}"{1? title="{1}"}{width? width="{width}"}{height? height="{height}"}/>
|
31
|
+
{link#}</a>
|
32
|
+
|
33
|
+
[image-blockmacro]
|
34
|
+
<a name="{id}"></a>
|
35
|
+
<a href="{link}">
|
36
|
+
<img src="{target}" alt="{1={target}}"{1? title="{1}"}{width? width="{width}"}{height? height="{height}"}/>
|
37
|
+
{link#}</a>
|
38
|
+
<p><b>Figure:</b> {title}</p>
|
39
|
+
|
40
|
+
[indexterm-inlinemacro]
|
41
|
+
# Inline index term.
|
42
|
+
{empty}
|
43
|
+
|
44
|
+
[indexterm2-inlinemacro]
|
45
|
+
# Inline index term.
|
46
|
+
# Single entry index term that is visible in the primary text flow.
|
47
|
+
{1}
|
48
|
+
|
49
|
+
[footnote-inlinemacro]
|
50
|
+
# Inline footnote.
|
51
|
+
<br />[{0}]<br />
|
52
|
+
|
53
|
+
[callout-inlinemacro]
|
54
|
+
# Inline callout.
|
55
|
+
<b>({index})</b>
|
56
|
+
|
57
|
+
[tags]
|
58
|
+
# Bulleted, numbered and labeled list tags.
|
59
|
+
ilist={id?<a name="{id}"></a>}{title?<p><b>{title}</b></p>}<ul>|</ul>
|
60
|
+
ilistitem=<li>|</li>
|
61
|
+
ilisttext=<p>|</p>
|
62
|
+
olist={id?<a name="{id}"></a>}{title?<p><b>{title}</b></p>}<ol>|</ol>
|
63
|
+
olist2={id?<a name="{id}"></a>}<ol type="a">|</ol>
|
64
|
+
olistitem=<li>|</li>
|
65
|
+
olisttext=<p>|</p>
|
66
|
+
vlist={id?<a name="{id}"></a>}{title?<p><b>{title}</b></p>}<dl>|</dl>
|
67
|
+
vlistentry=|
|
68
|
+
vlistterm=<dt>|</dt>
|
69
|
+
vlistitem=<dd>|</dd>
|
70
|
+
vlisttext=<p>|</p>
|
71
|
+
# Horizontal labeled list.
|
72
|
+
hlist={id?<a name="{id}"></a>}{title?<p><b>{title}</b></p>}<table cellpadding="4">|</table>
|
73
|
+
hlistentry=<tr valign="top">|</tr>
|
74
|
+
hlisttext=|
|
75
|
+
hlistterm=<td{1? width="{1}%"}>|</td>
|
76
|
+
hlistitem=<td{2? width="{2}%"}>|</td>
|
77
|
+
# Question and Answer list.
|
78
|
+
qlist={id?<a name="{id}"></a>}{title?<p><b>{title}</b></p>}<ol>|</ol>
|
79
|
+
qlistentry=<li>|</li>
|
80
|
+
qlistterm=<p><em>|</em></p>
|
81
|
+
qlistitem=|
|
82
|
+
qlisttext=<p>|</p>
|
83
|
+
# Callout list.
|
84
|
+
colist={id?<a name="{id}"></a>}{title?<p><b>{title}</b></p>}<ol>|</ol>
|
85
|
+
colistitem=<li>|</li>
|
86
|
+
colisttext=<p>|</p>
|
87
|
+
|
88
|
+
# Quoted text.
|
89
|
+
emphasis=<em>|</em>
|
90
|
+
strong=<strong>|</strong>
|
91
|
+
monospaced=<tt>|</tt>
|
92
|
+
quoted={amp}#8220;|{amp}#8221;
|
93
|
+
|
94
|
+
# Inline macros
|
95
|
+
[http-inlinemacro]
|
96
|
+
<a href="{name}:{target}">{0={name}:{target}}</a>
|
97
|
+
[https-inlinemacro]
|
98
|
+
<a href="{name}:{target}">{0={name}:{target}}</a>
|
99
|
+
[ftp-inlinemacro]
|
100
|
+
<a href="{name}:{target}">{0={name}:{target}}</a>
|
101
|
+
[file-inlinemacro]
|
102
|
+
<a href="{name}:{target}">{0={name}:{target}}</a>
|
103
|
+
[mailto-inlinemacro]
|
104
|
+
<a href="mailto:{target}">{0={target}}</a>
|
105
|
+
[link-inlinemacro]
|
106
|
+
<a href="{target}">{0={target}}</a>
|
107
|
+
# anchor:id[text]
|
108
|
+
[anchor-inlinemacro]
|
109
|
+
<a name="{target}"></a>
|
110
|
+
# [[id,text]]
|
111
|
+
[anchor2-inlinemacro]
|
112
|
+
<a name="{1}"></a>
|
113
|
+
# [[[id]]]
|
114
|
+
[anchor3-inlinemacro]
|
115
|
+
<a name="{1}">[{1}]</a>
|
116
|
+
# xref:id[text]
|
117
|
+
[xref-inlinemacro]
|
118
|
+
<a href="#{target}">{0=[{target}]}</a>
|
119
|
+
# <<id,text>>
|
120
|
+
[xref2-inlinemacro]
|
121
|
+
<a href="#{1}">{2=[{1}]}</a>
|
122
|
+
|
123
|
+
# Special word substitution.
|
124
|
+
[emphasizedwords]
|
125
|
+
<em>{words}</em>
|
126
|
+
[monospacedwords]
|
127
|
+
<tt>{words}</tt>
|
128
|
+
[strongwords]
|
129
|
+
<strong>{words}</strong>
|
130
|
+
|
131
|
+
# Paragraph substitution.
|
132
|
+
[paragraph]
|
133
|
+
<p>{id?<a name="{id}"></a>}{title?<b>{title}</b><br />}
|
134
|
+
|
|
135
|
+
</p>
|
136
|
+
|
137
|
+
[literalparagraph]
|
138
|
+
# The literal block employs the same markup.
|
139
|
+
template::[literalblock]
|
140
|
+
|
141
|
+
[verseparagraph]
|
142
|
+
# The verse block employs the same markup.
|
143
|
+
template::[verseblock]
|
144
|
+
|
145
|
+
[admonitionparagraph]
|
146
|
+
<a name="{id}"></a>
|
147
|
+
<p><b>{style}:</b> |</p>
|
148
|
+
|
149
|
+
# Delimited blocks.
|
150
|
+
[passthroughblock]
|
151
|
+
|
|
152
|
+
|
153
|
+
[listingblock]
|
154
|
+
<a name="{id}"></a>
|
155
|
+
<p><b>{title}</b></p>
|
156
|
+
<table border="0" bgcolor="#e8e8e8" width="100%" cellpadding="10"><tr><td>
|
157
|
+
<pre>
|
158
|
+
|
|
159
|
+
</pre>
|
160
|
+
</td></tr></table>
|
161
|
+
|
162
|
+
[literalblock]
|
163
|
+
<a name="{id}"></a>
|
164
|
+
<p><b>{title}</b></p>
|
165
|
+
<pre>
|
166
|
+
|
|
167
|
+
</pre>
|
168
|
+
|
169
|
+
[verseblock]
|
170
|
+
<a name="{id}"></a>
|
171
|
+
<p><b>{title}</b></p>
|
172
|
+
# Font inheritance broken in IE6.
|
173
|
+
<pre style="font-family: inherit;">
|
174
|
+
|
|
175
|
+
</pre>
|
176
|
+
|
177
|
+
[sidebarblock]
|
178
|
+
<a name="{id}"></a>
|
179
|
+
<table frame="border" bgcolor="#ffffee" width="80%" cellpadding="15">
|
180
|
+
<tr><td>
|
181
|
+
<p><em>{title}</em></p>
|
182
|
+
|
|
183
|
+
</td></tr></table>
|
184
|
+
|
185
|
+
[quoteblock]
|
186
|
+
<a name="{id}"></a>
|
187
|
+
<blockquote>
|
188
|
+
<p><b>{title}</b></p>
|
189
|
+
|
|
190
|
+
<p align="right">
|
191
|
+
<em>{citetitle}</em><br />
|
192
|
+
— {attribution}
|
193
|
+
</p>
|
194
|
+
</blockquote>
|
195
|
+
|
196
|
+
[exampleblock]
|
197
|
+
<a name="{id}"></a>
|
198
|
+
<p><b>Example:</b> {title}</p>
|
199
|
+
<table frame="border" bgcolor="white" width="80%" cellpadding="15">
|
200
|
+
<tr><td>
|
201
|
+
|
|
202
|
+
</td></tr></table>
|
203
|
+
|
204
|
+
[admonitionblock]
|
205
|
+
<a name="{id}"></a>
|
206
|
+
<table frame="void" bgcolor="white" width="80%" cellpadding="8">
|
207
|
+
<tr valign="top"><td><p><b>{style}</b></p></td><td>
|
208
|
+
<p><b>{title}</b></p>
|
209
|
+
|
|
210
|
+
</td></tr></table>
|
211
|
+
|
212
|
+
# Bibliography list.
|
213
|
+
# Same as numbered list.
|
214
|
+
[listdef-bibliography]
|
215
|
+
listtag=olist
|
216
|
+
itemtag=olistitem
|
217
|
+
texttag=olisttext
|
218
|
+
|
219
|
+
# Glossary list.
|
220
|
+
# Same as labeled list.
|
221
|
+
[listdef-glossary]
|
222
|
+
listtag=vlist
|
223
|
+
itemtag=vlistitem
|
224
|
+
texttag=vlisttext
|
225
|
+
entrytag=vlistentry
|
226
|
+
labeltag=vlistterm
|
227
|
+
|
228
|
+
# Tables.
|
229
|
+
[tabledef-default]
|
230
|
+
template=table
|
231
|
+
bodyrow=<tr>|</tr>
|
232
|
+
headdata=<th align="{colalign}" width="{colwidth}{pageunits}">|</th>
|
233
|
+
footdata=<td align="{colalign}" width="{colwidth}{pageunits}"><strong>|</strong></td>
|
234
|
+
bodydata=<td align="{colalign}" width="{colwidth}{pageunits}" valign="top">|</td>
|
235
|
+
|
236
|
+
[table]
|
237
|
+
<p><b>Table:</b> {title}</p>
|
238
|
+
<a name="{id}"></a>
|
239
|
+
<table rules="{grid=none}"
|
240
|
+
frame="{frame%hsides}"
|
241
|
+
frame="{frame@topbot:hsides}{frame@all:border}{frame@none:void}{frame@sides:vsides}"
|
242
|
+
cellspacing="0" cellpadding="4">
|
243
|
+
{headrows#}<thead>
|
244
|
+
{headrows}
|
245
|
+
{headrows#}</thead>
|
246
|
+
{footrows#}<tfoot>
|
247
|
+
{footrows}
|
248
|
+
{footrows#}</tfoot>
|
249
|
+
<tbody>
|
250
|
+
{bodyrows}
|
251
|
+
</tbody>
|
252
|
+
</table>
|
253
|
+
|
254
|
+
[footer]
|
255
|
+
<p></p>
|
256
|
+
<p></p>
|
257
|
+
<hr /><p><small>
|
258
|
+
Version {revision}<br />
|
259
|
+
Last updated {localdate} {localtime}
|
260
|
+
</small></p>
|
261
|
+
</body>
|
262
|
+
</html>
|
263
|
+
|
264
|
+
[preamble]
|
265
|
+
# Untitled elements between header and first section title.
|
266
|
+
<a name="{id}"></a>
|
267
|
+
|
|
268
|
+
|
269
|
+
[sect0]
|
270
|
+
{doctype-manpage%}<hr />
|
271
|
+
<h1>{id?<a name="{id}"></a>}{title}</h1>
|
272
|
+
|
|
273
|
+
|
274
|
+
[sect1]
|
275
|
+
{doctype-manpage%}<hr />
|
276
|
+
<h2>{id?<a name="{id}"></a>}{numbered?{sectnum} }{title}</h2>
|
277
|
+
|
|
278
|
+
|
279
|
+
[sect2]
|
280
|
+
<h3>{id?<a name="{id}"></a>}{numbered?{sectnum} }{title}</h3>
|
281
|
+
|
|
282
|
+
|
283
|
+
[sect3]
|
284
|
+
<h4>{id?<a name="{id}"></a>}{numbered?{sectnum} }{title}</h4>
|
285
|
+
|
|
286
|
+
|
287
|
+
[sect4]
|
288
|
+
<h5>{id?<a name="{id}"></a>}{title}</h5>
|
289
|
+
|
|
290
|
+
|
291
|
+
#-------------------------
|
292
|
+
# article and book document types
|
293
|
+
#-------------------------
|
294
|
+
ifndef::doctype-manpage[]
|
295
|
+
|
296
|
+
[header]
|
297
|
+
<!DOCTYPE html {dtddecl}>
|
298
|
+
<html>
|
299
|
+
<head>
|
300
|
+
<meta http-equiv="Content-Type" content="text/html; charset={encoding=ISO-8859-1}"/>
|
301
|
+
<meta name="generator" content="AsciiDoc {asciidoc-version}"/>
|
302
|
+
<title>{doctitle}</title>
|
303
|
+
</head>
|
304
|
+
<body>
|
305
|
+
<h1>{doctitle}</h1>
|
306
|
+
<p>
|
307
|
+
<strong>by {author}</strong><br />
|
308
|
+
<tt><<a href="mailto:{email}">{email}</a>></tt><br />
|
309
|
+
v{revision}{date?,}
|
310
|
+
{date}
|
311
|
+
</p>
|
312
|
+
|
313
|
+
endif::doctype-manpage[]
|
314
|
+
|
315
|
+
#-------------------------
|
316
|
+
# manpage document type
|
317
|
+
#-------------------------
|
318
|
+
ifdef::doctype-manpage[]
|
319
|
+
|
320
|
+
[tags]
|
321
|
+
# This is more inline with man page convention.
|
322
|
+
emphasis=<b>|</b>
|
323
|
+
vlistterm=<dt><b>|</b></dt>
|
324
|
+
|
325
|
+
[header]
|
326
|
+
<!DOCTYPE html {dtddecl}>
|
327
|
+
<html>
|
328
|
+
<head>
|
329
|
+
<meta http-equiv="Content-Type" content="text/html; charset={encoding=ISO-8859-1}"/>
|
330
|
+
<meta name="generator" content="AsciiDoc {asciidoc-version}"/>
|
331
|
+
<title>{mantitle}</title>
|
332
|
+
</head>
|
333
|
+
<body>
|
334
|
+
<hr />
|
335
|
+
<h1>
|
336
|
+
{doctitle} Manual Page
|
337
|
+
</h1>
|
338
|
+
<hr />
|
339
|
+
<h2>NAME</h2>
|
340
|
+
<p>{manname} -
|
341
|
+
{manpurpose}
|
342
|
+
</p>
|
343
|
+
|
344
|
+
[sect-synopsis]
|
345
|
+
template::[sect1]
|
346
|
+
|
347
|
+
endif::doctype-manpage[]
|
348
|
+
|
349
|
+
ifdef::css[]
|
350
|
+
include::xhtml-deprecated-css.conf[]
|
351
|
+
endif::css[]
|
@@ -0,0 +1,57 @@
|
|
1
|
+
#
|
2
|
+
# xhtml11-quirks.conf
|
3
|
+
#
|
4
|
+
# Workarounds for IE6's broken # and incomplete CSS2.
|
5
|
+
#
|
6
|
+
|
7
|
+
[image-blockmacro]
|
8
|
+
<div class="imageblock"{id? id="{id}"}>
|
9
|
+
<div class="content">
|
10
|
+
<a class="image" href="{link}">
|
11
|
+
<img src="{imagesdir=}{target}" alt="{1={target}}"{1? title="{1}"}{width? width="{width}"}{height? height="{height}"}/>
|
12
|
+
{link#}</a>
|
13
|
+
</div>
|
14
|
+
<div class="image-title">{caption={figure_caption}}{title}</div>
|
15
|
+
</div>
|
16
|
+
|
17
|
+
[sidebarblock]
|
18
|
+
<div class="sidebarblock"{id? id="{id}"}>
|
19
|
+
<div class="sidebar-content">
|
20
|
+
<div class="sidebar-title">{title}</div>
|
21
|
+
|
|
22
|
+
</div></div>
|
23
|
+
|
24
|
+
[quoteblock]
|
25
|
+
<div class="quoteblock"{id? id="{id}"}>
|
26
|
+
<div class="title">{title}</div>
|
27
|
+
<div class="quoteblock-content">
|
28
|
+
|
|
29
|
+
</div>
|
30
|
+
<div class="quoteblock-attribution">
|
31
|
+
<em>{citetitle}</em><br />
|
32
|
+
— {attribution}
|
33
|
+
</div></div>
|
34
|
+
|
35
|
+
[verseblock]
|
36
|
+
<div class="verseblock"{id? id="{id}"}>
|
37
|
+
<div class="title">{title}</div>
|
38
|
+
<div class="verseblock-content">
|
39
|
+
|
|
40
|
+
</div>
|
41
|
+
<div class="verseblock-attribution">
|
42
|
+
<em>{citetitle}</em><br />
|
43
|
+
— {attribution}
|
44
|
+
</div></div>
|
45
|
+
|
46
|
+
[exampleblock]
|
47
|
+
<div class="exampleblock"{id? id="{id}"}>
|
48
|
+
<div class="title">{caption=Example: }{title}</div>
|
49
|
+
<div class="exampleblock-content">
|
50
|
+
|
|
51
|
+
</div></div>
|
52
|
+
|
53
|
+
[sect2]
|
54
|
+
# The <div> is because the IE6 adjacent-sibling CSS selector is broken.
|
55
|
+
<h3{id? id="{id}"}>{numbered?{sectnum} }{title}</h3><div style="clear:left"></div>
|
56
|
+
|
|
57
|
+
|
@@ -0,0 +1,514 @@
|
|
1
|
+
#
|
2
|
+
# xhtml11.conf
|
3
|
+
#
|
4
|
+
# Asciidoc configuration file.
|
5
|
+
# xhtml11 backend, generates XHTML 1.1 conformant markup.
|
6
|
+
#
|
7
|
+
|
8
|
+
[miscellaneous]
|
9
|
+
outfilesuffix=.html
|
10
|
+
# Screen width in pixels.
|
11
|
+
pagewidth=800
|
12
|
+
pageunits=
|
13
|
+
|
14
|
+
[attributes]
|
15
|
+
basebackend=html
|
16
|
+
basebackend-html=
|
17
|
+
|
18
|
+
[replacements]
|
19
|
+
# Line break.
|
20
|
+
(?m)^(.*)\s\+$=\1<br />
|
21
|
+
# Escape ASCIIMathML delimiters.
|
22
|
+
ifdef::asciimath[]
|
23
|
+
\$=\$
|
24
|
+
`=\`
|
25
|
+
endif::asciimath[]
|
26
|
+
ifdef::asciidoc7compatible[]
|
27
|
+
# Superscripts.
|
28
|
+
\^(.+?)\^=<sup>\1</sup>
|
29
|
+
# Subscripts.
|
30
|
+
~(.+?)~=<sub>\1</sub>
|
31
|
+
endif::asciidoc7compatible[]
|
32
|
+
|
33
|
+
[ruler-blockmacro]
|
34
|
+
<hr />
|
35
|
+
|
36
|
+
[image-inlinemacro]
|
37
|
+
<span class="image">
|
38
|
+
<a class="image" href="{link}">
|
39
|
+
<img src="{imagesdir=}{target}" alt="{1={target}}"{1? title="{1}"}{width? width="{width}"}{height? height="{height}"} />
|
40
|
+
{link#}</a>
|
41
|
+
</span>
|
42
|
+
|
43
|
+
[image-blockmacro]
|
44
|
+
<div class="imageblock"{id? id="{id}"}>
|
45
|
+
<div class="content">
|
46
|
+
<a class="image" href="{link}">
|
47
|
+
<img src="{imagesdir=}{target}" alt="{1={target}}"{1? title="{1}"}{width? width="{width}"}{height? height="{height}"} />
|
48
|
+
{link#}</a>
|
49
|
+
</div>
|
50
|
+
<div class="title">{caption={figure_caption}}{title}</div>
|
51
|
+
</div>
|
52
|
+
|
53
|
+
[indexterm-inlinemacro]
|
54
|
+
# Inline index term.
|
55
|
+
{empty}
|
56
|
+
|
57
|
+
[indexterm2-inlinemacro]
|
58
|
+
# Inline index term.
|
59
|
+
# Single entry index term that is visible in the primary text flow.
|
60
|
+
{1}
|
61
|
+
|
62
|
+
[footnote-inlinemacro]
|
63
|
+
# Inline footnote.
|
64
|
+
<br />[{0}]<br />
|
65
|
+
|
66
|
+
[callout-inlinemacro]
|
67
|
+
# Inline callout.
|
68
|
+
<b>({index})</b>
|
69
|
+
|
70
|
+
[tags]
|
71
|
+
# Bulleted, numbered and labeled list tags.
|
72
|
+
ilist=<div class="ilist"{id? id="{id}"}>{title?<div class="title">{title}</div>}<ul>|</ul></div>
|
73
|
+
ilistitem=<li>|</li>
|
74
|
+
ilisttext=<p>|</p>
|
75
|
+
olist=<div class="olist"{id? id="{id}"}>{title?<div class="title">{title}</div>}<ol>|</ol></div>
|
76
|
+
olist2=<div class="olist2"{id? id="{id}"}>{title?<div class="title">{title}</div>}<ol>|</ol></div>
|
77
|
+
olistitem=<li>|</li>
|
78
|
+
olisttext=<p>|</p>
|
79
|
+
vlist=<div class="vlist"{id? id="{id}"}>{title?<div class="title">{title}</div>}<dl>|</dl></div>
|
80
|
+
vlistentry=|
|
81
|
+
vlistterm=<dt>|</dt>
|
82
|
+
vlistitem=<dd>|</dd>
|
83
|
+
vlisttext=<p>|</p>
|
84
|
+
# Horizontal labeled list.
|
85
|
+
hlist=<div class="hlist"{id? id="{id}"}>{title?<div class="title">{title}</div>}<table>{1?<col width="{1}%" />}{2?<col width="{2}%" />}|</table></div>
|
86
|
+
hlistentry=<tr>|</tr>
|
87
|
+
hlistterm=<td class="hlist1">|</td>
|
88
|
+
hlistitem=<td class="hlist2">|</td>
|
89
|
+
hlisttext=|
|
90
|
+
# Question and Answer list.
|
91
|
+
qlist=<div class="qlist"{id? id="{id}"}>{title?<div class="title">{title}</div>}<ol>|</ol></div>
|
92
|
+
qlistentry=<li>|</li>
|
93
|
+
qlistterm=<p><em>|</em></p>
|
94
|
+
qlistitem=|
|
95
|
+
qlisttext=<p>|</p>
|
96
|
+
# Callout list.
|
97
|
+
colist=<div class="colist"{id? id="{id}"}>{title?<div class="title">{title}</div>}<ol>|</ol></div>
|
98
|
+
colistitem=<li>|</li>
|
99
|
+
colisttext=<p>|</p>
|
100
|
+
|
101
|
+
# Quoted text.
|
102
|
+
emphasis=<em{0? style="}{1?color: {1};}{2?background-color: {2};}{3?font-size: {3}em;}{0?"}>|</em>
|
103
|
+
strong=<strong{0? style="}{1?color: {1};}{2?background-color: {2};}{3?font-size: {3}em;}{0?"}>|</strong>
|
104
|
+
monospaced=<tt{0? style="}{1?color: {1};}{2?background-color: {2};}{3?font-size: {3}em;}{0?"}>|</tt>
|
105
|
+
quoted={0?<span style="}{1?color: {1};}{2?background-color: {2};}{3?font-size: {3}em;}{0?">}{amp}#8220;|{amp}#8221;{0?</span>}
|
106
|
+
unquoted={0?<span style="}{1?color: {1};}{2?background-color: {2};}{3?font-size: {3}em;}{0?">}|{0?</span>}
|
107
|
+
superscript=<sup{0? style="}{1?color: {1};}{2?background-color: {2};}{3?font-size: {3}em;}{0?"}>|</sup>
|
108
|
+
subscript=<sub{0? style="}{1?color: {1};}{2?background-color: {2};}{3?font-size: {3}em;}{0?"}>|</sub>
|
109
|
+
|
110
|
+
# $$ inline passthrough.
|
111
|
+
$$passthrough=<span{0? style="}{1?color: {1};}{2?background-color: {2};}{3?font-size: {3}em;}{0?"}>|</span>
|
112
|
+
|
113
|
+
# Inline macros
|
114
|
+
[http-inlinemacro]
|
115
|
+
<a href="{name}:{target}">{0={name}:{target}}</a>
|
116
|
+
[https-inlinemacro]
|
117
|
+
<a href="{name}:{target}">{0={name}:{target}}</a>
|
118
|
+
[ftp-inlinemacro]
|
119
|
+
<a href="{name}:{target}">{0={name}:{target}}</a>
|
120
|
+
[file-inlinemacro]
|
121
|
+
<a href="{name}:{target}">{0={name}:{target}}</a>
|
122
|
+
[mailto-inlinemacro]
|
123
|
+
<a href="mailto:{target}">{0={target}}</a>
|
124
|
+
[link-inlinemacro]
|
125
|
+
<a href="{target}">{0={target}}</a>
|
126
|
+
[callto-inlinemacro]
|
127
|
+
<a href="{name}:{target}">{0={target}}</a>
|
128
|
+
# anchor:id[text]
|
129
|
+
[anchor-inlinemacro]
|
130
|
+
<a id="{target}"></a>
|
131
|
+
# [[id,text]]
|
132
|
+
[anchor2-inlinemacro]
|
133
|
+
<a id="{1}"></a>
|
134
|
+
# [[[id]]]
|
135
|
+
[anchor3-inlinemacro]
|
136
|
+
<a id="{1}"></a>[{1}]
|
137
|
+
# xref:id[text]
|
138
|
+
[xref-inlinemacro]
|
139
|
+
<a href="#{target}">{0=[{target}]}</a>
|
140
|
+
# <<id,text>>
|
141
|
+
[xref2-inlinemacro]
|
142
|
+
<a href="#{1}">{2=[{1}]}</a>
|
143
|
+
|
144
|
+
# Special word substitution.
|
145
|
+
[emphasizedwords]
|
146
|
+
<em>{words}</em>
|
147
|
+
[monospacedwords]
|
148
|
+
<tt>{words}</tt>
|
149
|
+
[strongwords]
|
150
|
+
<strong>{words}</strong>
|
151
|
+
|
152
|
+
# Paragraph substitution.
|
153
|
+
[paragraph]
|
154
|
+
<div class="para"{id? id="{id}"}>{title?<div class="title">{title}</div>}<p>
|
155
|
+
|
|
156
|
+
</p></div>
|
157
|
+
|
158
|
+
[literalparagraph]
|
159
|
+
# The literal block employs the same markup.
|
160
|
+
template::[literalblock]
|
161
|
+
|
162
|
+
[verseparagraph]
|
163
|
+
# The verse block employs the same markup.
|
164
|
+
template::[verseblock]
|
165
|
+
|
166
|
+
[admonitionparagraph]
|
167
|
+
# The admonition block employs the same markup.
|
168
|
+
template::[admonitionblock]
|
169
|
+
|
170
|
+
# Delimited blocks.
|
171
|
+
[passthroughblock]
|
172
|
+
|
|
173
|
+
|
174
|
+
[listingblock]
|
175
|
+
<div class="listingblock"{id? id="{id}"}>
|
176
|
+
<div class="title">{caption=Example: }{title}</div>
|
177
|
+
<div class="content">
|
178
|
+
<pre><tt>
|
179
|
+
|
|
180
|
+
</tt></pre>
|
181
|
+
</div></div>
|
182
|
+
|
183
|
+
[literalblock]
|
184
|
+
<div class="literalblock"{id? id="{id}"}>
|
185
|
+
<div class="title">{title}</div>
|
186
|
+
<div class="content">
|
187
|
+
{style#}<pre class="{style}"><span>
|
188
|
+
{style%}<pre><tt>
|
189
|
+
|
|
190
|
+
</tt></pre>
|
191
|
+
</div></div>
|
192
|
+
|
193
|
+
[sidebarblock]
|
194
|
+
<div class="sidebarblock"{id? id="{id}"}>
|
195
|
+
<div class="content">
|
196
|
+
<div class="title">{title}</div>
|
197
|
+
|
|
198
|
+
</div></div>
|
199
|
+
|
200
|
+
[quoteblock]
|
201
|
+
<div class="quoteblock"{id? id="{id}"}>
|
202
|
+
<div class="title">{title}</div>
|
203
|
+
<div class="content">
|
204
|
+
|
|
205
|
+
</div>
|
206
|
+
<div class="attribution">
|
207
|
+
<em>{citetitle}</em><br />
|
208
|
+
— {attribution}
|
209
|
+
</div></div>
|
210
|
+
|
211
|
+
[verseblock]
|
212
|
+
<div class="verseblock"{id? id="{id}"}>
|
213
|
+
<div class="title">{title}</div>
|
214
|
+
<div class="content">
|
215
|
+
|
|
216
|
+
</div>
|
217
|
+
<div class="attribution">
|
218
|
+
<em>{citetitle}</em><br />
|
219
|
+
— {attribution}
|
220
|
+
</div></div>
|
221
|
+
|
222
|
+
[exampleblock]
|
223
|
+
<div class="exampleblock"{id? id="{id}"}>
|
224
|
+
<div class="title">{caption=Example: }{title}</div>
|
225
|
+
<div class="content">
|
226
|
+
|
|
227
|
+
</div></div>
|
228
|
+
|
229
|
+
[admonitionblock]
|
230
|
+
<div class="admonitionblock"{id? id="{id}"}>
|
231
|
+
<table><tr>
|
232
|
+
<td class="icon">
|
233
|
+
{icons#}<img src="{icon={iconsdir}/{name}.png}" alt="{caption}" />
|
234
|
+
{icons%}<div class="title">{caption}</div>
|
235
|
+
</td>
|
236
|
+
<td class="content">
|
237
|
+
<div class="title">{title}</div>
|
238
|
+
|
|
239
|
+
</td>
|
240
|
+
</tr></table>
|
241
|
+
</div>
|
242
|
+
|
243
|
+
# Bibliography list.
|
244
|
+
# Same as numbered list.
|
245
|
+
[listdef-bibliography]
|
246
|
+
listtag=olist
|
247
|
+
itemtag=olistitem
|
248
|
+
texttag=olisttext
|
249
|
+
|
250
|
+
# Glossary list.
|
251
|
+
# Same as labeled list.
|
252
|
+
[listdef-glossary]
|
253
|
+
listtag=vlist
|
254
|
+
itemtag=vlistitem
|
255
|
+
texttag=vlisttext
|
256
|
+
entrytag=vlistentry
|
257
|
+
labeltag=vlistterm
|
258
|
+
|
259
|
+
# Tables.
|
260
|
+
[tabledef-default]
|
261
|
+
template=table
|
262
|
+
colspec=<col width="{colwidth}{pageunits}" />
|
263
|
+
bodyrow=<tr>|</tr>
|
264
|
+
headdata=<th align="{colalign}">|</th>
|
265
|
+
footdata=<td align="{colalign}">|</td>
|
266
|
+
bodydata=<td align="{colalign}">|</td>
|
267
|
+
|
268
|
+
[table]
|
269
|
+
<div class="tableblock"{id? id="{id}"}>
|
270
|
+
<table rules="{grid=none}"
|
271
|
+
frame="{frame%hsides}"
|
272
|
+
frame="{frame@topbot:hsides}{frame@all:border}{frame@none:void}{frame@sides:vsides}"
|
273
|
+
cellspacing="0" cellpadding="4">
|
274
|
+
<caption class="title">{caption={table_caption}}{title}</caption>
|
275
|
+
{colspecs}
|
276
|
+
{headrows#}<thead>
|
277
|
+
{headrows}
|
278
|
+
{headrows#}</thead>
|
279
|
+
{footrows#}<tfoot>
|
280
|
+
{footrows}
|
281
|
+
{footrows#}</tfoot>
|
282
|
+
<tbody valign="top">
|
283
|
+
{bodyrows}
|
284
|
+
</tbody>
|
285
|
+
</table>
|
286
|
+
</div>
|
287
|
+
|
288
|
+
[preamble]
|
289
|
+
# Untitled elements between header and first section title.
|
290
|
+
<div id="preamble"{id? id="{id}"}>
|
291
|
+
<div class="sectionbody">
|
292
|
+
|
|
293
|
+
</div>
|
294
|
+
</div>
|
295
|
+
|
296
|
+
# Document sections.
|
297
|
+
[sect0]
|
298
|
+
<h1{id? id="{id}"}>{title}</h1>
|
299
|
+
|
|
300
|
+
|
301
|
+
[sect1]
|
302
|
+
<h2{id? id="{id}"}>{numbered?{sectnum} }{title}</h2>
|
303
|
+
<div class="sectionbody">
|
304
|
+
|
|
305
|
+
</div>
|
306
|
+
|
307
|
+
[sect2]
|
308
|
+
<h3{id? id="{id}"}>{numbered?{sectnum} }{title}</h3>
|
309
|
+
|
|
310
|
+
|
311
|
+
[sect3]
|
312
|
+
<h4{id? id="{id}"}>{numbered?{sectnum} }{title}</h4>
|
313
|
+
|
|
314
|
+
|
315
|
+
[sect4]
|
316
|
+
<h5{id? id="{id}"}>{title}</h5>
|
317
|
+
|
|
318
|
+
|
319
|
+
[header]
|
320
|
+
# IE6 enters quirks mode if the following XML directive is present.
|
321
|
+
#<?xml version="1.0" encoding="UTF-8"?>
|
322
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
|
323
|
+
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
324
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{lang=en}">
|
325
|
+
<head>
|
326
|
+
<meta http-equiv="Content-Type" content="{quirks=application/xhtml+xml}{quirks?text/html}; charset={encoding}" />
|
327
|
+
<meta name="generator" content="AsciiDoc {asciidoc-version}" />
|
328
|
+
ifdef::linkcss[]
|
329
|
+
<link rel="stylesheet" href="{stylesdir=.}/{theme={backend}}.css" type="text/css" />
|
330
|
+
{doctype-manpage}<link rel="stylesheet" href="{stylesdir=.}/{theme={backend}}-manpage.css" type="text/css" />
|
331
|
+
ifdef::quirks[]
|
332
|
+
<link rel="stylesheet" href="{stylesdir=.}/{theme={backend}}-quirks.css" type="text/css" />
|
333
|
+
endif::quirks[]
|
334
|
+
endif::linkcss[]
|
335
|
+
ifndef::linkcss[]
|
336
|
+
<style type="text/css">
|
337
|
+
include1::{stylesdir=./stylesheets}/{theme={backend}}.css[]
|
338
|
+
ifdef::doctype-manpage[]
|
339
|
+
include1::{stylesdir=./stylesheets}/{theme={backend}}-manpage.css[]
|
340
|
+
endif::doctype-manpage[]
|
341
|
+
ifdef::quirks[]
|
342
|
+
include1::{stylesdir=./stylesheets}/{theme={backend}}-quirks.css[]
|
343
|
+
endif::quirks[]
|
344
|
+
</style>
|
345
|
+
endif::linkcss[]
|
346
|
+
ifdef::toc[]
|
347
|
+
ifdef::linkcss[]
|
348
|
+
<script type="text/javascript">
|
349
|
+
# Escape as CDATA to pass validators.
|
350
|
+
/*<![CDATA[*/
|
351
|
+
window.onload = function()\{generateToc({toclevels=2})\}
|
352
|
+
/*]]>*/
|
353
|
+
</script>
|
354
|
+
<script type="text/javascript" src="{scriptsdir=.}/toc.js"></script>
|
355
|
+
endif::linkcss[]
|
356
|
+
ifndef::linkcss[]
|
357
|
+
<script type="text/javascript">
|
358
|
+
# Escape as CDATA to pass validators.
|
359
|
+
/*<![CDATA[*/
|
360
|
+
window.onload = function()\{generateToc({toclevels=2})\}
|
361
|
+
include1::{scriptsdir=./javascripts}/toc.js[]
|
362
|
+
/*]]>*/
|
363
|
+
</script>
|
364
|
+
endif::linkcss[]
|
365
|
+
endif::toc[]
|
366
|
+
ifdef::asciimath[]
|
367
|
+
ifdef::linkcss[]
|
368
|
+
<script type="text/javascript" src="{scriptsdir=.}/ASCIIMathML.js"></script>
|
369
|
+
endif::linkcss[]
|
370
|
+
ifndef::linkcss[]
|
371
|
+
<script type="text/javascript">
|
372
|
+
# Escape as CDATA to pass validators.
|
373
|
+
/*<![CDATA[*/
|
374
|
+
include1::{scriptsdir=./javascripts}/ASCIIMathML.js[]
|
375
|
+
/*]]>*/
|
376
|
+
</script>
|
377
|
+
endif::linkcss[]
|
378
|
+
endif::asciimath[]
|
379
|
+
ifdef::latexmath[]
|
380
|
+
ifdef::linkcss[]
|
381
|
+
<script type="text/javascript" src="{scriptsdir=.}/LaTeXMathML.js"></script>
|
382
|
+
endif::linkcss[]
|
383
|
+
ifndef::linkcss[]
|
384
|
+
<script type="text/javascript">
|
385
|
+
# Escape as CDATA to pass validators.
|
386
|
+
/*<![CDATA[*/
|
387
|
+
include1::{scriptsdir=./javascripts}/LaTeXMathML.js[]
|
388
|
+
/*]]>*/
|
389
|
+
</script>
|
390
|
+
endif::linkcss[]
|
391
|
+
endif::latexmath[]
|
392
|
+
<title>{doctitle=}</title>
|
393
|
+
</head>
|
394
|
+
<body>
|
395
|
+
# Article, book header.
|
396
|
+
ifndef::doctype-manpage[]
|
397
|
+
<div id="header">
|
398
|
+
<h1>{doctitle}</h1>
|
399
|
+
<span id="author">{author}</span><br />
|
400
|
+
<span id="email"><tt><<a href="mailto:{email}">{email}</a>></tt></span><br />
|
401
|
+
<span id="revision">version {revision}{date?,}</span>
|
402
|
+
{date}
|
403
|
+
ifdef::toc[]
|
404
|
+
<div id="toc">
|
405
|
+
<div id="toctitle">{toc_title}</div>
|
406
|
+
<noscript><p><b>JavaScript must be enabled in your browser to display the table of contents.</b></p></noscript>
|
407
|
+
</div>
|
408
|
+
endif::toc[]
|
409
|
+
</div>
|
410
|
+
endif::doctype-manpage[]
|
411
|
+
# Man page header.
|
412
|
+
ifdef::doctype-manpage[]
|
413
|
+
<div id="header">
|
414
|
+
<h1>
|
415
|
+
{doctitle} Manual Page
|
416
|
+
</h1>
|
417
|
+
ifdef::toc[]
|
418
|
+
<div id="toc">
|
419
|
+
<div id="toctitle">{toc_title}</div>
|
420
|
+
<noscript><p><b>JavaScript must be enabled in your browser to display the table of contents.</b></p></noscript>
|
421
|
+
</div>
|
422
|
+
endif::toc[]
|
423
|
+
<h2>NAME</h2>
|
424
|
+
<div class="sectionbody">
|
425
|
+
<p>{manname} -
|
426
|
+
{manpurpose}
|
427
|
+
</p>
|
428
|
+
</div>
|
429
|
+
</div>
|
430
|
+
endif::doctype-manpage[]
|
431
|
+
|
432
|
+
[footer]
|
433
|
+
<div id="footer">
|
434
|
+
<div id="footer-text">
|
435
|
+
Version {revision}<br />
|
436
|
+
Last updated {localdate} {localtime}
|
437
|
+
</div>
|
438
|
+
ifdef::badges[]
|
439
|
+
<div id="footer-badges">
|
440
|
+
ifndef::icons[]
|
441
|
+
Valid <a href="http://validator.w3.org/check?uri=referer">XHTML</a>
|
442
|
+
and <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a>.
|
443
|
+
endif::icons[]
|
444
|
+
ifdef::icons[]
|
445
|
+
<a href="http://validator.w3.org/check?uri=referer">
|
446
|
+
<img style="border:none; width:88px; height:31px;"
|
447
|
+
src="http://www.w3.org/Icons/valid-xhtml11"
|
448
|
+
alt="Valid XHTML 1.1!" />
|
449
|
+
</a>
|
450
|
+
<a href="http://jigsaw.w3.org/css-validator/check/referer">
|
451
|
+
<img style="border:none; width:88px; height:31px;"
|
452
|
+
src="http://jigsaw.w3.org/css-validator/images/vcss"
|
453
|
+
alt="Valid CSS!" />
|
454
|
+
</a>
|
455
|
+
<a href="http://www.mozilla.org/products/firefox/">
|
456
|
+
<img style="border:none; width:110px; height:32px;"
|
457
|
+
src="http://www.spreadfirefox.com/community/images/affiliates/Buttons/110x32/safer.gif"
|
458
|
+
alt="Get Firefox!" />
|
459
|
+
</a>
|
460
|
+
endif::icons[]
|
461
|
+
</div>
|
462
|
+
endif::badges[]
|
463
|
+
</div>
|
464
|
+
</body>
|
465
|
+
</html>
|
466
|
+
|
467
|
+
ifdef::doctype-manpage[]
|
468
|
+
[sect-synopsis]
|
469
|
+
template::[sect1]
|
470
|
+
endif::doctype-manpage[]
|
471
|
+
|
472
|
+
ifdef::quirks[]
|
473
|
+
include::{backend}-quirks.conf[]
|
474
|
+
endif::quirks[]
|
475
|
+
|
476
|
+
# If data-uri attribute is defined then embed images in HTML pages using the
|
477
|
+
# data: URI scheme (http://en.wikipedia.org/wiki/Data:_URI_scheme).
|
478
|
+
ifdef::data-uri[]
|
479
|
+
|
480
|
+
[image-inlinemacro]
|
481
|
+
<span class="image">
|
482
|
+
<a class="image" href="{link}">
|
483
|
+
<img alt="{1={target}}"{1? title="{1}"}{width? width="{width}"}{height? height="{height}"} src="data:image/{eval:os.path.splitext('{target}')[1][1:]};base64,
|
484
|
+
{sys:python -uc "import base64,sys; base64.encode(sys.stdin,sys.stdout)" < "{imagesdir=}{target}"}" />
|
485
|
+
{link#}</a>
|
486
|
+
</span>
|
487
|
+
|
488
|
+
[image-blockmacro]
|
489
|
+
<div class="imageblock"{id? id="{id}"}>
|
490
|
+
<div class="content">
|
491
|
+
<a class="image" href="{link}">
|
492
|
+
<img alt="{1={target}}"{1? title="{1}"}{width? width="{width}"}{height? height="{height}"} src="data:image/{eval:os.path.splitext('{target}')[1][1:]};base64,
|
493
|
+
{sys:python -uc "import base64,sys; base64.encode(sys.stdin,sys.stdout)" < "{imagesdir=}{target}"}" />
|
494
|
+
{link#}</a>
|
495
|
+
</div>
|
496
|
+
<div class="title">{caption={figure_caption}}{title}</div>
|
497
|
+
</div>
|
498
|
+
|
499
|
+
[admonitionblock]
|
500
|
+
<div class="admonitionblock"{id? id="{id}"}>
|
501
|
+
<table><tr>
|
502
|
+
<td class="icon">
|
503
|
+
{icons%}<div class="title">{caption}</div>
|
504
|
+
{icons#}<img alt="{caption}" src="data:image/png;base64,
|
505
|
+
{icons#}{sys:python -uc "import base64,sys; base64.encode(sys.stdin,sys.stdout)" < "{icon={iconsdir}/{name}.png}"}" />
|
506
|
+
</td>
|
507
|
+
<td class="content">
|
508
|
+
<div class="title">{title}</div>
|
509
|
+
|
|
510
|
+
</td>
|
511
|
+
</tr></table>
|
512
|
+
</div>
|
513
|
+
|
514
|
+
endif::data-uri[]
|