I use babel with the russian option, and the error message is that
Font T2A/cmr/m/n/9=larm0900 at 9.0pt not loadable: Metric (TFM) file or installed font not found.
Firstly, I use tlmgr to search for this font, but there is no result.
Then I download texlive-lang-cyrillic from Macport, but I cannot find Font T2A/cmr/m/n/9=larm0900 in it.
If anyone has larm0900.tfm, please share it.
Update
As suggested by egreg , I did sudo tlmgr install collection-langcyrillic
and the tex file can be compiled, but the output is just a blank. This is because I used Xelatex, the output is normal when I use Pdflatex.
But is it possbile to use Xelatex and get the normal output?
Best Answer
For the font problem you need to install the
cyrillic
collection; however, you'll also need thebabel-russian
and thehyphen-russian
TeX Live packages.You can use
tlmgr
(as super user) or TeX Live Utility for install the missing packages. However, I recommend you to get rid of BasicTeX and to install the full MacTeX.In order to run the example file (which appeared in one version of your question) with XeLaTeX you need to use a font that supports Cyrillic, which the default Latin Modern doesn't.
Here we enter a mine field. The full MacTeX provides several OpenType fonts supporting Cyrillic, but you have BasicTeX, so probably none of them. You need to use
fontspec
and choose a font you have available among the system fonts. For instance, if you have PT Serif, you can do