summaryrefslogtreecommitdiff
path: root/source/luametatex/source/tex/texcommands.c
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2023-05-05 19:33:15 +0200
committerContext Git Mirror Bot <phg@phi-gamma.net>2023-05-05 19:33:15 +0200
commitcc6d486ffa3fad4ffb698ad5ccbd5c5f4ebc6a00 (patch)
tree787c75ff830863d992f7301542a00be25b032dbf /source/luametatex/source/tex/texcommands.c
parenta0e79ce94348b934dcefc38133cd8fed08bd38e3 (diff)
downloadcontext-cc6d486ffa3fad4ffb698ad5ccbd5c5f4ebc6a00.tar.gz
2023-05-05 18:39:00
Diffstat (limited to 'source/luametatex/source/tex/texcommands.c')
-rw-r--r--source/luametatex/source/tex/texcommands.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/source/luametatex/source/tex/texcommands.c b/source/luametatex/source/tex/texcommands.c
index 91e6d75b8..3529f24d2 100644
--- a/source/luametatex/source/tex/texcommands.c
+++ b/source/luametatex/source/tex/texcommands.c
@@ -313,16 +313,16 @@ void tex_initialize_commands(void)
tex_primitive(tex_command, "accent", accent_cmd, normal_code, 0);
- /*tex These three can go in one cmd: */
+ /*tex These three times two can go in one cmd: */
tex_primitive(tex_command, "advance", arithmic_cmd, advance_code, 0);
tex_primitive(tex_command, "divide", arithmic_cmd, divide_code, 0);
tex_primitive(tex_command, "multiply", arithmic_cmd, multiply_code, 0);
- tex_primitive(tex_command, "advanceby", arithmic_cmd, advance_by_code, 0);
- tex_primitive(tex_command, "divideby", arithmic_cmd, divide_by_code, 0);
- tex_primitive(tex_command, "multiplyby", arithmic_cmd, multiply_by_code, 0);
- /* tex_primitive(tex_command, "advancebyplusone", arithmic_cmd, advance_by_plus_one_code, 0); */
- /* tex_primitive(tex_command, "advancebyminusone", arithmic_cmd, advance_by_minus_one_code, 0); */
+ tex_primitive(luatex_command, "advanceby", arithmic_cmd, advance_by_code, 0);
+ tex_primitive(luatex_command, "divideby", arithmic_cmd, divide_by_code, 0);
+ tex_primitive(luatex_command, "multiplyby", arithmic_cmd, multiply_by_code, 0);
+ /* tex_primitive(luatex_command, "advancebyplusone", arithmic_cmd, advance_by_plus_one_code, 0); */
+ /* tex_primitive(luatex_command, "advancebyminusone", arithmic_cmd, advance_by_minus_one_code, 0); */
/*tex We combined the after thingies into one category:*/