From 518c74d01d42d9007c1b775ca3fd0529734ba466 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 6 Dec 2018 02:12:43 +0000 Subject: mathjax, tex4ht r455-457 git-svn-id: svn://tug.org/texlive/trunk@49330 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/tex/generic/tex4ht/html4-math.4ht | 59 +++++++++++++++++++--- 1 file changed, 52 insertions(+), 7 deletions(-) (limited to 'Master/texmf-dist/tex/generic/tex4ht/html4-math.4ht') diff --git a/Master/texmf-dist/tex/generic/tex4ht/html4-math.4ht b/Master/texmf-dist/tex/generic/tex4ht/html4-math.4ht index 7a85a1e6129..7a32d7cd687 100644 --- a/Master/texmf-dist/tex/generic/tex4ht/html4-math.4ht +++ b/Master/texmf-dist/tex/generic/tex4ht/html4-math.4ht @@ -1,5 +1,5 @@ -% html4-math.4ht (2017-03-30-16:04), generated from tex4ht-html4.tex -% Copyright 2009-2017 TeX Users Group +% html4-math.4ht (2018-12-05-18:11), generated from tex4ht-html4.tex +% Copyright 2009-2018 TeX Users Group % Copyright 1999-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-03-30-16:04} +\immediate\write-1{version 2018-12-05-18:11} \exit:ifnot{accents,% amsfonts,% @@ -314,6 +314,34 @@ ushort} \Css{div.pmatrix {text-align:center;}} \Css{table.pmatrix {width:100\%;}} +\:CheckOption{mathjax}\if:Option +\input{mathjax-latex-4ht.4ht} +\Configure{@HEAD}{\HCode{ +\Hnewline +}} +\Configure{MathjaxSource}{https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/latest.js?config=TeX-AMS-MML_HTMLorMML} +\Configure{@HEAD}{\HCode{ \Hnewline}} +\Configure{$}{}{}{\expandafter\AltMathOne} +\Configure{()}{\AltlMath}{} +\Configure{[]}{\AltlDisplay}{} +\fi + \NewConfigure{bar-css}{2} \Configure{bar-css} {\HCode{}} @@ -443,6 +471,7 @@ ushort} + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{amsmath} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -483,8 +512,10 @@ ushort} \fi} \Configure{substack}{\Picture+{}}{\EndPicture} \def\m:env#1{\relax\ifmmode\else\par\fi\:xhtml{\IgnorePar\EndP}% - \HCode{
}} + \HCode{
} + \Css{div.center-#1{text-align: center;}} + } \def\endm:env{\:xhtml{\IgnorePar\EndP}% \HCode{
}\IgnorePar \ifmmode\else\par\fi} @@ -728,8 +759,10 @@ ushort} {}{}{}{} \Configure{linebreak}{\HCode{
}} \def\m:env#1{\relax\ifmmode\else\par\fi\:xhtml{\IgnorePar\EndP}% - \HCode{
}} + \HCode{
} + \Css{div.center-#1{text-align: center;}} + } \def\endm:env{\:xhtml{\IgnorePar\EndP}% \HCode{
}\IgnorePar \ifmmode\else\par\fi} @@ -1058,6 +1091,8 @@ ushort} + + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{fleqn} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -1085,6 +1120,8 @@ ushort} + + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{gauss} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -1453,6 +1490,14 @@ ushort} + + + + + + + + -- cgit v1.2.3