[NTG-context] latest lmtx

Hans Hagen j.hagen at xs4all.nl
Sun Nov 15 12:47:26 CET 2020


On 11/15/2020 12:05 AM, Thomas A. Schmitz wrote:
> On 11/14/20 12:17 AM, j.hagen at 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
-----------------------------------------------------------------


More information about the ntg-context mailing list