Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I would like to use the glossaries package with the option counter=section. This works well as long as I don't use any glossary entries in the appendix. It seems the section counter is reset by the \appendix command. It turns out that section A.1 is called 1.1, B.1 is called 2.1 and so on.

I am using the makeglossaries script and a minimal example is:

\documentclass{report}

\usepackage[counter=section]{glossaries}

\makeglossaries

\newglossaryentry{gte}{name=GTE,description={Glossary Test Entry}}

\begin{document}

\chapter{Normal chapter}

\section{Normal section}

This is section 1.1 without a glossary entry.

\chapter{Normal chapter}

\section{Normal section}

A \gls{gte} in section 2.1.

\appendix

\chapter{Appendix chapter}

\section{Appendix section}

A \gls{gte} in appendix A.1.

\printglossary

The glossary indicates appearance in 1.1 and 2.1 instead of 2.1 and A.1.

\end{document}
share|improve this question

closed as too localized by Speravir, Werner, Thorsten, T. Verron, Marco Daniel Apr 22 '13 at 5:31

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

    
Welcome to TeX.SX. –  Claudio Fiandrino Apr 10 '13 at 16:13
3  
It's a bug. I'll get it fixed. –  Nicola Talbot Apr 10 '13 at 20:52
    
Does anyone knows a quick and dirty fix? I have to finalyse my thesis and would prefere having a working glossary. –  Jan Hajer Apr 16 '13 at 19:14
    
@JanHajer I've fixed the bug and uploaded v3.05 to CTAN. It may take a day or two for it to propagate through the mirrors. –  Nicola Talbot Apr 21 '13 at 18:33
    
Thanks a lot, works well. The only question remaining is, if the abstract really is chapter 0.0 or if one can avoid having 0.0 appearing in the numberlist –  Jan Hajer Apr 22 '13 at 14:09

1 Answer 1

up vote 4 down vote accepted

Upgrade to glossaries version 3.05 (once it's worked its way through the CTAN mirrors).

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.