4 # Asciidoc configuration file.
5 # xhtml11 backend, generates XHTML 1.1 conformant markup.
18 (?m)^(.*)\s\+$=\1<br />
21 ifdef::asciidoc7compatible[]
23 \^(.+?)\^=<sup>\1</sup>
26 endif::asciidoc7compatible[]
31 [pagebreak-blockmacro]
32 <div style="page-break-after:always"></div>
35 asciimath-style=template="asciimathblock",subs=[]
36 latexmath-style=template="latexmathblock",subs=[]
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]
44 [asciimath-inlinemacro]
47 [asciimath-blockmacro]
48 <div class="mathblock{role? {role}}"{id? id="{id}"}>
50 <div class="title">{title}</div>
55 <div class="mathblock{role? {role}}"{id? id="{id}"}>
57 <div class="title">{title}</div>
61 [latexmath-inlinemacro]
64 [latexmath-blockmacro]
65 <div class="mathblock{role? {role}}"{id? id="{id}"}>
67 <div class="title">{title}</div>
72 <div class="mathblock{role? {role}}"{id? id="{id}"}>
74 <div class="title">{title}</div>
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}")}"}" />
88 <div class="imageblock{style? {style}}{role? {role}}"{id? id="{id}"}{align? style="text-align:{align};"}{float? style="float:{float};"}>
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}")}"}" />
96 <div class="title">{caption={figure-caption} {counter:figure-number}. }{title}</div>
100 <div style="clear:both;"></div>
102 [indexterm-inlinemacro]
106 [indexterm2-inlinemacro]
108 # Single entry index term that is visible in the primary text flow.
111 [footnote-inlinemacro]
113 <span class="footnote"><br />[{0}]<br /></span>
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>
121 [callout-inlinemacro]
123 <b><{index}></b>
127 <img src="{icon={iconsdir}/callouts/{index}.png}" alt="{index}" />
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}")}"}" />
135 # Comment line macros.
136 [comment-inlinemacro]
137 {showcomments#}<br /><span class="comment">{passtext}</span><br />
140 {showcomments#}<p><span class="comment">{passtext}</span></p>
142 [literal-inlinemacro]
148 list=<div class="ulist{style? {style}}{compact-option? compact}{role? {role}}"{id? id="{id}"}>{title?<div class="title">{title}</div>}<ul>|</ul></div>
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>
159 list=<div class="dlist{compact-option? compact}{role? {role}}"{id? id="{id}"}>{title?<div class="title">{title}</div>}<dl>|</dl></div>
162 term=<dt class="hdlist1{strong-option? strong}">|</dt>
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>
171 item=<td class="hdlist2">|</td>
172 text=<p style="margin-top: 0;">|</p>
175 list=<div class="qlist{style? {style}}{role? {role}}"{id? id="{id}"}>{title?<div class="title">{title}</div>}<ol>|</ol></div>
178 term=<p><em>|</em></p>
184 list=<div class="colist{style? {style}}{role? {role}}"{id? id="{id}"}>{title?<div class="title">{title}</div>}<ol>|</ol></div>
189 list=<div class="colist{style? {style}}{role? {role}}"{id? id="{id}"}>{title?<div class="title">{title}</div>}<table>|</table></div>
191 item=<tr><td><img src="{iconsdir}/callouts/{listindex}.png" alt="{listindex}" /></td><td>|</td></tr>
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>
200 list=<div class="dlist{style? {style}}{role? {role}}"{id? id="{id}"}>{title?<div class="title">{title}</div>}<dl>|</dl></div>
207 [listtags-bibliography]
208 list=<div class="ulist{style? {style}}{role? {role}}"{id? id="{id}"}>{title?<div class="title">{title}</div>}<ul>|</ul></div>
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>
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[]
237 <a href="{name}:{target}">{0={name}:{target}}</a>
239 <a href="{name}:{target}">{0={name}:{target}}</a>
241 <a href="{name}:{target}">{0={name}:{target}}</a>
243 <a href="{name}:{target}">{0={name}:{target}}</a>
245 <a href="{name}:{target}">{0={name}:{target}}</a>
247 <a href="mailto:{target}">{0={target}}</a>
249 <a href="{target}">{0={target}}</a>
251 <a href="{name}:{target}">{0={target}}</a>
254 <a id="{target}"></a>
256 [anchor2-inlinemacro]
259 [anchor3-inlinemacro]
260 <a id="{1}"></a>[{1}]
263 <a href="#{target}">{0=[{target}]}</a>
266 <a href="#{1}">{2=[{1}]}</a>
268 # Special word substitution.
274 <strong>{words}</strong>
276 # Paragraph substitution.
278 <div class="paragraph{role? {role}}"{id? id="{id}"}>{title?<div class="title">{title}</div>}<p>
282 [admonitionparagraph]
283 template::[admonitionblock]
287 <div class="listingblock{role? {role}}"{id? id="{id}"}>
288 <div class="title">{caption=}{title}</div>
289 <div class="content">
296 <div class="literalblock{role? {role}}"{id? id="{id}"}>
297 <div class="title">{title}</div>
298 <div class="content">
305 <div class="sidebarblock{role? {role}}"{id? id="{id}"}>
306 <div class="content">
307 <div class="title">{title}</div>
312 <div class="openblock{role? {role}}"{id? id="{id}"}>
313 <div class="title">{title}</div>
314 <div class="content">
319 template::[openblock]
322 template::[quoteblock]
325 <div class="quoteblock{role? {role}}"{id? id="{id}"}>
326 <div class="title">{title}</div>
327 <div class="content">
330 <div class="attribution">
331 <em>{citetitle}</em>{attribution?<br />}
332 — {attribution}
336 <div class="verseblock{role? {role}}"{id? id="{id}"}>
337 <div class="title">{title}</div>
338 <pre class="content">
341 <div class="attribution">
342 <em>{citetitle}</em>{attribution?<br />}
343 — {attribution}
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">
354 <div class="admonitionblock{role? {role}}"{id? id="{id}"}>
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>
363 <div class="title">{title}</div>
371 colspec=<col{autowidth-option! width="{colpcwidth}%"} />
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>
378 paragraph=<p class="table header">|</p>
381 paragraph=<p class="table"><em>|</em></p>
384 paragraph=<p class="table"><strong>|</strong></p>
386 [tabletags-monospaced]
387 paragraph=<p class="table"><tt>|</tt></p>
390 bodydata=<td {colspan@1::colspan="{colspan}" }{rowspan@1::rowspan="{rowspan}" }align="{halign}" valign="{valign}"><div class="verse">|</div></td>
394 bodydata=<td {colspan@1::colspan="{colspan}" }{rowspan@1::rowspan="{rowspan}" }align="{halign}" valign="{valign}"><div class="literal"><pre><tt>|</tt></pre></div></td>
398 bodydata=<td {colspan@1::colspan="{colspan}" }{rowspan@1::rowspan="{rowspan}" }align="{halign}" valign="{valign}"><div>|</div></td>
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>
425 #--------------------------------------------------------------------
426 # Deprecated old table definitions.
430 # Screen width in pixels.
434 [old_tabledef-default]
436 colspec=<col width="{colwidth}{pageunits}" />
438 headdata=<th align="{colalign}">|</th>
439 footdata=<td align="{colalign}">|</td>
440 bodydata=<td align="{colalign}">|</td>
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>
462 # End of deprecated old table definitions.
463 #--------------------------------------------------------------------
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}>
469 # Untitled elements between header and first section title.
471 <div class="sectionbody">
478 <h1{id? id="{id}"}>{title}</h1>
482 <div class="sect1{style? {style}}{role? {role}}">
483 <h2{id? id="{id}"}>{numbered?{sectnum} }{title}</h2>
484 <div class="sectionbody">
490 <div class="sect2{style? {style}}{role? {role}}">
491 <h3{id? id="{id}"}>{numbered?{sectnum} }{title}</h3>
496 <div class="sect3{style? {style}}{role? {role}}">
497 <h4{id? id="{id}"}>{numbered?{sectnum} }{title}</h4>
502 <div class="sect4{style? {style}}{role? {role}}">
503 <h5{id? id="{id}"}>{title}</h5>
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">
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>
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}">
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" />
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" />
538 <link rel="stylesheet" href="{stylesdir=.}/{theme={backend}}-quirks.css" type="text/css" />
540 <link rel="stylesheet" href="{stylesdir=.}/{stylesheet}" type="text/css" />
541 ifdef::pygments[<link rel="stylesheet" href="{stylesdir=.}/pygments.css" type="text/css" />]
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[]
550 include1::{stylesdir=./stylesheets}/{theme={backend}}-quirks.css[]
552 include1::{stylesheet}[]
554 include1::{stylesdir=./stylesheets}/pygments.css[]
558 ifndef::disable-javascript[]
560 <script type="text/javascript">
561 # Escape as CDATA to pass validators.
563 document.addEventListener("DOMContentLoaded", function()\{asciidoc.footnotes();{toc? asciidoc.toc({toclevels});}\}, false);
566 <script type="text/javascript" src="{scriptsdir=.}/asciidoc-xhtml11.js"></script>
569 <script type="text/javascript">
570 # Escape as CDATA to pass validators.
572 document.addEventListener("DOMContentLoaded", function()\{asciidoc.footnotes();{toc? asciidoc.toc({toclevels});}\}, false);
573 include1::{scriptsdir=./javascripts}/asciidoc-xhtml11.js[]
577 endif::disable-javascript[]
580 <script type="text/javascript" src="{scriptsdir=.}/ASCIIMathML.js"></script>
583 <script type="text/javascript">
584 # Escape as CDATA to pass validators.
586 include1::{scriptsdir=./javascripts}/ASCIIMathML.js[]
593 <script type="text/javascript" src="{scriptsdir=.}/LaTeXMathML.js"></script>
596 <script type="text/javascript">
597 # Escape as CDATA to pass validators.
599 include1::{scriptsdir=./javascripts}/LaTeXMathML.js[]
604 {docinfo1,docinfo2#}{include:{docdir}/docinfo.html}
605 {docinfo,docinfo2#}{include:{docdir}/{docname}-docinfo.html}
607 <body class="{doctype}"{max-width? style="max-width:{max-width}"}>
610 <a href="/"><h1 id="title">i3 - improved tiling WM</h1></a>
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>
617 <br style="clear: both">
619 # Article, book header.
620 ifndef::doctype-manpage[]
622 ifndef::notitle[<h1>{doctitle}</h1>]
624 <span id="author">{author}</span><br />
625 <span id="email"><tt><<a href="mailto:{email}">{email}</a>></tt></span><br />
626 <span id="revnumber">version {revnumber}{revdate?,}</span>
627 <span id="revdate">{revdate}</span>
628 <br /><span id="revremark">{revremark}</span>
630 ifdef::toc[{template:toc}]
632 endif::doctype-manpage[]
634 ifdef::doctype-manpage[]
637 {doctitle} Manual Page
639 ifdef::toc[{template:toc}]
640 <h2>{manname-title}</h2>
641 <div class="sectionbody">
647 endif::doctype-manpage[]
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>
658 ifdef::doctype-manpage[]
661 endif::doctype-manpage[]
664 include::{backend}-quirks.conf[]