summaryrefslogtreecommitdiff
path: root/language/greek/greek-fontenc/greek-fontenc.html
diff options
context:
space:
mode:
Diffstat (limited to 'language/greek/greek-fontenc/greek-fontenc.html')
-rw-r--r--language/greek/greek-fontenc/greek-fontenc.html260
1 files changed, 176 insertions, 84 deletions
diff --git a/language/greek/greek-fontenc/greek-fontenc.html b/language/greek/greek-fontenc/greek-fontenc.html
index e0e864507f..6b9caa68f7 100644
--- a/language/greek/greek-fontenc/greek-fontenc.html
+++ b/language/greek/greek-fontenc/greek-fontenc.html
@@ -628,25 +628,48 @@ version 1.3 of this license or any later version.</p>
verbose but failsafe 7-bit ASCII encoding that works unaltered
under both, 8-bit TeX and XeTeX/LuaTeX. Use cases are macro
definitions and generated text</p>
-<p>This package provides <a class="reference internal" href="#greek-licr-macros">Greek LICR macros</a> and encoding
-definition files for <a class="reference internal" href="#greek-text-font-encodings">Greek text font encodings</a> for use with
-<a class="reference external" href="http://www.ctan.org/pkg/fontenc">fontenc</a> (8-bit TeX) or <a class="reference external" href="http://www.ctan.org/pkg/fontspec">fontspec</a> (XeTeX/LuaTeX).</p>
+<p>This bundle provides LICR macros for characters from the
+Greek script and encoding definition files for
+<a class="reference internal" href="#greek-text-font-encodings">Greek text font encodings</a> for use with <a class="reference external" href="http://www.ctan.org/pkg/fontenc">fontenc</a> (8-bit TeX)
+or <a class="reference external" href="http://www.ctan.org/pkg/fontspec">fontspec</a> (XeTeX/LuaTeX).</p>
<p>Included are also the LaTeX packages <a class="reference internal" href="#textalpha">textalpha</a> and <a class="reference internal" href="#alphabeta">alphabeta</a>.</p>
</div>
-<div class="admonition note">
-<p class="admonition-title">Note</p>
-<p>The LICR macro names for Greek symbols are chosen pending
-endorsement by the TeX community and related packages.</p>
-<p>Names for archaic characters, accents/diacritics, and
-punctuation may change in future versions.</p>
+<div class="contents topic" id="contents">
+<p class="topic-title">Contents</p>
+<ul class="simple">
+<li><p><a class="reference internal" href="#changelog" id="id19">Changelog</a></p></li>
+<li><p><a class="reference internal" href="#tex-files" id="id20">TeX files</a></p></li>
+<li><p><a class="reference internal" href="#documentation-and-test-documents" id="id21">Documentation and test documents</a></p></li>
+<li><p><a class="reference internal" href="#experimental-files" id="id22">Experimental files</a></p></li>
+<li><p><a class="reference internal" href="#installation" id="id23">Installation</a></p></li>
+<li><p><a class="reference internal" href="#conflicts" id="id24">Conflicts</a></p></li>
+<li><p><a class="reference internal" href="#usage" id="id25">Usage</a></p></li>
+<li><p><a class="reference internal" href="#greek-text-font-encodings" id="id26">Greek text font encodings</a></p>
+<ul>
+<li><p><a class="reference internal" href="#t7" id="id27">T7</a></p></li>
+<li><p><a class="reference internal" href="#lgr" id="id28">LGR</a></p></li>
+<li><p><a class="reference internal" href="#lgi" id="id29">LGI</a></p></li>
+<li><p><a class="reference internal" href="#tu" id="id30">TU</a></p></li>
+<li><p><a class="reference internal" href="#pu" id="id31">PU</a></p></li>
+</ul>
+</li>
+<li><p><a class="reference internal" href="#selecting-greek-licr-macro-names" id="id32">Selecting Greek LICR macro names</a></p>
+<ul>
+<li><p><a class="reference internal" href="#letters-and-symbols" id="id33">letters and symbols</a></p></li>
+<li><p><a class="reference internal" href="#accent-macros" id="id34">accent macros</a></p></li>
+<li><p><a class="reference internal" href="#symbol-variants" id="id35">symbol variants</a></p></li>
+</ul>
+</li>
+<li><p><a class="reference internal" href="#references" id="id36">References</a></p></li>
+</ul>
</div>
<section id="changelog">
-<h2>Changelog</h2>
+<h2><a class="toc-backref" href="#id19">Changelog</a></h2>
<table class="borderless">
<colgroup>
<col style="width: 8%" />
-<col style="width: 15%" />
-<col style="width: 77%" />
+<col style="width: 14%" />
+<col style="width: 78%" />
</colgroup>
<tbody>
<tr><td><p>0.9</p></td>
@@ -796,25 +819,67 @@ Rename <span class="docutils literal"><span class="pre">greek-euenc</span></span
<td></td>
<td><p>Update URLs.</p></td>
</tr>
+<tr><td><p>2.0</p></td>
+<td><p>2020-10-30</p></td>
+<td><p>Move common alias definitions to <span class="docutils literal"><span class="pre">greek-fontenc.def</span></span>.</p></td>
+</tr>
+<tr><td><!-- -->
+</td>
+<td></td>
+<td><p><a class="reference internal" href="#textalpha">textalpha</a> loads TU with Xe/LuaTeX by default and
+provides <span class="docutils literal">\textmicro</span> and LICR macros for archaic
+symbols from the Greek and Coptic Unicode block.</p></td>
+</tr>
+<tr><td><!-- -->
+</td>
+<td></td>
+<td><p>Use <span class="docutils literal">\UnicodeEncodingName</span> (by the LaTeX kernel) instead
+of <span class="docutils literal">\UTFencname</span> for the Unicode font encoding name.</p></td>
+</tr>
+<tr><td><!-- -->
+</td>
+<td></td>
+<td><p>Replace utf8 literals in <span class="docutils literal"><span class="pre">tuenc-greek.def</span></span>.</p></td>
+</tr>
+<tr><td><!-- -->
+</td>
+<td></td>
+<td><p>New file puenc-greek.def: setup for PU encoding
+(defined by <a class="reference external" href="http://www.ctan.org/pkg/hyperref">hyperref</a> for PDF strings).</p></td>
+</tr>
+<tr><td><!-- -->
+</td>
+<td></td>
+<td><p>Don’t use <span class="docutils literal">\textcompwordmark</span> as base in accent commands.</p></td>
+</tr>
+<tr><td><!-- -->
+</td>
+<td></td>
+<td><p>Documentation update.</p></td>
+</tr>
</tbody>
</table>
</section>
<section id="tex-files">
-<h2>TeX files</h2>
-<dl class="simple">
-<dt><a class="reference external" href="greek-fontenc.def">greek-fontenc.def</a></dt>
-<dd><p><a class="reference external" href="greek-fontenc.def.html">Common Greek font encoding definitions</a>.</p>
-</dd>
-<dt><a class="reference external" href="greek-euenc.def">greek-euenc.def</a></dt>
-<dd><p>Backwards compatibility file loading <a class="reference internal" href="#tuenc-greek">tuenc-greek</a>.</p>
-</dd>
-</dl>
-<dl id="lgr-font-encoding-definition-file">
+<h2><a class="toc-backref" href="#id20">TeX files</a></h2>
+<dl>
<dt><a class="reference external" href="lgrenc.def">lgrenc.def</a></dt>
<dd><p><a class="reference external" href="lgrenc.def.html">LGR Greek font encoding definitions</a>.</p>
<p>This file is the successor of the basic LGR encoding definition file which
comes with <a class="reference external" href="http://www.ctan.org/pkg/babel">babel</a>’s Greek support and the now obsolete <a class="reference external" href="http://www.ctan.org/pkg/lgrx">lgrx</a> bundle.</p>
</dd>
+<dt id="tuenc-greek"><a class="reference external" href="tuenc-greek.def">tuenc-greek.def</a></dt>
+<dd><p><a class="reference external" href="tuenc-greek.def.html">Font setup for Greek with XeTeX/LuaTeX</a>.</p>
+</dd>
+<dt><a class="reference external" href="puenc-greek.def">puenc-greek.def</a></dt>
+<dd><p><a class="reference external" href="puenc-greek.def.html">Greek LICR definitions for PDF strings</a>.</p>
+</dd>
+<dt><a class="reference external" href="greek-fontenc.def">greek-fontenc.def</a></dt>
+<dd><p><a class="reference external" href="greek-fontenc.def.html">Common Greek font encoding definitions</a>.</p>
+</dd>
+<dt id="lgr-font-encoding-definition-file"><a class="reference external" href="greek-euenc.def">greek-euenc.def</a></dt>
+<dd><p>Backwards compatibility file loading <a class="reference internal" href="#tuenc-greek">tuenc-greek</a>.</p>
+</dd>
<dt id="textalpha"><a class="reference external" href="textalpha.sty">textalpha.sty</a></dt>
<dd><p><a class="reference external" href="textalpha.sty.html">Greek symbols in text</a></p>
<p>Use <span class="docutils literal">\textalpha</span> … <span class="docutils literal">\textOmega</span> independent of font encoding and TeX
@@ -824,41 +889,50 @@ engine.</p>
<dd><p><a class="reference external" href="alphabeta.sty.html">Greek symbols in text and math</a>.</p>
<p>Use <span class="docutils literal">\alpha</span> … <span class="docutils literal">\Omega</span> independent of text/math mode, font
encoding, and TeX engine.</p>
+<dl class="simple">
+<dt><a class="reference external" href="alphabeta-lgr.def">alphabeta-lgr.def</a></dt>
+<dd><p><a class="reference external" href="alphabeta-lgr.def.html">Composite definitions for 8-bit TeX.</a>.</p>
</dd>
<dt><a class="reference external" href="alphabeta-tuenc.def">alphabeta-tuenc.def</a></dt>
<dd><p><a class="reference external" href="alphabeta-tuenc.def.html">Composite definitions with XeTeX/LuaTeX.</a>.</p>
</dd>
-<dt id="tuenc-greek"><a class="reference external" href="tuenc-greek.def">tuenc-greek.def</a></dt>
-<dd><p><a class="reference external" href="tuenc-greek.def.html">Font setup for Greek with XeTeX/LuaTeX</a>.</p>
+</dl>
</dd>
</dl>
<p>Literate source files were converted with <a class="reference external" href="http://pypi.python.org/pypi/pylit">PyLit</a> to <a class="reference external" href="http://docutils.sourceforge.net/rst.html">reStructuredText</a> and
with <a class="reference external" href="http://docutils.sourceforge.net/rst.html">Docutils</a> to the HTML documentation.</p>
</section>
<section id="documentation-and-test-documents">
-<h2>Documentation and test documents</h2>
-<dl>
-<dt><cite>textalpha</cite> package documentation:</dt>
-<dd><p><a class="reference external" href="textalpha-doc.tex">textalpha-doc.tex</a>, <a class="reference external" href="textalpha-doc.pdf">textalpha-doc.pdf</a></p>
+<h2><a class="toc-backref" href="#id21">Documentation and test documents</a></h2>
+<dl class="simple">
+<dt>Overview:</dt>
+<dd><p><a class="reference external" href="README">README</a>, <a class="reference external" href="greek-fontenc.html">greek-fontenc.html</a></p>
+</dd>
+<dt><a class="reference internal" href="#textalpha">textalpha</a> package documentation:</dt>
+<dd><p><a class="reference external" href="textalpha-doc.tex">textalpha-doc.tex</a>, <a class="reference external" href="textalpha-doc.pdf">textalpha-doc.pdf</a>, <a class="reference external" href="textalpha-tu.pdf">textalpha-tu.pdf</a></p>
+</dd>
+<dt><a class="reference internal" href="#alphabeta">alphabeta</a> package documentation:</dt>
+<dd><p><a class="reference external" href="alphabeta-doc.tex">alphabeta-doc.tex</a>, <a class="reference external" href="alphabeta-doc.pdf">alphabeta-doc.pdf</a>, <a class="reference external" href="alphabeta-tu.pdf">alphabeta-tu.pdf</a></p>
</dd>
-<dt><cite>alphabeta</cite> package documentation:</dt>
-<dd><p><a class="reference external" href="alphabeta-doc.tex">alphabeta-doc.tex</a> <a class="reference external" href="alphabeta-doc.pdf">alphabeta-doc.pdf</a></p>
+<dt>LGR test and usage example</dt>
+<dd><p><a class="reference external" href="test-lgrenc.tex">test-lgrenc.tex</a>, <a class="reference external" href="test-lgrenc.pdf">test-lgrenc.pdf</a></p>
</dd>
-<dt>Test and usage example</dt>
-<dd><p><a class="reference external" href="lgrenc-test.tex">lgrenc-test.tex</a>, <a class="reference external" href="lgrenc-test.pdf">lgrenc-test.pdf</a></p>
+<dt>TU test and usage example</dt>
+<dd><p><a class="reference external" href="test-tuenc-greek.tex">test-tuenc-greek.tex</a>, <a class="reference external" href="test-tuenc-greek.pdf">test-tuenc-greek.pdf</a></p>
</dd>
-<dt>Font setup for Greek with XeTeX/LuaTeX</dt>
-<dd><p><a class="reference external" href="tuenc-greek-doc.tex">tuenc-greek-doc.tex</a>, <a class="reference external" href="tuenc-greek-doc.pdf">tuenc-greek-doc.pdf</a></p>
+<dt><a class="reference external" href="http://www.ctan.org/pkg/hyperref">Hyperref</a> test and usage example</dt>
+<dd><p><a class="reference external" href="hyperref-with-greek.tex">hyperref-with-greek.tex</a>, <a class="reference external" href="hyperref-with-greek.pdf">hyperref-with-greek.pdf</a></p>
</dd>
-<dt>Greek script in PDF metadata</dt>
-<dd><p><a class="reference external" href="greekhyperref.tex">greekhyperref.tex</a>, <a class="reference external" href="greekhyperref.pdf">greekhyperref.pdf</a></p>
-<p>The package <a class="reference external" href="http://www.ctan.org/pkg/hyperref">hyperref</a> defines the PU font encoding which also supports
-(monotonic) Greek.</p>
+<dt>Test with input encodings other than utf-8</dt>
+<dd><p><a class="reference external" href="test-inputenc.tex">test-inputenc.tex</a>, <a class="reference external" href="test-inputenc.pdf">test-inputenc.pdf</a></p>
+</dd>
+<dt>Greek diacritics with standard accent macros</dt>
+<dd><p><a class="reference external" href="diacritics.tex">diacritics.tex</a>, <a class="reference external" href="diacritics.pdf">diacritics.pdf</a></p>
</dd>
</dl>
</section>
<section id="experimental-files">
-<h2>Experimental files</h2>
+<h2><a class="toc-backref" href="#id22">Experimental files</a></h2>
<p>These files are still in development and will eventually be moved to/merged
with other packages or removed in future versions:</p>
<dl class="simple">
@@ -868,8 +942,8 @@ with other packages or removed in future versions:</p>
</dl>
</section>
<section id="installation">
-<h2>Installation</h2>
-<p>If possible, get this package from your distribution using its installation
+<h2><a class="toc-backref" href="#id23">Installation</a></h2>
+<p>If possible, get the bundle from your distribution using its installation
manager.</p>
<p>Otherwise, make sure LaTeX can find the package and definition files:</p>
<ul class="simple">
@@ -880,30 +954,36 @@ the current working directory (e.g. for testing).</p></li>
</ul>
</section>
<section id="conflicts">
-<h2>Conflicts</h2>
+<h2><a class="toc-backref" href="#id24">Conflicts</a></h2>
<p>The <a class="reference external" href="https://www.ctan.org/pkg/arabi">arabi</a> package provides the Babel <span class="docutils literal">arabic</span> option which loads
<span class="docutils literal">arabicfnt.sty</span> for font setup. This package overwrites the LICR macros
<span class="docutils literal">\omega</span> and <span class="docutils literal">\textomega</span> with font selecting commands. See the report
for Debian <a class="reference external" href="https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=858987">bug 858987</a> for details and the <a class="reference internal" href="#arabi-workaround">arabi workaround</a> below.</p>
</section>
<section id="usage">
-<h2>Usage</h2>
+<h2><a class="toc-backref" href="#id25">Usage</a></h2>
<p>There are several alternatives to set up the support for a Greek font
-encoding provided by this package, e.g.:</p>
+encoding provided by this bundle, e.g.:</p>
<dl>
+<dt>Babel:</dt>
+<dd><p>Use the <span class="docutils literal">greek</span> option with <a class="reference external" href="http://www.ctan.org/pkg/babel">Babel</a>:</p>
+<pre class="literal-block">\usepackage[greek]{babel}</pre>
+<p>This automatically loads <span class="docutils literal">lgrenc.def</span> with 8-bit TeX and
+<span class="docutils literal"><span class="pre">tuenc-greek.def</span></span> with XeTeX/LuaTeX and provides localized auto-strings,
+hyphenation and other localizations (see <a class="reference external" href="http://www.ctan.org/pkg/babel-greek">babel-greek</a>).</p>
+<p>Babel can be used together with <a class="reference internal" href="#textalpha">textalpha</a> or <a class="reference internal" href="#alphabeta">alphabeta</a>.</p>
+</dd>
<dt><a class="reference internal" href="#textalpha">textalpha</a>:</dt>
<dd><p>Ensure support for Greek characters in text mode:</p>
<pre class="literal-block">\usepackage{textalpha}</pre>
-<p>eventually with the <a class="reference external" href="textalpha.sty.html#normalize-symbols">normalize-symbols</a> option to handle <a class="reference internal" href="#symbol-variants">symbol
-variants</a></p>
-<pre class="literal-block">\usepackage[normalize-symbols]{textalpha}</pre>
-<p>and/or the <a class="reference external" href="textalpha.sty.html#keep-semicolon">keep-semicolon</a> option to use the <a class="reference external" href="textalpha.sty.html#semicolon-as-erotimatiko">semicolon as erotimatiko</a>
+<p>eventually with the <a class="reference external" href="textalpha.sty.html#normalize-symbols">normalize-symbols</a> option to handle <a class="reference internal" href="#symbol-variants">symbol variants</a>
+and/or the <a class="reference external" href="textalpha.sty.html#keep-semicolon">keep-semicolon</a> option to use the <a class="reference external" href="textalpha.sty.html#semicolon-as-erotimatiko">semicolon as erotimatiko</a>
also in LGR</p>
<pre class="literal-block">\usepackage[normalize-symbols,keep-semicolon]{textalpha}</pre>
<p>This sets up LICR macros for Greek text charactes under both, 8-bit TeX
and Xe-/LuaTeX.
For details see <a class="reference external" href="textalpha-doc.tex">textalpha-doc.tex</a> and <a class="reference external" href="textalpha-doc.pdf">textalpha-doc.pdf</a> (8-bit
-TeX) as well as <a class="reference external" href="tuenc-greek-doc.tex">tuenc-greek-doc.tex</a> and <a class="reference external" href="tuenc-greek-doc.pdf">tuenc-greek-doc.pdf</a>
+TeX) as well as <a class="reference external" href="test-tuenc-greek.tex">test-tuenc-greek.tex</a> and <a class="reference external" href="test-tuenc-greek.pdf">test-tuenc-greek.pdf</a>
(XeTeX/LuaTeX).</p>
</dd>
<dt><a class="reference internal" href="#alphabeta">alphabeta</a>:</dt>
@@ -912,31 +992,23 @@ mode in both, text and math mode, write</p>
<pre class="literal-block">\usepackage{alphabeta}</pre>
<p>For details see <a class="reference external" href="alphabeta-doc.tex">alphabeta-doc.tex</a> and <a class="reference external" href="alphabeta-doc.pdf">alphabeta-doc.pdf</a>.</p>
</dd>
-<dt>Babel:</dt>
-<dd><p>Use the <span class="docutils literal">greek</span> option with <a class="reference external" href="http://www.ctan.org/pkg/babel">Babel</a>:</p>
-<pre class="literal-block">\usepackage[greek]{babel}</pre>
-<p>This automatically loads <span class="docutils literal">lgrenc.def</span> with 8-bit TeX and
-<span class="docutils literal"><span class="pre">tuenc-greek.def</span></span> with XeTeX/LuaTeX and provides localized auto-strings,
-hyphenation and other localizations (see <a class="reference external" href="http://www.ctan.org/pkg/babel-greek">babel-greek</a>).</p>
-<p>Babel can be used together with <a class="reference internal" href="#textalpha">textalpha</a> or <a class="reference internal" href="#alphabeta">alphabeta</a>.</p>
-</dd>
<dt>fontenc:</dt>
<dd><p>Declare LGR via <a class="reference external" href="http://www.ctan.org/pkg/fontenc">fontenc</a>. For example, specify T1 (8-bit
Latin) as default font encoding and LGR for Greek with</p>
<pre class="literal-block">\usepackage[LGR,T1]{fontenc}</pre>
<p>Note that without <a class="reference internal" href="#textalpha">textalpha</a> or <a class="reference internal" href="#alphabeta">alphabeta</a>, Greek text macros work
only if the current font encoding supports Greek. See <a class="citation-reference" href="#fntguide" id="id6">[fntguide]</a> for
-details and <a class="reference external" href="lgrenc-test.tex">lgrenc-test.tex</a> for an example.</p>
+details and <a class="reference external" href="test-lgrenc.tex">test-lgrenc.tex</a> for an example.</p>
<p>It is possible to use 8-bit Greek text fonts in the LGR TeX font encoding
also with XeTeX/LuaTeX, if the <a class="reference external" href="http://www.ctan.org/pkg/fontenc">fontenc</a> package is loaded before
-<a class="reference external" href="http://www.ctan.org/pkg/fontspec">fontspec</a> and <a class="reference internal" href="#textalpha">textalpha</a> or <a class="reference internal" href="#alphabeta">alphabeta</a>, e.g.</p>
+Babel, <a class="reference internal" href="#textalpha">textalpha</a>, or <a class="reference internal" href="#alphabeta">alphabeta</a>, e.g.</p>
<pre class="literal-block">\usepackage[LGR]{fontenc}
\usepackage{fontspec}
\setmainfont{Linux Libertine O} % Latin Modern does not support Greek
\setsansfont{Linux Biolinum O}
\usepackage{textalpha}</pre>
-<p>See <a class="reference external" href="tuenc-greek-doc.tex">tuenc-greek-doc.tex</a>, <a class="reference external" href="tuenc-greek-doc.pdf">tuenc-greek-doc.pdf</a> and
-<a class="reference external" href="lgrenc-test.tex">lgrenc-test.tex</a>, <a class="reference external" href="lgrenc-test.pdf">lgrenc-test.pdf</a>.</p>
+<p>See <a class="reference external" href="test-tuenc-greek.tex">test-tuenc-greek.tex</a>, <a class="reference external" href="test-tuenc-greek.pdf">test-tuenc-greek.pdf</a> and
+<a class="reference external" href="test-lgrenc.tex">test-lgrenc.tex</a>, <a class="reference external" href="test-lgrenc.pdf">test-lgrenc.pdf</a>.</p>
</dd>
</dl>
<p id="arabi-workaround">To work around the conflict with <a class="reference external" href="https://www.ctan.org/pkg/arabi">arabi</a>, it may suffice to ensure <span class="docutils literal">greek</span>
@@ -955,19 +1027,19 @@ is loaded after <span class="docutils literal">arabic</span>:</p>
\renewcommand{\omega}{\mathomega}</pre>
</section>
<section id="greek-text-font-encodings">
-<h2>Greek text font encodings</h2>
+<h2><a class="toc-backref" href="#id26">Greek text font encodings</a></h2>
<p>Greek TeX font encodings are the envisaged <a class="reference internal" href="#t7">T7</a>, <a class="reference internal" href="#lgr">LGR</a>, and <a class="reference internal" href="#lgi">LGI</a>.
Greek letters and symbols are also defined in the Unicode-based font
-encodings <a class="reference internal" href="#tu">TU</a>, <a class="reference internal" href="#eu1-eu2">EU1, EU2</a>, and PU (<a class="reference external" href="http://www.ctan.org/pkg/hyperref">hyperref</a>).</p>
+encodings <a class="reference internal" href="#tu">TU</a>, and <a class="reference internal" href="#pu">PU</a>.</p>
<section id="t7">
-<h3>T7</h3>
+<h3><a class="toc-backref" href="#id27">T7</a></h3>
<p>The <a class="citation-reference" href="#encguide" id="id12">[encguide]</a> reserves the name T7 for a Greek <cite>standard font encoding</cite>.
However, up to now, there is no agreement on an implementation because the
restrictions for general text encodings are too severe for typesetting
polytonic Greek.</p>
</section>
<section id="lgr">
-<h3>LGR</h3>
+<h3><a class="toc-backref" href="#id28">LGR</a></h3>
<p>The LGR font encoding is the de-facto standard for typesetting Greek with
(8-bit) LaTeX. <cite>greek-fontenc</cite> provides a comprehensive <a class="reference internal" href="#lgr-font-encoding-definition-file">LGR font
encoding definition file</a>.</p>
@@ -988,7 +1060,7 @@ font-encoding comprising Latin and Greek like the envisaged <a class="reference
Unicode (with XeTeX or LuaTeX).</p>
</section>
<section id="lgi">
-<h3>LGI</h3>
+<h3><a class="toc-backref" href="#id29">LGI</a></h3>
<p>The ‘Ibycus’ fonts from the package <a class="reference external" href="http://www.ctan.org/pkg/ibygrk">ibygrk</a> implement an alternative
transliteration scheme (also explained in <a class="citation-reference" href="#babel-patch" id="id16">[babel-patch]</a>).
It is currently not supported by <cite>greek-fontenc</cite>.</p>
@@ -996,30 +1068,49 @@ It is currently not supported by <cite>greek-fontenc</cite>.</p>
setup (without any LICR macros or composite definitions).</p>
</section>
<section id="tu">
-<h3>TU</h3>
+<h3><a class="toc-backref" href="#id30">TU</a></h3>
<p>Standard Unicode font encoding for XeTeX and LuaTeX loaded by <a class="reference external" href="http://www.ctan.org/pkg/fontspec">fontspec</a>
-(since v2.5a). <cite>greek-fontenc</cite> adds support for the Greek script (see
-<a class="reference internal" href="#tuenc-greek">tuenc-greek</a>).</p>
+(since v2.5a) rsp. the LaTeX kernel since 2017/01/01 [LaTeX2e News Issue 26]_.
+<cite>greek-fontenc</cite> adds support for the Greek script (see <a class="reference internal" href="#tuenc-greek">tuenc-greek</a>).</p>
<p>Xe/LuaTeX works with any system-wide installed <a class="reference external" href="https://ctan.org/topic/font-otf">OpenType font</a>. Suitable
fonts supporting Greek include <a class="reference external" href="https://www.ctan.org/pkg/cm-unicode">CM Unicode</a>, <a class="reference external" href="http://dejavu-fonts.org">Deja Vu</a>, <a class="reference external" href="https://ctan.org/pkg/ebgaramond">EB Garamond</a>,
the <a class="reference external" href="http://www.ctan.org/pkg/gfs">GFS fonts</a>, <a class="reference external" href="http://www.ctan.org/pkg/libertineotf">Libertine OTF</a>, <a class="reference external" href="https://ctan.org/pkg/libertinus">Libertinus</a>, <a class="reference external" href="https://ctan.org/pkg/oldstandard">Old Standard</a>,
<a class="reference external" href="https://www.ctan.org/pkg/tempora">Tempora</a>, and <a class="reference external" href="https://www.ctan.org/pkg/umtypewriter">UM Typewriter</a> (all available on CTAN) but also many commercial
fonts. Unfortunately, the <a class="reference external" href="http://www.ctan.org/pkg/fontspec">fontspec</a> default, <a class="reference external" href="http://www.gust.org.pl/projects/e-foundry/latin-modern">Latin Modern</a> misses most
Greek characters.</p>
+<p>XeTeX uses the Unicode NFC normalization, so that combining characters
+are merged with the base character if a pre-composed character exists. This
+results in better looking output for characters with multiple diacritics.
+Unfortunately, LuaTeX does not apply the NFC normalization. This leads to
+suboptimal placing of some diactritics, especially the sub-iota (becoming
+unintelligable in combination with small letter eta).</p>
+<p>TODO: The <a class="reference external" href="https://ctan.org/pkg/lua-uni-algos">lua-uni-algos</a> package may be helpfull to implement a NTC
+normalization to Greek text in LuaTeX.</p>
+<p>The legacy Unicode font encodings EU1 and EU2 for XeTeX and LuaTeX
+respectively were superseded by TU in the 2017 <a class="reference external" href="http://www.ctan.org/pkg/fontspec">fontspec</a> release.</p>
</section>
-<section id="eu1-eu2">
-<h3>EU1, EU2</h3>
-<p>Legacy Unicode font encodings for XeTeX and LuaTeX respectively. Superseded
-by <a class="reference internal" href="#tu">TU</a>.</p>
+<section id="pu">
+<h3><a class="toc-backref" href="#id31">PU</a></h3>
+<p>The package <a class="reference external" href="http://www.ctan.org/pkg/hyperref">hyperref</a> defines the PU font encoding for use in PDF strings
+(ToC, bookmarks) which supports monotonic Greek. <cite>greek-fontenc</cite> adds
+support for polytonic Greek and some archaic characters also supported in
+LGR and TU (see <a class="reference external" href="hyperref-with-greek.tex">hyperref-with-greek.tex</a>, <a class="reference external" href="hyperref-with-greek.pdf">hyperref-with-greek.pdf</a>).</p>
</section>
</section>
-<section id="greek-licr-macros">
-<h2>Greek LICR macros</h2>
-<p>This package provides LaTeX internal character representations (LICR macros)
+<section id="selecting-greek-licr-macro-names">
+<h2><a class="toc-backref" href="#id32">Selecting Greek LICR macro names</a></h2>
+<div class="admonition note">
+<p class="admonition-title">Note</p>
+<p>The LICR macro names for Greek symbols are chosen pending
+endorsement by the TeX community and related packages.</p>
+<p>Names for archaic characters, accents/diacritics, and
+punctuation may change in future versions.</p>
+</div>
+<p>This bundle provides LaTeX internal character representations (LICR macros)
for Greek letters and diacritics. Macro names were selected based on the
following considerations:</p>
<section id="letters-and-symbols">
-<h3>letters and symbols</h3>
+<h3><a class="toc-backref" href="#id33">letters and symbols</a></h3>
<ul>
<li><p>The <a class="reference internal" href="#fntguide">fntguide</a> (section 6.4 Naming conventions) recommends:</p>
<blockquote>
@@ -1107,7 +1198,7 @@ additional packages (e.g. <a class="reference external" href="alphabeta.sty">alp
</ul>
</section>
<section id="accent-macros">
-<h3>accent macros</h3>
+<h3><a class="toc-backref" href="#id34">accent macros</a></h3>
<ul>
<li><p>standard accent macros (<span class="docutils literal">\DeclareTextAccent</span> definitions in
<span class="docutils literal"><span class="pre">latex/base/...</span></span>) are one-symbol macros (<span class="docutils literal">\' \&quot; ... \u \v ...</span>) .</p></li>
@@ -1131,7 +1222,7 @@ provided. (The non-standard macros <span class="docutils literal">\&lt;</span> a
<a class="reference internal" href="#textalpha">textalpha</a> or <a class="reference internal" href="#alphabeta">alphabeta</a>.)</p>
</section>
<section id="symbol-variants">
-<h3>symbol variants</h3>
+<h3><a class="toc-backref" href="#id35">symbol variants</a></h3>
<p>See also <a class="reference external" href="http://en.wikipedia.org/wiki/Greek_alphabet#Glyph_variants">http://en.wikipedia.org/wiki/Greek_alphabet#Glyph_variants</a></p>
<p>Mathematical notation distinguishes variant shapes for beta (β|ϐ), theta
(θ|ϑ), phi (φ|ϕ), pi (π|ϖ), kappa (κ|ϰ), rho (ρ|ϱ), Theta (Θ|ϴ), and epsilon
@@ -1158,8 +1249,9 @@ the corresponding letter with the <span class="docutils literal"><span class="pr
variants).</p></li>
</ul>
</section>
+</section>
<section id="references">
-<h3>References</h3>
+<h2><a class="toc-backref" href="#id36">References</a></h2>
<p>An alternative, more complete set of short mnemonic character names is
the <a class="reference external" href="http://www.w3.org/TR/xml-entity-names/">XML Entity Definitions for Characters</a> W3C Recommendation from
01 April 2010.</p>
@@ -1168,9 +1260,6 @@ Syropoulos and <span class="docutils literal"><span class="pre">xl-lgr.enc</span
<span class="docutils literal">lgr.cmap</span> provides a mapping to Unicode characters.</p>
<p>A full set of <span class="docutils literal">\text*</span> symbol macros is defined in <span class="docutils literal">ucsencs.def</span>
from the <a class="reference external" href="http://www.ctan.org/pkg/unicode">ucs</a> package.</p>
-<p>Aliases from <span class="docutils literal">puenc.def</span> ensure that the <a class="reference external" href="http://www.ctan.org/pkg/hyperref">hyperref</a> package can convert
-Greek text in “LICR encoding” to a PDF-string (utf-8 encoded input is used
-as-is).</p>
<dl class="citation">
<dt class="label" id="fntguide"><span class="brackets"><a class="fn-backref" href="#id6">fntguide</a></span></dt>
<dd><p>LaTeX3 Project Team, <cite>LaTeX2ε font selection</cite>, 2005.
@@ -1195,6 +1284,10 @@ of the babel package</cite>, 1997.
<cite>An extension to the greek option of the babel package</cite>, 2011.
<a class="reference external" href="http://mirror.ctan.org/macros/latex/contrib/teubner/teubner-doc.pdf">http://mirror.ctan.org/macros/latex/contrib/teubner/teubner-doc.pdf</a></p>
</dd>
+</dl>
+<!-- [LaTeX2e News Issue 26]
+https://www.latex-project.org/news/latex2e-news/ltnews26.pdf -->
+<dl class="citation">
<dt class="label" id="babel-patch"><span class="brackets"><a class="fn-backref" href="#id16">babel-patch</a></span></dt>
<dd><p>Werner Lemberg, <cite>Unicode support for the Greek LGR
encoding</cite> Εὔτυπον, τεῦχος № 20, 2008.
@@ -1202,7 +1295,6 @@ encoding</cite> Εὔτυπον, τεῦχος № 20, 2008.
</dd>
</dl>
</section>
-</section>
</main>
</body>
</html>