Hello LyX users,

I'm new to LyX and trying out some things. I'm using a nomenclature and now
wondering about the following. How can I automatically add hyperrefs to my
nomenclature entries, which point back to where the name has been used?

It's kind of similar to what this user here asked, but I can't get this
solution to work in LyX.
http://tex.stackexchange.com/questions/197166/how-to-make-page-numbers-in-a-nomenclature-hyperref-links

I already managed to make the page number appear in my language with

\renewcommand{\pagedeclaration}[1]{ (Seite\nobreakspace{}#1)}

but this

\renewcommand{\pagedeclaration}[1]{ \hyperlink{page.#1}{page\nobreakspace#1} }

does not work.

This is my preamble

%========================================
\usepackage{charter}
\usepackage[scaled=.92]{helvet}
\usepackage{courier}
\usepackage{microtype}

\pagenumbering{roman}
\let\myTOC\tableofcontents
\renewcommand\tableofcontents{
    \myTOC
    \clearpage
    \pagenumbering{arabic}
}

\renewcommand\nomname{Nomenklatur}

\renewcommand{\pagedeclaration}[1]{ (Seite\nobreakspace{}#1)}
%Not working
%\renewcommand{\pagedeclaration}[1]{ \hyperlink{page.#1}{page\nobreakspace#1} }

%==========================================

Any ideas?
Thank you very much in advance.

Reply via email to