如何在我的 Fedora 19 发行版中编译保加利亚语?

如何在我的 Fedora 19 发行版中编译保加利亚语?

我对 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 页面。

相关内容