diff options
author | Norbert Preining <norbert@preining.info> | 2023-02-25 03:01:09 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2023-02-25 03:01:09 +0000 |
commit | 81a9d839224eef4c2bd9bf68410b4049c61cdb14 (patch) | |
tree | 813b5a34a2548b16dbbcd271697c7bcf29342bde /support/TeX4ht/source/tex4ht-mathjax.tex | |
parent | c283f3a6970d2bc9de3501415f5701277da68693 (diff) |
CTAN sync 202302250301
Diffstat (limited to 'support/TeX4ht/source/tex4ht-mathjax.tex')
-rw-r--r-- | support/TeX4ht/source/tex4ht-mathjax.tex | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/support/TeX4ht/source/tex4ht-mathjax.tex b/support/TeX4ht/source/tex4ht-mathjax.tex index bd1723c82f..2a4c60f362 100644 --- a/support/TeX4ht/source/tex4ht-mathjax.tex +++ b/support/TeX4ht/source/tex4ht-mathjax.tex @@ -1,4 +1,4 @@ -% $Id: tex4ht-mathjax.tex 1279 2022-12-27 20:16:12Z michal_h21 $ +% $Id: tex4ht-mathjax.tex 1299 2023-02-22 14:26:08Z michal_h21 $ % compile: latex tex4ht-mathjax % % Copyright 2018-2022 TeX Users Group @@ -130,6 +130,9 @@ the \verb'\RestoreMathJaxEnvironments' command. \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% @@ -278,7 +281,7 @@ inside TikZ etc. \<restore environments\><<< \@ifpackageloaded{tikz}{% -\tikzset{every picture/.append code={\RestoreMathJaxEnvironments}} +\tikzset{every picture/.append code={\:ignoretikzmatrix\RestoreMathJaxEnvironments}} }{} >>> |