MakeIndex, Nomenclature, Glossaries and Acronyms ⇒ Nomencl + hyperref / remove duplicates from the list
Nomencl + hyperref / remove duplicates from the list
Is there a way how to make the list of abbreviations clickable? I mean, if I use \usepackage[refpage]{nomencl} \usepackage{hyperref} I would like to have the list of nomenclatures to contain the clickable references to the pages. Everything else is clickable, but list produced by nomencl package is not. (list of indexes is also; i.e. hyperref works).
Also, if I use some abbreviation/nomenclature (\nomenclature{Abbr}{Something}) twice, or several times in the document, nomencl produces a list (\printnomenclature} that contains duplicate entries. Is there a way how to make it the same way as index is produced (one entry - several pages; or only the first page of occuring).
Thank you.
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Re: Nomencl + hyperref / remove duplicates from the list
\newcommand{\abbr}[2]{\label{abbr:#1}\nomenclature{#1}{\label{abbr:#1b}#2, \pageref{abbr:#1}}\hyperref[abbr:#1b]{#1}}
Now when you write \abbr{Abbr}{Abbreviation}, it will put Abbr in the text and in the list of abbreviations. You can also click back and forth. The problem is, that the link is only to the first page of abbreviations and not actually to the abbreviation. So in case when you have long list of abbreviations, on several pages, and you click on the abbreviation it will just link you on the first page. Which is not completely ok.
If someone has a better solution, please post it.
Nomencl + hyperref / remove duplicates from the list
Code: Select all
\newcommand{\abbr}[2]{\phantomsection\label{abbr:#1}\nomenclature{#1}{#2, \pageref{abbr:#1}\phantomsection\label{abbr:#1bbbb}}\hyperref[abbr:#1bbbb]{#1}}
\newcommand{\abref}[1]{\hyperref[abbr:#1bbbb]{#1}}
Re: Nomencl + hyperref / remove duplicates from the list
Best regards,
tommes42