[tex-live] revtex4-1 not recognized under texlive (! Undefined control sequence. l.24 \documentclass [aps, prl, preprint, groupedaddress]{revtex4-1} )

George N. White III gnwiii at gmail.com
Wed Aug 11 19:57:23 CEST 2010


On Wed, Aug 11, 2010 at 2:46 PM, Sabuj Pattanayek <sabujp at gmail.com> wrote:
> 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}

This indicates that you should be using "latex", not "tex".


>
> 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
>



-- 
George N. White III <aa056 at chebucto.ns.ca>
Head of St. Margarets Bay, Nova Scotia



More information about the tex-live mailing list