Re: [NTG-context] Weird error when using \startformula inside lua

2021-09-12 Thread Sylvain Hubert via ntg-context
The problem also concerns \starttyping: \starttext . \startluacode context([[ \starttyping \stoptyping ]]) \stopluacode \stoptext tex error > runaway error: end of file encountered mtx-context | fatal error: return code: 256 % \starttext . \startluacode context([[ \starttyping

Re: [NTG-context] Weird error when using \startformula inside lua

2021-09-11 Thread Aditya Mahajan via ntg-context
On Sat, 11 Sep 2021, Hans Hagen wrote: > On 9/11/2021 5:11 AM, Aditya Mahajan via ntg-context wrote: > > I sometimes define lua functions for showing out worked out calculations. > > The following minimal example shows that > > > >context([[\startformula ... \stopformula]]) > > > > fails in

Re: [NTG-context] Weird error when using \startformula inside lua

2021-09-10 Thread Hans Hagen via ntg-context
On 9/11/2021 5:11 AM, Aditya Mahajan via ntg-context wrote: I sometimes define lua functions for showing out worked out calculations. The following minimal example shows that context([[\startformula ... \stopformula]]) fails in LMTX with an error message: tex error > tex error on lin

[NTG-context] Weird error when using \startformula inside lua

2021-09-10 Thread Aditya Mahajan via ntg-context
I sometimes define lua functions for showing out worked out calculations. The following minimal example shows that context([[\startformula ... \stopformula]]) fails in LMTX with an error message: tex error > tex error on line 3 in file ./test.tex: Undefined control sequence \undefine