Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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.

share|improve this question
2  
Odd. That works just fine for me. –  TH. Aug 30 '10 at 22:07

1 Answer 1

up vote 12 down vote accepted

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.)

share|improve this answer
    
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
    
That solved it! This may have come about at some point when I installed a font a long time back. Thanks! –  Hooked Aug 31 '10 at 15:03

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.