ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Stack overflow when using Neo Euler for math
@ 2023-03-31 19:58 Rory Molinari via ntg-context
  2023-03-31 20:16 ` Hans Hagen via ntg-context
  0 siblings, 1 reply; 3+ messages in thread
From: Rory Molinari via ntg-context @ 2023-03-31 19:58 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Rory Molinari


[-- Attachment #1.1: Type: text/plain, Size: 3530 bytes --]

Hi,

I'm in the process of updating to TeXlive 2023 after a long time of light
use with 2018. One issue I'm now having is an error when I try to use Neo
Euler as my math font.

\definefontfamily[mypalatinoeuler][rm][TeX Gyre Pagella]
\definefontfamily[mypalatinoeuler][mm][Neo Euler]

\setupbodyfont[mypalatinoeuler]

\starttext
$x=1$
\stoptext

Result:

mathematics     > tweak > 'Neo-Euler', size 7, math size 3, version
'Version 000.002' found, version 'Version 000.002 ' expected
tex error       > tex error on line 5 in file ./euler_problem.tex:

lua error:

        registered function call [1160]:
...xlive/2023/texmf-dist/tex/context/base/mkxl/math-act.lmt:3254: stack
overflow
stack traceback:
        ...xlive/2023/texmf-dist/tex/context/base/mkxl/math-act.lmt:3254:
in upvalue 'add'
        ...xlive/2023/texmf-dist/tex/context/base/mkxl/math-act.lmt:3254:
in upvalue 'add'
        ...xlive/2023/texmf-dist/tex/context/base/mkxl/math-act.lmt:3254:
in upvalue 'add'
        ...xlive/2023/texmf-dist/tex/context/base/mkxl/math-act.lmt:3254:
in upvalue 'add'
        ...xlive/2023/texmf-dist/tex/context/base/mkxl/math-act.lmt:3254:
in upvalue 'add'
        ...xlive/2023/texmf-dist/tex/context/base/mkxl/math-act.lmt:3254:
in upvalue 'add'
        ...xlive/2023/texmf-dist/tex/context/base/mkxl/math-act.lmt:3254:
in upvalue 'add'
        ...xlive/2023/texmf-dist/tex/context/base/mkxl/math-act.lmt:3254:
in upvalue 'add'
        ...xlive/2023/texmf-dist/tex/context/base/mkxl/math-act.lmt:3254:
in upvalue 'add'
        ...xlive/2023/texmf-dist/tex/context/base/mkxl/math-act.lmt:3254:
in upvalue 'add'
        ...     (skipping 99970 levels)
        ...xlive/2023/texmf-dist/tex/context/base/mkxl/math-act.lmt:3267:
in local 'action'
        ...xlive/2023/texmf-dist/tex/context/base/mkxl/math-act.lmt:3617:
in upvalue 'tweaklist'
        ...xlive/2023/texmf-dist/tex/context/base/mkxl/math-act.lmt:3653:
in upvalue 'applytweaks'
        ...xlive/2023/texmf-dist/tex/context/base/mkxl/math-act.lmt:3682:
in upvalue 'mathematics_tweakaftercopyingfont'
        [string "local mathematics_tweakaftercopyingfont = mat..."]:5: in
local 'runner'
        ...xlive/2023/texmf-dist/tex/context/base/mkxl/font-ctx.lmt:510: in
field 'aftercopyingcharacters'
        ...xlive/2023/texmf-dist/tex/context/base/mkxl/font-con.lmt:859: in
field 'scale'
        ...xlive/2023/texmf-dist/tex/context/base/mkxl/font-otl.lmt:659: in
function <...xlive/2023/texmf-dist/tex/context/base/mkxl/font-otl.lmt:651>
        (...tail calls...)
        ...xlive/2023/texmf-dist/tex/context/base/mkxl/font-def.lmt:378: in
function <...xlive/2023/texmf-dist/tex/context/base/mkxl/font-def.lmt:366>
        (...tail calls...)
        ...xlive/2023/texmf-dist/tex/context/base/mkxl/font-def.lmt:485: in
field 'read'
        ...xlive/2023/texmf-dist/tex/context/base/mkxl/font-ctx.lmt:1377:
in function
<...xlive/2023/texmf-dist/tex/context/base/mkxl/font-ctx.lmt:1234>
        (...tail calls...)

It works if I use, say, [TeX Gyre Pagella Math] in place of [Neo Euler].

15:49:15 $ context --version
mtx-context     | ConTeXt Process Management 1.04
mtx-context     |
mtx-context     | main context file:
/usr/local/texlive/2023/texmf-dist/tex/context/base/mkiv/context.mkiv
mtx-context     | current version: 2023.03.10 12:15
mtx-context     | main context file:
/usr/local/texlive/2023/texmf-dist/tex/context/base/mkxl/context.mkxl
mtx-context     | current version: 2023.03.10 12:15


I don't know how to diagnose any further.

Cheers,
Rory Molinari

[-- Attachment #1.2: Type: text/html, Size: 4260 bytes --]

[-- Attachment #2: Type: text/plain, Size: 496 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] 3+ messages in thread

* Re: Stack overflow when using Neo Euler for math
  2023-03-31 19:58 Stack overflow when using Neo Euler for math Rory Molinari via ntg-context
@ 2023-03-31 20:16 ` Hans Hagen via ntg-context
  2023-03-31 20:38   ` Rory Molinari via ntg-context
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen via ntg-context @ 2023-03-31 20:16 UTC (permalink / raw)
  To: Rory Molinari via ntg-context; +Cc: Hans Hagen

On 3/31/2023 9:58 PM, Rory Molinari via ntg-context wrote:
> Hi,
> 
> I'm in the process of updating to TeXlive 2023 after a long time of 
> light use with 2018. One issue I'm now having is an error when I try to 
> use Neo Euler as my math font.
> 
> \definefontfamily[mypalatinoeuler][rm][TeX Gyre Pagella]
> \definefontfamily[mypalatinoeuler][mm][Neo Euler]
> 
> \setupbodyfont[mypalatinoeuler]
> 
> \starttext
> $x=1$
> \stoptext
It works ok here. Support for these math fonts are a bit in flux (and 
euler is special anyway). Mikael and I just finished a new round of math 
tweaks (some interesting esthetics that took some time) and in addition 
to (and because of) that some otf math fonts have also been also updated 
(like euler). We want to do some tests before we upload a new version; 
if we see no problems maybe tomorrow, although the need to adapt to 
changes in tikz are kind of a showstopper.

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] 3+ messages in thread

* Re: Stack overflow when using Neo Euler for math
  2023-03-31 20:16 ` Hans Hagen via ntg-context
