Out of this, I managed to have footnotes (glossaries at first use) within the description of glossary and acronyms using the glossaries
package.
Now, I referred in an acronym to another abbreviation. If the acronym was not used within the text, footnotes appear correctly in the list of abbreviations. But when using the acronym within the text, a footnote to the referred abbreviation is missing.
How can I solve the problem of the missing footnote?
Here is a MWE:
\documentclass{scrreprt}
\usepackage{xstring}
\usepackage[backref=page,plainpages=false,pdfpagelabels,colorlinks]{hyperref}
\usepackage[footnote,acronym,hyperfirst,style=long,nomain]{glossaries}
% acronym style
\newacronymstyle{ex-footnote}%
{%
\GlsUseAcrEntryDispStyle{footnote}%
}%
{%
\GlsUseAcrStyleDefs{hyperfirst, footnote}%
\renewcommand*{\genacrfullformat}[2]{%
\firstacronymfont{\glsentryshort{##1}}##2%
\expandafter\footnote\expandafter{\expandafter\glsentrylong\expandafter{##1}}%
}%
\renewcommand*{\Genacrfullformat}[2]{%
\firstacronymfont{\Glsentryshort{##1}}##2%
\expandafter\footnote\expandafter{\expandafter\glsentrylong\expandafter{##1}}%
}%
\renewcommand*{\genplacrfullformat}[2]{%
\firstacronymfont{\glsentryshortpl{##1}}##2%
\expandafter\footnote\expandafter{\expandafter\glsentrylongpl\expandafter{##1}}%
}%
\renewcommand*{\Genplacrfullformat}[2]{%
\firstacronymfont{\Glsentryshortpl{##1}}##2%
\expandafter\footnote\expandafter{\expandafter\glsentrylongpl\expandafter{##1}}%
}%
}
\setacronymstyle{ex-footnote}
\makeglossaries
% arconyms
\newacronym{RAM}{RAM}{Random Access Memory}
\newacronym{SRAM}{SRAM}{Static \gls{RAM}}
\newacronym{VHSIC}{VHSIC}{Very High Speed Integrated Circuit}
\newacronym{VHDL}{VHDL}{\gls{VHSIC} Hardware Description Language}
\newacronym{PLD}{PLD}{Programmable Logic Device}
\newacronym{SPLD}{SPLD}{Simple \gls{PLD}}
\begin{document}
\gls{SRAM}\\
foo\footnote{bar}
\printglossary[type=\acronymtype, title=Abbreviations]
\glsaddallunused
\end{document}