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

michal_h21 at gnu.org.ua michal_h21 at gnu.org.ua
Sat Oct 3 23:07:05 CEST 2020


Author: michal_h21
Date: 2020-10-04 00:07:05 +0300 (Sun, 04 Oct 2020)
New Revision: 804

Modified:
   trunk/lit/tex4ht-4ht.tex
Log:
added more code from LaTeX kernel

Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex	2020-10-03 20:59:01 UTC (rev 803)
+++ trunk/lit/tex4ht-4ht.tex	2020-10-03 21:07:05 UTC (rev 804)
@@ -6710,7 +6710,10 @@
 \NewConfigure{:}{1}
 \NewConfigure{,}{1}
 \NewConfigure{>}{1}
-\DeclareRobustCommand\:tmspace[2]{\ifmmode\expandafter\csname a:#1\endcsname\else\kern#2\fi}
+\DeclareRobustCommand\:tmspace[2]{%
+  \ifmmode\expandafter\csname a:#1\endcsname%
+  \else\leavevmode at ifvmode\kern#2\fi\relax%
+}
 \DeclareRobustCommand\,{\:tmspace{,}{.16667em}}
 \DeclareRobustCommand\;{\:tmspace;{.2777em}}
 \DeclareRobustCommand\!{\:tmspace!{-.16667em}}



More information about the tex4ht-commits mailing list.