[tex-live] revtex4-1 not recognized under texlive (! Undefined control sequence. l.24 \documentclass [aps, prl, preprint, groupedaddress]{revtex4-1} )
Sabuj Pattanayek
sabujp at gmail.com
Wed Aug 11 19:46:18 CEST 2010
Hi,
I'm trying to get revtex4-1 to work under my /usr/local/texlive
installation . I installed revtex4-1 according to the README found in
the revtex4-1.zip file from here
https://authors.aps.org/revtex4/revtex4-1.zip . I then ran mktexlsr
and also texhash and it looks like it did the right thing :
texhash: Updating /usr/local/texlive/2009/texmf/ls-R...
texhash: Updating /usr/local/texlive/2009/texmf-config/ls-R...
texhash: Updating /usr/local/texlive/2009/texmf-dist/ls-R...
texhash: Updating /usr/local/texlive/2009/../texmf-local/ls-R...
texhash: Updating /usr/local/texlive/2009/texmf-var/ls-R...
texhash: Done.
These commands also give :
$ kpsewhich revtex4-1.cls
/usr/local/texlive/2009/../texmf-local/tex/latex/revtex/revtex4-1.cls
$ kpsewhich revtex4.cls
/usr/local/texlive/2009/texmf-dist/tex/latex/revtex4/revtex4.cls
$ kpsewhich -var-value TEXMFLOCAL
/usr/local/texlive/2009/../texmf-local
But then when I try to run tex on the aps template under
/usr/local/texlive/texmf-local/doc/latex/revtex/sample/aps/apstemplate.tex
or on the 00readme.tex file from the revtex4-1 distribution I get the
error :
for apstemplate.tex :
$ tex apstemplate.tex
This is TeX, Version 3.1415926 (TeX Live 2009)
(./apstemplate.tex
! Undefined control sequence.
l.24 \documentclass
[aps,prl,preprint,groupedaddress]{revtex4-1}
for 00readme.tex :
$ tex 00readme.tex
This is TeX, Version 3.1415926 (TeX Live 2009)
(./00readme.tex
! Undefined control sequence.
l.1 \title
{%
?
! Undefined control sequence.
l.2 The \classname
{revtex4-1} document class of the American Physical Society%
Any ideas?
Thanks,
Sabuj Pattanayek
More information about the tex-live
mailing list