A have a glossary that contains a lot of entries that are synomyms. In the glossary's definition I chosed one of them to be the "main" entry that also has a short definition of the term. All other terms just print a "see" and forward to the main entry.

In my running text I would like to use all synonyms equally due to stylistic reasons. But this means that the page references are scattered to all the entries in the glossary. What I really would like to have is that the page reference is added to the main entry even if one of the synomyms is cited.

How is the done best?

This is my solution so far. In the glossary's definition I have

  Explanation of foo. Another term is \glshyperlink{bar}.%

  See \glshyperlink{foo}%

Here "foo" is the main entry and "bar" is the synonym. Now, if I use \gls{foo} and \gls{bar} in my running text, some page numbers are added under "foo" and some under "bar". In case of "foo" this is correct, but the page numbers of "bar" shall appear at "foo", too.

Of course, I can use something like


whenever I want a page number added to "foo" but print "bar". But this approach has two major drawbacks

  1. It is very error-prone. Whenever I want to use "bar", I must remember to actually link to "foo". And I have a lot of these pairs.
  2. The "first-use"-flag is not queried.

Any better ideas?

closed as unclear what you're asking by user31729, moewe, user13907, Mico, Malipivo Jan 17 '15 at 21:35

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

Browse other questions tagged or ask your own question.