mirror of
https://github.com/moderncv/moderncv.git
synced 2026-02-06 10:05:19 +01:00
do not hyperlink pageref to last page
This commit is contained in:
parent
79cf3191f6
commit
d5ffdb5a80
1 changed files with 1 additions and 1 deletions
|
|
@ -147,7 +147,7 @@
|
|||
\newlength{\pagenumberwidth}%
|
||||
\settowidth{\pagenumberwidth}{\color{color2}\addressfont\itshape\strut\thepage/\pageref{lastpage}}%
|
||||
\fancypagestyle{plain}{%
|
||||
\fancyfoot[r]{\parbox[b]{\pagenumberwidth}{\color{color2}\pagenumberfont\strut\thepage/\pageref{lastpage}}}}% the parbox is required to ensure alignment with a possible center footer (e.g., as in the casual style)
|
||||
\fancyfoot[r]{\parbox[b]{\pagenumberwidth}{\color{color2}\pagenumberfont\strut\thepage/\protect\NoHyper\pageref{lastpage}\protect\endNoHyper}}}% the parbox is required to ensure alignment with a possible center footer (e.g., as in the casual style)
|
||||
\pagestyle{plain}}{}}\fi}%
|
||||
\AtEndDocument{\label{lastpage}}}
|
||||
\pagestyle{plain}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue