Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Footnotes start with the wrong number

935 views
Skip to first unread message

Adam Conway

unread,
Mar 29, 2000, 3:00:00 AM3/29/00
to
HI

I was writing a letter using the standard LaTeX letter document
class. I wanted to include a footnote and did so in the normal
way (\footnote{text}). When I preview the .dvi (using yap) I
discovered that the footnote was numbered 2, not 1 (it is the
only footnote in the document). I can correct it using a
\setcounter{footnote}{0} just before the \footnote{text} command
but was wondering if it was a known problem? (FWIW I append a
minimal test file below)

My LaTeX version is

latex -v
MiKTeX-TeX 1.15 (TeX 3.14159) (MiKTeX 1.20d build 110)

---------------------------------------------
%begin test.tex
\documentclass[a4paper,12pt]{letter}
\address{%
Somewhere,\\
Someplace}
\signature{Adam Conway}
\begin{document}
\begin{letter}{Someone\\
Somewhere Else}
\opening{Dear Someone,}
This is a short document to test the footnotes\footnote{The
numbering appears to be wrong}. The previous foot note should
have been number 1 not number 2.
\closing{yours sincerely,}
\end{letter}
\end{document}
%end test.tex
---------------------------------------------

Adam
--
The story so far: In the beginning the universe was created
(this has made a lot of people very angry and been widely
regarded as a Bad Move). --- Douglas Adams

John Culleton

unread,
Mar 29, 2000, 3:00:00 AM3/29/00
to
In article <8bts29$7qi$1...@pegasus.csx.cam.ac.uk>, "Adam Conway"

<ad...@cam.ac.uk> wrote:
>HI
>
>I was writing a letter using the standard LaTeX letter document
>class. I wanted to include a footnote and did so in the normal
>way (\footnote{text}). When I preview the .dvi (using yap) I
>discovered that the footnote was numbered 2, not 1 (it is the
>only footnote in the document). I can correct it using a
>\setcounter{footnote}{0} just before the \footnote{text} command
>b
(snip)

I can reproduce the error using your original code. However your
example works ok when converted to article class. Perhaps the
powers that be don't want you to use footnotes in a letter :-).

Anyhow it is an interesting bug. Me, I always use plain TeX. With
no classes, there are no class conflicts.

John C.

* Sent from RemarQ http://www.remarq.com The Internet's Discussion Network *
The fastest and easiest way to search and participate in Usenet - Free!


Stefan Bellon

unread,
Mar 30, 2000, 3:00:00 AM3/30/00
to
In article <2e27576b...@usw-ex0101-005.remarq.com>,
John Culleton <johnNO...@ccpl.carr.org.invalid> wrote:

[footnote starting with number 2 instead 1]

> Anyhow it is an interesting bug. Me, I always use plain TeX. With
> no classes, there are no class conflicts.

Well, it worked ok here with my version of armTeX 3.14159, so the
problem is at least not a general one. I got a correct footnote 1.

Greetings,

Stefan.

--
Stefan Bellon * <mailto:sbe...@sbellon.de> * <http://www.sbellon.de/>

Waughning : Spel chekur knot wurking at phull kapacity

Gernot Katzer

unread,
Mar 30, 2000, 3:00:00 AM3/30/00
to
Stefan Bellon wrote:
>
> [footnote starting with number 2 instead 1]
> Well, it worked ok here with my version of armTeX 3.14159, so the
> problem is at least not a general one. I got a correct footnote 1.

Got it right, too

This is emTeX (tex386), Version 3.14159 [4b] (preloaded format=latex 97.4.16) 30 MAR 2000 09:22
Document Class: letter 1997/01/07 v1.2w Standard LaTeX document class
File: size12.clo 1996/10/31 v1.3u Standard LaTeX file (size option)

It could be of use to know which LaTeX version
the original poster used.

Gernot

Adam Conway

