是否有可能以某种方式使用该nomencl
包结合该hyperref
包来创建命名法,以便每当命名法条目出现在主文本中时,它实际上就是指向命名法中条目的可点击链接?
像这样:
\documentclass{minimal}
\usepackage{nomencl}
\makenomenclature
\usepackage{hyperref}
\begin{document}
Here, I define My Fancy Abbreviation (MFA\nomenclature{MFA}{My fancy abbreviation}).
Later on in the text, I want to use MFA, which should be a link to
the nomenclature entry.
\clearpage{}
\printnomenclature{}
\end{document}
答案1
即使这个帖子有点老了,我也想做出贡献。我强烈建议您使用 glossaries 包。它具有与 nomencl 包相同的功能和更多功能,而且更新 - 看看吧http://www.ctan.org/pkg/glossaries。
答案2
\documentclass{minimal}
\usepackage[refpage]{nomencl}
\renewcommand*{\pagedeclaration}[1]{\unskip, \hyperpage{#1}}
\makenomenclature
\usepackage{hyperref}
\begin{document}
Here, I define My Fancy Abbreviation (\hyperlink{abbr}{MFA}\nomenclature{MFA}{My fancy abbreviation}).
Later on in the text, I want to use \hyperlink{abbr}{MFA}, which should be a link to the nomenclature entry.
\clearpage{}
\hypertarget{abbr}{\printnomenclature{}}
\end{document}