Changeset - 04a38b87ecf6
[Not reviewed]
0 1 0
Bradley Kuhn (bkuhn) - 9 years ago 2014-12-23 02:09:04
bkuhn@ebb.org
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.
1 file changed with 3 insertions and 1 deletions:
0 comments (0 inline, 0 general)
comprehensive-gpl-guide.tex
Show inline comments
...
 
@@ -52,7 +52,6 @@
 
%        is worse. :)  My other opting was   COEO, which seemed too close to
 
%        CEO.  Suggestions welcome.
 

	
 
\usepackage{hyperref}
 
\usepackage{listings}
 
\usepackage{enumerate}
 
\usepackage{enumitem}
...
 
@@ -62,6 +61,9 @@
 
              paperwidth=8.5in, paperheight=11in,
 
              left=1in, right=1in, top=1.25in, bottom=.75in,
 
           ]{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}
 

	
0 comments (0 inline, 0 general)