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/html4.4ht | 10 +++++++--- Master/texmf-dist/tex/generic/tex4ht/latex.4ht | 23 ++++++++++++++++++++--- Master/texmf-dist/tex/generic/tex4ht/ooffice.4ht | 18 ++++++++++++++---- 3 files changed, 41 insertions(+), 10 deletions(-) diff --git a/Master/texmf-dist/tex/generic/tex4ht/html4.4ht b/Master/texmf-dist/tex/generic/tex4ht/html4.4ht index b046a58113a..d25f21845e4 100644 --- a/Master/texmf-dist/tex/generic/tex4ht/html4.4ht +++ b/Master/texmf-dist/tex/generic/tex4ht/html4.4ht @@ -1,5 +1,5 @@ -% html4.4ht (2017-12-08-16:07), generated from tex4ht-html4.tex -% Copyright 2009-2017 TeX Users Group +% html4.4ht (2018-01-12-14:42), generated from tex4ht-html4.tex +% Copyright 2009-2018 TeX Users Group % Copyright 1997-2009 Eitan M. Gurari % % This work may be distributed and/or modified under the @@ -17,7 +17,7 @@ % % If you modify this program, changing the % version identification would be appreciated. -\immediate\write-1{version 2017-12-08-16:07} +\immediate\write-1{version 2018-01-12-14:42} \exit:ifnot{8859-6,% CJK,% @@ -2800,6 +2800,10 @@ j{01F0}H{021E}h{021F}\i{01D0}\j{01F0}% {\HCode{}\bgroup \small} {\egroup \HCode{}} +\Configure{textsubscript} + {\HCode{}\bgroup\small} + {\egroup \HCode{}} + % \:CheckOption{javahelp} \if:Option % \input javahelp.4ht % \else 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 diff --git a/Master/texmf-dist/tex/generic/tex4ht/ooffice.4ht b/Master/texmf-dist/tex/generic/tex4ht/ooffice.4ht index 42a50da36f9..b76fb15a0f5 100644 --- a/Master/texmf-dist/tex/generic/tex4ht/ooffice.4ht +++ b/Master/texmf-dist/tex/generic/tex4ht/ooffice.4ht @@ -1,5 +1,5 @@ -% ooffice.4ht (2017-10-23-16:54), generated from tex4ht-ooffice.tex -% Copyright 2009-2017 TeX Users Group +% ooffice.4ht (2018-01-12-14:42), generated from tex4ht-ooffice.tex +% Copyright 2009-2018 TeX Users Group % Copyright 2001-2009 Maarten Wisse, James Naughton, Eitan M. Gurari % % This work may be distributed and/or modified under the @@ -17,7 +17,7 @@ % % If you modify this program, changing the % version identification would be appreciated. -\immediate\write-1{version 2017-10-23-16:54} +\immediate\write-1{version 2018-01-12-14:42} \exit:ifnot{Preamble,% algorithmicx,% @@ -2557,7 +2557,15 @@ xmlns:presentation="urn:oasis:names:tc:opendocument:xmlns:presentation:1.0"\Hnew {\HCode{}} \OOstyles{% \Hnewline - \Hnewline + \Hnewline +\Hnewline +} +\Configure{textsubscript} + {\HCode{}} + {\HCode{}} +\OOstyles{% +\Hnewline + \Hnewline \Hnewline } \Configure{centercr} @@ -15109,6 +15117,8 @@ Y{0178}\i{00EF}% + + -- cgit v1.2.3