[lltx] Problem with fontspec (! TeX capacity exceeded)

Will Robertson wspr81 at gmail.com
Mon Jul 19 05:09:19 CEST 2010


On 18/07/2010, at 11:10 PM, Graham Douglas wrote:

> ! TeX capacity exceeded, sorry [parameter stack size=60].

Oh, I see now. From TeX by Topic:

> 35.2.9	Parameter stack size (60)
> Macro parameters may contain macro calls with further parameters. The number of
> parameters that may occur nested is bounded by the parameter stack size.

You seem to be using the original TeX defaults. 60 is far too small these days. By contrast, texmf.cnf in TL2010 has

param_size = 10000      % simultaneous macro parameters, also applies to MP

I think this will fix the problem. (Using the other parameters in texmf.cnf is probably a good idea, too.)

Cheers,
-- Will




More information about the lualatex-dev mailing list