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
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!
[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
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
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
I just checked the latex bugs database, and this bug is discussed:
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.
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
May I quote you in the press?
;-))
Regards
Heinz Kusznier
3, Kapuzinerstrasse
A-4020 Linz/Austria