Beamer

<..beamer.4ht..>
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 % beamer.4ht                            2014-07-12-22:36 %
 % Copyright (C) 2003--2009       Eitan M. Gurari         %
 <.TeX4ht copyright.>
 <.shared conf beamer.>
 \ifx \beamer@version\:UnDef
    <.shared conf beamer 0.8 and 0.3.>
    \ifx \insertinstituteshort\:UnDef
       <.conf beamer 0.8.>
    \else
       <.conf beamer 0.3.>
    \fi
 \else
    <.conf beamer 3.01.>
 \fi
 \Hinput{beamer}
 \endinput
 -_-_-

<..shared conf beamer..>
 <.beamer title page.>
 <.beamer sections.>
 <.beamer toc.>
 <.beamer other.>
 -_-_-

<..conf beamer 0.3..>
 \append:def\andtitle{\a:andtitle}
 \def\insttitle#1{\a:inst$\sp{#1}$\b:inst}
 \def\instinst#1{\a:inst$\sp{#1}$\b:inst\ignorespaces}
 -_-_-

<..conf beamer 0.8..>
 \append:def\beamer@andtitle{\a:andtitle}
 \def\beamer@insttitle#1{\a:inst$\sp{#1}$\b:inst}
 \def\beamer@instinst#1{\a:inst$\sp{#1}$\b:inst\ignorespaces}
 -_-_-

<..conf beamer 0.3..>+
 \pend:def\titlepage{%
    \a:titlepage
    \pend:def\inserttitletitle{\a:title}%
    \append:def\inserttitletitle{\b:title}%
    \pend:def\insertauthortitle{\a:author}%
    \append:def\insertauthortitle{\b:author}%
    \pend:def\insertinstitute{\a:institute}%
    \append:def\insertinstitute{\b:institute}%
    \pend:def\insertdate{\a:date}%
    \append:def\insertdate{\b:date}%
    \pend:def\inserttitlegraphic{\a:titlegraphic}%
    \append:def\inserttitlegraphic{\b:titlegraphic}%
 }
 \append:def\titlepage{\b:titlepage}
 -_-_-

<..conf beamer 0.8..>+
 \pend:def\titlepage{%
    \a:titlepage
    \pend:def\inserttitle{\a:title}%
    \append:def\inserttitle{\b:title}%
    \pend:def\insertauthor{\a:author}%
    \append:def\insertauthor{\b:author}%
    \pend:def\insertinstitute{\a:institute}%
    \append:def\insertinstitute{\b:institute}%
    \pend:def\insertdate{\a:date}%
    \append:def\insertdate{\b:date}%
    \pend:def\inserttitlegraphic{\a:titlegraphic}%
    \append:def\inserttitlegraphic{\b:titlegraphic}%
 }
 \append:def\titlepage{\b:titlepage}
 -_-_-

<..beamer title page..>
 \NewConfigure{titlepage}{2}
 \NewConfigure{title}{2}
 \NewConfigure{author}{2}
 \NewConfigure{institute}{2}
 \NewConfigure{date}{2}
 \NewConfigure{titlegraphic}{2}
 \NewConfigure{andtitle}{1}
 \NewConfigure{inst}{2}
 -_-_-

<..beamer toc..>
 \def\addtocontents#1#2{%
    \add:toc{#1}{}{#2}%
 }
 \def\add:toc#1#2#3{{%
    \csname if:toc\endcsname{
       \def\protect{\noexpand\noexpand\noexpand}%
       \edef\:tempa{<.beamer toc entry.>}\:tempa
    }%
 }}
 -_-_-

<..beamer toc entry..>
 \the\:tokwrite{\string\doTocEntry
    \string\toc#1{#2}{%
       \string\csname\space a:TocLink\string\endcsname
             {\FileNumber}{\cur:th\@currentlabel}{}{#3}%
    }{}\relax
 }%
 -_-_-

