diff options
Diffstat (limited to 'Master/texmf-dist/tex/generic/tex4ht/longtable.4ht')
-rw-r--r-- | Master/texmf-dist/tex/generic/tex4ht/longtable.4ht | 57 |
1 files changed, 38 insertions, 19 deletions
diff --git a/Master/texmf-dist/tex/generic/tex4ht/longtable.4ht b/Master/texmf-dist/tex/generic/tex4ht/longtable.4ht index 4f9837a1f30..ab85f8f3a72 100644 --- a/Master/texmf-dist/tex/generic/tex4ht/longtable.4ht +++ b/Master/texmf-dist/tex/generic/tex4ht/longtable.4ht @@ -1,6 +1,6 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% longtable.4ht 2005-10-23-04:19 % -% Copyright (C) 1997--2005 Eitan M. Gurari % +% longtable.4ht 2006-12-01-16:02 % +% Copyright (C) 1997--2006 Eitan M. Gurari % % % % This work may be distributed and/or modified under the % % conditions of the LaTeX Project Public License, either % @@ -24,9 +24,9 @@ % gurari@cse.ohio-state.edu % % http://www.cse.ohio-state.edu/~gurari % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\immediate\write-1{version 2005-10-23-04:19} +\immediate\write-1{version 2006-12-01-16:02} - \def\LT@array[#1]#2{% + \def\:tempc[#1]#2{% \gHAdvance\float:cnt 1 \gHAssign\capt:cnt0 \hbox{\def\flt:anchor{}\get:cptg}% @@ -140,12 +140,14 @@ \let\@sharp\relax \else \let\@sharp##\fi \LT@bchunk} -\def\LT@echunk{% +\HLet\LT@array\:tempc +\def\:tempc{% \crcr\LT@save@row\cr \ifx \EndPicture\:UnDef \EndMkHalign\else \egroup\fi % \global\setbox\@ne\lastbox \unskip \egroup} +\HLet\LT@echunk\:tempc \let\:tempc\LT@startpbox \append:defI\:tempc{\everypar{\HtmlPar}\a:longtableparbox}% \HLet\LT@startpbox\:tempc @@ -153,24 +155,38 @@ \NewConfigure{longtable}{6} \csname newbox\endcsname\LT:box \csname newbox\endcsname\LT:ebox -\pend:def\LT@start{\box\LT:box} -\append:def\endlongtable{\box\LT:ebox} -\pend:def\LT@ntabularcr{\global\let\lt:sv\HRow} -\pend:defI\LT@end@hd@ft{\global\let\lt:sv\HRow} -\def\LT@kill{\global\let\lt:sv\HRow} +\let\:tempc\LT@start +\pend:def\:tempc{\box\LT:box} +\HLet\LT@start\:tempc +\let\:tempc\endlongtable +\append:def\:tempc{\box\LT:ebox} +\pend:def\:tempc{\global\HCondtrue} +\HLet\endlongtable\:tempc +\let\:tempc\LT@ntabularcr +\pend:def\:tempc{\global\let\lt:sv\HRow} +\HLet\LT@ntabularcr\:tempc +\let\:tempc\LT@end@hd@ft +\pend:defI\:tempc{\global\let\lt:sv\HRow} +\HLet\LT@end@hd@ft\:tempc +\def\:tempc{\global\let\lt:sv\HRow} +\HLet\LT@kill\:tempc \let\LT:argtabularcr\LT@argtabularcr -\def\LT@argtabularcr{\global\let\lt:sv\HRow \LT:argtabularcr} +\def\:tempc{\global\let\lt:sv\HRow \LT:argtabularcr} +\HLet\LT@argtabularcr\:tempc \ifx \tmp:bx\:UnDef \csname newbox\endcsname \tmp:bx \fi -\def\endhead{\LT@end@hd@ft\tmp:bx} -\def\endfoot{\LT@end@hd@ft\tmp:bx} -\def\endlastfoot{\global\HCondtrue \LT@end@hd@ft\LT@lastfoot} -\pend:def\endlongtable{\global\HCondtrue} +\def\:tempc{\LT@end@hd@ft\tmp:bx} +\HLet\endhead\:tempc +\def\:tempc{\LT@end@hd@ft\tmp:bx} +\HLet\endfoot\:tempc +\def\:tempc{\global\HCondtrue \LT@end@hd@ft\LT@lastfoot} +\HLet\endlastfoot\:tempc - \def\LT@hline{% + \def\:tempc{% \o:noalign:{\ifnum0=`}\fi \penalty\@M \futurelet\@let@token\LT@@hline} -\def\LT@@hline{% +\HLet\LT@hline\:tempc +\def\:tempc{% \ifx\@let@token\hline \global\let\@gtempa\@gobble \gdef\LT@sep{\penalty-\@medpenalty\vskip\doublerulesep}% @@ -183,14 +199,17 @@ % \o:noalign:{\penalty\@M}% \@gtempa} +\HLet\LT@@hline\:tempc - \def\LT@caption{% + \def\:tempc{% \o:noalign:\bgroup \gHAdvance\TitleCount 1 \@ifnextchar[{\egroup\LT@c@ption\@firstofone}\LT@capti@n} -\def\LT@makecaption#1#2#3{% +\HLet\LT@caption\:tempc +\def\:tempc#1#2#3{% \LT@mcol\LT@cols c{\hbox{\parbox[t]\LTcapwidth{% \cptA: #1{\cap:ref{#2}}\cptB:\cptC:#3\cptD: \endgraf\vskip\baselineskip}}}} +\HLet\LT@makecaption\:tempc \Hinput{longtable} \endinput |