summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/tex4ht/latex.4ht
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-01-12 22:45:03 +0000
committerKarl Berry <karl@freefriends.org>2018-01-12 22:45:03 +0000
commitc227827bb41778a22502a5c5f55c48cada843f3c (patch)
treea5b5c2bd9f30f47d37b5422c69291c041386bf43 /Master/texmf-dist/tex/generic/tex4ht/latex.4ht
parentc8aaf5923479f61c01270f4c3ec39e9967632ee3 (diff)
sub/superscript ooffice support, tex4ht r363
git-svn-id: svn://tug.org/texlive/trunk@46293 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic/tex4ht/latex.4ht')
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/latex.4ht23
1 files changed, 20 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/generic/tex4ht/latex.4ht b/Master/texmf-dist/tex/generic/tex4ht/latex.4ht
index 7a0d9b1cea5..248228de3a5 100644
--- a/Master/texmf-dist/tex/generic/tex4ht/latex.4ht
+++ b/Master/texmf-dist/tex/generic/tex4ht/latex.4ht
@@ -1,6 +1,6 @@
-% latex.4ht (2017-01-24-15:21), generated from tex4ht-4ht.tex
+% latex.4ht (2018-01-12-14:38), generated from tex4ht-4ht.tex
% Copyright 1997-2009 Eitan M. Gurari
-% Copyright 2009-2017 TeX Users Group
+% Copyright 2009-2018 TeX Users Group
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either
@@ -17,7 +17,7 @@
%
% If you modify this program, changing the
% version identification would be appreciated.
-\immediate\write-1{version 2017-01-24-15:21}
+\immediate\write-1{version 2018-01-12-14:38}
\ifx\SaveMkHalignConf:g\:UnDef \else \expandafter\endinput\fi
@@ -1509,6 +1509,23 @@ $\vcenter
\Configure{textsuperscript}
{$\relax{\HCode{}}\sp}
{$}
+\def\:temp#1{%
+ {\m@th\ensuremath{_{\mbox{\fontsize\sf@size\z@#1}}}}}
+\ifx \@textsubscript\:temp
+ \def\:tempc#1{{\m@th%
+ \ifmmode {\HCode{}}\sb {\mbox{\fontsize\sf@size\z@#1}}%
+ \else%
+ \a:textsubscript%
+ {\mbox{#1}}\b:textsubscript%
+ \fi }}
+ \HLet\@textsubscript\:tempc
+\fi
+\NewConfigure{textsubscript}{2}
+\Configure{textsubscript}
+ {$\relax{\HCode{}}\sb}
+ {$}
+
+\Hinput{subscript}
\NewConfigure{wrindex}[1]{\concat:config\a:wrindex{#1}}
\let\a:wrindex\empty