texlive[46293] Master/texmf-dist/tex/generic/tex4ht: sub/superscript
commits+karl at tug.org
commits+karl at tug.org
Fri Jan 12 23:45:03 CET 2018
Revision: 46293
http://tug.org/svn/texlive?view=revision&revision=46293
Author: karl
Date: 2018-01-12 23:45:03 +0100 (Fri, 12 Jan 2018)
Log Message:
-----------
sub/superscript ooffice support, tex4ht r363
Revision Links:
--------------
http://tug.org/svn/texlive?view=revision&revision=363
Modified Paths:
--------------
trunk/Master/texmf-dist/tex/generic/tex4ht/html4.4ht
trunk/Master/texmf-dist/tex/generic/tex4ht/latex.4ht
trunk/Master/texmf-dist/tex/generic/tex4ht/ooffice.4ht
Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/html4.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/html4.4ht 2018-01-12 22:36:11 UTC (rev 46292)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/html4.4ht 2018-01-12 22:45:03 UTC (rev 46293)
@@ -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 @@
{\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
Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/latex.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/latex.4ht 2018-01-12 22:36:11 UTC (rev 46292)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/latex.4ht 2018-01-12 22:45:03 UTC (rev 46293)
@@ -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 @@
\Configure{textsuperscript}
{$\relax{\HCode{}}\sp}
{$}
+\def\:temp#1{%
+ {\m at th\ensuremath{_{\mbox{\fontsize\sf at size\z@#1}}}}}
+\ifx \@textsubscript\:temp
+ \def\:tempc#1{{\m at th%
+ \ifmmode {\HCode{}}\sb {\mbox{\fontsize\sf at 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
Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/ooffice.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/ooffice.4ht 2018-01-12 22:36:11 UTC (rev 46292)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/ooffice.4ht 2018-01-12 22:45:03 UTC (rev 46293)
@@ -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,9 +2557,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
+}
\Configure{centercr}
{\ht:special{t4ht=<text:line-break/>}}
{\ht:everypar{\ht:everypar{\HtmlPar}}}
@@ -15100,6 +15108,8 @@
+
+
More information about the tex-live-commits
mailing list