From 835b22b71da638be141d3bcbc62fb9e7a22d9334 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 16 Jun 2020 20:58:38 +0000 Subject: longtable fixes, tex4ht r742 git-svn-id: svn://tug.org/texlive/trunk@55570 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/generic/tex4ht/longtable.4ht | 24 +++++++++++++++++++--- 1 file 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 -- cgit v1.2.3