summaryrefslogtreecommitdiff
path: root/slidy.conf
blob: b4ddc101f54ab0a5358fff418e2bbce417d3a274 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
#
# Asciidoc Configuration file for slidy HTML generation.
#

include::xhtml11.conf[]

[literalparagraph]
template::[listingblock]

[openblock]
<div class="openblock{incremental? incremental}{role? {role}}"{id? id="{id}"}>
<div class="title">{title}</div>
<div class="content">
|
</div></div>

[listtags-bulleted]
list=<div class="ulist{style? {style}}{compact-option? compact}"{id? id="{id}"}>{title?<div class="title">{title}</div>}<ul class="{incremental?incremental}{role? {role}}">|</ul></div>
item=<li>|</li>
text=<p>|</p>

[listtags-numbered]
# The start attribute is not valid XHTML 1.1 but all browsers support it.
list=<div class="olist{style? {style}}{compact-option? compact}"{id? id="{id}"}>{title?<div class="title">{title}</div>}<ol class="{style}{incremental? incremental}{role? {role}}"{start? start="{start}"}>|</ol></div>
item=<li>|</li>
text=<p>|</p>

[listtags-labeled]
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>
entry=
label=
term=<dt class="hdlist1{strong-option? strong}">|</dt>
item=<dd>|</dd>
text=<p>|</p>

[preamble]
# Untitled elements between header and first section title.
<div id="preamble" class="slide">
<div class="sectionbody"{max-width? style="max-width:{max-width}"}>
|
</div>
</div>

[sect1]
<div class="sect1 slide{style? {style}}{role? {role}}">
<h1{id? id="{id}"}>{numbered?{sectnum} }{title}</h1>
# Set max-width here because Slidy ignores max-width on body.
<div class="sectionbody"{max-width? style="max-width:{max-width}"}>
|
</div>
</div>

[appendix]
<div class="sect1 slide{style? {style}}{role? {role}}">
<h1{id? id="{id}"}>{numbered?{sectnum} }{appendix-caption} {counter:appendix-number:A}: {title}</h1>
# Set max-width here because Slidy ignores max-width on body.
<div class="sectionbody"{max-width? style="max-width:{max-width}"}>
|
</div>
</div>

[header]
<?xml version="1.0" encoding="{encoding}"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="{lang=en}" xml:lang="{lang=en}">
<head>
<title>{doctitle=}</title>
ifndef::copyright[<meta name="copyright" content="Copyright &#169; {author}" />]
<meta name="copyright" content="Copyright &#169; {copyright}" />
<meta name="generator" content="AsciiDoc {asciidoc-version}" />
<meta name="duration" content="{duration}" />
ifdef::linkcss[]
<link rel="stylesheet" href="{stylesdir=.}/{theme=xhtml11}.css" type="text/css" />
<link rel="stylesheet" href="{stylesdir=.}/slidy.css" type="text/css" />
<link rel="stylesheet" href="{stylesdir=.}/{stylesheet}" type="text/css" />
ifdef::pygments[<link rel="stylesheet" href="{stylesdir=.}/pygments.css" type="text/css" />]
<script src="{scriptsdir=.}/slidy.js" charset="utf-8" type="text/javascript"></script>
endif::linkcss[]
ifndef::linkcss[]
<style type="text/css">
include1::{stylesdir=./stylesheets}/{theme=xhtml11}.css[]
include1::{stylesdir=./stylesheets}/slidy.css[]
include1::{stylesheet}}
ifdef::pygments[]
include1::{stylesdir=./stylesheets}/pygments.css[]
endif::pygments[]
</style>
<script type="text/javascript">
# Escape as CDATA to pass validators.
/*<![CDATA[*/
include1::{scriptsdir=./javascripts}/slidy.js[]
/*]]>*/
</script>
endif::linkcss[]
</head>
<body class="{doctype}"{max-width? style="max-width:{max-width}"}>
<div id="header" class="slide">
ifndef::notitle[<h1>{doctitle}</h1>]
ifdef::doctitle[]
<span id="author">{author}</span><br />
<span id="email"><tt>&lt;<a href="mailto:{email}">{email}</a>&gt;</tt></span><br />
<span id="revnumber">version {revnumber}{revdate?,}</span>
<span id="revdate">{revdate}</span>
<br /><span id="revremark">{revremark}</span>
endif::doctitle[]
</div>

[footer]
</body>
</html>