[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#176049: marked as done (tetex-extra: Hyperref makes latex confuse labels after footnotes)



Your message dated Mon, 1 Sep 2003 18:43:22 +0200
with message-id <200309011843.23119.schnetter@aei.mpg.de>
and subject line Fixed in recent release.
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 9 Jan 2003 22:32:13 +0000
>From eschnett@because.homelinux.net Thu Jan 09 16:32:12 2003
Return-path: <eschnett@because.homelinux.net>
Received: from pd95196fa.dip.t-dialin.net (because.homelinux.net) [217.81.150.250] (mail)
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 18WlDg-0004Ii-00; Thu, 09 Jan 2003 16:32:12 -0600
Received: from eschnett by because.homelinux.net with local (Exim 3.36 #1 (Debian))
	id 18WlDd-0000bx-00; Thu, 09 Jan 2003 23:32:09 +0100
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Erik Schnetter <schnetter@uni-tuebingen.de>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: tetex-extra: Hyperref makes latex confuse labels after footnotes
X-Mailer: reportbug 2.10
Date: Thu, 09 Jan 2003 23:32:09 +0100
Message-Id: <E18WlDd-0000bx-00@because.homelinux.net>
Sender: Erik Schnetter <eschnett@because.homelinux.net>
Delivered-To: submit@bugs.debian.org
X-Spam-Status: No, hits=0.6 required=5.0
	tests=SPAM_PHRASE_00_01
	version=2.41
X-Spam-Level: 

Package: tetex-extra
Version: 1.0.2+20021025-5
Severity: normal
Tags: upstream

When I use the latex \label command after a \footnote command, the
created section numbers are wrong.  This only seems to happen when I use
the hyperref package.  The labels that are defined after a footnote
refer not to the section number, but to the footnote number instead.

Here is an example latex code:

\documentclass{article}
\usepackage{hyperref}
\begin{document}
\section{Section Heading}
\label{first}
\footnote{footnote 1}
\footnote{footnote 2}
\label{second}

First label, section \ref{first}.
Second label, section \ref{second}.
\end{document}

The resulting .dvi file reads approximately

1 Section Heading

1 2

First label, secion 1.  Second label, section 2.

(end of .dvi file)

I would expect both labels to refer to section 1 (the only existing
section).  Yet the command \ref{second} creates the output "2",
referring to the footnote 2.  This also happens when there is a lot of
text between the footnote and the \label marker.

The corresponding .aux file also contains a suspicious entry:

\@writefile{toc}{\contentsline {section}{\numberline {1}Section
Heading}{1}{section.1}}
\newlabel{first}{{1}{1}{Section Heading\relax }{section.1}{}}
\newlabel{second}{{2}{1}{Section Heading\relax }{Hfootnote.2}{}}

The entry for "second" should not have the "Hfootnote" tag, but rather
"section", as does the entry for "first".

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux because 2.4.20-686 #1 Sat Dec 21 15:58:35 EST 2002 i686
Locale: LANG=C, LC_CTYPE=C

Versions of packages tetex-extra depends on:
ii  dpkg                    1.10.9           Package maintenance system for Deb
ii  gsfonts                 6.0-2.1          Fonts for the ghostscript interpre
ii  perl-tk                 1:800.024-1.1    Perl module providing the Tk graph
ii  tetex-base              1.0.2+20021025-5 basic teTeX library files
ii  tetex-bin               1.0.7+20021025-8 teTeX binary files

-- no debconf information


---------------------------------------
Received: (at 176049-done) by bugs.debian.org; 1 Sep 2003 16:44:01 +0000
>From schnette@tat.physik.uni-tuebingen.de Mon Sep 01 11:43:59 2003
Return-path: <schnette@tat.physik.uni-tuebingen.de>
Received: from keid.tat.physik.uni-tuebingen.de [134.2.170.10] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 19trmZ-0003uv-00; Mon, 01 Sep 2003 11:43:59 -0500
Received: by keid.tat.physik.uni-tuebingen.de (Postfix, from userid 30252)
	id 8078F4EA3F; Mon,  1 Sep 2003 16:43:58 +0000 (CET)
From: Erik Schnetter <schnetter@aei.mpg.de>
To: 176049-done@bugs.debian.org
Subject: Fixed in recent release.
Date: Mon, 1 Sep 2003 18:43:22 +0200
User-Agent: KMail/1.5.3
MIME-Version: 1.0
Content-Type: text/plain;
  charset="us-ascii"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200309011843.23119.schnetter@aei.mpg.de>
Delivered-To: 176049-done@bugs.debian.org
X-Spam-Status: No, hits=-2.6 required=4.0
	tests=BAYES_10,SIGNATURE_SHORT_SPARSE,USER_AGENT_KMAIL
	version=2.53-bugs.debian.org_2003_8_27
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_8_27 (1.174.2.15-2003-03-30-exp)

This bug is fixed in the recent release.

-erik

-- 
Erik Schnetter <schnetter@uni-tuebingen.de>
Web: http://www.tat.physik.uni-tuebingen.de/~schnette/

My email is as private as my paper mail.  I therefore support encrypting
and signing email messages.  Get my PGP key from www.keyserver.net.



Reply to: