Windows で LyX をヘブライ語で使用する - cp1255.def が見つかりません

Windows で LyX をヘブライ語で使用する - cp1255.def が見つかりません

昨日までWordを使っていましたが、講師からLyXを使うように勧められました。私はWindowsを使っているので、彼が書いたウィキに従って推奨すべて正常に動作しますが、PDF にコンパイルしようとしたときに次のエラーが発生しました。

LaTeX エラー: ファイル `cp1255.def' が見つかりません。

なお、バージョン 2.0.6 をアンインストールしてインストールしようとしましたが、同じエラーが発生したため、バージョン 2.2.2 を再インストールしました。

これを修正するにはどうすればいいでしょうか? よろしくお願いします。

以下は、ヘブライ語で文書をコンパイルしようとしたときのログ ファイルです。

This is pdfTeX, Version 3.14159265-2.6-1.40.17 (MiKTeX 2.9.6100) (preloaded format=pdflatex 2017.1.20)  20 JAN 2017 17:01
entering extended mode
**./newfile1.tex
(newfile1.tex
LaTeX2e <2016/03/31> patch level 3
Babel <3.9r> and hyphenation patterns for 75 language(s) loaded.

("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\base\article.cls"
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\base\size10.clo"
File: size10.clo 2014/09/29 v1.4h Standard LaTeX file (size option)
)
\c@part=\count79
\c@section=\count80
\c@subsection=\count81
\c@subsubsection=\count82
\c@paragraph=\count83
\c@subparagraph=\count84
\c@figure=\count85
\c@table=\count86
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
) ("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\base\fontenc.sty"
Package: fontenc 2016/06/19 v1.99m Standard LaTeX package
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\base\t1enc.def"
File: t1enc.def 2016/06/19 v1.99m Standard LaTeX file
LaTeX Font Info:    Redeclaring font encoding T1 on input line 48.
)) ("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\base\inputenc.sty"
Package: inputenc 2015/03/17 v1.2c Input encoding file
\inpenc@prehook=\toks14
\inpenc@posthook=\toks15
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\base\latin9.def"
File: latin9.def 2015/03/17 v1.2c Input encoding file
)

! LaTeX Error: File `cp1255.def' not found.

Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: def)

Enter file name: 
! Emergency stop.
<read *> 

l.158 \endinput

*** (cannot \read from terminal in nonstop modes)


Here is how much of TeX's memory you used:
 449 strings out of 493333
 4397 string characters out of 3136605
 53242 words of memory out of 3000000
 4056 multiletter control sequences out of 15000+200000
 4403 words of font info for 15 fonts, out of 3000000 for 9000
 1141 hyphenation exceptions out of 8191
 23i,0n,19p,144b,37s stack positions out of 5000i,500n,10000p,200000b,50000s
!  ==> Fatal error occurred, no output PDF file produced!

答え1

Windows では、MiKTeX のパッケージ マネージャーを使用してパッケージ「babel-hebrew」をインストールします。

Ubuntu で、Ubuntu リポジトリから TeX Live を使用している場合は、パッケージ「texlive-lang-other」をインストールします。

他のシステムでは、「cp1255.def」ファイルを含むパッケージを検索します。

関連情報