Debian Codegraph @

texmf-dist/tex/generic/tex4ht/foils.4ht

raw
1 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2 % foils.4ht 2009-05-21-09:32 %
3 % Copyright (C) 1997--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 \ifx \o:listoffigures:\:UnDef \else
30 \HRestore\listoffigures
31 \fi
32 \ifx \o:listoftables:\:UnDef \else
33 \HRestore\listoftables
34 \fi
35 \pend:def\maketitle{\par\a:mktl\begingroup
36 \ifx \@thanks\empty \else
37 \pend:def\@thanks{\a:thank}%
38 \append:def\@thanks{\b:thank}%
39 \fi
40 \aftergroup\b:mktl \:gobbleII
41 }
42 \def\@maketitle{%
43 {\a:ttl \@title \b:ttl}
44 {\lineskip \authorauthorskip
45 \begin{tabular}[t]{c}\a:author \@author \b:author\end{tabular}
46 \par
47 }
48 \ifx \@date\empty \else
49 \a:date \@date \b:date
50 \fi
51 \par
52 }
53 \NewConfigure{maketitle}[4]{\c:def\a:mktl{#1}\c:def\b:mktl{#2}%
54 \c:def\a:ttl{#3}\c:def\b:ttl{#4}}
55 \NewConfigure{author date}[4]{%
56 \c:def\a:author{#1}\c:def\b:author{#2}%
57 \c:def\a:date{#3}\c:def\b:date{#4}}
58 \NewSection\foilhead{}
59 \let\:foilhead\@foilhead
60 \def\@foilhead[#1]#2{%
61 \def\:temp{#2}\ifx\:temp\empty \:foilhead[#1]{\foilhead{\space}}%
62 \else \:foilhead[#1]{\foilhead{#2}}\fi }
63 \NewConfigure{tableofcontents*}[1]{\edef\auto:toc{#1}%
64 \ifx \::foilhead\:UnDef
65 \let\::foilhead\:foilhead
66 \def\:foilhead{\:TableOfContents[\auto:toc]%
67 \let\:foilhead\::foilhead \::foilhead}
68 \fi
69 }
70 \def\Str:pic{\ifx \EndPicture\:UnDef \Picture*{}%
71 \else \let\EndPicture\empty \fi }
72 \let\:boldequation\boldequation
73 \def\boldequation{\Str:pic \:boldequation}
74 \append:def\endboldequation{\EndPicture}
75 \expand:after{\let\boldequation:}\csname boldequation*\endcsname
76 \expandafter\def\csname boldequation*\endcsname{\Str:pic \boldequation:}
77 \expandafter\append:def\csname endboldequation*\endcsname{\EndPicture}
78 % \let\:begintheorem\@begintheorem
79 % \def\@begintheorem#1#2{\:begintheorem{#1}{#2.}}
80 % \def\@opargbegintheorem#1#2#3{\:begintheorem{#1}{#2.\ [#3] }}
81 % \def\@beginstartheorem#1{\:begintheorem{#1.}}
82 % \def\@opargbeginstartheorem#1#2{\:begintheorem{#1.}{\ [#2] }}
83 % \long\def\@caption#1[#2]#3{\par \begingroup \@parboxrestore \normalsize
84 % \@makecaption{\csname fnum@#1\endcsname}{\ignorespaces #3}\par
85 % \endgroup}
86 \def\end@nonfloat{\end@float}
87 \def\:temp#1{{\stepcounter{footnote}%
88 % \ifx \footnote\thanks
89 \a:thank\@fnsymbol\c@footnote\b:thank
90 % \fi
91 \let\a:thanks\empty \let\b:thanks\empty
92 \protected@xdef\@thanks{\noexpand\a:thanks{\@thanks\c:thank
93 \@fnsymbol\c@footnote\d:thank #1\e:thank}\noexpand\b:thanks}%
94 }}
95 \HLet\thanks\:temp
96
97 \Hinput{foils}
98 \endinput
99