diff options
author | Karl Berry <karl@freefriends.org> | 2023-02-23 22:55:55 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2023-02-23 22:55:55 +0000 |
commit | ea8911e32da68f3d2d64e650e495b40e9c3fde24 (patch) | |
tree | 29373bf358e9671527308a92b71efccf73de69f0 /Master/texmf-dist/tex | |
parent | c97860ed4a94c781c7e2cf3107dc0841bc1e5d26 (diff) |
mathjax+matrix+tikz fix, tex4ht r1299
git-svn-id: svn://tug.org/texlive/trunk@66108 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/generic/tex4ht/mathjax-latex-4ht.4ht | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/generic/tex4ht/mathjax-latex-4ht.4ht b/Master/texmf-dist/tex/generic/tex4ht/mathjax-latex-4ht.4ht index be91e6009ff..35adf5bc216 100644 --- a/Master/texmf-dist/tex/generic/tex4ht/mathjax-latex-4ht.4ht +++ b/Master/texmf-dist/tex/generic/tex4ht/mathjax-latex-4ht.4ht @@ -1,4 +1,4 @@ -% mathjax-latex-4ht.4ht (2022-12-27-13:30), generated from tex4ht-mathjax.tex +% mathjax-latex-4ht.4ht (2023-02-23-09:56), generated from tex4ht-mathjax.tex % Copyright 2018-2022 TeX Users Group % % This work may be distributed and/or modified under the @@ -16,7 +16,7 @@ % % If you modify this program, changing the % version identification would be appreciated. -\immediate\write-1{version 2022-12-27-13:30} +\immediate\write-1{version 2023-02-23-09:56} \ExplSyntaxOn @@ -62,6 +62,9 @@ \expandafter\let\csname mathjax-end#1\expandafter\endcsname\csname end#1\endcsname% } +% we must not reintroduce the matrix environmeint in TikZ, because it interferes with the \matrix command +\newcommand\:ignoretikzmatrix{\seq_remove_all:Nn\:savedmathjaxenvs{matrix}} + \newcommand\RestoreMathJaxEnvironment[1]{% \expandafter\let\csname #1\expandafter\endcsname\csname mathjax-#1\endcsname% \expandafter\let\csname end#1\expandafter\endcsname\csname mathjax-end#1\endcsname% @@ -158,7 +161,7 @@ }{} \@ifpackageloaded{tikz}{% -\tikzset{every picture/.append code={\RestoreMathJaxEnvironments}} +\tikzset{every picture/.append code={\:ignoretikzmatrix\RestoreMathJaxEnvironments}} }{} } @@ -651,5 +654,7 @@ + + \endinput |