ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Stack size for arguments too small in LMTX
@ 2021-05-25 15:25 Henri Menke
  2021-05-25 15:47 ` mf
  0 siblings, 1 reply; 2+ messages in thread
From: Henri Menke @ 2021-05-25 15:25 UTC (permalink / raw)
  To: ntg-context

Dear list,

For some reason pgfplots has a \pgfkeys invocation where the argument
has more than 4000 lines. This crashes LuaMetaTeX with the message

    tex error > tex error on line 4045 in file pgfplots.code.tex: TeX capacity exceeded, sorry [token memory size=1000000]

It doesn't seem to be an issue with LuaTeX, so my guess is that token
memory size is larger in LuaTeX.  Could you please increase the stack
size to make this edge case compile again?

This issue was originally reported on the pgfplots bugtracker:
https://github.com/pgf-tikz/pgfplots/issues/398

Cheers, Henri

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Stack size for arguments too small in LMTX
  2021-05-25 15:25 Stack size for arguments too small in LMTX Henri Menke
@ 2021-05-25 15:47 ` mf
  0 siblings, 0 replies; 2+ messages in thread
From: mf @ 2021-05-25 15:47 UTC (permalink / raw)
  To: ntg-context

Il 25/05/21 17:25, Henri Menke ha scritto:
> Dear list,
> 
> For some reason pgfplots has a \pgfkeys invocation where the argument
> has more than 4000 lines. This crashes LuaMetaTeX with the message
> 
>      tex error > tex error on line 4045 in file pgfplots.code.tex: TeX capacity exceeded, sorry [token memory size=1000000]
> 
> It doesn't seem to be an issue with LuaTeX, so my guess is that token
> memory size is larger in LuaTeX.  Could you please increase the stack
> size to make this edge case compile again?
> 
> This issue was originally reported on the pgfplots bugtracker:
> https://github.com/pgf-tikz/pgfplots/issues/398
> 

Next lmtx upload will fix the issue (a configuration file that has not 
been updated).
Hans told me to do this:

cp ./tex/texmf-context/web2c/contextcnf.lua ./tex/texmf/web2c/texmfcnf.lua
mtxrun --generate
context --make

in lmtx base dir.
It should fix the issue until next upload.

Massi
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-05-25 15:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-25 15:25 Stack size for arguments too small in LMTX Henri Menke
2021-05-25 15:47 ` mf

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).