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

michal_h21 at gnu.org.ua michal_h21 at gnu.org.ua
Tue Mar 30 00:29:33 CEST 2021


Author: michal_h21
Date: 2021-03-30 01:29:33 +0300 (Tue, 30 Mar 2021)
New Revision: 898

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-4ht.tex
Log:
Don't use math mode for superscripts in endnotes

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2021-03-27 11:39:41 UTC (rev 897)
+++ trunk/lit/ChangeLog	2021-03-29 22:29:33 UTC (rev 898)
@@ -1,3 +1,8 @@
+2021-03-30  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-4ht.tex (endnotes.4ht): don't use math mode to print superscripts.
+	https://tex.stackexchange.com/q/590565/2891
+
 2021-03-27  Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-ooffice.tex (ooffice.4ht): removed space ignoring specials from

Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex	2021-03-27 11:39:41 UTC (rev 897)
+++ trunk/lit/tex4ht-4ht.tex	2021-03-29 22:29:33 UTC (rev 898)
@@ -31269,10 +31269,10 @@
 \HLet\@endnotetext=\:tempc
 \def\@makeenmark{%
    \gHAdvance\endnote:N by 1
-   \hbox{$\sp{\a:makeenmark\@theenmark\b:makeenmark}$}}
+   \hbox{\textsuperscript{\a:makeenmark\@theenmark\b:makeenmark}}}
 \NewConfigure{makeenmark}{2}
 \def\enoteformat{\rightskip\z@ \leftskip\z@ \parindent=1.8em
-     \leavevmode\llap{\hbox{$\sp{\@theenmark}$}}}
+     \leavevmode\llap{\hbox{\textsuperscript{\@theenmark}}}}
 \def\:tempc{\bgroup
    \pend:def\enoteformat{\a:enoteformat}%
    \append:def\enoteformat{\b:enoteformat}%



More information about the tex4ht-commits mailing list.