* [NTG-context] Issue : compilation error when using mathcases with pagella fonts (and others)
@ 2023-09-24 11:37 Vincent Picard
2023-09-24 13:49 ` [NTG-context] " Mikael Sundqvist
2023-09-26 19:07 ` vp.picard
0 siblings, 2 replies; 5+ messages in thread
From: Vincent Picard @ 2023-09-24 11:37 UTC (permalink / raw)
To: ntg-context
[-- Attachment #1.1: Type: text/plain, Size: 1213 bytes --]
Hello,
Since ConTexT last upgrade (ltmx 2023.09.18 21:13), I have a document that
won't compile with ConTexT. The problem seems to occur when using mathcases
with some ConTeXt provided fonts, including pagella. This is a minimal not
working example :
\setupbodyfont[pagella]
\starttext
\startformula
\delta_{ij} =
\startmathcases
\NC 1 \NC \text{if } i = j \NR
\NC 0 \NC \text{otherwise} \NR
\stopmathcases
\stopformula
\stoptext
The error is :
run callback [44]:
...ext/tex/texmf-context/tex/context/base/mkxl/math-fnt.lmt:56: table index
is nil\nstack traceback:\n
...ext/tex/texmf-context/tex/context/base/mkxl/math-fnt.lmt:56: in
metamethod 'index'\n
...ext/tex/texmf-context/tex/context/base/mkxl/math-fnt.lmt:104: in
function <...ext/tex/texmf-context/tex/context/base/mkxl/math-fnt.lmt:62>\n
[C]: in upvalue 'builders_kernel_mlisttohlist'\n [string \"local tonut =
nodes.tonut...\"]:43: in function <[string \"local tonut =
nodes.tonut...\"]:18>\n (...tail calls...)\n
...ext/tex/texmf-context/tex/context/base/mkxl/math-noa.lmt:2986: in
function <...ext/tex/texmf-context/tex/context/base/mkxl/math-noa.lmt:2984>
My system is : FreeBSD 64bits
Thank you for any help.
Sincerely,
Vincent Picard
[-- Attachment #1.2: Type: text/html, Size: 1512 bytes --]
[-- Attachment #2: Type: text/plain, Size: 495 bytes --]
___________________________________________________________________________________
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] 5+ messages in thread
* [NTG-context] Re: Issue : compilation error when using mathcases with pagella fonts (and others)
2023-09-24 11:37 [NTG-context] Issue : compilation error when using mathcases with pagella fonts (and others) Vincent Picard
@ 2023-09-24 13:49 ` Mikael Sundqvist
2023-09-24 15:17 ` Pablo Rodriguez
2023-09-26 19:07 ` vp.picard
1 sibling, 1 reply; 5+ messages in thread
From: Mikael Sundqvist @ 2023-09-24 13:49 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hi,
Not that it helps you much, but your example works fine here, and it
gives the expected result.
/Mikael
On Sun, Sep 24, 2023 at 1:42 PM Vincent Picard <vp.picard@gmail.com> wrote:
>
> Hello,
>
> Since ConTexT last upgrade (ltmx 2023.09.18 21:13), I have a document that won't compile with ConTexT. The problem seems to occur when using mathcases with some ConTeXt provided fonts, including pagella. This is a minimal not working example :
>
> \setupbodyfont[pagella]
>
> \starttext
> \startformula
> \delta_{ij} =
> \startmathcases
> \NC 1 \NC \text{if } i = j \NR
> \NC 0 \NC \text{otherwise} \NR
> \stopmathcases
> \stopformula
> \stoptext
>
> The error is :
> run callback [44]: ...ext/tex/texmf-context/tex/context/base/mkxl/math-fnt.lmt:56: table index is nil\nstack traceback:\n ...ext/tex/texmf-context/tex/context/base/mkxl/math-fnt.lmt:56: in metamethod 'index'\n ...ext/tex/texmf-context/tex/context/base/mkxl/math-fnt.lmt:104: in function <...ext/tex/texmf-context/tex/context/base/mkxl/math-fnt.lmt:62>\n [C]: in upvalue 'builders_kernel_mlisttohlist'\n [string \"local tonut = nodes.tonut...\"]:43: in function <[string \"local tonut = nodes.tonut...\"]:18>\n (...tail calls...)\n ...ext/tex/texmf-context/tex/context/base/mkxl/math-noa.lmt:2986: in function <...ext/tex/texmf-context/tex/context/base/mkxl/math-noa.lmt:2984>
>
> My system is : FreeBSD 64bits
>
> Thank you for any help.
> Sincerely,
> Vincent Picard
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
___________________________________________________________________________________
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] 5+ messages in thread
* [NTG-context] Re: Issue : compilation error when using mathcases with pagella fonts (and others)
2023-09-24 13:49 ` [NTG-context] " Mikael Sundqvist
@ 2023-09-24 15:17 ` Pablo Rodriguez
2023-09-24 15:49 ` Hans Hagen
0 siblings, 1 reply; 5+ messages in thread
From: Pablo Rodriguez @ 2023-09-24 15:17 UTC (permalink / raw)
To: ntg-context
On 9/24/23 15:49, Mikael Sundqvist wrote:
> Hi,
>
> Not that it helps you much, but your example works fine here, and it
> gives the expected result.
Hi Mikael,
I get exactly the same compilation error as Vicent.
I tried a brand new installation (with
http://lmtx.pragma-ade.nl/install-lmtx/context-linux-64.zip) and I got
the same error again.
Just in case it might help,
Pablo
PS: here is the error again:
tex error > tex error on line 10 in file ./a.tex:
lua error:
run callback [44]:
...ext/tex/texmf-context/tex/context/base/mkxl/math-fnt.lmt:56: table
index is nil
stack traceback:
...ext/tex/texmf-context/tex/context/base/mkxl/math-fnt.lmt:56: in
metamethod 'index'
...ext/tex/texmf-context/tex/context/base/mkxl/math-fnt.lmt:104: in
function <...ext/tex/texmf-context/tex/context/base/mkxl/math-fnt.lmt:62>
[C]: in upvalue 'builders_kernel_mlisttohlist'
[string "local tonut = nodes.tonut..."]:43: in function <[string
"local tonut = nodes.tonut..."]:18>
(...tail calls...)
...ext/tex/texmf-context/tex/context/base/mkxl/math-noa.lmt:2986: in
function <...ext/tex/texmf-context/tex/context/base/mkxl/math-noa.lmt:2984>
1 \setupbodyfont[pagella]
2
3 \starttext
4 \startformula
5 \delta_{ij} =
6 \startmathcases
7 \NC 1 \NC \text{if } i = j \NR
8 \NC 0 \NC \text{otherwise} \NR
9 \stopmathcases
10 >> \stopformula
11 \stoptext
___________________________________________________________________________________
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] 5+ messages in thread
* [NTG-context] Re: Issue : compilation error when using mathcases with pagella fonts (and others)
2023-09-24 15:17 ` Pablo Rodriguez
@ 2023-09-24 15:49 ` Hans Hagen
0 siblings, 0 replies; 5+ messages in thread
From: Hans Hagen @ 2023-09-24 15:49 UTC (permalink / raw)
To: ntg-context
On 9/24/2023 5:17 PM, Pablo Rodriguez wrote:
> On 9/24/23 15:49, Mikael Sundqvist wrote:
>> Hi,
>>
>> Not that it helps you much, but your example works fine here, and it
>> gives the expected result.
>
> Hi Mikael,
>
> I get exactly the same compilation error as Vicent.
>
> I tried a brand new installation (with
> http://lmtx.pragma-ade.nl/install-lmtx/context-linux-64.zip) and I got
> the same error again.
>
> Just in case it might help,
>
> Pablo
>
> PS: here is the error again:
>
> tex error > tex error on line 10 in file ./a.tex:
>
> lua error:
>
> run callback [44]:
> ...ext/tex/texmf-context/tex/context/base/mkxl/math-fnt.lmt:56: table
> index is nil
> stack traceback:
> ...ext/tex/texmf-context/tex/context/base/mkxl/math-fnt.lmt:56: in
> metamethod 'index'
> ...ext/tex/texmf-context/tex/context/base/mkxl/math-fnt.lmt:104: in
> function <...ext/tex/texmf-context/tex/context/base/mkxl/math-fnt.lmt:62>
> [C]: in upvalue 'builders_kernel_mlisttohlist'
> [string "local tonut = nodes.tonut..."]:43: in function <[string
> "local tonut = nodes.tonut..."]:18>
> (...tail calls...)
> ...ext/tex/texmf-context/tex/context/base/mkxl/math-noa.lmt:2986: in
> function <...ext/tex/texmf-context/tex/context/base/mkxl/math-noa.lmt:2984>
>
> 1 \setupbodyfont[pagella]
> 2
> 3 \starttext
> 4 \startformula
> 5 \delta_{ij} =
> 6 \startmathcases
> 7 \NC 1 \NC \text{if } i = j \NR
> 8 \NC 0 \NC \text{otherwise} \NR
> 9 \stopmathcases
> 10 >> \stopformula
> 11 \stoptext
i'll check it tomorrow (witk mikael who has a newer bin and first we
need to test some other math things) ... i probably need some temp hack
because the build farm is still down (an extra callback argument was
added a while ago)
-----------------------------------------------------------------
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] 5+ messages in thread
* [NTG-context] Re: Issue : compilation error when using mathcases with pagella fonts (and others)
2023-09-24 11:37 [NTG-context] Issue : compilation error when using mathcases with pagella fonts (and others) Vincent Picard
2023-09-24 13:49 ` [NTG-context] " Mikael Sundqvist
@ 2023-09-26 19:07 ` vp.picard
1 sibling, 0 replies; 5+ messages in thread
From: vp.picard @ 2023-09-26 19:07 UTC (permalink / raw)
To: ntg-context
Dear list,
My problem was solved with ConTeXt latest release : 1.05 ltmx 2023.09.26 18:19
Thank you for the quick fix.
Sincerely,
Vincent Picard
___________________________________________________________________________________
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] 5+ messages in thread
end of thread, other threads:[~2023-09-26 19:09 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-24 11:37 [NTG-context] Issue : compilation error when using mathcases with pagella fonts (and others) Vincent Picard
2023-09-24 13:49 ` [NTG-context] " Mikael Sundqvist
2023-09-24 15:17 ` Pablo Rodriguez
2023-09-24 15:49 ` Hans Hagen
2023-09-26 19:07 ` vp.picard
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).