TeX - LaTeX Asked on November 9, 2021
I use chappg
to give me page numbers of the form 2-1
for page 1 of chapter 2 for example.
glossaries
compiles and everything seems to work but it fills the console with warnings of the type:
Package glossaries Warning: Hyper target `1.1′ can’t be formed by prefixing location `1-1′. You need to modify the definition of theHpage otherwise you will get the warning: "`name{page.1-1}’ has been referenced but does not exist" on input line 20.
The (excellently detailed) documentation (page 90) suggested adding glsSetCompositor{-}
but this doesn’t seem to change anything.
Things tried (but that did not lead to a solution) :
glsSetCompositor
: chappg with glossaries-extrarenewcommand{theHpage}
changes the name{page.1-1}
but not much else (I’m probably doing it wrong)glsSetCompositor
and I ensured makeglossaries
was after glsSetCompositor
but I still get the warning…MWE:
I’ve left the options I pass to glossaries
in the MWE just in case that’s useful.
documentclass{memoir}
usepackage{hyperref}
usepackage{chappg}
usepackage[toc,nonumberlist,nopostdot,noredefwarn]{glossaries}
glsSetCompositor{-}
makeglossaries%
newglossaryentry{help}{%
name={Help},
description={Heeeeeeelp!}
}
begin{document}
pagestyle{plain}
pagenumbering{bychapter}
chapter{one}
gls{help}, I need somebody, gls{help}, not just anybody!
clearpage
pagenumbering[GLO]{bychapter}
printglossaries
end{document}
(I wanted to add the chappg
tag but I don’t have enough reputation yet)
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP