You are not logged in.

#1 2008-02-17 00:12:30

PainAuple
Member
Registered: 2007-06-19
Posts: 9

Texlive and revtex

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

#2 2008-02-17 02:58:44

bender02
Member
From: UK
Registered: 2007-02-04
Posts: 1,328

Re: Texlive and revtex

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

#3 2008-02-17 16:42:12

PainAuple
Member
Registered: 2007-06-19
Posts: 9

Re: Texlive and revtex

I ran texhash and now it works. Thanks!

Offline

Board footer

Powered by FluxBB