texlive[55570] Master/texmf-dist/tex/generic/tex4ht/longtable.4ht:

commits+karl at tug.org commits+karl at tug.org
Tue Jun 16 22:58:38 CEST 2020


Revision: 55570
          http://tug.org/svn/texlive?view=revision&revision=55570
Author:   karl
Date:     2020-06-16 22:58:38 +0200 (Tue, 16 Jun 2020)
Log Message:
-----------
longtable fixes, tex4ht r742

Revision Links:
--------------
    http://tug.org/svn/texlive?view=revision&revision=742

Modified Paths:
--------------
    trunk/Master/texmf-dist/tex/generic/tex4ht/longtable.4ht

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/longtable.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/longtable.4ht	2020-06-16 20:48:07 UTC (rev 55569)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/longtable.4ht	2020-06-16 20:58:38 UTC (rev 55570)
@@ -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,10 +225,28 @@
 \HLet\LT at caption\:tempc
 \def\:tempc#1#2#3{%
   \LT at mcol\LT at 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 at makecaption\:tempc
+\def\:tempc#1[#2]#3{%
+  \LT at makecaption#1\fnum at 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 at c@ption\:tempc
+
 \Hinput{longtable}
 \endinput
 



More information about the tex-live-commits mailing list.