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
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________