<..beamer toc..>+
 \def\tableofcontents{\futurelet\:temp\:TOC}
 \def\:TOC{\ifx [\:temp \expandafter\:TableOfContents
           \else \:TableOfContents[toc]\fi}
 -_-_-

<..beamer toc 0.8 and 0.3..>
 \pend:def\@subsectiontemplateshaded{\a:subsectionshadedintoc}
 \append:def\@subsectiontemplateshaded{\b:subsectionshadedintoc}
 \pend:def\@subsectiontemplate{\a:subsectionintoc}
 \append:def\@subsectiontemplate{\b:subsectionintoc}
 \pend:def\sectiontemplateshaded{\a:sectionshadedintoc}
 \append:def\sectiontemplateshaded{\b:sectionshadedintoc}
 \pend:def\sectiontemplate{\a:sectionintoc}
 \append:def\sectiontemplate{\b:sectionintoc}
 
 \NewConfigure{sectionshadedintoc}{2}
 \NewConfigure{sectionintoc}{2}
 \NewConfigure{subsectionshadedintoc}{2}
 \NewConfigure{subsectionintoc}{2}
 -_-_-

<..conf beamer 0.3..>+
 \let\o:subsection:\subsection
 \def\subsection#1{%
    \expandafter\global\expandafter\sl:toks\expandafter
    {\the\sl:toks\leavevmode \o:subsection:{#1}%
     \add:toc{subsection}{\thesection.\thesubsection}{#1}}%
    <.cond undo delayed sect.>%
 }
 -_-_-

<..conf beamer 0.8..>+
 \let\o:@subsection:\@subsection
 \def\@subsection[#1]#2{%
    \expandafter\global\expandafter\sl:toks\expandafter
    {\the\sl:toks\leavevmode \o:@subsection:[#1]{#2}%
     \add:toc{subsection}{\thesection.\thesubsection}{#2}}%
    <.cond undo delayed sect.>%
 }
 -_-_-

<..beamer sections..>
 \let\o:@section:\@section
 \def\@section[#1]#2{%
    \expandafter\global\expandafter\sl:toks\expandafter
    {\the\sl:toks\leavevmode \o:@section:[#1]{#2}%
     \add:toc{section}{\thesection}{\secname}}%
    <.cond undo delayed sect.>%
 }
 
 
 \let\o:untitledsubsection:\untitledsubsection
 \def\untitledsubsection#1{%
    \expandafter\global\expandafter\sl:toks\expandafter
    {\the\sl:toks\leavevmode \o:untitledsubsection:}%
    <.cond undo delayed sect.>%
 }
 
 \newtoks\sl:toks
 \NewConfigure{sec@slide}{2}
 -_-_-

<..conf beamer 0.3..>+
 \pend:def\slide{\a:sec@slide\the\sl:toks\b:sec@slide
    \global\sl:toks={}}
 -_-_-

<..conf beamer 0.8..>+
 \let\be:frameslide\frameslide
 \def\frameslide{\a:sec@slide\the\sl:toks\b:sec@slide
    \global\sl:toks={}\be:frameslide}
 -_-_-

If sec@slide is configured, the section are subsection commands are transported into the slide blocks.

<..cond undo delayed sect..>
 \expandafter\ifx\csname a:sec@slide\endcsname\relax
    \expandafter\ifx\csname b:sec@slide\endcsname\relax
        \the\sl:toks \global\sl:toks={}%
 \fi\fi
 -_-_-

<..beamer toc 0.8 and 0.3..>+
 \pend:def\@beginblocktemplate{\a:blocktitle}
 \append:def\@beginblocktemplate{\b:blocktitle}
 \pend:def\@beginalertblocktemplate{\a:blocktitle}
 \append:def\@beginalertblocktemplate{\b:blocktitle}
 \pend:def\@beginexampleblocktemplate{\a:blocktitle}
 \append:def\@beginexampleblocktemplate{\b:blocktitle}
 \NewConfigure{blocktitle}{2}
 -_-_-

<..beamer toc 0.8 and 0.3..>+
 \pend:defI\frametitle{\bgroup
    \pend:def\@headrenderer{\a:frametitle}%
    \append:def\@headrenderer{\b:frametitle}%
 }
 \append:defI\frametitle{\egroup}
 \NewConfigure{frametitle}{2}
 -_-_-

<..beamer other..>
 \pend:defI\alert{\a:alert}
 \append:defI\alert{\b:alert}
 \NewConfigure{alert}{2}
 \pend:defI\structure{\a:structure}
 \append:defI\structure{\b:structure}
 \NewConfigure{structure}{2}
 -_-_-