...
(/usr/share/texlive/texmf-dist/tex/latex/cyrillic/t2acmr.fd
File: t2acmr.fd 2001/08/11 v1.0a Computer Modern Cyrillic font definitions
)
! Font T2A/cmr/m/n/12=larm1200 at 12.0pt not loadable: Metric (TFM) file not fo
und.
<to be read again>
relax
l.100 \fontencoding\encodingdefault\selectfont
?
! Emergency stop.
<to be read again>
relax
l.100 \fontencoding\encodingdefault\selectfont
End of file on the terminal!
...
При этом в рабочей папке создаются пустые вложенные папки /.texmf-var/fonts/tfm/lh/lh-t2a и файл missfont.log с содержимым:
Если поменять кодировку на cp1251 или убрать \usepackage[T2A]{fontenc} или поменять на \usepackage[T1]{fontenc} ошибка остается. Проблема, как я понимаю, от подключения \usepackage[english, russian]{babel}.
В файле /usr/share/texlive/texmf-dist/tex/latex/cyrillic/t2acmr.fd содержится следующее:
%%
%% This is file `t2acmr.fd',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% t2lhfnt.fdd (with options: `T2Acmr')
%% This file is a generated file from the sources of the `cyrillic' bundle
%% in the LaTeX2e distribution.
%%
%% This is a generated file.
%%
%% Copyright 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2008
%% The LaTeX3 Project and any individual authors listed elsewhere
%% in this file.
%%
%% This file was generated from file(s) of the Standard LaTeX `Cyrillic Bundle'.
%% -----------------------------------------------------------------------------
%%
%% It may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3c
%% of this license or (at your option) any later version.
%% The latest version of this license is in
%%
http://www.latex-project.org/lppl.txt%% and version 1.3c or later is part of all distributions of LaTeX
%% version 2005/12/01 or later.
%%
%% This file may only be distributed together with a copy of the LaTeX
%% `Cyrillic Bundle'. You may however distribute the LaTeX `Cyrillic
%% Bundle' without such generated files.
%%
%% The list of all files belonging to the `Cyrillic Bundle' is
%% given in the file `manifest.txt'.
%%
%% In particular, permission is granted to customize the declarations in
%% this file to serve the needs of your installation.
%%
%% However, NO PERMISSION is granted to distribute a modified version
%% of this file under its original name.
%%
\ProvidesFile{t2acmr.fd}
[2001/08/11 v1.0a Computer Modern Cyrillic font definitions]
\providecommand{\EC@family}[5]{%
\DeclareFontShape{#1}{#2}{#3}{#4}%
{<5><6><7><8><9><10><10.95><12><14.4>%
<17.28><20.74><24.88><29.86><35.83>genb*#5}{}}
\DeclareFontFamily{T2A}{cmr}{}
\EC@family{T2A}{cmr}{m}{n}{larm}
\EC@family{T2A}{cmr}{m}{sl}{lasl}
\EC@family{T2A}{cmr}{m}{it}{lati}
\EC@family{T2A}{cmr}{m}{sc}{lacc}
\EC@family{T2A}{cmr}{bx}{n}{labx}
\EC@family{T2A}{cmr}{b}{n}{larb}
\EC@family{T2A}{cmr}{bx}{it}{labi}
\EC@family{T2A}{cmr}{bx}{sl}{labl}
\EC@family{T2A}{cmr}{bx}{sc}{laxc}
\EC@family{T2A}{cmr}{m}{ui}{laui}
\endinput
%%
%% End of file `t2acmr.fd'.
Что вообще значит эта ошибка? Где должен быть T2A/cmr/m/n/12=larm1200? Может нужно пути поменять? Кто такой mktextfm? Может шрифт должен генерироваться как-то на лету? В какую сторону копать?