[pdftex] hyperref.sty and foils.cls
Steffen Neumann
sneumann at TechFak.Uni-Bielefeld.DE
Sun Jun 1 17:13:37 CEST 2003
Hi,
I am trying to install our customized classfile
(based on foils.cls) on a number of different machines
with varying tex installations.
What I get is
(/coda/homes/sneumann/lib/texmf/foiltex/foiltex/foils.cls
Document Class: foils 1998/08/15 v2.1.3 FoilTeX Class File, Copyright IBM 1995,
1997,1998
(/coda/homes/sneumann/lib/texmf/foiltex/foiltex/fltfonts.def)
(/coda/homes/sneumann/lib/texmf/foiltex/foiltex/foil20.clo)
! LaTeX Error: Command \tablename already defined.
Or name \end... illegal, see p.192 of the manual.
! Emergency stop.
...
l.566 \newnonfloat{table}{Table}
where hyperref is 2000/05/08 v6.70f and foiltes is v2.1.3
Foiltex defines
\newcommand\newnonfloat[2]{%
\expandafter\newcommand\csname#1name\endcsname{#2}%
[...]
\expandafter\newenvironment{#1*}{\@float{#1}\@starmodetrue}%
{\end at nonfloat}%
}
\newnonfloat{table}{Table}
which evaluates to
\newcommand{\tablename}{Table}
and hyperref.sty has a
\providecommand\tablename{Table}
in old versions, which seems to break.
To check if hyperref needs an updated version:
Which hyperref.sty are compatible with foils.cls ?
Are the hyperref changelogs available ?
Yours,
Steffen
--- StripMime Report -- processed MIME parts ---
multipart/signed
text/plain (text body -- kept)
application/pgp-signature
---
More information about the pdftex
mailing list