diff options
Diffstat (limited to 'Master/texmf-doc/doc/english/FAQ-en/html/FAQ-hyperdupdest.html')
-rw-r--r-- | Master/texmf-doc/doc/english/FAQ-en/html/FAQ-hyperdupdest.html | 35 |
1 files changed, 25 insertions, 10 deletions
diff --git a/Master/texmf-doc/doc/english/FAQ-en/html/FAQ-hyperdupdest.html b/Master/texmf-doc/doc/english/FAQ-en/html/FAQ-hyperdupdest.html index ebd3320f341..49ca9f2012c 100644 --- a/Master/texmf-doc/doc/english/FAQ-en/html/FAQ-hyperdupdest.html +++ b/Master/texmf-doc/doc/english/FAQ-en/html/FAQ-hyperdupdest.html @@ -2,7 +2,7 @@ <title>UK TeX FAQ -- question label hyperdupdest</title> </head><body> <h3>PDFTeX destination ... ignored</h3> -<p>The warning: +<p/>The warning: <blockquote> <pre> ! pdfTeX warning (ext4): destination with the same identifier @@ -14,23 +14,38 @@ arises because of duplicate page numbers in your document. The problem is usually soluble: see <a href="FAQ-pdfpagelabels.html">PDF page destinations</a> — which answer also describes the problem in more detail. -<p>If the identifier in the message is different, for example +<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: +that they work, so you can utilise your (patched) package <em>after</em> +loading both: <blockquote> <code>\</code><code>usepackage{<em>your package</em>}</code><br> - ...<br> - <code>\</code><code>usepackage[<em>opts</em>]{hyperref}</code> + <code>...</code><br> + <code>\</code><code>usepackage[<em>opts</em>]{hyperref}</code><br> + <code>...</code><br> + <<i>code that uses your package</i>> </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’t many such packages: one such is <i>memoir</i>’s +For example: +<blockquote> +<pre> +\usepackage{float} % defines \newfloat +... +\usepackage[...]{hyperref} % patches \newfloat +... +\newfloat{...}{...}{...} +</pre> +</blockquote><p> + +You should load packages in this order as a matter of course, unless +the documentation of a package says you <em>must</em> load it after +<i>hyperref</i>. (There aren’t many packages that require to be +loaded after hyperref: one such is <i>memoir</i>’s “<i>hyperref</i> fixup” package <i>memhfixc</i>.) -<p>If loading your packages in the (seemingly) “correct” order doesn’t +<p/>If loading your packages in the (seemingly) “correct” order doesn’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> +<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> |