You are not logged in.
Pages: 1
Hi,
I just installed texlive-bin, texlive-core, and texlive-publishers.
I want to teach tex to myself, and I'm teaching it to myself via a paper I am working on. I need revtex, which is included with texlive-publishers. Pacman downloaded everything without any problems, so everything SHOULD work just fine.
But, when I run "latex apssamp.tex" on an example tex file (copied from http://www.fzd.de/FKTI/latex/doc/revtex4/apssamp.txt) I get the error:
! LaTeX Error: File `revtex4.cls' not found.
Which implies revtex was NOT installed with texlive-publishers, as I had thought. What have I done wrong?
Offline
I don't know what's wrong in your case. I just installed texlive-publishers out of curiosity, and it *has* revtex4.cls, located at /opt/texlive/texmf-dist/tex/latex/revtex/revtex4.cls, so please check that place.
If the file is there, but tex cannot find it, just run mktexlsr (or texhash, it's the same thing). That should update tex's database of available files.
EDIT: I tried to compile that sample document you linked, and it compiles fine (modulo some errors coming from missing pictures).
Last edited by bender02 (2008-02-17 03:01:48)
Offline
I ran texhash and now it works. Thanks!
Offline
Pages: 1