I am using glossaries to maintain a list of acronyms.
I want it to display the page number where it appears.
I usually use \acs{} or \acl{} in sectioning title or in caption.
However I noticed that glossaries also displays the page of TOC, LOF or LOT if I use \acs{} or \acl{} inside \section{} or \caption (as this entries will appear in TOC, LOF, or LOT).
How can I disable this behavior of glossaries and only consider what is really the text, there is, not consider what is written in TOC, LOF, or LOT?
\documentclass{report}
\usepackage[section,xindy,nomain,acronym,toc,shortcuts]{glossaries}
\newcommand{\acro}[2]{\newacronym{#1}{#1}{#2}}
\acro{MIMO}{Multiple Input Multiple Output}
\acro{SISO}{Single Input Single Output}
\makeglossaries
\newcommand{\acroname}{Acronym}
\begin{document}
\tableofcontents
\printglossary[type=\acronymtype,style=tree,title=\acroname,toctitle=\acroname]
\newpage
\section{\acs*{MIMO} and \acs*{SISO}}
bla
\end{document}
If I take the previous code and do:
pdflatex test
makeglossaries test
pdflatex test
makeglossaries test
pdflatex test
The output is in the attached file. Note that the second makeglossaries runs automatically because I also have biber. If the second makeglossaries does not run, everything is ok.

Is there a way to prevent this and allow the run of second \makeglossaries?

xindy. Can you make an example without it? Maybe this already helps you: try\texorpdfstring. – canaaerus Jul 24 '12 at 20:13xindyjust remove it from the glossaries options:\usepackage[section,nomain,acronym,toc,shortcuts]{glossaries}I also used\texorpdfstringbut it only takes care of bookmarks and not the text itself. – cacamailg Jul 25 '12 at 11:54