summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/math-ali.mkiv
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2019-04-04 14:11:01 +0200
committerContext Git Mirror Bot <phg@phi-gamma.net>2019-04-04 14:11:01 +0200
commit64f6e8fc0c6cb9254a6fe3db0b4ab31c51cf8524 (patch)
tree1b36a0b35f5b6d516d27fe817a27249d4c6d9c78 /tex/context/base/mkiv/math-ali.mkiv
parent70a938c4934f042face9805fc4c392c0676b11d5 (diff)
downloadcontext-64f6e8fc0c6cb9254a6fe3db0b4ab31c51cf8524.tar.gz
2019-04-04 13:38:00
Diffstat (limited to 'tex/context/base/mkiv/math-ali.mkiv')
-rw-r--r--tex/context/base/mkiv/math-ali.mkiv7
1 files changed, 7 insertions, 0 deletions
diff --git a/tex/context/base/mkiv/math-ali.mkiv b/tex/context/base/mkiv/math-ali.mkiv
index ecfac6887..592a3441c 100644
--- a/tex/context/base/mkiv/math-ali.mkiv
+++ b/tex/context/base/mkiv/math-ali.mkiv
@@ -968,9 +968,14 @@
{\c_math_eqalign_column\zerocount
\rawprocesscommacommand[\mathmatrixparameter\c!align]\math_matrix_set_columns_step}
+\newcount\c_math_eqalign_column_saved
+\newcount\c_math_eqalign_first_saved
+
\unexpanded\def\math_matrix_start#1%
{\begingroup
\globalpushmacro\c_math_matrix_first
+ \c_math_eqalign_column_saved\c_math_eqalign_column
+ \c_math_eqalign_first_saved \c_math_eqalign_first
\edef\currentmathmatrix{#1}%
\dosingleempty\math_matrix_start_indeed}
@@ -985,6 +990,8 @@
\def\math_matrix_stop
{\math_matrix_stop_processing
+ \global\c_math_eqalign_first\c_math_eqalign_first_saved
+ \global\c_math_eqalign_column\c_math_eqalign_column_saved
\globalpopmacro\c_math_matrix_first
\endgroup}