diff --git a/amuthesis-doc.pdf b/amuthesis-doc.pdf index b3d10a8..6648028 100644 Binary files a/amuthesis-doc.pdf and b/amuthesis-doc.pdf differ diff --git a/amuthesis.cls b/amuthesis.cls index 9a27d3b..61855de 100644 --- a/amuthesis.cls +++ b/amuthesis.cls @@ -471,7 +471,7 @@ % RozdziaƂy \RenewDocumentCommand\chapter{sm}{% - \cleardoublepage\mbox{} + \cleardoublepage\phantomsection\mbox{} \vskip 3 \baselineskip \thispagestyle{plain} \IfBooleanTF{#1}{% @@ -512,7 +512,7 @@ % Paragrafy \RenewDocumentCommand\section{sm}{% - \stepcounter{section} + \stepcounter{section}\phantomsection \vskip 2 \baselineskip \IfBooleanTF{#1}{% \vbox to 2 \baselineskip{% @@ -554,7 +554,7 @@ % Podparagrafy \RenewDocumentCommand\subsection{sm}{% - \stepcounter{subsection} + \stepcounter{subsection}\phantomsection \vskip 2 \baselineskip \IfBooleanTF{#1}{% \vbox to 1 \baselineskip{% diff --git a/thesis.pdf b/thesis.pdf index 7710915..0190ba6 100644 Binary files a/thesis.pdf and b/thesis.pdf differ