字体 LHE/cmr/m/n/10=jerus10 at 10.0pt 无法加载:未找到公制 (TFM) 文件

字体 LHE/cmr/m/n/10=jerus10 at 10.0pt 无法加载:未找到公制 (TFM) 文件

我正在尝试编译一份混合英语和希伯来语的文档。当我尝试编译时(顺便说一下,使用 WinEDT),我收到一条错误消息,内容是-

Sorry, but miktex-makemf did not succeed.

The log file hopefully contains the information to get MiKTeX going again:

  C:\Users\Lea\AppData\Local\MiKTeX\2.9\miktex\log\miktex-makemf.log
Running miktex-hbf2gf.exe...

hbf2gf (CJK ver. 4.8.4)

Couldn't open `jerus.cfg'

Sorry, but miktex-maketfm did not succeed.

The log file hopefully contains the information to get MiKTeX going again:

  C:\Users\Lea\AppData\Local\MiKTeX\2.9\miktex\log\miktex-maketfm.log

! Font LHE/cmr/m/n/10=jerus10 at 10.0pt not loadable: Metric (TFM) file not fou
nd.
<to be read again> 
                   relax 
l.6 \select@language{hebrew}

我使用的是 WinEDT、MIKTeX 2.9,安装了 culmus。我尝试过的方法:

  1. 从命令提示符运行 updmap --admin。
  2. 从命令提示符运行 updmap --force。
  3. 更新 MIKTeX。
  4. 卸载并重新安装 MIKTeX。

我的代码类似于

\documentclass[12pt,a4paper]{report}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage[utf8x]{inputenc}
\usepackage{ucs}   
\usepackage[hebrew,english]{babel}
\usepackage{hebfont}  
\usepackage{culmus}
\usepackage{graphicx}
\usepackage{fancyhdr}
\usepackage{amsmath}
\usepackage{amsthm}
\usepackage{subfigure}
\usepackage[T1]{fontenc}
\usepackage[left=2.5cm, right=2.5cm, top=3cm, bottom=2.5cm]{geometry}
\usepackage{courier}
\usepackage{verbatim}
\usepackage{textcomp,gensymb}
\usepackage{fancyhdr}
\usepackage{multirow}


\pagestyle{fancy}
\setlength{\headheight}{15pt}
\fancyhf{}
\rhead{\emph{Writer's name}}
\lhead{\emph{Title}}
\rfoot{Page \thepage}

\begin{document}
\begin{titlepage}
    \centering
    \includegraphics[width=0.5\textwidth]{Affiliation}\par\vspace{1cm}
    {\LARGE Institute name \par}
    \vspace{1cm}
    {\LARGE Academic department \par}
    \vspace{1cm}
    {\Large Bla Bla Bla\par}
    \vspace{1.5cm}
    \selectlanguage{hebrew}
    {\huge\bfseriesטקסט בעברית\par}
    \vspace{2cm}
    \selectlanguage{english}
    {\huge\bfseries Research Titlel\par}
    \vspace{2cm}
    {\Large\itshape Writer's Name\par}
    \vfill
    Advisor: by\par
    Prof.~Advisor \textsc{Surname}
    \vfill
% Bottom of the page
    {\large\today\par}
\end{titlepage}

答案1

您应该添加\usepackage{culmus},否则它会尝试加载旧的 ivritex 字体(Jerusalem 等)。

或者,切换到 xetex,那里的工作效果会更好。请参阅此例子

我提倡 xetex,尽管我坚持乳胶

相关内容