Generaltex:0: destination with the same identifier

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
User avatar
tripwire45
Posts: 129
Joined: Thu Apr 10, 2008 4:35 am

tex:0: destination with the same identifier

Post by tripwire45 »

The full warning I'm getting is:

Code: Select all

tex:0: destination with the same identifier (name{page.1}) hasbeen already used, duplicate ignored\relaxl.100 \newpage[1]
I've Googled the error but haven't come up with much in terms of what the error means, not to mention the solution. I compared this LaTeX doc with another one I've been working on that doesn't display this warning, but I can't see where I've made my mistake (though obviously, I've made one). Can you tell me what to look for? Thanks.

Recommended reading 2024:

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

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

Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

tex:0: destination with the same identifier

Post by Stefan Kottwitz »

Hi Trip,

did you see PDFTeX destination ... ignored in the UK TeX FAQ?

Stefan
LaTeX.org admin
User avatar
tripwire45
Posts: 129
Joined: Thu Apr 10, 2008 4:35 am

tex:0: destination with the same identifier

Post by tripwire45 »

Actually, the solution seems like it should be here, but it doesn't work for me:

http://www.tex.ac.uk/cgi-bin/texfaq2htm ... pagelabels

What is really mysterious, is that I have another document set up to display roman page numbers prior to the first chapter and arabic page numbers thereafter, and I don't get the warning. I checked the preamble as well and in fact, copied and pasted it over from the first to second document. There *should* be no difference in how this feature is set up, but the first doc doesn't display the warning and the second doc does.

Code: Select all

%Make title page without date and insert kount logo on top of the title
\begin{titlepage}
\vspace*{\fill}
\centering
% Upper part of the page
\includegraphics[width=0.8\textwidth]{img/logo_large.png}\\[1cm]
\textcolor{webred}{\textsc{\Huge \textbf{User Guide}}}\\[1cm]
\end{titlepage}
\pagenumbering{roman}
%Create a copyright page as a separate page
 \vspace*{\fill}
\begingroup
\centering
\textbf{Copyright \copyright 2008}\\
by Product Inc.\\
All Rights Reserved\\
\endgroup
\vspace*{\fill}
\newpage
% Insert the table of contents
\tableofcontents
% Set indent of paragraphs to zero
\setlength{\parindent}{0pt}
\setlength{\parskip}{1ex plus 0.5ex minus 0.2ex}
\newpage
\pagenumbering{arabic}
%Chapter 1
If I remove the \pagenumbering{} tags, the warning goes away, The problem may not be solvable based on the following statement from the above-referenced source:
A common problem arises when there is an unnumbered title page, after which page numbers are reset: the PDFTeX warning of “duplicate destinations” will happen in this case, regardless of the options.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

Re: tex:0: destination with the same identifier

Post by Stefan Kottwitz »

Hi Trip,

one workaround together with pdfpagelabels could be to redefine \thepage temporarily (titlepage) to some different value.

Stefan
LaTeX.org admin
Post Reply