I just installed MacTeX, and I'm trying to compile a document, but I get the following error:
! LaTeX Error: File `psfig.sty' not found.
The preamble is as follows:
\documentclass[12pt]{article}
\usepackage{psfig}
\usepackage{subfigure}
\usepackage{rotating}
\usepackage{fullpage}
\usepackage{setspace}
%\singlespacing
%\onehalfspacing
\doublespacing
\usepackage{mathptm}
\usepackage{amsmath}
%\usepackage{cite}
\usepackage{bibentry}
\usepackage{fancyhdr}
I tried updating everything using TeX Live Utility, but that didn't fix it.
Where can I find psfig.sty
and how do I install it?
psfig
is a very obsolete package. Usegraphicx
\usepackage{graphicx}
and then use\includegraphics{file}
.graphicx
searches for the appropriate file extension (.pdf
,.eps
, ...) and if you're usingpdflatex
, conversion from PS to EPS should be automated.