I want to link each chapter name in the table of contents to an actual chapter for easier reading but including the hyperref package doesn't seem to work - no links are ever crated (\label and \ref doesn't work either).
Heres the document header and first page, if anyone can spot some kind of newbie mistake I would be very happy.
Code: Select all
\documentclass[12pt,oneside,draft]{fithesis2}
\usepackage[english]{babel} % package for multilingual support
\usepackage[utf8]{inputenc} % Windows OS encoding
\usepackage[T1]{fontenc}
\usepackage[plainpages=false,pdfpagelabels,unicode,colorlinks=true]{hyperref}
\usepackage{courier}
\usepackage[pdftex]{graphicx}
\usepackage[pdflatex]{hyperref}
\thesistitle{iproute2 documentation} % enter thesis title
\thesissubtitle{Bachelor thesis}
\thesisstudent{Marek Andreánsky} % name of the author
\thesiswoman{false} % defines author’rs gender
\thesisfaculty{fi}
\thesisyear{spring 2010}
\thesisadvisor{Marek Grác} % fill in advisor’s name
\thesislang{en} % thesis is in English
\setcounter{secnumdepth}{4}
\setcounter{tocdepth}{3}
\begin{document}
\FrontMatter
\ThesisTitlePage
\begin{ThesisDeclaration}
\DeclarationText
\AdvisorName
\end{ThesisDeclaration}
\begin{ThesisThanks}
I would like to thank my advisor Marcela Mašláňová.
\end{ThesisThanks}
\begin{ThesisAbstract}
The aim of this bachelor thesis is to provide a simple english documentation to the iproute2 package. The guide should contain simple command usage examples and explain the networking capabilities that are present in the Linux kernel and can be configure by iproute2.
\end{ThesisAbstract}
\begin{ThesisKeyWords}
iproute2, Linux, networking, tunnel, qos, shaper, htb, routing, ipsec, xfrm
\end{ThesisKeyWords}
\MainMatter
\tableofcontents % prints table of contents
\chapter{The basics of iproute2} % first chapter followed by
\section{What is iproute2}
\label{sec:greetings}
The \textit{iproute2 package} is a collection of Linux networking utilities. The package is present in most Linux distributions in their basic installation and can be used to administer every aspect of the Linux network stack.
\ref{sec:greetings}
Code: Select all
\documentclass[12pt,oneside,draft]{fithesis2}