@ 2023-03-31 20:38   ` Rory Molinari via ntg-context
  0 siblings, 0 replies; 3+ messages in thread
From: Rory Molinari via ntg-context @ 2023-03-31 20:38 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Rory Molinari


[-- Attachment #1.1: Type: text/plain, Size: 2103 bytes --]

Thanks for the quick reply, Hans!

I just installed the standalone ConTeXt distribution and it works again for
me. Thanks!

Cheers,
Rory

On Fri, Mar 31, 2023 at 4:17 PM Hans Hagen via ntg-context <
ntg-context@ntg.nl> wrote:

> On 3/31/2023 9:58 PM, Rory Molinari via ntg-context wrote:
> > Hi,
> >
> > I'm in the process of updating to TeXlive 2023 after a long time of
> > light use with 2018. One issue I'm now having is an error when I try to
> > use Neo Euler as my math font.
> >
> > \definefontfamily[mypalatinoeuler][rm][TeX Gyre Pagella]
> > \definefontfamily[mypalatinoeuler][mm][Neo Euler]
> >
> > \setupbodyfont[mypalatinoeuler]
> >
> > \starttext
> > $x=1$
> > \stoptext
> It works ok here. Support for these math fonts are a bit in flux (and
> euler is special anyway). Mikael and I just finished a new round of math
> tweaks (some interesting esthetics that took some time) and in addition
> to (and because of) that some otf math fonts have also been also updated
> (like euler). We want to do some tests before we upload a new version;
> if we see no problems maybe tomorrow, although the need to adapt to
> changes in tikz are kind of a showstopper.
>
> 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
>
> ___________________________________________________________________________________
>

[-- Attachment #1.2: Type: text/html, Size: 3221 bytes --]

[-- Attachment #2: Type: text/plain, Size: 496 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] 3+ messages in thread

end of thread, other threads:[~2023-03-31 20:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-31 19:58 Stack overflow when using Neo Euler for math Rory Molinari via ntg-context
2023-03-31 20:16 ` Hans Hagen via ntg-context
2023-03-31 20:38   ` Rory Molinari 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).