summaryrefslogtreecommitdiff
path: root/docs-xml/xslt/db2latex-xsl/xsl/slides/sample_foiltex/slides.tex
blob: 47fb1227d8692b2db2012fef1a4744ee7ed89fa3 (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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
\documentclass[17pt,headrule,footrule,landscape]{foils}
\usepackage[latin1]{inputenc}
\usepackage{pstricks,pst-node,pst-text,pst-3d}
\usepackage{subfigure}
\usepackage{fancybox}
\usepackage{a4wide}
\usepackage{times}
\usepackage{fancyvrb}
\usepackage{amsmath,amsthm, amsfonts, amssymb, amsxtra,amsopn}
\usepackage{anysize}
\usepackage[pdftex,bookmarksnumbered,colorlinks,backref, bookmarks, breaklinks, linktocpage,hyperfigures,hyperindex,citecolor=blue,urlcolor=blue]{hyperref}
\usepackage[english]{babel}
\usepackage[pdftex]{graphicx}
\pdfcompresslevel=9
%------------------------------------------------------- Values and counters
\marginsize{1.5cm}{1.5cm}{0.5cm}{0.5cm}
\renewcommand\floatpagefraction{.9}
\renewcommand\topfraction{.9}
\renewcommand\bottomfraction{.9}
\renewcommand\textfraction{.1}

\usepackage[usenames,pdftex]{color}
%------------------------------------------------------- BfBlue Command
\newcommand{\bfblue}[1]{ \textcolor{blue}{\bf #1} }

%------------------------------------------------------- BfGreen Command
\newcommand{\bfgreen}[1]{ \textcolor{blue}{\bf #1} }

%------------------------------------------------------- BfRed Command
\newcommand{\bfred}[1]{ \textcolor{red}{\bf #1} }

%------------------------------------------------------- BfBlue Command
\newcommand{\emblue}[1]{ \textcolor{blue}{\emph{#1}} }

%------------------------------------------------------- BfGreen Command
\newcommand{\emgreen}[1]{ \textcolor{blue}{\emph{#1}} }

%------------------------------------------------------- BfRed Command
\newcommand{\emred}[1]{ \textcolor{red}{\emph{#1}} }

%------------------------------------------------------- Part Command
\newcommand{\part}[1]{
\foilhead{}
\vspace{2cm}
\begin{center}
\Huge{\textcolor{blue}{#1}}
\end{center}}
 \newcommand{\dbz}{} 
%------------------------------------------------------- Slide Command
\newcommand{\slide}[1]{
\foilhead[-0.5in]{\large{\textcolor{blue}{#1}}}
}
\newcommand{\id}[1]{
\label{#1}
\hypertarget{#1}{}
}
% --------------------------------------------
\newenvironment{admminipage}{
\begin{Sbox}
\begin{minipage}
}{
\end{minipage}
\end{Sbox}
\fbox{\TheSbox}
}
\newlength{\admlength}
\newenvironment{admonition}[2] {
\hspace{0mm}\newline\hspace*\fill\newline
\noindent
\setlength{\fboxsep}{5pt}
\setlength{\admlength}{\linewidth}
\addtolength{\admlength}{-10\fboxsep}
\addtolength{\admlength}{-10\fboxrule}
\admminipage{\admlength}
\bfblue{\sc\large{#2}}\newline
\\[1mm]
%\sffamily
\includegraphics[width=1cm]{#1}
\addtolength{\admlength}{-1cm}
\addtolength{\admlength}{-20pt}
\begin{minipage}[lt]{\admlength}
\parskip=0.5\baselineskip \advance\parskip by 0pt plus 2pt
}{
\vspace{5mm}
\end{minipage}
\endadmminipage
\vspace{.5em}
\par
}
%--------------------------------------------------SLIDES INFORMATION
\title{{\black The Slides Document Type}}
\author{{\black }}
 \begin{document}
\maketitle
%--------------------------------------------------SLIDES INFORMATION
\title{{\black The Slides Document Type}}
\author{{\black }}
 
%---------------------------------------------------------------------- SLIDE 
\begin{slide}{Introduction}
\label{id2739608}

This is the introductory slide.

If you use foil groups (previously called sections), you can have introductory slides before the first group.

\begin{admonition}{figures/warning}{Warning! :)}% NOTICE: see the db2latex FAQ w.r.t db2latex variable $latex.admonition.path

This is a work in progress ("release early, release often")
\end{admonition}

\end{slide}
                                                                        

%---------------------------------------------------------------------- PART 
\part{Purpose and History            }
%---------------------------------------------------------------------- PART 
\label{id2739637}


%---------------------------------------------------------------------- SLIDE 
\begin{slide}{What Are Slides?}
\label{id2739648}

\begin{itemize}
%--- Item
\item 
An XML presentation tool


%--- Item
\item 
Suitable for HTML or PDF presentations


%--- Item
\item 
Supported by Open Source software

\end{itemize}
\end{slide}

%---------------------------------------------------------------------- SLIDE 
\begin{slide}{Where Do They Come From?}
\label{id2739677}

\begin{itemize}
%--- Item
\item 
Maintained by the \href{http://docbook.sourceforge.net/}{DocBook Open Repository} Project at
\href{http://sourceforge.net/}{SourceForge}


%--- Item
\item 
Customization layer of \href{http://www.oasis-open.org/docbook/xml/simple/}{Simplified DocBook}

\end{itemize}
\end{slide}

%---------------------------------------------------------------------- SLIDE 
\begin{slide}{Why?}
\label{id2739724}

\begin{itemize}
%--- Item
\item 
So Norm could give presentations


%--- Item
\item 
So Norm could publish those presentations on the web


%--- Item
\item 
So Norm could have {\em accessible} presentations that didn't rely on the grotesque HTML output of some otherwise bloated, proprietary tool


%--- Item
\item 
So Norm could cut-and-paste from his DocBook articles and papers directly into his slides


%--- Item
\item 
Oh, let's face it: because it was there. Like the proverbial mountain.

\end{itemize}
\end{slide}
                                                                        

%---------------------------------------------------------------------- PART 
\part{Authoring            }
%---------------------------------------------------------------------- PART 
\label{id2739773}


%---------------------------------------------------------------------- SLIDE 
\begin{slide}{Minimal Presentation}
\label{id2739783}

The smallest possible presentation looks like this:

\begin{Verbatim}[]
<?xml version='1.0'?>
<!DOCTYPE slides PUBLIC "-//Norman Walsh//DTD Slides XML V3.0b1//EN"
                 "http://docbook.sourceforge.net/release/slides/3.0b1/slides.dtd">
<slides>
<slidesinfo>
<title>Presentation Title</title>
</slidesinfo>
<foil><title>Foil Title</title>
<para>Foil content</para>
</foil>
</slides>
\end{Verbatim}

Every presentation must contain at least one slide.
\end{slide}

%---------------------------------------------------------------------- SLIDE 
\begin{slide}{Presentation Metadata}
\label{id2739810}

Presentations usually have more metadata in the {\texttt{{slidesinfo}}} wrapper. Here's a typical example:

\begin{Verbatim}[]
<slidesinfo>
  <title>Supporting Localized Generated Text</title>
  <titleabbrev>Generated Text</titleabbrev>
  <author><firstname>Norman</firstname><surname>Walsh</surname></author>
  <pubdate>Sunday, 08 Apr 2001</pubdate>
  <confgroup>
    <conftitle>XSLTUK-01</conftitle>
    <confdates>08 Apr - 09 Apr 2001</confdates>
    <conftitle role="address">Keble College, Oxford, UK</conftitle>
    <confnum>1</confnum>
  </confgroup>
  <releaseinfo role="version">Version TEST</releaseinfo>
  <copyright><year>2001</year>
             <holder>Sun Microsystems, Inc.</holder></copyright>
</slidesinfo>
\end{Verbatim}
\end{slide}

%---------------------------------------------------------------------- SLIDE 
\begin{slide}{Presentation Content}
\label{id2739830}

It's common for individual slides to consist of a single bulleted or numbered list. However, the full range of «block level» Simplified DocBook elements are avialable.
\end{slide}
                                                                        

%---------------------------------------------------------------------- PART 
\part{Styling            }
%---------------------------------------------------------------------- PART 
\label{id2739862}


%---------------------------------------------------------------------- SLIDE 
\begin{slide}{HTML}
\label{id2739872}

There are a lot of HTML options. When you publish your presentation on the web, it's probably best to use one of the simpler, more accessible styles. For your actual live presentation, you may want to choose something fancier.
\end{slide}

%---------------------------------------------------------------------- SLIDE 
\begin{slide}{Plain HTML}
\label{id2739888}

\begin{itemize}
%--- Item
\item 
\href{../default/}{{\texttt{{default.\dbz{}xsl}}}}
and
\href{../plain/}{{\texttt{{plain.\dbz{}xsl}}}} produce fairly simple presentations


%--- Item
\item 
\href{../tables/}{{\texttt{{tables.\dbz{}xsl}}}}
uses a table to show the navigation context (somewhat like the tabular
\href{http://docbook.sourceforge.net/}{Website} style)


%--- Item
\item 
\href{../vslides/}{{\texttt{{vslides.\dbz{}xsl}}}} places navigation on the left side instead of the top and bottom


%--- Item
\item 
\href{../w3c/}{{\texttt{{w3c.\dbz{}xsl}}}} produces slides that resemble the format used by the W3C for presentations

\end{itemize}
\end{slide}

%---------------------------------------------------------------------- SLIDE 
\begin{slide}{Fancy HTML}
\label{id2739970}

\begin{itemize}
%--- Item
\item 
\href{../frames1/frames.html}{{\texttt{{frames.\dbz{}xsl}}}} uses frames. There are several options that you can apply:

\begin{itemize}
%--- Item
\item 
\href{../frames2/frames.html}{overlay} uses CSS absolute positioning to keep the navigation static on the pages (only works on recent browsers)


%--- Item
\item 
\href{../frames3/frames.html}{multiframe} uses additional frames to keep the navigation static on the pages


%--- Item
\item 
\href{../frames4/frames.html}{dynamic.toc} uses JavaScript to keep the table of contents and the current slide in sync (only works on recent browsers)


%--- Item
\item 
\href{../frames5/frames.html}{active.toc} uses JavaScript to make
the table of context «active» so that you can open and close the foil groups (only works on recent browsers)


%--- Item
\item 
These toc styles can be combined with \href{../frames6/frames.html}{overlay} or \href{../frames7/frames.html}{multiframe}

\end{itemize}

\end{itemize}
\end{slide}

%---------------------------------------------------------------------- SLIDE 
\begin{slide}{PDF}
\label{id2740078}

The {\texttt{{fo-\dbz{}plain.\dbz{}xsl}}} stylesheet produces XSL Formatting Objects that can subsequently be turned into PDF.
\end{slide}
                                                                        

%---------------------------------------------------------------------- PART 
\part{Presentation            }
%---------------------------------------------------------------------- PART 
\label{id2740095}


%---------------------------------------------------------------------- SLIDE 
\begin{slide}{Look And Feel}
\label{id2740106}

For HTML display, most of the actual «look-and-feel» of the presentation is controlled by the CSS stylesheet(s) used.
\end{slide}

%---------------------------------------------------------------------- SLIDE 
\begin{slide}{Presentation Tips}
\label{id2740122}

\begin{itemize}
%--- Item
\item 
It's usually best if each slide is only one page (avoid scrolling).


%--- Item
\item 
If you'll be giving your presentation with a projector, make sure you know what resolution you'll have available and test your presentation at that resolution.


%--- Item
\item 
Make your fonts bigger so the folks in the back of the room can read your slides.


%--- Item
\item 
Test the equipment before your presentation begins. Really.


%--- Item
\item 
Speak more slowly. I always forget that one.

\end{itemize}
\end{slide}
                                                                        

%---------------------------------------------------------------------- PART 
\part{Conclusions            }
%---------------------------------------------------------------------- PART 
\label{id2740169}


%---------------------------------------------------------------------- SLIDE 
\begin{slide}{Conclusions}
\label{id2740175}

It's customary to have a conclusions slide.
\end{slide}

%---------------------------------------------------------------------- SLIDE 
\begin{slide}{References}
\label{id2740187}

References are a good idea too.
\end{slide}

%---------------------------------------------------------------------- SLIDE 
\begin{slide}{Q\&A}
\label{id2740198}

Any questions?
\end{slide}
\end{document}