9.3 epigraph.sty

  9.3.1 slides
  9.3.2 Prosper
  9.3.3 seminar
  9.3.4 slidesec

<..configure html4 epigraph..>
 \Configure{epigraphhead}
    {\IgnorePar\EndP\HCode{<div class="epigraphhead">}}
    {\ifvmode \IgnorePar\fi \EndP\HCode{</div>}}
 
 \Configure{epigraph}
    {\IgnorePar\EndP\HCode{<div class="epigraph">}}
    {\IgnorePar\EndP\HCode{<div class="episource">}}
    {\ifvmode \IgnorePar\fi \EndP\HCode{</div></div>}}
 
 
 \ConfigureEnv{epigraphs}
    {\IgnorePar\EndP\HCode{<div class="epigraphs">}}
    {\ifvmode \IgnorePar\fi \EndP\HCode{</div>}} {}{}
 
 \Configure{qitem}
    {\IgnorePar\EndP\HCode{<div class="qitem">}}
    {\IgnorePar\EndP\HCode{<div class="episource">}}
    {\ifvmode \IgnorePar\fi \EndP\HCode{</div></div>}}
 
 \Css{.epigraph, .epigraphhead, epigraphs {margin-left:60\%}}
 \Css{.epigraphhead .epigraph {margin-left:0\%}}
 
 \Css{.episource {text-align:right}}
 \Configure{epirule} {\ifvmode \IgnorePar\fi \EndP\Tg<hr />\par}
 
 \Css{.epigraphs table { width:40\% ;}}
 \Css{.epigraphs table div .episource { text-align:right;  width:100\%;}}
-_-_-

9.3.1 slides

<..configure html4 slides..>
 \:CheckOption{1} \if:Option
    <.multi slides.>
 \else
    \Log:Note{for pagination of slides,
           use the command line option ‘1’}
    \ConfigureEnv{slide}
      {\ifnum \c@slide=0
         \IgnorePar\EndP\HCode{<hr />}\fi}
      {\rightline{\a:slidename}%
       \IgnorePar\EndP\par\HCode{<hr />}}
      {}{}
 \fi
-_-_-

<..multi slides..>
 \ConfigureEnv{slide}
    {\ifnum \c@slide=0 \EndP\ShowPar\else\IgnorePar\fi}
    {}
    {}{}
 \CutAt{slide}
 \Configure{crosslinks}{[}{] }{next}{prev}{}{}{}{up}
 \Configure{crosslinks+}
    {}{}
    {\IgnorePar\EndP \HCode{<div
          class="crosslinks"><p class="noindent">}%
     {\advance\c@slide by -1 \the\c@slide}: }
    {\HCode{</p></div>}\par}
 \Css{.crosslinks{text-align:right;font-size:85\%;}}
-_-_-

<..configure html4 slides..>+
 <.quote config.>
 <.quotations.>
 <.description 4.>
 <.roman enumeiii.>
 \ConfigureEnv{verse}
    {\Tg<div class="verse">}
    {\Tg</div>}
    {}{}
 \ConfigureEnv{note}
    {\Tg<div class="note">}
    {\Tg</div>}
    {}{}
 \ConfigureEnv{titlepage}
    {\Tg<div class="titlepage">}
    {\Tg</div>}
    {}{}
-_-_-

<..configure html4 slides..>+
 \Configure{maketitle}
    {\ifvmode \IgnorePar\fi \EndP <.title for TITLE.>%
     \vtop\bgroup \IgnorePar \EndP \HCode{<div  class="maketitle">}}
    {\ifvmode \IgnorePar\fi \EndP \HCode{</div>}\egroup}
    {\NoFonts\IgnorePar\HCode{<h2 class="titleHead"\a:LRdir>}\IgnorePar}
    {\HCode{</h2>}\IgnoreIndent\EndNoFonts}
 \Css{h2.titleHead{text-align:center;}}
 \Css{div.maketitle{ margin-bottom: 2em; text-align:center; }}
 \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>}}
 \Css{div.author, div.date {text-align:center;}}
-_-_-

9.3.2 Prosper

<..configure html4 prosper..>
 <.prosper maketitle.>
 <.prosper lists.>
-_-_-

<..configure html4 prosper..>+
 \Configure{slidetitle}
    {\NoFonts \ifvmode \IgnorePar\fi \EndP
     \HCode{<h2 class="slidetitle">} }
    {\ifvmode \IgnorePar\fi \EndP \HCode{</h2>}\EndNoFonts}
 \Css{h2.slidetitle {text-align:center;}}
-_-_-

