summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/tex4ht/foils.4ht
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-04-20 23:02:43 +0000
committerKarl Berry <karl@freefriends.org>2009-04-20 23:02:43 +0000
commit3ea86bef2e63ca77c8fbfe4e3b4617804de11855 (patch)
tree1e0e750a74f9564e0c70869bcb018ee010518e50 /Master/texmf-dist/tex/generic/tex4ht/foils.4ht
parentee53eac199e12fb91859fd18a43dd506ff75e3a9 (diff)
tex4ht-1.0.2009_04_18_1145
git-svn-id: svn://tug.org/texlive/trunk@12767 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic/tex4ht/foils.4ht')
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/foils.4ht56
1 files changed, 45 insertions, 11 deletions
diff --git a/Master/texmf-dist/tex/generic/tex4ht/foils.4ht b/Master/texmf-dist/tex/generic/tex4ht/foils.4ht
index 61e0c113c37..d3b7c62ea14 100644
--- a/Master/texmf-dist/tex/generic/tex4ht/foils.4ht
+++ b/Master/texmf-dist/tex/generic/tex4ht/foils.4ht
@@ -1,6 +1,6 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% foils.4ht 2008-09-16-11:44 %
-% Copyright (C) 1997--2008 Eitan M. Gurari %
+% foils.4ht 2009-04-14-17:07 %
+% Copyright (C) 1997--2009 Eitan M. Gurari %
% %
% This work may be distributed and/or modified under the %
% conditions of the LaTeX Project Public License, either %
@@ -24,20 +24,46 @@
% gurari@cse.ohio-state.edu %
% http://www.cse.ohio-state.edu/~gurari %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\immediate\write-1{version 2008-09-16-11:44}
+\immediate\write-1{version 2009-04-14-17:07}
-
-\HRestore\listoffigures
-\HRestore\listoftables
- \NewSection\foilheads{}
+\ifx \o:listoffigures:\:UnDef \else
+ \HRestore\listoffigures
+\fi
+\ifx \o:listoftables:\:UnDef \else
+ \HRestore\listoftables
+\fi
+\pend:def\maketitle{\par\a:mktl\begingroup
+ \ifx \@thanks\empty \else
+ \pend:def\@thanks{\a:thank}%
+ \append:def\@thanks{\b:thank}%
+ \fi
+ \aftergroup\b:mktl \:gobbleII
+}
+\def\@maketitle{%
+ {\a:ttl \@title \b:ttl}
+ {\lineskip \authorauthorskip
+ \begin{tabular}[t]{c}\a:author \@author \b:author\end{tabular}
+ \par
+ }
+ \ifx \@date\empty \else
+ \a:date \@date \b:date
+ \fi
+ \par
+}
+\NewConfigure{maketitle}[4]{\c:def\a:mktl{#1}\c:def\b:mktl{#2}%
+ \c:def\a:ttl{#3}\c:def\b:ttl{#4}}
+\NewConfigure{author date}[4]{%
+ \c:def\a:author{#1}\c:def\b:author{#2}%
+ \c:def\a:date{#3}\c:def\b:date{#4}}
+\NewSection\foilhead{}
\let\:foilhead\@foilhead
\def\@foilhead[#1]#2{%
- \def\:temp{#2}\ifx\:temp\empty \:foilhead[#1]{\foilheads{\space}}%
- \else \:foilhead[#1]{\foilheads{#2}}\fi }
+ \def\:temp{#2}\ifx\:temp\empty \:foilhead[#1]{\foilhead{\space}}%
+ \else \:foilhead[#1]{\foilhead{#2}}\fi }
\NewConfigure{tableofcontents*}[1]{\edef\auto:toc{#1}%
\ifx \::foilhead\:UnDef
\let\::foilhead\:foilhead
- \def\:foilhead{\:tableofcontents[\auto:toc]%
+ \def\:foilhead{\:TableOfContents[\auto:toc]%
\let\:foilhead\::foilhead \::foilhead}
\fi
}
@@ -58,8 +84,16 @@
% \@makecaption{\csname fnum@#1\endcsname}{\ignorespaces #3}\par
% \endgroup}
\def\end@nonfloat{\end@float}
+\def\:temp#1{{\stepcounter{footnote}%
+% \ifx \footnote\thanks
+ \a:thank\@fnsymbol\c@footnote\b:thank
+% \fi
+ \let\a:thanks\empty \let\b:thanks\empty
+ \protected@xdef\@thanks{\noexpand\a:thanks{\@thanks\c:thank
+ \@fnsymbol\c@footnote\d:thank #1\e:thank}\noexpand\b:thanks}%
+}}
+\HLet\thanks\:temp
-
\Hinput{foils}
\endinput