tex.{get,set}math argument names
Hello, in tex/texmath.c, the `math_param_names` array is missing the entries `skewedfractionvgap` and `skewedfractionhgap`. This causes all array indices to be shifted and therefore a mismatch between the parameter names in Lua and the real names. For example: \showthe\Umathlimitabovevgap\displaystyle \showthe\Umathskewedfractionvgap\displaystyle \directlua{ print('limitabovevgap:', tex.getmath('limitabovevgap', 'display')) print('skewedfractionvgap:', tex.getmath('skewedfractionvgap', 'display')) } \bye results in
1.11111pt. l.1 \showthe\Umathlimitabovevgap\displaystyle
?
0.0pt. l.2 \showthe\Umathskewedfractionvgap\displaystyle
? limitabovevgap: 0 [\directlua]:1: bad argument #1 to 'getmath' (invalid option 'skewedfractionvga p') -- Marcel
participants (1)
-
Marcel Fabian Krüger