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

\setcmpdlabel prevents initial compilation #25

Open
matterhorn103 opened this issue Nov 18, 2024 · 0 comments
Open

\setcmpdlabel prevents initial compilation #25

matterhorn103 opened this issue Nov 18, 2024 · 0 comments

Comments

@matterhorn103
Copy link

MWE:

\documentclass[11pt]{article}
\usepackage{chemnum}

\begin{document}
\cmpd*{MJM-450} \setcmpdlabel{MJM-450}{1b}
\cmpd{MJM-450}  % Fails whether this line is present or not
\end{document}

When compiling for the first time you get the error:

! Argument of \__prop_map_tokens:nw has an extra }.
<inserted text> 
                \par 
l.5 \cmpd*{MJM-450} \setcmpdlabel{MJM-450}{1b}
                                              
?

Answering with r results in successful compilation and on future occasions there are no further complaints.

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

1 participant