## LaTeX forum ⇒ Page Layout ⇒ glossaries | Cross-references without Number Lists

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
trimtab
Posts: 2
Joined: Mon Sep 26, 2011 6:18 pm

### glossaries | Cross-references without Number Lists

Using the "glossaries" package, is it possible to typeset all glossary entries showing cross-references, but without the number list's page number appearing?

Thanks.

Tags:

nlct
Posts: 275
Joined: Thu Nov 06, 2008 11:15 am
The easiest way is to move the cross-reference part into the description. For example:
\documentclass{article} \usepackage[nonumberlist]{glossaries} \makeglossaries \newglossaryentry{sample1}{name=sample 1,description={An example}}\newglossaryentry{sample2}{name=sample 2,description={An example}}\newglossaryentry{sample3}{name=sample 3,description={An example, \glsseeformat{sample2}{}}} \begin{document}\gls{sample1}, \gls{sample2}, \gls{sample3}. \printglossaries\end{document}

(Note that \glsseeformat has a second argument that is always ignored.)

Regards
Nicola Talbot

trimtab
Posts: 2
Joined: Mon Sep 26, 2011 6:18 pm
This works well for me. I settled on a format that produces the following two sample outputs:

term1 (See term2).
term2 A short description. (See term2).

I insert a period at the end of my description, just before my cross-reference, and capitalized the see name. This works well in the event a description is not required (as with term1). However, I omit ending the cross-reference with a period (which would be more appropriate, I think) as glossaries adds one automatically at the end of each description. If I did, I'd get

term1 (See term2.).
term2 A short description. (See term2.).

which looks strange. Perhaps there's a way to get rid of the description's trailing punctuation?

nlct
Posts: 275
Joined: Thu Nov 06, 2008 11:15 am
trimtab wrote:Perhaps there's a way to get rid of the description's trailing punctuation?

\renewcommand*{\glspostdescription}{}

Regards
Nicola Talbot