OS: Windows 7 SP1
TeX: MiKTeX 2.9
IDE: Kile 2.1
When trying to compile a latex document I get the following error:
myfn.tex:32:File `revtex4.cls' not found. ...blish.aps.org/revtex4/ for documentation)]
I get this error when I click the PDFLaTeX button. I am very confused as there're 2 papers I am working on right now, and the other one works fine. Can someone point out as to what's the issue?
Edits:
Acting on Werner's directive, I have added the following:
For the document that works the preamble is:
\documentclass[journal]{IEEEtran}
% *** MISC UTILITY PACKAGES ***
\usepackage{graphicx}
\usepackage[caption=false]{subfig}
\usepackage{hyperref}
%\usepackage{caption}
% *** MATH PACKAGES ***
\usepackage[cmex10]{amsmath}
\usepackage{amssymb}
\usepackage[mediumspace,mediumqspace,Gray,squaren]{SIunits}
% Conditional package:
% \usepackage{ifthen}
% \newboolean{LDF} %LDF - Let's Do Figures!
% \setboolean{LDF}{true}
% End of conditional package.
\begin{document}
For the document that gives the aforementioned error, the preamble is:
\documentclass{AIAA}
% *** MISC UTILITY PACKAGES ***
\usepackage{graphicx}
\graphicspath{/fig}
% \usepackage[colorlinks=true,citecolor=blue]{hyperref}
\usepackage{color}
\usepackage[sort&compress]{natbib}
% \usepackage{cm-super}
% *** MATH PACKAGES ***
\usepackage[cmex10]{amsmath}
\usepackage{amssymb}
\usepackage[mediumspace,mediumqspace,squaren]{SIunits}
\begin{document}
revtex4.cls. The quick fix would be to copy it across to the other directory. The not-so-quick fix is not so quick – cmhughes May 14 '12 at 19:42revtex4-1is shipped with up-to-date versions of MiKTeX and TeX Live. However,revtex4isn't. You may have to downloadrevtex4and manually install this. See How can I manually install a package on MiKTeX (Windows) (the installation process should be fairly similar to non-Windows systems, if need be). – Werner May 14 '12 at 20:15revtex4-1as well. I would go with Werner's comment and simply replacerevtex4withrevtex4-1. Werner should make that an answer, it always worked for us. I.e.:\documentclass[options here]{revtex4-1}with the same set of options in the square brackets as it was before. – Andy May 15 '12 at 6:08