![如何在我的 Fedora 19 发行版中编译保加利亚语?](https://linux22.com/image/283932/%E5%A6%82%E4%BD%95%E5%9C%A8%E6%88%91%E7%9A%84%20Fedora%2019%20%E5%8F%91%E8%A1%8C%E7%89%88%E4%B8%AD%E7%BC%96%E8%AF%91%E4%BF%9D%E5%8A%A0%E5%88%A9%E4%BA%9A%E8%AF%AD%EF%BC%9F.png)
我对 TeX 还很陌生。
LaTeX 已经安装在我的环境中:
pdfTeX 3.1415926-2.5-1.40.14 (TeX Live 2013)
说
\usepackage[utf8]{inputenc}
\usepackage[bulgarian]{babel}
,如另一个答案所示。但在处理时,会显示缺少 .def 文件的错误:
$ pdflatex Elementaris.tex
This is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013)
restricted \write18 enabled.
entering extended mode
(./Elementaris.tex
LaTeX2e <2011/06/27>
Babel <3.9f> and hyphenation patterns for 3 languages loaded.
(/usr/share/texlive/texmf-dist/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/usr/share/texlive/texmf-dist/tex/latex/base/size10.clo))
(/usr/share/texlive/texmf-dist/tex/latex/base/inputenc.sty
(/usr/share/texlive/texmf-dist/tex/latex/base/utf8.def
(/usr/share/texlive/texmf-dist/tex/latex/base/t1enc.dfu)
(/usr/share/texlive/texmf-dist/tex/latex/base/ot1enc.dfu)
(/usr/share/texlive/texmf-dist/tex/latex/base/omsenc.dfu)))
(/usr/share/texlive/texmf-dist/tex/generic/babel/babel.sty
(/usr/share/texlive/texmf-dist/tex/generic/babel-bulgarian/bulgarian.ldf
(/usr/share/texlive/texmf-dist/tex/generic/babel/babel.def)
! Package babel Error: No Cyrillic encoding definition files were found.
See the babel package documentation for explanation.
Type H <return> for immediate help.
...
l.90 lcyenc.def, lwnenc.def, ot2enc.def.}
%
? q
OK, entering \batchmode
答案1
$ su -c "yum install texlive-collection-langcyrillic"
看这Fedora 的 wiki 页面。