cgnieder / acro

acronyms for LaTeX
LaTeX Project Public License v1.3c
40 stars 9 forks source link

Full description (and not only the abbreviated form) of the acronyms with subsequent uses #237

Closed dbitouze closed 2 years ago

dbitouze commented 2 years ago

With the following MCE:

\documentclass{article}
\usepackage{acro}
\DeclareAcronym{cd}{
  short = CD ,
  long = compact disc
}
\begin{document}
\begin{tabular}{ll}
  first  & \ac{cd}  \\
  second & \ac{cd}  \\
  long   & \acl{cd} \\
  short  & \acs{cd} \\
  full   & \acf{cd}
\end{tabular}
\end{document}

one should obtain "second CD". But I get "second compact disc", even after several runs (I'm using latexmk) all of them displaying:

Package acro Warning: Acronym properties may have changed. Rerun to get them (acro) synchronized.

Here is my File List

 article.cls    2021/10/04 v1.4n Standard LaTeX document class
  size10.clo    2021/10/04 v1.4n Standard LaTeX file (size option)
    acro.sty    2022/01/27 v3.7 typeset acronyms and other abbreviations (CN)
l3keys2e.sty    2022-01-12 LaTeX2e option processing using LaTeX3 keys
   expl3.sty    2022-02-24 L3 programming layer (loader) 
l3backend-luatex.def    2022-02-07 L3 backend support: PDF output (LuaTeX)
translations.sty    2022/02/05 v1.12 internationalization of LaTeX2e packages (
CN)
etoolbox.sty    2020/10/05 v2.5k e-TeX tools for LaTeX (JAW)
pdftexcmds.sty    2020-06-27 v0.33 Utility functions of pdfTeX for LuaTeX (HO)
infwarerr.sty    2019/12/03 v1.5 Providing info/warning/error messages (HO)
   iftex.sty    2022/02/03 v1.0f TeX engine tests
 ltxcmds.sty    2020-05-10 v1.25 LaTeX kernel commands for general use (HO)
    test.acr
  ts1cmr.fd    2019/12/16 v2.5j Standard LaTeX font definitions
translations-basic-dictionary-english.trsl    (english translation file `transl
ations-basic-dictionary')
    test.acr
dbitouze commented 2 years ago

Never mind: the culprit was a test.acr in my TEXMFHOME. Sorry for the noise!