192 |
- |
1 |
#
|
|
|
2 |
# html4.conf
|
|
|
3 |
#
|
|
|
4 |
# Asciidoc HTML 4.01 configuration file.
|
|
|
5 |
#
|
|
|
6 |
|
|
|
7 |
[miscellaneous]
|
|
|
8 |
outfilesuffix=.html
|
|
|
9 |
|
|
|
10 |
[attributes]
|
|
|
11 |
basebackend=html
|
|
|
12 |
basebackend-html=
|
|
|
13 |
basebackend-html4=
|
|
|
14 |
hr=<hr>
|
|
|
15 |
|
|
|
16 |
[replacements2]
|
|
|
17 |
# Line break.
|
|
|
18 |
(?m)^(.*)\s\+$=\1<br>
|
|
|
19 |
|
|
|
20 |
[replacements]
|
|
|
21 |
ifdef::asciidoc7compatible[]
|
|
|
22 |
# Superscripts.
|
|
|
23 |
\^(.+?)\^=<sup>\1</sup>
|
|
|
24 |
# Subscripts.
|
|
|
25 |
~(.+?)~=<sub>\1</sub>
|
|
|
26 |
endif::asciidoc7compatible[]
|
|
|
27 |
|
|
|
28 |
[ruler-blockmacro]
|
|
|
29 |
<hr>
|
|
|
30 |
|
|
|
31 |
[pagebreak-blockmacro]
|
|
|
32 |
<div style="page-break-after:always"></div>
|
|
|
33 |
|
|
|
34 |
[pi-blockmacro]
|
|
|
35 |
<?{target}{0? {0}}?>
|
|
|
36 |
|
|
|
37 |
[pi-inlinemacro]
|
|
|
38 |
template::[pi-blockmacro]
|
|
|
39 |
|
|
|
40 |
[image-inlinemacro]
|
|
|
41 |
<a href="{link}"{role? class="{role}"}>
|
|
|
42 |
# src attribute must be first attribute for blogpost compatibility.
|
|
|
43 |
{data-uri%}<img src="{imagesdir=}{imagesdir?/}{target}" style="border-width: 0; vertical-align: text-bottom;" alt="{alt={target}}"{width? width="{width}"}{height? height="{height}"}{title? title="{title}"}>
|
|
|
44 |
{data-uri#}<img style="border-width: 0; vertical-align: text-bottom;" alt="{alt={target}}"{width? width="{width}"}{height? height="{height}"}{title? title="{title}"}
|
|
|
45 |
{data-uri#}{sys:"{python}" -u -c "import mimetypes,base64,sys; print('src=\x22data:' + mimetypes.guess_type(r'{target}')[0] + ';base64,'); base64.encode(sys.stdin.buffer,sys.stdout.buffer)" < "{eval:os.path.join(r"{indir={outdir}}",r"{imagesdir=}",r"{target}")}"}">
|
|
|
46 |
{link#}</a>
|
|
|
47 |
|
|
|
48 |
[image-blockmacro]
|
|
|
49 |
<div{align? align="{align}"}{role? class="{role}"}{float? style="float:{float};"}>
|
|
|
50 |
<a name="{id}"></a>
|
|
|
51 |
<a href="{link}">
|
|
|
52 |
{data-uri%}<img src="{imagesdir=}{imagesdir?/}{target}" style="border-width: 0;" alt="{alt={target}}"{width? width="{width}"}{height? height="{height}"}>
|
|
|
53 |
{data-uri#}<img alt="{alt={target}}"{width? width="{width}"}{height? height="{height}"}
|
|
|
54 |
{data-uri#}{sys:"{python}" -u -c "import mimetypes,base64,sys; print('src=\x22data:' + mimetypes.guess_type(r'{target}')[0] + ';base64,'); base64.encode(sys.stdin.buffer,sys.stdout.buffer)" < "{eval:os.path.join(r"{indir={outdir}}",r"{imagesdir=}",r"{target}")}"}">
|
|
|
55 |
{link#}</a>
|
|
|
56 |
<p><b>{caption={figure-caption} {counter:figure-number}. }</b>{title}</p>
|
|
|
57 |
</div>
|
|
|
58 |
|
|
|
59 |
[unfloat-blockmacro]
|
|
|
60 |
<br clear="all">
|
|
|
61 |
|
|
|
62 |
[indexterm-inlinemacro]
|
|
|
63 |
# Index term.
|
|
|
64 |
{empty}
|
|
|
65 |
|
|
|
66 |
[indexterm2-inlinemacro]
|
|
|
67 |
# Index term.
|
|
|
68 |
# Single entry index term that is visible in the primary text flow.
|
|
|
69 |
{1}
|
|
|
70 |
|
|
|
71 |
[footnote-inlinemacro]
|
|
|
72 |
# footnote:[<text>].
|
|
|
73 |
<br><i>[{0}]</i><br>
|
|
|
74 |
|
|
|
75 |
[footnoteref-inlinemacro]
|
|
|
76 |
# footnoteref:[<id>], create reference to footnote.
|
|
|
77 |
{2%}<br><i><a href="#_footnote_{1}">[{1}]</a></i><br>
|
|
|
78 |
# footnoteref:[<id>,<text>], create footnote with ID.
|
|
|
79 |
{2#}<br><i><a name="_footnote_{1}">[{2}]</a></i><br>
|
|
|
80 |
|
|
|
81 |
[callout-inlinemacro]
|
|
|
82 |
# Callout.
|
|
|
83 |
<b><{index}></b>
|
|
|
84 |
|
|
|
85 |
# Comment line macros.
|
|
|
86 |
[comment-inlinemacro]
|
|
|
87 |
{showcomments#}<br><span style="background:yellow;">{passtext}</span><br>
|
|
|
88 |
|
|
|
89 |
[comment-blockmacro]
|
|
|
90 |
{showcomments#}<p><span style="background:yellow;">{passtext}</span></p>
|
|
|
91 |
|
|
|
92 |
[literal-inlinemacro]
|
|
|
93 |
# Inline literal.
|
|
|
94 |
<code>{passtext}</code>
|
|
|
95 |
|
|
|
96 |
# List tags.
|
|
|
97 |
[listtags-bulleted]
|
|
|
98 |
list={id?<a name="{id}"></a>}{title?<p><b>{title}</b></p>}<ul{role? class="{role}"}>|</ul>
|
|
|
99 |
item=<li>|</li>
|
|
|
100 |
text=<p>|</p>
|
|
|
101 |
|
|
|
102 |
[listtags-numbered]
|
|
|
103 |
list={id?<a name="{id}"></a>}{title?<p><b>{title}</b></p>}<ol type="{style@arabic:1}{style@loweralpha:a}{style@upperalpha:A}{style@lowerroman:i}{style@upperroman:I}"{start? start="{start}"}{role? class="{role}"}>|</ol>
|
|
|
104 |
item=<li>|</li>
|
|
|
105 |
text=<p>|</p>
|
|
|
106 |
|
|
|
107 |
[listtags-labeled]
|
|
|
108 |
list={id?<a name="{id}"></a>}{title?<p><b>{title}</b></p>}<dl{role? class="{role}"}>|</dl>
|
|
|
109 |
entry=
|
|
|
110 |
label=
|
|
|
111 |
term=<dt>{strong-option?<strong>}|{strong-option?</strong>}</dt>
|
|
|
112 |
item=<dd>|</dd>
|
|
|
113 |
text=<p>|</p>
|
|
|
114 |
|
|
|
115 |
[listtags-horizontal]
|
|
|
116 |
list={id?<a name="{id}"></a>}{title?<p><b>{title}</b></p>}<table cellpadding="4"{role? class="{role}"}>|</table>
|
|
|
117 |
entry=<tr valign="top">|</tr>
|
|
|
118 |
label=<td{labelwidth? width="{labelwidth}%"}>{strong-option?<strong>}|{strong-option?</strong>}</td>
|
|
|
119 |
term=|<br>
|
|
|
120 |
item=<td{itemwidth? width="{itemwidth}%"}>|</td>
|
|
|
121 |
text=<p>|</p>
|
|
|
122 |
|
|
|
123 |
[listtags-callout]
|
|
|
124 |
list={id?<a name="{id}"></a>}{title?<p><b>{title}</b></p>}<ol{role? class="{role}"}>|</ol>
|
|
|
125 |
item=<li>|</li>
|
|
|
126 |
text=<p>|</p>
|
|
|
127 |
|
|
|
128 |
[listtags-qanda]
|
|
|
129 |
list={id?<a name="{id}"></a>}{title?<p><b>{title}</b></p>}<ol{role? class="{role}"}>|</ol>
|
|
|
130 |
entry=<li>|</li>
|
|
|
131 |
label=
|
|
|
132 |
term=<p><em>|</em></p>
|
|
|
133 |
item=
|
|
|
134 |
text=<p>|</p>
|
|
|
135 |
|
|
|
136 |
[listtags-glossary]
|
|
|
137 |
list={id?<a name="{id}"></a>}{title?<p><b>{title}</b></p>}<dl{role? class="{role}"}>|</dl>
|
|
|
138 |
entry=
|
|
|
139 |
label=
|
|
|
140 |
term=<dt>|</dt>
|
|
|
141 |
item=<dd>|</dd>
|
|
|
142 |
text=<p>|</p>
|
|
|
143 |
|
|
|
144 |
[listtags-bibliography]
|
|
|
145 |
list={id?<a name="{id}"></a>}{title?<p><b>{title}</b></p>}<ul{role? class="{role}"}>|</ul>
|
|
|
146 |
item=<li>|</li>
|
|
|
147 |
text=<p>|</p>
|
|
|
148 |
|
|
|
149 |
[tags]
|
|
|
150 |
# Quoted text.
|
|
|
151 |
emphasis=<em>{1?<span class="{1}">}|{1?</span>}</em>
|
|
|
152 |
strong=<strong>{1?<span class="{1}">}|{1?</span>}</strong>
|
|
|
153 |
monospaced=<code>{1?<span class="{1}">}|{1?</span>}</code>
|
|
|
154 |
singlequoted={lsquo}{1?<span class="{1}">}|{1?</span>}{rsquo}
|
|
|
155 |
doublequoted={ldquo}{1?<span class="{1}">}|{1?</span>}{rdquo}
|
|
|
156 |
unquoted={1?<span class="{1}">}|{1?</span>}
|
|
|
157 |
superscript=<sup>{1?<span class="{1}">}|{1?</span>}</sup>
|
|
|
158 |
subscript=<sub>{1?<span class="{1}">}|{1?</span>}</sub>
|
|
|
159 |
|
|
|
160 |
ifdef::deprecated-quotes[]
|
|
|
161 |
# Override with deprecated quote attributes.
|
|
|
162 |
emphasis={role?<span class="{role}">}<em{1,2,3? style="}{1?color:{1};}{2?background-color:{2};}{3?font-size:{3}em;}{1,2,3?"}>|</em>{role?</span>}
|
|
|
163 |
strong={role?<span class="{role}">}<strong{1,2,3? style="}{1?color:{1};}{2?background-color:{2};}{3?font-size:{3}em;}{1,2,3?"}>|</strong>{role?</span>}
|
|
|
164 |
monospaced={role?<span class="{role}">}<code{1,2,3? style="}{1?color:{1};}{2?background-color:{2};}{3?font-size:{3}em;}{1,2,3?"}>|</code>{role?</span>}
|
|
|
165 |
singlequoted={role?<span class="{role}">}{1,2,3?<span style="}{1?color:{1};}{2?background-color:{2};}{3?font-size:{3}em;}{1,2,3?">}{amp}#8216;|{amp}#8217;{1,2,3?</span>}{role?</span>}
|
|
|
166 |
doublequoted={role?<span class="{role}">}{1,2,3?<span style="}{1?color:{1};}{2?background-color:{2};}{3?font-size:{3}em;}{1,2,3?">}{amp}#8220;|{amp}#8221;{1,2,3?</span>}{role?</span>}
|
|
|
167 |
unquoted={role?<span class="{role}">}{1,2,3?<span style="{1?color:{1};}{2?background-color:{2};}{3?font-size:{3}em;}">}|{1,2,3?</span>}{role?</span>}
|
|
|
168 |
superscript={role?<span class="{role}">}<sup{1,2,3? style="}{1?color:{1};}{2?background-color:{2};}{3?font-size:{3}em;}{1,2,3?"}>|</sup>{role?</span>}
|
|
|
169 |
subscript={role?<span class="{role}">}<sub{1,2,3? style="}{1?color:{1};}{2?background-color:{2};}{3?font-size:{3}em;}{1,2,3?"}>|</sub>{role?</span>}
|
|
|
170 |
endif::deprecated-quotes[]
|
|
|
171 |
|
|
|
172 |
# Inline macros
|
|
|
173 |
[http-inlinemacro]
|
|
|
174 |
<a href="{name}:{target}">{0={name}:{target}}</a>
|
|
|
175 |
[https-inlinemacro]
|
|
|
176 |
<a href="{name}:{target}">{0={name}:{target}}</a>
|
|
|
177 |
[ftp-inlinemacro]
|
|
|
178 |
<a href="{name}:{target}">{0={name}:{target}}</a>
|
|
|
179 |
[file-inlinemacro]
|
|
|
180 |
<a href="{name}:{target}">{0={name}:{target}}</a>
|
|
|
181 |
[irc-inlinemacro]
|
|
|
182 |
<a href="{name}:{target}">{0={name}:{target}}</a>
|
|
|
183 |
[mailto-inlinemacro]
|
|
|
184 |
<a href="mailto:{target}">{0={target}}</a>
|
|
|
185 |
[callto-inlinemacro]
|
|
|
186 |
<a href="{name}:{target}">{0={target}}</a>
|
|
|
187 |
[link-inlinemacro]
|
|
|
188 |
<a href="{target}">{0={target}}</a>
|
|
|
189 |
# anchor:id[text]
|
|
|
190 |
[anchor-inlinemacro]
|
|
|
191 |
<a name="{target}"></a>
|
|
|
192 |
# [[id,text]]
|
|
|
193 |
[anchor2-inlinemacro]
|
|
|
194 |
<a name="{1}"></a>
|
|
|
195 |
# [[[id]]]
|
|
|
196 |
[anchor3-inlinemacro]
|
|
|
197 |
<a name="{1}"></a>[{1}]
|
|
|
198 |
# xref:id[text]
|
|
|
199 |
[xref-inlinemacro]
|
|
|
200 |
<a href="#{target}">{0=[{target}]}</a>
|
|
|
201 |
# <<id,text>>
|
|
|
202 |
[xref2-inlinemacro]
|
|
|
203 |
<a href="#{1}">{2=[{1}]}</a>
|
|
|
204 |
|
|
|
205 |
# Special word substitution.
|
|
|
206 |
[emphasizedwords]
|
|
|
207 |
<em>{words}</em>
|
|
|
208 |
[monospacedwords]
|
|
|
209 |
<code>{words}</code>
|
|
|
210 |
[strongwords]
|
|
|
211 |
<strong>{words}</strong>
|
|
|
212 |
|
|
|
213 |
# Paragraph substitution.
|
|
|
214 |
[paragraph]
|
|
|
215 |
<p{role? class="{role}"}>{id?<a name="{id}"></a>}{title?<b>{title}</b><br>}
|
|
|
216 |
|
|
|
|
217 |
</p>
|
|
|
218 |
|
|
|
219 |
[admonitionparagraph]
|
|
|
220 |
template::[admonitionblock]
|
|
|
221 |
|
|
|
222 |
# Delimited blocks.
|
|
|
223 |
[passthroughblock]
|
|
|
224 |
|
|
|
|
225 |
|
|
|
226 |
[listingblock]
|
|
|
227 |
<a name="{id}"></a>
|
|
|
228 |
<p><b>{title}</b></p>
|
|
|
229 |
<table border="0" bgcolor="#e8e8e8" width="100%" cellpadding="4"{role? class="{role}"}><tr><td>
|
|
|
230 |
<pre><code>
|
|
|
231 |
|
|
|
|
232 |
</code></pre>
|
|
|
233 |
</td></tr></table>
|
|
|
234 |
|
|
|
235 |
[literalblock]
|
|
|
236 |
<a name="{id}"></a>
|
|
|
237 |
<p><b>{title}</b></p>
|
|
|
238 |
<pre{role? class="{role}"}><code>
|
|
|
239 |
|
|
|
|
240 |
</code></pre>
|
|
|
241 |
|
|
|
242 |
[sidebarblock]
|
|
|
243 |
<a name="{id}"></a>
|
|
|
244 |
<table frame="border" bgcolor="#ffffee" width="100%" cellpadding="4"{role? class="{role}"}>
|
|
|
245 |
<tr><td>
|
|
|
246 |
<p><em>{title}</em></p>
|
|
|
247 |
|
|
|
|
248 |
</td></tr></table>
|
|
|
249 |
|
|
|
250 |
[openblock]
|
|
|
251 |
<div{id? id="{id}"}{role? class="{role}"}>
|
|
|
252 |
<p><b>{title}</b></p>
|
|
|
253 |
|
|
|
|
254 |
</div>
|
|
|
255 |
|
|
|
256 |
[partintroblock]
|
|
|
257 |
template::[openblock]
|
|
|
258 |
|
|
|
259 |
[abstractblock]
|
|
|
260 |
template::[quoteblock]
|
|
|
261 |
|
|
|
262 |
[quoteblock]
|
|
|
263 |
<a name="{id}"></a>
|
|
|
264 |
<blockquote{role? class="{role}"}>
|
|
|
265 |
<p><b>{title}</b></p>
|
|
|
266 |
|
|
|
|
267 |
<p align="right">
|
|
|
268 |
<em>{citetitle}</em>{attribution?<br>}
|
|
|
269 |
— {attribution}
|
|
|
270 |
</p>
|
|
|
271 |
</blockquote>
|
|
|
272 |
|
|
|
273 |
[verseblock]
|
|
|
274 |
<a name="{id}"></a>
|
|
|
275 |
<blockquote{role? class="{role}"}>
|
|
|
276 |
<p><b>{title}</b></p>
|
|
|
277 |
# Font inheritance broken in IE6.
|
|
|
278 |
<pre style="font-family: inherit;">
|
|
|
279 |
|
|
|
|
280 |
</pre>
|
|
|
281 |
<p align="left">
|
|
|
282 |
<em>{citetitle}</em>{attribution?<br>}
|
|
|
283 |
— {attribution}
|
|
|
284 |
</p>
|
|
|
285 |
</blockquote>
|
|
|
286 |
|
|
|
287 |
[exampleblock]
|
|
|
288 |
<a name="{id}"></a>
|
|
|
289 |
<table frame="void" width="100%" cellpadding="4"{role? class="{role}"}>
|
|
|
290 |
<tr><td style="border-left: 2px solid silver;">
|
|
|
291 |
|
|
|
|
292 |
</td></tr></table>
|
|
|
293 |
<p><b>{caption={example-caption} {counter:example-number}. }</b>{title}</p>
|
|
|
294 |
|
|
|
295 |
[admonitionblock]
|
|
|
296 |
<a name="{id}"></a>
|
|
|
297 |
<table frame="void" cellpadding="4"{role? class="{role}"}>
|
|
|
298 |
<tr valign="top">
|
|
|
299 |
<td>
|
|
|
300 |
{data-uri%}{icons#}<img src="{icon={iconsdir}/{name}.png}" alt="{caption}">
|
|
|
301 |
{data-uri#}{icons#}<img alt="{caption}" src="data:image/png;base64,
|
|
|
302 |
{data-uri#}{icons#}{sys:"{python}" -u -c "import base64,sys; base64.encode(sys.stdin.buffer,sys.stdout.buffer)" < "{eval:os.path.join(r"{indir={outdir}}",r"{icon={iconsdir}/{name}.png}")}"}">
|
|
|
303 |
{icons%}<p><b><u>{caption}</u></b></p>
|
|
|
304 |
</td>
|
|
|
305 |
<td style="border-left: 1px solid silver;">
|
|
|
306 |
<p><b>{title}</b></p>
|
|
|
307 |
|
|
|
|
308 |
</td></tr></table>
|
|
|
309 |
|
|
|
310 |
[mathblock]
|
|
|
311 |
# Here to suppress missing block warning (html4 does not include math
|
|
|
312 |
# JavaScripts).
|
|
|
313 |
<a name="{id}"></a>
|
|
|
314 |
<p><b>{title}</b></p>
|
|
|
315 |
<div{role? class="{role}"}>
|
|
|
316 |
|
|
|
|
317 |
</div>
|
|
|
318 |
|
|
|
319 |
# Tables.
|
|
|
320 |
[tabletags-default]
|
|
|
321 |
bodyrow=<tr>|</tr>
|
|
|
322 |
headdata=<th {colspan@1::colspan="{colspan}" }{rowspan@1::rowspan="{rowspan}" }align="{halign}"{autowidth-option! width="{colpcwidth}%"} valign="{valign}">|</th>
|
|
|
323 |
footdata=<td {colspan@1::colspan="{colspan}" }{rowspan@1::rowspan="{rowspan}" }align="{halign}"{autowidth-option! width="{colpcwidth}%"} style="font-weight:bold" valign="{valign}">|</td>
|
|
|
324 |
bodydata=<td {colspan@1::colspan="{colspan}" }{rowspan@1::rowspan="{rowspan}" }align="{halign}"{autowidth-option! width="{colpcwidth}%"} valign="{valign}">|</td>
|
|
|
325 |
paragraph=<p>|</p>
|
|
|
326 |
|
|
|
327 |
[tabletags-header]
|
|
|
328 |
paragraph=<p><strong>|</strong></p>
|
|
|
329 |
|
|
|
330 |
[tabletags-emphasis]
|
|
|
331 |
paragraph=<p><em>|</em></p>
|
|
|
332 |
|
|
|
333 |
[tabletags-strong]
|
|
|
334 |
paragraph=<p><strong>|</strong></p>
|
|
|
335 |
|
|
|
336 |
[tabletags-monospaced]
|
|
|
337 |
paragraph=<p><code>|</code></p>
|
|
|
338 |
|
|
|
339 |
[tabletags-verse]
|
|
|
340 |
bodydata=<td {colspan@1::colspan="{colspan}" }{rowspan@1::rowspan="{rowspan}" }align="{halign}"{autowidth-option! width="{colpcwidth}%"} valign="{valign}"><pre style="font-family: inherit;">|</pre></td>
|
|
|
341 |
paragraph=
|
|
|
342 |
|
|
|
343 |
[tabletags-literal]
|
|
|
344 |
bodydata=<td {colspan@1::colspan="{colspan}" }{rowspan@1::rowspan="{rowspan}" }align="{halign}"{autowidth-option! width="{colpcwidth}%"} valign="{valign}"><pre><code>|</code></pre></td>
|
|
|
345 |
paragraph=
|
|
|
346 |
|
|
|
347 |
[tabletags-asciidoc]
|
|
|
348 |
bodydata=<td {colspan@1::colspan="{colspan}" }{rowspan@1::rowspan="{rowspan}" }align="{halign}"{autowidth-option! width="{colpcwidth}%"} valign="{valign}"><div>|</div></td>
|
|
|
349 |
paragraph=
|
|
|
350 |
|
|
|
351 |
[table]
|
|
|
352 |
<div{align? align="{align}"}{role? class="{role}"}>
|
|
|
353 |
<a name="{id}"></a>
|
|
|
354 |
<table rules="{grid=all}"
|
|
|
355 |
style="float:{float};"
|
|
|
356 |
{autowidth-option%}width="{tablepcwidth}%"
|
|
|
357 |
{autowidth-option#}{width#width="{tablepcwidth}%"}
|
|
|
358 |
frame="{frame%border}"
|
|
|
359 |
frame="{frame@topbot:hsides}{frame@all:border}{frame@none:void}{frame@sides:vsides}"
|
|
|
360 |
cellspacing="0" cellpadding="4">
|
|
|
361 |
{headrows#}<thead>
|
|
|
362 |
{headrows}
|
|
|
363 |
{headrows#}</thead>
|
|
|
364 |
{footrows#}<tfoot>
|
|
|
365 |
{footrows}
|
|
|
366 |
{footrows#}</tfoot>
|
|
|
367 |
<tbody>
|
|
|
368 |
{bodyrows}
|
|
|
369 |
</tbody>
|
|
|
370 |
</table>
|
|
|
371 |
<p><b>{caption={table-caption} {counter:table-number}. }</b>{title}</p>
|
|
|
372 |
</div>
|
|
|
373 |
|
|
|
374 |
#--------------------------------------------------------------------
|
|
|
375 |
# Deprecated old table definitions.
|
|
|
376 |
#
|
|
|
377 |
|
|
|
378 |
[miscellaneous]
|
|
|
379 |
# Screen width in pixels.
|
|
|
380 |
pagewidth=800
|
|
|
381 |
pageunits=
|
|
|
382 |
|
|
|
383 |
[old_tabledef-default]
|
|
|
384 |
template=old_table
|
|
|
385 |
bodyrow=<tr>|</tr>
|
|
|
386 |
headdata=<th align="{colalign}" width="{colwidth}{pageunits}">|</th>
|
|
|
387 |
footdata=<td align="{colalign}" width="{colwidth}{pageunits}"><strong>|</strong></td>
|
|
|
388 |
bodydata=<td align="{colalign}" width="{colwidth}{pageunits}" valign="top">|</td>
|
|
|
389 |
|
|
|
390 |
[old_table]
|
|
|
391 |
<p><b>{caption={table-caption}}</b>{title}</p>
|
|
|
392 |
<a name="{id}"></a>
|
|
|
393 |
<table rules="{grid=none}"
|
|
|
394 |
frame="{frame%hsides}"
|
|
|
395 |
frame="{frame@topbot:hsides}{frame@all:border}{frame@none:void}{frame@sides:vsides}"
|
|
|
396 |
cellspacing="0" cellpadding="4">
|
|
|
397 |
{headrows#}<thead>
|
|
|
398 |
{headrows}
|
|
|
399 |
{headrows#}</thead>
|
|
|
400 |
{footrows#}<tfoot>
|
|
|
401 |
{footrows}
|
|
|
402 |
{footrows#}</tfoot>
|
|
|
403 |
<tbody>
|
|
|
404 |
{bodyrows}
|
|
|
405 |
</tbody>
|
|
|
406 |
</table>
|
|
|
407 |
|
|
|
408 |
# End of deprecated old table definitions.
|
|
|
409 |
#--------------------------------------------------------------------
|
|
|
410 |
|
|
|
411 |
[floatingtitle]
|
|
|
412 |
<h{level@1:2}{level@2:3}{level@3:4}{level@4:5}>{id?<a name="{id}"></a>}{title}</h{level@1:2}{level@2:3}{level@3:4}{level@4:5}>
|
|
|
413 |
|
|
|
414 |
[preamble]
|
|
|
415 |
# Untitled elements between header and first section title.
|
|
|
416 |
<a name="preamble"></a>
|
|
|
417 |
|
|
|
|
418 |
|
|
|
419 |
[sect0]
|
|
|
420 |
{doctype-manpage%}{hr}
|
|
|
421 |
<h1>{id?<a name="{id}"></a>}{title}</h1>
|
|
|
422 |
|
|
|
|
423 |
|
|
|
424 |
[sect1]
|
|
|
425 |
{doctype-manpage%}{hr}
|
|
|
426 |
<h2{role? class="{role}"}>{id?<a name="{id}"></a>}{numbered?{sectnum} }{title}</h2>
|
|
|
427 |
|
|
|
|
428 |
|
|
|
429 |
[sect2]
|
|
|
430 |
<h3{role? class="{role}"}>{id?<a name="{id}"></a>}{numbered?{sectnum} }{title}</h3>
|
|
|
431 |
|
|
|
|
432 |
|
|
|
433 |
[sect3]
|
|
|
434 |
<h4{role? class="{role}"}>{id?<a name="{id}"></a>}{numbered?{sectnum} }{title}</h4>
|
|
|
435 |
|
|
|
|
436 |
|
|
|
437 |
[sect4]
|
|
|
438 |
<h5{role? class="{role}"}>{id?<a name="{id}"></a>}{title}</h5>
|
|
|
439 |
|
|
|
|
440 |
|
|
|
441 |
[appendix]
|
|
|
442 |
{hr}
|
|
|
443 |
<h2{role? class="{role}"}>{id?<a name="{id}"></a>}{numbered?{sectnum} }{appendix-caption} {counter:appendix-number:A}: {title}</h2>
|
|
|
444 |
|
|
|
|
445 |
|
|
|
446 |
[footer]
|
|
|
447 |
# Removing footer date and version if footer-style set to none
|
|
|
448 |
ifeval::["{footer-style=default}"!="none"]
|
|
|
449 |
<p></p>
|
|
|
450 |
<p></p>
|
|
|
451 |
<hr><p><small>
|
|
|
452 |
template::[footer-text]
|
|
|
453 |
</small></p>
|
|
|
454 |
endif::[]
|
|
|
455 |
</body>
|
|
|
456 |
</html>
|
|
|
457 |
|
|
|
458 |
[header-declarations]
|
|
|
459 |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
|
460 |
<html>
|
|
|
461 |
<head>
|
|
|
462 |
<meta http-equiv="Content-Type" content="text/html; charset={encoding}">
|
|
|
463 |
<meta name="generator" content="AsciiDoc {asciidoc-version}">
|
|
|
464 |
<meta name="description" content="{description}">
|
|
|
465 |
<meta name="keywords" content="{keywords}">
|
|
|
466 |
<title>{title}</title>
|
|
|
467 |
{title%}<title>{doctitle=}</title>
|
|
|
468 |
{docinfo1,docinfo2#}{include:{docdir}/docinfo.html}
|
|
|
469 |
{docinfo,docinfo2#}{include:{docdir}/{docname}-docinfo.html}
|
|
|
470 |
template::[docinfo]
|
|
|
471 |
</head>
|
|
|
472 |
|
|
|
473 |
[footer-date]
|
|
|
474 |
# Default footer date is document modification time
|
|
|
475 |
ifeval::["{footer-style=default}"!="revdate"]
|
|
|
476 |
{docdate} {doctime}
|
|
|
477 |
endif::[]
|
|
|
478 |
# If set to "revdate", it'll be set to the revision date
|
|
|
479 |
ifeval::["{footer-style=default}"=="revdate"]
|
|
|
480 |
{revdate}
|
|
|
481 |
endif::[]
|
|
|
482 |
|
|
|
483 |
#--------------------------------
|
|
|
484 |
# article and book document types
|
|
|
485 |
#--------------------------------
|
|
|
486 |
ifndef::doctype-manpage[]
|
|
|
487 |
|
|
|
488 |
[header]
|
|
|
489 |
template::[header-declarations]
|
|
|
490 |
<body>
|
|
|
491 |
{notitle%}<h1>{doctitle}</h1>
|
|
|
492 |
{doctitle#}<p>
|
|
|
493 |
{doctitle#}<strong>{author}</strong><br>
|
|
|
494 |
{doctitle#}<code><<a href="mailto:{email}">{email}</a>></code><br>
|
|
|
495 |
{doctitle#}version {revnumber}{revdate?,}
|
|
|
496 |
{doctitle#}{revdate}
|
|
|
497 |
{doctitle#}<br>{revremark}
|
|
|
498 |
{doctitle#}</p>
|
|
|
499 |
|
|
|
500 |
endif::doctype-manpage[]
|
|
|
501 |
|
|
|
502 |
#-------------------------
|
|
|
503 |
# manpage document type
|
|
|
504 |
#-------------------------
|
|
|
505 |
ifdef::doctype-manpage[]
|
|
|
506 |
|
|
|
507 |
[tags]
|
|
|
508 |
# This is more inline with man page convention.
|
|
|
509 |
emphasis=<b>|</b>
|
|
|
510 |
vlistterm=<dt><b>|</b></dt>
|
|
|
511 |
|
|
|
512 |
[header]
|
|
|
513 |
template::[header-declarations]
|
|
|
514 |
<body>
|
|
|
515 |
{hr}
|
|
|
516 |
<h1>
|
|
|
517 |
{doctitle} Manual Page
|
|
|
518 |
</h1>
|
|
|
519 |
{hr}
|
|
|
520 |
|
|
|
521 |
[name]
|
|
|
522 |
<h2>{manname-title}</h2>
|
|
|
523 |
<p>{manname} -
|
|
|
524 |
{manpurpose}
|
|
|
525 |
</p>
|
|
|
526 |
|
|
|
527 |
[synopsis]
|
|
|
528 |
template::[sect1]
|
|
|
529 |
|
|
|
530 |
endif::doctype-manpage[]
|