[Tex/LaTex] How to make glossary put a full name of an acronym in the beginning of each chapter

glossariessectioning

I am looking for a way I could make glossary to put a full name of acronym in the beginning of each chapter.

Here is my code sample:

\documentclass{book}

\usepackage{glossaries}
\makeglossaries

\newacronym{cd}{CD}{compact disk}

\begin{document}

\chapter{A}
\gls{cd} is a...
\chapter{B}
\gls{cd} is a...

\end{document}

It is compiled into:

Chapter 1

A

compact disk (CD) is a …

Chapter 2

B

CD is a… //<- should be compact disk (CD)

Best Answer

Use either \glsreset{cd} before the second \gls{cd} to reset it (there is also \glsresetall) or use \glsfirst{cd} to typeset it like it would be the first use. See the glossaries manual for all the details.

Related Question