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

michal_h21 at gnu.org.ua michal_h21 at gnu.org.ua
Tue Sep 22 15:29:54 CEST 2020


Author: michal_h21
Date: 2020-09-22 16:29:54 +0300 (Tue, 22 Sep 2020)
New Revision: 799

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-4ht.tex
Log:
Fix sub and superscript unconditionally

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2020-09-21 13:45:57 UTC (rev 798)
+++ trunk/lit/ChangeLog	2020-09-22 13:29:54 UTC (rev 799)
@@ -1,3 +1,9 @@
+2020-09-22  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-4ht (latex.4ht, subscript.4ht): patch \@textsuperscript and
+	\@textsubscript unconditionally.
+	https://puszcza.gnu.org.ua/bugs/index.php?477
+
 2020-09-21  Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-4ht.tex (usepackage.4ht): use \providecommand instead of

Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex	2020-09-21 13:45:57 UTC (rev 798)
+++ trunk/lit/tex4ht-4ht.tex	2020-09-22 13:29:54 UTC (rev 799)
@@ -10936,7 +10936,6 @@
 \<latex ltfloat\><<<
 \def\:temp#1{%
   {\m at th\ensuremath{^{\mbox{\fontsize\sf at size\z@#1}}}}}
-\ifx \@textsuperscript\:temp
   \def\:tempc#1{{\m at th
      \ifmmode {\HCode{}}\sp {\mbox{\fontsize\sf at size\z@#1}}%
      \else 
@@ -10944,7 +10943,6 @@
            {\mbox{#1}}\b:textsuperscript
      \fi }}
   \HLet\@textsuperscript\:tempc
-\fi
 \NewConfigure{textsuperscript}{2}
 \Configure{textsuperscript}
    {$\relax{\HCode{}}\sp}
@@ -10972,7 +10970,6 @@
 \<subscript def\><<<
 \def\:temp#1{%
    {\m at th\ensuremath{_{\mbox{\fontsize\sf at size\z@#1}}}}}
-\ifx \@textsubscript\:temp
   \def\:tempc#1{{\m at th%
      \ifmmode {\HCode{}}\sb {\mbox{\fontsize\sf at size\z@#1}}%
      \else%
@@ -10980,7 +10977,6 @@
            {\mbox{#1}}\b:textsubscript%
      \fi }}
   \HLet\@textsubscript\:tempc
-\fi
 \NewConfigure{textsubscript}{2}
 \Configure{textsubscript}
    {$\relax{\HCode{}}\sb}



More information about the tex4ht-commits mailing list.