unread,
Mar 30, 2000, 3:00:00 AM3/30/00
to
"Gernot Katzer" <Gernot...@kfunigraz.ac.at> wrote in message
news:38E3016C...@kfunigraz.ac.at...

latex -v gives


MiKTeX-TeX 1.15 (TeX 3.14159) (MiKTeX 1.20d build 110)

If you want the dates of the format files then
This is TeX, Version 3.14159 (MiKTeX 1.20d)
(test.tex
LaTeX2e <1998/12/01> patch level 1
Babel <v3.6x> and hyphenation patterns for american, french,
german, ngerman, n
ohyphenation, loaded.
(C:\texmf\tex\latex\base\letter.cls
Document Class: letter 1999/02/09 v1.2z Standard LaTeX document
class

Hmm - how often are new LaTeX formats released? I last updated
the base distro in October...will update everything and see if it
helps
.....
Upgraded from MiKTeX 1.20d to MiKTeX 1.20e and it works properly
now - sorry for wasting people's time, it wasn't a bug I'd seen
mentioned anywhere as being known.

On a related note, is there a .sty/class option/method to alter
where the date is printed on a letter. At the moment it looks
like
-----------------------------------------------------------------
Somewhere
Someplace

March 30,
2000

Someone
Somewhere Else


Dear Someone,

etc.
-----------------------------------------------------------------
---------------------------------

What I would prefer is

-----------------------------------------------------------------
---------------------------------

Somewhere
Someplace

Someone
Somewhere Else March 30, 2000


Dear Someone,

etc.
-----------------------------------------------------------------

David Carlisle

unread,
Mar 30, 2000, 3:00:00 AM3/30/00
to Adam Conway

> Hmm - how often are new LaTeX formats released?
It has been every six months xxxx/06/01 and xxxx/12/01 (where month
start has to be understood to be relative to a special latexical
calendar.)

David

Kevin Lynch

unread,
Mar 30, 2000, 3:00:00 AM3/30/00
to
Adam Conway wrote:
>
> When I preview the .dvi (using yap) I
> discovered that the footnote was numbered 2, not 1 (it is the
> only footnote in the document).
>
>

I just checked the latex bugs database, and this bug is discussed:

http://www.Uni-Mainz.DE/cgi-bin/ltxbugs2html?pr=latex/3138&category=LaTeX&responsible=anyone&state=anything&keyword=footnote&

Note that the bug has been fixed, but another bug means that you may
think you have the fixed version, but don't :-) You could upgrade to
a newer version of letter.cls, or continue to work with your patch.

Robin Fairbairns

unread,
Mar 30, 2000, 3:00:00 AM3/30/00
to
Adam Conway <ad...@cam.ac.uk> wrote:
>I was writing a letter using the standard LaTeX letter document
>class. I wanted to include a footnote and did so in the normal
>way (\footnote{text}). When I preview the .dvi (using yap) I

>discovered that the footnote was numbered 2, not 1 (it is the
>only footnote in the document). [...]

>My LaTeX version is
>
>latex -v
>MiKTeX-TeX 1.15 (TeX 3.14159) (MiKTeX 1.20d build 110)

no it's not -- that's your miktex version. i'm afraid i don't know
what latex shipped with which version of miktex... (web2c tex gives
the same sort of answer under unix; what you're getting is an answer
from the executable that runs latex, rather than from latex itself.)

anyway, the bug appears in the public part of the latex bugs database
as:

latex/3138: First footnote using letter class should be 1.

and the answer says "fixed in latex 1999/12/01".

which it is (i've just checked).
--
Robin Fairbairns, Cambridge

Heinz Kusznier

unread,
Apr 2, 2000, 4:00:00 AM4/2/00
to
On 30 Mar 2000 16:27:12 +0000, David Carlisle <dav...@nag.co.uk>
wrote:


May I quote you in the press?
;-))

Regards
Heinz Kusznier
3, Kapuzinerstrasse
A-4020 Linz/Austria

0 new messages