Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error reporting #2

Open
yuhuangniu opened this issue Apr 11, 2022 · 1 comment
Open

Error reporting #2

yuhuangniu opened this issue Apr 11, 2022 · 1 comment

Comments

@yuhuangniu
Copy link

When I run mtpro2-patch.tex in latest Texlive2022, error reports that:
Undefined control sequence. \curlybraces
Then I come back to mtpro2-patch.tex and delete
\newcommand*\@ifcurlybraces{% \expandafter\ifx\csname lbrace \endcsname\lbrace \expandafter\@firstoftwo \else \expandafter\@secondoftwo \fi } \else
from line 350 to 357, then everything works fine.

@RuixiZhang42
Copy link
Owner

@yuhuangniu I did not get any notifications when you opened this issue. Weird…

In any case, this error message

Undefined control sequence. \curlybraces

is unlikely caused by mtpro2-patch.tex.

The command \curlybraces is defined by the official mtpro2 package. Be sure to load the package before the patch:

% The standard usage is:
%
% \usepackage[<options>]{mtpro2}
% \newcommand*\mtpscale{0.910}
% \newcommand*\mtpscriptscale{0.847}
% \newcommand*\mtpscriptscriptscale{0.794}
% \input{mtpro2-patch}

Since mtpro2 is a commercial package (even the “Lite” version, which is free, comes with a proprietary license), I suspect that TeX Live cannot distribute/ship it (legally speaking). Maybe this is the reason for the error message?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants