diff options
author | Karl Berry <karl@freefriends.org> | 2020-06-16 20:58:38 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-06-16 20:58:38 +0000 |
commit | 835b22b71da638be141d3bcbc62fb9e7a22d9334 (patch) | |
tree | 88cbfd2311e72d6e44623c02687b2190b1a442fd /Master/texmf-dist/tex | |
parent | 11f6970e0b9f045ddf0fc71fca233eaa98f4a636 (diff) |
longtable fixes, tex4ht r742
git-svn-id: svn://tug.org/texlive/trunk@55570 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/generic/tex4ht/longtable.4ht | 24 |
1 files changed, 21 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/generic/tex4ht/longtable.4ht b/Master/texmf-dist/tex/generic/tex4ht/longtable.4ht index fd37cc24f7f..96f04b13bb7 100644 --- a/Master/texmf-dist/tex/generic/tex4ht/longtable.4ht +++ b/Master/texmf-dist/tex/generic/tex4ht/longtable.4ht @@ -1,7 +1,7 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% longtable.4ht 2019-12-19-14:27 % +% longtable.4ht 2020-06-16-13:36 % % Copyright (C) 1997-2009 Eitan M. Gurari % -% Copyright 2009-2019 TeX Users Group +% Copyright 2009-2020 TeX Users Group % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either @@ -225,9 +225,27 @@ \HLet\LT@caption\:tempc \def\:tempc#1#2#3{% \LT@mcol\LT@cols c{\hbox{\parbox[t]\LTcapwidth{% - \cptA: #1{\cap:ref{#2}}\if :#1:\else\cptB:\fi\cptC:#3\cptD: + \cptA: #1{\cap:ref{#2}}\if\relax\detokenize{#1}\relax\else\cptB:\fi\cptC:#3\cptD: \endgraf\vskip\baselineskip}}}} \HLet\LT@makecaption\:tempc +\def\:tempc#1[#2]#3{% + \LT@makecaption#1\fnum@table{#3}% + \cur:lbl{}% + \def\@tempa{#2}% + \ifx\@tempa\@empty\else% + {\let\\\space% + \protect:wrtoc% + \edef\:temp{#2}% + \edef\:temp{\the\:tokwrite{\string\doTocEntry% + \string\toclot% + {\thetable}{\string\csname\space a:TocLink\string\endcsname% + {\FileNumber}{\cur:th \:currentlabel}{}{\ifx\:temp\empty\else \ignorespaces #2\fi}}% + {}\relax}}\:temp% + }% + \fi% +} + +\HLet\LT@c@ption\:tempc \Hinput{longtable} \endinput |