Hyperref not linking ToC
I am having an issue with hyperref not linking the ToC to the
chapters/sections. I have had a look around and I can not find a solution
to my problem. If this is duplicated, my apologies...
I am writing my thesis at the moment and its due soon so I'd like this fixed.
I am currently using TexLive2013 in Ubuntu 12.04. I was previously using
TexLive2009 however, I read that the caption package can cause hyperref to
stop early so I updated. I am still having this issue with the folowwing
error:
Package hyperref Message: Stopped early.
)
Package hyperref Message: Driver (autodetected): hpdftex.
Is this driver needed? Can I just delete it?
Either way, hyperref appears to be working fine elsewhere i.e. urls etc. I
have pasted my preamble below, perhaps I have a package conflict? The
update to TexLive2013 however did cause the lineno package to stop working
Any advice appreciated.
Cheers, Dave
\documentclass[12pt,a4paper,openany]{/home/dbyrne/PHD/Dropbox/MyThesis/report_custom}
\usepackage[innermargin=40mm, outermargin=20mm]{geometry}
\usepackage{array}
\usepackage{graphicx}
\usepackage{float} %for image placement
\usepackage{longtable}
\usepackage{comment}
\usepackage{color}
\usepackage{soul}
\usepackage{longtable}
\usepackage{pdflscape}
\usepackage[authoryear, square]{natbib}
\usepackage{eurosym}
\usepackage[nohyperlinks,withpage]{acronym}
\usepackage{caption}
\usepackage{subcaption}
\usepackage[toc,page]{appendix}
% \usepackage[]{lineno} % for line numbers. Not working with Texlive2013
\usepackage{acronym}
\usepackage{draftwatermark}
\SetWatermarkLightness{0.9}
\SetWatermarkScale{5}
\usepackage[pdfpagelabels,implicit=false]{hyperref}
\hypersetup{
linktoc=all,
colorlinks,
citecolor=CadetBlue,
filecolor=CadetBlue,
linkcolor=CadetBlue,
urlcolor=CadetBlue
}
\renewcommand{\thefootnote}{\fnsymbol{footnote}}
\graphicspath{paths}
\linespread{1.3} %1=single, 1.3=1.5 and 1.6=double
\begin{document
}
No comments:
Post a Comment