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

michal_h21 at gnu.org.ua michal_h21 at gnu.org.ua
Thu Jan 24 20:52:59 CET 2019


Author: michal_h21
Date: 2019-01-24 21:52:58 +0200 (Thu, 24 Jan 2019)
New Revision: 518

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-4ht.tex
Log:
New fix for \xrightarrow and \xleftarrow

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2019-01-23 22:27:56 UTC (rev 517)
+++ trunk/lit/ChangeLog	2019-01-24 19:52:58 UTC (rev 518)
@@ -1,3 +1,9 @@
+2019-01-24  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-4ht.tex (amsmath.4ht): fixed definition of \xrightarrow and
+	\xleftarrow again.
+	https://tex.stackexchange.com/q/461445/2891
+
 2019-01-23  Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-4ht.tex (pstricks.4ht): fixed generated file name in the copyright

Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex	2019-01-23 22:27:56 UTC (rev 517)
+++ trunk/lit/tex4ht-4ht.tex	2019-01-24 19:52:58 UTC (rev 518)
@@ -18764,11 +18764,11 @@
 %   \noexpand\catcode`\noexpand\_=\the\catcode`\_ }
 
 \<body of amsmath.sty\><<<
-\def\:temp#1#2{\a:xrightarrow {\o:xrightarrow:{#1}{#2}}\b:xrightarrow}
-\HLet\xrightarrow|=\:temp
+\newcommand\:temp:xrightarrow[2][]{\a:xrightarrow {\o:xrightarrow:[#1]{#2}}\b:xrightarrow}
+\HLet\xrightarrow|=\:temp:xrightarrow
 \NewConfigure{xrightarrow}{2}
-\def\:temp#1#2{\a:xleftarrow {\o:xleftarrow:{#1}{#2}}\b:xleftarrow}
-\HLet\xleftarrow|=\:temp
+\newcommand\:temp:xleftarrow[2][]{\a:xleftarrow {\o:xleftarrow:[#1]{#2}}\b:xleftarrow}
+\HLet\xleftarrow|=\:temp:xleftarrow
 \NewConfigure{xleftarrow}{2}
 >>>
 



More information about the tex4ht-commits mailing list