未使用 lgreek.sty 创建输出

未使用 lgreek.sty 创建输出

我的代码如下:

\documentclass{book}
\usepackage{lgreek}

\begin{document}

\begin{greek}
To~u d`e poso~u t`o m'en >esti diwrism'enon, t`o d`e suneqes.
\end{greek}

\end{document}

我正在使用LaTeX/PDFLaTeXMikTeX v2.9生成输出,但我不知道如何清除字体错误,.log如下所示的文件:

Sorry, but maketfm did not succeed.

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

  C:/Users/Epub/AppData/Local/MiKTeX/2.9/miktex/log/miktex-maketfm.log

You may want to visit the MiKTeX project page, if you need help.

! Font LG/cmr/m/n/10=grreg10 at 10.0pt not loadable: Metric (TFM) file not foun
d.
<to be read again>
                   relax
l.6 \begin{greek}

请建议...

答案1

我会避免lgreek,因为它定义的字体仅可用作位图。

\documentclass{book}
\usepackage[greek.polutoniko,english]{babel}

\newenvironment{greek}
  {\begin{otherlanguage*}{greek}}
  {\end{otherlanguage*}}

\begin{document}

\begin{greek}
To~u d`e poso~u t`o m'en >esti diwrism'enon, t`o d`e suneqes.
\end{greek}

\end{document}

在此处输入图片描述

为了进行比较,以下是输出lgreek

在此处输入图片描述

相关内容