diff options
author | Hans Hagen <pragma@wxs.nl> | 2020-06-20 14:42:31 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2020-06-20 14:42:31 +0200 |
commit | 56c53b52bfa815946a62fdb28ee432b5d849b9c9 (patch) | |
tree | e0fb598f82bbd46c8e2e1391df00698dea75493f /tex/context/base/mkiv/math-ini.mkxl | |
parent | 63bb70d210dc6e8a17959c4e056fe41da3f1c398 (diff) | |
download | context-56c53b52bfa815946a62fdb28ee432b5d849b9c9.tar.gz |
2020-06-20 13:35:00
Diffstat (limited to 'tex/context/base/mkiv/math-ini.mkxl')
-rw-r--r-- | tex/context/base/mkiv/math-ini.mkxl | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/tex/context/base/mkiv/math-ini.mkxl b/tex/context/base/mkiv/math-ini.mkxl index 910337e22..c2a92fe5d 100644 --- a/tex/context/base/mkiv/math-ini.mkxl +++ b/tex/context/base/mkiv/math-ini.mkxl @@ -134,12 +134,12 @@ \fi \appendtoks - \attribute\mathmodeattribute\plusone + \c_attr_mathmode\plusone \to \everydisplay \appendtoks - \attribute\mathmodeattribute\plusone - \attribute\displaymathattribute\plusone + \c_attr_mathmode \plusone + \c_attr_displaymath\plusone \to \everybeforedisplayformula \setnewconstant\defaultmathfamily \zerocount % 255 @@ -594,7 +594,7 @@ \appendtoks \ifcase\c_math_renderings_attribute\else - \attribute\mathrenderingattribute\c_math_renderings_attribute + \c_attr_mathrendering\c_math_renderings_attribute \fi \to \everymathematics @@ -865,10 +865,10 @@ \let\math_tags_mfunctiontxt\gobbletwoarguments \let\math_tags_mfunctionlab\gobbletwoarguments -\unexpanded\def\math_tags_mo_indeed#1{\begingroup \attribute\mathcategoryattribute\plusone #1\endgroup} -\unexpanded\def\math_tags_mi_indeed#1{\begingroup \attribute\mathcategoryattribute\plustwo #1\endgroup} -\unexpanded\def\math_tags_mn_indeed#1{\begingroup\mathupright\attribute\mathcategoryattribute\plusthree\math_set_o_both#1\endgroup} -\unexpanded\def\math_tags_ms_indeed#1{\begingroup\mathupright\attribute\mathcategoryattribute\plusfour \math_set_p_both#1\endgroup} % todo: mathoptext +\unexpanded\def\math_tags_mo_indeed#1{\begingroup \c_attr_mathcategory\plusone #1\endgroup} +\unexpanded\def\math_tags_mi_indeed#1{\begingroup \c_attr_mathcategory\plustwo #1\endgroup} +\unexpanded\def\math_tags_mn_indeed#1{\begingroup\mathupright\c_attr_mathcategory\plusthree\math_set_o_both#1\endgroup} +\unexpanded\def\math_tags_ms_indeed#1{\begingroup\mathupright\c_attr_mathcategory\plusfour \math_set_p_both#1\endgroup} % todo: mathoptext \newconditional\c_apply_function @@ -1388,7 +1388,7 @@ \to \everysetupmathematics \appendtoks - \attribute\mathbidiattribute\ifconditional\c_math_right_to_left\c_math_bidi\else\attributeunsetvalue\fi + \c_attr_mathbidi\ifconditional\c_math_right_to_left\c_math_bidi\else\attributeunsetvalue\fi \to \everyswitchmathematics %D Delayed: greek. @@ -1443,15 +1443,15 @@ % only used local -\unexpanded\def\mathgreekupright{\attribute\mathgreekattribute"222\relax} -\unexpanded\def\mathgreekitalic {\attribute\mathgreekattribute"333\relax} -\unexpanded\def\mathgreekdefault{\attribute\mathgreekattribute"000\relax} +\unexpanded\def\mathgreekupright{\c_attr_mathgreek"222\relax} +\unexpanded\def\mathgreekitalic {\c_attr_mathgreek"333\relax} +\unexpanded\def\mathgreekdefault{\c_attr_mathgreek"000\relax} \let\mathgreeknormal\mathgreekupright \let\mathgreeknone \mathgreekdefault \appendtoks - \attribute\mathgreekattribute\c_math_greek_attribute + \c_attr_mathgreek\c_math_greek_attribute \to \everymathematics \setupmathematics @@ -1486,7 +1486,7 @@ \appendtoks \math_collapsing_initialize - \attribute\mathcollapsingattribute\c_math_collapsing_attribute + \c_attr_mathcollapsing\c_math_collapsing_attribute \to \everymathematics \setupmathematics @@ -1524,7 +1524,7 @@ \appendtoks \math_italics_initialize - \attribute\mathitalicsattribute\c_math_italics_attribute + \c_attr_mathitalics\c_math_italics_attribute \to \everymathematics % \setupmathematics % done later @@ -1561,7 +1561,7 @@ \appendtoks \math_kernpairs_initialize - \attribute\mathkernpairsattribute\c_math_kernpairs_attribute + \c_attr_mathkernpairs\c_math_kernpairs_attribute \to \everymathematics \setupmathematics @@ -1609,13 +1609,13 @@ % \mathcode\c_math_period\c_math_special % \let,\math_punctuation_comma % \let.\math_punctuation_period -% \attribute\mathpunctuationattribute\plustwo} +% \c_attr_mathpunctuation\plustwo} % % \unexpanded\gdef\math_punctuation_initialize_yes -% {\attribute\mathpunctuationattribute\plustwo} +% {\c_attr_mathpunctuation\plustwo} % % \unexpanded\gdef\math_punctuation_initialize_nop -% {\attribute\mathpunctuationattribute\plusone} +% {\c_attr_mathpunctuation\plusone} % % \egroup % @@ -1762,7 +1762,7 @@ \setupmathematics [\v!autopunctuation=\v!no] % no | yes | all | comma | yes,semicolon | all,semicolon -%D The consequences of settign this are as follows: +%D The consequences of setting this are as follows: %D %D \def\TestA#1#2#3% %D {\ifnum#1=0 \type{#2}\else\setupmathematics[autopunctuation={#2}]$#3$\fi} @@ -2790,7 +2790,7 @@ \to \everyswitchmathematics % only in mathematics \appendtoks - \attribute\mathdomainattribute\c_math_domain_attribute + \c_attr_mathdomain\c_math_domain_attribute \to \everymathematics \setupmathematics @@ -2864,11 +2864,11 @@ %D Experiment \unexpanded\def\math_scripts_stack - {\attribute\mathunstackattribute\attributeunsetvalue} + {\c_attr_mathunstack\attributeunsetvalue} \unexpanded\def\math_scripts_unstack {\clf_enablescriptunstacking - \attribute\mathunstackattribute\plusone} + \c_attr_mathunstack\plusone} \appendtoks \let\stackscripts \math_scripts_stack |