1 | # |
---|
2 | # Asciidoc Configuration file for slidy HTML generation. |
---|
3 | # |
---|
4 | |
---|
5 | include::xhtml11.conf[] |
---|
6 | |
---|
7 | [literalparagraph] |
---|
8 | template::[listingblock] |
---|
9 | |
---|
10 | [openblock] |
---|
11 | <div class="openblock{incremental? incremental}{role? {role}}"{id? id="{id}"}> |
---|
12 | <div class="title">{title}</div> |
---|
13 | <div class="content"> |
---|
14 | | |
---|
15 | </div></div> |
---|
16 | |
---|
17 | [listtags-bulleted] |
---|
18 | list={title?<div class="title">{title}</div>}<ul{id? id="{id}"} class="{incremental? incremental}{role? {role}}">|</ul> |
---|
19 | item=<li>|</li> |
---|
20 | text=<span>|</span> |
---|
21 | |
---|
22 | [listtags-numbered] |
---|
23 | # The start attribute is not valid XHTML 1.1 but all browsers support it. |
---|
24 | list={title?<div class="title">{title}</div>}<ol{id? id="{id}"} class="{style}{incremental? incremental}{role? {role}}"{start? start="{start}"}>|</ol> |
---|
25 | item=<li>|</li> |
---|
26 | text=<span>|</span> |
---|
27 | |
---|
28 | [listtags-labeled] |
---|
29 | list=<div class="dlist{compact-option? compact}{role? {role}}"{id? id="{id}"}>{title?<div class="title">{title}</div>}<dl class="{incremental? incremental}{role? {role}}">|</dl></div> |
---|
30 | entry= |
---|
31 | label= |
---|
32 | term=<dt class="hdlist1{strong-option? strong}">|</dt> |
---|
33 | item=<dd>|</dd> |
---|
34 | text=<p>|</p> |
---|
35 | |
---|
36 | [preamble] |
---|
37 | # Untitled elements between header and first section title. |
---|
38 | <div id="preamble" class="slide"> |
---|
39 | <div class="sectionbody"{max-width? style="max-width:{max-width}"}> |
---|
40 | | |
---|
41 | </div> |
---|
42 | </div> |
---|
43 | |
---|
44 | [sect1] |
---|
45 | <div class="sect1 slide{style? {style}}{role? {role}}"> |
---|
46 | <h1{id? id="{id}"}>{numbered?{sectnum} }{title}</h1> |
---|
47 | # Set max-width here because Slidy ignores max-width on body. |
---|
48 | <div class="sectionbody"{max-width? style="max-width:{max-width}"}> |
---|
49 | | |
---|
50 | </div> |
---|
51 | </div> |
---|
52 | |
---|
53 | [appendix] |
---|
54 | <div class="sect1 slide{style? {style}}{role? {role}}"> |
---|
55 | <h1{id? id="{id}"}>{numbered?{sectnum} }{appendix-caption} {counter:appendix-number:A}: {title}</h1> |
---|
56 | # Set max-width here because Slidy ignores max-width on body. |
---|
57 | <div class="sectionbody"{max-width? style="max-width:{max-width}"}> |
---|
58 | | |
---|
59 | </div> |
---|
60 | </div> |
---|
61 | |
---|
62 | [header] |
---|
63 | <?xml version="1.0" encoding="{encoding}"?> |
---|
64 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
---|
65 | <html xmlns="http://www.w3.org/1999/xhtml" lang="{lang=en}" xml:lang="{lang=en}"> |
---|
66 | <head> |
---|
67 | <title>{doctitle=}</title> |
---|
68 | <meta http-equiv="Content-Type" content="{quirks=application/xhtml+xml}{quirks?text/html}; charset={encoding}" /> |
---|
69 | ifndef::copyright[<meta name="copyright" content="Copyright © {author}" />] |
---|
70 | <meta name="copyright" content="Copyright © {copyright}" /> |
---|
71 | <meta name="generator" content="AsciiDoc {asciidoc-version}" /> |
---|
72 | <meta name="duration" content="{duration}" /> |
---|
73 | ifdef::linkcss[] |
---|
74 | <link rel="stylesheet" href="{stylesdir=.}/{theme=asciidoc}.css" type="text/css" /> |
---|
75 | <link rel="stylesheet" href="{stylesdir=.}/slidy.css" type="text/css" /> |
---|
76 | ifeval::["{source-highlighter}"=="pygments"] |
---|
77 | <link rel="stylesheet" href="{stylesdir=.}/pygments.css" type="text/css"> |
---|
78 | endif::[] |
---|
79 | |
---|
80 | # DEPRECATED: 'pygments' attribute. |
---|
81 | ifdef::pygments[<link rel="stylesheet" href="{stylesdir=.}/pygments.css" type="text/css" />] |
---|
82 | |
---|
83 | <link rel="stylesheet" href="{stylesdir=.}/{stylesheet}" type="text/css" /> |
---|
84 | <script src="{scriptsdir=.}/slidy.js" charset="utf-8" type="text/javascript"></script> |
---|
85 | endif::linkcss[] |
---|
86 | ifndef::linkcss[] |
---|
87 | <style type="text/css"> |
---|
88 | include1::{theme%}{stylesdir=./stylesheets}/asciidoc.css[] |
---|
89 | include1::{themedir}/{theme}.css[] |
---|
90 | include1::{stylesdir=./stylesheets}/slidy.css[] |
---|
91 | ifeval::["{source-highlighter}"=="pygments"] |
---|
92 | include1::{stylesdir=./stylesheets}/pygments.css[] |
---|
93 | endif::[] |
---|
94 | |
---|
95 | # DEPRECATED: 'pygments' attribute. |
---|
96 | ifdef::pygments[] |
---|
97 | include1::{stylesdir=./stylesheets}/pygments.css[] |
---|
98 | endif::pygments[] |
---|
99 | |
---|
100 | include1::{stylesheet}[] |
---|
101 | </style> |
---|
102 | <script type="text/javascript"> |
---|
103 | # Escape as CDATA to pass validators. |
---|
104 | /*<![CDATA[*/ |
---|
105 | include1::{scriptsdir=./javascripts}/slidy.js[] |
---|
106 | /*]]>*/ |
---|
107 | </script> |
---|
108 | endif::linkcss[] |
---|
109 | ifdef::asciimath[] |
---|
110 | ifdef::linkcss[] |
---|
111 | <script type="text/javascript" src="{scriptsdir=.}/ASCIIMathML.js"></script> |
---|
112 | endif::linkcss[] |
---|
113 | ifndef::linkcss[] |
---|
114 | <script type="text/javascript"> |
---|
115 | # Escape as CDATA to pass validators. |
---|
116 | /*<![CDATA[*/ |
---|
117 | include1::{scriptsdir=./javascripts}/ASCIIMathML.js[] |
---|
118 | /*]]>*/ |
---|
119 | </script> |
---|
120 | endif::linkcss[] |
---|
121 | endif::asciimath[] |
---|
122 | ifdef::latexmath[] |
---|
123 | ifdef::linkcss[] |
---|
124 | <script type="text/javascript" src="{scriptsdir=.}/LaTeXMathML.js"></script> |
---|
125 | endif::linkcss[] |
---|
126 | ifndef::linkcss[] |
---|
127 | <script type="text/javascript"> |
---|
128 | # Escape as CDATA to pass validators. |
---|
129 | /*<![CDATA[*/ |
---|
130 | include1::{scriptsdir=./javascripts}/LaTeXMathML.js[] |
---|
131 | /*]]>*/ |
---|
132 | </script> |
---|
133 | endif::linkcss[] |
---|
134 | endif::latexmath[] |
---|
135 | </head> |
---|
136 | <body class="{doctype}"{max-width? style="max-width:{max-width}"}> |
---|
137 | <div id="header" class="slide"> |
---|
138 | ifndef::notitle[<h1>{doctitle}</h1>] |
---|
139 | ifdef::doctitle[] |
---|
140 | <span id="author">{author}</span><br /> |
---|
141 | <span id="email"><code><<a href="mailto:{email}">{email}</a>></code></span><br /> |
---|
142 | <span id="revnumber">version {revnumber}{revdate?,}</span> |
---|
143 | <span id="revdate">{revdate}</span> |
---|
144 | <br /><span id="revremark">{revremark}</span> |
---|
145 | endif::doctitle[] |
---|
146 | </div> |
---|
147 | |
---|
148 | [footer] |
---|
149 | </body> |
---|
150 | </html> |
---|