[Tex/LaTex] pdfTeX error: cannot open Type 1 font file for reading

errorsfontspdftex

Environment

  • OS: Mac OS X 10.10.4
  • TeX Live: 2015 Basic
  • Editor: Sublime Text 3 w/ LaTeXTools

Preamble of tex file

\documentclass[12pt,MSc,twoside]{muthesis}
% The tex template of University of Manchester

\usepackage{verbatim}
\usepackage{graphicx}
\usepackage{url}
\usepackage{listings}
\usepackage{pslatex}

Question

When I compiled the tex file, the following error appeared:

pdfTeX error: pdflatex (file ucrr8a.pfb): cannot open Type 1 font file for reading

I checked the log file and found the error:

{/usr/local/texlive/2015basic/texmf-dist/fonts/enc/dvips/base/8r.enc}
!pdfTeX error: pdflatex (file ucrr8a.pfb): cannot open Type 1 font file for reading
 ==> Fatal error occurred, no output PDF file produced!

I found ucrr8a.pfb available to download from CTAN but I do not know where to locate it or do I miss any package?

Best Answer

The Basic scheme is pretty minimal and lacks a lot of packages which you are likely to need, especially if you often compile 'templates' of one sort or another. Even if you don't, you are likely to want to use many of those packages.

Unless disk space is a real problem, it is much easier to just install the full version of TeX Live and then you know that you have (almost) everything you are likely to need.

If that's not an option, you can use the TeX Live Manager (tlmgr or TeX Live Utility, perhaps) to install additional packages on a case-by-case basis. But there are likely to be many, many such cases and this option is, therefore, likely to be rather frustrating.