attempt to index nil value with bidi math in hbox
Hi Hans, This test file: \setupdirections[bidi=global,method=one] \starttext \hbox{$\varepsilon$-TeX} \stoptext gives the following error: callback error: ...ext/tex/texmf-context/tex/context/base/mkxl/typo-duc.lmt:618: attempt to index a nil value (local 'before') stack traceback: ...ext/tex/texmf-context/tex/context/base/mkxl/typo-duc.lmt:618: in upvalue 'resolve_weak' ...ext/tex/texmf-context/tex/context/base/mkxl/typo-duc.lmt:781: in upvalue 'resolve_levels' ...ext/tex/texmf-context/tex/context/base/mkxl/typo-duc.lmt:1053: in local 'handler' ...ext/tex/texmf-context/tex/context/base/mkxl/typo-dir.lmt:182: in upvalue 'typesetters_directions_handler' [string "local tonut = nodes.tonut..."]:20: in function <[string "local tonut = nodes.tonut..."]:13> (...tail calls...) Running either this: \starttext \hbox{$\varepsilon$-TeX} \stoptext or this: \setupdirections[bidi=global,method=one] \starttext \hbox{$\varepsilon$TeX} \stoptext works as expected, without any errors. Thanks, -- Max
On 4/3/2023 7:50 AM, Max Chernoff via ntg-context wrote:
Hi Hans,
This test file:
\setupdirections[bidi=global,method=one] \starttext \hbox{$\varepsilon$-TeX} \stoptext
gives the following error:
callback error: ...ext/tex/texmf-context/tex/context/base/mkxl/typo-duc.lmt:618: attempt to index a nil value (local 'before') stack traceback: ...ext/tex/texmf-context/tex/context/base/mkxl/typo-duc.lmt:618: in upvalue 'resolve_weak' ...ext/tex/texmf-context/tex/context/base/mkxl/typo-duc.lmt:781: in upvalue 'resolve_levels' ...ext/tex/texmf-context/tex/context/base/mkxl/typo-duc.lmt:1053: in local 'handler' ...ext/tex/texmf-context/tex/context/base/mkxl/typo-dir.lmt:182: in upvalue 'typesetters_directions_handler' [string "local tonut = nodes.tonut..."]:20: in function <[string "local tonut = nodes.tonut..."]:13> (...tail calls...)
Running either this: i'll check it (at least get rid of the error)
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 -----------------------------------------------------------------
participants (2)
-
Hans Hagen
-
Max Chernoff