Theses, Books, Title pagesChanging "colourlinks = true," to false breaks template

Classicthesis, Bachelor and Master thesis, PhD, Doctoral degree
Post Reply
mwi2004
Posts: 1
Joined: Sun Nov 22, 2015 3:56 pm

Changing "colourlinks = true," to false breaks template

Post by mwi2004 »

Hi there,

Love the doctoralThesisTemplate, but I am a bit of a newb when it comes templates. I have been successfully compiling the titlepages and my first chapter and wanted to stop the colouring of links.

Changing colorlinks=true to colorlinks=false stops the compilation of my document completely. Instead it errors straight after loading the template.cls file with the error:

Code: Select all

! LaTeX Error: Missing \begin{document}.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...

l.1 ´
     ╗┐%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
?
any ideas why a single change completely screws up my document?
here is my main.tex:

Code: Select all

\documentclass[11pt,english,singlespacing,%liststotoc,
parskip]{MastersDoctoralThesis}
\usepackage{palatino}
\usepackage[super,sort&compress,comma]{natbib}
\bibliographystyle{rsc}
\usepackage{hyperref}
\usepackage{graphicx}
\usepackage{siunitx}
\graphicspath{ {Figures/} }
Last edited by cgnieder on Sun Nov 22, 2015 5:44 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

Changing "colourlinks = true," to false breaks template

Post by cgnieder »

Hi and welcome to the LaTeX community!

Actually the error does not seem to have to do anything with hyperref's options but rather like a byte order mark issue, see for example LaTeX baffled by BOM---Unicode's byte order mark.

Regards
site moderator & package author
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Changing "colourlinks = true," to false breaks template

Post by Johannes_B »

Welcome, as Clemens said, this is most likely a BOM issue, which is strange since the original files do not have a Byte Order Mark.

Anyway, the template was updated to version 2.2 yesterday, youmight want to check it out.
Is there a eason for ot using package biblatex?
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Post Reply