summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/tex4ht/jsmath.4ht
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-12-24 17:17:26 +0000
committerKarl Berry <karl@freefriends.org>2019-12-24 17:17:26 +0000
commit83898f5f87b203c77dc6093cbc951400955dd261 (patch)
tree1ea2555e6ce8e7d727167b7327db4fe74246d3da /Master/texmf-dist/tex/generic/tex4ht/jsmath.4ht
parent773028f14a83e68a56f394d3bdbaf6255c756ea8 (diff)
sync with current dev files
git-svn-id: svn://tug.org/texlive/trunk@53224 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic/tex4ht/jsmath.4ht')
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/jsmath.4ht176
1 files changed, 90 insertions, 86 deletions
diff --git a/Master/texmf-dist/tex/generic/tex4ht/jsmath.4ht b/Master/texmf-dist/tex/generic/tex4ht/jsmath.4ht
index 7638880916a..d35c322c451 100644
--- a/Master/texmf-dist/tex/generic/tex4ht/jsmath.4ht
+++ b/Master/texmf-dist/tex/generic/tex4ht/jsmath.4ht
@@ -1,30 +1,23 @@
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% jsmath.4ht 2008-06-11-11:36 %
-% Copyright (C) 2005--2008 Eitan M. Gurari %
-% %
-% This work may be distributed and/or modified under the %
-% conditions of the LaTeX Project Public License, either %
-% version 1.3 of this license or (at your option) any %
-% later version. The latest version of this license is %
-% in %
-% http://www.latex-project.org/lppl.txt %
-% and version 1.3 or later is part of all distributions %
-% of LaTeX version 2003/12/01 or later. %
-% %
-% This work has the LPPL maintenance status "maintained".%
-% %
-% This Current Maintainer of this work %
-% is Eitan M. Gurari. %
-% %
-% If you modify this program your changing its signature %
-% with a directive of the following form will be %
-% appreciated. %
-% \message{signature} %
-% %
-% gurari@cse.ohio-state.edu %
-% http://www.cse.ohio-state.edu/~gurari %
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\immediate\write-1{version 2008-06-11-11:36}
+% jsmath.4ht (2019-03-18-15:26), generated from tex4ht-jsmath.tex
+% Copyright (C) 2009-2010 TeX Users Group
+% Copyright (C) 2005-2009 Eitan M. Gurari
+%
+% This work may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License, either
+% version 1.3c of this license or (at your option) any
+% later version. The latest version of this license is in
+% http://www.latex-project.org/lppl.txt
+% and version 1.3c or later is part of all distributions
+% of LaTeX version 2005/12/01 or later.
+%
+% This work has the LPPL maintenance status "maintained".
+%
+% The Current Maintainer of this work
+% is the TeX4ht Project <http://tug.org/tex4ht>.
+%
+% If you modify this program, changing the
+% version identification would be appreciated.
+\immediate\write-1{version 2019-03-18-15:26}
\exit:ifnot{amsmath,%
array,%
@@ -46,11 +39,12 @@ tex4ht}
jsMath version 3.4 or above}%
\Configure{jsmath}{jsMath/jsMath.js}%
}
+\def\dlr{\expandafter\@gobble\string\$}
\Configure{$}
- {\Configure{@math}{span}\DviMath}
+ {\Configure{@math}{\dlr}\DviMath}
{\EndDviMath}{}
\Configure{$$}
- {\Configure{@math}{div}\IgnorePar
+ {\Configure{@math}{\dlr\dlr}\IgnorePar
\EndP\DviMath}
{\EndDviMath
\ShowPar\par{\csname HCondtrue\endcsname\noindent}}
@@ -191,6 +185,9 @@ tex4ht}
+
+
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ConfigureHinput{amsmath}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -210,6 +207,12 @@ tex4ht}
\def\rvert{\HCode{\string\vert\space}}
\def\lVert{\HCode{\string\Vert\space}}
\def\rVert{\HCode{\string\Vert\space}}
+\Configure{intertext}
+ {\IgnorePar %\ifinalign@
+ \HCode{\string\cr }%
+ \AA:text{intertext}}
+ {\BB:text \ifvmode \IgnorePar \fi %\EndP
+ \HCode{\string\cr }}
\ConfigureEnv{multline}
{\bgroup \Configure{$$}
{\Configure{@math}{}\IgnorePar \EndP\DviMath }
@@ -345,56 +348,13 @@ tex4ht}
\def\:tempc#1#2{%
\ConfigureEnv{#1}
{\def\end:al:env{}\ifmmode\else
- \ifvmode\else \def\end:al:env{\par\ShowPar\IgnoreIndent}\fi\fi}
+ \ifvmode\else \def\end:al:env{\par\ShowPar\IgnoreIndent}
+ \fi\fi}
{\end:al:env }
{}{}%
\Configure{#1}
- {\IgnorePar
- \ifvmode \EndP \else \EndP \HCode{<!--tex4ht:inline-->}\fi
- \ifmathltx
- \Tg<mrow>\def\end:mathalign{\Tg</mrow>}%
- \else
- \Configure{@math}{div}\DviMath
- \def\end:mathalign{\EndDviMath \DisplayMathfalse}%
- \DisplayMathtrue
- \fi
- \HCode{\string\matrix\l:brace}}
- {\HCode{\r:brace}\end:mathalign }
- {\ifnum \HRow> 1\HCode{\string\cr\Hnewline}\fi} {}
- {\HCode{\ifnum \HCol>1 \a:math:amp\fi
- \ifnum 1<\HMultispan
-% \string\multicolumn\l:brace\HMultispan\r:brace
- %\string\multispan
-?span/multispan-in-jsmath?
- \space\HMultispan\space
- \fi}%
-%
- \ifnum \HCol>\maxfields@ \HCode{\ifodd\HCol\space\else
- \string\kern \space 2em\space
-\fi
-}\fi}
- {\HCode{\ifodd\HCol\space\else
- \string\kern \space 2em\space
-\fi
-}}}
-\:tempc{align}{align}
-\:tempc{alignat}{alignat}
-\:tempc{xalignat}{xalignat}
-\:tempc{xxalignat}{xxalignat}
-\:tempc{flalign}{flalign}
-\:tempc{align*}{align*}
-\:tempc{alignat*}{alignat*}
-\:tempc{xalignat*}{xalignat*}
-\:tempc{flalign*}{flalign*}
-\def\:tempc#1#2{%
- \ConfigureEnv{#1}
- {\def\end:al:env{}\ifmmode\else
- \ifvmode\else \def\end:al:env{\par\ShowPar\IgnoreIndent}\fi\fi}
- {\end:al:env }
- {}{}%
- \Configure{#1}
- {\IgnorePar
- \ifvmode \EndP \else \EndP \HCode{<!--tex4ht:inline-->}\fi
+ {\IgnorePar\HtmlParOff
+ \ifvmode \EndP \else \EndP \fi
\ifmathltx
\Tg<mrow>\def\end:mathalign{\Tg</mrow>}%
\else
@@ -403,17 +363,13 @@ tex4ht}
\DisplayMathtrue
\fi
\HCode{\string\eqalignno\l:brace}}
- {\HCode{\r:brace}\end:mathalign }
+ {\HCode{\r:brace}\end:mathalign\HtmlParOn}
{\ifnum \HRow> 1\HCode{\string\cr\Hnewline}\fi}
{}
{\HCode{\ifnum \HCol>1 \a:math:amp\fi
- \ifnum 1<\HMultispan
-% \string\multicolumn\l:brace\HMultispan\r:brace
- %\string\multispan
-?span/multispan-in-jsmath?
- \space\HMultispan\space
- \fi}%
-}
+ \ifnum 1<\HMultispan
+ ?span/multispan-in-jsmath?
+ \space\HMultispan\space\fi}}%
{} %
}
\:tempc{align}{align}
@@ -507,8 +463,6 @@ tex4ht}
-
-
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ConfigureHinput{plain}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -542,6 +496,11 @@ tex4ht}
+
+
+
+
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ConfigureHinput{array}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -883,5 +842,50 @@ tex4ht}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\endinput