[NTG-context] \processassignmentlist inside a \setup... or related

2021-04-19 Thread Jairo A. del Rio
Hi, list! I hope my example shows clearly enough what I intend to do: \startluacode userdata = userdata or {} userdata.mydata = {} local function registermydata(data,...) table.insert(userdata.mydata, data) end interfaces.implement{ name = "registermydata", arguments = "2 strings",

Re: [NTG-context] \frac error

2021-04-19 Thread thierry horsin
Hi Hans, and thanks I tried your suggestion (I guess you mean cont-new.mkxl instead of cont-new.mlxl) It is still giving some errors. Besides, there is also now an error with xfrac (which was ok without modifying cont-new.mkxl) Thierry On 19/04/2021 10:36, Hans Hagen wrote: On 4/19/2021

Re: [NTG-context] \frac error

2021-04-19 Thread Hans Hagen
On 4/19/2021 9:39 AM, thierry horsin wrote: For instance: \switchtobodyfont[21pt] \startformula \frac{MTC}{MTE} \stopformula is OK. While \switchtobodyfont[22pt] \startformula \frac{MTC}{MTE} \stopformula gives an error but \switchtobodyfont[22pt] $\frac{MTC}{MTE}$ works fine. Thanks

Re: [NTG-context] context() does not ignore space in empty line

2021-04-19 Thread Hans Hagen
On 4/19/2021 9:22 AM, Sylvain Hubert wrote: Dear list, does anyone have an idea why, in the example below, context() starts a new paragraph at "\n\n" but not at "\n \n" with a space in between? Is there any way to fix it? \starttext Without using context(), inside the next parentheses is a

Re: [NTG-context] \frac error

2021-04-19 Thread thierry horsin
For instance: \switchtobodyfont[21pt] \startformula \frac{MTC}{MTE} \stopformula is OK. While \switchtobodyfont[22pt] \startformula \frac{MTC}{MTE} \stopformula gives an error but \switchtobodyfont[22pt] $\frac{MTC}{MTE}$ works fine. Thanks Below: part of the error message tex error  

Re: [NTG-context] \frac error

2021-04-19 Thread Hans Hagen
On 4/19/2021 9:21 AM, thierry horsin wrote: Hi again everybody I have tested some more examples. This error occurs when I fix the current font size to 22 pt (for some slide purposes). For sizes lower than 22pt, I have no error messages. can you make a MWE

[NTG-context] context() does not ignore space in empty line

2021-04-19 Thread Sylvain Hubert
Dear list, does anyone have an idea why, in the example below, context() starts a new paragraph at "\n\n" but not at "\n \n" with a space in between? Is there any way to fix it? \starttext Without using context(), inside the next parentheses is a new line: ( ) note that a space sits between the

Re: [NTG-context] \frac error

2021-04-19 Thread thierry horsin
Hi again everybody I have tested some more examples. This error occurs when I fix the current font size to 22 pt (for some slide purposes). For sizes lower than 22pt, I have no error messages. Best Thierry On 19/04/2021 05:17, thierry horsin wrote: Hi everybody Since I updated to the