Document Classes[solved] glossary with the gloss package

Information and discussion about specific document classes and how to create your own document classes.
Post Reply
wonko
Posts: 3
Joined: Mon Oct 06, 2008 7:23 pm

[solved] glossary with the gloss package

Post by wonko »

I'm trying to use the "gloss" package to automatically create a glossary for my latex document. But wherever I put the \gloss{name} command, I only get "[name??]" in the compiled document. The only way I get it to work is if the identifier and the "word" field is exactly the same.
E.g.:

Code: Select all

@gd {SNMP,
word = {SNMP},
definition = {something, something.}
}
referenced with \gloss{SNMP} works, but

Code: Select all

@gd {snmp,
word = {Simple Network Management Protocol (SNMP)},
definition = {something, something.}
}
, or,

Code: Select all

@gd {snmp,
word = {Simple Network Management Protocol},
short = {SNMP},
definition = {something, something.}
}
referenced with \gloss{snmp} gives "[snmp??]".

If this actually is a restriction of gloss it's very unpractical, since the identifier can't contain spaces (as I understand it). Please say I'm missing something :|

Edit: btw: a glossary entry is correctly created in all cases (using "\printgloss{./glossary}")

Edit2: nevermind, I found the answer after 2 minutes of googling :oops: Sorry for being a bit hasty posting my problem, you may delete this post.

The solution, if anyone should be interested, was adding the line

Code: Select all

\renewcommand{\glosslinkborder}{0 0 0}
I don't know why, but apparently it needs to be done because I use the "hyperref" package.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Post Reply