On 11/15/2020 12:05 AM, Thomas A. Schmitz wrote:
On 11/14/20 12:17 AM, j.ha...@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
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________