This is my document:
\documentclass{article}
\usepackage[T2A,T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[russian,english]{babel}
\begin{document}
Hello, \foreignlanguage{russian}{друг}!
\end{document}
This is what I'm getting:
kpathsea: Running mktextfm larm1000
/usr/local/texlive/2021/texmf-dist/web2c/mktexnam: Could not map source abbreviation for larm1000.
/usr/local/texlive/2021/texmf-dist/web2c/mktexnam: Need to update ?
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; ; nonstopmode; input larm1000
This is METAFONT, Version 2.71828182 (TeX Live 2021) (preloaded base=mf)
kpathsea: Running mktexmf larm1000
! I can't find file `larm1000'.
<*> ...four; mag:=1; ; nonstopmode; input larm1000
Please type another input file name
! Emergency stop.
<*> ...four; mag:=1; ; nonstopmode; input larm1000
Transcript written on mfput.log.
grep: larm1000.log: No such file or directory
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; ; nonstopmode; input larm1000' failed to make larm1000.tfm.
kpathsea: Appending font creation commands to missfont.log.
! Font T2A/cmr/m/n/10=larm1000 at 10.0pt not loadable: Metric (TFM) file not fo
und.
<to be read again>
relax
l.6 Hello, \foreignlanguage{russian}{друг}
!
?
What could be wrong? I'm at Ubuntu 20.04 with TeX Live 2021:
$ pdflatex --version
pdfTeX 3.141592653-2.6-1.40.23 (TeX Live 2021)
kpathsea version 6.3.3
Copyright 2021 Han The Thanh (pdfTeX) et al.
There is NO warranty. Redistribution of this software is
covered by the terms of both the pdfTeX copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the pdfTeX source.
Primary author of pdfTeX: Han The Thanh (pdfTeX) et al.
Compiled with libpng 1.6.37; using libpng 1.6.37
Compiled with zlib 1.2.11; using zlib 1.2.11
Compiled with xpdf version 4.03
BTW, I tried to find this file, but it's not there: tlmgr search --file larm1000.tfm --global
larm1000.tfmis not visible in the tlnet – yegor256 Sep 19 '21 at 05:51tlmgr install lhmight do, but it's better to install the wholecollection-langcyrillic– egreg Sep 19 '21 at 09:11