[tex4ht-commits] [SCM] tex4ht updated: r363 - trunk/lit
michal_h21 at gnu.org.ua
michal_h21 at gnu.org.ua
Thu Jan 11 12:40:06 CET 2018
Author: michal_h21
Date: 2018-01-11 13:40:05 +0200 (Thu, 11 Jan 2018)
New Revision: 363
Modified:
trunk/lit/ChangeLog
trunk/lit/tex4ht-4ht.tex
trunk/lit/tex4ht-html4.tex
trunk/lit/tex4ht-ooffice.tex
Log:
Fixed support for sub and super scripts
Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog 2018-01-04 14:43:20 UTC (rev 362)
+++ trunk/lit/ChangeLog 2018-01-11 11:40:05 UTC (rev 363)
@@ -1,3 +1,10 @@
+2017-01-11 Michal Hoftich <michal.h21 at gmail.com>
+
+ * tex4ht-4ht.tex (latex.4ht),
+ * tex4ht-ooffice.tex (ooffice.4ht),
+ * tex4ht-html4.tex (html4.4ht): fixed support for \textsubscript and
+ \textsuperscript
+
2017-01-04 Michal Hoftich <michal.h21 at gmail.com>
* tex4ht-4ht.tex (biblatex.4ht): removed macros for older Biblatex versions
Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex 2018-01-04 14:43:20 UTC (rev 362)
+++ trunk/lit/tex4ht-4ht.tex 2018-01-11 11:40:05 UTC (rev 363)
@@ -10397,6 +10397,16 @@
This is a variant of textsuperscript.
\<subscript.4ht\><<<
+|<subscript def|>
+\Hinput{subscript}
+\endinput
+>>> \AddFile{9}{subscript}
+
+\<latex ltfloat\><<<
+|<subscript def|>
+\Hinput{subscript}
+>>>
+\<subscript def\><<<
\def\:temp#1{%
{\m at th\ensuremath{_{\mbox{\fontsize\sf at size\z@#1}}}}}
\ifx \@textsubscript\:temp
@@ -10412,9 +10422,7 @@
\Configure{textsubscript}
{$\relax{\HCode{}}\sb}
{$}
-\Hinput{subscript}
-\endinput
->>> \AddFile{9}{subscript}
+>>>
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\Section{subfigure.sty}
Modified: trunk/lit/tex4ht-html4.tex
===================================================================
--- trunk/lit/tex4ht-html4.tex 2018-01-04 14:43:20 UTC (rev 362)
+++ trunk/lit/tex4ht-html4.tex 2018-01-11 11:40:05 UTC (rev 363)
@@ -5497,6 +5497,10 @@
\Configure{textsuperscript}
{\HCode{<sup class="textsuperscript">}\bgroup \small}
{\egroup \HCode{</sup>}}
+
+\Configure{textsubscript}
+ {\HCode{<sub class="textsubscript">}\bgroup\small}
+ {\egroup \HCode{</sub>}}
>>>
\<configure html4 subscript\><<<
Modified: trunk/lit/tex4ht-ooffice.tex
===================================================================
--- trunk/lit/tex4ht-ooffice.tex 2018-01-04 14:43:20 UTC (rev 362)
+++ trunk/lit/tex4ht-ooffice.tex 2018-01-11 11:40:05 UTC (rev 363)
@@ -8629,9 +8629,17 @@
{\HCode{</text:span>}}
\OOstyles{%
<style:style style:name="textsuperscript" style:family="text">\Hnewline
- <style:text-properties style:text-position="super 80\%"/>\Hnewline
+ <style:text-properties style:text-position="super 58\%"/>\Hnewline
</style:style>\Hnewline
}
+\Configure{textsubscript}
+ {\HCode{<text:span text:style-name="textsubscript">}}
+ {\HCode{</text:span>}}
+\OOstyles{%
+<style:style style:name="textsubscript" style:family="text">\Hnewline
+ <style:text-properties style:text-position="sub 58\%"/>\Hnewline
+</style:style>\Hnewline
+}
>>>
More information about the tex4ht-commits
mailing list