[NTG-context] Stack size for arguments too small in LMTX

2021-05-25 Thread Henri Menke
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=100]

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
___


Re: [NTG-context] Stack size for arguments too small in LMTX

2021-05-25 Thread mf

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=100]

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
___