summaryrefslogtreecommitdiff
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
parentc8aaf5923479f61c01270f4c3ec39e9967632ee3 (diff)
sub/superscript ooffice support, tex4ht r363
git-svn-id: svn://tug.org/texlive/trunk@46293 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/html4.4ht10
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/latex.4ht23
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/ooffice.4ht18
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{<sup class="textsuperscript">}\bgroup \small}
{\egroup \HCode{</sup>}}
+\Configure{textsubscript}
+ {\HCode{<sub class="textsubscript">}\bgroup\small}
+ {\egroup \HCode{</sub>}}
+
% \: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{</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
}
\Configure{centercr}
@@ -15112,5 +15120,7 @@ Y{0178}\i{00EF}%
+
+
\endinput