Code: Select all
\RequirePackage[l2tabu,orthodox]{nag}
\documentclass[11pt,twoside]{book}
\usepackage[]{hyperref}
\begin{document}
\title{Title}\author{Thyrion Lanister}\date{1472}
\maketitle
\thispagestyle{empty}
\cleardoublepage
\pagestyle{plain}
\frontmatter
\section*{\centering Introduction} % Probably the wrong way to add an introduction (preface).
Some introduction.
\tableofcontents
\mainmatter
\chapter{A funny title}
Some boring text in the first chapter.
\end{document}
I'm getting this error message in the console :
So what is wrong with the code above?pdfTeX warning (ext4): destination with the same identifier (name{page.1}) has been already used, duplicate ignored
<to be read again>
\relax
l.28 \end{document}
And what is the proper way in defining a "preface" (or "foreword"), which should be a centered title, without a chapter style?