Debian Codegraph @

demo/source/slides.xml

raw
1 <?xml version='1.0'?>
2 <!DOCTYPE slides SYSTEM "../../schema/dtd/slides.dtd">
3 <?dbhtml graphics-dir="../graphics" css-stylesheet-dir="../browser"?>
4 <?dbhtml script-dir="../browser"?>
5 <slides>
6 <slidesinfo>
7 <title>The Slides Document Type</title>
8 <titleabbrev>Slides</titleabbrev>
9 <author><firstname>Norman</firstname><surname>Walsh</surname></author>
10 <pubdate>Friday, 19 Dec 2003</pubdate>
11 <releaseinfo role="version">3.3.0</releaseinfo>
12 <copyright><year>2002</year><year>2003</year>
13 <holder>Norman Walsh</holder></copyright>
14 </slidesinfo>
15
16 <foil><title>Introduction</title>
17 <para>This is the introductory slide.</para>
18 <para>If you use foil groups (previously called sections), you can
19 have introductory slides before the first group.</para>
20 <para>Note: Bugs in some versions of Mozilla and IE prevent the XHTML
21 version of slides from working correctly in those browsers.
22 See <ulink url="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=702066&amp;group_id=21935&amp;atid=397263">the report</ulink> for more
23 details.</para>
24 </foil>
25
26 <foilgroup><title>Purpose and History</title>
27
28 <para>Groups can now have introductory text as well.</para>
29
30 <foil><title>What Are Slides?</title>
31 <itemizedlist>
32 <listitem><para>An XML presentation tool
33 </para></listitem>
34 <listitem><para>Suitable for HTML or PDF presentations
35 </para></listitem>
36 <listitem><para>Supported by Open Source software
37 </para></listitem>
38 </itemizedlist>
39 </foil>
40
41 <foil><title>Where Do They Come From?</title>
42
43 <itemizedlist>
44 <listitem><para>Maintained by the <ulink url="http://docbook.sourceforge.net/">DocBook
45 Open Repository</ulink> Project at
46 <ulink url="http://sourceforge.net/">SourceForge</ulink>
47 </para></listitem>
48 <listitem><para>Customization layer of
49 <ulink url="http://www.oasis-open.org/docbook/xml/simple/">Simplified DocBook</ulink>
50 </para></listitem>
51 </itemizedlist>
52 </foil>
53
54 <foil><title>Why?</title>
55
56 <itemizedlist>
57 <listitem><para>So Norm could give presentations
58 </para></listitem>
59 <listitem><para>So Norm could publish those presentations on the web
60 </para></listitem>
61 <listitem><para>So Norm could have <emphasis>accessible</emphasis> presentations
62 that didn't rely on the grotesque HTML output of some otherwise bloated, proprietary
63 tool
64 </para></listitem>
65 <listitem><para>So Norm could cut-and-paste from his DocBook articles and papers
66 directly into his slides
67 </para></listitem>
68 <listitem><para>Oh, let's face it: because it was there. Like the proverbial mountain.
69 </para></listitem>
70 </itemizedlist>
71 </foil>
72 </foilgroup>
73
74 <foilgroup><title>Authoring</title>
75
76 <para>How to write a presentation.</para>
77
78 <foil><title>Minimal Presentation</title>
79
80 <para>The smallest possible presentation looks like this:</para>
81
82 <screen><![CDATA[<?xml version='1.0'?>
83 <!DOCTYPE slides PUBLIC "-//Norman Walsh//DTD Slides XML V3.0b1//EN"
84 "http://docbook.sourceforge.net/release/slides/3.0b1/slides.dtd">
85 <slides>
86 <slidesinfo>
87 <title>Presentation Title</title>
88 </slidesinfo>
89 <foil><title>Foil Title</title>
90 <para>Foil content</para>
91 </foil>
92 </slides>]]></screen>
93
94 <para>Every presentation must contain at least one slide.</para>
95 </foil>
96
97 <foil><title>Presentation Metadata</title>
98
99 <para>Presentations usually have more metadata in the <literal>slidesinfo</literal>
100 wrapper. Here's a typical example:</para>
101
102 <screen><![CDATA[<slidesinfo>
103 <title>Supporting Localized Generated Text</title>
104 <titleabbrev>Generated Text</titleabbrev>
105 <author><firstname>Norman</firstname><surname>Walsh</surname></author>
106 <pubdate>Sunday, 08 Apr 2001</pubdate>
107 <confgroup>
108 <conftitle>XSLTUK-01</conftitle>
109 <confdates>08 Apr - 09 Apr 2001</confdates>
110 <conftitle role="address">Keble College, Oxford, UK</conftitle>
111 <confnum>1</confnum>
112 </confgroup>
113 <releaseinfo role="version">Version TEST</releaseinfo>
114 <copyright><year>2001</year>
115 <holder>Sun Microsystems, Inc.</holder></copyright>
116 </slidesinfo>]]></screen>
117 </foil>
118
119 <foil><title>Presentation Content</title>
120
121 <para>It's common for individual slides to consist of a single
122 bulleted or numbered list. However, the full range of <quote>block
123 level</quote> Simplified DocBook elements are available.</para>
124
125 </foil>
126 </foilgroup>
127
128 <foilgroup><title>Styling</title>
129
130 <para>How to transform a presentation.</para>
131
132 <foil><title>HTML</title>
133
134 <para>There are a lot of HTML options. When you publish your
135 presentation on the web, it's probably best to use one of the simpler,
136 more accessible styles. For your actual live presentation, you may
137 want to choose something fancier.</para>
138
139 </foil>
140
141 <foil><title>Plain HTML</title>
142
143 <itemizedlist>
144 <listitem><para><ulink url="../default/"><filename>default.xsl</filename></ulink>
145 and
146 <ulink url="../plain/"><filename>plain.xsl</filename></ulink>
147 produce fairly simple presentations
148 </para></listitem>
149 <listitem><para><ulink url="../tables/"><filename>tables.xsl</filename></ulink>
150 uses a table to show the navigation context (somewhat like the tabular
151 <ulink url="http://docbook.sourceforge.net/">Website</ulink> style)
152 </para></listitem>
153 <listitem><para><ulink url="../vslides/"><filename>vslides.xsl</filename></ulink>
154 places navigation on the left side instead of the top and bottom
155 </para></listitem>
156 <listitem><para><ulink url="../w3c/"><filename>w3c.xsl</filename></ulink>
157 produces slides that resemble the format used by the W3C for presentations
158 </para></listitem>
159 </itemizedlist>
160
161 </foil>
162
163 <foil><title>Fancy HTML</title>
164
165 <itemizedlist>
166 <listitem><para><ulink url="../frames1/frames.html"><filename>frames.xsl</filename></ulink>
167 uses frames. There are several options that you can apply:
168 </para>
169 <itemizedlist>
170 <listitem><para><ulink url="../frames2/frames.html">overlay</ulink> uses CSS absolute positioning
171 to keep the navigation static on the pages (only works on recent browsers)
172 </para></listitem>
173 <listitem><para><ulink url="../frames3/frames.html">multiframe</ulink> uses additional frames
174 to keep the navigation static on the pages
175 </para></listitem>
176
177 <listitem>
178 <para><ulink url="../frames4/frames.html">dynamic.toc</ulink> uses
179 JavaScript to make the table of context <quote>active</quote> so that
180 you can open and close the foil groups (only works on recent browsers)</para>
181 </listitem>
182
183 <listitem>
184 <para><ulink url="../frames5/frames.html">active.toc</ulink> uses
185 JavaScript to keep the table of contents and the current slide in sync
186 (only works on recent browsers)</para>
187 </listitem>
188
189 <listitem><para>These toc styles can be combined with
190 <ulink url="../frames6/frames.html">overlay</ulink> or <ulink url="../frames7/frames.html">multiframe</ulink>
191 </para></listitem>
192 </itemizedlist>
193 </listitem>
194 </itemizedlist>
195 </foil>
196
197 <foil><title>PDF</title>
198
199 <para>The <filename>fo-plain.xsl</filename> stylesheet produces XSL Formatting
200 Objects that can subsequently be turned into PDF.</para>
201
202 </foil>
203
204 </foilgroup>
205
206 <foilgroup><title>Presentation</title>
207
208 <para>How to customize and present a set of slides.</para>
209
210 <foil><title>Look And Feel</title>
211
212 <para>For HTML display, most of the actual
213 <quote>look-and-feel</quote> of the presentation is controlled by the CSS
214 stylesheet(s) used.</para>
215
216 </foil>
217
218 <foil><title>Presentation Tips</title>
219
220 <itemizedlist>
221 <listitem><para>It's usually best if each slide is only one page (avoid scrolling).
222 </para></listitem>
223 <listitem><para>If you'll be giving your presentation with a projector, make sure you
224 know what resolution you'll have available and test your presentation at that resolution.
225 </para></listitem>
226 <listitem><para>Make your fonts bigger so the folks in the back of the room can read
227 your slides.
228 </para></listitem>
229 <listitem><para>Test the equipment before your presentation begins. Really.
230 </para></listitem>
231 <listitem><para>Speak more slowly. I always forget that one.
232 </para></listitem>
233 </itemizedlist>
234 </foil>
235
236 </foilgroup>
237
238 <foilgroup><title>Conclusions</title>
239
240 <foil><title>Conclusions</title>
241
242 <para>It's customary to have a conclusions slide.</para>
243
244 </foil>
245
246 <foil><title>References</title>
247
248 <para>References are a good idea too.</para>
249
250 </foil>
251
252 <foil><title>Q&amp;A</title>
253
254 <para>Any questions?</para>
255
256 </foil>
257 </foilgroup>
258
259 </slides>