[Tex/LaTex] Error: option clash for package hyperref

bookmarkshyperref

I downloaded this master thesis format from the net, It was compiling without errors until I added this line \usepackage[bookmarks,bookmarksopen,bookmarksdepth=2]{hyperref}because I want to show the bookmarks table in the PDF file. And here is the code.

\documentclass[11pt, oneside]{Thesis} 

\graphicspath{{Pictures/}}

\usepackage[square, numbers, comma, sort&compress]{natbib} 

\usepackage[bookmarks,bookmarksopen,bookmarksdepth=2]{hyperref}

\hypersetup{urlcolor=blue, colorlinks=true} 
\title{\ttitle} 

Please, could anyone help me
Thanks in advance

Best Answer

Presumably your local thesis class has already loaded hyperref try

\hypersetup{bookmarks,bookmarksopen,bookmarksdepth=2}

instead.

Related Question