Hi all, I hadn't upgraded in a couple of weeks because I was in the middle of a project. Now that I'm up to 2020.11.08, I have a problem: I can't load my third party modules; they all throw an error. The error message is Use of \syst_modules_setup_yes doesn't match its definition So I guess it's the way I have used setupmodule in my modules. I tried to find and understand the new code by comparing file-mod.mkvi vs file-mod.mklx, and it should be around l. 117-131 of this file, but I don't quite see what needs to be changed. A line such as \setupmodule [scale=1,font=GreekDidot] for my t-ancientgreek.mkiv works fine with the --luatex switch; in lmtx, context chokes on it. What is the new incantation for modules? Thomas
On 11/14/20 12:17 AM, j.hagen@xs4all.nl wrote:
Take today's upload.
Hi Hans, since you mentioned that such buglets may occur, here's another one, but in this case, the error message is obscure to me, and I have no clue where in the environment file it is triggered (it's an xml-project): tex error > tex error on line 8 in file cont-yes.mkiv: ? lua error: registered function call [382]: [string "..."]:5: attempt to call a nil value (global 'scanintegerargument') stack traceback: [string "..."]:5: in function <[string "..."]:4> Does that ring any bell? All best Thomas
On 11/15/2020 12:05 AM, Thomas A. Schmitz wrote:
On 11/14/20 12:17 AM, j.hagen@xs4all.nl wrote:
Take today's upload.
Hi Hans,
since you mentioned that such buglets may occur, here's another one, but in this case, the error message is obscure to me, and I have no clue where in the environment file it is triggered (it's an xml-project):
tex error > tex error on line 8 in file cont-yes.mkiv: ?
lua error:
registered function call [382]: [string "..."]:5: attempt to call a nil value (global 'scanintegerargument') stack traceback: [string "..."]:5: in function <[string "..."]:4>
Does that ring any bell? rgrep scanintegerargument *.l* ./toks-scn.lmt 44: local scanintegerargument = scanners.integerargument ./toks-scn.lmt 263: scanintegerargument = scanintegerargument,
so \ctxlua{print(tokens.scanners.integerargument)} should print a function reference if not, you have a mismatch between engine and context files 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 -----------------------------------------------------------------
participants (3)
-
Hans Hagen
-
j.hagen@xs4all.nl
-
Thomas A. Schmitz