[OS X TeX] ! No room for a new \count .

Martin Bergren martin.berggren at cs.umu.se
Mon Oct 10 14:19:18 EDT 2016


> On 10 Oct 2016, at 17:29, Joseph Wright <joseph.wright at morningstar2.co.uk> wrote:
> 
> On 10/10/2016 16:21, Martin Bergren wrote:
>> Running Mactex 2016 on the  file 
>> 
>> ….
>> gives the error message
>> 
>> (/usr/local/texlive/2016/texmf-dist/tex/latex/fontspec/fontspec.cfg)))
>> (/Users/martinb/Library/texmf/tex/latex/mtpro2/mtpro2.sty
>> ! No room for a new \count .
>> \ch at ck ...\else \errmessage {No room for a new #3}
>>                                                  \fi 
>> l.131 \alloc at 0\count\countdef\insc at unt\pointcount@
>> 
>> ? 
>> 
>> I don’t get the error when running Mactex 2015 or when uncommenting %\usepackage{etex}. According to a post in tex.stackexchange, the use of etex should be included in the kernel, so I don’t understand why it’s needed here. 
>> 
> 
> The problem is mtpro2.sty, which is doing
> 
>    \alloc at 0\count\countdef\insc at unt\pointcount@
> 
> i.e. directly using \alloc@ rather than using \newcount. The 'classical'
> pool *is* exhausted in your example, so this fails. The etex package
> alters the definition of \alloc@, whereas the new LaTeX kernel approach
> uses a separate \ealloc@ macro.
> 
> This will need to be addressed in mtpro2.sty.
> 

OK. But why is it that this problem only shows up in Mactex 2016? Everything runs fine in Mactex 2015. 

Martin Berggren
-------------------------------------------------------------------
Department of Computing Science, Umeå Universitet
Campustorget 5, S-901 87 Umeå, Sweden. Ph: +46-70-732 8111
http://www.cs.umu.se/~martinb, Martin.Berggren at cs.umu.se





More information about the MacOSX-TeX mailing list