I'm desperate and have searched everywhere and tried many different things, but do not seem to find the solution to my problem...
I'm writing a thesis which has some PDF's included (published articles) and I'm currently doing the Nomenclature of my thesis using the nomencl package. In the list of symbols I want the symbol, description, unit and page (with link). So here are the problems I'm having:
I have some symbols inside the PDF which I would like to include in the general list of nomenclature (using the command \nomenclature[]{}{}) with links to the pages. Using the \nomenclature command before the \includepdf command will come as if the symbol is in the first page of the pdf or on the page after the last Is there anyway to trick or force a page number in nomencl?
I would like that the text in the long descriptions of the nomenclature list do not go until the end of the line in the 1st line (see image below - the of should not go until the end of the line...
The following code can serve as an example
Thank you very much in advance!
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[refpage,intoc]{nomencl}
\usepackage{hyperref}
\usepackage{siunitx}
\usepackage{ifthen} %for parameter changes in nomencl package
\usepackage[final]{pdfpages}
\makenomenclature
\renewcommand{\nompreamble}{\vspace{0.5in}} %vertical spacing between title and list
\renewcommand*{\pagedeclaration}[1]{\dotfill\hyperpage{#1}} %pagenumber in nomenclature + link
\newcommand{\nomunit}[1]{ [#1]} %activate units
\renewcommand{\nomgroup}[1]{% divide nomenclature into groups
\ifthenelse{%
\equal{#1}{A}%
}{%
\item[\textbf{Symbols}]%
}{%
\ifthenelse{\equal{#1}{B}}{%
\item[\textbf{Acronyms}]%
}{}%
}%
}
\begin{document}
\printnomenclature[2cm] %generate the nomenclature
\cleardoublepage
\section{Introduction}
This is $A$ and this is $Z$ while this is an ACRONYM.
\nomenclature[A]{$A$}{Normal description\nomunit{\si{\atomicmassunit}}}%
\nomenclature[A]{$Z$}{Kind of a very very very very very very very long description of a symbol \nomunit{\si{\metre\squared\per\gram\squared\micro\coulomb}}}%
\nomenclature[B]{ACRONYM}{Meaning of the acronym}%
\cleardoublepage
\nomenclature[A]{$r$}{Symbol in page 3 of the article}%
\nomenclature[B]{AA}{Acronym in page 2 of the article}%
\includepdf[pagecommand={},pages=-]{4pageArticle.pdf} %article with 4 pages
\end{document}