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

I'm using TexLive on Windows

Please look at my error log

This is pdfTeX, Version 3.1415926-2.3-1.40.12 (Web2C 2011)
 restricted \write18 enabled.
entering extended mode
Babel  and hyphenation patterns for english, dumylang, nohyphenation, uk
english, usenglishmax, loaded.
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
For additional information on amsmath, use the `?' option.
! Font T2A/cmr/m/n/10=larm1000 at 10.0pt not loadable: Metric (TFM) file not fo
l.100 \fontencoding\encodingdefault\selectfont

! Emergency stop.
l.100 \fontencoding\encodingdefault\selectfont

!  ==> Fatal error occurred, no output PDF file produced!
Transcript written on APSBezierSegment_out.log.

And here is mine input file:


What is the problem here. And how that can be solved?

share|improve this question
Why are you loading the koi8-r and T2A encodings? – egreg Dec 14 '11 at 14:21
@egreg Well this is pattern-like file with common header for some bunch of other files, so I need it here. – Michael Z Dec 14 '11 at 18:02
Loading T2A forces LaTeX to look for cyrillic fonts; I'm quite surprised that it works with other files and not this one. – egreg Dec 14 '11 at 18:09
@egreg Actually it doesn't work with other files. I gave input file just for example. The same situation is processed correctly on *nix. Why the problem persists on Windows? – Michael Z Dec 14 '11 at 18:16
The problem are surely missing packages for cyrillic support; look for them with tlmgr. However, that preamble is wrong when your default language is English: T1 should go last. – egreg Dec 14 '11 at 18:25
up vote 4 down vote accepted

The font larm1000 is the base font for the cyrillic encoding T2A that you are choosing to be the default for your document, as it is the last appearing in


This should be corrected, if the default language is English, as specified by


In order to avoid the problem, install with tlmgr all the packages in collection-langcyrillic, in particular the lh package.

share|improve this answer

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.