[Tex/LaTex] Greek characters with times font (utf8 input encoding)


I am despairing trying to solve the following problem. When compiling the following minimal example:

\usepackage[polutonikogreek, english]{babel}
\usepackage[LGR,T1]{fontenc}       % T2A is Cyrillic
\grrk  ἀφιέναι \ee `to send off, discharge', with infinitive: `suffer, permit'

Running pdflatex, I get the following error:

fontencoding LGR patched
) (C:\Users\rvw\AppData\Roaming\MiKTeX\2.9\tex\latex\grtimes\lgrptm.fd)Running miktex-makemf.exe...
miktex-makemf: The grtm source file could not be found.
Running hbf2gf.exe...
hbf2gf (CJK ver. 4.8.0)
Couldn't find `grtm.cfg'
miktex-maketfm: No creation rule for font grtm10.
! Font LGR/ptm/m/n/10=grtm10 at 10.0pt not loadable: Metric (TFM) file not foun
<to be read again> 
l.10 \grrk
            ἀφιέναι \ee `to send off, discharge', with infinitive: `...

Everything is all right if I do not include \usepackage{times}.

I understand the problem has to to with my font installation. But I am completely lost trying to understand how to solve it.

I am using MikTeX, all packages updated, on a win7 machine.

Best Answer

The code works on TeX Live 2011. It seems that MiKTeX does not have some fonts.

Since you use UTF-8 encoding, I advise you to use XeLaTeX or LuaLaTeX solution. It is more modern and you can use Times New Roman on Windows or Linux Libertine on TeX distributions.


% XeLaTeX
\setmainfont{Times New Roman}
\usepackage{polyglossia} % replacement of babel
\newcommand{\grrk}{\selectlanguage{greek}} % not necessary
\newcommand{\ee}{\selectlanguage{english}} % not necessary
\grrk  ἀφιέναι \ee `to send off, discharge', with infinitive: `suffer, permit'
Related Question