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