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.
Page Layout ⇒ glossaries | Cross-references without Number Lists
NEW: TikZ book now 40% off at Amazon.com for a short time.

glossaries | Cross-references without Number Lists
The easiest way is to move the cross-reference part into the description. For example:
(Note that \glsseeformat has a second argument that is always ignored.)
Regards
Nicola Talbot
Code: Select all
\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}
Regards
Nicola Talbot
LaTeX Resources: http://www.dickimaw-books.com/latexresources.html
Creating a Minimal Example: http://www.dickimaw-books.com/latex/minexample/
Creating a Minimal Example: http://www.dickimaw-books.com/latex/minexample/
Re: glossaries | Cross-references without Number Lists
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?
Many thanks for your help.
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?
Many thanks for your help.
glossaries | Cross-references without Number Lists
trimtab wrote:Perhaps there's a way to get rid of the description's trailing punctuation?
Code: Select all
\renewcommand*{\glspostdescription}{}
Nicola Talbot
LaTeX Resources: http://www.dickimaw-books.com/latexresources.html
Creating a Minimal Example: http://www.dickimaw-books.com/latex/minexample/
Creating a Minimal Example: http://www.dickimaw-books.com/latex/minexample/