[NTG-context] Compiling a large metapost document

Bruce Horrocks ntg at scorecrow.com
Thu Jun 2 00:26:53 CEST 2022

> On 1 Jun 2022, at 22:30, Stefan Nedeljkovic via ntg-context <ntg-context at ntg.nl> wrote:
> Dear Thomas,
> I'm sorry for all the shortcomings of my question. I'll try to be more concrete. If you won't download my file, could you at least give me a hint on how to configure LMTX?
> I Tried editing the file context/tex/texmf/web2c/texmfcnf.lua, and running context --generate, context --make, but the error persists. I'm new to context and I don't know how to configure this file. Running --usage reveals in the log that the category "token" is exceeded. I tried the aforementioned editing of the conf file, but the log stays the same.

For the benefit of others, the error is:

tex memory      > bumping category 'token' failed, details: all=80000000 | ini=495183 | max=10000000 | mem=10000000 | min=1000000 | ptr=10002079 | set=10000000 | stp=250000 | top=10000000

I can't see where max token memory is defined to try and increase it. The only reference seems to be in ~/tex/texmf-context/tex/context/base/mkxl/luat-cod.lmt but uncommenting and increasing had no obvious effect.

Bruce Horrocks
Hampshire, UK

More information about the ntg-context mailing list