Whenever an acronym is mentioned in my document, it will be defined in the list of acronyms but not in the main text. I tried changing setabbreviationstyle but nothing seems to work. Here's an example code:
\documentclass[twocolumn]{svjour3}
\usepackage[hidelinks]{hyperref}
\usepackage[acronym,nopostdot,style=index,nonumberlist,nogroupskip,nomain]{glossaries-extra}% these options are here because I'm writing a journal paper and I need to format the list of acronyms in a particular way
\makeglossaries
\newacronym{am}{AM}{Additive Manufacturing}
\newacronym{sla}{SLA}{StereoLithography Apparatus}
\setabbreviationstyle[acronym]{long-short}
\GlsXtrEnableEntryCounting
{acronym}% list of categories to use entry counting
{2}% I have A LOT of acronyms and some I only use once so I don't need them on the list
\begin{document}
\printglossaries
The 1980's saw the development of an early form of \gls{sla}, a form of \gls{am}, for producing plastic prototypes to help visualization of parts during development. \gls{sla} has one of the best surface finished of all the \gls{am} tenchniques.
\end{document}
What I get (apart from the list of acronyms) is
"The 1980's saw the development of an early form of SLA, a form of AM, for producing plastic prototypes to help visualization of parts during development. SLA has one of the best surface finished of all the AM tenchniques."
instead of
"The 1980's saw the development of an early form of StereoLithography Apparatus (SLA), a form of Additive Manufacturing (AM), for producing plastic prototypes to help visualization of parts during development. SLA has one of the best surface finished of all the AM tenchniques."
I read that I can use the \glsunsetall to reset the first time use flag of the acronyms for the glossaries package but using it after the \GlsXtrEnableEntryCounting command still makes no difference.
EDIT: I tried \GlsXtrEnableLinkCounting which returned an error and I tried removing the \GlsXtrEnableEntryCounting command but it made no difference to the acronyms in the main text.
\setabbreviationstyle[acronym]{long-short}before the first instance of\newacronym. – Nicola Talbot Jun 21 '18 at 13:29