source: rtems-source-builder/source-builder/sb/asciidoc/slidy.conf @ 0464153

4.104.114.95
Last change on this file since 0464153 was 0464153, checked in by Chris Johns <chrisj@…>, on 03/03/13 at 04:58:11

Change asciidoc to the 8.6.4 release package because Windows was broken.

  • Property mode set to 100644
File size: 4.8 KB
Line 
1#
2# Asciidoc Configuration file for slidy HTML generation.
3#
4
5include::xhtml11.conf[]
6
7[literalparagraph]
8template::[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]
18list={title?<div class="title">{title}</div>}<ul{id? id="{id}"} class="{incremental? incremental}{role? {role}}">|</ul>
19item=<li>|</li>
20text=<span>|</span>
21
22[listtags-numbered]
23# The start attribute is not valid XHTML 1.1 but all browsers support it.
24list={title?<div class="title">{title}</div>}<ol{id? id="{id}"} class="{style}{incremental? incremental}{role? {role}}"{start? start="{start}"}>|</ol>
25item=<li>|</li>
26text=<span>|</span>
27
28[listtags-labeled]
29list=<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>
30entry=
31label=
32term=<dt class="hdlist1{strong-option? strong}">|</dt>
33item=<dd>|</dd>
34text=<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}" />
69ifndef::copyright[<meta name="copyright" content="Copyright &#169; {author}" />]
70<meta name="copyright" content="Copyright &#169; {copyright}" />
71<meta name="generator" content="AsciiDoc {asciidoc-version}" />
72<meta name="duration" content="{duration}" />
73ifdef::linkcss[]
74<link rel="stylesheet" href="{stylesdir=.}/{theme=asciidoc}.css" type="text/css" />
75<link rel="stylesheet" href="{stylesdir=.}/slidy.css" type="text/css" />
76ifeval::["{source-highlighter}"=="pygments"]
77<link rel="stylesheet" href="{stylesdir=.}/pygments.css" type="text/css">
78endif::[]
79
80# DEPRECATED: 'pygments' attribute.
81ifdef::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>
85endif::linkcss[]
86ifndef::linkcss[]
87<style type="text/css">
88include1::{theme%}{stylesdir=./stylesheets}/asciidoc.css[]
89include1::{themedir}/{theme}.css[]
90include1::{stylesdir=./stylesheets}/slidy.css[]
91ifeval::["{source-highlighter}"=="pygments"]
92include1::{stylesdir=./stylesheets}/pygments.css[]
93endif::[]
94
95# DEPRECATED: 'pygments' attribute.
96ifdef::pygments[]
97include1::{stylesdir=./stylesheets}/pygments.css[]
98endif::pygments[]
99
100include1::{stylesheet}[]
101</style>
102<script type="text/javascript">
103# Escape as CDATA to pass validators.
104/*<![CDATA[*/
105include1::{scriptsdir=./javascripts}/slidy.js[]
106/*]]>*/
107</script>
108endif::linkcss[]
109ifdef::asciimath[]
110ifdef::linkcss[]
111<script type="text/javascript" src="{scriptsdir=.}/ASCIIMathML.js"></script>
112endif::linkcss[]
113ifndef::linkcss[]
114<script type="text/javascript">
115# Escape as CDATA to pass validators.
116/*<![CDATA[*/
117include1::{scriptsdir=./javascripts}/ASCIIMathML.js[]
118/*]]>*/
119</script>
120endif::linkcss[]
121endif::asciimath[]
122ifdef::latexmath[]
123ifdef::linkcss[]
124<script type="text/javascript" src="{scriptsdir=.}/LaTeXMathML.js"></script>
125endif::linkcss[]
126ifndef::linkcss[]
127<script type="text/javascript">
128# Escape as CDATA to pass validators.
129/*<![CDATA[*/
130include1::{scriptsdir=./javascripts}/LaTeXMathML.js[]
131/*]]>*/
132</script>
133endif::linkcss[]
134endif::latexmath[]
135</head>
136<body class="{doctype}"{max-width? style="max-width:{max-width}"}>
137<div id="header" class="slide">
138ifndef::notitle[<h1>{doctitle}</h1>]
139ifdef::doctitle[]
140<span id="author">{author}</span><br />
141<span id="email"><code>&lt;<a href="mailto:{email}">{email}</a>&gt;</code></span><br />
142<span id="revnumber">version {revnumber}{revdate?,}</span>
143<span id="revdate">{revdate}</span>
144<br /><span id="revremark">{revremark}</span>
145endif::doctitle[]
146</div>
147
148[footer]
149</body>
150</html>
Note: See TracBrowser for help on using the repository browser.