texlive[60623] Master/texmf-dist: \hline via css, tex4ht r986; omit
commits+karl at tug.org
commits+karl at tug.org
Mon Sep 27 00:07:17 CEST 2021
Revision: 60623
http://tug.org/svn/texlive?view=revision&revision=60623
Author: karl
Date: 2021-09-27 00:07:17 +0200 (Mon, 27 Sep 2021)
Log Message:
-----------
\hline via css, tex4ht r986; omit dimension checking for \LT at start, tex4ht r987
Revision Links:
--------------
http://tug.org/svn/texlive?view=revision&revision=986
http://tug.org/svn/texlive?view=revision&revision=987
Modified Paths:
--------------
trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog
trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex
trunk/Master/texmf-dist/tex/generic/tex4ht/html4.4ht
trunk/Master/texmf-dist/tex/generic/tex4ht/longtable.4ht
Modified: trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog 2021-09-26 21:27:33 UTC (rev 60622)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog 2021-09-26 22:07:17 UTC (rev 60623)
@@ -1,3 +1,11 @@
+2021-09-26 Michal Hoftich <michal.h21 at gmail.com>
+
+ * tex4ht-html4.tex (html4.4ht): draw table lines in \hline using CSS.
+ https://puszcza.gnu.org.ua/bugs/?528
+ * tex4ht-4ht.tex (longtable.4ht): redefine \LT at start to ommit box dimension
+ checking, as it can lead to compilation errors when table is too tall.
+ https://puszcza.gnu.org.ua/bugs/?527
+
2021-09-23 Michal Hoftich <michal.h21 at gmail.com>
* tex4ht-html4.tex (html4.4ht): removed invalid CSS declaration.
Modified: trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex 2021-09-26 21:27:33 UTC (rev 60622)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex 2021-09-26 22:07:17 UTC (rev 60623)
@@ -1,4 +1,4 @@
-% $Id: tex4ht-4ht.tex 984 2021-09-22 10:29:30Z michal_h21 $
+% $Id: tex4ht-4ht.tex 987 2021-09-26 20:24:16Z michal_h21 $
% tex tex4ht-4ht or ht tex tex4ht-4ht
%
% Copyright 2009-2021 TeX Users Group
@@ -9667,15 +9667,17 @@
\<longtable code\><<<
\csname newbox\endcsname\LT:box
\csname newbox\endcsname\LT:ebox
-\let\:tempc\LT at start
-\pend:def\:tempc{%
+\def\:tempc{%
\ifvoid\LT at head\else
\ifvoid\LT at firsthead
\global\setbox\LT at firsthead=\hbox{\box\LT at head}%
\else
\global\setbox\tmp:bx=\hbox{\box\LT at head}%
- \fi\fi
- \box\LT:box}
+ \fi\fi%
+ \box\LT:box%
+ \ifvoid\LT at firsthead\copy\LT at head\else\box\LT at firsthead\fi\nobreak
+ \output{\LT at output}
+}
\HLet\LT at start\:tempc
\let\:tempc\endlongtable
\append:def\:tempc{\box\LT:ebox}
Modified: trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex 2021-09-26 21:27:33 UTC (rev 60622)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex 2021-09-26 22:07:17 UTC (rev 60623)
@@ -1,4 +1,4 @@
-% $Id: tex4ht-html4.tex 985 2021-09-23 09:09:24Z michal_h21 $
+% $Id: tex4ht-html4.tex 986 2021-09-26 18:06:30Z michal_h21 $
% Compile 4 times: latex tex4ht-html4
% Copy html4.4ht into the work directory before all but the last compilation.
%
@@ -7643,6 +7643,7 @@
\Css{.hline hr, .cline hr{ height : 0px; margin:0px; }}
\Css{.hline td, .cline td{ padding: 0; }}
\Css{.hline hr, .cline hr{border:none;border-top:1px solid black;}}
+\Css{.hline {border-top: 1px solid black;}}
>>>
When \verb'\putVBorder' is call in \verb'\VBorder'
Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/html4.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/html4.4ht 2021-09-26 21:27:33 UTC (rev 60622)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/html4.4ht 2021-09-26 22:07:17 UTC (rev 60623)
@@ -1,4 +1,4 @@
-% html4.4ht (2021-09-23-13:52), generated from tex4ht-html4.tex
+% html4.4ht (2021-09-26-14:16), generated from tex4ht-html4.tex
% Copyright 2009-2021 TeX Users Group
% Copyright 1997-2009 Eitan M. Gurari
%
@@ -17,7 +17,7 @@
%
% If you modify this program, changing the
% version identification would be appreciated.
-\immediate\write-1{version 2021-09-23-13:52}
+\immediate\write-1{version 2021-09-26-14:16}
\exit:ifnot{8859-6,%
CJK,%
@@ -3063,6 +3063,7 @@
\Css{.hline hr, .cline hr{ height : 0px; margin:0px; }}
\Css{.hline td, .cline td{ padding: 0; }}
\Css{.hline hr, .cline hr{border:none;border-top:1px solid black;}}
+\Css{.hline {border-top: 1px solid black;}}
\def\putVBorder{\expandafter\put:VBorder\VBorder</>!*?: }
\def\put:VBorder#1</#2>#3!*?: {\def\:temp{#2}\ifx\:temp\empty
\HCode{\VBorder}%
@@ -20991,6 +20992,7 @@
\Css{.hline hr, .cline hr{ height : 0px; margin:0px; }}
\Css{.hline td, .cline td{ padding: 0; }}
\Css{.hline hr, .cline hr{border:none;border-top:1px solid black;}}
+\Css{.hline {border-top: 1px solid black;}}
\def\putVBorder{\expandafter\put:VBorder\VBorder</>!*?: }
\def\put:VBorder#1</#2>#3!*?: {\def\:temp{#2}\ifx\:temp\empty
\HCode{\VBorder}%
Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/longtable.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/longtable.4ht 2021-09-26 21:27:33 UTC (rev 60622)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/longtable.4ht 2021-09-26 22:07:17 UTC (rev 60623)
@@ -1,4 +1,4 @@
-% longtable.4ht (2021-06-13-08:46), generated from tex4ht-4ht.tex
+% longtable.4ht (2021-09-26-14:15), generated from tex4ht-4ht.tex
% Copyright 1997-2009 Eitan M. Gurari
% Copyright 2009-2021 TeX Users Group
%
@@ -17,7 +17,7 @@
%
% If you modify this program, changing the
% version identification would be appreciated.
-\immediate\write-1{version 2021-06-13-08:46}
+\immediate\write-1{version 2021-09-26-14:15}
\def\:tempc[#1]#2{%
\gHAdvance\float:cnt 1
@@ -147,15 +147,17 @@
\NewConfigure{longtable}{6}
\csname newbox\endcsname\LT:box
\csname newbox\endcsname\LT:ebox
-\let\:tempc\LT at start
-\pend:def\:tempc{%
+\def\:tempc{%
\ifvoid\LT at head\else
\ifvoid\LT at firsthead
\global\setbox\LT at firsthead=\hbox{\box\LT at head}%
\else
\global\setbox\tmp:bx=\hbox{\box\LT at head}%
- \fi\fi
- \box\LT:box}
+ \fi\fi%
+ \box\LT:box%
+ \ifvoid\LT at firsthead\copy\LT at head\else\box\LT at firsthead\fi\nobreak
+ \output{\LT at output}
+}
\HLet\LT at start\:tempc
\let\:tempc\endlongtable
\append:def\:tempc{\box\LT:ebox}
More information about the tex-live-commits
mailing list.