On 5/29/2021 3:02 PM, Jairo A. del Rio wrote:
Hi, Adam. There are some ways to do it. I'm sure there are many more, but I don't remember them right now. Hi, Hans. There's a bug (?) in syst-lua.lua related to \expression in MkIV (xmath and xcomplex aren't defined). Please fix that
something local result = CONTEXTLMTXMODE > 0 and { "local xmath = xmath local xcomplex = xcomplex return " } or { "local xmath = math local xcomplex = { } return " } you can test it
%Temporary hack for MkIV
%Only use it in case \expression ... \relax doesn't work
kind of old (hacky experiment) that one ... i probably need to adapt it to lmtx anyway \luaexpr and \mathexpr are probably better for this kind of stuff (no need for the % then when the optional format arg is used) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------