summaryrefslogtreecommitdiff
path: root/source/luametatex/source/tex/texmath.c
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2022-10-21 21:37:10 +0200
committerContext Git Mirror Bot <phg@phi-gamma.net>2022-10-21 21:37:10 +0200
commit5d31142615a7efaf833be860e412995b42bf9c3c (patch)
treef2c6470f09089ef3005659783b834989ee7e1989 /source/luametatex/source/tex/texmath.c
parentc0c1dea1daf21f2c21f6d8094f54f67138998baf (diff)
downloadcontext-5d31142615a7efaf833be860e412995b42bf9c3c.tar.gz
2022-10-21 21:13:00
Diffstat (limited to 'source/luametatex/source/tex/texmath.c')
-rw-r--r--source/luametatex/source/tex/texmath.c32
1 files changed, 0 insertions, 32 deletions
diff --git a/source/luametatex/source/tex/texmath.c b/source/luametatex/source/tex/texmath.c
index 52e200657..3f452b1ff 100644
--- a/source/luametatex/source/tex/texmath.c
+++ b/source/luametatex/source/tex/texmath.c
@@ -1713,12 +1713,6 @@ static int tex_aux_scan_math(halfword target, halfword style, int usetextfont, h
mval = tex_get_math_spec(cur_chr);
dval = tex_get_math_dict(cur_chr);
break;
- // case math_char_given_cmd:
- // mval = tex_mathchar_from_integer(cur_chr, tex_mathcode);
- // break;
- // case math_char_xgiven_cmd:
- // mval = tex_mathchar_from_integer(cur_chr, umath_mathcode);
- // break;
case delimiter_number_cmd:
switch (cur_chr) {
case math_delimiter_code:
@@ -1962,12 +1956,6 @@ int tex_scan_math_cmd_val(mathcodeval *mval, mathdictval *dval)
tex_get_x_token();
} while (cur_cmd == spacer_cmd);
switch (cur_cmd) {
- // case math_char_given_cmd:
- // *mval = tex_mathchar_from_integer(cur_chr, tex_mathcode);
- // break;
- // case math_char_xgiven_cmd:
- // *mval = tex_mathchar_from_integer(cur_chr, umath_mathcode);
- // break;
case mathspec_cmd:
*mval = tex_get_math_spec(cur_chr);
break;
@@ -2050,26 +2038,6 @@ void tex_run_math_math_char_number(void) {
}
}
-/*tex We build up an argument to |append_math_char|: */
-
-// void tex_run_text_math_char_given(void) {
-// tex_aux_append_math_char_in_text(tex_mathchar_from_integer(cur_chr, tex_mathcode));
-// }
-//
-// void tex_run_math_math_char_given(void) {
-// tex_aux_append_math_char(tex_mathchar_from_integer(cur_chr, tex_mathcode));
-// }
-
-/*tex We build up an argument to |append_math_char| the \LUATEX\ way: */
-
-// void tex_run_text_math_char_xgiven(void) {
-// tex_aux_append_math_char_in_text(tex_mathchar_from_integer(cur_chr, umath_mathcode));
-// }
-//
-// void tex_run_math_math_char_xgiven(void) {
-// tex_aux_append_math_char(tex_mathchar_from_integer(cur_chr, umath_mathcode));
-// }
-
void tex_run_math_delimiter_number(void) {
switch (cur_chr) {
case math_delimiter_code: