# Amsmath has problems with $e^{\sum{x}}$

Running the code:

\documentclass{article}
\usepackage{amsmath}
\begin{document} Test: $e^{\sum{x}}$ \end{document}


Dies, yet it runs just fine with the \usepackage{amsmath} commented out. The logs show:

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


Which seems to indicate a missing font. I've used amsmath quite a bit in the past and never come across the problem. A bit of googleing shows some other Debian users have had this problem but I'm not quite sure what to do here. I'm running Ubuntu 10.04 with most LaTeX packages installed.

-
Odd. That works just fine for me. – TH. Aug 30 '10 at 22:07

This seems to be caused by an out-of-date $HOME/.texmf-var folder. Simply deleting that folder should solve the problem. (I like Ubuntu, but its TeX packages are a mess.) - Like TH, I cannot reproduce the problem, and yet I don't have the named font file either. This points to the OP having somehow a screwed up font map. Kudos for tracking down that the error is caused by an error in $HOME. – Willie Wong Aug 30 '10 at 22:23