I had to reinstall Windows on my pc, and therefore Latex too. It worked perfectly well before, and I don't understand why I have a problem now (I reinstall the complete miktex distribution).
Here is the code (the original document is much bigger, but you can see the problem with that part) :
\documentclass{article}
\usepackage{amssymb,amscd,amsmath,amstext,amsfonts}
\usepackage[francais]{babel}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[babel=true,kerning=true]{microtype}
\usepackage{boiboites}
\newtheorem{thm}{Th\'eor\`eme}[section]
\newboxedtheorem[titleboxcolor = white]{defn}{D\'efinition}{thm}
\begin{document}
\begin{defn}
Soient $n$ un entier naturel et $a$ et $b$ deux entiers relatifs. On dit $a$ est congru \`a $b$ modulo $n$ s'il existe un entier relatif $k$ tel que $a=b+kn$. \\
On note $a \equiv b [n]$.
\end{defn}
\end{document}
Boiboites is a package that allows to box theorem and that you cand find on this forum, or here http://snouffy.free.fr/blog-fr/index.php/post/2009/09/30/Des-jolies-boites-en-LaTeX-pour-encadrer-les-th%C3%A9or%C3%A8mes
When I build the document, I have this error and no output document :
! pdfTeX error (font expansion): auto expansion is only possible with scalable fonts.
\@EveryShipout@Output ...@Org@Shipout \box \@cclv
But if I remove the line \usepackage[T1]{fontenc}, it works fine, or the same if I remove the microtype package.
I downloaded the most recent packages, checked for available update but all of them are up-to-date. Is there anyone that can solve my problem ?
initexmf --admin --mkmaps– egreg Jan 02 '15 at 16:00--adminswitch. And miktex normally does update the (default) font maps. – Ulrike Fischer Jan 02 '15 at 16:06updmapin a command line. Regarding updates: Did you check with both update managers? – Ulrike Fischer Jan 02 '15 at 17:19