1 | # |
---|
2 | # html5.conf |
---|
3 | # |
---|
4 | # Asciidoc configuration file. |
---|
5 | # html5 backend. |
---|
6 | # |
---|
7 | |
---|
8 | [miscellaneous] |
---|
9 | outfilesuffix=.html |
---|
10 | |
---|
11 | [attributes] |
---|
12 | basebackend=html |
---|
13 | basebackend-html= |
---|
14 | basebackend-html5= |
---|
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 | [blockdef-pass] |
---|
35 | asciimath-style=template="asciimathblock",subs=() |
---|
36 | latexmath-style=template="latexmathblock",subs=() |
---|
37 | |
---|
38 | [macros] |
---|
39 | (?u)^(?P<name>audio|video)::(?P<target>\S*?)(\[(?P<attrlist>.*?)\])$=# |
---|
40 | # math macros. |
---|
41 | # Special characters are escaped in HTML math markup. |
---|
42 | (?su)[\\]?(?P<name>asciimath|latexmath):(?P<subslist>\S*?)\[(?P<passtext>.*?)(?<!\\)\]=[specialcharacters] |
---|
43 | (?u)^(?P<name>asciimath|latexmath)::(?P<subslist>\S*?)(\[(?P<passtext>.*?)\])$=#[specialcharacters] |
---|
44 | |
---|
45 | [asciimath-inlinemacro] |
---|
46 | `{passtext}` |
---|
47 | |
---|
48 | [asciimath-blockmacro] |
---|
49 | <div class="mathblock{role? {role}}{unbreakable-option? unbreakable}"{id? id="{id}"}> |
---|
50 | <div class="content"> |
---|
51 | <div class="title">{title}</div> |
---|
52 | `{passtext}` |
---|
53 | </div></div> |
---|
54 | |
---|
55 | [asciimathblock] |
---|
56 | <div class="mathblock{role? {role}}{unbreakable-option? unbreakable}"{id? id="{id}"}> |
---|
57 | <div class="content"> |
---|
58 | <div class="title">{title}</div> |
---|
59 | `|` |
---|
60 | </div></div> |
---|
61 | |
---|
62 | [latexmath-inlinemacro] |
---|
63 | {passtext} |
---|
64 | |
---|
65 | [latexmath-blockmacro] |
---|
66 | <div class="mathblock{role? {role}}{unbreakable-option? unbreakable}"{id? id="{id}"}> |
---|
67 | <div class="content"> |
---|
68 | <div class="title">{title}</div> |
---|
69 | {passtext} |
---|
70 | </div></div> |
---|
71 | |
---|
72 | [latexmathblock] |
---|
73 | <div class="mathblock{role? {role}}{unbreakable-option? unbreakable}"{id? id="{id}"}> |
---|
74 | <div class="content"> |
---|
75 | <div class="title">{title}</div> |
---|
76 | | |
---|
77 | </div></div> |
---|
78 | |
---|
79 | [image-inlinemacro] |
---|
80 | <span class="image{role? {role}}"> |
---|
81 | <a class="image" href="{link}"> |
---|
82 | {data-uri%}<img src="{imagesdir=}{imagesdir?/}{target}" alt="{alt={target}}"{width? width="{width}"}{height? height="{height}"}{title? title="{title}"}> |
---|
83 | {data-uri#}<img alt="{alt={target}}"{width? width="{width}"}{height? height="{height}"}{title? title="{title}"} src="data:image/{eval:os.path.splitext(r'{target}')[1][1:]};base64, |
---|
84 | {data-uri#}{sys3:"{python}" -u -c "import base64,sys; base64.encode(sys.stdin,sys.stdout)" < "{eval:os.path.join(r"{indir={outdir}}",r"{imagesdir=}",r"{target}")}"}"> |
---|
85 | {link#}</a> |
---|
86 | </span> |
---|
87 | |
---|
88 | [image-blockmacro] |
---|
89 | <div class="imageblock{style? {style}}{role? {role}}{unbreakable-option? unbreakable}"{id? id="{id}"}{align? style="text-align:{align};"}{float? style="float:{float};"}> |
---|
90 | <div class="content"> |
---|
91 | <a class="image" href="{link}"> |
---|
92 | {data-uri%}<img src="{imagesdir=}{imagesdir?/}{target}" alt="{alt={target}}"{width? width="{width}"}{height? height="{height}"}> |
---|
93 | {data-uri#}<img alt="{alt={target}}"{width? width="{width}"}{height? height="{height}"} src="data:image/{eval:os.path.splitext(r'{target}')[1][1:]};base64, |
---|
94 | {data-uri#}{sys:"{python}" -u -c "import base64,sys; base64.encode(sys.stdin,sys.stdout)" < "{eval:os.path.join(r"{indir={outdir}}",r"{imagesdir=}",r"{target}")}"}"> |
---|
95 | {link#}</a> |
---|
96 | </div> |
---|
97 | <div class="title">{caption={figure-caption} {counter:figure-number}. }{title}</div> |
---|
98 | </div> |
---|
99 | |
---|
100 | [audio-blockmacro] |
---|
101 | <div class="audioblock{role? {role}}{unbreakable-option? unbreakable}"{id? id="{id}"}> |
---|
102 | <div class="title">{caption=}{title}</div> |
---|
103 | <div class="content"> |
---|
104 | <audio src="{imagesdir=}{imagesdir?/}{target}"{autoplay-option? autoplay}{nocontrols-option! controls}{loop-option? loop}> |
---|
105 | Your browser does not support the audio tag. |
---|
106 | </audio> |
---|
107 | </div></div> |
---|
108 | |
---|
109 | [video-blockmacro] |
---|
110 | <div class="videoblock{role? {role}}{unbreakable-option? unbreakable}"{id? id="{id}"}> |
---|
111 | <div class="title">{caption=}{title}</div> |
---|
112 | <div class="content"> |
---|
113 | <video src="{imagesdir=}{imagesdir?/}{target}"{width? width="{width}"}{height? height="{height}"}{poster? poster="{poster}"}{autoplay-option? autoplay}{nocontrols-option! controls}{loop-option? loop}> |
---|
114 | Your browser does not support the video tag. |
---|
115 | </video> |
---|
116 | </div></div> |
---|
117 | |
---|
118 | [unfloat-blockmacro] |
---|
119 | <div style="clear:both;"></div> |
---|
120 | |
---|
121 | [toc-blockmacro] |
---|
122 | template::[toc] |
---|
123 | |
---|
124 | [indexterm-inlinemacro] |
---|
125 | # Index term. |
---|
126 | {empty} |
---|
127 | |
---|
128 | [indexterm2-inlinemacro] |
---|
129 | # Index term. |
---|
130 | # Single entry index term that is visible in the primary text flow. |
---|
131 | {1} |
---|
132 | |
---|
133 | [footnote-inlinemacro] |
---|
134 | # footnote:[<text>]. |
---|
135 | <span class="footnote"><br>[{0}]<br></span> |
---|
136 | |
---|
137 | [footnoteref-inlinemacro] |
---|
138 | # footnoteref:[<id>], create reference to footnote. |
---|
139 | {2%}<span class="footnoteref"><br><a href="#_footnote_{1}">[{1}]</a><br></span> |
---|
140 | # footnoteref:[<id>,<text>], create footnote with ID. |
---|
141 | {2#}<span class="footnote" id="_footnote_{1}"><br>[{2}]<br></span> |
---|
142 | |
---|
143 | [callout-inlinemacro] |
---|
144 | ifndef::icons[] |
---|
145 | <b><{index}></b> |
---|
146 | endif::icons[] |
---|
147 | ifdef::icons[] |
---|
148 | ifndef::data-uri[] |
---|
149 | <img src="{icon={iconsdir}/callouts/{index}.png}" alt="{index}"> |
---|
150 | endif::data-uri[] |
---|
151 | ifdef::data-uri[] |
---|
152 | <img alt="{index}" src="data:image/png;base64, |
---|
153 | {sys:"{python}" -u -c "import base64,sys; base64.encode(sys.stdin,sys.stdout)" < "{eval:os.path.join(r"{indir={outdir}}",r"{icon={iconsdir}/callouts/{index}.png}")}"}"> |
---|
154 | endif::data-uri[] |
---|
155 | endif::icons[] |
---|
156 | |
---|
157 | # Comment line macros. |
---|
158 | [comment-inlinemacro] |
---|
159 | {showcomments#}<br><span class="comment">{passtext}</span><br> |
---|
160 | |
---|
161 | [comment-blockmacro] |
---|
162 | {showcomments#}<p><span class="comment">{passtext}</span></p> |
---|
163 | |
---|
164 | [literal-inlinemacro] |
---|
165 | # Inline literal. |
---|
166 | <span class="monospaced">{passtext}</span> |
---|
167 | |
---|
168 | # List tags. |
---|
169 | [listtags-bulleted] |
---|
170 | list=<div class="ulist{style? {style}}{compact-option? compact}{role? {role}}"{id? id="{id}"}>{title?<div class="title">{title}</div>}<ul>|</ul></div> |
---|
171 | item=<li>|</li> |
---|
172 | text=<p>|</p> |
---|
173 | |
---|
174 | [listtags-numbered] |
---|
175 | # The start attribute is not valid XHTML 1.1 but all browsers support it. |
---|
176 | list=<div class="olist{style? {style}}{compact-option? compact}{role? {role}}"{id? id="{id}"}>{title?<div class="title">{title}</div>}<ol class="{style}"{start? start="{start}"}>|</ol></div> |
---|
177 | item=<li>|</li> |
---|
178 | text=<p>|</p> |
---|
179 | |
---|
180 | [listtags-labeled] |
---|
181 | list=<div class="dlist{compact-option? compact}{role? {role}}"{id? id="{id}"}>{title?<div class="title">{title}</div>}<dl>|</dl></div> |
---|
182 | entry= |
---|
183 | label= |
---|
184 | term=<dt class="hdlist1{strong-option? strong}">|</dt> |
---|
185 | item=<dd>|</dd> |
---|
186 | text=<p>|</p> |
---|
187 | |
---|
188 | [listtags-horizontal] |
---|
189 | list=<div class="hdlist{compact-option? compact}{role? {role}}"{id? id="{id}"}>{title?<div class="title">{title}</div>}<table>{labelwidth?<col width="{labelwidth}%">}{itemwidth?<col width="{itemwidth}%">}|</table></div> |
---|
190 | label=<td class="hdlist1{strong-option? strong}">|</td> |
---|
191 | term=|<br> |
---|
192 | entry=<tr>|</tr> |
---|
193 | item=<td class="hdlist2">|</td> |
---|
194 | text=<p style="margin-top: 0;">|</p> |
---|
195 | |
---|
196 | [listtags-qanda] |
---|
197 | list=<div class="qlist{style? {style}}{role? {role}}"{id? id="{id}"}>{title?<div class="title">{title}</div>}<ol>|</ol></div> |
---|
198 | entry=<li>|</li> |
---|
199 | label= |
---|
200 | term=<p><em>|</em></p> |
---|
201 | item= |
---|
202 | text=<p>|</p> |
---|
203 | |
---|
204 | [listtags-callout] |
---|
205 | ifndef::icons[] |
---|
206 | list=<div class="colist{style? {style}}{role? {role}}"{id? id="{id}"}>{title?<div class="title">{title}</div>}<ol>|</ol></div> |
---|
207 | item=<li>|</li> |
---|
208 | text=<p>|</p> |
---|
209 | endif::icons[] |
---|
210 | ifdef::icons[] |
---|
211 | list=<div class="colist{style? {style}}{role? {role}}"{id? id="{id}"}>{title?<div class="title">{title}</div>}<table>|</table></div> |
---|
212 | ifndef::data-uri[] |
---|
213 | item=<tr><td><img src="{iconsdir}/callouts/{listindex}.png" alt="{listindex}"></td><td>|</td></tr> |
---|
214 | endif::data-uri[] |
---|
215 | ifdef::data-uri[] |
---|
216 | item=<tr><td><img alt="{listindex}" src="data:image/png;base64, {sys:"{python}" -u -c "import base64,sys; base64.encode(sys.stdin,sys.stdout)" < "{eval:os.path.join(r"{indir={outdir}}",r"{icon={iconsdir}/callouts/{listindex}.png}")}"}"></td><td>|</td></tr> |
---|
217 | endif::data-uri[] |
---|
218 | text=| |
---|
219 | endif::icons[] |
---|
220 | |
---|
221 | [listtags-glossary] |
---|
222 | list=<div class="dlist{style? {style}}{role? {role}}"{id? id="{id}"}>{title?<div class="title">{title}</div>}<dl>|</dl></div> |
---|
223 | label= |
---|
224 | entry= |
---|
225 | term=<dt>|</dt> |
---|
226 | item=<dd>|</dd> |
---|
227 | text=<p>|</p> |
---|
228 | |
---|
229 | [listtags-bibliography] |
---|
230 | list=<div class="ulist{style? {style}}{role? {role}}"{id? id="{id}"}>{title?<div class="title">{title}</div>}<ul>|</ul></div> |
---|
231 | item=<li>|</li> |
---|
232 | text=<p>|</p> |
---|
233 | |
---|
234 | [tags] |
---|
235 | # Quoted text. |
---|
236 | emphasis=<em>{1?<span class="{1}">}|{1?</span>}</em> |
---|
237 | strong=<strong>{1?<span class="{1}">}|{1?</span>}</strong> |
---|
238 | monospaced=<span class="monospaced{1? {1}}">|</span> |
---|
239 | singlequoted={lsquo}{1?<span class="{1}">}|{1?</span>}{rsquo} |
---|
240 | doublequoted={ldquo}{1?<span class="{1}">}|{1?</span>}{rdquo} |
---|
241 | unquoted={1?<span class="{1}">}|{1?</span>} |
---|
242 | superscript=<sup>{1?<span class="{1}">}|{1?</span>}</sup> |
---|
243 | subscript=<sub>{1?<span class="{1}">}|{1?</span>}</sub> |
---|
244 | |
---|
245 | ifdef::deprecated-quotes[] |
---|
246 | # Override with deprecated quote attributes. |
---|
247 | 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>} |
---|
248 | 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>} |
---|
249 | monospaced=<span class="monospaced{role? {role}}"{1,2,3? style="}{1?color:{1};}{2?background-color:{2};}{3?font-size:{3}em;}{1,2,3?"}>|</span> |
---|
250 | 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>} |
---|
251 | 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>} |
---|
252 | 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>} |
---|
253 | 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>} |
---|
254 | 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>} |
---|
255 | endif::deprecated-quotes[] |
---|
256 | |
---|
257 | # Inline macros |
---|
258 | [http-inlinemacro] |
---|
259 | <a href="{name}:{target}">{0={name}:{target}}</a> |
---|
260 | [https-inlinemacro] |
---|
261 | <a href="{name}:{target}">{0={name}:{target}}</a> |
---|
262 | [ftp-inlinemacro] |
---|
263 | <a href="{name}:{target}">{0={name}:{target}}</a> |
---|
264 | [file-inlinemacro] |
---|
265 | <a href="{name}:{target}">{0={name}:{target}}</a> |
---|
266 | [irc-inlinemacro] |
---|
267 | <a href="{name}:{target}">{0={name}:{target}}</a> |
---|
268 | [mailto-inlinemacro] |
---|
269 | <a href="mailto:{target}">{0={target}}</a> |
---|
270 | [link-inlinemacro] |
---|
271 | <a href="{target}">{0={target}}</a> |
---|
272 | [callto-inlinemacro] |
---|
273 | <a href="{name}:{target}">{0={target}}</a> |
---|
274 | # anchor:id[text] |
---|
275 | [anchor-inlinemacro] |
---|
276 | <a id="{target}"></a> |
---|
277 | # [[id,text]] |
---|
278 | [anchor2-inlinemacro] |
---|
279 | <a id="{1}"></a> |
---|
280 | # [[[id]]] |
---|
281 | [anchor3-inlinemacro] |
---|
282 | <a id="{1}"></a>[{1}] |
---|
283 | # xref:id[text] |
---|
284 | [xref-inlinemacro] |
---|
285 | <a href="#{target}">{0=[{target}]}</a> |
---|
286 | # <<id,text>> |
---|
287 | [xref2-inlinemacro] |
---|
288 | <a href="#{1}">{2=[{1}]}</a> |
---|
289 | |
---|
290 | # Special word substitution. |
---|
291 | [emphasizedwords] |
---|
292 | <em>{words}</em> |
---|
293 | [monospacedwords] |
---|
294 | <span class="monospaced">{words}</span> |
---|
295 | [strongwords] |
---|
296 | <strong>{words}</strong> |
---|
297 | |
---|
298 | # Paragraph substitution. |
---|
299 | [paragraph] |
---|
300 | <div class="paragraph{role? {role}}{unbreakable-option? unbreakable}"{id? id="{id}"}>{title?<div class="title">{title}</div>}<p> |
---|
301 | | |
---|
302 | </p></div> |
---|
303 | |
---|
304 | [admonitionparagraph] |
---|
305 | template::[admonitionblock] |
---|
306 | |
---|
307 | # Delimited blocks. |
---|
308 | [listingblock] |
---|
309 | <div class="listingblock{role? {role}}{unbreakable-option? unbreakable}"{id? id="{id}"}> |
---|
310 | <div class="title">{caption=}{title}</div> |
---|
311 | <div class="content monospaced"> |
---|
312 | <pre> |
---|
313 | | |
---|
314 | </pre> |
---|
315 | </div></div> |
---|
316 | |
---|
317 | [literalblock] |
---|
318 | <div class="literalblock{role? {role}}{unbreakable-option? unbreakable}"{id? id="{id}"}> |
---|
319 | <div class="title">{title}</div> |
---|
320 | <div class="content monospaced"> |
---|
321 | <pre> |
---|
322 | | |
---|
323 | </pre> |
---|
324 | </div></div> |
---|
325 | |
---|
326 | [sidebarblock] |
---|
327 | <div class="sidebarblock{role? {role}}{unbreakable-option? unbreakable}"{id? id="{id}"}> |
---|
328 | <div class="content"> |
---|
329 | <div class="title">{title}</div> |
---|
330 | | |
---|
331 | </div></div> |
---|
332 | |
---|
333 | [openblock] |
---|
334 | <div class="openblock{role? {role}}{unbreakable-option? unbreakable}"{id? id="{id}"}> |
---|
335 | <div class="title">{title}</div> |
---|
336 | <div class="content"> |
---|
337 | | |
---|
338 | </div></div> |
---|
339 | |
---|
340 | [partintroblock] |
---|
341 | template::[openblock] |
---|
342 | |
---|
343 | [abstractblock] |
---|
344 | template::[quoteblock] |
---|
345 | |
---|
346 | [quoteblock] |
---|
347 | <div class="quoteblock{role? {role}}{unbreakable-option? unbreakable}"{id? id="{id}"}> |
---|
348 | <div class="title">{title}</div> |
---|
349 | <div class="content"> |
---|
350 | | |
---|
351 | </div> |
---|
352 | <div class="attribution"> |
---|
353 | <em>{citetitle}</em>{attribution?<br>} |
---|
354 | — {attribution} |
---|
355 | </div></div> |
---|
356 | |
---|
357 | [verseblock] |
---|
358 | <div class="verseblock{role? {role}}{unbreakable-option? unbreakable}"{id? id="{id}"}> |
---|
359 | <div class="title">{title}</div> |
---|
360 | <pre class="content"> |
---|
361 | | |
---|
362 | </pre> |
---|
363 | <div class="attribution"> |
---|
364 | <em>{citetitle}</em>{attribution?<br>} |
---|
365 | — {attribution} |
---|
366 | </div></div> |
---|
367 | |
---|
368 | [exampleblock] |
---|
369 | <div class="exampleblock{role? {role}}{unbreakable-option? unbreakable}"{id? id="{id}"}> |
---|
370 | <div class="title">{caption={example-caption} {counter:example-number}. }{title}</div> |
---|
371 | <div class="content"> |
---|
372 | | |
---|
373 | </div></div> |
---|
374 | |
---|
375 | [admonitionblock] |
---|
376 | <div class="admonitionblock{role? {role}}{unbreakable-option? unbreakable}"{id? id="{id}"}> |
---|
377 | <table><tr> |
---|
378 | <td class="icon"> |
---|
379 | {data-uri%}{icons#}<img src="{icon={iconsdir}/{name}.png}" alt="{caption}"> |
---|
380 | {data-uri#}{icons#}<img alt="{caption}" src="data:image/png;base64, |
---|
381 | {data-uri#}{icons#}{sys:"{python}" -u -c "import base64,sys; base64.encode(sys.stdin,sys.stdout)" < "{eval:os.path.join(r"{indir={outdir}}",r"{icon={iconsdir}/{name}.png}")}"}"> |
---|
382 | {icons%}<div class="title">{caption}</div> |
---|
383 | </td> |
---|
384 | <td class="content"> |
---|
385 | <div class="title">{title}</div> |
---|
386 | | |
---|
387 | </td> |
---|
388 | </tr></table> |
---|
389 | </div> |
---|
390 | |
---|
391 | # Tables. |
---|
392 | [tabletags-default] |
---|
393 | colspec=<col{autowidth-option! style="width:{colpcwidth}%;"}> |
---|
394 | bodyrow=<tr>|</tr> |
---|
395 | headdata=<th class="tableblock halign-{halign=left} valign-{valign=top}" {colspan@1::colspan="{colspan}" }{rowspan@1::rowspan="{rowspan}" }>|</th> |
---|
396 | bodydata=<td class="tableblock halign-{halign=left} valign-{valign=top}" {colspan@1::colspan="{colspan}" }{rowspan@1::rowspan="{rowspan}" }>|</td> |
---|
397 | paragraph=<p class="tableblock">|</p> |
---|
398 | |
---|
399 | [tabletags-header] |
---|
400 | paragraph=<p class="tableblock header">|</p> |
---|
401 | |
---|
402 | [tabletags-emphasis] |
---|
403 | paragraph=<p class="tableblock"><em>|</em></p> |
---|
404 | |
---|
405 | [tabletags-strong] |
---|
406 | paragraph=<p class="tableblock"><strong>|</strong></p> |
---|
407 | |
---|
408 | [tabletags-monospaced] |
---|
409 | paragraph=<p class="tableblock monospaced">|</p> |
---|
410 | |
---|
411 | [tabletags-verse] |
---|
412 | bodydata=<td class="tableblock halign-{halign=left} valign-{valign=top}" {colspan@1::colspan="{colspan}" }{rowspan@1::rowspan="{rowspan}" }><div class="verse">|</div></td> |
---|
413 | paragraph= |
---|
414 | |
---|
415 | [tabletags-literal] |
---|
416 | bodydata=<td class="tableblock halign-{halign=left} valign-{valign=top}" {colspan@1::colspan="{colspan}" }{rowspan@1::rowspan="{rowspan}" }><div class="literal monospaced"><pre>|</pre></div></td> |
---|
417 | paragraph= |
---|
418 | |
---|
419 | [tabletags-asciidoc] |
---|
420 | bodydata=<td class="tableblock halign-{halign=left} valign-{valign=top}" {colspan@1::colspan="{colspan}" }{rowspan@1::rowspan="{rowspan}" }><div>|</div></td> |
---|
421 | paragraph= |
---|
422 | |
---|
423 | [table] |
---|
424 | <table class="tableblock frame-{frame=all} grid-{grid=all}{role? {role}}{unbreakable-option? unbreakable}"{id? id="{id}"} |
---|
425 | style=" |
---|
426 | margin-left:{align@left:0}{align@center|right:auto}; margin-right:{align@left|center:auto}{align@right:0}; |
---|
427 | float:{float}; |
---|
428 | {autowidth-option%}width:{tablepcwidth}%; |
---|
429 | {autowidth-option#}{width#style=width:{tablepcwidth}%;} |
---|
430 | "> |
---|
431 | <caption class="title">{caption={table-caption} {counter:table-number}. }{title}</caption> |
---|
432 | {colspecs} |
---|
433 | {headrows#}<thead> |
---|
434 | {headrows} |
---|
435 | {headrows#}</thead> |
---|
436 | {footrows#}<tfoot> |
---|
437 | {footrows} |
---|
438 | {footrows#}</tfoot> |
---|
439 | <tbody> |
---|
440 | {bodyrows} |
---|
441 | </tbody> |
---|
442 | </table> |
---|
443 | |
---|
444 | #-------------------------------------------------------------------- |
---|
445 | # Deprecated old table definitions. |
---|
446 | # |
---|
447 | |
---|
448 | [miscellaneous] |
---|
449 | # Screen width in pixels. |
---|
450 | pagewidth=800 |
---|
451 | pageunits=px |
---|
452 | |
---|
453 | [old_tabledef-default] |
---|
454 | template=old_table |
---|
455 | colspec=<col style="width:{colwidth}{pageunits};" /> |
---|
456 | bodyrow=<tr>|</tr> |
---|
457 | headdata=<th class="tableblock halign-{colalign=left}">|</th> |
---|
458 | footdata=<td class="tableblock halign-{colalign=left}">|</td> |
---|
459 | bodydata=<td class="tableblock halign-{colalign=left}">|</td> |
---|
460 | |
---|
461 | [old_table] |
---|
462 | <table class="tableblock frame-{frame=all} grid-{grid=all}"{id? id="{id}"}> |
---|
463 | <caption class="title">{caption={table-caption}}{title}</caption> |
---|
464 | {colspecs} |
---|
465 | {headrows#}<thead> |
---|
466 | {headrows} |
---|
467 | {headrows#}</thead> |
---|
468 | {footrows#}<tfoot> |
---|
469 | {footrows} |
---|
470 | {footrows#}</tfoot> |
---|
471 | <tbody style="vertical-align:top;"> |
---|
472 | {bodyrows} |
---|
473 | </tbody> |
---|
474 | </table> |
---|
475 | |
---|
476 | # End of deprecated old table definitions. |
---|
477 | #-------------------------------------------------------------------- |
---|
478 | |
---|
479 | [floatingtitle] |
---|
480 | <h{level@0:1}{level@1:2}{level@2:3}{level@3:4}{level@4:5}{id? id="{id}"} class="float">{title}</h{level@0:1}{level@1:2}{level@2:3}{level@3:4}{level@4:5}> |
---|
481 | |
---|
482 | [preamble] |
---|
483 | # Untitled elements between header and first section title. |
---|
484 | <div id="preamble"> |
---|
485 | <div class="sectionbody"> |
---|
486 | | |
---|
487 | </div> |
---|
488 | </div> |
---|
489 | |
---|
490 | # Document sections. |
---|
491 | [sect0] |
---|
492 | <h1{id? id="{id}"}>{title}</h1> |
---|
493 | | |
---|
494 | |
---|
495 | [sect1] |
---|
496 | <div class="sect1{style? {style}}{role? {role}}"> |
---|
497 | <h2{id? id="{id}"}>{numbered?{sectnum} }{title}</h2> |
---|
498 | <div class="sectionbody"> |
---|
499 | | |
---|
500 | </div> |
---|
501 | </div> |
---|
502 | |
---|
503 | [sect2] |
---|
504 | <div class="sect2{style? {style}}{role? {role}}"> |
---|
505 | <h3{id? id="{id}"}>{numbered?{sectnum} }{title}</h3> |
---|
506 | | |
---|
507 | </div> |
---|
508 | |
---|
509 | [sect3] |
---|
510 | <div class="sect3{style? {style}}{role? {role}}"> |
---|
511 | <h4{id? id="{id}"}>{numbered?{sectnum} }{title}</h4> |
---|
512 | | |
---|
513 | </div> |
---|
514 | |
---|
515 | [sect4] |
---|
516 | <div class="sect4{style? {style}}{role? {role}}"> |
---|
517 | <h5{id? id="{id}"}>{title}</h5> |
---|
518 | | |
---|
519 | </div> |
---|
520 | |
---|
521 | [appendix] |
---|
522 | <div class="sect1{style? {style}}{role? {role}}"> |
---|
523 | <h2{id? id="{id}"}>{numbered?{sectnum} }{appendix-caption} {counter:appendix-number:A}: {title}</h2> |
---|
524 | <div class="sectionbody"> |
---|
525 | | |
---|
526 | </div> |
---|
527 | </div> |
---|
528 | |
---|
529 | [toc] |
---|
530 | <div id="toc"> |
---|
531 | <div id="toctitle">{toc-title}</div> |
---|
532 | <noscript><p><b>JavaScript must be enabled in your browser to display the table of contents.</b></p></noscript> |
---|
533 | </div> |
---|
534 | |
---|
535 | [header] |
---|
536 | <!DOCTYPE html> |
---|
537 | <html lang="{lang=en}"> |
---|
538 | <head> |
---|
539 | <meta http-equiv="Content-Type" content="text/html; charset={encoding}"> |
---|
540 | <meta name="generator" content="AsciiDoc {asciidoc-version}"> |
---|
541 | <meta name="description" content="{description}"> |
---|
542 | <meta name="keywords" content="{keywords}"> |
---|
543 | <title>{title}</title> |
---|
544 | {title%}<title>{doctitle=}</title> |
---|
545 | ifdef::linkcss[] |
---|
546 | <link rel="stylesheet" href="{stylesdir=.}/{theme=asciidoc}.css" type="text/css"> |
---|
547 | ifeval::["{source-highlighter}"=="pygments"] |
---|
548 | <link rel="stylesheet" href="{stylesdir=.}/pygments.css" type="text/css"> |
---|
549 | endif::[] |
---|
550 | |
---|
551 | # DEPRECATED: 'pygments' attribute. |
---|
552 | ifdef::pygments[<link rel="stylesheet" href="{stylesdir=.}/pygments.css" type="text/css">] |
---|
553 | |
---|
554 | ifdef::toc2[<link rel="stylesheet" href="{stylesdir=.}/toc2.css" type="text/css" />] |
---|
555 | <link rel="stylesheet" href="{stylesdir=.}/{stylesheet}" type="text/css"> |
---|
556 | endif::linkcss[] |
---|
557 | ifndef::linkcss[] |
---|
558 | <style type="text/css"> |
---|
559 | include1::{theme%}{stylesdir=./stylesheets}/asciidoc.css[] |
---|
560 | include1::{themedir}/{theme}.css[] |
---|
561 | ifeval::["{source-highlighter}"=="pygments"] |
---|
562 | include1::{stylesdir=./stylesheets}/pygments.css[] |
---|
563 | endif::[] |
---|
564 | |
---|
565 | # DEPRECATED: 'pygments' attribute. |
---|
566 | ifdef::pygments[] |
---|
567 | include1::{stylesdir=./stylesheets}/pygments.css[] |
---|
568 | endif::pygments[] |
---|
569 | |
---|
570 | ifdef::toc2[] |
---|
571 | include1::{stylesdir=./stylesheets}/toc2.css[] |
---|
572 | endif::toc2[] |
---|
573 | include1::{stylesheet}[] |
---|
574 | </style> |
---|
575 | endif::linkcss[] |
---|
576 | ifndef::disable-javascript[] |
---|
577 | ifdef::linkcss[] |
---|
578 | <script type="text/javascript" src="{scriptsdir=.}/asciidoc.js"></script> |
---|
579 | <script type="text/javascript" src="{scriptsdir=.}/{theme}.js"></script> |
---|
580 | <script type="text/javascript"> |
---|
581 | #TODO: Escape not necessary in HTML5? |
---|
582 | # Escape as CDATA to pass validators. |
---|
583 | /*<![CDATA[*/ |
---|
584 | asciidoc.install({toc,toc2?{toclevels}}); |
---|
585 | /*]]>*/ |
---|
586 | </script> |
---|
587 | endif::linkcss[] |
---|
588 | ifndef::linkcss[] |
---|
589 | <script type="text/javascript"> |
---|
590 | # Escape as CDATA to pass validators. |
---|
591 | /*<![CDATA[*/ |
---|
592 | include1::{scriptsdir=./javascripts}/asciidoc.js[] |
---|
593 | include1::{themedir}/{theme}.js[warnings=False] |
---|
594 | asciidoc.install({toc,toc2?{toclevels}}); |
---|
595 | /*]]>*/ |
---|
596 | </script> |
---|
597 | endif::linkcss[] |
---|
598 | endif::disable-javascript[] |
---|
599 | ifdef::asciimath[] |
---|
600 | ifdef::linkcss[] |
---|
601 | <script type="text/javascript" src="{scriptsdir=.}/ASCIIMathML.js"></script> |
---|
602 | endif::linkcss[] |
---|
603 | ifndef::linkcss[] |
---|
604 | <script type="text/javascript"> |
---|
605 | # Escape as CDATA to pass validators. |
---|
606 | /*<![CDATA[*/ |
---|
607 | include1::{scriptsdir=./javascripts}/ASCIIMathML.js[] |
---|
608 | /*]]>*/ |
---|
609 | </script> |
---|
610 | endif::linkcss[] |
---|
611 | endif::asciimath[] |
---|
612 | ifdef::latexmath[] |
---|
613 | ifdef::linkcss[] |
---|
614 | <script type="text/javascript" src="{scriptsdir=.}/LaTeXMathML.js"></script> |
---|
615 | endif::linkcss[] |
---|
616 | ifndef::linkcss[] |
---|
617 | <script type="text/javascript"> |
---|
618 | # Escape as CDATA to pass validators. |
---|
619 | /*<![CDATA[*/ |
---|
620 | include1::{scriptsdir=./javascripts}/LaTeXMathML.js[] |
---|
621 | /*]]>*/ |
---|
622 | </script> |
---|
623 | endif::linkcss[] |
---|
624 | endif::latexmath[] |
---|
625 | {docinfo1,docinfo2#}{include:{docdir}/docinfo.html} |
---|
626 | {docinfo,docinfo2#}{include:{docdir}/{docname}-docinfo.html} |
---|
627 | template::[docinfo] |
---|
628 | </head> |
---|
629 | <body class="{doctype}"{max-width? style="max-width:{max-width}"}{css-signature? id="{css-signature}"}> |
---|
630 | # Article, book header. |
---|
631 | ifndef::doctype-manpage[] |
---|
632 | <div id="header"> |
---|
633 | ifndef::notitle[<h1>{doctitle}</h1>] |
---|
634 | ifdef::doctitle[] |
---|
635 | <span id="author">{author}</span><br> |
---|
636 | <span id="email" class="monospaced"><<a href="mailto:{email}">{email}</a>></span><br> |
---|
637 | <span id="revnumber">version {revnumber}{revdate?,}</span> |
---|
638 | <span id="revdate">{revdate}</span> |
---|
639 | <br><span id="revremark">{revremark}</span> |
---|
640 | endif::doctitle[] |
---|
641 | {toc,toc2#}{toc-placement$auto:}{template:toc} |
---|
642 | </div> |
---|
643 | endif::doctype-manpage[] |
---|
644 | # Man page header. |
---|
645 | ifdef::doctype-manpage[] |
---|
646 | <div id="header"> |
---|
647 | <h1> |
---|
648 | {doctitle} Manual Page |
---|
649 | </h1> |
---|
650 | {toc,toc2#}{toc-placement$auto:}{template:toc} |
---|
651 | <h2>{manname-title}</h2> |
---|
652 | <div class="sectionbody"> |
---|
653 | <p>{manname} - |
---|
654 | {manpurpose} |
---|
655 | </p> |
---|
656 | </div> |
---|
657 | </div> |
---|
658 | endif::doctype-manpage[] |
---|
659 | <div id="content"> |
---|
660 | |
---|
661 | [footer] |
---|
662 | </div> |
---|
663 | {disable-javascript%<div id="footnotes"><hr></div>} |
---|
664 | <div id="footer"> |
---|
665 | <div id="footer-text"> |
---|
666 | template::[footer-text] |
---|
667 | </div> |
---|
668 | ifdef::badges[] |
---|
669 | <div id="footer-badges"> |
---|
670 | ifndef::icons[] |
---|
671 | Valid <a href="http://validator.w3.org/check?uri=referer">XHTML</a> |
---|
672 | and <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a>. |
---|
673 | endif::icons[] |
---|
674 | ifdef::icons[] |
---|
675 | <a href="http://validator.w3.org/check?uri=referer"> |
---|
676 | <img style="border:0;width:88px;height:31px" |
---|
677 | src="http://www.w3.org/Icons/valid-xhtml11-blue" |
---|
678 | alt="Valid XHTML 1.1" height="31" width="88"> |
---|
679 | </a> |
---|
680 | <a href="http://jigsaw.w3.org/css-validator/"> |
---|
681 | <img style="border:0;width:88px;height:31px" |
---|
682 | src="http://jigsaw.w3.org/css-validator/images/vcss-blue" |
---|
683 | alt="Valid CSS!"> |
---|
684 | </a> |
---|
685 | endif::icons[] |
---|
686 | </div> |
---|
687 | endif::badges[] |
---|
688 | </div> |
---|
689 | </body> |
---|
690 | </html> |
---|
691 | |
---|
692 | ifdef::doctype-manpage[] |
---|
693 | [synopsis] |
---|
694 | template::[sect1] |
---|
695 | endif::doctype-manpage[] |
---|
696 | |
---|