Subversion Repositories configs

Rev

Details | Last modification | View Log | RSS feed

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