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

Herbert Schulz herbs at wideopenwest.com
Mon Oct 10 17:34:01 CEST 2016


> On Oct 10, 2016, at 10:21 AM, Martin Bergren <martin.berggren at cs.umu.se> wrote:
> 
> Running Mactex 2016 on the  file 
> 
> ===================================
> \documentclass{beamer}
> %\usepackage{etex}
> 
> % !TEX TS-program = xelatex
> \usepackage{tikz}
> 
> \usepackage{microtype}
> \usefonttheme{professionalfonts}
> \usepackage[no-math]{fontspec}
> \makeatletter
> \let\Bbbk\@undefined
> \makeatother
> \usepackage{mtpro2}
> 
> 
> \begin{document}
> \begin{frame}{Hello}
> Hello
> \end{frame}
> 
> \end{document} 
> ===================================
> 
> 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. 
> 
> Note that I use the commercial mtpro2 package.
> 
> Cheers,
> 
> 
> 
> Martin Berggren

Howdy,

If you comment out the use of the mtpro2 package it compiles fine.

I don't understand why you are using xelatex rather than pdflatex since you don't really use system fonts. If I compile using pdflatex (with the mtpro2 package but commenting out the fontspec line) all is fine again.

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)






----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: https://www.esm.psu.edu/~gray/tex/
List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
                https://email.esm.psu.edu/pipermail/macosx-tex/
TeX on Mac OS X Website: http://mactex-wiki.tug.org/
List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex



More information about the macostex-archives mailing list