4 # Asciidoc configuration file.
\r
5 # xhtml11 backend, generates XHTML 1.1 conformant markup.
\r
14 basebackend-xhtml11=
\r
18 (?m)^(.*)\s\+$=\1<br />
\r
21 ifdef::asciidoc7compatible[]
\r
23 \^(.+?)\^=<sup>\1</sup>
\r
25 ~(.+?)~=<sub>\1</sub>
\r
26 endif::asciidoc7compatible[]
\r
31 [pagebreak-blockmacro]
\r
32 <div style="page-break-after:always"></div>
\r
35 asciimath-style=template="asciimathblock",subs=[]
\r
36 latexmath-style=template="latexmathblock",subs=[]
\r
40 # Special characters are escaped in HTML math markup.
\r
41 (?su)[\\]?(?P<name>asciimath|latexmath):(?P<subslist>\S*?)\[(?P<passtext>.*?)(?<!\\)\]=[specialcharacters]
\r
42 (?u)^(?P<name>asciimath|latexmath)::(?P<subslist>\S*?)(\[(?P<passtext>.*?)\])$=#[specialcharacters]
\r
44 [asciimath-inlinemacro]
\r
47 [asciimath-blockmacro]
\r
48 <div class="mathblock{role? {role}}"{id? id="{id}"}>
\r
49 <div class="content">
\r
50 <div class="title">{title}</div>
\r
55 <div class="mathblock{role? {role}}"{id? id="{id}"}>
\r
56 <div class="content">
\r
57 <div class="title">{title}</div>
\r
61 [latexmath-inlinemacro]
\r
64 [latexmath-blockmacro]
\r
65 <div class="mathblock{role? {role}}"{id? id="{id}"}>
\r
66 <div class="content">
\r
67 <div class="title">{title}</div>
\r
72 <div class="mathblock{role? {role}}"{id? id="{id}"}>
\r
73 <div class="content">
\r
74 <div class="title">{title}</div>
\r
79 <span class="image{role? {role}}">
\r
80 <a class="image" href="{link}">
\r
81 {data-uri%}<img src="{imagesdir=}{imagesdir?/}{target}" alt="{alt={target}}"{width? width="{width}"}{height? height="{height}"}{title? title="{title}"} />
\r
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,
\r
83 {data-uri#}{sys3:python -uc "import base64,sys; base64.encode(sys.stdin,sys.stdout)" < "{eval:os.path.join("{indir={outdir}}","{imagesdir=}","{target}")}"}" />
\r
88 <div class="imageblock{style? {style}}{role? {role}}"{id? id="{id}"}{align? style="text-align:{align};"}{float? style="float:{float};"}>
\r
89 <div class="content">
\r
90 <a class="image" href="{link}">
\r
91 {data-uri%}<img src="{imagesdir=}{imagesdir?/}{target}" alt="{alt={target}}"{width? width="{width}"}{height? height="{height}"} />
\r
92 {data-uri#}<img alt="{alt={target}}"{width? width="{width}"}{height? height="{height}"} src="data:image/{eval:os.path.splitext('{target}')[1][1:]};base64,
\r
93 {data-uri#}{sys:python -uc "import base64,sys; base64.encode(sys.stdin,sys.stdout)" < "{eval:os.path.join("{indir={outdir}}","{imagesdir=}","{target}")}"}" />
\r
96 <div class="title">{caption={figure-caption} {counter:figure-number}. }{title}</div>
\r
99 [unfloat-blockmacro]
\r
100 <div style="clear:both;"></div>
\r
102 [indexterm-inlinemacro]
\r
106 [indexterm2-inlinemacro]
\r
108 # Single entry index term that is visible in the primary text flow.
\r
111 [footnote-inlinemacro]
\r
112 # footnote:[<text>].
\r
113 <span class="footnote"><br />[{0}]<br /></span>
\r
115 [footnoteref-inlinemacro]
\r
116 # footnoteref:[<id>], create reference to footnote.
\r
117 {2%}<span class="footnoteref"><br /><a href="#_footnote_{1}">[{1}]</a><br /></span>
\r
118 # footnoteref:[<id>,<text>], create footnote with ID.
\r
119 {2#}<span class="footnote" id="_footnote_{1}"><br />[{2}]<br /></span>
\r
121 [callout-inlinemacro]
\r
123 <b><{index}></b>
\r
127 <img src="{icon={iconsdir}/callouts/{index}.png}" alt="{index}" />
\r
130 <img alt="{index}" src="data:image/png;base64,
\r
131 {sys:python -uc "import base64,sys; base64.encode(sys.stdin,sys.stdout)" < "{eval:os.path.join("{indir={outdir}}","{icon={iconsdir}/callouts/{index}.png}")}"}" />
\r
135 # Comment line macros.
\r
136 [comment-inlinemacro]
\r
137 {showcomments#}<br /><span class="comment">{passtext}</span><br />
\r
139 [comment-blockmacro]
\r
140 {showcomments#}<p><span class="comment">{passtext}</span></p>
\r
142 [literal-inlinemacro]
\r
144 <tt>{passtext}</tt>
\r
147 [listtags-bulleted]
\r
148 list=<div class="ulist{style? {style}}{compact-option? compact}{role? {role}}"{id? id="{id}"}>{title?<div class="title">{title}</div>}<ul>|</ul></div>
\r
152 [listtags-numbered]
\r
153 # The start attribute is not valid XHTML 1.1 but all browsers support it.
\r
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>
\r
159 list=<div class="dlist{compact-option? compact}{role? {role}}"{id? id="{id}"}>{title?<div class="title">{title}</div>}<dl>|</dl></div>
\r
162 term=<dt class="hdlist1{strong-option? strong}">|</dt>
\r
166 [listtags-horizontal]
\r
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>
\r
168 label=<td class="hdlist1{strong-option? strong}">|</td>
\r
171 item=<td class="hdlist2">|</td>
\r
172 text=<p style="margin-top: 0;">|</p>
\r
175 list=<div class="qlist{style? {style}}{role? {role}}"{id? id="{id}"}>{title?<div class="title">{title}</div>}<ol>|</ol></div>
\r
178 term=<p><em>|</em></p>
\r
184 list=<div class="colist{style? {style}}{role? {role}}"{id? id="{id}"}>{title?<div class="title">{title}</div>}<ol>|</ol></div>
\r
189 list=<div class="colist{style? {style}}{role? {role}}"{id? id="{id}"}>{title?<div class="title">{title}</div>}<table>|</table></div>
\r
191 item=<tr><td><img src="{iconsdir}/callouts/{listindex}.png" alt="{listindex}" /></td><td>|</td></tr>
\r
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>
\r
199 [listtags-glossary]
\r
200 list=<div class="dlist{style? {style}}{role? {role}}"{id? id="{id}"}>{title?<div class="title">{title}</div>}<dl>|</dl></div>
\r
207 [listtags-bibliography]
\r
208 list=<div class="ulist{style? {style}}{role? {role}}"{id? id="{id}"}>{title?<div class="title">{title}</div>}<ul>|</ul></div>
\r
214 emphasis=<em>{1?<span class="{1}">}|{1?</span>}</em>
\r
215 strong=<strong>{1?<span class="{1}">}|{1?</span>}</strong>
\r
216 monospaced=<tt>{1?<span class="{1}">}|{1?</span>}</tt>
\r
217 singlequoted={lsquo}{1?<span class="{1}">}|{1?</span>}{rsquo}
\r
218 doublequoted={ldquo}{1?<span class="{1}">}|{1?</span>}{rdquo}
\r
219 unquoted={1?<span class="{1}">}|{1?</span>}
\r
220 superscript=<sup>{1?<span class="{1}">}|{1?</span>}</sup>
\r
221 subscript=<sub>{1?<span class="{1}">}|{1?</span>}</sub>
\r
223 ifdef::deprecated-quotes[]
\r
224 # Override with deprecated quote attributes.
\r
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>}
\r
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>}
\r
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>}
\r
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>}
\r
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>}
\r
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>}
\r
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>}
\r
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>}
\r
233 endif::deprecated-quotes[]
\r
237 <a href="{name}:{target}">{0={name}:{target}}</a>
\r
238 [https-inlinemacro]
\r
239 <a href="{name}:{target}">{0={name}:{target}}</a>
\r
241 <a href="{name}:{target}">{0={name}:{target}}</a>
\r
243 <a href="{name}:{target}">{0={name}:{target}}</a>
\r
245 <a href="{name}:{target}">{0={name}:{target}}</a>
\r
246 [mailto-inlinemacro]
\r
247 <a href="mailto:{target}">{0={target}}</a>
\r
249 <a href="{target}">{0={target}}</a>
\r
250 [callto-inlinemacro]
\r
251 <a href="{name}:{target}">{0={target}}</a>
\r
253 [anchor-inlinemacro]
\r
254 <a id="{target}"></a>
\r
256 [anchor2-inlinemacro]
\r
259 [anchor3-inlinemacro]
\r
260 <a id="{1}"></a>[{1}]
\r
263 <a href="#{target}">{0=[{target}]}</a>
\r
265 [xref2-inlinemacro]
\r
266 <a href="#{1}">{2=[{1}]}</a>
\r
268 # Special word substitution.
\r
274 <strong>{words}</strong>
\r
276 # Paragraph substitution.
\r
278 <div class="paragraph{role? {role}}"{id? id="{id}"}>{title?<div class="title">{title}</div>}<p>
\r
282 [admonitionparagraph]
\r
283 template::[admonitionblock]
\r
285 # Delimited blocks.
\r
287 <div class="listingblock{role? {role}}"{id? id="{id}"}>
\r
288 <div class="title">{caption=}{title}</div>
\r
289 <div class="content">
\r
296 <div class="literalblock{role? {role}}"{id? id="{id}"}>
\r
297 <div class="title">{title}</div>
\r
298 <div class="content">
\r
305 <div class="sidebarblock{role? {role}}"{id? id="{id}"}>
\r
306 <div class="content">
\r
307 <div class="title">{title}</div>
\r
312 <div class="openblock{role? {role}}"{id? id="{id}"}>
\r
313 <div class="title">{title}</div>
\r
314 <div class="content">
\r
319 template::[openblock]
\r
322 template::[quoteblock]
\r
325 <div class="quoteblock{role? {role}}"{id? id="{id}"}>
\r
326 <div class="title">{title}</div>
\r
327 <div class="content">
\r
330 <div class="attribution">
\r
331 <em>{citetitle}</em>{attribution?<br />}
\r
332 — {attribution}
\r
336 <div class="verseblock{role? {role}}"{id? id="{id}"}>
\r
337 <div class="title">{title}</div>
\r
338 <pre class="content">
\r
341 <div class="attribution">
\r
342 <em>{citetitle}</em>{attribution?<br />}
\r
343 — {attribution}
\r
347 <div class="exampleblock{role? {role}}"{id? id="{id}"}>
\r
348 <div class="title">{caption={example-caption} {counter:example-number}. }{title}</div>
\r
349 <div class="content">
\r
354 <div class="admonitionblock{role? {role}}"{id? id="{id}"}>
\r
357 {data-uri%}{icons#}<img src="{icon={iconsdir}/{name}.png}" alt="{caption}" />
\r
358 {data-uri#}{icons#}<img alt="{caption}" src="data:image/png;base64,
\r
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}")}"}" />
\r
360 {icons%}<div class="title">{caption}</div>
\r
362 <td class="content">
\r
363 <div class="title">{title}</div>
\r
370 [tabletags-default]
\r
371 colspec=<col{autowidth-option! width="{colpcwidth}%"} />
\r
373 headdata=<th {colspan@1::colspan="{colspan}" }{rowspan@1::rowspan="{rowspan}" }align="{halign}" valign="{valign}">|</th>
\r
374 bodydata=<td {colspan@1::colspan="{colspan}" }{rowspan@1::rowspan="{rowspan}" }align="{halign}" valign="{valign}">|</td>
\r
375 paragraph=<p class="table">|</p>
\r
378 paragraph=<p class="table header">|</p>
\r
380 [tabletags-emphasis]
\r
381 paragraph=<p class="table"><em>|</em></p>
\r
384 paragraph=<p class="table"><strong>|</strong></p>
\r
386 [tabletags-monospaced]
\r
387 paragraph=<p class="table"><tt>|</tt></p>
\r
390 bodydata=<td {colspan@1::colspan="{colspan}" }{rowspan@1::rowspan="{rowspan}" }align="{halign}" valign="{valign}"><div class="verse">|</div></td>
\r
393 [tabletags-literal]
\r
394 bodydata=<td {colspan@1::colspan="{colspan}" }{rowspan@1::rowspan="{rowspan}" }align="{halign}" valign="{valign}"><div class="literal"><pre><tt>|</tt></pre></div></td>
\r
397 [tabletags-asciidoc]
\r
398 bodydata=<td {colspan@1::colspan="{colspan}" }{rowspan@1::rowspan="{rowspan}" }align="{halign}" valign="{valign}"><div>|</div></td>
\r
402 <div class="tableblock{role? {role}}"{id? id="{id}"}>
\r
403 <table rules="{grid=all}"
\r
404 style="margin-left:{align@left:0}{align@center|right:auto}; margin-right:{align@left|center:auto}{align@right:0};"
\r
405 style="float:{float};"
\r
406 {autowidth-option%}width="{tablepcwidth}%"
\r
407 {autowidth-option#}{width#width="{tablepcwidth}%"}
\r
408 frame="{frame%border}"
\r
409 frame="{frame@topbot:hsides}{frame@all:border}{frame@none:void}{frame@sides:vsides}"
\r
410 cellspacing="0" cellpadding="4">
\r
411 <caption class="title">{caption={table-caption} {counter:table-number}. }{title}</caption>
\r
415 {headrows#}</thead>
\r
418 {footrows#}</tfoot>
\r
425 #--------------------------------------------------------------------
\r
426 # Deprecated old table definitions.
\r
430 # Screen width in pixels.
\r
434 [old_tabledef-default]
\r
436 colspec=<col width="{colwidth}{pageunits}" />
\r
438 headdata=<th align="{colalign}">|</th>
\r
439 footdata=<td align="{colalign}">|</td>
\r
440 bodydata=<td align="{colalign}">|</td>
\r
443 <div class="tableblock"{id? id="{id}"}>
\r
444 <table rules="{grid=none}"
\r
445 frame="{frame%hsides}"
\r
446 frame="{frame@topbot:hsides}{frame@all:border}{frame@none:void}{frame@sides:vsides}"
\r
447 cellspacing="0" cellpadding="4">
\r
448 <caption class="title">{caption={table-caption}}{title}</caption>
\r
452 {headrows#}</thead>
\r
455 {footrows#}</tfoot>
\r
456 <tbody valign="top">
\r
462 # End of deprecated old table definitions.
\r
463 #--------------------------------------------------------------------
\r
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}>
\r
469 # Untitled elements between header and first section title.
\r
470 <div id="preamble">
\r
471 <div class="sectionbody">
\r
476 # Document sections.
\r
478 <h1{id? id="{id}"}>{title}</h1>
\r
482 <div class="sect1{style? {style}}{role? {role}}">
\r
483 <h2{id? id="{id}"}>{numbered?{sectnum} }{title}</h2>
\r
484 <div class="sectionbody">
\r
490 <div class="sect2{style? {style}}{role? {role}}">
\r
491 <h3{id? id="{id}"}>{numbered?{sectnum} }{title}</h3>
\r
496 <div class="sect3{style? {style}}{role? {role}}">
\r
497 <h4{id? id="{id}"}>{numbered?{sectnum} }{title}</h4>
\r
502 <div class="sect4{style? {style}}{role? {role}}">
\r
503 <h5{id? id="{id}"}>{title}</h5>
\r
508 <div class="sect1{style? {style}}{role? {role}}">
\r
509 <h2{id? id="{id}"}>{numbered?{sectnum} }{appendix-caption} {counter:appendix-number:A}: {title}</h2>
\r
510 <div class="sectionbody">
\r
517 <div id="toctitle">{toc-title}</div>
\r
518 <noscript><p><b>JavaScript must be enabled in your browser to display the table of contents.</b></p></noscript>
\r
522 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
\r
523 "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
\r
524 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{lang=en}">
\r
526 <link rel="icon" type="image/png" href="/favicon.png">
\r
527 <meta http-equiv="Content-Type" content="{quirks=application/xhtml+xml}{quirks?text/html}; charset={encoding}" />
\r
528 <meta name="generator" content="AsciiDoc {asciidoc-version}" />
\r
529 <meta name="description" content="{description}" />
\r
530 <meta name="keywords" content="{keywords}" />
\r
531 <title>i3: {title}</title>
\r
532 {title%}<title>i3: {doctitle=}</title>
\r
533 <link rel="stylesheet" href="{stylesdir=.}/style.css" type="text/css" />
\r
535 <link rel="stylesheet" href="{stylesdir=.}/{theme={backend}}.css" type="text/css" />
\r
536 {doctype-manpage}<link rel="stylesheet" href="{stylesdir=.}/{theme={backend}}-manpage.css" type="text/css" />
\r
538 <link rel="stylesheet" href="{stylesdir=.}/{theme={backend}}-quirks.css" type="text/css" />
\r
540 <link rel="stylesheet" href="{stylesdir=.}/{stylesheet}" type="text/css" />
\r
541 ifdef::pygments[<link rel="stylesheet" href="{stylesdir=.}/pygments.css" type="text/css" />]
\r
544 <style type="text/css">
\r
545 include1::{stylesdir=./stylesheets}/{theme={backend}}.css[]
\r
546 ifdef::doctype-manpage[]
\r
547 include1::{stylesdir=./stylesheets}/{theme={backend}}-manpage.css[]
\r
548 endif::doctype-manpage[]
\r
550 include1::{stylesdir=./stylesheets}/{theme={backend}}-quirks.css[]
\r
552 include1::{stylesheet}[]
\r
554 include1::{stylesdir=./stylesheets}/pygments.css[]
\r
558 ifndef::disable-javascript[]
\r
560 <script type="text/javascript">
\r
561 # Escape as CDATA to pass validators.
\r
563 window.onload = function()\{asciidoc.footnotes();{toc? asciidoc.toc({toclevels});}\}
\r
566 <script type="text/javascript" src="{scriptsdir=.}/asciidoc-xhtml11.js"></script>
\r
569 <script type="text/javascript">
\r
570 # Escape as CDATA to pass validators.
\r
572 window.onload = function()\{asciidoc.footnotes();{toc? asciidoc.toc({toclevels});}\}
\r
573 include1::{scriptsdir=./javascripts}/asciidoc-xhtml11.js[]
\r
577 endif::disable-javascript[]
\r
580 <script type="text/javascript" src="{scriptsdir=.}/ASCIIMathML.js"></script>
\r
583 <script type="text/javascript">
\r
584 # Escape as CDATA to pass validators.
\r
586 include1::{scriptsdir=./javascripts}/ASCIIMathML.js[]
\r
593 <script type="text/javascript" src="{scriptsdir=.}/LaTeXMathML.js"></script>
\r
596 <script type="text/javascript">
\r
597 # Escape as CDATA to pass validators.
\r
599 include1::{scriptsdir=./javascripts}/LaTeXMathML.js[]
\r
604 {docinfo1,docinfo2#}{include:{docdir}/docinfo.html}
\r
605 {docinfo,docinfo2#}{include:{docdir}/{docname}-docinfo.html}
\r
607 <body class="{doctype}"{max-width? style="max-width:{max-width}"}>
\r
610 <a href="/"><h1 id="title">i3 - improved tiling WM</h1></a>
\r
612 <li style=" background-color: #FFD000; font-size: 2em;padding: 0.25em;-webkit-border-radius: 0.25em;border: 4px dashed black;color: #000000;">latest git docs</li>
\r
614 <br style="clear: both">
\r
616 # Article, book header.
\r
617 ifndef::doctype-manpage[]
\r
619 ifndef::notitle[<h1>{doctitle}</h1>]
\r
621 <span id="author">{author}</span><br />
\r
622 <span id="email"><tt><<a href="mailto:{email}">{email}</a>></tt></span><br />
\r
623 <span id="revnumber">version {revnumber}{revdate?,}</span>
\r
624 <span id="revdate">{revdate}</span>
\r
625 <br /><span id="revremark">{revremark}</span>
\r
627 ifdef::toc[{template:toc}]
\r
629 endif::doctype-manpage[]
\r
631 ifdef::doctype-manpage[]
\r
634 {doctitle} Manual Page
\r
636 ifdef::toc[{template:toc}]
\r
637 <h2>{manname-title}</h2>
\r
638 <div class="sectionbody">
\r
644 endif::doctype-manpage[]
\r
648 {disable-javascript%<div id="footnotes"><hr /></div>}
\r
649 <div id="footer" lang="de">
\r
650 © 2009-2011 Michael Stapelberg, <a href="/impress.html">Impressum</a>
\r
655 ifdef::doctype-manpage[]
\r
658 endif::doctype-manpage[]
\r
661 include::{backend}-quirks.conf[]
\r