[tex4ht-commits] [SCM] tex4ht updated: r1227 - trunk/lit

Michal Hoftich INVALID.NOREPLY at gnu.org.ua
Thu Oct 27 17:02:31 CEST 2022


Author: michal_h21
Date: 2022-10-27 15:02:31 +0000 (Thu, 27 Oct 2022)
New Revision: 1227

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-4ht.tex
Log:
removed spurious spaces in cleveref

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2022-10-27 14:19:24 UTC (rev 1226)
+++ trunk/lit/ChangeLog	2022-10-27 15:02:31 UTC (rev 1227)
@@ -1,5 +1,9 @@
 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.

Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex	2022-10-27 14:19:24 UTC (rev 1226)
+++ trunk/lit/tex4ht-4ht.tex	2022-10-27 15:02:31 UTC (rev 1227)
@@ -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%
 }{}%
 >>>
 



More information about the tex4ht-commits mailing list.