From 3affd633834494c279f96078e95831935ea51ca7 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 10 May 2008 00:31:48 +0000 Subject: tex4ht-1.0.2008_05_07_2048 git-svn-id: svn://tug.org/texlive/trunk@8000 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/generic/tex4ht/caption.4ht | 57 ++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100755 Master/texmf-dist/tex/generic/tex4ht/caption.4ht (limited to 'Master/texmf-dist/tex/generic/tex4ht/caption.4ht') diff --git a/Master/texmf-dist/tex/generic/tex4ht/caption.4ht b/Master/texmf-dist/tex/generic/tex4ht/caption.4ht new file mode 100755 index 00000000000..1acd840371c --- /dev/null +++ b/Master/texmf-dist/tex/generic/tex4ht/caption.4ht @@ -0,0 +1,57 @@ +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% caption.4ht 2008-02-28-20:51 % +% Copyright (C) 2007--2008 Eitan M. Gurari % +% % +% This work may be distributed and/or modified under the % +% conditions of the LaTeX Project Public License, either % +% version 1.3c of this license or (at your option) any % +% later version. The latest version of this license is % +% in % +% http://www.latex-project.org/lppl.txt % +% and version 1.3c or later is part of all distributions % +% of LaTeX version 2005/12/01 or later. % +% % +% This work has the LPPL maintenance status "maintained".% +% % +% This Current Maintainer of this work % +% is Eitan M. Gurari. % +% % +% If you modify this program your changing its signature % +% with a directive of the following form will be % +% appreciated. % +% \message{signature} % +% % +% gurari@cse.ohio-state.edu % +% http://www.cse.ohio-state.edu/~gurari % +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\immediate\write-1{version 2008-02-28-20:51} + +\let\sv:toclof\toclof +\def\toclof#1#2#3{% + \bgroup + \def\a:TocLink##1##2##3##4{\gdef\:temp{##4}}% + #2% + \egroup + \ifx \:temp\empty \else + \sv:toclof{#1}{#2}{#3}% + \fi +} +\let\lof:ConfigureToc\ConfigureToc +\long\def\ConfigureToc#1#2#3#4#5{% + \lof:ConfigureToc{#1}{#2}{#3}{#4}{#5}% + \def\:temp{#1}\def\:tempa{lof}\ifx \:temp\:tempa + \let\toc:lof\toclof + \def\toclof##1##2##3{% + \bgroup + \def\a:TocLink####1####2####3####4{\gdef\:temp{####4}}% + ##2% + \egroup + \ifx\:temp\empty\else + \toc:lof {##1}{##2}{##3}% + \fi + }% +} + +\Hinput{caption} +\endinput + -- cgit v1.2.3