From c227827bb41778a22502a5c5f55c48cada843f3c Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 12 Jan 2018 22:45:03 +0000 Subject: sub/superscript ooffice support, tex4ht r363 git-svn-id: svn://tug.org/texlive/trunk@46293 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/generic/tex4ht/latex.4ht | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) (limited to 'Master/texmf-dist/tex/generic/tex4ht/latex.4ht') 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 -- cgit v1.2.3