Order matters in \usepackage{hyperref}.
The problem exhibited only in PDF files, wherein \ref{} links to appendix chapters referred instead to regular chapters. http://tex.stackexchange.com/questions/77886/fncychap-and-hyperref-messes-up-page-references suggest that loading hyperref second fixes the problem. This indeed worked.
This commit is contained in:
parent
27739cd92e
commit
04a38b87ec
1 changed files with 3 additions and 1 deletions
|
@ -52,7 +52,6 @@
|
||||||
% is worse. :) My other opting was COEO, which seemed too close to
|
% is worse. :) My other opting was COEO, which seemed too close to
|
||||||
% CEO. Suggestions welcome.
|
% CEO. Suggestions welcome.
|
||||||
|
|
||||||
\usepackage{hyperref}
|
|
||||||
\usepackage{listings}
|
\usepackage{listings}
|
||||||
\usepackage{enumerate}
|
\usepackage{enumerate}
|
||||||
\usepackage{enumitem}
|
\usepackage{enumitem}
|
||||||
|
@ -62,6 +61,9 @@
|
||||||
paperwidth=8.5in, paperheight=11in,
|
paperwidth=8.5in, paperheight=11in,
|
||||||
left=1in, right=1in, top=1.25in, bottom=.75in,
|
left=1in, right=1in, top=1.25in, bottom=.75in,
|
||||||
]{geometry}
|
]{geometry}
|
||||||
|
% Make sure hyperref is last in the package list. Order matters here, See:
|
||||||
|
% http://tex.stackexchange.com/questions/77886/fncychap-and-hyperref-messes-up-page-references
|
||||||
|
\usepackage{hyperref}
|
||||||
|
|
||||||
\newcommand{\tutorialpartsplit}[2]{#2}
|
\newcommand{\tutorialpartsplit}[2]{#2}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue