acro icon indicating copy to clipboard operation
acro copied to clipboard

`acro` broken with latest release of `l3kernel`

Open dbitouze opened this issue 2 years ago • 5 comments

After last l3kernel update, the following MCE:

\documentclass{article}
\usepackage{acro}
\begin{document}
Foo.
\end{document}

fails to compile:

! Undefined control sequence. \l__acro_tmpa_prop

Other packages are affected as well and the reason is explained here. Hence, adding:

\prop_new:N \l__acro_tmpa_prop

in acro.sty is enough to fix this issue.

dbitouze avatar Feb 15 '24 13:02 dbitouze

Similar for chemmacros, chemformula, chemnum.

bdtc avatar Feb 17 '24 07:02 bdtc

@bdtc I could see the issue in chemnum and have logged a PR (https://github.com/cgnieder/chemnum/pull/23), and with chemformula can see an unrelated issue with loading l3keys2e (https://github.com/cgnieder/chemformula/pull/21). But I don't see the prop issue with either chemformula or chemmacros: do you have examples available? I'll sort PRs if I know what needs fixing.

josephwright avatar Feb 19 '24 08:02 josephwright

I've put in a PR for this issue and mailed @cgnieder to check on status.

josephwright avatar Feb 19 '24 08:02 josephwright

For chemmacros reactant:

\documentclass{article}
\usepackage{chemmacros}
\begin{document}
\DeclareChemReactant{dichloropentane}{name={\iupac{2,4-di|chloro|pentane}}}
\reactant{dichloropentane}
\end{document}

For chemformula:

\documentclass{article}
\usepackage{chemformula}
\begin{document}
test
\end{document}

gives:

! Undefined control sequence.
l.481 \ProcessKeysPackageOptions

which is almost certainly what you also found.

Sorry I was not more specific, it was late and I was processing tests in bulk.

bdtc avatar Feb 19 '24 09:02 bdtc

For chemmacros reactant:

\documentclass{article}
\usepackage{chemmacros}
\begin{document}
\DeclareChemReactant{dichloropentane}{name={\iupac{2,4-di|chloro|pentane}}}
\reactant{dichloropentane}
\end{document}

The's the issue in chemnum.

For chemformula:

\documentclass{article}
\usepackage{chemformula}
\begin{document}
test
\end{document}

gives:

! Undefined control sequence.
l.481 \ProcessKeysPackageOptions

which is almost certainly what you also found.

Yes, it's an unrelated issue I've also reported.

Sorry I was not more specific, it was late and I was processing tests in bulk.

No problem!

josephwright avatar Feb 19 '24 09:02 josephwright