This work may be distributed and/or modified under the conditions of the LaTeX Project Public License, either version 1.3 of this license or any later version.
Abstract
This package provides input encoding definition files for Greek for use with inputenc.
new maintainer.
Unicode support with the standard “utf8” option.
Greek input encoding file for UTF-8 comprising Greek letters and other symbols present in the LGR encoding.
This file requires lgrenc.def version 0.8.2 or newer from the greek-fontenc package.
The literate source was converted with PyLit to reStructuredText and with Docutils to lgrenc.dfu.html.
Greek input encoding file for ISO 8859-7 by Apostolos Syropoulos.1
Greek input encoding file for Macintosh (ELOT 823) by Dimitrios Filippou.1
test-utf8.tex, test-utf8.pdf (comprehensive example)
test-iso-8859-7.tex, test-iso-8859-7.pdf (basic test)
Currently, these files translate to a Latin transcription particular to the LGR font encoding. Drawbacks include: Latin characters in PDF strings (hyperref bookmarks and TOC sidebar, cf. greekhyperref.pdf), no kerning between accented characters.
If possible, get this package from your distribution using its installation manager.
Otherwise, make sure LaTeX can find the files ending in .def:
Download and unpack greek-inputenc.zip or just download the required file(s).
Copy, move, or link the files to a suitable place in the TeX Directory Structure (TDS) and run texhash, or place them in the current working directory (e.g. for testing).
Pass the encoding name as option to inputenc. For example
\usepackage[iso-8859-7]{inputenc}
The “utf8” option only defines characters that are accessible in declared font encodings. In order to load the Greek definitions in lgrenc.dfu, specify the LGR font encoding with fontenc or the “greek” or “polutonikogreek” options for babel, e.g.
\usepackage[LGR,T1]{fontenc} \usepackage[utf8]{inputenc}
or
\usepackage[greek,english]{babel} \usepackage[utf8]{inputenc}
See test-utf8.tex for an example.