Debian Codegraph @

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

raw
1 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2 % float.4ht 2009-05-21-09:32 %
3 % Copyright (C) 2001--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 \def\caption{\:CheckOption{refcaption}\if:Option
30 \SkipRefstepAnchor \fi
31 \refstepcounter\@captype \@dblarg{\@caption\@captype}}
32 \let\:tempc\listof
33 \pend:defII\:tempc{\begingroup
34 \expandafter\ifx \csname toc\@nameuse{ext@##1}\endcsname\relax
35 \ConfigureToc{\@nameuse{ext@##1}}{\par}{ }{}{}%
36 \fi
37 \edef\@starttoc{\noexpand
38 \:tableofcontents[\@nameuse{ext@##1}]\noexpand\:gobble}}
39 \append:defII\:tempc{\endgroup}
40 \HLet\listof\:tempc
41
42 \ifx \floatevery\:Undef
43 \let\float:xfloat=\@xfloat
44 \def\@xfloat #1[#2]{\float:xfloat{#1}[#2]%
45 \expandafter\ifx\csname end#1\endcsname\float@end
46 \expandafter\def\csname end#1\endcsname{\end@float\egroup}%
47 \fi
48 \expandafter\ifx\csname end#1*\endcsname\float@dblend
49 \expandafter\def\csname end#1*\endcsname{\end@dblfloat\egroup}%
50 \fi
51 }
52
53 \else
54 \let\float:xfloat=\@xfloat
55 \def\@xfloat #1[#2]{\float:xfloat{#1}[#2]%
56 \expandafter\ifx\csname end#1\endcsname\float@end
57 \expandafter\def\csname end#1\endcsname{\end@float}%
58 \fi
59 \expandafter\ifx\csname end#1*\endcsname\float@dblend
60 \expandafter\def\csname end#1*\endcsname{\end@dblfloat}%
61 \fi
62 }
63
64 \fi
65 \Hinput{float}
66 \endinput
67