texlive[64837] Master/texmf-dist: hlines in tables, tex4ht r1225-6;

commits+karl at tug.org commits+karl at tug.org
Thu Oct 27 23:29:46 CEST 2022


Revision: 64837
          http://tug.org/svn/texlive?view=revision&revision=64837
Author:   karl
Date:     2022-10-27 23:29:46 +0200 (Thu, 27 Oct 2022)
Log Message:
-----------
hlines in tables, tex4ht r1225-6; cleveref spurious spaces, tex4ht r1227

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

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/source/generic/tex4ht/tex4ht-mathml.tex
    trunk/Master/texmf-dist/tex/generic/tex4ht/cleveref.4ht
    trunk/Master/texmf-dist/tex/generic/tex4ht/html4.4ht
    trunk/Master/texmf-dist/tex/generic/tex4ht/mathml.4ht
    trunk/Master/texmf-dist/tex/generic/tex4ht/usepackage.4ht

Modified: trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog	2022-10-27 20:12:22 UTC (rev 64836)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog	2022-10-27 21:29:46 UTC (rev 64837)
@@ -1,3 +1,18 @@
+2022-10-27  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-4ht.tex (cleveref.4ht): removed spurious spaces produced by
+	non-commented end lines.
+	https://github.com/michal-h21/make4ht/issues/89
+
+	* tex4ht-html4.tex (html4.4ht),
+	* tex4ht-mathml.tex (mathml.4ht): fixed wrong horizontal lines in
+	tables.
+	https://github.com/michal-h21/make4ht/issues/87
+
+	* tex4ht-html4.tex (html4.4ht): remove extra vertical lines after
+	last \hline in a table.
+	https://github.com/michal-h21/make4ht/issues/88
+
 2022-10-26  Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-4ht.tex (subfiles.4ht): fixed handling of environments

Modified: trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex	2022-10-27 20:12:22 UTC (rev 64836)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex	2022-10-27 21:29:46 UTC (rev 64837)
@@ -1,4 +1,4 @@
-% $Id: tex4ht-4ht.tex 1224 2022-10-26 14:03:21Z michal_h21 $
+% $Id: tex4ht-4ht.tex 1227 2022-10-27 15:02:31Z michal_h21 $
 % tex tex4ht-4ht   or   ht tex tex4ht-4ht
 %
 % Copyright 2009-2022 TeX Users Group    
