summaryrefslogtreecommitdiff
path: root/Master/texmf-doc/doc/english/FAQ-en/html/FAQ-hyperdupdest.html
blob: ebd3320f34118be9c4917fd24641833526fecba2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<head>
<title>UK TeX FAQ -- question label hyperdupdest</title>
</head><body>
<h3>PDFTeX destination ... ignored</h3>
<p>The warning:
<blockquote>
<pre>
! pdfTeX warning (ext4): destination with the same identifier
(name{page.1}) has been already used, duplicate ignored
</pre>

</blockquote><p>
arises because of duplicate page numbers in your document.  The
problem is usually soluble: see 
<a href="FAQ-pdfpagelabels.html">PDF page destinations</a> &mdash; which
answer also describes the problem in more detail.
<p>If the identifier in the message is different, for example
<code>name{figure.1.1}</code>, the problem is (usually) due to a problem of
package interaction.  Some packages are simply incompatible with
<i>hyperref</i>, but most work simply by ignoring it.  In most
cases, therefore, you should load your package before you load
<i>hyperref</i>, and <i>hyperref</i> will patch things up so
that they work:
<blockquote>
  <code>\</code><code>usepackage{<em>your package</em>}</code><br>
  ...<br>
  <code>\</code><code>usepackage[<em>opts</em>]{hyperref}</code>
</blockquote><p>
You should do this as a matter of course, unless the documentation of
a package says you <em>must</em> load it after <i>hyperref</i>.
(There aren&rsquo;t many such packages: one such is <i>memoir</i>&rsquo;s
&ldquo;<i>hyperref</i> fixup&rdquo; package <i>memhfixc</i>.)
<p>If loading your packages in the (seemingly) &ldquo;correct&rdquo; order doesn&rsquo;t
solve the problem, you need to <a href="FAQ-gethelp.html">seek further help</a>.
<p><p>This question on the Web: <a href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=hyperdupdest">http://www.tex.ac.uk/cgi-bin/texfaq2html?label=hyperdupdest</a>
</body>