[NTG-context] Restarting with different engine fails

Hans Hagen j.hagen at xs4all.nl
Fri Feb 1 22:56:55 CET 2019


On 2/1/2019 10:30 PM, Henri Menke wrote:
> Dear list,
> 
> ConTeXt allows to select the engine in the preamble with a “magic
> comment”.  The preamble is parsed and the engine restarted with new
> options.  The following MWE fails in the latest beta
> 
> % engine=luajittex
> \starttext
> Fail
> \stoptext
> 
> with the error message
> 
> texmf-context/scripts/context/lua/mtx-context.lua:427: attempt to call a
> nil value (global 'restart')
> 
> If I uncomment the restart function and its helpers around line 110 it
> works.
ok, i commented too much (as a prelude to different stubbing)

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