TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When trying to compile a LaTeX document in Ubuntu 10.04 with xelatex I get the following error message:

This is XeTeX, Version 3.1415926-2.2-0.9995.2 (TeX Live 2009/Debian)
 restricted \write18 enabled.
entering extended mode
LaTeX2e <2009/09/24>
Babel <v3.8l> and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, ngerman, german, german-x-2009-06-19, ngerman-x-2009-06-19, loaded.

Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/usr/share/texmf-texlive/tex/xelatex/euenc/eu1lmr.fd)kpathsea: Invalid fontname
 `[lmroman10-regular]', contains '['

! Font EU1/lmr/m/n/10=[lmroman10-regular]:mapping=tex-text at 10.0pt not loadab
le: Metric (TFM) file or installed font not found.
<to be read again> 
l.100 \fontencoding\encodingdefault\selectfont

What is wrong?

share|improve this question
Note: I just had this problem and thought I'd post it here. – Caramdir Jul 30 '10 at 15:07
Thanks for asking and answering the question; I'm sure it will be useful to others (esp. those who arrive through Google). – ShreevatsaR Jul 30 '10 at 15:18
up vote 17 down vote accepted

This is a bug in Ubuntu 10.04's textlive-xetex package: It does not depend on the lmodern package (see the Lauchpad bug report). To fix the problem just install the lmodern package, e.g. via

sudo apt-get install lmodern

(This also effects Debian Lenny: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=576599)

share|improve this answer
Moreover, I'd recommend to skip the Ubuntu packages install TeX Live directly from tug.org/texlive. – Caramdir Apr 20 '11 at 20:04
.... and this still isn't fixed (Ubuntu Server 14.04). Thanks! – Camil Staps Oct 20 '15 at 21:48
This solution works... thank you. – demented hedgehog Feb 13 at 21:53

I have installed TeXLive2010 on Ubuntu 10.04 using the ISO image file, I have no error and all things working properly. It seems that, the error is for your TeXLive installation! Try the ISO image.

share|improve this answer
Dude, the question is already answered and the answer was accepted! – Khaled Hosny Feb 13 '11 at 14:29
That's just an alternative! people who reach here by Googleing may select the alternative way! – hassan_noori Feb 13 '11 at 14:38

Your Answer


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.