<.powerdot fields.>
\Configure{@HEAD}
{\HCode{\Hnewline<!--
http://www.w3.org/Talks/Tools/Slidy/slidy.js -->\Hnewline
<script src="Slidy/slidy.js"
type="text/javascript"><![CDATA[ \Hnewline
]]></script>\Hnewline}}
\Log:Note{Requires the slidy.js and *.css files from
http://www.w3.org/Talks/Tools/Slidy/slidy.zip
in subdirectory Slidy} -_-_-
\def\:temp#1font=#2,#3<.par del.>{%
\if !#2!%
\Log:Note{for adjusted font size, use
the command line option ‘font=...’ (e.g., font=-2)}
\else
\Configure{@HEAD}
{\HCode{<meta name="font-size-adjustment"
content="#2" />}\Hnewline}
\fi}
\expandafter\:temp\Preamble ,font=,<.par del.> -_-_-
\Configure{maketitle}
{\ifvmode \IgnorePar\fi \EndP <.title for TITLE.>%
\HCode{<div class="slide cover"><div class="maketitle">}}
{\ifvmode \IgnorePar\fi \EndP \HCode{</div></div>}}
{\NoFonts\IgnorePar\HCode{<h1 class="slideTitle"\a:LRdir>}\IgnorePar}
{\HCode{</h1>}\IgnoreIndent\EndNoFonts}
\Css{div.slide.cover{width:100\%;}} -_-_-
\ConfigureEnv{titleslide}{}{}{}{}
\ConfigureEnv{slide}
{\ifvmode \IgnorePar\fi \EndP \HCode{<div class="slide">}}
{\ifvmode \IgnorePar\fi \EndP \HCode{</div>}}
{} {}
\ConfigureEnv{sectionslide}
{\ifvmode \IgnorePar\fi \EndP \HCode{<div class="slide">}}
{\ifvmode \IgnorePar\fi \EndP \HCode{</div>}}
{} {}
-_-_-
\Configure{slidetitle}
{\ifvmode \IgnorePar\fi \EndP
\HCode{<h1 class="slideTitle">}\IgnorePar\bgroup
\ConfigureEnv{minipage}{}{}{}{}}
{\egroup\ifvmode \IgnorePar\fi \EndP \HCode{</h1>}\ShowPar\par}
-_-_-
\Css{div.toolbar {
position: fixed; z-index: 200;
top: auto; bottom: 0; left: 0; right: 0;
height: 1.2em; text-align: right;
padding-left: 1em;
padding-right: 1em;
font-size: 60\%;
color: \#FF0000; background: \#EEEEEE;
} }
-_-_-
\def\pause{\hbox{\expandafter\global\expandafter\let\csname
pi-\pauseId\endcsname=\def}}
\let\pd:item\pd@item
\def\pd@item[#1]<#2>{\pd:item[#1]<>\pause}
-_-_-
\ifTag{pi-\pauseId}{incremental }%
-_-_-
\HAssign\PauseId = 0
\HAssign\pauseId = 0
-_-_-
\PushStack\Table:Stck\pauseId
\gHAdvance\PauseId by 1
\global\let\pauseId=\PauseId
-_-_-
\expandafter\ifx\csname pi-\pauseId\endcsname\relax \else
\expandafter\global\expandafter\let\csname
pi-\pauseId\endcsname=\:UnDef
\Tag{pi-\pauseId}{}%
\fi
\PopStack\Table:Stck\pauseId
\global\let\pauseId=\pauseId
-_-_-
\let\block:Name=\empty
\ConfigureEnv{block}
{\par\IgnorePar\EndP
\ifx \block:Name\empty \def\block:Name{block}\fi
\HCode{<div class="\block:Name">}\global\let\block:Name=\empty}
{\ifvmode \IgnorePar\fi \EndP \HCode{</div>}}
{} {}
\ConfigureEnv{alertblock}
{\par\IgnorePar\EndP
\ifx \block:Name\empty \def\block:Name{alertblock}\fi
\HCode{<div class="\block:Name">}\global\let\block:Name=\empty}
{\ifvmode \IgnorePar\fi \EndP \HCode{</div>}}
{} {}
\ConfigureEnv{Problem}
{\def\block:Name{Problem}} {} {} {}
\ConfigureEnv{Loesung}
{\def\block:Name{Loesung}} {} {} {}
\ConfigureEnv{Definition}
{\def\block:Name{Definition}} {} {} {}
\ConfigureEnv{Satz}
{\def\block:Name{Satz}} {} {} {}
\ConfigureEnv{Beweis}
{\def\block:Name{Beweis}} {} {} {}
\ConfigureEnv{Folgerung}
{\def\block:Name{Folgerung}} {} {} {}
\ConfigureEnv{Lemma}
{\def\block:Name{Lemma}} {} {} {}
\ConfigureEnv{Fakt}
{\def\block:Name{Fakt}} {} {} {}
\ConfigureEnv{Theorem}
{\def\block:Name{Theorem}} {} {} {}
\ConfigureEnv{Proof}
{\def\block:Name{Proof}} {} {} {}
\ConfigureEnv{Corollary}
{\def\block:Name{Corollary}} {} {} {}
\ConfigureEnv{Fact}
{\def\block:Name{Fact}} {} {} {}
\ConfigureEnv{definition}
{\def\block:Name{definition}} {} {} {}
\ConfigureEnv{definitions}
{\def\block:Name{definitions}} {} {} {}
\ConfigureEnv{theorem}
{\def\block:Name{theorem}} {} {} {}
\ConfigureEnv{proof}
{\def\block:Name{proof}} {} {} {}
\ConfigureEnv{corollary}
{\def\block:Name{corollary}} {} {} {}
\ConfigureEnv{fact}
{\def\block:Name{fact}} {} {} {}
-_-_-
\ConfigureEnv{exampleblock}
{\par\IgnorePar\EndP
\ifx \block:Name\empty \def\block:Name{exampleblock}\fi
\HCode{<div class="\block:Name">}\global\let\block:Name=\empty}
{\ifvmode \IgnorePar\fi \EndP \HCode{</div>}}
{} {}
-_-_-
\ConfigureEnv{Beispiel}
{\def\block:Name{Beispiel}} {} {} {}
\ConfigureEnv{Beispiele}
{\def\block:Name{Beispiele}} {} {} {}
\ConfigureEnv{Example}
{\def\block:Name{Example}} {} {} {}
\ConfigureEnv{Examples}
{\def\block:Name{Examples}} {} {} {}
\ConfigureEnv{example}
{\def\block:Name{example}} {} {} {}
\ConfigureEnv{examples}
{\def\block:Name{examples}} {} {} {}
\Css{div.Example, div.examplblock, div.Beispiele,
div.Beispiel, div.Examples, div.example, div.examples{color:green;}}
-_-_-
\:CheckOption{1} \if:Option
\ConfigureEnv{slide}
{\ifvmode \IgnorePar\fi \EndP
\ifnum \Slide:cnt>0 \HPage{}\fi
\ifvmode \IgnorePar\fi \EndP
<.beamer header.>%
\HCode{<div class="slide">}\par
}
{\ifvmode \IgnorePar\fi \EndP
\HCode{</div>}\ifnum \Slide:cnt>1\relax \EndHPage{}\fi}
{} {}
\Css{div.slide {border-top:solid black 0.4pt;}}
\else
\Log:Note{for pagination of slides,
use the command line option ‘1’}
\ConfigureEnv{slide}
{\ifvmode \IgnorePar\fi \EndP
\HCode{<hr class="hidden" />}%
<.beamer header.>%
\HCode{<div class="slide">}\par
}
{\ifvmode \IgnorePar\fi \EndP \HCode{</div>}}
{} {}
\Css{div.slide {border:solid black 0.4pt;}}
\fi -_-_-
\Configure{frametitle}
{\ifvmode \IgnorePar\fi \EndP \HCode{<h2 class="frametitle">}\bgroup
\Configure{HtmlPar}{ }{ }{}{}%
}
{\egroup \ifvmode \IgnorePar\fi \EndP \HCode{</h2>}}
-_-_-
\Css{h1, h2, span.inst sup{font-size:100\%;}}
\ConfigureEnv{overlayarea}
{\bgroup
\ConfigureEnv{minipage}
{\bgroup \IgnorePar\EndP
\ConfigureEnv{minipage}
{\bgroup \IgnorePar\EndP
\HCode{<table class="minipage"><tr><td>}}
{\EndP\HCode{</td></tr></table>}\egroup }
{}{}%
}
{\EndP\egroup }
{}{}
}
{\egroup} {}{}
-_-_-
\Configure{sec@slide}
{\ifvmode \IgnorePar\fi \EndP \HCode{<div class="hidden">}}
{\ifvmode \IgnorePar\fi \EndP \HCode{</div>}\par
<.beamer cross links.>\par}
\Css{.hidden {visibility:hidden;}}
\Css{table.columns {width:100\%;}}
\Css{td.column {vertical-align:top;}} -_-_-
\Configure{inst}
{\HCode{<span class="inst">}}
{\HCode{</span>}}
\Configure{titlepage}
{\ifvmode \IgnorePar\fi \EndP \HCode{<div class="titlepage">}%
\gHAdvance\Slide:cnt by 1
\Link{}{sl1}\EndLink
<.beamer cross links.>%
}
{\ifvmode \IgnorePar\fi \EndP \HCode{</div>}}
\Configure{title}
{\ifvmode \IgnorePar\fi \EndP \HCode{<h1 class="title">}}
{\ifvmode \IgnorePar\fi \EndP \HCode{</h1>}}
\Configure{author}
{\ifvmode \IgnorePar\fi \EndP \HCode{<div class="author">}}
{\ifvmode \IgnorePar\fi \EndP \HCode{</div>}}
\Configure{institute}
{\ifvmode \IgnorePar\fi \EndP \HCode{<div class="institute">}}
{\ifvmode \IgnorePar\fi \EndP \HCode{</div>}}
\Configure{date}
{\ifvmode \IgnorePar\fi \EndP \HCode{<div class="date" \a:LRdir>}}
{\ifvmode \IgnorePar\fi \EndP \HCode{</div>}}
\Configure{andtitle}{\HCode{<br />}}
\Css{div.titlepage {text-align:center;}}
\Css{div.institute { margin-bottom: 1em; margin-top: 1em;}} -_-_-
\ConfigureEnv{columns}
{\ifvmode \IgnorePar\fi \EndP
\HCode{<table class="columns"><tr>}}
{\ifvmode \IgnorePar\fi \EndP \HCode{</tr></table>}}
{}{}
\ConfigureEnv{column}
{\bgroup
\ConfigureEnv{minipage}
{\bgroup \IgnorePar\EndP
\ConfigureEnv{minipage}
{\bgroup \IgnorePar\EndP
\HCode{<table class="minipage"><tr><td>}}
{\EndP\HCode{</td></tr></table>}\egroup }
{}{}%
}
{\EndP\egroup }
{}{}%
\HCode{<td class="column">}%
}
{\ifvmode \IgnorePar\fi \EndP \HCode{</td>}\egroup}
{}{}
-_-_-
\Configure{sectionshadedintoc}
{\HCode{<div class="sectionshadedintoc">}}
{\ifvmode \IgnorePar\fi \HCode{</div>}}
\Configure{sectionintoc}
{\HCode{<div class="sectionintoc">}}
{\ifvmode \IgnorePar\fi \HCode{</div>}}
\Configure{subsectionshadedintoc}
{\HCode{<div class="subsectionshadedintoc">}}
{\ifvmode \IgnorePar\fi \HCode{</div>}}
\Configure{subsectionintoc}
{\HCode{<div class="subsectionintoc">}}
{\ifvmode \IgnorePar\fi \HCode{</div>}}
\Css{div.sectionintoc, div.sectionshadedintoc{ margin-top:1em; }}
\Css{div.tableofcontents
{ padding-left:1em; padding-right:1em; padding-bottom:1em; }}
\Css{.tableofcontents div.subsectionintoc,
.tableofcontents div.subsectionshadedintoc{ margin-left:1em; }}
-_-_-
\ConfigureToc{toc}
{}
{\Configure{TocLink}
{\def\hyperlink########1########2{\Link{####2}{}########2\EndLink}####4}%
\leavevmode}
{}{\par}
\Configure{tableofcontents}
{\IgnorePar\EndP \HCode{<div class="TableOfContents"\a:LRdir>}}{}
{\ifvmode \IgnorePar\fi \EndP \HCode{</div>}\ShowPar}
{}{}
-_-_-
\gHAdvance\Slide:cnt by 1
\ifx \sec:name\empty
\HCode{<div class="hidden">}\Link{}{sl\Slide:cnt}\EndLink
\HCode{</div>}%
\else
\HCode{<div class="header">}\Link{}{sl\Slide:cnt}\EndLink
\sec:name
\ifx \subsec:name\empty \else \HCode{<br />}\subsec:name\fi
\HCode{</div>}%
\fi
-_-_-
\let\beamer:section=\@section
\def\@section[#1]#2{\beamer:section[#1]{#2}%
\gHAdvance\:bookmarkN by 1
\def\sec:name{#2}\let\subsec:name=\empty}
\append:defI\subsection{%
\gHAdvance\:bookmarkN by 1
\def\subsec:name{#1}}
\HAssign\:bookmarkN=0
\let\sec:name=\empty
\let\subsec:name=\empty
\Css{div.header{ margin:0; text-align:right; font-size:70\%; }}
-_-_-
\bgroup
\HAdvance\Slide:cnt by 1\relax
\ifTag{)Qsl\Slide:cnt}{\Link{sl\Slide:cnt}{}next\EndLink\HCode{<br />}}{}%
\egroup
\ifnum \Slide:cnt>1
\bgroup
\HAdvance\Slide:cnt by -1
\Link{sl\Slide:cnt}{}prev\EndLink\HCode{<br />}%
\ifnum \:bookmarkN>0\relax
\Link[ target="<.tex4ht-menu.>"
]{tc-\:bookmarkN}{}toc\EndLink\HCode{<br />}%
\fi
\Link{sl1}{}top\EndLink\HCode{<br />}%
{\HAdvance\Slide:cnt by 1\relax \Slide:cnt}%
\egroup
\else
\Link[ target="<.tex4ht-menu.>"]{bookmark}{}toc\EndLink
\fi -_-_-
\:CheckOption{frames}\if:Option\else
\bgroup
\HPage{}{\beamer:bookmarks\tableofcontents}\EndHPage{}%
\egroup
\fi
-_-_-
\:CheckOption{frames}\if:Option
\:CheckOption{ver}\if:Option
<.beamer ver frames.>
\else
\Log:Note{for vertically stacked frames,
use the command line options ‘frames’ and ‘ver’}
<.beamer hor frames.>
\fi
\Css{body\#tex4ht-menu{ background-color:\#EEEEEE; }}
\fi
\def\beamer:bookmarks{%
\Link{}{bookmark}\EndLink
\HAssign\:bookmarkN=0
<.beamer bookmark config.>%
\Configure{tableofcontents}
{\IgnorePar\EndP \HCode{<div class="bookmarks">}}{}
{\ifvmode \IgnorePar\fi \EndP \HCode{</div>}\ShowPar}
{}{}
\let\std:tableofcontents\tableofcontents
\def\tableofcontents{\std:tableofcontents[section,subsection]}%
} -_-_-
\:CheckOption{frames}\if:Option
\Configure{TocLink}
{\HAdvance\:bookmarkN by 1\relax
\Link{##2}{tc-\:bookmarkN}##4\ifvmode
\IgnorePar\fi \EndLink}
\else
\Configure{TocLink}
{\HAdvance\:bookmarkN by 1\relax
\Link[ target="<.tex4ht-main.>"]{##2}{tc-\:bookmarkN}##4\ifvmode
\IgnorePar\fi \EndLink}
\fi -_-_-
\ConfigureToc{section}
{}{\HCode{<div class="sectionintoc">}} {\HCode{</div>}} {}{}
\ConfigureToc{subsection}
{}
{\HCode{<div class="subsectionintoc">}}
{\HCode{</div>}} {}{}
\Css{div.bookmarks {white-space: nowrap;}}
\Css{div.bookmarks div.subsectionintoc a { text-decoration: none;
font-size:85\%;}}
-_-_-
\Configure{alert}
{\HCode{<span class="alert">}}
{\HCode{</span>}}
\Css{span.alert {color:\#FF0000;}}
\Hinclude{%
\Configure{HColor}{alert}{rgb(100\%,0\%,0\%)}%
\Configure{HColor}{blockstructure}{rgb(20\%,20\%,70\%)}%
\Configure{HColor}{darkgreen}{rgb(15\%,60\%,15\%)}%
\Configure{HColor}{lightgray}{rgb(90\%,90\%,90\%)}%
\Configure{HColor}{shaded}{rgb(60\%,60\%,60\%)}%
\Configure{HColor}{structuremedium}{rgb(30\%,30\%,30\%)}%
\Configure{HColor}{structureshaded}{rgb(75\%,75\%,75\%)}%
\Configure{HColor}{structure}{rgb(0\%,0\%,0\%)}%
}{color}
-_-_-
The following is problematic when used on titles.
\Configure{structure}
{\HCode{<span class="structure">}}
{\HCode{</span>}}
\Css{span.structure {color:\#000000;}}
\Configure{foilhead} {}{}
{\IgnorePar\EndP\HCode{<h2 class="foilheadHead" \a:LRdir>}}
{\HCode{</h2>}\par\ShowPar}
\ConfigureEnv{Theorem}{\par\leavevmode}{\ShowPar}{}{}
\ConfigureEnv{Lemma}{\par\leavevmode}{\ShowPar}{}{}
\ConfigureEnv{Corollary}{\par\leavevmode}{\ShowPar}{}{}
\ConfigureEnv{Corollary*}{\par\leavevmode}{\ShowPar}{}{}
\ConfigureEnv{Proposition}{\par\leavevmode}{\ShowPar}{}{}
\ConfigureEnv{Definition}{\par\leavevmode}{\ShowPar}{}{}
\ConfigureEnv{Proof}{\par\leavevmode}{\ShowPar}{}{}
<.foils bib.>
\:CheckOption{1} \if:Option
\CutAt{foilhead}
<.foils toc 1.>%
\else
\Log:Note{for pagination of slides,
use the command line option ‘1’}
\fi
{\Configure{Needs}{Font\string_Size: #1}\Needs{\@ptsize}}
\Css{h2.foilheadHead{text-align:center;}} -_-_-
\Configure{maketitle}
{\ifvmode \IgnorePar\fi \EndP <.title for TITLE.>%
\HCode{<div class="maketitle">}%
\bgroup
\Configure{tabular}{}{}{}{}{\ifnum \HRow>1 \HCode{<br />}\fi}{}%
\ConfigureEnv{tabular}{}{}{}{}%
}
{\egroup \ifvmode \IgnorePar\fi \EndP \HCode{</div>}}
{\NoFonts
\IgnorePar \EndP
\HCode{<h1 class="titleHead"\a:LRdir>}\IgnorePar}
{\HCode{</h1>}\IgnoreIndent\EndNoFonts}
\Configure{author date}
{\ifvmode \IgnorePar\fi\EndP \HCode{<div class="author" \a:LRdir>}}
{\ifvmode \IgnorePar\fi\EndP \HCode{</div>}}
{\ifvmode \IgnorePar\fi\EndP \HCode{<div class="date" \a:LRdir>}}
{\ifvmode \IgnorePar\fi\EndP \HCode{</div>}}
\Configure{thank}
{<.thank mark sup.>\Link{tk-\the\c@footnote}{}}
{\EndLink <.thank mark end sup.>}
{\ifvmode \IgnorePar\fi \EndP
\HCode{<div class="thank">}%
\IgnorePar
\protect\Link{}{tk-\the\c@footnote}\protect
\EndLink <.thank mark sup.>}
{<.thank mark end sup.>}
{\ifvmode \IgnorePar\fi \EndP\HCode{</div>}}
\Css{h1.titleHead{text-align:center;}}
\Css{div.author{margin-top:3em;text-align:center;}}
\Css{div.date{margin-top:2em;text-align:center;}}
\Css{div.thank{margin-top:3em;}}
\Css{div.thank + div.thank{margin-top:0em;}} -_-_-
\Configure{crosslinks+}
{\IgnorePar\EndP \NoFonts
\HCode{<.show input line no.>%
<div class="crosslinks"><p class="noindent">}}
{\HCode{</p></div>}\par\ShowPar \EndNoFonts}
{<.insert inline footnotes .>%
\ifvmode \IgnorePar\fi \EndP
\HCode{<.show input line no.>%
<div class="crosslinks"><p class="noindent">}\NoFonts }
{\EndNoFonts\HCode{</p></div>}\par\ShowPar} -_-_-