TeX Live and MacTeX ⇒ problems of installing package revtex4 in Fedora
problems of installing package revtex4 in Fedora
I want to use package revtex4, a package from American Physical Society, in texlive. I am using Fedora, so I add the repository in http://fedoraproject.org/wiki/Features/TeXLive to install texlive, and then install texlive-revtex . But when I compile a latex file using revtex4, I still get error like "! LaTeX Error: File `revtex4.cls' not found". I give another try by downloading the revtex4 package from APS website, following the installation instructions but still I get the same error. Does anybody know how to do that in Fedora? I know in Debian people just install package texlive-publishers and everything will be okay.
Thanks.
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Re: problems of installing package revtex4 in Fedora
https://lists.ubuntu.com/archives/ubunt ... 79692.html
If it doesn't work, and depending on how much you need the new version, you could try finding the revtex4.cls file and copying it to the same directory as you main latex file.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
problems of installing package revtex4 in Fedora
Code: Select all
kpsewhich revtex4-1.cls
Best regards
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
problems of installing package revtex4 in Fedora
Next, back up the /usr/share/texmf/ls.R file, and run (still as a root)
the command
Code: Select all
mktexlsr /usr/share/texmf