Debian Codegraph @

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

raw
1 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2 % subfigure.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\subfig@oldlabel\relax
30 \def\:tempc#1[#2][#3]#4{\a:subfigure \cur:lbl{}%
31 \o:@subfloat:{#1}[#2][#3]{#4}\b:subfigure}
32 \HLet\@subfloat\:tempc
33
34 \else
35 \def\:tempc{%
36 \begingroup \gHAdvance\TitleCount 1
37 \let\begingroup\empty
38 \let\:tempa\xdef
39 \def\xdef{\let\xdef\:tempa
40 \def\protect{\string}\xdef}\o:@subcaption:}
41 \HLet\@subcaption=\:tempc
42 \def\:tempc#1[#2]#3{\a:subfigure
43 \o:@subfloat:{#1}[#2]{\cur:lbl{}#3}\b:subfigure}
44 \HLet\@subfloat\:tempc
45
46 \fi
47 \NewConfigure{subfigure}{2}
48 \def\:tempc#1#2{\o:@makesubfigurecaption:{%
49 \pend:def\thesubfigure{\a:subfigurecaption}%
50 \append:def\thesubfigure{\b:subfigurecaption}%
51 \pend:def\thesubtable{\a:subfigurecaption}%
52 \append:def\thesubtable{\b:subfigurecaption}%
53 #1}{\c:subfigurecaption#2\d:subfigurecaption}}
54 \HLet\@makesubfigurecaption\:tempc
55 \NewConfigure{subfigurecaption}{4}
56 \def\:tempc{\gHAdvance\TitleCount 1 \o:subfig@oldcaption:}
57 \HLet\subfig@oldcaption\:tempc
58
59
60 \Hinput{subfigure}
61 \endinput
62