summaryrefslogtreecommitdiff
path: root/tex/context/base/math-ali.mkiv
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2012-01-11 10:58:00 +0100
committerHans Hagen <pragma@wxs.nl>2012-01-11 10:58:00 +0100
commit7bda97c813cb44a963b79c1b27db399af1c618b2 (patch)
treea901dbce3220abf3fa11a52f5e3ed55d4e805092 /tex/context/base/math-ali.mkiv
parentcb61e304a824404b3847969f1da89f868449df8b (diff)
downloadcontext-7bda97c813cb44a963b79c1b27db399af1c618b2.tar.gz
beta 2012.01.11 10:58
Diffstat (limited to 'tex/context/base/math-ali.mkiv')
-rw-r--r--tex/context/base/math-ali.mkiv26
1 files changed, 13 insertions, 13 deletions
diff --git a/tex/context/base/math-ali.mkiv b/tex/context/base/math-ali.mkiv
index 0738666f0..bbc77ade6 100644
--- a/tex/context/base/math-ali.mkiv
+++ b/tex/context/base/math-ali.mkiv
@@ -531,7 +531,7 @@
\setupcurrentmathmatrix[#1]%
\fi
\emptyhbox
- \math_matrix_handler_apply
+ \math_matrix_align_method_analyze
\mathmatrixleft
\mathmatrixbox\bgroup
\pushmacro\domatrixNC
@@ -584,10 +584,7 @@
\unexpanded\def\dodomatrixNC
{\gdef\domatrixNC{\endmath&}}
-\installcorenamespace{mathmatrixhandler}
-
-\def\installmathmatrixhandler#1#2%
- {\setvalue{\??mathmatrixhandler#1}{#2}}
+\installcorenamespace{mathmatrixalignmethod}
\let\mathmatrixleft \empty % experimental hook
\let\mathmatrixright\empty % experimental hook
@@ -601,20 +598,23 @@
\mathmatrixparameter\c!right$}}%
\vbox}
-\installmathmatrixhandler\v!top {\def\mathmatrixbox{\math_matrix_process\plusthree\plusone }}
-\installmathmatrixhandler\v!high {\def\mathmatrixbox{\math_matrix_process\plusthree\zerocount}}
-\installmathmatrixhandler\v!lohi {\def\mathmatrixbox{\math_matrix_process\plustwo \zerocount}}
-\installmathmatrixhandler\v!low {\def\mathmatrixbox{\math_matrix_process\plusone \zerocount}}
-\installmathmatrixhandler\v!bottom{\def\mathmatrixbox{\math_matrix_process\plusone \plusone }}
-\installmathmatrixhandler\v!normal{\def\mathmatrixbox{\math_matrix_process\plustwo \zerocount}} % lohi
+\unexpanded\def\installmathmatrixalignmethod#1#2%
+ {\setvalue{\??mathmatrixalignmethod#1}{#2}}
-\def\math_matrix_handler_apply
- {\csname\??mathmatrixhandler\ifcsname\??mathmatrixhandler\mathmatrixparameter\c!location\endcsname
+\def\math_matrix_align_method_analyze
+ {\csname\??mathmatrixalignmethod\ifcsname\??mathmatrixalignmethod\mathmatrixparameter\c!location\endcsname
\mathmatrixparameter\c!location
\else
\v!normal
\fi\endcsname}
+\installmathmatrixalignmethod\v!top {\def\mathmatrixbox{\math_matrix_process\plusthree\plusone }}
+\installmathmatrixalignmethod\v!high {\def\mathmatrixbox{\math_matrix_process\plusthree\zerocount}}
+\installmathmatrixalignmethod\v!lohi {\def\mathmatrixbox{\math_matrix_process\plustwo \zerocount}}
+\installmathmatrixalignmethod\v!low {\def\mathmatrixbox{\math_matrix_process\plusone \zerocount}}
+\installmathmatrixalignmethod\v!bottom{\def\mathmatrixbox{\math_matrix_process\plusone \plusone }}
+\installmathmatrixalignmethod\v!normal{\def\mathmatrixbox{\math_matrix_process\plustwo \zerocount}} % lohi
+
%D \startbuffer
%D \placeformula \startformula[-] \startmatrix
%D \NC 1 \NC x \NC a \NR