summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/greek-fontenc/README
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/greek-fontenc/README')
-rw-r--r--Master/texmf-dist/doc/latex/greek-fontenc/README123
1 files changed, 90 insertions, 33 deletions
diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/README b/Master/texmf-dist/doc/latex/greek-fontenc/README
index c0eeded641c..9248c3204d1 100644
--- a/Master/texmf-dist/doc/latex/greek-fontenc/README
+++ b/Master/texmf-dist/doc/latex/greek-fontenc/README
@@ -4,7 +4,7 @@ Greek font encoding definition files
************************************
:Author: Günter Milde
-:Date: 2014-12-25
+:Date: 2019-07-10
:Copyright: © 2013 Günter Milde <milde@users.sf.net>
:Licence: This work may be distributed and/or modified under the
conditions of the `LaTeX Project Public License`_, either
@@ -18,7 +18,7 @@ Greek font encoding definition files
This package provides `Greek LICR macros`_ and encoding
definition files for `Greek text font encodings`_ for use with
fontenc_ (8-bit TeX) or fontspec_ (XeTeX/LuaTeX).
-
+
Included are also the LaTeX packages textalpha_ and alphabeta_.
.. note:: The LICR macro names for Greek symbols are chosen pending
@@ -27,8 +27,8 @@ Greek font encoding definition files
Names for archaic characters, accents/diacritics, and
punctuation may change in future versions.
-News
-====
+Changelog
+=========
.. class:: borderless
@@ -58,15 +58,19 @@ News
0.13 2015-09-04 Support for `symbol variants`_,
.. ``keep-semicolon`` option in textalpha_,
.. ``\lccode``/``\uccode`` corrections for Unicode
- (from Apostolos Syropoulos’ xgreek_) in greek-euenc_,
+ (from Apostolos Syropoulos’ xgreek_) in greek-euenc_,
.. Do not convert ``\ypogegrammeni`` to ``\prosgegrammeni``
with ``\MakeUppercase``.
0.13.1 2015-12-07 Fix `rho with dasia bug`__ in lgrenc.def (Linus Romer).
0.13.2 2016-02-05 Support for standard Unicode text font encoding "TU"
(new in fontspec v2.5a).
+0.13.3 2019-07-10 Documentation update.
+.. Drop error font declaration (cf. `ltxbugs 4399`_).
====== =========== ==========================================================
__ http://tex.stackexchange.com/questions/281631/greek-small-rho-with-dasia-and-also-psili-problem-with-accent-and-lgr-encodin
+.. _ltxbugs 4399:
+ https://www.latex-project.org/cgi-bin/ltxbugs2html?pr=latex%2F4399&search=
TeX files
@@ -99,7 +103,7 @@ TeX files
`Composite definitions with XeTeX/LuaTeX. <alphabeta-euenc.def.html>`_.
.. _greek-euenc:
-
+
`<greek-euenc.def>`_
`Font setup for Greek with XeTeX/LuaTeX <greek-euenc.def.html>`_.
Requires euenc_.
@@ -155,14 +159,24 @@ Otherwise, make sure LaTeX can find the package and definition files:
the “TeX Directory Structure” (TDS_) and run ``texhash``, or place them in
the current working directory (e.g. for testing).
+Conflicts
+=========
+
+The arabi_ package provides the Babel ``arabic`` option which loads
+``arabicfnt.sty`` for font setup. This package overwrites the LICR macros
+``\omega`` and ``\textomega`` with font selecting commands. See the report
+for Debian `bug 858987`_ for details and the `arabi workaround`_ below.
+
+.. _bug 858987: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=858987
Usage
=====
-There are many alternatives to use the Greek font encoding setup
+There are many alternatives to set up the support for a Greek font encoding
provided by this package, e.g.:
-* Ensure support for Greek characters in text mode with textalpha_ ::
+textalpha_:
+ Ensure support for Greek characters in text mode::
\usepackage{textalpha}
@@ -170,7 +184,7 @@ provided by this package, e.g.:
variants`_ ::
\usepackage[normalize-symbols]{textalpha}
-
+
and/or the keep-semicolon_ option to use the `semicolon as erotimatiko`_
also in LGR ::
@@ -181,29 +195,32 @@ provided by this package, e.g.:
For details see `<textalpha-doc.tex>`_ and `<textalpha-doc.pdf>`_ (8-bit
TeX) as well as `<greek-euenc-doc.tex>`_ and `<greek-euenc-doc.pdf>`_
(XeTeX/LuaTeX).
-
+
.. _normalize-symbols: textalpha.sty.html#normalize-symbols
.. _keep-semicolon: textalpha.sty.html#keep-semicolon
.. _semicolon as erotimatiko: textalpha.sty.html#semicolon-as-erotimatiko
-* To use the short macro names (``\alpha`` ... ``\Omega``) known from math
+alphabeta_:
+ To use the short macro names (``\alpha`` ... ``\Omega``) known from math
mode in both, text and math mode, write ::
\usepackage{alphabeta}
For details see `<alphabeta-doc.tex>`_ and `<alphabeta-doc.pdf>`_.
-* Use the ``greek`` option with Babel_::
+Babel:
+ Use the ``greek`` option with Babel_::
\usepackage[greek]{babel}
This automatically loads ``lgrenc.def`` with 8-bit TeX and
``greek-euenc.def`` with XeTeX/LuaTeX and provides localized auto-strings,
hyphenation and other localizations (see babel-greek_).
-
+
Babel can be used together with textalpha_ or alphabeta_.
-* Declare LGR via fontenc_. For example, specify T1 (8-bit
+fontenc:
+ Declare LGR via fontenc_. For example, specify T1 (8-bit
Latin) as default font encoding and LGR for Greek with ::
\usepackage[LGR,T1]{fontenc}
@@ -212,7 +229,7 @@ provided by this package, e.g.:
only if the current font encoding supports Greek. See [fntguide]_ for
details and `<lgrenc-test.tex>`_ for an example.
-* It is possible to use 8-bit Greek text fonts in the LGR TeX font encoding
+ It is possible to use 8-bit Greek text fonts in the LGR TeX font encoding
also with XeTeX/LuaTeX, if the fontenc_ package is loaded before
fontspec_ and textalpha_ or alphabeta_, e.g. ::
@@ -225,12 +242,33 @@ provided by this package, e.g.:
See `<greek-euenc-doc.tex>`_, `<greek-euenc-doc.pdf>`_ and
`<lgrenc-test.tex>`_, `<lgrenc-test.pdf>`_.
+.. _arabi workaround:
+
+To work around the conflict with arabi_, it may suffice to ensure ``greek``
+is loaded after ``arabic``::
+
+ \usepackage[arabic,greek,english]{babel}
+
+More secure is an explicit reverse-definition, e.g. ::
+
+ % save original \omega
+ \let\mathomega\omega
+
+ \usepackage[utf8]{inputenc}
+ \usepackage[LAE,LGR,T1]{fontenc}
+ \usepackage[arabic,greek,english]{babel}
+
+ % fix arabtex:
+ \DeclareTextSymbol{\textomega}{LGR}{119}
+ \renewcommand{\omega}{\mathomega}
+
+
Greek text font encodings
=========================
Greek TeX font encodings are the envisaged T7_, LGR_, and LGI_.
Greek letters and symbols are also defined in the Unicode-based font
-encodings EU1_ , EU2_ and PU (hyperref_).
+encodings TU_, `EU1, EU2`_, and PU (hyperref_).
T7
--
@@ -248,10 +286,10 @@ The LGR font encoding is the de-facto standard for typesetting Greek with
(8-bit) LaTeX. `greek-fontenc` provides a comprehensive `LGR font
encoding definition file`_.
-Fonts in this encoding include the `CB fonts`_ (matching CM),
-grtimes_ (Greek Times), Kerkis_ (matching URW Bookman), and the `GFS font
-collection`_. Setup of these fonts as Greek variant to matching Latin fonts
-is facilitated by the substitutefont_ package.
+Fonts in this encoding include the `CB fonts`_ (matching CM), grtimes_
+(Greek Times), Kerkis_ (matching URW Bookman), DejaVu_, `Libertine GC`_, and
+the `GFS fonts`_. Setup of these fonts as Greek variant to
+matching Latin fonts is facilitated by the substitutefont_ package.
The LGR font encoding allows to access Greek characters via an ASCII
@@ -277,19 +315,25 @@ It is currently not supported by `greek-fontenc`.
The font encoding file ``lgienc.def`` from ibycus-babel_ provides a basic
setup (without any LICR macros or composite definitions).
-EU1
----
+TU
+--
-Unicode font encoding set up by euenc_ for XeTeX and indirectly loaded by
-fontspec_. `greek-fontenc` adds support for the Greek script (see
+Standard Unicode font encoding for XeTeX and LuaTeX loaded by fontspec_
+(since v2.5a). `greek-fontenc` adds support for the Greek script (see
greek-euenc_).
-EU2
----
+Xe/LuaTeX works with any system-wide installed `OpenType font`_. Suitable
+fonts supporting Greek include `CM Unicode`_, `Deja Vu`_, `EB Garamond`_,
+the `GFS fonts`_, `Libertine OTF`_, `Libertinus`_, `Old Standard`_,
+Tempora_, and `UM Typewriter`_ (all available on CTAN) but also many commercial
+fonts. Unfortunately, the fontspec_ default, `Latin Modern`_ misses most
+Greek characters.
+
+EU1, EU2
+--------
+
+Legacy Unicode font encodings for XeTeX and LuaTeX respectively.
-Unicode font encoding set up by euenc_ for XeTeX and indirectly loaded by
-fontspec_. `greek-fontenc` adds support for the Greek script (see
-greek-euenc_).
Greek LICR macros
=================
@@ -484,12 +528,24 @@ as-is).
.. _Unicode names list: http://www.unicode.org/Public/UNIDATA/NamesList.txt
.. _XML Entity Definitions for Characters:
http://www.w3.org/TR/xml-entity-names/
-.. _CB Fonts: http://www.ctan.org/pkg/cbgreek-complete
-.. _GFS font collection: http://www.ctan.org/pkg/gfs
+.. _CB fonts: http://www.ctan.org/pkg/cbgreek-complete
+.. _CM Unicode: https://www.ctan.org/pkg/cm-unicode
+.. _Deja Vu: http://dejavu-fonts.org
+.. _EB Garamond: https://ctan.org/pkg/ebgaramond
+.. _GFS fonts: http://www.ctan.org/pkg/gfs
.. _Kerkis: http://www.ctan.org/pkg/kerkis
+.. _Latin Modern: http://www.gust.org.pl/projects/e-foundry/latin-modern
+.. _Libertine OTF: http://www.ctan.org/pkg/libertineotf
+.. _Libertine GC: https://www.ctan.org/pkg/libertinegc
+.. _Libertinus: https://ctan.org/pkg/libertinus
+.. _Old Standard: https://ctan.org/pkg/oldstandard
+.. _OpenType Font: https://ctan.org/topic/font-otf
+.. _UM Typewriter: https://www.ctan.org/pkg/umtypewriter
.. _amssymb: http://www.ctan.org/pkg/amsfonts
-.. _babel: http://www.ctan.org/pkg/babel
+.. _arabi: https://www.ctan.org/pkg/arabi
.. _babel-greek: http://www.ctan.org/pkg/babel-greek
+.. _babel: http://www.ctan.org/pkg/babel
+.. _dejavu: https://www.ctan.org/pkg/dejavu
.. _euenc: http://www.ctan.org/pkg/euenc
.. _fontenc: http://www.ctan.org/pkg/fontenc
.. _fontspec: http://www.ctan.org/pkg/fontspec
@@ -501,8 +557,9 @@ as-is).
.. _lgrx: http://www.ctan.org/pkg/lgrx
.. _libertine: http://www.ctan.org/pkg/libertine-legacy
.. _substitutefont: http://www.ctan.org/pkg/substitutefont
+.. _tempora: https://www.ctan.org/pkg/tempora
.. _teubner: http://www.ctan.org/pkg/teubner
-.. _unicode-math: http://www.ctan.org/pkg/unicode-math
.. _ucs: http://www.ctan.org/pkg/unicode
+.. _unicode-math: http://www.ctan.org/pkg/unicode-math
.. _xgreek: http://www.ctan.org/pkg/xgreek
.. _xunicode: http://www.ctan.org/pkg/xunicode