[tex4ht-commits] [SCM] tex4ht updated: r541 - trunk/lit
michal_h21 at gnu.org.ua
michal_h21 at gnu.org.ua
Tue Mar 19 17:12:32 CET 2019
Author: michal_h21
Date: 2019-03-19 18:12:32 +0200 (Tue, 19 Mar 2019)
New Revision: 541
Modified:
trunk/lit/ChangeLog
trunk/lit/tex4ht-ooffice.tex
Log:
Fixed superscript support in footnotes
Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog 2019-03-18 11:54:09 UTC (rev 540)
+++ trunk/lit/ChangeLog 2019-03-19 16:12:32 UTC (rev 541)
@@ -1,3 +1,8 @@
+2019-03-19 Michal Hoftich <michal.h21 at gmail.com>
+
+ * tex4ht-ooffice.tex (ooffice.4ht): added group around \@textsuperscript
+ reset, in order to support superscripts in footnotes.
+
2019-03-18 Michal Hoftich <michal.h21 at gmail.com>
* tex4ht-sty.tex (tex4ht.sty): removed second argument for \BlockElementEnd,
Modified: trunk/lit/tex4ht-ooffice.tex
===================================================================
--- trunk/lit/tex4ht-ooffice.tex 2019-03-18 11:54:09 UTC (rev 540)
+++ trunk/lit/tex4ht-ooffice.tex 2019-03-19 16:12:32 UTC (rev 541)
@@ -8554,13 +8554,13 @@
\Configure{footnotetext}
{\special{t4ht@)}\Tag{|<footnote id|>-tx}{}%
|<check duplicate footnote text|>%
- \SaveEndP \NoFonts \let\@textsuperscript\hbox
+ \SaveEndP \NoFonts \bgroup\let\@textsuperscript\hbox%
\HCode{<\text:footnote\Hnewline\text:note:class
text:id="}|<footnote id|>%
\HCode{"><\text:footnote-citation>}%
\IgnorePar \special{t4ht@(}%
}
- {\EndNoFonts \RecallEndP
+ {\egroup\EndNoFonts \RecallEndP
\HCode{</\text:footnote-citation><\text:footnote-body>
<text:p\Hnewline text:style-name="Footnote">}\NoFonts
% |<footnotetext space|>%
More information about the tex4ht-commits
mailing list