On 2/12/2025 6:59 PM, Pavneet Arora via ntg-context wrote:
This past weekend I attempted and update on my FreeBSD distribution, and
it failed with the following error:
open source > level 1, order 56, name 'supp-box.mkxl'
loading > ConTeXt Support Macros / Boxes
lua error > lua error on line 43 in file supp-box.mkxl:
token call, execute:
...ext/tex/texmf-context/tex/context/base/mkxl/node-ini.lmt:214: attempt to
index a nil value (global 'mathematics')
stack traceback:
...ext/tex/texmf-context/tex/context/base/mkxl/node-ini.lmt:214: in
metamethod 'index'
...ext/tex/texmf-context/tex/context/base/mkxl/supp-box.lmt:37: in
local 'code'
...ext/tex/texmf-context/tex/context/base/mkiv/util-lua.lua:97: in
field 'loadedluacode'
...ext/tex/texmf-context/tex/context/base/mkiv/luat-env.lua:108: in
field 'luafilechunk'
...ext/tex/texmf-context/tex/context/base/mkxl/luat-cod.lmt:82: in
function 'lua.registercode'
[ctxlua]:1: in main chunk
<empty file>
A number should have been here; I inserted '0'. (If you can't figure out why
I
needed to see a number, look up 'weird error' in the index to The TeXbook.)
<<<
I subsequently tried a fresh installation with the same error message.
I haven't seen mention of this elsewhere, and so am assuming that this
might be a FreeBSD specific issue?
Can you compile the binary from source (in the tree)? The freebsd vm is
not running so no bins are made,
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 /
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________