wannesm/adsphd

All the entries in the glossary link to the coverpage

Closed this issue · 1 comments

I changed the way the glossary works in my template, in order to have different subsections describing math notation, acronyms etc..

However, every entry of each of the different glossaries points always to page a, which is the first page of the coverpage. Any idea of why this happens?

Here's the MWE, where I define four entries of math notation, each pointing to a

\documentclass[showinstructions,faculty=firw,department=cws,phddegree=cws]{adsphd}
%\documentclass[showinstructions,showlabels,coverfontpercent=100,faculty=firw,department=cws,phddegree=cws]{adsphd}
%\documentclass[croppedpdf,showinstructions,faculty=firw,department=cws,phddegree=cws]{adsphd}
%\documentclass[online,faculty=firw,department=cws,phddegree=cws]{adsphd}
%\documentclass[print,bleed,cropmarks,faculty=firw,department=cws,phddegree=cws]{adsphd} % include bleed for the print service
%\documentclass[print,faculty=firw,department=cws,phddegree=cws]{adsphd}
%\documentclass[final,faculty=firw,department=cws,phddegree=cws]{adsphd}

\usepackage[acronym,shortcuts,style=alttree,nopostdot,nolist,section]{glossaries}
\glssetwidest{mylongstring}% widest name

% !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
% !!                                                               !!
% !!  WARNING: do not remove the following lines between           !!
% !!  "%%% COVER: Settings %%%" and "%%% COVER: End settings %%%"  !!
% !!                                                               !!
% !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

%%% COVER: Settings %%%
\title{The Title of Your PhD Dissertation}
%\subtitle{Multiscale computing for Dummies}

\author{Your}{Name}

\supervisor{Prof.~dr.~ir.~B.~Leader}{}
\supervisor{Prof.~dr.~ir.~S.~Second-Leader}{}
\president{Prof.~dr.~ir.~The~Chairman}
\jury{Prof.~dr.~ir.~The~One\\
      Prof.~dr.~ir.~The~Other
}
\externaljurymember{Prof.~dr.~External~Jurymember}{Far Away}

% Your research group within the department
% e.g. iMinds-DistriNet, Scientific Computing Group, ...
\researchgroup{XXXXX}
\website{http://www.XXXXX.cs.kuleuven.be} % Leave empty to hide
\email{first.last@cs.kuleuven.be} % Leave empty to hide

\address{Celestijnenlaan 200A box 2402}
% \addresscity{B-3001 Leuven} % This is the default value. Note
                              % that 'B-3001 Heverlee' is _incorrect_!!
                              % /[https://www.kuleuven.be/communicatie/marketing/intranet/huisstijl/taalgebruik.html]

\date{January 2016}
\copyyear{2016}
%\udc{XXX.XX}            % UDC, deposit number and ISBN are no longer necessary.
%\depot{XXXX/XXXX/XX}    % Leave out the initial D/ (it is added
                         % automatically)
%\isbn{XXX-XX-XXXX-XXX-X}


\makeatletter
\def\cleartextposbox{\global\setbox\TP@holdbox\vbox{}}
\makeatother

% Set spine width:
\setlength{\adsphdspinewidth}{9mm}

%% Set bleeds
%\setlength{\defaultlbleed}{7mm}
%\setlength{\defaultrbleed}{7mm}

% Set custom cover page
% \setcustomcoverpage{mycoverpage.tex} % mycoverpage.tex is the default

%%% COVER: End settings %%%

% Definition of new glossaries ----------------------------------------
% Define math notation glossary
\newglossary[nlg]{notation}{not}{ntn}{Mathematical notation}
% Define abbreviation glossary
%\newglossary[abb]{abbrev}{abr}{abv}{Abbreviations}
\makeglossaries
% --------------------------------------------------------------------

\newglossaryentry{not:scalar}{
% This entry goes in the ‘notation’ glossary:
    type=notation,
    name={\ensuremath{b}},
    description={scalar},
    sort={aaa}
}
\newglossaryentry{not:vector}{
% This entry goes in the ‘notation’ glossary:
    type=notation,
    name={\ensuremath{\mathbf{b}}},
    description={vector},
    sort={aab}
}
\newglossaryentry{not:matrix}{
% This entry goes in the ‘notation’ glossary:
    type=notation,
    name={\ensuremath{\mathbf{B}}},
    description={matrix},
    sort={aac}
}
\newglossaryentry{not:Imatrix}{
% This entry goes in the ‘notation’ glossary:
    type=notation,
    name={\ensuremath{\mathbf{I}_M}},
    description={Identity matrix},
    sort={aad}
}
\glsaddall

% Fonts
\usepackage{microtype}
\usepackage[T1]{fontenc}
\usepackage{lmodern}  % to make pdf searchable
\usepackage{textcomp} % nice greek alphabet
\usepackage{pifont}   % Dingbats
\usepackage{booktabs}
\usepackage{amssymb,amsthm}
\usepackage{amsmath}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\begin{document}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\makefrontcoverXII

\maketitle

\frontmatter % to get \pagenumbering{roman}

\chapter*{List of Terms and Acronyms}
\printglossary[title={Abbreviations},type={abbrev}] %
\printglossary[type=\acronymtype]
\printglossary[title={Mathematical notation},type={notation}] %

\tableofcontents
\listoffigures
\listoftables

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\mainmatter % to get \pagenumbering{arabic}

% Show instructions on a separate page
\instructionschapters\cleardoublepage


% Clear boxes used on the front page as they should have been printed by now
\cleartextposbox

%\includechapter{introduction}
%\includechapter{manual} % Remove this chapter

% Insert here your own chapters
% Chapters are expected to be in a tex-file with the given name dot
% tex and in a directory with the given name in the chapters
% directory.

\includechapter{conclusion}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\appendix

\includeappendix{myappendix}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\backmatter

\includebibliography
% BibTex
\bibliographystyle{acm}
\bibliography{allpapers}
% BibLatex (comment lines above and comment out biblatex lines in preamble)
%\printbibliography[title=\bibname]
\instructionsbibliography

\includecv{curriculum}

\includepublications{publications}

\makebackcoverXII

\end{document}

This should be fixed in the current version.