<..configure html4 prosper..>+
 \Configure{Subtitle}
    {\ifvmode \IgnorePar\fi \EndP
     \HCode{<div class="Subtitle">}}
    {\ifvmode \IgnorePar\fi \EndP \HCode{</div>}}
 \Configure{email}
    {\ifvmode \IgnorePar\fi \EndP
     \HCode{<div class="email">}\Link[mailto:\@email]{}{}}
    {\EndLink \ifvmode \IgnorePar\fi \EndP \HCode{</div>}}
 \Configure{institution}
    {\ifvmode \IgnorePar\fi \EndP
     \HCode{<div class="institution">}}
    {\ifvmode \IgnorePar\fi \EndP \HCode{</div>}}
 \Css{div.email, div.institution {text-align:center;}}
-_-_-

<..configure html4 prosper..>+
 \:CheckOption{1} \if:Option
    <.paginated prosper.>
 \else
    \Log:Note{for pagination of slides,
           use the command line option ‘1’}
    <.non paginated prosper.>
 \fi
 \:CheckOption{nolayers} \if:Option
     \def\itemstep{\itemize}
     \def\enditemstep{\enditemize}
     \let\overlays=\:gobble
 \else
    \Log:Note{to remove overlays of slides,
        use the command line option ‘nolayers’}
 \fi
-_-_-

<..non paginated prosper..>
 \ConfigureEnv{slide}
   {\ifvmode \IgnorePar\fi \EndP\HCode{<hr />}\par}
   {\rightline{\bgroup
      \ifx \slide\SlideNormal \advance\c@slide by -1 \fi
      \ifnum \c@slide>0
          \the\c@slide
          \ifx \slide\SlideOverlay .\the\c@overlaysCount\fi
      \fi
    \egroup
   }}{}{}
-_-_-

<..paginated prosper..>
 \HAssign\Slide:cnt=0
 \ConfigureEnv{slide}
   {\ifnum \Slide:cnt>0
       \ifnum \Slide:cnt>1
          \ifvmode\IgnorePar\fi
       \fi  <.start prosper page.>%
   }
   {\ifnum \Slide:cnt=1
    \else <.end prosper page.>\fi
   }
   {}{}
-_-_-

<..start prosper page..>
 \ifnum \Slide:cnt=1
     \IgnorePar   \par\EndP \HCode{<hr />}\par
 \fi
 \noindent
 \HPage{\the\c@slide
        \ifx \slide\SlideOverlay .\the\c@overlaysCount\fi
    }\fi
 \gHAdvance\Slide:cnt by 1
 \Tag{f-\Slide:cnt}{\FileName}%
-_-_-

<..end prosper page..>
 \rightline{<.foot paginated prosper.>}%
 \EndHPage{}~~
-_-_-

<..foot paginated prosper..>
 \bgroup
    \ifx \slide\SlideNormal \advance\c@slide by -1 \fi
    \the\c@slide
 \egroup
 \ifx \slide\SlideOverlay .\the\c@overlaysCount\fi,
 \bgroup
    \HAdvance\Slide:cnt by 1
    \ifTag{f-\Slide:cnt}{\Link
              [\LikeRef{f-\Slide:cnt}]{}{}next\EndLink, }{}%
 \egroup
 \bgroup
 \ifnum \Slide:cnt>1
     \HAdvance\Slide:cnt by -1
     \Link[\LikeRef{f-\Slide:cnt}]{}{}prev\EndLink,
 \fi
 \egroup
 \Link[\LikeRef{f-1}]{}{}up\EndLink%
 \ifTag{prosperTOC}{%
    \edef\:temp{\FileName}\edef\:tempa{\LikeRef{prosperTOC}}%
    \ifx \:temp\:tempa \else,
          \Link[\LikeRef{prosperTOC}]{}{}toc\EndLink}{}\fi
-_-_-

<..paginated prosper..>+
 \Configure{tableofcontents}
    {\ifx \prosperTOCtag\:UnDef
        \global\let\prosperTOCtag\def
        \Tag{prosperTOC}{\FileName}%
     \fi
     \IgnorePar\EndP
     \HCode{<div class="tableofcontents"\a:LRdir>}\IgnorePar}
    {}
    {\IgnorePar\EndP\HCode{</div>}\ShowPar}
    {\HCode{<br />}}   {}
-_-_-

FROM MANUAL: When translated into PDF files, prosper slides benefit from additional possibilities such as transition effects between slides and incremental display of a slide with several animation effects. The currently supported transitions are:

9.3.3 seminar

<..configure html4 seminar..>
 \ConfigureEnv{slide}
   {\ifvmode \IgnorePar\fi \EndP\HCode{<hr />}\par}
   {\rightline{\the\c@slide}}{}{}
-_-_-

9.3.4 slidesec

<..configure html4 slidesec..>
    \ConfigureToc{slidesection}
       {\HCode{<span class="tocslidesection">}}{\ }{}{\HCode
            {</span><br />}}
-_-_-