I recently updated l3kernel
and other packages and installed biblatex-chem
and libertinust1math
. I am now getting an error with the acro
package.
Specifically, I am trying to use \emph{\Iac{NFA}}
and am getting "ERROR: Missing number, treated as zero" for \l__acro_article_Indefinite_bool
in the following minimal example. (See below for the complete error message.) Before updating and installing the above packages, everything had been working correctly with the document from which I derived this example.
I'm not sure what's going on, although it seems related to biblatex
for some reason. Does anyone know what is causing this?
\documentclass{article}
\usepackage[backend=biber]{biblatex}
\addbibresource{biblatex-examples.bib}
\usepackage{acro}
\DeclareAcronym{NFA}{%
short = NFA,
short-indefinite = an,
long = nondeterministic finite automaton,
long-plural-form = nondeterministic finite automata%
}
\listfiles
\begin{document}
\emph{\Iac{NFA}} is a mathematical machine.
\cite{knuth:ct:a}
\end{document}
Here is a section of the .log
file surrounding the error. The complete .log
file can be found at .log of error
\openout3 = `thesis.bcf'.
Package biblatex Info: Trying to load bibliographic data...
Package biblatex Info: ... file 'thesis.bbl' found.
(./thesis.bbl)
Package biblatex Info: Reference section=0 on input line 16.
Package biblatex Info: Reference segment=0 on input line 16.
\l__acro_aux_file_iow=\write4
\openout4 = `thesis.acr'.
\AtBeginShipoutBox=\box46
(/usr/local/texlive/2020basic/texmf-dist/tex/latex/translations/translations-ba
sic-dictionary-english.trsl
File: translations-basic-dictionary-english.trsl (english translation file `tra
nslations-basic-dictionary')
)
Package translations Info: loading dictionary `translations-basic-dictionary' f
or `english'. on input line 16.
./thesis.tex:17: Missing number, treated as zero.
<to be read again>
\l__acro_article_Indefinite_bool
l.17 \emph{\Iac{NFA}}
is a mathematical machine.
A number should have been here; I inserted `0'.
(If you can't figure out why I needed to see a number,
look up `weird error' in the index to The TeXbook.)
Package atveryend Info: Empty hook `BeforeClearDocument' on input line 19.
[1{/usr/local/texlive/2020basic/texmf-var/fonts/map/pdftex/updmap/pdftex.map}]
Package atveryend Info: Executing hook `AfterLastShipout' on input line 19.
(./thesis.aux (./thesis.acr))
Package atveryend Info: Empty hook `AtVeryEndDocument' on input line 19.
l3kernel
, so I find it rather weird. Could you please try to make a compilable example that reproduces the issue? Also, run your dissertation with\listfiles
and show the.log
output of that, please..log
is over 5000 lines long and the file list is nearly 200 lines long. Should I paste here, or...? I will work on a compilable example that reproduces the error, but I have a custom document class and many packages, so I'm not sure how minimal that example will end up being...biblatex
(or its dependencies) withacro
. The log file is linked in the above edits. Also, I remembered that I installedlibertinust1math
andbiblatex-chem
just prior to these errors, if that is a clue.