I have the following MWE that used to work fine under TeXLive 14, 15 and 16, but fails on TeXLive 2017.
\documentclass{article}
\usepackage{tikz}
\usepackage{fontspec}
\setmainfont{Times New Roman}
\usepackage{mtpro2}
\begin{document} This is a problem. \end{document}
MTProII is the (freely available) package for Math Times Prof. II from PCTeX.
The example is an absolute MWE, changing anything on it (even the order) allows the file to execute fine. With the code as-above it fails with:
! No room for a new \count .
\ch@ck #1#2#3->\ifnum \count 1#1<#2\else \errmessage {No room for a new #3}
\fi
l.129 \alloc@0\count\countdef\insc@unt\pointcount@
I have looked at the some answers from Enrico Gregorio and David Carlisle on similar issues with another packages and the possibilities they bring on - do not apply here.
Any idea what's causing this, and how I can get around it?
\alloc@0\count\countdef\insc@unt\pointcount@with\newcount\pointcount@in themtpro2.styfile following the discussion in the link provided by Ulrike Ficher. – Marcos Oct 03 '17 at 17:51mtpro2.styby oneself, since this issue should be reported to the package maintainer(s). So I am strongly in favor of the alternative by @UlrikeFischer: Add\usepackage{etex}before loadingmtpro2to increase the upper limit of the number of\count. See this answer by @DavidCarlisle. – Ruixi Zhang Aug 21 '18 at 17:52mtpro2.sty– but I don't think that can be provided, by anyone, while the question is closed. It's important the answer is out there somewhere: I ran into this problem today, and though I'm reasonably sophisticated with LaTeX I'd never have fixed it myself. – Norman Gray Mar 29 '20 at 16:15