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