@@ -3650,7 +3650,7 @@
     {\def\@tempa{\csname cref@#1 at alias\endcsname}}%
   \protected at xdef\cref at currentlabel{%
     [\@tempa][\arabic{#1}][\cref at result]%
-    \csname p@#1\endcsname\csname the#1\endcsname}
+    \csname p@#1\endcsname\csname the#1\endcsname}%
     \cref:currentlabel{#1}%
     }%
 \def\refstepcounter at optarg[#1]#2{%
@@ -3661,7 +3661,7 @@
     {\def\@tempa{\csname cref@#1 at alias\endcsname}}%
   \protected at xdef\cref at currentlabel{%
     [\@tempa][\arabic{#2}][\cref at result]%
-    \csname p@#2\endcsname\csname the#2\endcsname}
+    \csname p@#2\endcsname\csname the#2\endcsname}%
     \cref:currentlabel{#2}%
   }%
 >>>
@@ -3671,7 +3671,7 @@
 
 \<cleveref links\><<<
 \ifdefined\@firstoffive\else%
-  \def\@firstoffive#1#2#3#4#5{#1}
+  \def\@firstoffive#1#2#3#4#5{#1}%
 \fi
 \def\:tempa#1#2{\bgroup%
   \def\rEfLiNK##1##2{\Link{##1}{}}%
@@ -3694,11 +3694,11 @@
   \def\:tempb[#1]#2#3#4{%
    % call original amsthm theorem definition, but
    % disable \:thm in order to prevent infinite loop
-   \let\:thm\:gobble
+   \let\:thm\:gobble%
    \cref at thmnoarg{#2}%
    \o:cref at thmoptarg:[#1]{#2}{#3}{#4}
   }%
-  \HLet\cref at thmoptarg\:tempb
+  \HLet\cref at thmoptarg\:tempb%
 }{}%
 >>>
 

Modified: trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex	2022-10-27 20:12:22 UTC (rev 64836)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex	2022-10-27 21:29:46 UTC (rev 64837)
@@ -1,4 +1,4 @@
-% $Id: tex4ht-html4.tex 1223 2022-10-25 20:53:26Z michal_h21 $
+% $Id: tex4ht-html4.tex 1226 2022-10-27 14:19:24Z michal_h21 $
 % Compile 4 times: latex tex4ht-html4
 % Copy html4.4ht into the work directory before all but the last compilation.
 %
@@ -7717,6 +7717,8 @@
 \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;}}
+\Css{.hline + .vspace:last-child{display:none;}}
+\Css{.hline:first-child{border-bottom:1px solid black;border-top:none;}}
 >>>
 
 When \verb'\putVBorder' is call  in \verb'\VBorder' 

Modified: trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-mathml.tex
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-mathml.tex	2022-10-27 20:12:22 UTC (rev 64836)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-mathml.tex	2022-10-27 21:29:46 UTC (rev 64837)
@@ -1,4 +1,4 @@
-% $Id: tex4ht-mathml.tex 1221 2022-10-25 11:32:47Z michal_h21 $$
+% $Id: tex4ht-mathml.tex 1226 2022-10-27 14:19:24Z michal_h21 $$
 % compile 3 times: latex tex4ht-mathltx
 %           or   xhlatex tex4ht-mathltx "html,3,sections+"
 %
@@ -1292,13 +1292,15 @@
 
 \<configure html-mml latex\><<<
 \Css{.array-hline,.array-cline{ 
-  border-bottom:black solid 1px;  
+  border-top: 1px solid black;  
   height:0px;
 }} 
-\Css{.hline-mtd{ 
+\Css{.array-hline + .array-vspace:last-child{display:none;}}
+\Css{.hline-mtd, .array-hline td{ 
   display:none 
 }}
 \Css{.array-hline + .array-row:last-child{display:none;}}
+\Css{.array-hline:first-child{border-bottom:1px solid black;border-top:none;}}
 >>>
 
 \<td save EndP\><<<

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/cleveref.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/cleveref.4ht	2022-10-27 20:12:22 UTC (rev 64836)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/cleveref.4ht	2022-10-27 21:29:46 UTC (rev 64837)
@@ -1,4 +1,4 @@
-% cleveref.4ht (2021-12-27-13:23), generated from tex4ht-4ht.tex
+% cleveref.4ht (2022-10-27-13:37), generated from tex4ht-4ht.tex
 % Copyright 2018-2021 TeX Users Group
 %
 % This work may be distributed and/or modified under the
@@ -16,7 +16,7 @@
 %
 % If you modify this program, changing the
 % version identification would be appreciated.
-\immediate\write-1{version 2021-12-27-13:23}
+\immediate\write-1{version 2022-10-27-13:37}
 
 
 
@@ -42,7 +42,7 @@
     {\def\@tempa{\csname cref@#1 at alias\endcsname}}%
   \protected at xdef\cref at currentlabel{%
     [\@tempa][\arabic{#1}][\cref at result]%
-    \csname p@#1\endcsname\csname the#1\endcsname}
+    \csname p@#1\endcsname\csname the#1\endcsname}%
     \cref:currentlabel{#1}%
     }%
 \def\refstepcounter at optarg[#1]#2{%
@@ -53,12 +53,12 @@
     {\def\@tempa{\csname cref@#1 at alias\endcsname}}%
   \protected at xdef\cref at currentlabel{%
     [\@tempa][\arabic{#2}][\cref at result]%
-    \csname p@#2\endcsname\csname the#2\endcsname}
+    \csname p@#2\endcsname\csname the#2\endcsname}%
     \cref:currentlabel{#2}%
   }%
 
 \ifdefined\@firstoffive\else%
-  \def\@firstoffive#1#2#3#4#5{#1}
+  \def\@firstoffive#1#2#3#4#5{#1}%
 \fi
 \def\:tempa#1#2{\bgroup%
   \def\rEfLiNK##1##2{\Link{##1}{}}%
@@ -76,11 +76,11 @@
   \def\:tempb[#1]#2#3#4{%
    % call original amsthm theorem definition, but
    % disable \:thm in order to prevent infinite loop
-   \let\:thm\:gobble
+   \let\:thm\:gobble%
    \cref at thmnoarg{#2}%
    \o:cref at thmoptarg:[#1]{#2}{#3}{#4}
   }%
-  \HLet\cref at thmoptarg\:tempb
+  \HLet\cref at thmoptarg\:tempb%
 }{}%
 
 

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/html4.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/html4.4ht	2022-10-27 20:12:22 UTC (rev 64836)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/html4.4ht	2022-10-27 21:29:46 UTC (rev 64837)
@@ -1,4 +1,4 @@
-% html4.4ht (2022-10-23-13:53), generated from tex4ht-html4.tex
+% html4.4ht (2022-10-27-13:38), generated from tex4ht-html4.tex
 % Copyright 2009-2022 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 2022-10-23-13:53}
+\immediate\write-1{version 2022-10-27-13:38}
 
 \exit:ifnot{8859-6,% 
 CJK,% 
@@ -3102,6 +3102,8 @@
 \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;}}
+\Css{.hline + .vspace:last-child{display:none;}}
+\Css{.hline:first-child{border-bottom:1px solid black;border-top:none;}}
 \def\putVBorder{\expandafter\put:VBorder\VBorder</>!*?: }
 \def\put:VBorder#1</#2>#3!*?: {\def\:temp{#2}\ifx\:temp\empty
      \HCode{\VBorder}%
@@ -21069,6 +21071,8 @@
 \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;}}
+\Css{.hline + .vspace:last-child{display:none;}}
+\Css{.hline:first-child{border-bottom:1px solid black;border-top:none;}}
 \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/mathml.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/mathml.4ht	2022-10-27 20:12:22 UTC (rev 64836)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/mathml.4ht	2022-10-27 21:29:46 UTC (rev 64837)
@@ -1,4 +1,4 @@
-% mathml.4ht (2022-10-25-13:43), generated from tex4ht-mathml.tex
+% mathml.4ht (2022-10-27-13:38), generated from tex4ht-mathml.tex
 % Copyright 2009-2022 TeX Users Group
 % Copyright 1999-2009 Eitan M. Gurari
 %
@@ -17,7 +17,7 @@
 %
 % If you modify this program, changing the
 % version identification would be appreciated.
-\immediate\write-1{version 2022-10-25-13:43}
+\immediate\write-1{version 2022-10-27-13:38}
 
 \exit:ifnot{Preamble,% 
 accents,% 

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/usepackage.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/usepackage.4ht	2022-10-27 20:12:22 UTC (rev 64836)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/usepackage.4ht	2022-10-27 21:29:46 UTC (rev 64837)
@@ -1,4 +1,4 @@
-% usepackage.4ht (2022-10-26-13:32), generated from tex4ht-4ht.tex
+% usepackage.4ht (2022-10-27-13:37), generated from tex4ht-4ht.tex
 % Copyright 2003-2009 Eitan M. Gurari
 % Copyright 2009-2022 TeX Users Group
 %
@@ -17,7 +17,7 @@
 %
 % If you modify this program, changing the
 % version identification would be appreciated.
-\immediate\write-1{version 2022-10-26-13:32}
+\immediate\write-1{version 2022-10-27-13:37}
 
    \def\:temp{tex4ht}\ifx \:temp\@currname
    \:warning{\string\usepackage{tex4ht} again?}



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