* attempt to index nil value with bidi math in hbox
@ 2023-04-03 5:50 Max Chernoff via ntg-context
2023-04-03 8:47 ` Hans Hagen via ntg-context
0 siblings, 1 reply; 2+ messages in thread
From: Max Chernoff via ntg-context @ 2023-04-03 5:50 UTC (permalink / raw)
To: ntg-context; +Cc: Max Chernoff
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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage : https://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: attempt to index nil value with bidi math in hbox
2023-04-03 5:50 attempt to index nil value with bidi math in hbox Max Chernoff via ntg-context
@ 2023-04-03 8:47 ` Hans Hagen via ntg-context
0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen via ntg-context @ 2023-04-03 8:47 UTC (permalink / raw)
To: Max Chernoff via ntg-context; +Cc: Hans Hagen
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
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage : https://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-04-03 8:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-03 5:50 attempt to index nil value with bidi math in hbox Max Chernoff via ntg-context
2023-04-03 8:47 ` Hans Hagen via ntg-context
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).