I would like to display the place of the first appearance of all acronyms, used in my text, but for some acronyms I prefer to use only the short form (even for the first usage). My question is similar to this previous one, BUT the solution for that does not allow for displaying among the Abbreviations those acronyms the long form of which was always suppressed.
I tried to solve this by adding \glsadd
manually to the first occurrence of \acrshort
, but this results in errors during compilation.
This is a MWE for my problem:
\documentclass{article}
\usepackage{hyperref}
\usepackage[abbreviations]{glossaries-extra}
\makeglossaries
\glssetcategoryattribute{acronym}{indexonlyfirst}{true}
\setabbreviationstyle[acronym]{long-short}
\newacronym{faq}{FAQ}{Frequently Asked Questions}
\newacronym{bbc}{BBC}{British Broadcasting Corporation}
\renewcommand*{\acrshort}[1][]{\glsxtrshort[noindex,#1]}
\begin{document}
Only short: \acrshort{faq}\\ %adding \glsadd{faq} here results in errors
Long form will be used as well: \acrshort{bbc}
\newpage
Again the short form: \acrshort{faq}\\
Normal usage: \gls{bbc}\\
\printabbreviations
\end{document}
Any help is much appreciated.