| 1 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 2 |
% slidesec.4ht 2009-05-21-09:32 % |
| 3 |
% Copyright (C) 1999--2009 Eitan M. Gurari % |
| 4 |
% % |
| 5 |
% This work may be distributed and/or modified under the % |
| 6 |
% conditions of the LaTeX Project Public License, either % |
| 7 |
% version 1.3c of this license or (at your option) any % |
| 8 |
% later version. The latest version of this license is % |
| 9 |
% in % |
| 10 |
% http://www.latex-project.org/lppl.txt % |
| 11 |
% and version 1.3c or later is part of all distributions % |
| 12 |
% of LaTeX version 2005/12/01 or later. % |
| 13 |
% % |
| 14 |
% This work has the LPPL maintenance status "maintained".% |
| 15 |
% % |
| 16 |
% This Current Maintainer of this work % |
| 17 |
% is Eitan M. Gurari. % |
| 18 |
% % |
| 19 |
% If you modify this program your changing its signature % |
| 20 |
% with a directive of the following form will be % |
| 21 |
% appreciated. % |
| 22 |
% \message{signature} % |
| 23 |
% % |
| 24 |
% [email protected] % |
| 25 |
% http://www.cse.ohio-state.edu/~gurari % |
| 26 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 27 |
\immediate\write-1{version 2009-05-21-09:32} |
| 28 |
|
| 29 |
|
| 30 |
\def\listofslides{\begingroup |
| 31 |
\section*{List of Slides}% |
| 32 |
\def\l@slide##1##2##3{% |
| 33 |
\slide@undottedcline{\slidenumberline{##3}{##2}}{}}% |
| 34 |
\let\l@subslide\l@slide \a:listofslides |
| 35 |
\:tableofcontents[slidesection,subslidesection]\b:listofslides |
| 36 |
\endgroup} |
| 37 |
\NewConfigure{listofslides}{2} |
| 38 |
\def\slide@heading[#1]#2{% |
| 39 |
\stepcounter{slidesection}% |
| 40 |
\:los{slidesection}{#1}% |
| 41 |
\gdef\theslideheading{#1}% |
| 42 |
\def\@tempa{#2}% |
| 43 |
\ifx\@tempa\@empty\else |
| 44 |
{\edef\@currentlabel{\csname |
| 45 |
p@slidesection\endcsname\theslidesection}% |
| 46 |
\makeslideheading{#2}}% |
| 47 |
\fi} |
| 48 |
|
| 49 |
\def\slide@subheading[#1]#2{% |
| 50 |
\stepcounter{slidesection}% |
| 51 |
\:los{subheading}{#1}% |
| 52 |
\gdef\theslidesubheading{#1}% |
| 53 |
\def\@tempa{#2}% |
| 54 |
\ifx\@tempa\@empty\else |
| 55 |
{\edef\@currentlabel{\csname p@slidesubsection\endcsname |
| 56 |
\theslidesubsection}\makeslideheading{#2}}% |
| 57 |
\fi} |
| 58 |
|
| 59 |
\def\:los#1#2{{\Link{#1-\expandafter\the\csname |
| 60 |
c@#1\endcsname}{#1\expandafter\the\csname |
| 61 |
c@#1\endcsname}\EndLink |
| 62 |
\protect:wrtoc |
| 63 |
\edef\:temp{\the\:tokwrite{\string\doTocEntry |
| 64 |
\string\toc#1{\expandafter\the\csname c@#1\endcsname}{\string |
| 65 |
\csname\space a:TocLink\string\endcsname |
| 66 |
{\FileNumber}{#1\expandafter\the |
| 67 |
\csname c@#1\endcsname}{#1-\expandafter\the |
| 68 |
\csname c@#1\endcsname}{\ignorespaces #2}}{\the |
| 69 |
\c@slide}\relax}}\:temp |
| 70 |
}} |
| 71 |
|
| 72 |
|
| 73 |
\Hinput{slidesec} |
| 74 |
\endinput |
| 75 |
|