15

I have this problem where I can't built slide documents with beamer every time I include a math environment as simple as $\mu = A$. The log file posts this message at the end:

!pdfTeX error: miktex-pdftex.exe (file mathkerncmssi10): Font mathkerncmssi10 a
t 657 not found
 ==> Fatal error occurred, no output PDF file produced!

I understand that the file (mathkerncmssi10) that is apparently missing is part of the package sansmathaccent, but the package is already there and updated.

This is driving me crazy, I would appreciate any help.


Sure, I tried this with several examples. I can post this one

\documentclass{beamer}
\usepackage[latin1]{inputenc}
\usetheme{Warsaw}
\title[Make a LaTeX presentation using Beamer]{Introduction  to Beamer\\How to make a presentation with LaTeX?}
\author{Nadir Soualem -- Astozzia}
\institute{Math-linux.com}
\date{Jule 13, 2007}
\begin{document}
\begin{frame}
\titlepage
\end{frame}
\begin{frame}{Introduction}
This is a short introduction to Beamer class.
$\mu=A$
\end{frame}
\end{document} 

By the way, it turns out that I just tried this one in another PC and works fine.

Joseph Wright
  • 259,911
  • 34
  • 706
  • 1,036
  • 5
    This looks like a defective installation. I'd be tempted to run the MiKTeX update wizard: do it both in 'admin' and 'normal user' modes to make sure you get everything. – Joseph Wright Jul 21 '12 at 06:33
  • 5
    Your pdftex.map-file hasn't been updated. Normally this happens if you have a local pdftex.map (in your user profile) created e.g. by an on-the-fly installation. In such cases you must run updmap to update the map if you install a font. – Ulrike Fischer Jul 21 '12 at 10:24
  • 2
    I don't understand why this topic has been closed. I had the same problem and @UlrikeFischer's solution has rescued me. – Stéphane Laurent Sep 29 '13 at 09:35
  • 5
    Can someone with enough privileges vote to reopen? I had the same problem too, solved running C:\Pragram Files\MiKTeX\miktex\bin\updmap.exe, thanks @UlrikeFischer – Oriol Dec 08 '13 at 21:40
  • 1
    It solved my problem too @Oriol – Leyla Alkan Aug 28 '18 at 23:29
  • Did you try running LyX as administrator? – Dan Jan 17 '21 at 14:09

3 Answers3

13

Your pdftex.map-file hasn't been updated. Normally this happens if you have a local pdftex.map (in your user profile) created e.g. by an on-the-fly installation. In such cases you must run updmap to update the map if you install a font.

Ulrike Fischer
  • 327,261
5

This worked for me when I had a similar error.

Simply navigate to your miktex bin directory (e.g. c:\Program Files\MiKTeX 2.9\miktex\bin\) and execute the commands below:

  • initexmf --mkmaps
  • initexmf --update-fndb
Faten
  • 51
  • 1
    The question is old, but the problem still present in 2021: this answer solved my problem. Thanks. – Antonio Sesto Sep 17 '21 at 15:04
  • No need to be condescending, BambOo. The question may be old, but the problem is still present in 2022, and the previously provided answer didn't resolve my problem, but this one did. Thanks Faten for providing it! – Roman Kogan Feb 21 '22 at 17:51
0

I had the same problem. Then I simply search for the "pdftex.map" file, which was in my user profile, and deleted the file. After that, my latex worked again.