summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-07-17 22:12:47 +0000
committerKarl Berry <karl@freefriends.org>2013-07-17 22:12:47 +0000
commitd9add100de8f268f2b408533a41cc5624ef1ee7a (patch)
treea50a9317ff4e1bc15403820318ab44ae97e99d0a
parent989e69000a109aa206742cc979fb247b9294ef7a (diff)
greek-fontenc (17jul13)
git-svn-id: svn://tug.org/texlive/trunk@31220 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/greek-fontenc/README234
-rw-r--r--Master/texmf-dist/doc/latex/greek-fontenc/README.html241
-rw-r--r--Master/texmf-dist/doc/latex/greek-fontenc/diacritics.pdfbin0 -> 255992 bytes
-rw-r--r--Master/texmf-dist/doc/latex/greek-fontenc/diacritics.tex160
-rw-r--r--Master/texmf-dist/doc/latex/greek-fontenc/greek-euenc.def.html568
-rw-r--r--Master/texmf-dist/doc/latex/greek-fontenc/greek-fontenc.def.html324
-rw-r--r--Master/texmf-dist/doc/latex/greek-fontenc/greekhyperref.pdfbin0 -> 217608 bytes
-rw-r--r--Master/texmf-dist/doc/latex/greek-fontenc/greekhyperref.tex124
-rwxr-xr-xMaster/texmf-dist/doc/latex/greek-fontenc/lgr2licr.lua169
-rw-r--r--Master/texmf-dist/doc/latex/greek-fontenc/lgr2licr.lua.html139
-rw-r--r--Master/texmf-dist/doc/latex/greek-fontenc/lgrenc-test.pdfbin257385 -> 284966 bytes
-rw-r--r--Master/texmf-dist/doc/latex/greek-fontenc/lgrenc-test.tex70
-rw-r--r--Master/texmf-dist/doc/latex/greek-fontenc/lgrenc.def.html590
-rw-r--r--Master/texmf-dist/doc/latex/greek-fontenc/lgrenc.def.txt25
-rw-r--r--Master/texmf-dist/doc/latex/greek-fontenc/test-euenc.pdfbin0 -> 46487 bytes
-rw-r--r--Master/texmf-dist/doc/latex/greek-fontenc/test-euenc.tex580
-rw-r--r--Master/texmf-dist/doc/latex/greek-fontenc/test-xunicode.pdfbin0 -> 59769 bytes
-rw-r--r--Master/texmf-dist/doc/latex/greek-fontenc/test-xunicode.tex585
-rw-r--r--Master/texmf-dist/doc/latex/greek-fontenc/xunicode-greek.sty.html585
-rw-r--r--Master/texmf-dist/tex/latex/greek-fontenc/greek-euenc.def575
-rw-r--r--Master/texmf-dist/tex/latex/greek-fontenc/greek-fontenc.def362
-rw-r--r--Master/texmf-dist/tex/latex/greek-fontenc/lgrenc.def550
-rw-r--r--Master/texmf-dist/tex/latex/greek-fontenc/xunicode-greek.sty589
23 files changed, 5719 insertions, 751 deletions
diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/README b/Master/texmf-dist/doc/latex/greek-fontenc/README
index 71d869868ad..f1934a3a0ac 100644
--- a/Master/texmf-dist/doc/latex/greek-fontenc/README
+++ b/Master/texmf-dist/doc/latex/greek-fontenc/README
@@ -25,31 +25,46 @@ Greek font encoding definition files
Files
=====
+`<greek-fontenc.def>`_
+ `Common Greek font encoding definitions <greek-fontenc.def.html>`_.
+
`<lgrenc.def>`_
- font encoding definitions for LGR
+ font encoding definitions for LGR_.
+
+ The literate source `<lgrenc.def.txt>`_ was converted with PyLit_ to TeX
+ code and with Docutils_ to the documentation `LGR Greek font encoding
+ definitions <lgrenc.def.html>`_.
This file is the successor of the basic LGR encoding definition file which
comes with babel_'s Greek support and ``lgrxenc.def`` from the lgrx_
- bundle. It defines LICR macros for Greek characters that select
- pre-composed glyphs if possible and places the diacritics according to
- Greek typesetting rules else. Combined accents can be specified as
- backslash + transliteration (``\~>\textalpha``) or iteratively
- (``\~\>\textalpha``).
-
-`<lgrenc.def.txt>`_
- literate source (reStructuredText_ format)
+ bundle.
+
+`<lgrenc-test.pdf>`_
+ test example, source `<lgrenc-test.tex>`_,
+
+`<greekhyperref.pdf>`_
+ `Greek script in PDF metadata`, source `<greekhyperref.tex>`_
-`<lgrenc.def.html>`_
- literate source (HTML format)
+ The package hyperref_ defines the PU font encoding which also supports
+ (monotonic) Greek.
-`<lgrenc-test.tex>`_
- test example
+Experimental files that are still in development and will eventually be
+moved to/merged with other packages:
-`<lgrenc-test.pdf>`_
- test output
+`<xunicode-greek.sty>`_
+ `xunicode extension for Greek <xunicode-greek.sty.html>`_
+
+`<test-xunicode.tex>`_
+ Example for use of the experimental Greek LICR definitions with XeTeX.
+
+`<greek-euenc.def>`_
+ `Greek LICR definitions for XeTeX and LuaTeX <greek-euenc.def.html>`_
+
+`<test-euenc.tex>`_
+ Example for use of the experimental Greek LICR definitions with XeTeX.
-The literate source was converted with PyLit_ to TeX and with Docutils_ to
-HTML format.
+`<lgr2licr.lua>`_
+ `LGR Transcription to Greek LICR transformation <lgr2licr.lua.html>`_
Installation
@@ -58,12 +73,14 @@ Installation
If possible, get this package from your distribution using its installation
manager.
-Otherwise, make sure LaTeX can find the file `lgrenc.def`:
+Otherwise, make sure LaTeX can find the files ``lgrenc.def``,
+``greek-fontenc.def`` and eventually ``xunicode-greek.sty`` and
+``greek-euenc.def``:
-* Download and unpack `greek-fontenc.zip` or just download `<lgrenc.def>`_.
+* Download and unpack ``greek-fontenc.zip``.
-* Copy/Move/Link ``lgrenc.def`` to a suitable place in the TDS_ and run
- ``texhash``, or place it in the current working directory (e.g. for
+* Copy/Move/Link the files to a suitable place in the TDS_ and run
+ ``texhash``, or place them in the current working directory (e.g. for
testing).
Usage
@@ -76,6 +93,24 @@ Pass the encoding name as option to fontenc_. For example, specify T1
See [fntguide]_ for details and `<lgrenc-test.tex>`_ for an example.
+For XeTeX/LuaTeX, you can specify the EU1/EU2 encoding and
+load the experimental ``xunicode-greek``::
+
+ \usepackage[EU1]{fontenc} % XeTeX
+ % \usepackage[EU2]{fontenc} % LuaTeX
+ \usepackage{xunicode-greek}
+
+or ``greek-euenc.def``::
+
+ \usepackage[EU1]{fontenc} % XeTeX
+ % \usepackage[EU2]{fontenc} % LuaTeX
+ \makeatletter
+ \input{greek-euenc.def}
+ \makeatother
+
+However, XeTeX/LuaTeX usage details are very likely to change in the
+future!!!
+
Greek text font encodings
=========================
@@ -123,11 +158,153 @@ transliteration scheme (also explained in [babel-patch]_).
It is currently not supported by `greek-fontenc`.
The font encoding file ``lgienc.def`` from ibycus-babel_ provides a basic
-setup (without LICR macros or composite definitions).
+setup (without any LICR macros or composite definitions).
+
+
+Greek LICR macro names
+======================
+
+This package provides LaTeX internal character representations (LICR macros)
+for Greek letters and diacritics. Macro names were selected based on the
+following considerations:
+
+The fntguide_ (section 6.4 Naming conventions) recommends:
+
+ Where possible, text symbols should be named as ``\text`` followed
+ by the Adobe glyph name: for example ``\textonequarter`` or
+ ``\textsterling``. Similarly, math symbols should be named as
+ ``\math`` followed by the glyph name, for example
+ ``\mathonequarter`` or ``\mathsterling``.
+
+The `Adobe Glyph List For New Fonts`_ has names for many glyphs in the
+`Greek and Coptic` Unicode block, but not for `Greek extended`. The `Adobe
+Glyph List`_ (for existing fonts) lists additional glyph names used in older
+fonts. As these are not intened for further active use, the latter are not
+considered in the name choice.
+
+Proposals
+---------
+
+* If there exists a math-mode macro for a symbol, form the corresponding text
+ macro by prepending ``text``?
+
+ Example:
+ The glyph name for the GREEK SMALL LETTER FINAL SIGMA is ``sigma1``,
+ the corresponding math-macro is ``\varsigma``. The text symbol could be
+ made available as ``\textvarsigma``.
+
+ Problems:
+ ``\varepsilon`` and ``\varphi`` math macros map to characters named
+ "GREEK SMALL **LETTER** ...", while ``\\vartheta``, ``\\varkappa``,
+ ``\\varrho``, and ``\\varpi`` math macros map to "GREEK ... **SYMBOL**"
+ Unicode characters.
+
+ In Greek text, these variants are interchangeable. The LGR font encoding
+ does not contain slots for "symbol" glyph variants. In some Greek fonts,
+ GREEK SMALL LETTERS use glyph variants resembling the corresponding
+ GREEK SYMBOL Unicode character's reference glyph.
+
+* Derive macro names from Unicode names?
+
+ The `Unicode names list`_ provides standardized descriptive names for all
+ Unicode characters that use only capital letters of the Latin alphabet.
+ While not suited for direct use in a LICR macros, they can be either
+
+ a) used as inspiration for new LICR macro names or
+
+ b) converted to LICR macro names via a defined set of transformation rules.
+
+ Example:
+ ``\textfinalsigma`` or just ``\finalsigma`` as a more descriptive name
+ for GREEK SMALL LETTER FINAL SIGMA derived via the rules:
+
+ * drop "LETTER" if the name remains unique,
+ * drop "GREEK" if the name remains unique,
+ * use capitalized name for capital letters, lowercase for "SMALL" letters
+ and drop "SMALL",
+ * concatenate
+
+* Omit the "text" prefix for macros that do not have a math counterpart?
+
+ Pro:
+ + Simpler,
+
+ + ease of use (less typing, better readability of source text),
+
+ + many established text macro names without "text",
+
+ + there are examples of encoding-specific macros
+ without the ``text``-prefix, especially for letters,
+
+ :T1: ``\AE \DH \DJ \L \NG \OE \O \SS \TH \ae \dh \dj \guillemotleft``
+ ``\guillemotright \guilsinglleft \guilsinglright \i \j \l \ng``
+ ``\oe \o \quotedblbase \quotesinglbase \ss \th`` (also in OT1)
+ :T2*: ``\CYR*`` and ``\cyr*``
+ :HE8: ``\heb*`` or no prefix
+ :PU: short descriptive names in the arabic part (``puarenc.def``)
+
+ + ``text`` prefix does **not** mark a macro as encoding-specific or
+ "inserting a glyph". There are e.g. font-changing macros (``\textbf``,
+ ``\textit``) and encoding-changing macros (``\textgreek``,
+ ``\textcyr``).
+
+ Contra:
+ - Less consistent.
+
+ - ``text`` prefix marks a macro as confined to text mode.
+
+ Conclusion:
+ To avoid name clashes, this package uses the ``text`` prefix
+ for symbols. Aliases (short forms, compatibility defs, etc.) can be
+ defined in packages.
+
+
+How to name *accent macros*?
+----------------------------
+
+* standard accent macros (``\DeclareTextAccent`` definitions in
+ ``latex/base/...``) are one-symbol macros (``\' \" ... \u \v ...``) .
+
+* ``tipa.sty``, ``xunicode``, and ucs_ use the "text" prefix also for accents.
+
+ However, the `Adobe Glyph List For New Fonts`_ maps, e.g., "tonos" and
+ "dieresistonos" to 0384 GREEK TONOS and 0385 GREEK DIALYTIKA TONOS, hence
+ `\texttonos` and `\textdiaresistonos` should be spacing characters.
+
+* textcomp (ts1enc.def) defines ``\capital...`` accents (i.e. without
+ ``text`` prefix).
+
+* Use a common prefix ``\textaccent...``, ``\accent...``,
+ or just ``\acc...`` (cf ``\@tabacckludge``)?
+
+Currently, `greek-fontenc` uses for diacritics:
+
+- Greek names like in Unicode, and ucsencs.def
+
+- The prefix "acc" to distinguish the macros as `TextAaccent` and reduce the
+ risc of name clashes.
+
+- For the end-user "symbol macros" (``\~ \' \` \" \< \>``) are provided.
References
-==========
+----------
+
+An alternative, more complete set of short mnemonic character names is
+the `XML Entity Definitions for Characters`_ W3C Recommendation from
+01 April 2010.
+
+For glyph names of the LGR encoding see e.g. ``CB.enc`` by Apostolos
+Syropoulos and ``xl-lgr.enc`` from the libertine_ (legacy) package.
+``lgr.cmap`` provides a mapping to Unicode characters.
+
+A full set of ``\text*`` symbol macros is defined in ``ucsencs.def``
+from the ucs_ package.
+
+Aliases from ``puenc.def`` ensure that the hyperref_ package can convert
+Greek text in "LICR encoding" to a PDF-string (utf-8 encoded input is used
+as-is).
+
.. [fntguide] LaTeX3 Project Team, `LaTeX2ε font selection`, 2005.
http://mirror.ctan.org/macros/latex/doc/fntguide.pdf
@@ -153,6 +330,14 @@ References
.. _Docutils: http://docutils.sourceforge.net/rst.html
.. _TDS: http://www.tex.ac.uk/cgi-bin/texfaq2html?label=tds
+.. _Adobe Glyph List For New Fonts:
+ http://www.adobe.com/devnet-archive/opentype/archives/aglfn.txt
+.. _Adobe Glyph List:
+ http://partners.adobe.com/public/developer/en/opentype/glyphlist.txt
+.. _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
.. _Kerkis: http://www.ctan.org/pkg/kerkis
@@ -163,4 +348,7 @@ References
.. _ibycus-babel: http://www.ctan.org/pkg/ibycus-babel
.. _ibygrk: http://www.ctan.org/pkg/ibygrk
.. _lgrx: http://www.ctan.org/pkg/lgrx
+.. _libertine: http://www.ctan.org/pkg/libertine-legacy
.. _substitutefont: http://www.ctan.org/pkg/substitutefont
+.. _ucs: http://www.ctan.org/pkg/unicode
+
diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/README.html b/Master/texmf-dist/doc/latex/greek-fontenc/README.html
index 9a5344eb640..3a811d6cc83 100644
--- a/Master/texmf-dist/doc/latex/greek-fontenc/README.html
+++ b/Master/texmf-dist/doc/latex/greek-fontenc/README.html
@@ -47,41 +47,58 @@ punctuation may change in future versions.</p>
<div class="section" id="files">
<h1>Files</h1>
<dl class="docutils">
+<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="lgrenc.def">lgrenc.def</a></dt>
-<dd><p>font encoding definitions for LGR</p>
+<dd><p>font encoding definitions for <a class="reference internal" href="#lgr">LGR</a>.</p>
+<p>The literate source <a class="reference external" href="lgrenc.def.txt">lgrenc.def.txt</a> was converted with <a class="reference external" href="http://pylit.berlios.de">PyLit</a> to TeX
+code and with <a class="reference external" href="http://docutils.sourceforge.net/rst.html">Docutils</a> to the documentation <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 <tt class="literal">lgrxenc.def</tt> from the <a class="reference external" href="http://www.ctan.org/pkg/lgrx">lgrx</a>
-bundle. It defines LICR macros for Greek characters that select
-pre-composed glyphs if possible and places the diacritics according to
-Greek typesetting rules else. Combined accents can be specified as
-backslash + transliteration (<tt class="literal"><span class="pre">\~&gt;\textalpha</span></tt>) or iteratively
-(<tt class="literal"><span class="pre">\~\&gt;\textalpha</span></tt>).</p>
+bundle.</p>
</dd>
-<dt><a class="reference external" href="lgrenc.def.txt">lgrenc.def.txt</a></dt>
-<dd><p>literate source (<a class="reference external" href="http://docutils.sourceforge.net/rst.html">reStructuredText</a> format)</p>
+<dt><a class="reference external" href="lgrenc-test.pdf">lgrenc-test.pdf</a></dt>
+<dd><p>test example, source <a class="reference external" href="lgrenc-test.tex">lgrenc-test.tex</a>,</p>
</dd>
-<dt><a class="reference external" href="lgrenc.def.html">lgrenc.def.html</a></dt>
-<dd><p>literate source (HTML format)</p>
+<dt><a class="reference external" href="greekhyperref.pdf">greekhyperref.pdf</a></dt>
+<dd><p><cite>Greek script in PDF metadata</cite>, source <a class="reference external" href="greekhyperref.tex">greekhyperref.tex</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>
</dd>
-<dt><a class="reference external" href="lgrenc-test.tex">lgrenc-test.tex</a></dt>
-<dd><p>test example</p>
+</dl>
+<p>Experimental files that are still in development and will eventually be
+moved to/merged with other packages:</p>
+<dl class="docutils">
+<dt><a class="reference external" href="xunicode-greek.sty">xunicode-greek.sty</a></dt>
+<dd><p><a class="reference external" href="xunicode-greek.sty.html">xunicode extension for Greek</a></p>
</dd>
-<dt><a class="reference external" href="lgrenc-test.pdf">lgrenc-test.pdf</a></dt>
-<dd><p>test output</p>
+<dt><a class="reference external" href="test-xunicode.tex">test-xunicode.tex</a></dt>
+<dd><p>Example for use of the experimental Greek LICR definitions with XeTeX.</p>
+</dd>
+<dt><a class="reference external" href="greek-euenc.def">greek-euenc.def</a></dt>
+<dd><p><a class="reference external" href="greek-euenc.def.html">Greek LICR definitions for XeTeX and LuaTeX</a></p>
+</dd>
+<dt><a class="reference external" href="test-euenc.tex">test-euenc.tex</a></dt>
+<dd><p>Example for use of the experimental Greek LICR definitions with XeTeX.</p>
+</dd>
+<dt><a class="reference external" href="lgr2licr.lua">lgr2licr.lua</a></dt>
+<dd><p><a class="reference external" href="lgr2licr.lua.html">LGR Transcription to Greek LICR transformation</a></p>
</dd>
</dl>
-<p>The literate source was converted with <a class="reference external" href="http://pylit.berlios.de">PyLit</a> to TeX and with <a class="reference external" href="http://docutils.sourceforge.net/rst.html">Docutils</a> to
-HTML format.</p>
</div>
<div class="section" id="installation">
<h1>Installation</h1>
<p>If possible, get this package from your distribution using its installation
manager.</p>
-<p>Otherwise, make sure LaTeX can find the file <cite>lgrenc.def</cite>:</p>
+<p>Otherwise, make sure LaTeX can find the files <tt class="literal">lgrenc.def</tt>,
+<tt class="literal"><span class="pre">greek-fontenc.def</span></tt> and eventually <tt class="literal"><span class="pre">xunicode-greek.sty</span></tt> and
+<tt class="literal"><span class="pre">greek-euenc.def</span></tt>:</p>
<ul class="simple">
-<li><p>Download and unpack <cite>greek-fontenc.zip</cite> or just download <a class="reference external" href="lgrenc.def">lgrenc.def</a>.</p></li>
-<li><p>Copy/Move/Link <tt class="literal">lgrenc.def</tt> to a suitable place in the <a class="reference external" href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=tds">TDS</a> and run
-<tt class="literal">texhash</tt>, or place it in the current working directory (e.g. for
+<li><p>Download and unpack <tt class="literal"><span class="pre">greek-fontenc.zip</span></tt>.</p></li>
+<li><p>Copy/Move/Link the files to a suitable place in the <a class="reference external" href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=tds">TDS</a> and run
+<tt class="literal">texhash</tt>, or place them in the current working directory (e.g. for
testing).</p></li>
</ul>
</div>
@@ -91,7 +108,22 @@ testing).</p></li>
(Latin) as default font encoding and LGR for Greek with</p>
<pre class="literal-block">\usepackage[LGR,T1]{fontenc}
</pre>
-<p>See <a class="citation-reference" href="#fntguide" id="id2">[fntguide]</a> for details and <a class="reference external" href="lgrenc-test.tex">lgrenc-test.tex</a> for an example.</p>
+<p>See <a class="citation-reference" href="#fntguide" id="id1">[fntguide]</a> for details and <a class="reference external" href="lgrenc-test.tex">lgrenc-test.tex</a> for an example.</p>
+<p>For XeTeX/LuaTeX, you can specify the EU1/EU2 encoding and
+load the experimental <tt class="literal"><span class="pre">xunicode-greek</span></tt>:</p>
+<pre class="literal-block">\usepackage[EU1]{fontenc} % XeTeX
+% \usepackage[EU2]{fontenc} % LuaTeX
+\usepackage{xunicode-greek}
+</pre>
+<p>or <tt class="literal"><span class="pre">greek-euenc.def</span></tt>:</p>
+<pre class="literal-block">\usepackage[EU1]{fontenc} % XeTeX
+% \usepackage[EU2]{fontenc} % LuaTeX
+\makeatletter
+\input{greek-euenc.def}
+\makeatother
+</pre>
+<p>However, XeTeX/LuaTeX usage details are very likely to change in the
+future!!!</p>
</div>
<div class="section" id="greek-text-font-encodings">
<h1>Greek text font encodings</h1>
@@ -100,7 +132,7 @@ Greek letters and symbols are also defined in the Unicode-based font
encodings EU1 (XeTeX), EU2 (LuaTeX) and PU (<a class="reference external" href="http://www.ctan.org/pkg/hyperref">hyperref</a>).</p>
<div class="section" id="t7">
<h2>T7</h2>
-<p>The <a class="citation-reference" href="#encguide" id="id4">[encguide]</a> reserves the name T7 for a Greek <cite>standard font encoding</cite>.
+<p>The <a class="citation-reference" href="#encguide" id="id3">[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>
@@ -115,7 +147,7 @@ is facilitated by the <a class="reference external" href="http://www.ctan.org/pk
<p>The LGR font encoding allows to access Greek characters via an ASCII
transliteration. This enables simple input with a Latin keyboard.
Characters with diacritics can be selected by ligature definitions in the
-font (see <a class="citation-reference" href="#greek-usage" id="id5">[greek-usage]</a>, <a class="citation-reference" href="#teubner-doc" id="id6">[teubner-doc]</a>, <a class="citation-reference" href="#cbfonts" id="id7">[cbfonts]</a>).</p>
+font (see <a class="citation-reference" href="#greek-usage" id="id4">[greek-usage]</a>, <a class="citation-reference" href="#teubner-doc" id="id5">[teubner-doc]</a>, <a class="citation-reference" href="#cbfonts" id="id6">[cbfonts]</a>).</p>
<p>A major drawback of the transliteration is, that you cannot access Latin
letters if LGR is the active font encoding (e.g. in documents or parts of
documents given the <cite>Babel</cite> language <tt class="literal">greek</tt> or <tt class="literal">polutionikogreek</tt>).
@@ -127,48 +159,192 @@ Unicode (with XeTeX or LuaTeX).</p>
<div class="section" id="lgi">
<h2>LGI</h2>
<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="id8">[babel-patch]</a>).
+transliteration scheme (also explained in <a class="citation-reference" href="#babel-patch" id="id7">[babel-patch]</a>).
It is currently not supported by <cite>greek-fontenc</cite>.</p>
<p>The font encoding file <tt class="literal">lgienc.def</tt> from <a class="reference external" href="http://www.ctan.org/pkg/ibycus-babel">ibycus-babel</a> provides a basic
-setup (without LICR macros or composite definitions).</p>
+setup (without any LICR macros or composite definitions).</p>
+</div>
+</div>
+<div class="section" id="greek-licr-macro-names">
+<h1>Greek LICR macro names</h1>
+<p>This package provides LaTeX internal character representations (LICR macros)
+for Greek letters and diacritics. Macro names were selected based on the
+following considerations:</p>
+<p>The <a class="reference internal" href="#fntguide">fntguide</a> (section 6.4 Naming conventions) recommends:</p>
+<blockquote>
+<p>Where possible, text symbols should be named as <tt class="literal">\text</tt> followed
+by the Adobe glyph name: for example <tt class="literal">\textonequarter</tt> or
+<tt class="literal">\textsterling</tt>. Similarly, math symbols should be named as
+<tt class="literal">\math</tt> followed by the glyph name, for example
+<tt class="literal">\mathonequarter</tt> or <tt class="literal">\mathsterling</tt>.</p>
+</blockquote>
+<p>The <a class="reference external" href="http://www.adobe.com/devnet-archive/opentype/archives/aglfn.txt">Adobe Glyph List For New Fonts</a> has names for many glyphs in the
+<cite>Greek and Coptic</cite> Unicode block, but not for <cite>Greek extended</cite>. The <a class="reference external" href="http://partners.adobe.com/public/developer/en/opentype/glyphlist.txt">Adobe
+Glyph List</a> (for existing fonts) lists additional glyph names used in older
+fonts. As these are not intened for further active use, the latter are not
+considered in the name choice.</p>
+<div class="section" id="proposals">
+<h2>Proposals</h2>
+<ul>
+<li><p>If there exists a math-mode macro for a symbol, form the corresponding text
+macro by prepending <tt class="literal">text</tt>?</p>
+<dl class="docutils">
+<dt>Example:</dt>
+<dd><p>The glyph name for the GREEK SMALL LETTER FINAL SIGMA is <tt class="literal">sigma1</tt>,
+the corresponding math-macro is <tt class="literal">\varsigma</tt>. The text symbol could be
+made available as <tt class="literal">\textvarsigma</tt>.</p>
+</dd>
+<dt>Problems:</dt>
+<dd><p><tt class="literal">\varepsilon</tt> and <tt class="literal">\varphi</tt> math macros map to characters named
+“GREEK SMALL <strong>LETTER</strong> …”, while <tt class="literal">\\vartheta</tt>, <tt class="literal">\\varkappa</tt>,
+<tt class="literal">\\varrho</tt>, and <tt class="literal">\\varpi</tt> math macros map to “GREEK … <strong>SYMBOL</strong>”
+Unicode characters.</p>
+<p>In Greek text, these variants are interchangeable. The LGR font encoding
+does not contain slots for “symbol” glyph variants. In some Greek fonts,
+GREEK SMALL LETTERS use glyph variants resembling the corresponding
+GREEK SYMBOL Unicode character’s reference glyph.</p>
+</dd>
+</dl>
+</li>
+<li><p>Derive macro names from Unicode names?</p>
+<p>The <a class="reference external" href="http://www.unicode.org/Public/UNIDATA/NamesList.txt">Unicode names list</a> provides standardized descriptive names for all
+Unicode characters that use only capital letters of the Latin alphabet.
+While not suited for direct use in a LICR macros, they can be either</p>
+<ol class="loweralpha simple">
+<li><p>used as inspiration for new LICR macro names or</p></li>
+<li><p>converted to LICR macro names via a defined set of transformation rules.</p></li>
+</ol>
+<dl class="docutils">
+<dt>Example:</dt>
+<dd><p><tt class="literal">\textfinalsigma</tt> or just <tt class="literal">\finalsigma</tt> as a more descriptive name
+for GREEK SMALL LETTER FINAL SIGMA derived via the rules:</p>
+<ul class="simple">
+<li><p>drop “LETTER” if the name remains unique,</p></li>
+<li><p>drop “GREEK” if the name remains unique,</p></li>
+<li><p>use capitalized name for capital letters, lowercase for “SMALL” letters
+and drop “SMALL”,</p></li>
+<li><p>concatenate</p></li>
+</ul>
+</dd>
+</dl>
+</li>
+<li><p>Omit the “text” prefix for macros that do not have a math counterpart?</p>
+<dl class="docutils">
+<dt>Pro:</dt>
+<dd><ul class="simple">
+<li><p>Simpler,</p></li>
+<li><p>ease of use (less typing, better readability of source text),</p></li>
+<li><p>many established text macro names without “text”,</p></li>
+<li><p>there are examples of encoding-specific macros
+without the <tt class="literal">text</tt>-prefix, especially for letters,</p>
+<dl class="field-list simple">
+<dt>T1</dt>
+<dd><p><tt class="literal">\AE \DH \DJ \L \NG \OE \O \SS \TH \ae \dh \dj \guillemotleft</tt>
+<tt class="literal">\guillemotright \guilsinglleft \guilsinglright \i \j \l \ng</tt>
+<tt class="literal">\oe \o \quotedblbase \quotesinglbase \ss \th</tt> (also in OT1)</p>
+</dd>
+<dt>T2*</dt>
+<dd><p><tt class="literal">\CYR*</tt> and <tt class="literal">\cyr*</tt></p>
+</dd>
+<dt>HE8</dt>
+<dd><p><tt class="literal">\heb*</tt> or no prefix</p>
+</dd>
+<dt>PU</dt>
+<dd><p>short descriptive names in the arabic part (<tt class="literal">puarenc.def</tt>)</p>
+</dd>
+</dl>
+</li>
+<li><p><tt class="literal">text</tt> prefix does <strong>not</strong> mark a macro as encoding-specific or
+“inserting a glyph”. There are e.g. font-changing macros (<tt class="literal">\textbf</tt>,
+<tt class="literal">\textit</tt>) and encoding-changing macros (<tt class="literal">\textgreek</tt>,
+<tt class="literal">\textcyr</tt>).</p></li>
+</ul>
+</dd>
+<dt>Contra:</dt>
+<dd><ul class="simple">
+<li><p>Less consistent.</p></li>
+<li><p><tt class="literal">text</tt> prefix marks a macro as confined to text mode.</p></li>
+</ul>
+</dd>
+<dt>Conclusion:</dt>
+<dd><p>To avoid name clashes, this package uses the <tt class="literal">text</tt> prefix
+for symbols. Aliases (short forms, compatibility defs, etc.) can be
+defined in packages.</p>
+</dd>
+</dl>
+</li>
+</ul>
</div>
+<div class="section" id="how-to-name-accent-macros">
+<h2>How to name <em>accent macros</em>?</h2>
+<ul>
+<li><p>standard accent macros (<tt class="literal">\DeclareTextAccent</tt> definitions in
+<tt class="literal"><span class="pre">latex/base/...</span></tt>) are one-symbol macros (<tt class="literal">\' \&quot; ... \u \v ...</tt>) .</p></li>
+<li><p><tt class="literal">tipa.sty</tt>, <tt class="literal">xunicode</tt>, and <a class="reference external" href="http://www.ctan.org/pkg/unicode">ucs</a> use the “text” prefix also for accents.</p>
+<p>However, the <a class="reference external" href="http://www.adobe.com/devnet-archive/opentype/archives/aglfn.txt">Adobe Glyph List For New Fonts</a> maps, e.g., “tonos” and
+“dieresistonos” to 0384 GREEK TONOS and 0385 GREEK DIALYTIKA TONOS, hence
+<cite>texttonos</cite> and <cite>textdiaresistonos</cite> should be spacing characters.</p>
+</li>
+<li><p>textcomp (ts1enc.def) defines <tt class="literal"><span class="pre">\capital...</span></tt> accents (i.e. without
+<tt class="literal">text</tt> prefix).</p></li>
+<li><p>Use a common prefix <tt class="literal"><span class="pre">\textaccent...</span></tt>, <tt class="literal"><span class="pre">\accent...</span></tt>,
+or just <tt class="literal"><span class="pre">\acc...</span></tt> (cf <tt class="literal">\&#64;tabacckludge</tt>)?</p></li>
+</ul>
+<p>Currently, <cite>greek-fontenc</cite> uses for diacritics:</p>
+<ul class="simple">
+<li><p>Greek names like in Unicode, and ucsencs.def</p></li>
+<li><p>The prefix “acc” to distinguish the macros as <cite>TextAaccent</cite> and reduce the
+risc of name clashes.</p></li>
+<li><p>For the end-user “symbol macros” (<tt class="literal">\~ \' \` \&quot; \&lt; \&gt;</tt>) are provided.</p></li>
+</ul>
</div>
<div class="section" id="references">
-<h1>References</h1>
-<dl class="citation"><dt class="label"><a class="fn-backref" href="#id2">[fntguide]</a></dt>
+<h2>References</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>
+<p>For glyph names of the LGR encoding see e.g. <tt class="literal">CB.enc</tt> by Apostolos
+Syropoulos and <tt class="literal"><span class="pre">xl-lgr.enc</span></tt> from the <a class="reference external" href="http://www.ctan.org/pkg/libertine-legacy">libertine</a> (legacy) package.
+<tt class="literal">lgr.cmap</tt> provides a mapping to Unicode characters.</p>
+<p>A full set of <tt class="literal">\text*</tt> symbol macros is defined in <tt class="literal">ucsencs.def</tt>
+from the <a class="reference external" href="http://www.ctan.org/pkg/unicode">ucs</a> package.</p>
+<p>Aliases from <tt class="literal">puenc.def</tt> 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"><a class="fn-backref" href="#id1">[fntguide]</a></dt>
<dd id="fntguide">
<p class="first last">LaTeX3 Project Team, <cite>LaTeX2ε font selection</cite>, 2005.
<a class="reference external" href="http://mirror.ctan.org/macros/latex/doc/fntguide.pdf">http://mirror.ctan.org/macros/latex/doc/fntguide.pdf</a></p>
</dd>
</dl>
-<dl class="citation"><dt class="label"><a class="fn-backref" href="#id4">[encguide]</a></dt>
+<dl class="citation"><dt class="label"><a class="fn-backref" href="#id3">[encguide]</a></dt>
<dd id="encguide">
<p class="first last">Frank Mittelbach, Robin Fairbairns, Werner Lemberg,
LaTeX3 Project Team, <cite>LaTeX font encodings</cite>, 2006.
<a class="reference external" href="http://mirror.ctan.org/macros/latex/doc/encguide.pdf">http://mirror.ctan.org/macros/latex/doc/encguide.pdf</a></p>
</dd>
</dl>
-<dl class="citation"><dt class="label"><a class="fn-backref" href="#id5">[greek-usage]</a></dt>
+<dl class="citation"><dt class="label"><a class="fn-backref" href="#id4">[greek-usage]</a></dt>
<dd id="greek-usage">
<p class="first last">Apostolos Syropoulos, <cite>Writing Greek with the greek option
of the babel package</cite>, 1997.
<a class="reference external" href="http://www.tug.org/texlive/Contents/live/texmf-dist/doc/generic/babel/greek-usage.pdf">http://www.tug.org/texlive/Contents/live/texmf-dist/doc/generic/babel/greek-usage.pdf</a></p>
</dd>
</dl>
-<dl class="citation"><dt class="label"><a class="fn-backref" href="#id7">[cbfonts]</a></dt>
+<dl class="citation"><dt class="label"><a class="fn-backref" href="#id6">[cbfonts]</a></dt>
<dd id="cbfonts">
<p class="first last">Claudio Beccari, <cite>The CB Greek fonts</cite>, Εὔτυπον, τεῦχος № 21, 2008.
<a class="reference external" href="http://www.eutypon.gr/eutypon/pdf/e2008-21/e21-a01.pdf">http://www.eutypon.gr/eutypon/pdf/e2008-21/e21-a01.pdf</a></p>
</dd>
</dl>
-<dl class="citation"><dt class="label"><a class="fn-backref" href="#id6">[teubner-doc]</a></dt>
+<dl class="citation"><dt class="label"><a class="fn-backref" href="#id5">[teubner-doc]</a></dt>
<dd id="teubner-doc">
<p class="first last">Claudio Beccari, <tt class="literal">teubner.sty</tt>
<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>
-<dl class="citation"><dt class="label"><a class="fn-backref" href="#id8">[babel-patch]</a></dt>
+<dl class="citation"><dt class="label"><a class="fn-backref" href="#id7">[babel-patch]</a></dt>
<dd id="babel-patch">
<p class="first last">Werner Lemberg, <cite>Unicode support for the Greek LGR
encoding</cite> Εὔτυπον, τεῦχος № 20, 2008.
@@ -177,5 +353,6 @@ encoding</cite> Εὔτυπον, τεῦχος № 20, 2008.
</dl>
</div>
</div>
+</div>
</body>
</html>
diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/diacritics.pdf b/Master/texmf-dist/doc/latex/greek-fontenc/diacritics.pdf
new file mode 100644
index 00000000000..339f7adff6f
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/greek-fontenc/diacritics.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/diacritics.tex b/Master/texmf-dist/doc/latex/greek-fontenc/diacritics.tex
new file mode 100644
index 00000000000..95adc9cade6
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/greek-fontenc/diacritics.tex
@@ -0,0 +1,160 @@
+% Test definitions for accents and composite accents in Greek
+\documentclass[a4paper,british,polutonikogreek]{article}
+\pagestyle{empty}
+\usepackage[margin=2.5cm]{geometry}
+\usepackage{cmap} % fix search and cut-and-paste in Acrobat Reader
+
+\usepackage%
+{lmodern}
+% {gfsartemisia}
+% {gfsbaskerville}
+% [default]{gfsbodoni}
+% [default]{gfscomplutum}
+% {gfsdidot}
+% [default]{gfsneohellenic}
+% {lmodern} \usepackage{gfsporson} \renewcommand*\rmdefault{porson}
+% [default]{gfssolomos}
+% {kerkis}
+% {teubner}
+% \renewcommand{\ttdefault}{txtt}
+
+% Load the extended font encoding definitions (after font package)
+\usepackage[LGRx,T1]{fontenc}
+
+\usepackage{listings}
+\lstset{basicstyle=\ttfamily}
+
+% Babel package::
+
+\usepackage{babel}
+% revert the polutonikogreek definition of \~:
+% not required with babel-greek >= 1.4
+% \addto\extraspolutonikogreek{\renewcommand*{\~}{\a~}}
+% \addto\extrasgreek{\renewcommand*{\~}{\a~}}
+
+% "Lipsiakos" italic font `cbleipzig`:
+\newcommand*{\lishape}{\fontencoding{LGR}\fontfamily{cmr}%
+ \fontshape{li}\selectfont}
+\DeclareTextFontCommand{\textli}{\lishape}
+
+
+\begin{document}
+
+\selectlanguage{british}
+
+\section*{Greek diacritics with standard accent macros}
+
+\texttt{lgrxenc.def} is a comprehensive font encoding definition file.
+LICR macros are defined for all non-ASCII characters.
+Diacritics can be input using an extension of the standard macro
+commands with composite diacritics input as
+backslash followed by the LGR transliteration.%
+\footnote{This makes it easy to follow the advise in
+ \emph{teubner-doc}: ``typeset your paper with the regular
+ accent vowel ligatures and [{\ldots}] substitute them in the
+ final revision with the accented vowel macros only in those
+ instances where the lack of kerning is disturbing''.}
+
+The example in greek-usage.pdf:
+%
+\begin{quote} \selectlanguage{greek}
+ T\'i f\'hic? \<Id\`wn \>enj\'ede pa\~id''
+ \>eleuj\'eran t\`ac plhs\'ion N\'umfac stefano\~usan,
+ S\'wstrate, \>er\~wn \'ap\~hljec e\>uj\'uc?
+\end{quote}
+can be input as
+\begin{lstlisting}
+ T\'i f\'hic? \<Id\`wn \>enj\'ede pa\~id''
+ \>eleuj\'eran t\`ac plhs\'ion N\'umfac stefano\~usan,
+ S\'wstrate, \>er\~wn \'ap\~hljec e\>uj\'uc?
+\end{lstlisting}
+%
+Improvements:
+%
+\begin{itemize}
+
+\item Accents can be placed on any character:%
+ \footnote{In babel-greek versions < 1.4, Babel's \emph{polutonikogreek}
+ option re-defined \textbackslash\textasciitilde (even for
+ Latin with \textbackslash textlatin).
+ This document reverted the babel definition in the preamble
+ to make the tilde/perispomeni-accent work as usual in both,
+ English (\textgreek{ni\~n\~o} ni\~n\~o) and Greek %
+ % (\foreignlanguage{greek}{ni\~n\~o \textlatin{ni\~n\~o}}).
+ .}
+ \textgreek{\"k \`l \'m \~<n \<o \>'p \>9 \`\>-}
+
+\item Kerning is preserved
+ \selectlanguage{greek}
+ \begin{tabular}[t]{llll}
+ & \textlatin{roman} & \textlatin{italic} & \textlatin{cbleipzig} \\
+ \foreignlanguage{british}{accent macro:} &
+ a\>ut'os & \emph{a\>ut\'os} & \textli{a\>ut\'os} \\
+ \foreignlanguage{british}{transliteration:} &
+ a>ut'os & \emph{a>ut'os} & \textli{a>ut'os}\\
+ \end{tabular}
+ \selectlanguage{british}
+
+ Like in any font encoding, kerning only works with pre-composed glyphs:
+ \textgreek{A\"UA $\ne$ A\~UA}, AVA $\ne$ A\~VA.
+
+\item Compatible with hyperref (see greekhyperref.pdf).
+
+\item Following Greek typesetting convention, diacritics (except the
+ dialytika) are placed to the left of capital letters and and dropped
+ by \verb|\MakeUppercase|:
+
+ \begin{quote} \selectlanguage{greek}
+ \'antropos $\mapsto$ \MakeUppercase{\'antropos},
+ \>'antropos $\mapsto$ \MakeUppercase{\>'antropos},\\
+ Aqill\'eas $\mapsto$ \MakeUppercase{Aqill\'eas},
+ \>Aqille\'us $\mapsto$ \MakeUppercase{\>Aqille\'us}.
+ \end{quote}
+
+ The dialytika is printed even in cases where it's not needed
+ in lowercase: % the "hiatus" feature
+ \begin{quote} \selectlanguage{greek}
+ \'aulos $\mapsto$ \MakeUppercase{\'aulos},
+ \'>aulos $\mapsto$ \MakeUppercase{\'\>aulos},
+ % from http://diacritics.typo.cz/index.php?id=69 μάινα -> ΜΑΪΝΑ
+ m\'aina $\mapsto$ \MakeUppercase{m\'aina},\\
+ % from http://de.wikipedia.org/wiki/Neugriechische_Orthographie#Das_Trema
+ % κέικ, ἀυπνία/αϋπνία
+ k\'eik, $\mapsto$ \MakeUppercase{k\'eik},
+ \>aupn\'ia $\mapsto$ \MakeUppercase{\>aupn\'ia}.
+ \end{quote}
+\end{itemize}
+
+\selectlanguage{british} Composite diacritics can be specified as
+backslash + LGR transliteration or combined accent macros,
+e.\,g. \textgreek{\~>a} can be written as
+\begin{quote}
+ \verb+\~>a+, \verb+\>~a+,
+ \verb+\~\>{a}+, or \verb+\~\>a+.
+\end{quote}
+However, braces in composite accents
+(\verb+\~{\>a}+, \verb+\~{>a}+, or \verb+\~{\>{a}}+)
+lead to errors.
+
+\verb+\MakeUppercase+ works with most input variants but fails with a tilde
+in a document which does \textbf{not} define the \texttt{greek} or
+\texttt{polutonikogreek} language (where the tilde is an active character
+denoting a \verb|\nobreakspace|).
+Combining ``symbol macros'' (\verb+\>\~+) or reversing the order
+(\verb+\~>+) is safe:
+\foreignlanguage{greek}{\~>a $\mapsto$ \MakeUppercase{\~>a}}.
+
+Accent macros can start with \verb|\a| instead of \verb|\| when the
+short form is redefined, e.\,g. inside a \emph{tabbing} environment.
+This also works for the new-defined Dasia and Psili shortcuts
+(\verb|\a<| and \verb|\a>|):
+%
+\begin{quote}
+\selectlanguage{greek}
+\begin{tabbing}
+T'i f'hic? \= T\a'i f\a'hic? \\
+<Id`wn \> \a>enj\a'ede pa\a~id
+\end{tabbing}
+\end{quote}
+
+\end{document}
diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/greek-euenc.def.html b/Master/texmf-dist/doc/latex/greek-fontenc/greek-euenc.def.html
new file mode 100644
index 00000000000..d3db120a2a6
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/greek-fontenc/greek-euenc.def.html
@@ -0,0 +1,568 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+<meta name="generator" content="Docutils 0.11: http://docutils.sourceforge.net/" />
+<title>greek-euenc.def: Greek LICR definitions for XeTeX and LuaTeX</title>
+<meta name="copyright" content="© 2013 Günter Milde" />
+<link rel="stylesheet" href="../../../../../Python/docutils-svn/docutils/docutils/writers/html4strict/html4css1.css" type="text/css" />
+<link rel="stylesheet" href="../../../../../Python/docutils-svn/docutils/docutils/writers/html4strict/html4css2.css" type="text/css" />
+</head>
+<body>
+<div class="document" id="greek-euenc-def-greek-licr-definitions-for-xetex-and-luatex">
+<h1 class="title">greek-euenc.def: Greek LICR definitions for XeTeX and LuaTeX</h1>
+
+<dl class="docinfo">
+<dt class="copyright">Copyright</dt>
+<dd class="copyright">© 2013 Günter Milde</dd>
+<dt>Licence</dt>
+<dd><p>This work may be distributed and/or modified under the
+conditions of the <a class="reference external" href="http://www.latex-project.org/lppl.txt">LaTeX Project Public License</a>, either
+version&nbsp;1.3 of this license or any later version.</p>
+</dd>
+<dt>Identification</dt>
+<dd><pre class="literal-block">\ProvidesFile{greek-euenc}
+[2013/07/01 0.1 Greek LICRs for XeTeX and LuaTeX]
+</pre>
+</dd>
+</dl>
+<p>Experimental support for Greek LICR macros with XeTeX and LuaTeX.
+Based on <cite>lgrenc.def</cite> and <cite>lgrenc.dfu</cite>.</p>
+<dl class="docutils">
+<dt>Changelog:</dt>
+<dd><table class="borderless">
+<colgroup>
+<col width="14%" />
+<col width="7%" />
+<col width="79%" />
+</colgroup>
+<tbody>
+<tr><td><p>2013-07-16</p></td>
+<td><p>0.1</p></td>
+<td><p>initial version</p></td>
+</tr>
+</tbody>
+</table>
+</dd>
+</dl>
+<p>Requires XeTeX or LuaTeX and a font with Greek characters. See
+<a class="reference external" href="test-euenc.tex">test-euenc.tex</a> and <a class="reference external" href="test-euenc.pdf">test-euenc.pdf</a> for usage details and
+example.</p>
+<p><cite>xunicode.sty</cite> defines several commands for the declaration of UTF
+characters, composites and accents. These are (sparsely) documented in the
+source. Unfortunately, they do not work seamless with the standard NFSS
+commands described in the fntguide.</p>
+<p>This file sets up LaTeX Internal Character Representaction (LICR) macros
+based on standard LaTeX commands. It should work independed of <cite>xunicode</cite>.
+(Currently, it only works if <cite>fontspec</cite> is loaded. TODO: Why?)</p>
+<div class="section" id="greek-diacritics">
+<h1>Greek Diacritics</h1>
+<p>Define “named macros” for simple and combined diacritics.</p>
+<ul class="simple">
+<li><p>Named accent macros can be used instead of the <tt class="literal">\&#64;tabacckludge</tt> by
+to-LaTeX converters to ensure working also inside the tabbing environment.</p></li>
+<li><p>Named macros are required for upcasing according to Greek typesetting
+conventions and in the definition of composite commands.</p></li>
+</ul>
+<p>Greek alias names for standard accents:</p>
+<pre class="literal-block">\DeclareTextCommand{\acctonos}{\LastDeclaredEncoding}{\&#64;tabacckludge'}
+\DeclareTextCommand{\accvaria}{\LastDeclaredEncoding}{\&#64;tabacckludge`}
+\DeclareTextCommand{\accdialytika}{\LastDeclaredEncoding}{\&#64;tabacckludge&quot;}
+\DeclareTextCommand{\accperispomeni}{\LastDeclaredEncoding}{\&#64;tabacckludge~}
+</pre>
+<p>Breathings:</p>
+<p>(The COMBINING GREEK KORONIS is a legacy character, discarded in favour of
+COMBINING COMMA ABOVE)</p>
+<pre class="literal-block">\DeclareTextCommand{\accpsili}{\LastDeclaredEncoding}[1]{#1\char&quot;0313 } % ψιλή spiritus lenis (smooth breathing)
+\DeclareTextCommand{\accdasia}{\LastDeclaredEncoding}[1]{#1\char&quot;0314 } % δασεῖα spiritus asper (rough breathing)
+\DeclareTextCommand{\&gt;}{\LastDeclaredEncoding}{\accpsili}
+\DeclareTextCommand{\&lt;}{\LastDeclaredEncoding}{\accdasia}
+
+
+%% TODO: how to pass the char nr. to DeclareTextCommand?
+% \providecommand*{\DeclareTextAccentCombined}[3]{%
+% \DeclareTextCommand{#1}{#2}[1]{##1\char&quot;#3 }%
+% }
+% \DeclareTextAccentCombined{\accypogegrammeni}{\LastDeclaredEncoding}{0837}
+</pre>
+<p>Sub-iota:</p>
+<p><tt class="literal">\ypogegrammeni</tt> is a postfix accent (ligature in LGR)</p>
+<pre class="literal-block">\DeclareTextSymbol{\ypogegrammeni}{\LastDeclaredEncoding}{0837} % COMBINING GREEK YPOGEGRAMMENI
+</pre>
+<p>Combined diacritics:</p>
+<pre class="literal-block">% The COMBINING DIALYTIKA TONOS is discarded and not well supported by fonts:
+\DeclareTextCommand{\accdialytikatonos}{\LastDeclaredEncoding}[1]{#1\char&quot;0308 \char&quot;0301 }
+\DeclareTextCommand{\accdialytikavaria}{\LastDeclaredEncoding}[1]{#1\char&quot;0308 \char&quot;0300 }
+\DeclareTextCommand{\accdialytikaperispomeni}{\LastDeclaredEncoding}[1]{#1\char&quot;0342 \char&quot;0308 }
+
+\DeclareTextCommand{\accdasiaoxia}{\LastDeclaredEncoding}[1]{#1\char&quot;0314 \char&quot;0301 }
+\DeclareTextCommand{\accdasiavaria}{\LastDeclaredEncoding}[1]{#1\char&quot;0314 \char&quot;0300 }
+\DeclareTextCommand{\accdasiaperispomeni}{\LastDeclaredEncoding}[1]{#1\char&quot;0314 \char&quot;0342 }
+
+\DeclareTextCommand{\accpsilioxia}{\LastDeclaredEncoding}[1]{#1\char&quot;0301 \char&quot;0313 }
+\DeclareTextCommand{\accpsilivaria}{\LastDeclaredEncoding}[1]{#1\char&quot;0300 \char&quot;0313 }
+\DeclareTextCommand{\accpsiliperispomeni}{\LastDeclaredEncoding}[1]{#1\char&quot;0342 \char&quot;0313 }
+</pre>
+</div>
+<div class="section" id="composite-diacritics">
+<h1>Composite Diacritics</h1>
+<p>Use the <a class="reference external" href="greek-fontenc.def.html">common Greek font encoding definitions</a>:</p>
+<pre class="literal-block">\input{../greek-fontenc/greek-fontenc.def}
+</pre>
+</div>
+<div class="section" id="character-definitions">
+<h1>Character Definitions</h1>
+<p>DeclareTextSymbol{textcompwordmark}{LastDeclaredEncoding}{8204}</p>
+<div class="section" id="greek-and-coptic">
+<h2>Greek and Coptic</h2>
+<pre class="literal-block">% NR Unicode Name % babel name, % PU name
+% 0370 GREEK CAPITAL LETTER HETA % Ͱ
+% 0371 GREEK SMALL LETTER HETA % ͱ
+% 0372 GREEK CAPITAL LETTER ARCHAIC SAMPI % Ͳ
+% 0373 GREEK SMALL LETTER ARCHAIC SAMPI % ͳ
+\DeclareTextCommand{\textdexiakeraia}{\LastDeclaredEncoding}{ʹ} % \anwtonos, \textnumeralsigngreek
+\DeclareTextCommand{\textaristerikeraia}{\LastDeclaredEncoding}{͵} % \katwtonos, \textnumeralsignlowergreek
+% 0376 GREEK CAPITAL LETTER PAMPHYLIAN DIGAMMA % Ͷ
+% 0377 GREEK SMALL LETTER PAMPHYLIAN DIGAMMA % ͷ
+
+% 037A GREEK YPOGEGRAMMENI (use \textcompwordmark\ypogegrammeni) % ͺ
+% 037B GREEK SMALL REVERSED LUNATE SIGMA SYMBOL
+% 037C GREEK SMALL DOTTED LUNATE SIGMA SYMBOL
+% 037D GREEK SMALL REVERSED DOTTED LUNATE SIGMA SYMBOL
+\DeclareTextCommand{\texterotimatiko}{\LastDeclaredEncoding}{;} % \textquestion
+
+\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textcompwordmark}{΄}
+\DeclareTextCompositeCommand{\accdialytikatonos}{\LastDeclaredEncoding}{\textcompwordmark}{΅}
+\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textAlpha}{Ά}
+\DeclareTextCommand{\textanoteleia}{\LastDeclaredEncoding}{·} % \anoteleia
+\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textEpsilon}{Έ}
+\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textEta}{Ή}
+\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textIota}{Ί}
+\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textOmicron}{Ό}
+\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textUpsilon}{Ύ}
+\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textOmega}{Ώ}
+\DeclareTextCompositeCommand{\accdialytikatonos}{\LastDeclaredEncoding}{\textiota}{ΐ}
+
+\DeclareTextCommand{\textAlpha}{\LastDeclaredEncoding}{Α}
+\DeclareTextCommand{\textBeta}{\LastDeclaredEncoding}{Β}
+\DeclareTextCommand{\textGamma}{\LastDeclaredEncoding}{Γ}
+\DeclareTextCommand{\textDelta}{\LastDeclaredEncoding}{Δ}
+\DeclareTextCommand{\textEpsilon}{\LastDeclaredEncoding}{Ε}
+\DeclareTextCommand{\textZeta}{\LastDeclaredEncoding}{Ζ}
+\DeclareTextCommand{\textEta}{\LastDeclaredEncoding}{Η}
+\DeclareTextCommand{\textTheta}{\LastDeclaredEncoding}{Θ}
+\DeclareTextCommand{\textIota}{\LastDeclaredEncoding}{Ι}
+\DeclareTextCommand{\textKappa}{\LastDeclaredEncoding}{Κ}
+\DeclareTextCommand{\textLambda}{\LastDeclaredEncoding}{Λ}
+\DeclareTextCommand{\textMu}{\LastDeclaredEncoding}{Μ}
+\DeclareTextCommand{\textNu}{\LastDeclaredEncoding}{Ν}
+\DeclareTextCommand{\textXi}{\LastDeclaredEncoding}{Ξ}
+\DeclareTextCommand{\textOmicron}{\LastDeclaredEncoding}{Ο}
+\DeclareTextCommand{\textPi}{\LastDeclaredEncoding}{Π}
+\DeclareTextCommand{\textRho}{\LastDeclaredEncoding}{Ρ}
+\DeclareTextCommand{\textSigma}{\LastDeclaredEncoding}{Σ}
+\DeclareTextCommand{\textTau}{\LastDeclaredEncoding}{Τ}
+\DeclareTextCommand{\textUpsilon}{\LastDeclaredEncoding}{Υ}
+\DeclareTextCommand{\textPhi}{\LastDeclaredEncoding}{Φ}
+\DeclareTextCommand{\textChi}{\LastDeclaredEncoding}{Χ}
+\DeclareTextCommand{\textPsi}{\LastDeclaredEncoding}{Ψ}
+\DeclareTextCommand{\textOmega}{\LastDeclaredEncoding}{Ω}
+
+\DeclareTextCompositeCommand{\&quot;}{\LastDeclaredEncoding}{\textIota}{Ϊ}
+\DeclareTextCompositeCommand{\&quot;}{\LastDeclaredEncoding}{\textUpsilon}{Ϋ}
+\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textalpha}{ά}
+\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textepsilon}{έ}
+\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\texteta}{ή}
+\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textiota}{ί}
+\DeclareTextCompositeCommand{\accdialytikatonos}{\LastDeclaredEncoding}{\textupsilon}{ΰ}
+
+\DeclareTextCommand{\textalpha}{\LastDeclaredEncoding}{α}
+\DeclareTextCommand{\textbeta}{\LastDeclaredEncoding}{β}
+\DeclareTextCommand{\textgamma}{\LastDeclaredEncoding}{γ}
+\DeclareTextCommand{\textdelta}{\LastDeclaredEncoding}{δ}
+\DeclareTextCommand{\textepsilon}{\LastDeclaredEncoding}{ε}
+\DeclareTextCommand{\textzeta}{\LastDeclaredEncoding}{ζ}
+\DeclareTextCommand{\texteta}{\LastDeclaredEncoding}{η}
+\DeclareTextCommand{\texttheta}{\LastDeclaredEncoding}{θ}
+\DeclareTextCommand{\textiota}{\LastDeclaredEncoding}{ι}
+\DeclareTextCommand{\textkappa}{\LastDeclaredEncoding}{κ}
+\DeclareTextCommand{\textlambda}{\LastDeclaredEncoding}{λ}
+\DeclareTextCommand{\textmu}{\LastDeclaredEncoding}{μ} % \textmugreek
+\DeclareTextCommand{\textnu}{\LastDeclaredEncoding}{ν}
+\DeclareTextCommand{\textxi}{\LastDeclaredEncoding}{ξ}
+\DeclareTextCommand{\textomicron}{\LastDeclaredEncoding}{ο}
+\DeclareTextCommand{\textpi}{\LastDeclaredEncoding}{π}
+\DeclareTextCommand{\textrho}{\LastDeclaredEncoding}{ρ}
+\DeclareTextCommand{\textvarsigma}{\LastDeclaredEncoding}{ς}
+\DeclareTextCommand{\textfinalsigma}{\LastDeclaredEncoding}{ς}
+\DeclareTextCommand{\textsigma}{\LastDeclaredEncoding}{σ}
+\DeclareTextCommand{\texttau}{\LastDeclaredEncoding}{τ}
+\DeclareTextCommand{\textupsilon}{\LastDeclaredEncoding}{υ}
+\DeclareTextCommand{\textphi}{\LastDeclaredEncoding}{φ}
+\DeclareTextCommand{\textchi}{\LastDeclaredEncoding}{χ}
+\DeclareTextCommand{\textpsi}{\LastDeclaredEncoding}{ψ}
+\DeclareTextCommand{\textomega}{\LastDeclaredEncoding}{ω}
+
+\DeclareTextCompositeCommand{\&quot;}{\LastDeclaredEncoding}{\textiota}{ϊ}
+\DeclareTextCompositeCommand{\&quot;}{\LastDeclaredEncoding}{\textupsilon}{ϋ}
+\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textomicron}{ό}
+\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textupsilon}{ύ}
+\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textomega}{ώ}
+
+\DeclareTextCommand{\textQoppa}{\LastDeclaredEncoding}{Ϙ}
+\DeclareTextCommand{\textqoppa}{\LastDeclaredEncoding}{ϙ}
+\DeclareTextCommand{\textStigma}{\LastDeclaredEncoding}{Ϛ} % \Stigma
+\DeclareTextCommand{\textstigma}{\LastDeclaredEncoding}{ϛ} % \stigma
+\DeclareTextCommand{\textDigamma}{\LastDeclaredEncoding}{Ϝ} % \Digamma
+\DeclareTextCommand{\textdigamma}{\LastDeclaredEncoding}{ϝ} % \ddigamma
+%03DE&nbsp;GREEK&nbsp;LETTER&nbsp;KOPPA % Ϟ \textKoppa
+\DeclareTextCommand{\textkoppa}{\LastDeclaredEncoding}{ϟ} % \koppa, \textqoppa&nbsp;[sic!]
+\DeclareTextCommand{\textSampi}{\LastDeclaredEncoding}{Ϡ} % \Sampi
+\DeclareTextCommand{\textsampi}{\LastDeclaredEncoding}{ϡ} % \sampi
+</pre>
+</div>
+<div class="section" id="greek-extended">
+<h2>Greek Extended</h2>
+<pre class="literal-block">\DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textalpha}{ἀ}
+\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textalpha}{ἁ}
+\DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\textalpha}{ἂ}
+\DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\textalpha}{ἃ}
+\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textalpha}{ἄ}
+\DeclareTextCompositeCommand{\accdasiaoxia}{\LastDeclaredEncoding}{\textalpha}{ἅ}
+\DeclareTextCompositeCommand{\accpsiliperispomeni}{\LastDeclaredEncoding}{\textalpha}{ἆ}
+\DeclareTextCompositeCommand{\accdasiaperispomeni}{\LastDeclaredEncoding}{\textalpha}{ἇ}
+\DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textAlpha}{Ἀ}
+\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textAlpha}{Ἁ}
+\DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\textAlpha}{Ἂ}
+\DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\textAlpha}{Ἃ}
+\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textAlpha}{Ἄ}
+\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textAlpha}{Ἅ}
+\DeclareTextCompositeCommand{\accpsiliperispomeni}{\LastDeclaredEncoding}{\textAlpha}{Ἆ}
+\DeclareTextCompositeCommand{\accdasiaperispomeni}{\LastDeclaredEncoding}{\textAlpha}{Ἇ}
+
+\DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textepsilon}{ἐ}
+\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textepsilon}{ἑ}
+\DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\textepsilon}{ἒ}
+\DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\textepsilon}{ἓ}
+\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textepsilon}{ἔ}
+\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textepsilon}{ἕ}
+\DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textEpsilon}{Ἐ}
+\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textEpsilon}{Ἑ}
+\DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\textEpsilon}{Ἒ}
+\DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\textEpsilon}{Ἓ}
+\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textEpsilon}{Ἔ}
+\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textEpsilon}{Ἕ}
+
+\DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\texteta}{ἠ}
+\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\texteta}{ἡ}
+\DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\texteta}{ἢ}
+\DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\texteta}{ἣ}
+\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\texteta}{ἤ}
+\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\texteta}{ἥ}
+\DeclareTextCompositeCommand{\accpsiliperispomeni}{\LastDeclaredEncoding}{\texteta}{ἦ}
+\DeclareTextCompositeCommand{\accdasiaperispomeni}{\LastDeclaredEncoding}{\texteta}{ἧ}
+\DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textEta}{Ἠ}
+\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textEta}{Ἡ}
+\DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\textEta}{Ἢ}
+\DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\textEta}{Ἣ}
+\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textEta}{Ἤ}
+\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textEta}{Ἥ}
+\DeclareTextCompositeCommand{\accpsiliperispomeni}{\LastDeclaredEncoding}{\textEta}{Ἦ}
+\DeclareTextCompositeCommand{\accdasiaperispomeni}{\LastDeclaredEncoding}{\textEta}{Ἧ}
+
+\DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textiota}{ἰ}
+\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textiota}{ἱ}
+\DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\textiota}{ἲ}
+\DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\textiota}{ἳ}
+\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textiota}{ἴ}
+\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textiota}{ἵ}
+\DeclareTextCompositeCommand{\accpsiliperispomeni}{\LastDeclaredEncoding}{\textiota}{ἶ}
+\DeclareTextCompositeCommand{\accdasiaperispomeni}{\LastDeclaredEncoding}{\textiota}{ἷ}
+\DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textIota}{Ἰ}
+\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textIota}{Ἱ}
+\DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\textIota}{Ἲ}
+\DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\textIota}{Ἳ}
+\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textIota}{Ἴ}
+\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textIota}{Ἵ}
+\DeclareTextCompositeCommand{\accpsiliperispomeni}{\LastDeclaredEncoding}{\textIota}{Ἶ}
+\DeclareTextCompositeCommand{\accdasiaperispomeni}{\LastDeclaredEncoding}{\textIota}{Ἷ}
+
+\DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textomicron}{ὀ}
+\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textomicron}{ὁ}
+\DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\textomicron}{ὂ}
+\DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\textomicron}{ὃ}
+\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textomicron}{ὄ}
+\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textomicron}{ὅ}
+\DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textOmicron}{Ὀ}
+\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textOmicron}{Ὁ}
+\DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\textOmicron}{Ὂ}
+\DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\textOmicron}{Ὃ}
+\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textOmicron}{Ὄ}
+\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textOmicron}{Ὅ}
+
+\DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textupsilon}{ὐ}
+\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textupsilon}{ὑ}
+\DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\textupsilon}{ὒ}
+\DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\textupsilon}{ὓ}
+\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textupsilon}{ὔ}
+\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textupsilon}{ὕ}
+\DeclareTextCompositeCommand{\accpsiliperispomeni}{\LastDeclaredEncoding}{\textupsilon}{ὖ}
+\DeclareTextCompositeCommand{\accdasiaperispomeni}{\LastDeclaredEncoding}{\textupsilon}{ὗ}
+\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textUpsilon}{Ὑ}
+\DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\textUpsilon}{Ὓ}
+\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textUpsilon}{Ὕ}
+\DeclareTextCompositeCommand{\accdasiaperispomeni}{\LastDeclaredEncoding}{\textUpsilon}{Ὗ}
+
+\DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textomega}{ὠ}
+\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textomega}{ὡ}
+\DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\textomega}{ὢ}
+\DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\textomega}{ὣ}
+\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textomega}{ὤ}
+\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textomega}{ὥ}
+\DeclareTextCompositeCommand{\accpsiliperispomeni}{\LastDeclaredEncoding}{\textomega}{ὦ}
+\DeclareTextCompositeCommand{\accdasiaperispomeni}{\LastDeclaredEncoding}{\textomega}{ὧ}
+\DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textOmega}{Ὠ}
+\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textOmega}{Ὡ}
+\DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\textOmega}{Ὢ}
+\DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\textOmega}{Ὣ}
+\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textOmega}{Ὤ}
+\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textOmega}{Ὥ}
+\DeclareTextCompositeCommand{\accpsiliperispomeni}{\LastDeclaredEncoding}{\textOmega}{Ὦ}
+\DeclareTextCompositeCommand{\accdasiaperispomeni}{\LastDeclaredEncoding}{\textOmega}{Ὧ}
+
+\DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\textalpha}{ὰ}
+\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textalpha}{ά}
+\DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\textepsilon}{ὲ}
+\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textepsilon}{έ}
+\DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\texteta}{ὴ}
+\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\texteta}{ή}
+\DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\textiota}{ὶ}
+\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textiota}{ί}
+\DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\textomicron}{ὸ}
+\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textomicron}{ό}
+\DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\textupsilon}{ὺ}
+\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textupsilon}{ύ}
+\DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\textomega}{ὼ}
+\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textomega}{ώ}
+
+\DeclareTextCompositeCommand{\accvaria}{\LastDeclaredEncoding}{\textalpha}{ὰ}
+\DeclareTextCompositeCommand{\acctonos}{\LastDeclaredEncoding}{\textalpha}{ά}
+\DeclareTextCompositeCommand{\accvaria}{\LastDeclaredEncoding}{\textepsilon}{ὲ}
+\DeclareTextCompositeCommand{\acctonos}{\LastDeclaredEncoding}{\textepsilon}{έ}
+\DeclareTextCompositeCommand{\accvaria}{\LastDeclaredEncoding}{\texteta}{ὴ}
+\DeclareTextCompositeCommand{\acctonos}{\LastDeclaredEncoding}{\texteta}{ή}
+\DeclareTextCompositeCommand{\accvaria}{\LastDeclaredEncoding}{\textiota}{ὶ}
+\DeclareTextCompositeCommand{\acctonos}{\LastDeclaredEncoding}{\textiota}{ί}
+\DeclareTextCompositeCommand{\accvaria}{\LastDeclaredEncoding}{\textomicron}{ὸ}
+\DeclareTextCompositeCommand{\acctonos}{\LastDeclaredEncoding}{\textomicron}{ό}
+\DeclareTextCompositeCommand{\accvaria}{\LastDeclaredEncoding}{\textupsilon}{ὺ}
+\DeclareTextCompositeCommand{\acctonos}{\LastDeclaredEncoding}{\textupsilon}{ύ}
+\DeclareTextCompositeCommand{\accvaria}{\LastDeclaredEncoding}{\textomega}{ὼ}
+\DeclareTextCompositeCommand{\acctonos}{\LastDeclaredEncoding}{\textomega}{ώ}
+
+%% postfix ypogegrammeni cannot be second part of composite defs.
+% \DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textalpha\ypogegrammeni}{ᾀ}
+% \DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textalpha\ypogegrammeni}{ᾁ}
+% \DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\textalpha\ypogegrammeni}{ᾂ}
+% \DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\textalpha\ypogegrammeni}{ᾃ}
+% \DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textalpha\ypogegrammeni}{ᾄ}
+% \DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textalpha\ypogegrammeni}{ᾅ}
+% \DeclareTextCompositeCommand{\accpsiliperispomeni}{\LastDeclaredEncoding}{\textalpha\ypogegrammeni}{ᾆ}
+% \DeclareTextCompositeCommand{\accdasiaperispomeni}{\LastDeclaredEncoding}{\textalpha\ypogegrammeni}{ᾇ}
+% \DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textAlpha\prosgegrammeni}{ᾈ}
+% \DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textAlpha\prosgegrammeni}{ᾉ}
+% \DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\textAlpha\prosgegrammeni}{ᾊ}
+% \DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\textAlpha\prosgegrammeni}{ᾋ}
+% \DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textAlpha\prosgegrammeni}{ᾌ}
+% \DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textAlpha\prosgegrammeni}{ᾍ}
+% \DeclareTextCompositeCommand{\accpsiliperispomeni}{\LastDeclaredEncoding}{\textAlpha\prosgegrammeni}{ᾎ}
+% \DeclareTextCompositeCommand{\accdasiaperispomeni}{\LastDeclaredEncoding}{\textAlpha\prosgegrammeni}{ᾏ}
+%
+% \DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\texteta\ypogegrammeni}{ᾐ}
+% \DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\texteta\ypogegrammeni}{ᾑ}
+% \DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\texteta\ypogegrammeni}{ᾒ}
+% \DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\texteta\ypogegrammeni}{ᾓ}
+% \DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\texteta\ypogegrammeni}{ᾔ}
+% \DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\texteta\ypogegrammeni}{ᾕ}
+% \DeclareTextCompositeCommand{\accpsiliperispomeni}{\LastDeclaredEncoding}{\texteta\ypogegrammeni}{ᾖ}
+% \DeclareTextCompositeCommand{\accdasiaperispomeni}{\LastDeclaredEncoding}{\texteta\ypogegrammeni}{ᾗ}
+% \DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textEta\prosgegrammeni}{ᾘ}
+% \DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textEta\prosgegrammeni}{ᾙ}
+% \DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\textEta\prosgegrammeni}{ᾚ}
+% \DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\textEta\prosgegrammeni}{ᾛ}
+% \DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textEta\prosgegrammeni}{ᾜ}
+% \DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textEta\prosgegrammeni}{ᾝ}
+% \DeclareTextCompositeCommand{\accpsiliperispomeni}{\LastDeclaredEncoding}{\textEta\prosgegrammeni}{ᾞ}
+% \DeclareTextCompositeCommand{\accdasiaperispomeni}{\LastDeclaredEncoding}{\textEta\prosgegrammeni}{ᾟ}
+%
+% \DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textomega\ypogegrammeni}{ᾠ}
+% \DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textomega\ypogegrammeni}{ᾡ}
+% \DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\textomega\ypogegrammeni}{ᾢ}
+% \DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\textomega\ypogegrammeni}{ᾣ}
+% \DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textomega\ypogegrammeni}{ᾤ}
+% \DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textomega\ypogegrammeni}{ᾥ}
+% \DeclareTextCompositeCommand{\accpsiliperispomeni}{\LastDeclaredEncoding}{\textomega\ypogegrammeni}{ᾦ}
+% \DeclareTextCompositeCommand{\accdasiaperispomeni}{\LastDeclaredEncoding}{\textomega\ypogegrammeni}{ᾧ}
+% \DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textOmega\prosgegrammeni}{ᾨ}
+% \DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textOmega\prosgegrammeni}{ᾩ}
+% \DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\textOmega\prosgegrammeni}{ᾪ}
+% \DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\textOmega\prosgegrammeni}{ᾫ}
+% \DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textOmega\prosgegrammeni}{ᾬ}
+% \DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textOmega\prosgegrammeni}{ᾭ}
+% \DeclareTextCompositeCommand{\accpsiliperispomeni}{\LastDeclaredEncoding}{\textOmega\prosgegrammeni}{ᾮ}
+% \DeclareTextCompositeCommand{\accdasiaperispomeni}{\LastDeclaredEncoding}{\textOmega\prosgegrammeni}{ᾯ}
+
+\DeclareTextCompositeCommand{\u}{\LastDeclaredEncoding}{\textalpha}{ᾰ}
+\DeclareTextCompositeCommand{\=}{\LastDeclaredEncoding}{\textalpha}{ᾱ}
+% \DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\textalpha\ypogegrammeni}{ᾲ}
+\DeclareTextCompositeCommand{\textalpha}{\LastDeclaredEncoding}{\ypogegrammeni}{ᾳ}
+% \DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textalpha\ypogegrammeni}{ᾴ}
+\DeclareTextCompositeCommand{\~}{\LastDeclaredEncoding}{\textalpha}{ᾶ}
+\DeclareTextCompositeCommand{\accperispomeni}{\LastDeclaredEncoding}{\textalpha}{ᾶ}
+% \DeclareTextCompositeCommand{\accperispomeni}{\LastDeclaredEncoding}{\textalpha\ypogegrammeni}{ᾷ}
+\DeclareTextCompositeCommand{\u}{\LastDeclaredEncoding}{\textAlpha}{Ᾰ}
+\DeclareTextCompositeCommand{\=}{\LastDeclaredEncoding}{\textAlpha}{Ᾱ}
+\DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\textAlpha}{Ὰ}
+\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textAlpha}{Ά}
+\DeclareTextCompositeCommand{\accvaria}{\LastDeclaredEncoding}{\textAlpha}{Ὰ}
+\DeclareTextCompositeCommand{\acctonos}{\LastDeclaredEncoding}{\textAlpha}{Ά}
+\DeclareTextCompositeCommand{\textAlpha}{\LastDeclaredEncoding}{\prosgegrammeni}{ᾼ}
+\DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textcompwordmark}{᾽}
+\DeclareTextCommand{\prosgegrammeni}{\LastDeclaredEncoding}{ι}
+\DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textcompwordmark}{᾿}
+
+\DeclareTextCompositeCommand{\~}{\LastDeclaredEncoding}{\textcompwordmark}{῀}
+\DeclareTextCompositeCommand{\accperispomeni}{\LastDeclaredEncoding}{\textcompwordmark}{῀}
+\DeclareTextCompositeCommand{\accdialytikaperispomeni}{\LastDeclaredEncoding}{\textcompwordmark}{῁}
+% \DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\texteta\ypogegrammeni}{ῂ}
+\DeclareTextCompositeCommand{\texteta}{\LastDeclaredEncoding}{\ypogegrammeni}{ῃ}
+% \DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\texteta\ypogegrammeni}{ῄ}
+\DeclareTextCompositeCommand{\~}{\LastDeclaredEncoding}{\texteta}{ῆ}
+\DeclareTextCompositeCommand{\accperispomeni}{\LastDeclaredEncoding}{\texteta}{ῆ}
+% \DeclareTextCompositeCommand{\accperispomeni}{\LastDeclaredEncoding}{\texteta\ypogegrammeni}{ῇ}
+\DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\textEpsilon}{Ὲ}
+\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textEpsilon}{Έ}
+\DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\textEta}{Ὴ}
+\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textEta}{Ή}
+\DeclareTextCompositeCommand{\accvaria}{\LastDeclaredEncoding}{\textEpsilon}{Ὲ}
+\DeclareTextCompositeCommand{\acctonos}{\LastDeclaredEncoding}{\textEpsilon}{Έ}
+\DeclareTextCompositeCommand{\accvaria}{\LastDeclaredEncoding}{\textEta}{Ὴ}
+\DeclareTextCompositeCommand{\acctonos}{\LastDeclaredEncoding}{\textEta}{Ή}
+\DeclareTextCompositeCommand{\textEta}{\LastDeclaredEncoding}{\prosgegrammeni}{ῌ}
+\DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\textcompwordmark}{῍}
+\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textcompwordmark}{῎}
+\DeclareTextCompositeCommand{\accpsiliperispomeni}{\LastDeclaredEncoding}{\textcompwordmark}{῏}
+
+\DeclareTextCompositeCommand{\u}{\LastDeclaredEncoding}{\textiota}{ῐ}
+\DeclareTextCompositeCommand{\=}{\LastDeclaredEncoding}{\textiota}{ῑ}
+\DeclareTextCompositeCommand{\accdialytikavaria}{\LastDeclaredEncoding}{\textiota}{ῒ}
+\DeclareTextCompositeCommand{\accdialytikaoxia}{\LastDeclaredEncoding}{\textiota}{ΐ}
+\DeclareTextCompositeCommand{\~}{\LastDeclaredEncoding}{\textiota}{ῖ}
+\DeclareTextCompositeCommand{\accperispomeni}{\LastDeclaredEncoding}{\textiota}{ῖ}
+\DeclareTextCompositeCommand{\accdialytikaperispomeni}{\LastDeclaredEncoding}{\textiota}{ῗ}
+\DeclareTextCompositeCommand{\u}{\LastDeclaredEncoding}{\textIota}{Ῐ}
+\DeclareTextCompositeCommand{\=}{\LastDeclaredEncoding}{\textIota}{Ῑ}
+\DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\textIota}{Ὶ}
+\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textIota}{Ί}
+\DeclareTextCompositeCommand{\accvaria}{\LastDeclaredEncoding}{\textIota}{Ὶ}
+\DeclareTextCompositeCommand{\acctonos}{\LastDeclaredEncoding}{\textIota}{Ί}
+\DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\textcompwordmark}{῝}
+\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textcompwordmark}{῞}
+\DeclareTextCompositeCommand{\accdasiaperispomeni}{\LastDeclaredEncoding}{\textcompwordmark}{῟}
+
+\DeclareTextCompositeCommand{\u}{\LastDeclaredEncoding}{\textupsilon}{ῠ}
+\DeclareTextCompositeCommand{\=}{\LastDeclaredEncoding}{\textupsilon}{ῡ}
+\DeclareTextCompositeCommand{\accdialytikavaria}{\LastDeclaredEncoding}{\textupsilon}{ῢ}
+\DeclareTextCompositeCommand{\accdialytikaoxia}{\LastDeclaredEncoding}{\textupsilon}{ΰ}
+\DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textrho}{ῤ}
+\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textrho}{ῥ}
+\DeclareTextCompositeCommand{\~}{\LastDeclaredEncoding}{\textupsilon}{ῦ}
+\DeclareTextCompositeCommand{\accperispomeni}{\LastDeclaredEncoding}{\textupsilon}{ῦ}
+\DeclareTextCompositeCommand{\accdialytikaperispomeni}{\LastDeclaredEncoding}{\textupsilon}{ῧ}
+\DeclareTextCompositeCommand{\u}{\LastDeclaredEncoding}{\textUpsilon}{Ῠ}
+\DeclareTextCompositeCommand{\=}{\LastDeclaredEncoding}{\textUpsilon}{Ῡ}
+\DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\textUpsilon}{Ὺ}
+\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textUpsilon}{Ύ}
+\DeclareTextCompositeCommand{\accvaria}{\LastDeclaredEncoding}{\textUpsilon}{Ὺ}
+\DeclareTextCompositeCommand{\acctonos}{\LastDeclaredEncoding}{\textUpsilon}{Ύ}
+\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textRho}{Ῥ}
+\DeclareTextCompositeCommand{\accdialytikavaria}{\LastDeclaredEncoding}{\textcompwordmark}{῭}
+\DeclareTextCompositeCommand{\accdialytikaoxia}{\LastDeclaredEncoding}{\textcompwordmark}{΅}
+\DeclareTextCompositeCommand{\accvaria}{\LastDeclaredEncoding}{\textcompwordmark}{`}
+
+% \DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\textomega\ypogegrammeni}{ῲ}
+% \DeclareTextCompositeCommand{\textomega}{\LastDeclaredEncoding}{\ypogegrammeni}{ῳ}
+% \DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textomega\ypogegrammeni}{ῴ}
+\DeclareTextCompositeCommand{\~}{\LastDeclaredEncoding}{\textomega}{ῶ}
+\DeclareTextCompositeCommand{\accperispomeni}{\LastDeclaredEncoding}{\textomega}{ῶ}
+% \DeclareTextCompositeCommand{\accperispomeni}{\LastDeclaredEncoding}{\textomega\ypogegrammeni}{ῷ}
+\DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\textOmicron}{Ὸ}
+\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textOmicron}{Ό}
+\DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\textOmega}{Ὼ}
+\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textOmega}{Ώ}
+\DeclareTextCompositeCommand{\accvaria}{\LastDeclaredEncoding}{\textOmicron}{Ὸ}
+\DeclareTextCompositeCommand{\acctonos}{\LastDeclaredEncoding}{\textOmicron}{Ό}
+\DeclareTextCompositeCommand{\accvaria}{\LastDeclaredEncoding}{\textOmega}{Ὼ}
+\DeclareTextCompositeCommand{\acctonos}{\LastDeclaredEncoding}{\textOmega}{Ώ}
+\DeclareTextCompositeCommand{\textOmega}{\LastDeclaredEncoding}{\prosgegrammeni}{ῼ}
+\DeclareTextCompositeCommand{\accoxia}{\LastDeclaredEncoding}{\textcompwordmark}{´}
+\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textcompwordmark}{῾}
+</pre>
+</div>
+<div class="section" id="letterlike-symbols">
+<h2>Letterlike Symbols</h2>
+<pre class="literal-block">\DeclareTextCommand{\textohm}{\LastDeclaredEncoding}{Ω} % OHM SIGN
+</pre>
+</div>
+<div class="section" id="ancient-greek-numbers">
+<h2>Ancient Greek Numbers</h2>
+<p>TODO: map other chars to corresponding Greek letters.
+See also the <a class="reference external" href="http://www.ctan.org/pkg/grnumalt">grnumalt</a> package.</p>
+<p>Definition with literal Unicode characters, because the code-point has 5
+hexadecimal digits:</p>
+<pre class="literal-block">\DeclareTextCommand{\textpentedeka}{\LastDeclaredEncoding}{𐅄} % GREEK ACROPHONIC ATTIC FIFTY
+\DeclareTextCommand{\textpentehekaton}{\LastDeclaredEncoding}{𐅅} % GREEK ACROPHONIC ATTIC FIVE HUNDRED
+\DeclareTextCommand{\textpenteqilioi}{\LastDeclaredEncoding}{𐅆} % GREEK ACROPHONIC ATTIC FIVE THOUSAND
+\DeclareTextCommand{\textpentemuria}{\LastDeclaredEncoding}{𐅇} % GREEK ACROPHONIC ATTIC FIFTY THOUSAND
+</pre>
+</div>
+<div class="section" id="uppercase">
+<h2>UPPERCASE</h2>
+<p>The <a class="reference external" href="greek-fontenc.def.html">common Greek font encoding definitions</a> in <tt class="literal"><span class="pre">greek-fontenc.def</span></tt> extend
+the <cite>uclclist</cite> with Greek LICR macros. Here, we add EU1 specific “hiatus”
+handling.</p>
+<div class="section" id="mark-hiatus">
+<h3>Mark hiatus</h3>
+<p>Tonos and dasia mark a hiatus if placed on the
+first vowel of a diphthong (ΑΙ, ΑΥ, ΕΙ). A dialytika must be placed on the
+second vowel if they are dropped (άυλος → ΑΫΛΟΣ, μάινα → ΜΑΪΝΑ, κέικ → ΚΕΪΚ,
+ἀυπνία → ΑΫΠΝΙΑ).</p>
+<p>Look ahead and place a diaeresis on Ι or Υ
+(copied from lgrenc.def and changed Latin transcription to Unicode literals):</p>
+<pre class="literal-block">\DeclareTextCommand{\LGR&#64;A&#64;hiatus}{\LastDeclaredEncoding}{%
+ \LGR&#64;ifnextchar{Ι}{A\&quot;}{%
+ \LGR&#64;ifnextchar{Υ}{A\&quot;}{%
+ \LGR&#64;ifnextchar{\textIota}{A\&quot;}{%
+ \LGR&#64;ifnextchar{\textUpsilon}{A\&quot;}{A}%
+ }%
+ }%
+ }%
+}
+\DeclareTextCommand{\LGR&#64;E&#64;hiatus}{\LastDeclaredEncoding}{%
+ \LGR&#64;ifnextchar{Ι}{E\&quot;}{%
+ \LGR&#64;ifnextchar{Υ}{E\&quot;}{%
+ \LGR&#64;ifnextchar{\textIota}{E\&quot;}{%
+ \LGR&#64;ifnextchar{\textUpsilon}{E\&quot;}{E}%
+ }%
+ }%
+ }%
+}
+</pre>
+<!-- References -->
+</div>
+</div>
+</div>
+</div>
+</body>
+</html>
diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/greek-fontenc.def.html b/Master/texmf-dist/doc/latex/greek-fontenc/greek-fontenc.def.html
new file mode 100644
index 00000000000..a6e263717fc
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/greek-fontenc/greek-fontenc.def.html
@@ -0,0 +1,324 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+<meta name="generator" content="Docutils 0.11: http://docutils.sourceforge.net/" />
+<title>greek-fontenc.def</title>
+<meta name="copyright" content="© 2013 Günter Milde" />
+<link rel="stylesheet" href="../../../../../Python/docutils-svn/docutils/docutils/writers/html4strict/html4css1.css" type="text/css" />
+<link rel="stylesheet" href="../../../../../Python/docutils-svn/docutils/docutils/writers/html4strict/html4css2.css" type="text/css" />
+</head>
+<body>
+<div class="document" id="greek-fontenc-def">
+<h1 class="title">greek-fontenc.def</h1>
+<h2 class="subtitle" id="common-greek-font-encoding-definitions">Common Greek font encoding definitions</h2>
+
+<dl class="docinfo simple">
+<dt class="copyright">Copyright</dt>
+<dd class="copyright">© 2013 Günter Milde</dd>
+<dt>Licence</dt>
+<dd><p>This work may be distributed and/or modified under the
+conditions of the <a class="reference external" href="http://www.latex-project.org/lppl.txt">LaTeX Project Public License</a>, either
+version&nbsp;1.3 of this license or any later version.</p>
+</dd>
+</dl>
+<div class="abstract topic">
+<p class="topic-title first">Abstract</p>
+<p>This file provides definitions that are shared between
+font encodings providing Greek characters.</p>
+</div>
+<div class="section" id="changelog">
+<h1>Changelog</h1>
+<table class="borderless">
+<colgroup>
+<col width="7%" />
+<col width="16%" />
+<col width="77%" />
+</colgroup>
+<tbody>
+<tr><td><p>0.1</p></td>
+<td><p>2013-07-03</p></td>
+<td><p>code “outsourced” from lgrxenc.def</p></td>
+</tr>
+</tbody>
+</table>
+</div>
+<div class="section" id="usage">
+<h1>Usage</h1>
+<p>This file can be input by font encoding definition files after declaring the
+font encoding.</p>
+<dl class="docutils">
+<dt>Example:</dt>
+<dd><p>Define Greek LICR’s for XeTeX</p>
+<pre class="code latex literal-block"><span class="keyword">\DeclareFontEncoding</span><span class="name builtin">{</span>EU1<span class="name builtin">}{}{}</span>
+<span class="keyword">\input</span><span class="name builtin">{</span>greek-fontenc.def<span class="name builtin">}</span>
+<span class="comment">% Unicode-specific LICR - Character mappings
+% ...</span>
+</pre>
+</dd>
+</dl>
+</div>
+<div class="section" id="implementation">
+<h1>Implementation</h1>
+<div class="section" id="identification">
+<h2>Identification</h2>
+<pre class="literal-block">\ProvidesFile{greek-fontenc.def}
+[2013/07/03 v0.1 Common Greek font encoding definitions]
+</pre>
+</div>
+<div class="section" id="ensuregreek">
+<h2>Ensuregreek</h2>
+<p>The <tt class="literal">\ensuregreek</tt> command can be used to ensure that its argument is set
+in a font encoding with support for Greek. If the active font encoding
+supports it, kerning between adjacent command calls (e.g.
+<tt class="literal"><span class="pre">\ensuregreek{A}\ensuregreek{\Upsilon}</span></tt>) is preserved. This allows, e.g.,
+wrapping of compound Unicode character definitions.</p>
+<pre class="literal-block">\DeclareTextCommand{\ensuregreek}{\LastDeclaredEncoding}[1]{#1}
+</pre>
+</div>
+<div class="section" id="aliases">
+<h2>Aliases</h2>
+<p>Compatibility aliases for <a class="reference external" href="http://www.ctan.org/pkg/hyperref">hyperref</a>’s puenc.def, defined via
+<cite>DeclareTextCommand</cite> so that up/downcasing works without the need for
+additional uclclist entries:</p>
+<pre class="literal-block">\DeclareTextCommand{\textstigmagreek}{\LastDeclaredEncoding}{\textstigma}
+\DeclareTextCommand{\textkoppagreek}{\LastDeclaredEncoding}{\textkoppa}
+\DeclareTextCommand{\textStigmagreek}{\LastDeclaredEncoding}{\textStigma}
+\DeclareTextCommand{\textSampigreek}{\LastDeclaredEncoding}{\textSampi}
+\DeclareTextCommand{\textsampigreek}{\LastDeclaredEncoding}{\textsampi}
+\DeclareTextCommand{\textdigammagreek}{\LastDeclaredEncoding}{\textdigamma}
+\DeclareTextCommand{\textDigammagreek}{\LastDeclaredEncoding}{\textDigamma}
+</pre>
+<p>Symbol macros for the breathings:</p>
+<pre class="literal-block">\DeclareTextCommand{\&lt;}{\LastDeclaredEncoding}{\accdasia}
+\DeclareTextCommand{\&gt;}{\LastDeclaredEncoding}{\accpsili}
+</pre>
+<p>TODO: do we also want alternative symbols for the breathings (cf. X compose
+table, LCI encoding)?</p>
+<pre class="code latex literal-block"><span class="keyword">\DeclareTextCommand</span><span class="name builtin">{</span><span class="literal string">\(</span><span class="name builtin">}{</span><span class="name variable">\LastDeclaredEncoding</span><span class="name builtin">}{</span><span class="name variable">\accdasia</span><span class="name builtin">}
+</span><span class="name variable">\DeclareTextCommand</span><span class="name builtin">{</span><span class="literal string">\)</span><span class="name builtin">}{</span><span class="keyword">\LastDeclaredEncoding</span><span class="name builtin">}{</span><span class="keyword">\accpsili</span><span class="name builtin">}</span>
+</pre>
+<p>Two Unicode names for one character:</p>
+<pre class="literal-block">\DeclareTextCommand{\accoxia}{\LastDeclaredEncoding}{\acctonos}
+\DeclareTextCommand{\acckoronis}{\LastDeclaredEncoding}{\accpsili}
+</pre>
+</div>
+<div class="section" id="composite-diacritics">
+<h2>Composite diacritics</h2>
+<p>Composite accents can be input as sequence of simple diacritics (in
+arbitrary order) via named macro, symbol macro and “transcription
+characters”, e.g. one of</p>
+<pre class="code latex literal-block"><span class="keyword">\accdialytica</span><span class="keyword">\accvaria</span><span class="keyword">\textalpha</span>,
+<span class="keyword">\&quot;</span><span class="keyword">\'</span><span class="keyword">\textalpha</span>,
+<span class="keyword">\&quot;</span>'<span class="keyword">\textalpha</span>, or
+<span class="keyword">\'</span>&quot;<span class="keyword">\textalpha</span>.
+</pre>
+<p>Separate definitions for the supported variants of the second input token
+are required as composition is based on the non-expanded input</p>
+<p>The composition with simple “transcription characters” must also be defined
+for the symbol macros, otherwise it fails with <tt class="literal">\Makeuppercase</tt>:</p>
+<pre class="literal-block">\DeclareTextCompositeCommand{\accdialytika}{\LastDeclaredEncoding}{\acctonos}{\accdialytikatonos}
+\DeclareTextCompositeCommand{\accdialytika}{\LastDeclaredEncoding}{\'}{\accdialytikatonos}
+\DeclareTextCompositeCommand{\accdialytika}{\LastDeclaredEncoding}{'}{\accdialytikatonos}
+\DeclareTextCompositeCommand{\&quot;}{\LastDeclaredEncoding}{'}{\accdialytikatonos}
+\DeclareTextCompositeCommand{\accdialytika}{\LastDeclaredEncoding}{\accvaria}{\accdialytikavaria}
+\DeclareTextCompositeCommand{\accdialytika}{\LastDeclaredEncoding}{\`}{\accdialytikavaria}
+\DeclareTextCompositeCommand{\accdialytika}{\LastDeclaredEncoding}{`}{\accdialytikavaria}
+\DeclareTextCompositeCommand{\&quot;}{\LastDeclaredEncoding}{`}{\accdialytikavaria}
+\DeclareTextCompositeCommand{\accdialytika}{\LastDeclaredEncoding}{\accperispomeni}{\accdialytikaperispomeni}
+\DeclareTextCompositeCommand{\accdialytika}{\LastDeclaredEncoding}{\~}{\accdialytikaperispomeni}
+\DeclareTextCompositeCommand{\accdialytika}{\LastDeclaredEncoding}{~}{\accdialytikaperispomeni}
+\DeclareTextCompositeCommand{\&quot;}{\LastDeclaredEncoding}{~}{\accdialytikaperispomeni}
+
+\DeclareTextCompositeCommand{\acctonos}{\LastDeclaredEncoding}{\accdialytika}{\accdialytikatonos}
+\DeclareTextCompositeCommand{\acctonos}{\LastDeclaredEncoding}{\&quot;}{\accdialytikatonos}
+\DeclareTextCompositeCommand{\acctonos}{\LastDeclaredEncoding}{&quot;}{\accdialytikatonos}
+\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{&quot;}{\accdialytikatonos}
+\DeclareTextCompositeCommand{\acctonos}{\LastDeclaredEncoding}{\accdasia}{\accdasiaoxia}
+\DeclareTextCompositeCommand{\acctonos}{\LastDeclaredEncoding}{\&lt;}{\accdasiaoxia}
+\DeclareTextCompositeCommand{\acctonos}{\LastDeclaredEncoding}{&lt;}{\accdasiaoxia}
+\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{&lt;}{\accdasiaoxia}
+\DeclareTextCompositeCommand{\acctonos}{\LastDeclaredEncoding}{\accpsili}{\accpsilioxia}
+\DeclareTextCompositeCommand{\acctonos}{\LastDeclaredEncoding}{\&gt;}{\accpsilioxia}
+\DeclareTextCompositeCommand{\acctonos}{\LastDeclaredEncoding}{&gt;}{\accpsilioxia}
+\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{&gt;}{\accpsilioxia}
+\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{'}{\textquoteright}
+\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\'}{\textquoteright}
+
+\DeclareTextCompositeCommand{\accvaria}{\LastDeclaredEncoding}{\accdialytika}{\accdialytikavaria}
+\DeclareTextCompositeCommand{\accvaria}{\LastDeclaredEncoding}{\&quot;}{\accdialytikavaria}
+\DeclareTextCompositeCommand{\accvaria}{\LastDeclaredEncoding}{&quot;}{\accdialytikavaria}
+\DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{&quot;}{\accdialytikavaria}
+\DeclareTextCompositeCommand{\accvaria}{\LastDeclaredEncoding}{\accdasia}{\accdasiavaria}
+\DeclareTextCompositeCommand{\accvaria}{\LastDeclaredEncoding}{\&lt;}{\accdasiavaria}
+\DeclareTextCompositeCommand{\accvaria}{\LastDeclaredEncoding}{&lt;}{\accdasiavaria}
+\DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{&lt;}{\accdasiavaria}
+\DeclareTextCompositeCommand{\accvaria}{\LastDeclaredEncoding}{\accpsili}{\accpsilivaria}
+\DeclareTextCompositeCommand{\accvaria}{\LastDeclaredEncoding}{\&gt;}{\accpsilivaria}
+\DeclareTextCompositeCommand{\accvaria}{\LastDeclaredEncoding}{&gt;}{\accpsilivaria}
+\DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{&gt;}{\accpsilivaria}
+\DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{`}{\textquoteleft}
+\DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\`}{\textquoteleft}
+
+\DeclareTextCompositeCommand{\accperispomeni}{\LastDeclaredEncoding}{\accdialytika}{\accdialytikaperispomeni}
+\DeclareTextCompositeCommand{\accperispomeni}{\LastDeclaredEncoding}{\&quot;}{\accdialytikaperispomeni}
+\DeclareTextCompositeCommand{\accperispomeni}{\LastDeclaredEncoding}{&quot;}{\accdialytikaperispomeni}
+\DeclareTextCompositeCommand{\~}{\LastDeclaredEncoding}{&quot;}{\accdialytikaperispomeni}
+\DeclareTextCompositeCommand{\accperispomeni}{\LastDeclaredEncoding}{\accdasia}{\accdasiaperispomeni}
+\DeclareTextCompositeCommand{\accperispomeni}{\LastDeclaredEncoding}{\&lt;}{\accdasiaperispomeni}
+\DeclareTextCompositeCommand{\accperispomeni}{\LastDeclaredEncoding}{&lt;}{\accdasiaperispomeni}
+\DeclareTextCompositeCommand{\~}{\LastDeclaredEncoding}{&lt;}{\accdasiaperispomeni}
+\DeclareTextCompositeCommand{\accperispomeni}{\LastDeclaredEncoding}{\accpsili}{\accpsiliperispomeni}
+\DeclareTextCompositeCommand{\accperispomeni}{\LastDeclaredEncoding}{\&gt;}{\accpsiliperispomeni}
+\DeclareTextCompositeCommand{\accperispomeni}{\LastDeclaredEncoding}{&gt;}{\accpsiliperispomeni}
+\DeclareTextCompositeCommand{\~}{\LastDeclaredEncoding}{&gt;}{\accpsiliperispomeni}
+
+\DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\acctonos}{\accpsilioxia}
+\DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\'}{\accpsilioxia}
+\DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{'}{\accpsilioxia}
+\DeclareTextCompositeCommand{\&gt;}{\LastDeclaredEncoding}{'}{\accpsilioxia}
+\DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\accvaria}{\accpsilivaria}
+\DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\`}{\accpsilivaria}
+\DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{`}{\accpsilivaria}
+\DeclareTextCompositeCommand{\&gt;}{\LastDeclaredEncoding}{`}{\accpsilivaria}
+\DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\accperispomeni}{\accpsiliperispomeni}
+\DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\~}{\accpsiliperispomeni}
+\DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{~}{\accpsiliperispomeni}
+\DeclareTextCompositeCommand{\&gt;}{\LastDeclaredEncoding}{~}{\accpsiliperispomeni}
+
+\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\acctonos}{\accdasiaoxia}
+\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\'}{\accdasiaoxia}
+\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{'}{\accdasiaoxia}
+\DeclareTextCompositeCommand{\&lt;}{\LastDeclaredEncoding}{'}{\accdasiaoxia}
+\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\accvaria}{\accdasiavaria}
+\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\`}{\accdasiavaria}
+\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{`}{\accdasiavaria}
+\DeclareTextCompositeCommand{\&lt;}{\LastDeclaredEncoding}{`}{\accdasiavaria}
+\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\accperispomeni}{\accdasiaperispomeni}
+\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\~}{\accdasiaperispomeni}
+\DeclareTextCompositeCommand{\&lt;}{\LastDeclaredEncoding}{~}{\accdasiaperispomeni}
+</pre>
+</div>
+<div class="section" id="uppercase">
+<h2>UPPERCASE</h2>
+<p>If UPPERCASE (all-caps) is generated with <tt class="literal">\MakeUppercase</tt>, macro
+substitutions in the <tt class="literal">\&#64;uclclist</tt> apply. This can be used to drop the
+diacritics (except dialytika and sub-iota). Different conventions exist for
+the <a class="reference external" href="http://www.tlg.uci.edu/~opoudjis/unicode/unicode_adscript.html">treatment of sub-iota with uppercase letters</a>. In the CB Fonts, an
+“index” iota is used.</p>
+<div class="section" id="uclclist-extension">
+<h3>&#64;uclclist extension</h3>
+<p>Based on the <a class="reference external" href="http://www.eutypon.gr/eutypon/pdf/e2008-20/e20-a03.pdf">babel patch</a> and <tt class="literal">fontenc.sty</tt>.</p>
+<p>The definition of an auxiliary, self-restting macro makes this idempotent
+(only the first use of this function will expand the <tt class="literal">&#64;uclclist</tt>).
+The second and third lines are TeX’ way of writing <tt class="literal">uclclist += …</tt>:</p>
+<pre class="literal-block">\providecommand*\update&#64;uclc&#64;with&#64;greek{%
+ \expandafter\def\expandafter\&#64;uclclist\expandafter{%
+ \&#64;uclclist
+ \accdasia\LGR&#64;accdropped
+ \accdasiaoxia\LGR&#64;hiatus
+ \accdasiavaria\LGR&#64;accdropped
+ \accdasiaperispomeni\LGR&#64;accdropped
+ \accpsili\LGR&#64;hiatus
+ \accpsilioxia\LGR&#64;hiatus
+ \accpsilivaria\LGR&#64;hiatus
+ \accpsiliperispomeni\LGR&#64;accdropped
+ \acctonos\LGR&#64;hiatus
+ \accvaria\LGR&#64;accdropped
+ \accdialytikatonos\LGR&#64;accDialytika
+ \accdialytikavaria\LGR&#64;accDialytika
+ \accdialytikaperispomeni\LGR&#64;accDialytika
+ \accperispomeni\LGR&#64;accdropped
+ \ypogegrammeni\prosgegrammeni
+ \textalpha \textAlpha
+ \textbeta \textBeta
+ \textgamma \textGamma
+ \textdelta \textDelta
+ \textepsilon\textEpsilon
+ \textzeta \textZeta
+ \texteta \textEta
+ \texttheta \textTheta
+ \textiota \textIota
+ \textkappa \textKappa
+ \textlambda \textLambda
+ \textmu \textMu
+ \textnu \textNu
+ \textxi \textXi
+ \textomicron\textOmicron
+ \textpi \textPi
+ \textrho \textRho
+ \textvarsigma \textSigma
+ \textsigma \textSigma
+ \textautosigma \textSigma
+ \texttau \textTau
+ \textupsilon\textUpsilon
+ \textphi \textPhi
+ \textchi \textChi
+ \textpsi \textPsi
+ \textomega \textOmega
+ \textqoppa \textQoppa
+ \textvarstigma \textStigma
+ \textstigma \textStigma
+ \textsampi \textSampi
+ \textdigamma \textDigamma
+ }%
+ \let\update&#64;uclc&#64;with&#64;greek\relax
+}
+</pre>
+<p>Expand the uclc list using the just defined macro:</p>
+<pre class="literal-block">\update&#64;uclc&#64;with&#64;greek
+</pre>
+</div>
+<div class="section" id="substitution-macros">
+<h3>Substitution macros</h3>
+<p>Drop diacritics
+(The argument processing ensures that kerning is preserved)</p>
+<pre class="literal-block">\DeclareTextCommand{\LGR&#64;accdropped}{\LastDeclaredEncoding}[1]{#1}
+</pre>
+<p>Keep dialytika: Define a dummy alias so that downcasing with
+<tt class="literal">\MakeLowercase</tt> does not convert a simple dialytika to a composite
+accent:</p>
+<pre class="literal-block">\DeclareTextCommand{\LGR&#64;accDialytika}{\LastDeclaredEncoding}{\accdialytika}
+\DeclareTextCompositeCommand{\accdialytika}{\LastDeclaredEncoding}{\LGR&#64;hiatus}{\accdialytika}
+</pre>
+</div>
+<div class="section" id="mark-hiatus">
+<h3>Mark hiatus</h3>
+<p>Tonos and dasia mark a hiatus if placed on the
+first vowel of a diphthong (ΑΙ, ΑΥ, ΕΙ). A dialytika must be placed on the
+second vowel if they are dropped (άυλος → ΑΫΛΟΣ, μάινα → ΜΑΪΝΑ, κέικ → ΚΕΪΚ,
+ἀυπνία → ΑΫΠΝΙΑ):</p>
+<pre class="literal-block">\DeclareTextCommand{\LGR&#64;hiatus}{\LastDeclaredEncoding}[1]{#1}
+\DeclareTextCompositeCommand{\LGR&#64;hiatus}{\LastDeclaredEncoding}{&gt;}{\LGR&#64;hiatus}
+\DeclareTextCompositeCommand{\LGR&#64;hiatus}{\LastDeclaredEncoding}{&lt;}{\LGR&#64;accdropped}
+\DeclareTextCompositeCommand{\LGR&#64;hiatus}{\LastDeclaredEncoding}{\textAlpha}{\LGR&#64;A&#64;hiatus}
+\DeclareTextCompositeCommand{\LGR&#64;hiatus}{\LastDeclaredEncoding}{\textEpsilon}{\LGR&#64;E&#64;hiatus}
+</pre>
+<p>The font encoding file must define the <tt class="literal">\LGR&#64;hiatus</tt> TextCommand. See
+<tt class="literal">lgrenc.def</tt> for an example.</p>
+<p>The following macro can be used to test if the next character is an Alpha or
+Epsilon. As <tt class="literal">\&#64;ifnextchar</tt> gobbles spaces the lookahead macro definition
+from <tt class="literal">amsgen.sty</tt> is used:</p>
+<blockquote>
+<p>This macro is a new version of LaTeX’s <tt class="literal">\&#64;ifnextchar</tt>, macro
+that does not skip over spaces.</p>
+</blockquote>
+<pre class="literal-block">\providecommand*{\LGR&#64;ifnextchar}[3]{%
+ \let\reserved&#64;d= #1%
+ \def\reserved&#64;a{#2}\def\reserved&#64;b{#3}%
+ \futurelet\&#64;let&#64;token\LGR&#64;ifnch
+}
+\providecommand*{\LGR&#64;ifnch}{%
+ \ifx\&#64;let&#64;token\reserved&#64;d \let\reserved&#64;b\reserved&#64;a \fi
+ \reserved&#64;b
+}
+</pre>
+<!-- References
+- - - - - - - - - - -->
+</div>
+</div>
+</div>
+</div>
+</body>
+</html>
diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/greekhyperref.pdf b/Master/texmf-dist/doc/latex/greek-fontenc/greekhyperref.pdf
new file mode 100644
index 00000000000..a49d6697873
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/greek-fontenc/greekhyperref.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/greekhyperref.tex b/Master/texmf-dist/doc/latex/greek-fontenc/greekhyperref.tex
new file mode 100644
index 00000000000..e37f51334b3
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/greek-fontenc/greekhyperref.tex
@@ -0,0 +1,124 @@
+\documentclass{article}
+\usepackage{fixltx2e} % LaTeX patches, \textsubscript
+\usepackage{cmap} % fix search and cut-and-paste in Acrobat
+\usepackage[LGR,T1]{fontenc}
+\usepackage{lmodern}
+
+\usepackage[greek,english]{babel}
+\usepackage{alphabeta}
+\usepackage[utf8]{inputenc}
+
+\usepackage[unicode,colorlinks=true,linkcolor=blue]{hyperref}
+\usepackage{bookmark}
+
+% \pagestyle{headings}
+
+\begin{document}
+
+\title{Greek and hyperref}
+\maketitle
+
+\noindent
+On 2010-11-05, Heiko Oberdiek wrote in comp.text.tex:
+%
+\begin{quote}
+ \textbackslash pdfstringdef (converting TeX code to PDF strings for
+ bookmarks) supports NFSS2 and needs active characters. Encoding
+ stuff based on the internal font machinery of TeX (letters with
+ catcode 11 or 12, ligatures) does not work, because the strings
+ don't reach TeX's stomach.
+\end{quote}
+%
+The \emph{greek-fontenc} package allows input of Greek characters in a way
+that ``reaches TeX's stomach'' and hence works in both, the main document as
+well as in PDF strings (e.g. bookmarks). Hyperref's ``puenc.def`` font
+encoding file defines LICR macros for monotonic Greek (Greek characters of
+the ``Greek and Coptic'' unicode block).
+
+All utf8-encoded literal Unicode characters work in PDF strings. With
+\emph{greek-fontenc} and \emph{greek-inputenc}, this enables use of all
+Greek character in text and PDF strings.
+
+\section{Transcription: \ensuregreek{logos}, \foreignlanguage{greek}{logos}}
+
+\textbackslash{}textgreek + LGR transcription or
+Greek language (babel) + LGR transcription:
+In the PDF-bookmark are Latin letters instead of Greek ones.
+
+
+\section{Macros:
+ \textlambda\textomicron\textgamma\textomicron\textvarsigma{},
+ \lambda\omicron\gamma\omicron\varsigma{},
+ λογος}
+
+textalpha package with \textbackslash{}textgreek* macros,
+alphabeta package with \textbackslash{}alpha ... \textbackslash{}Omega macros,
+and literal Greek Unicode characters.
+
+Works, if the ``unicode'' or ``pdfencoding=auto'' option is given to hyperref.
+(With the ``xpdf'' viewer, Greek letters are not shown in PDF bookmarks.)
+
+The generic short macros from the \emph{alphabeta} package result in
+hyperref warnings. See ``alphabeta-text.tex`` and ``alphabeta-test.pdf``
+from the `lgrx` package for details an workarounds.
+
+
+\section{LGR + Macros: \foreignlanguage{greek}{
+ \textlambda\textomicron\textgamma\textomicron\textvarsigma{}}}
+
+LICR-macro input works also if the font encoding is LGR.
+
+\section{%
+ Kerning: \textAlpha\textUpsilon\textLambda{}
+ \ensuregreek{\textAlpha\textUpsilon\textLambda}
+ \foreignlanguage{greek}{\textAlpha\textUpsilon\textLambda}%
+}
+
+Kerning is impossible if the font encoding is switched for every single
+character. Wrap the Greek part in a command switching to LGR font encoding
+to fix this, either \verb+\ensuregreek{...}+ (with package textalpha) or
+\verb+\foreignlanguage{greek}{...}+ (with babel).
+
+% letters of the Greek and Coptic Unicode Block supported by LGR:
+\newcommand{\GreekAndCoptic}{ʹ͵ͺ; ΄ ΅ Ά·ΈΉΊΌΎΏΐΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩΪΫϘϚϜϠ}
+\newcommand{\greekandcoptic}{άέήίΰαβγδεζηθικλμνξοπρςστυφχψωϊϋόύώϙϛϝϟϡ}
+
+\section{Literal Unicode input}
+The following subsection headings contain all characters from the ``Greek
+and Coptic'' and ``Greek Extended'' Unicode Blocks that are supported by the
+LGR font encoding as literal Unicode characters.
+\subsection{\GreekAndCoptic}
+\subsection{\greekandcoptic}
+\subsection{ἀἁἂἃἄἅἆἇἈἉἊἋἌἍἎἏ ἐἑἒἓἔἕἘἙἚἛἜἝ}
+\subsection{ἠἡἢἣἤἥἦἧἨἩἪἫἬἭἮἯ ἰἱἲἳἴἵἶἷἸἹἺἻἼἽἾἿ}
+\subsection{ὀὁὂὃὄὅὈὉὊὋὌὍ ὐὑὒὓὔὕὖὗὙὛὝὟ}
+\subsection{ὠὡὢὣὤὥὦὧὨὩὪὫὬὭὮὯ ὰάὲέὴήὶίὸόὺύὼώ}
+\subsection{ᾀᾁᾂᾃᾄᾅᾆᾇᾈᾉᾊᾋᾌᾍᾎᾏ ᾐᾑᾒᾓᾔᾕᾖᾗᾘᾙᾚᾛᾜᾝᾞᾟ}
+\subsection{ᾠᾡᾢᾣᾤᾥᾦᾧᾨᾩᾪᾫᾬᾭᾮᾯ ᾰᾱᾲᾳᾴᾶᾷᾸᾹᾺΆᾼ᾽ι᾿}
+\subsection{῀῁ῂῃῄῆῇῈΈῊΉῌ῍῎῏ ῐῑῒΐῖῗῘῙῚΊ῝῞῟}
+\subsection{ῠῡῢΰῤῥῦῧῨῩῪΎῬ῭΅` ῲῳῴῶῷῸΌῺΏῼ´῾}
+
+\section{non-standard and combined diacritics: \ensuregreek{\>a \'"a}}
+
+Currently, there is no hyperref support for LICR input with non-standard
+accents or combined diacritics characters.
+
+\section{Makeuppercase}
+
+According to Greek typesetting conventions,
+diacritics (except the dialytika) are dropped in ALL CAPS.
+
+However, \verb|\Makeuppercase| is not supported in PDF-strings, so we
+do not need to care for this.
+
+\section{Conclusion}
+
+For Greek text parts in section headers use either literal Unicode
+characters or macros. For multi-accented letters or non-standard accents,
+use literal pre-composed Unicode characters. (Combining Unicode characters
+do not work with inputenc and 8-bit LaTeX. This is a general restriction.)
+
+For proper kerning in the main document, combine this with the
+\verb+\textgreek+ or \verb+\foreignlanguage{greek}+ macros.
+
+\end{document}
diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/lgr2licr.lua b/Master/texmf-dist/doc/latex/greek-fontenc/lgr2licr.lua
new file mode 100755
index 00000000000..da64c0ad73b
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/greek-fontenc/lgr2licr.lua
@@ -0,0 +1,169 @@
+#!/usr/bin/env lua
+
+-- LGR Transcription to Greek LICR transformation
+-- **********************************************
+--
+-- :Copyright: © 2010 Günter Milde
+-- :Licence: 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.
+--
+-- .. _LaTeX Project Public License: http://www.latex-project.org/lppl.txt
+--
+-- The LGR font encoding is the de-facto standard for Greek typesetting with
+-- LaTeX. This file provides a translation from the Latin transcription defined
+-- by LGR into the LaTeX Internal Character Representation (LICR) macros.
+--
+-- ::
+
+usage = [[
+Usage: lua lgr2licr.lua [OPTIONS] [STRING]
+ Convert STRING from Latin transcription to LICR macros for Greek symbols.
+ (This dumb conversion fails if the string contains TeX macros.)
+ Without argument, the script reads from standard input like a
+ redirected file. End interactive input with Ctrl-D.
+Options: -h, --help show this help
+ -f, --file read input from file STRING
+]]
+
+if arg[1] == "-h" or arg[1] == "--help" then
+ print(usage)
+ return
+end
+
+-- Get input string::
+
+local s
+
+if arg[1] == "-f" then
+ local f = assert(io.open(arg[2], "r"))
+ s = f:read("*all")
+ f:close()
+elseif arg[1] then
+ s = table.concat(arg, " ") .. "\n"
+else
+ -- test:
+ -- s = "\\emph{x\\'us}"
+ s = io.read("*all")
+end
+
+-- The mapping from the LGR Latin transcription to LICR macros::
+
+LGR_map = {
+ A = "\\textAlpha{}",
+ B = "\\textBeta{}",
+ G = "\\textGamma{}",
+ D = "\\textDelta{}",
+ E = "\\textEpsilon{}",
+ Z = "\\textZeta{}",
+ H = "\\textEta{}",
+ J = "\\textTheta{}",
+ I = "\\textIota{}",
+ K = "\\textKappa{}",
+ L = "\\textLambda{}",
+ M = "\\textMu{}",
+ N = "\\textNu{}",
+ X = "\\textXi{}",
+ O = "\\textOmicron{}",
+ P = "\\textPi{}",
+ R = "\\textRho{}",
+ S = "\\textSigma{}",
+ T = "\\textTau{}",
+ U = "\\textUpsilon{}",
+ F = "\\textPhi{}",
+ Q = "\\textChi{}",
+ Y = "\\textPsi{}",
+ W = "\\textOmega{}",
+
+ a = "\\textalpha{}",
+ b = "\\textbeta{}",
+ g = "\\textgamma{}",
+ d = "\\textdelta{}",
+ e = "\\textepsilon{}",
+ z = "\\textzeta{}",
+ h = "\\texteta{}",
+ j = "\\texttheta{}",
+ i = "\\textiota{}",
+ k = "\\textkappa{}",
+ l = "\\textlambda{}",
+ m = "\\textmu{}",
+ n = "\\textnu{}",
+ x = "\\textxi{}",
+ o = "\\textomicron{}",
+ p = "\\textpi{}",
+ r = "\\textrho{}",
+ s = "\\textautosigma{}",
+ c = "\\textfinalsigma{}",
+ t = "\\texttau{}",
+ u = "\\textupsilon{}",
+ f = "\\textphi{}",
+ q = "\\textchi{}",
+ y = "\\textpsi{}",
+ w = "\\textomega{}",
+ v = "\\noboundary{}",
+
+ ["'"] = "\\'",
+ ["`"] = "\\`",
+ ["~"] = "\\~",
+ ["<"] = "\\<",
+ [">"] = "\\>",
+ ["|"] = "\\|",
+ ['"'] = '\\"',
+ [";"] = "\\textanoteleia{}",
+ ["?"] = "\\texterotimatiko{}",
+}
+
+-- Return substitution string for 3 captures:
+--
+-- `c1` backslash
+-- `c2` a-zA-Z
+-- `c3` any other char
+-- ::
+
+function lgr_replace(c1, c2, c3)
+ -- print (c1, c2, c3)
+ if c1 == "\\" then
+ if c2 and (c2 ~= "") then
+ return c1 .. c2 .. (LGR_map[c3] or c3 or "")
+ end
+ return c1 .. c3
+ end
+ c2 = string.gsub(c2, "s(.)", "sv%1")
+ return (string.gsub(c2, ".", LGR_map) or "") .. (LGR_map[c3] or c3 or "")
+end
+
+-- Use the mapping to replace every ASCII-character with
+-- non-standard meaning to the corresponding LICR macro
+-- (skip macros)::
+ -- *([a-zA-Z'`~<>|\";?]
+s = string.gsub(s, "(\\?)([a-zA-Z]*)([^\\]?)", lgr_replace)
+
+-- Ligatures::
+
+s = string.gsub(s, "%(%(", "\\guillemotleft{}")
+s = string.gsub(s, "%)%)", "\\guillemotright{}")
+s = string.gsub(s, "\\'\\'", "\\textquoteright{}") -- ''
+s = string.gsub(s, "\\`\\`", "\\textquoteleft{}") -- ``
+s = string.gsub(s, '\"(%s)', "\\textquoteright{}%1")
+
+-- Separating empty group "{}" only required if followed by space or ASCII::
+
+s = string.gsub(s, "{}([^ a-zA-Z])", "%1")
+
+-- Autosigma replacements::
+
+s = string.gsub(s, "\\textautosigma\\noboundary", "\\textsigma") -- sv
+s = string.gsub(s, "\\textautosigma(\\['`~<>|\"])", "\\textsigma%1") -- accents
+
+s = string.gsub(s, "\\textautosigma([-%s!#$%%&%(%)*+,./0-9:=%[%]{|}])",
+ "\\textfinalsigma%1")
+
+s = string.gsub(s, "\\textautosigma(\\textquote)", "\\textfinalsigma%1")
+s = string.gsub(s, "\\textautosigma(\\texterotimatiko)", "\\textfinalsigma%1")
+s = string.gsub(s, "\\textautosigma(\\textanoteleia)", "\\textfinalsigma%1")
+
+s = string.gsub(s, "\\textautosigma$", "\\textfinalsigma")
+
+-- Write the result to stdout::
+
+io.write(s)
diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/lgr2licr.lua.html b/Master/texmf-dist/doc/latex/greek-fontenc/lgr2licr.lua.html
new file mode 100644
index 00000000000..7762506cab8
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/greek-fontenc/lgr2licr.lua.html
@@ -0,0 +1,139 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+<meta name="generator" content="Docutils 0.11: http://docutils.sourceforge.net/" />
+<title>LGR Transcription to Greek LICR transformation</title>
+<meta name="copyright" content="© 2010 Günter Milde" />
+<link rel="stylesheet" href="../../../../../Python/docutils-svn/docutils/docutils/writers/html4strict/html4css1.css" type="text/css" />
+<link rel="stylesheet" href="../../../../../Python/docutils-svn/docutils/docutils/writers/html4strict/html4css2.css" type="text/css" />
+</head>
+<body>
+<div class="document" id="lgr-transcription-to-greek-licr-transformation">
+<h1 class="title">LGR Transcription to Greek LICR transformation</h1>
+
+<dl class="docinfo simple">
+<dt class="copyright">Copyright</dt>
+<dd class="copyright">© 2010 Günter Milde</dd>
+<dt>Licence</dt>
+<dd><p>This work may be distributed and/or modified under the
+conditions of the <a class="reference external" href="http://www.latex-project.org/lppl.txt">LaTeX Project Public License</a>, either
+version&nbsp;1.3 of this license or any later version.</p>
+</dd>
+</dl>
+<!-- #!/usr/bin/env lua
+- - -*- coding: utf-8 -*- -->
+<p>The LGR font encoding is the de-facto standard for Greek typesetting with
+LaTeX. This file provides a translation from the Latin transcription defined
+by LGR into the LaTeX Internal Character Representation (LICR) macros.</p>
+<pre class="literal-block">usage = [[
+Usage: lua lgr2licr.lua [OPTIONS] [STRING]
+ Convert STRING from Latin transcription to LICR macros for Greek symbols.
+ Without argument, the script reads from standard input, e.g., a
+ redirected file or interactive input ended with Ctrl-D.
+Options: -h, --help show this help
+]]
+
+if arg[1] == &quot;-h&quot; or arg[1] == &quot;--help&quot; then
+ print(usage)
+ return
+end
+</pre>
+<p>Get input string:</p>
+<pre class="literal-block">if ... then
+ s = string.gsub(..., &quot;\t&quot;, &quot; &quot;)
+else
+ s = io.read(&quot;*all&quot;)
+end
+</pre>
+<p>The mapping from the LGR Latin transcription to LICR macros:</p>
+<pre class="literal-block">LGR_map = {
+ A = &quot;\\textAlpha{}&quot;,
+ B = &quot;\\textBeta{}&quot;,
+ G = &quot;\\textGamma{}&quot;,
+ D = &quot;\\textDelta{}&quot;,
+ E = &quot;\\textEpsilon{}&quot;,
+ Z = &quot;\\textZeta{}&quot;,
+ H = &quot;\\textEta{}&quot;,
+ J = &quot;\\textTheta{}&quot;,
+ I = &quot;\\textIota{}&quot;,
+ K = &quot;\\textKappa{}&quot;,
+ L = &quot;\\textLambda{}&quot;,
+ M = &quot;\\textMu{}&quot;,
+ N = &quot;\\textNu{}&quot;,
+ K = &quot;\\textXi{}&quot;,
+ O = &quot;\\textOmicron{}&quot;,
+ P = &quot;\\textPi{}&quot;,
+ R = &quot;\\textRho{}&quot;,
+ S = &quot;\\textSigma{}&quot;,
+ T = &quot;\\textTau{}&quot;,
+ U = &quot;\\textUpsilon{}&quot;,
+ F = &quot;\\textPhi{}&quot;,
+ Q = &quot;\\textChi{}&quot;,
+ Y = &quot;\\textPsi{}&quot;,
+ W = &quot;\\textOmega{}&quot;,
+
+ a = &quot;\\textalpha{}&quot;,
+ b = &quot;\\textbeta{}&quot;,
+ g = &quot;\\textgamma{}&quot;,
+ d = &quot;\\textdelta{}&quot;,
+ e = &quot;\\textepsilon{}&quot;,
+ z = &quot;\\textzeta{}&quot;,
+ h = &quot;\\texteta{}&quot;,
+ j = &quot;\\texttheta{}&quot;,
+ i = &quot;\\textiota{}&quot;,
+ k = &quot;\\textkappa{}&quot;,
+ l = &quot;\\textlambda{}&quot;,
+ m = &quot;\\textmu{}&quot;,
+ n = &quot;\\textnu{}&quot;,
+ x = &quot;\\textxi{}&quot;,
+ o = &quot;\\textomicron{}&quot;,
+ p = &quot;\\textpi{}&quot;,
+ r = &quot;\\textrho{}&quot;,
+ s = &quot;\\textautosigma{}&quot;,
+ c = &quot;\\textfinalsigma{}&quot;,
+ t = &quot;\\texttau{}&quot;,
+ u = &quot;\\textupsilon{}&quot;,
+ f = &quot;\\textphi{}&quot;,
+ q = &quot;\\textchi{}&quot;,
+ y = &quot;\\textpsi{}&quot;,
+ w = &quot;\\textomega{}&quot;,
+ v = &quot;\\noboundary{}&quot;,
+
+ [&quot;'&quot;] = &quot;\\'&quot;,
+ [&quot;`&quot;] = &quot;\\`&quot;,
+ [&quot;~&quot;] = &quot;\\~&quot;,
+ [&quot;&lt;&quot;] = &quot;\\&lt;&quot;,
+ [&quot;&gt;&quot;] = &quot;\\&gt;&quot;,
+ [&quot;|&quot;] = &quot;\\|&quot;,
+ ['&quot;'] = '\\&quot;',
+ [&quot;;&quot;] = &quot;\\textanoteleia{}&quot;,
+ [&quot;?&quot;] = &quot;\\texterotimatiko{}&quot;,
+}
+</pre>
+<p>Replace the “autosigma” (s) with “sigma” (sv) if followed by another
+character and with “finalsigma” (c) if followed by space or punctuation:</p>
+<pre class="literal-block">s = string.gsub(s, &quot;s([a-z'`~&lt;&gt;])&quot;, &quot;sv%1&quot;)
+s = string.gsub(s, &quot;s([ ,.:;?!])&quot;, &quot;c%1&quot;)
+s = string.gsub(s, 's&quot;(%s)', 'c&quot;%1') -- &quot; before whitespace is quote/apostrophe
+</pre>
+<p>Use the mapping to replace every ASCII-character with
+non-standard meaning to the corresponding LICR macro:</p>
+<pre class="literal-block">s = string.gsub(s, &quot;([a-zA-Z'`~&lt;&gt;|\&quot;;?])&quot;, LGR_map)
+</pre>
+<p>Some cleanup operations:</p>
+<pre class="literal-block">s = string.gsub(s, &quot;\\'\\'&quot;, &quot;\\textquoteright{}&quot;) -- ''
+s = string.gsub(s, &quot;\\`\\`&quot;, &quot;\\textquoteleft{}&quot;) -- ``
+s = string.gsub(s, &quot;\\textautosigma{}\\noboundary{}&quot;, &quot;\\textsigma{}&quot;) -- sv
+s = string.gsub(s, &quot;{}\\&quot;, &quot;\\&quot;)
+</pre>
+<p>The quotation mark (“) denotes a quote/apostrophe if followed by a space:</p>
+<pre class="literal-block">s = string.gsub(s, '\&quot;(%s)', &quot;\\textquoteright{}%1&quot;)
+</pre>
+<p>Write the result to stdout:</p>
+<pre class="literal-block">io.write(s)
+</pre>
+</div>
+</body>
+</html>
diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/lgrenc-test.pdf b/Master/texmf-dist/doc/latex/greek-fontenc/lgrenc-test.pdf
index f0fff1d197b..35d3e750ff9 100644
--- a/Master/texmf-dist/doc/latex/greek-fontenc/lgrenc-test.pdf
+++ b/Master/texmf-dist/doc/latex/greek-fontenc/lgrenc-test.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/lgrenc-test.tex b/Master/texmf-dist/doc/latex/greek-fontenc/lgrenc-test.tex
index 8fe8862c207..e569e6cdc5d 100644
--- a/Master/texmf-dist/doc/latex/greek-fontenc/lgrenc-test.tex
+++ b/Master/texmf-dist/doc/latex/greek-fontenc/lgrenc-test.tex
@@ -19,7 +19,9 @@
\usepackage{parskip}
\usepackage{textcomp}
\usepackage[LGR,T1]{fontenc}
-% \usepackage[utf8]{inputenc}
+
+\usepackage[utf8]{inputenc}
+\usepackage[pdfencoding=auto]{hyperref}
\newcommand{\LGR}{\fontencoding{LGR}\selectfont}
\newcommand{\Latin}{\fontencoding{T1}\selectfont}
@@ -31,17 +33,40 @@
\begin{document}
\title{Test LGR font encoding definitions}
-\date{}
+\author{Günter Milde}
+% \date{}
\maketitle
The file lgrenc.def provides a comprehensive set of macros to typeset Greek
with LGR encoded fonts. It works for both, monotonic and polytonic Greek,
independent of the \emph{Babel} package.
+The example from \texttt{usage.tex} in \emph{babel-greek} input
+using the LICR macros:
+
+\begin{quote}
+ \LGR
+ \textTau\'\textiota{}
+ \textphi\'\texteta\textiota\textfinalsigma\texterotimatiko{}
+ \<\textIota\textdelta\`\textomega\textnu{}
+ \>\textepsilon\textnu\texttheta\'\textepsilon\textdelta\textepsilon{}
+ \textpi\textalpha\~\textiota\textdelta\'\'
+ \>\textepsilon\textlambda\textepsilon\textupsilon\texttheta\'\textepsilon\textrho\textalpha\textnu\\
+ \texttau\`\textalpha\textfinalsigma{}
+ \textpi\textlambda\texteta\textautosigma\'\textiota\textomicron\textnu{}
+ \textNu\'\textupsilon\textmu\textphi\textalpha\textfinalsigma{}
+ \textautosigma\texttau\textepsilon\textphi\textalpha\textnu\textomicron\~\textupsilon\textautosigma\textalpha\textnu{},
+ \textSigma\'\textomega\textautosigma\texttau\textrho\textalpha\texttau\textepsilon{},\\
+ \>\textepsilon\textrho\~\textomega\textnu{}
+ \'\textalpha\textpi\~\texteta\textlambda\texttheta\textepsilon\textfinalsigma{}
+ \textepsilon\>\textupsilon\texttheta\'\textupsilon\textfinalsigma\texterotimatiko{}
+
+\end{quote}
+
\section{Symbols}
-See the source file lgrenc-test.tex for the macros used to access the
-symbols.
+See the source file \href{lgrenc-test.tex}{lgrenc-test.tex} for the macros
+used to access the symbols.
\subsection{Generic text symbols}
@@ -77,10 +102,18 @@ Quotes:
\LGR \textquotedblleft{}a\textquotedblright{}
\Latin (double quotes wrong with Kerkis fonts),
-\Latin \guilsinglleft{}a\guilsinglright{}
- \quotedblbase{}a\textquotedblright{}
-Single guillemots and base-quotes are missing in LGR.
-
+\begin{quote}
+ Single quotes need special attention to prevent conversion to accents.
+ Test the input conventions:
+ \LGR \textquoteleft{}a\textquoteright{} ``a'' \``a\'' \`\`a\'\'
+ \Latin but not \LGR `a' 'e' "i"\Latin
+
+ Single guillemots and base-quotes
+ (\guilsinglleft{}a\guilsinglright{}
+ \quotedblbase{}a\textquotedblright{}
+ \quotesinglbase{}a\textquoteright{})
+ are missing in LGR.
+\end{quote}
Ligature break up: AY fi \LGR AU "i $\mapsto$
\Latin A\textcompwordmark{}Y f\textcompwordmark i
@@ -118,12 +151,12 @@ Ligature break up: AY fi \LGR AU "i $\mapsto$
\LGR \textschwa{}, \texteuro{}
\Latin
-Some symbol definitions expect a Latin font. Babel redefines them with
-\verb|\latintext|, however this macro is not guaranteed to be defined, so it
-should not be used in a font encoding definition file. Instead, the
-textcomp.sty package should be used to provide the symbols for all font
-encodings. (Like any other Latin character, the ``sharp s'' (\ss) is not
-save to use when LGR is the active font encoding.)
+Some symbol definitions expect a Latin font.\emph{ babel-greek} redefines
+them with \verb|\latintext|, however this macro is not guaranteed to be
+defined, so it should not be used in a font encoding definition file. The
+textcomp.sty package provides coyright, registered, and trademark symbols
+for use with any font encodings. (Like any other Latin character, the
+``sharp s'' (\ss) is not save to use when LGR is the active font encoding.)
Latin:
\textcopyright{}
@@ -198,14 +231,17 @@ variant shapes in place of the ``regular'' ones.
\section{Diacritics}
Capital Greek letters have Greek diacritics (except the dialytika) to the
-left (instead of above) and drop them in UPPERCASE. This is
-implemented for all combinations for which a pre-composed Unicode
-character exists (but not, e.g., \LGR \~A\Latin).
+left (instead of above) and drop them in UPPERCASE. This is implemented for
+all combinations for which a pre-composed Unicode character exists (but not,
+e.g., \LGR \~A\Latin).
% When a word is written entirely in capital letters, diacritics are
% never used; the word Ἢ (or), is an exception to this rule because of
% the need to distinguish it from the nominative feminine article Η.
+Different conventions exist for the treatment of the sub-iota with uppercase
+letters. The CB-Fonts use a capital Iota ``index''.
+
LaTeX standard accents (Latin, Greek, Greek Capitals)
$\mapsto$ UPPERCASE
diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/lgrenc.def.html b/Master/texmf-dist/doc/latex/greek-fontenc/lgrenc.def.html
index 48282a59f38..4b0ac85301f 100644
--- a/Master/texmf-dist/doc/latex/greek-fontenc/lgrenc.def.html
+++ b/Master/texmf-dist/doc/latex/greek-fontenc/lgrenc.def.html
@@ -34,69 +34,52 @@ package.</p>
<div class="contents topic" id="contents">
<p class="topic-title first">Contents</p>
<ul class="simple">
-<li><p><a class="reference internal" href="#changelog" id="id1">Changelog</a></p></li>
-<li><p><a class="reference internal" href="#usage" id="id2">Usage</a></p></li>
-<li><p><a class="reference internal" href="#preliminary-considerations-licr-macro-names" id="id3">preliminary considerations: LICR macro names</a></p>
+<li><p><a class="reference internal" href="#changelog" id="id2">Changelog</a></p></li>
+<li><p><a class="reference internal" href="#usage" id="id3">Usage</a></p></li>
+<li><p><a class="reference internal" href="#implementation" id="id4">Implementation</a></p>
<ul>
-<li><p><a class="reference internal" href="#proposals" id="id4">Proposals</a></p></li>
-<li><p><a class="reference internal" href="#how-to-name-accent-macros" id="id5">How to name <em>accent macros</em>?</a></p></li>
-<li><p><a class="reference internal" href="#references" id="id6">References</a></p></li>
-</ul>
-</li>
-<li><p><a class="reference internal" href="#implementation" id="id7">Implementation</a></p>
+<li><p><a class="reference internal" href="#read-this-file-only-once" id="id5">Read this file only once</a></p></li>
+<li><p><a class="reference internal" href="#identification" id="id6">Identification</a></p></li>
+<li><p><a class="reference internal" href="#base-setup" id="id7">Base setup</a></p></li>
+<li><p><a class="reference internal" href="#text-symbols" id="id8">Text symbols</a></p>
<ul>
-<li><p><a class="reference internal" href="#read-this-file-only-once" id="id8">Read this file only once</a></p></li>
-<li><p><a class="reference internal" href="#identification" id="id9">Identification</a></p></li>
-<li><p><a class="reference internal" href="#base-setup" id="id10">Base setup</a></p></li>
-<li><p><a class="reference internal" href="#text-symbols" id="id11">Text symbols</a></p>
+<li><p><a class="reference internal" href="#greek-alphabet" id="id9">Greek Alphabet</a></p></li>
+<li><p><a class="reference internal" href="#additional-greek-symbols" id="id10">Additional Greek symbols</a></p>
<ul>
-<li><p><a class="reference internal" href="#greek-alphabet" id="id12">Greek Alphabet</a></p></li>
-<li><p><a class="reference internal" href="#additional-greek-symbols" id="id13">Additional Greek symbols</a></p>
-<ul>
-<li><p><a class="reference internal" href="#ancient-greek-numbers-athenian-numerals" id="id14">Ancient Greek Numbers (Athenian Numerals)</a></p></li>
-<li><p><a class="reference internal" href="#archaic-letters" id="id15">Archaic letters</a></p></li>
-<li><p><a class="reference internal" href="#numeral-signs" id="id16">Numeral signs</a></p></li>
+<li><p><a class="reference internal" href="#ancient-greek-numbers-athenian-numerals" id="id11">Ancient Greek Numbers (Athenian Numerals)</a></p></li>
+<li><p><a class="reference internal" href="#archaic-letters" id="id12">Archaic letters</a></p></li>
+<li><p><a class="reference internal" href="#numeral-signs" id="id13">Numeral signs</a></p></li>
</ul>
</li>
-<li><p><a class="reference internal" href="#other" id="id17">Other</a></p></li>
-<li><p><a class="reference internal" href="#not-implemented" id="id18">Not implemented</a></p></li>
+<li><p><a class="reference internal" href="#other" id="id14">Other</a></p></li>
+<li><p><a class="reference internal" href="#not-implemented" id="id15">Not implemented</a></p></li>
</ul>
</li>
-<li><p><a class="reference internal" href="#diacritics" id="id19">Diacritics</a></p>
+<li><p><a class="reference internal" href="#diacritics" id="id16">Diacritics</a></p>
<ul>
-<li><p><a class="reference internal" href="#named-macros" id="id20">Named macros</a></p></li>
-<li><p><a class="reference internal" href="#aliases" id="id21">Aliases</a></p></li>
+<li><p><a class="reference internal" href="#named-macros" id="id17">Named macros</a></p></li>
+<li><p><a class="reference internal" href="#aliases" id="id18">Aliases</a></p></li>
</ul>
</li>
-<li><p><a class="reference internal" href="#composite-definitions" id="id22">Composite definitions</a></p>
+<li><p><a class="reference internal" href="#common-greek-font-encoding-definitions" id="id19">Common Greek font encoding definitions</a></p></li>
+<li><p><a class="reference internal" href="#composite-definitions" id="id20">Composite definitions</a></p>
<ul>
-<li><p><a class="reference internal" href="#composite-diacritics" id="id23">Composite diacritics</a></p></li>
-<li><p><a class="reference internal" href="#pre-composed-letters" id="id24">Pre-composed letters</a></p>
+<li><p><a class="reference internal" href="#composite-diacritics" id="id21">Composite diacritics</a></p></li>
+<li><p><a class="reference internal" href="#pre-composed-letters" id="id22">Pre-composed letters</a></p>
<ul>
-<li><p><a class="reference internal" href="#small-letters-with-diacritics" id="id25">Small letters with diacritics</a></p></li>
-<li><p><a class="reference internal" href="#capital-letters-with-diacritics" id="id26">Capital letters with diacritics</a></p></li>
-</ul>
-</li>
-</ul>
-</li>
-<li><p><a class="reference internal" href="#uppercase" id="id27">UPPERCASE</a></p>
-<ul>
-<li><p><a class="reference internal" href="#uclclist-extension" id="id28">&#64;uclclist extension</a></p></li>
-<li><p><a class="reference internal" href="#substitution-macros" id="id29">Substitution macros</a></p>
-<ul>
-<li><p><a class="reference internal" href="#drop-diacritics" id="id30">Drop diacritics</a></p></li>
-<li><p><a class="reference internal" href="#keep-dialytika" id="id31">Keep dialytika.</a></p></li>
-<li><p><a class="reference internal" href="#mark-hiatus" id="id32">Mark hiatus</a></p></li>
+<li><p><a class="reference internal" href="#small-letters-with-diacritics" id="id23">Small letters with diacritics</a></p></li>
+<li><p><a class="reference internal" href="#capital-letters-with-diacritics" id="id24">Capital letters with diacritics</a></p></li>
</ul>
</li>
</ul>
</li>
+<li><p><a class="reference internal" href="#uppercase" id="id25">UPPERCASE</a></p></li>
</ul>
</li>
</ul>
</div>
<div class="section" id="changelog">
-<h1><a class="toc-backref" href="#id1">Changelog</a></h1>
+<h1><a class="toc-backref" href="#id2">Changelog</a></h1>
<p>Development of this file started under the name “lgrxenc.def” as part of the
<a class="reference external" href="http://www.ctan.org/pkg/lgrx">lgrx</a> bundle. With version 0.8, it moved to <tt class="literal"><span class="pre">greek-fontenc/lgrx.def</span></tt>.</p>
<table class="borderless">
@@ -200,11 +183,20 @@ package.</p>
<td>&nbsp;</td>
<td><p>add composite command for Ῥ (Rho with Dasia).</p></td>
</tr>
+<tr><td><p>0.9</p></td>
+<td><p>2013-07-16</p></td>
+<td><p>move common definitions to <tt class="literal"><span class="pre">greek-fontenc.def</span></tt>,</p></td>
+</tr>
+<tr><td><!-- -->
+</td>
+<td>&nbsp;</td>
+<td><p>add composite commands for single quotation marks.</p></td>
+</tr>
</tbody>
</table>
</div>
<div class="section" id="usage">
-<h1><a class="toc-backref" href="#id2">Usage</a></h1>
+<h1><a class="toc-backref" href="#id3">Usage</a></h1>
<p>Load this file by calling <a class="reference external" href="http://www.ctan.org/pkg/fontenc">fontenc</a> with the <tt class="literal">LGR</tt> option
or indirectly via the <a class="reference external" href="http://www.ctan.org/pkg/babel">babel</a>, <a class="reference external" href="textalpha.sty.html">textalpha</a> or <a class="reference external" href="alphabeta.sty.html">alphabeta</a> packages.</p>
<dl class="docutils">
@@ -216,162 +208,15 @@ or indirectly via the <a class="reference external" href="http://www.ctan.org/pk
</dd>
</dl>
</div>
-<div class="section" id="preliminary-considerations-licr-macro-names">
-<h1><a class="toc-backref" href="#id3">preliminary considerations: LICR macro names</a></h1>
-<p>This file provides LaTeX internal character representations (LICR macros)
-for all non-ASCII characters present in the LGR font encoding. For Greek
-letters and diacritics, LICR macro names were selected based on the
-following considerations:</p>
-<p>The <a class="reference external" href="http://mirror.ctan.org/macros/latex/doc/fntguide.pdf">fntguide</a> (section 6.4 Naming conventions) recommends:</p>
-<blockquote>
-<p>Where possible, text symbols should be named as <tt class="literal">\text</tt> followed
-by the Adobe glyph name: for example <tt class="literal">\textonequarter</tt> or
-<tt class="literal">\textsterling</tt>. Similarly, math symbols should be named as
-<tt class="literal">\math</tt> followed by the glyph name, for example
-<tt class="literal">\mathonequarter</tt> or <tt class="literal">\mathsterling</tt>.</p>
-</blockquote>
-<p>The <a class="reference external" href="http://www.adobe.com/devnet-archive/opentype/archives/aglfn.txt">Adobe Glyph List For New Fonts</a> has names for many glyphs in the
-<cite>Greek and Coptic</cite> Unicode block, but not for <cite>Greek extended</cite>.
-The <a class="reference external" href="http://partners.adobe.com/public/developer/en/opentype/glyphlist.txt">Adobe Glyph List</a> (for existing fonts) lists additional glyph names
-used in older fonts.</p>
-<div class="section" id="proposals">
-<h2><a class="toc-backref" href="#id4">Proposals</a></h2>
-<ul>
-<li><p>If there exists a math-mode macro for a symbol, form the corresponding text
-macro by prepending <tt class="literal">text</tt>?</p>
-<dl class="docutils">
-<dt>Example:</dt>
-<dd><p>The glyph name for the GREEK SMALL LETTER FINAL SIGMA is <tt class="literal">sigma1</tt>,
-the corresponding math-macro is <tt class="literal">\varsigma</tt>. The text symbol could be
-made available as <tt class="literal">\textvarsigma</tt>.</p>
-</dd>
-<dt>Problems:</dt>
-<dd><p><tt class="literal">\varepsilon</tt> and <tt class="literal">\varphi</tt> math macros map to characters named
-“GREEK SMALL <strong>LETTER</strong> …”, while <tt class="literal">\\vartheta</tt>, <tt class="literal">\\varkappa</tt>,
-<tt class="literal">\\varrho</tt>, and <tt class="literal">\\varpi</tt> math macros map to “GREEK … <strong>SYMBOL</strong>”
-Unicode characters.</p>
-<p>In Greek text, these variants are interchangeable. The LGR font encoding
-does not contain slots for “symbol” glyph variants. In some Greek fonts,
-GREEK SMALL LETTERS use glyph variants resembling the corresponding
-GREEK SYMBOL Unicode character’s reference glyph.</p>
-</dd>
-</dl>
-</li>
-<li><p>Derive macro names from Unicode names?</p>
-<p>The <a class="reference external" href="http://www.unicode.org/Public/UNIDATA/NamesList.txt">Unicode names list</a> provides standardized descriptive names for all
-Unicode characters that use only capital letters of the Latin alphabet.
-While not suited for direct use in a LICR macros, they can be either</p>
-<ol class="loweralpha simple">
-<li><p>used as inspiration for new LICR macro names or</p></li>
-<li><p>converted to LICR macro names via a defined set of transformation rules.</p></li>
-</ol>
-<dl class="docutils">
-<dt>Example:</dt>
-<dd><p><tt class="literal">\textfinalsigma</tt> or just <tt class="literal">\finalsigma</tt> as a more descriptive name
-for GREEK SMALL LETTER FINAL SIGMA derived via the rules:</p>
-<ul class="simple">
-<li><p>drop “LETTER” if the name remains unique,</p></li>
-<li><p>drop “GREEK” if the name remains unique,</p></li>
-<li><p>use capitalized name for capital letters, lowercase for “SMALL” letters
-and drop “SMALL”,</p></li>
-<li><p>concatenate</p></li>
-</ul>
-</dd>
-</dl>
-</li>
-<li><p>Omit the “text” prefix for macros that do not have a math counterpart?</p>
-<dl class="docutils">
-<dt>Pro:</dt>
-<dd><ul class="simple">
-<li><p>Simpler,</p></li>
-<li><p>ease of use (less typing, better readability of source text),</p></li>
-<li><p>many established text macro names without “text”,</p></li>
-<li><p>there are examples of encoding-specific macros
-without the <tt class="literal">text</tt>-prefix, especially for letters,</p>
-<dl class="field-list simple">
-<dt>T1</dt>
-<dd><p><tt class="literal">\AE \DH \DJ \L \NG \OE \O \SS \TH \ae \dh \dj \guillemotleft</tt>
-<tt class="literal">\guillemotright \guilsinglleft \guilsinglright \i \j \l \ng</tt>
-<tt class="literal">\oe \o \quotedblbase \quotesinglbase \ss \th</tt> (also in OT1)</p>
-</dd>
-<dt>T2*</dt>
-<dd><p><tt class="literal">\CYR*</tt> and <tt class="literal">\cyr*</tt></p>
-</dd>
-<dt>HE8</dt>
-<dd><p><tt class="literal">\heb*</tt> or no prefix</p>
-</dd>
-<dt>PU</dt>
-<dd><p>short descriptive names in the arabic part (<tt class="literal">puarenc.def</tt>)</p>
-</dd>
-</dl>
-</li>
-<li><p><tt class="literal">text</tt> prefix does <strong>not</strong> mark a macro as encoding-specific or
-“inserting a glyph”. There are e.g. font-changing macros (<tt class="literal">\textbf</tt>,
-<tt class="literal">\textit</tt>) and encoding-changing macros (<tt class="literal">\textgreek</tt>,
-<tt class="literal">\textcyr</tt>).</p></li>
-</ul>
-</dd>
-<dt>Contra:</dt>
-<dd><ul class="simple">
-<li><p>Less consistent.</p></li>
-<li><p><tt class="literal">text</tt> prefix marks a macro as confined to text mode.</p></li>
-</ul>
-</dd>
-<dt>Conclusion:</dt>
-<dd><p>To avoid name clashes, the font encoding file uses the <tt class="literal">text</tt> prefix
-for symbols. Aliases (short forms, compatibility defs, etc.) can be
-defined in packages.</p>
-</dd>
-</dl>
-</li>
-</ul>
-</div>
-<div class="section" id="how-to-name-accent-macros">
-<h2><a class="toc-backref" href="#id5">How to name <em>accent macros</em>?</a></h2>
-<ul>
-<li><p>standard accent macros (<tt class="literal">\DeclareTextAccent</tt> definitions in
-<tt class="literal"><span class="pre">latex/base/...</span></tt>) are one-symbol macros (<tt class="literal">\' \&quot; ... \u \v ...</tt>) .</p></li>
-<li><p>tipa.sty and ucs use the “text” prefix also for accents.</p>
-<p>However, the <a class="reference external" href="http://www.adobe.com/devnet-archive/opentype/archives/aglfn.txt">Adobe Glyph List For New Fonts</a> maps, e.g., “tonos” and
-“dieresistonos” to 0384 GREEK TONOS and 0385 GREEK DIALYTIKA TONOS, hence
-<cite>texttonos</cite> and <cite>textdiaresistonos</cite> should be spacing characters.</p>
-</li>
-<li><p>textcomp (ts1enc.def) defines <tt class="literal"><span class="pre">\capital...</span></tt> accents (i.e. without
-<tt class="literal">text</tt> prefix).</p></li>
-<li><p>Use a common prefix <tt class="literal"><span class="pre">\textaccent...</span></tt>, <tt class="literal"><span class="pre">\accent...</span></tt>,
-or just <tt class="literal"><span class="pre">\acc...</span></tt> (cf <tt class="literal">\&#64;tabacckludge</tt>)?</p></li>
-</ul>
-<p>Currently, <cite>lgrx</cite> uses for <a class="reference internal" href="#diacritics">diacritics</a>:</p>
-<ul class="simple">
-<li><p>Greek names like in Unicode, and ucsencs.def</p></li>
-<li><p>The prefix “acc” to distinguish the macros as <cite>TextAaccent</cite> and reduce the
-risc of name clashes.</p></li>
-<li><p>For the end-user “symbol macros” (<tt class="literal">\~ \' \` \&quot; \&lt; \&gt;</tt>) are provided.</p></li>
-</ul>
-</div>
-<div class="section" id="references">
-<h2><a class="toc-backref" href="#id6">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>
-<p>For glyph names of the LGR encoding see e.g. <tt class="literal">CB.enc</tt> by Apostolos
-Syropoulos and <tt class="literal"><span class="pre">xl-lgr.enc</span></tt> from the <a class="reference external" href="http://www.ctan.org/pkg/libertine-legacy">libertine</a> (legacy) package.
-<tt class="literal">lgr.cmap</tt> provides a mapping to Unicode characters.</p>
-<p>A full set of <tt class="literal">\text*</tt> symbol macros is defined in <tt class="literal">ucsencs.def</tt>
-from the <a class="reference external" href="http://www.ctan.org/pkg/unicode">ucs</a> package.</p>
-<p>Aliases from <tt class="literal">puenc.def</tt> ensure that the <a class="reference external" href="http://www.ctan.org/pkg/hyperref">hyperref</a> package can
-convert Greek symbols to a PDF-string.</p>
-</div>
-</div>
<div class="section" id="implementation">
-<h1><a class="toc-backref" href="#id7">Implementation</a></h1>
+<h1><a class="toc-backref" href="#id4">Implementation</a></h1>
<div class="section" id="read-this-file-only-once">
-<h2><a class="toc-backref" href="#id8">Read this file only once</a></h2>
+<h2><a class="toc-backref" href="#id5">Read this file only once</a></h2>
<div class="note">
<p class="admonition-title">Note</p>
<p>The use of <tt class="literal">\&#64;ifundefined</tt> has the side-effect that the tested
macro becomes defined and set to <tt class="literal">\relax</tt> (polluting the namespace and
-interfering with test via eTeX’s <tt class="literal">\ifdefined</tt>). However, in this case
+interfering with tests via eTeX’s <tt class="literal">\ifdefined</tt>). However, in this case
no harm is done as the macro is defined by the <a class="reference internal" href="#identification">identification</a> below
anyway.</p>
</div>
@@ -384,9 +229,9 @@ anyway.</p>
</pre>
</div>
<div class="section" id="identification">
-<h2><a class="toc-backref" href="#id9">Identification</a></h2>
+<h2><a class="toc-backref" href="#id6">Identification</a></h2>
<pre class="literal-block">\ProvidesFile{lgrenc.def}
-[2013/05/24 v0.8.2 LGR Greek font encoding definitions]
+[2013/06/11 v0.8.3 LGR Greek font encoding definitions]
% Copyright © 2010 Günter Milde
% This file is part of the &quot;greek-fontenc&quot; package.
% It may be distributed and/or modified under the
@@ -396,27 +241,20 @@ anyway.</p>
<p>You can test the version date using</p>
<pre class="code latex literal-block"><span class="keyword">\&#64;</span>ifl&#64;ter <span class="name builtin">{</span>extension<span class="name builtin">}{</span>filename<span class="name builtin">}{</span>date<span class="name builtin">}{</span>YES<span class="name builtin">}{</span>NO<span class="name builtin">}</span>
</pre>
-<p>or using <a class="reference external" href="http://www.ctan.org/pkg/ltxcmds">ltxcmds</a>’ <tt class="literal">\&#64;iffilelater</tt></p>
+<p>or using <a class="reference external" href="http://www.ctan.org/pkg/ltxcmds">ltxcmds</a>’ <tt class="literal">\&#64;iffilelater</tt>.</p>
</div>
<div class="section" id="base-setup">
-<h2><a class="toc-backref" href="#id10">Base setup</a></h2>
-<p>Declare the font encoding and base substitutions:</p>
+<h2><a class="toc-backref" href="#id7">Base setup</a></h2>
+<p>Declare the LGR font encoding and base substitutions:</p>
<pre class="literal-block">\DeclareFontEncoding{LGR}{}{}
\DeclareFontSubstitution{LGR}{cmr}{m}{n}
\DeclareErrorFont{LGR}{cmr}{m}{n}{10}
</pre>
-<p>The <tt class="literal">\ensuregreek</tt> command can be used to ensure that its argument is set
-in a font encoding with support for Greek. If the font encoding is already
-LGR, kerning between adjacent command calls (e.g.
-<tt class="literal"><span class="pre">\ensuregreek{A}\ensuregreek{\Upsilon}</span></tt>) is preserved. This allows
-wrapping of compound Unicode character definitions.</p>
-<pre class="literal-block">\DeclareTextCommand{\ensuregreek}{LGR}[1]{#1}
-</pre>
</div>
<div class="section" id="text-symbols">
-<h2><a class="toc-backref" href="#id11">Text symbols</a></h2>
+<h2><a class="toc-backref" href="#id8">Text symbols</a></h2>
<div class="section" id="greek-alphabet">
-<h3><a class="toc-backref" href="#id12">Greek Alphabet</a></h3>
+<h3><a class="toc-backref" href="#id9">Greek Alphabet</a></h3>
<p>Greek letters are accessible by the Latin transcription, but the mapping is
specific to the LGR font encoding.</p>
<p>The LICR macros provide a way to access the symbols independent of the
@@ -481,9 +319,9 @@ encoding.</p>
</pre>
</div>
<div class="section" id="additional-greek-symbols">
-<h3><a class="toc-backref" href="#id13">Additional Greek symbols</a></h3>
+<h3><a class="toc-backref" href="#id10">Additional Greek symbols</a></h3>
<div class="section" id="ancient-greek-numbers-athenian-numerals">
-<h4><a class="toc-backref" href="#id14">Ancient Greek Numbers (Athenian Numerals)</a></h4>
+<h4><a class="toc-backref" href="#id11">Ancient Greek Numbers (Athenian Numerals)</a></h4>
<p>Names from <a class="reference external" href="http://www.ctan.org/pkg/unicode">ucs</a> (<tt class="literal">ucsencs.def</tt>)
(In ucs, five hundred is (wrongly?) named textpentehkaton.)</p>
<pre class="literal-block">\DeclareTextSymbol{\textpentedeka}{LGR}{2} % GREEK ACROPHONIC ATTIC FIFTY
@@ -493,7 +331,7 @@ encoding.</p>
</pre>
</div>
<div class="section" id="archaic-letters">
-<h4><a class="toc-backref" href="#id15">Archaic letters</a></h4>
+<h4><a class="toc-backref" href="#id12">Archaic letters</a></h4>
<p>Names after <a class="reference external" href="http://www.ctan.org/pkg/teubner">teubner</a> and <a class="reference external" href="http://www.ctan.org/pkg/unicode">ucs</a>:</p>
<pre class="literal-block">\DeclareTextSymbol{\textstigma}{LGR}{6} % ϛ
\DeclareTextSymbol{\textvarstigma}{LGR}{7} % stigma variant (CB.enc, teubner)
@@ -508,44 +346,18 @@ encoding.</p>
\DeclareTextSymbol{\textdigamma}{LGR}{147} % ϝ (ucs) \digamma used by amsmath for math-macro
\DeclareTextSymbol{\textDigamma}{LGR}{195} % Ϝ (ucs)
</pre>
-<p>Compatibility aliases for <a class="reference external" href="http://www.ctan.org/pkg/hyperref">hyperref</a>’s puenc.def, defined via
-<cite>DeclareTextCommand</cite> so that up/downcasing works without the need for
-additional uclclist entries:</p>
-<pre class="literal-block">\DeclareTextCommand{\textstigmagreek}{LGR}{\textstigma} % puenc.def
-\DeclareTextCommand{\textkoppagreek}{LGR}{\textkoppa} % puenc.def
-\DeclareTextCommand{\textStigmagreek}{LGR}{\textStigma} % puenc.def
-\DeclareTextCommand{\textSampigreek}{LGR}{\textSampi} % puenc.def
-\DeclareTextCommand{\textsampigreek}{LGR}{\textsampi} % puenc.def
-\DeclareTextCommand{\textdigammagreek}{LGR}{\textdigamma} % puenc.def
-\DeclareTextCommand{\textDigammagreek}{LGR}{\textDigamma} % puenc.def
-</pre>
-<p>Compatibility aliases for <a class="reference external" href="http://www.ctan.org/pkg/babel">babel</a>’s <tt class="literal">greek.ldf</tt> (will be moved to the babel
-package). :</p>
-<pre class="code latex literal-block"><span class="comment">% \digamma used by amsmath for math-macro
-</span><span class="keyword">\DeclareTextCommand</span><span class="name builtin">{</span><span class="keyword">\ddigamma</span><span class="name builtin">}{</span>LGR<span class="name builtin">}{</span><span class="keyword">\textdigamma</span><span class="name builtin">}</span> <span class="comment">% greek.ldf
-</span><span class="keyword">\DeclareTextCommand</span><span class="name builtin">{</span><span class="keyword">\vardigamma</span><span class="name builtin">}{</span>LGR<span class="name builtin">}{</span><span class="keyword">\textvarstigma</span><span class="name builtin">}</span> <span class="comment">% greek.ldf
-</span><span class="keyword">\DeclareTextCommand</span><span class="name builtin">{</span><span class="keyword">\Digamma</span><span class="name builtin">}{</span>LGR<span class="name builtin">}{</span><span class="keyword">\textDigamma</span><span class="name builtin">}</span> <span class="comment">% greek.ldf</span>
-</pre>
</div>
<div class="section" id="numeral-signs">
-<h4><a class="toc-backref" href="#id16">Numeral signs</a></h4>
-<p>See also <a class="reference external" href="http://en.wikipedia.org/wiki/Greek_numerals">http://en.wikipedia.org/wiki/Greek_numerals</a>
-Names from <a class="reference external" href="http://www.ctan.org/pkg/hyperref">hyperref</a>’s puenc.def:</p>
-<pre class="literal-block">\DeclareTextSymbol{\textnumeralsigngreek}{LGR}{254} % ʹ (puenc.def)
-\DeclareTextSymbol{\textnumeralsignlowergreek}{LGR}{255} % ͵ (puenc.def)
-</pre>
-<p>Names from <a class="reference external" href="http://www.ctan.org/pkg/babel">babel</a> and <a class="reference external" href="http://www.ctan.org/pkg/teubner">teubner</a></p>
-<pre class="code latex literal-block"><span class="keyword">\DeclareTextSymbol</span><span class="name builtin">{</span><span class="keyword">\anwtonos</span><span class="name builtin">}{</span>LGR<span class="name builtin">}{</span>254<span class="name builtin">}</span> <span class="comment">% ʹ (Dexia keraia)
-</span><span class="keyword">\DeclareTextSymbol</span><span class="name builtin">{</span><span class="keyword">\katwtonos</span><span class="name builtin">}{</span>LGR<span class="name builtin">}{</span>255<span class="name builtin">}</span> <span class="comment">% ͵ (Aristeri keraia)</span>
-</pre>
-<p>Names from <a class="reference external" href="http://www.ctan.org/pkg/unicode">ucs</a></p>
-<pre class="code latex literal-block"><span class="keyword">\DeclareTextSymbol</span><span class="name builtin">{</span><span class="keyword">\textdexiakeraia</span><span class="name builtin">}{</span>LGR<span class="name builtin">}{</span>254<span class="name builtin">}</span> <span class="comment">% ʹ (Dexia keraia)
-</span><span class="keyword">\DeclareTextSymbol</span><span class="name builtin">{</span><span class="keyword">\textaristerikeraia</span><span class="name builtin">}{</span>LGR<span class="name builtin">}{</span>255<span class="name builtin">}</span> <span class="comment">% ͵ (Aristeri keraia)</span>
+<h4><a class="toc-backref" href="#id13">Numeral signs</a></h4>
+<p>See also <a class="reference external" href="http://en.wikipedia.org/wiki/Greek_numerals">http://en.wikipedia.org/wiki/Greek_numerals</a></p>
+<p>Names from <a class="reference external" href="http://www.ctan.org/pkg/unicode">ucs</a>:</p>
+<pre class="literal-block">\DeclareTextSymbol{\textdexiakeraia}{LGR}{254} % ʹ (Dexia keraia)
+\DeclareTextSymbol{\textaristerikeraia}{LGR}{255} % ͵ (Aristeri keraia)
</pre>
</div>
</div>
<div class="section" id="other">
-<h3><a class="toc-backref" href="#id17">Other</a></h3>
+<h3><a class="toc-backref" href="#id14">Other</a></h3>
<p>Characters that also exist in other font encodings:</p>
<ul class="simple">
<li><p>define them for LGR if there is a matching glyph,</p></li>
@@ -565,23 +377,23 @@ Names from <a class="reference external" href="http://www.ctan.org/pkg/hyperref"
\DeclareTextSymbol{\guillemotright}{LGR}{125} % »
</pre>
<p>TS1:</p>
-<pre class="literal-block">\ProvideTextCommand{\textasciibreve}{LGR}{\char30\textcompwordmark} % ˘
-\ProvideTextCommand{\textasciimacron}{LGR}{\char31\textcompwordmark} % ¯
-\ProvideTextCommand{\textasciidieresis}{LGR}{\char34\textcompwordmark} % &quot;
-\ProvideTextCommand{\textasciiacute}{LGR}{\char39\textcompwordmark} % '
-\ProvideTextCommand{\textasciigrave}{LGR}{\char96\textcompwordmark} % `
-\DeclareTextCommand{\textasciitilde}{LGR}{\char126\textcompwordmark} % ~
+<pre class="literal-block">\ProvideTextCommand{\textasciibreve}{LGR}{\char30\textcompwordmark} % ˘
+\ProvideTextCommand{\textasciimacron}{LGR}{\char31\textcompwordmark} % ¯
+\ProvideTextCommand{\textasciidieresis}{LGR}{&quot;\textcompwordmark} % &quot;
+\ProvideTextCommand{\textasciiacute}{LGR}{'\textcompwordmark} % '
+\ProvideTextCommand{\textasciigrave}{LGR}{`\textcompwordmark} % `
+\DeclareTextCommand{\textasciitilde}{LGR}{\char126\textcompwordmark} % ~
\DeclareTextSymbol{\textohm}{LGR}{87} % Ω (Ohm sign -&gt; Omega)
\DeclareTextSymbol{\texteuro}{LGR}{24} % € \euro in greek.ldf
\DeclareTextSymbol{\textpercent}{LGR}{37} % %
-\DeclareTextSymbol{\textperthousand}{LGR}{25} % ‰ \permille in greek.ldf
+\DeclareTextSymbol{\textperthousand}{LGR}{25} % ‰ \permill in greek.ldf
</pre>
<p>T3:</p>
<pre class="literal-block">\DeclareTextSymbol{\textschwa}{LGR}{26} % ə
</pre>
</div>
<div class="section" id="not-implemented">
-<h3><a class="toc-backref" href="#id18">Not implemented</a></h3>
+<h3><a class="toc-backref" href="#id15">Not implemented</a></h3>
<p>The characters at position 16 and 17 are used in the <tt class="literal">\nexus</tt> macro
of the <a class="reference external" href="http://www.ctan.org/pkg/teubner">teubner</a> package to form an extensible, hat-like bracket. In
<tt class="literal">CB.enc</tt>, they are mapped to</p>
@@ -593,22 +405,13 @@ of the <a class="reference external" href="http://www.ctan.org/pkg/teubner">teub
they rather represent the left and right part of U+23E0 TOP TORTOISE
SHELL BRACKET.</p>
<p>Babel’s <tt class="literal">lgrenc.def</tt> has some definitions to prevent surprises with
-macros that expect a Latin script. These definitions are problematic
-in a font-encoding definition file as they</p>
-<ul class="simple">
-<li><p>require <tt class="literal">\textlatin</tt> which is defined in <tt class="literal">babel.def</tt>,</p></li>
-<li><p>prevent use of TS1 symbols set as default by <tt class="literal">textcomp.sty</tt>.</p></li>
-</ul>
-<pre class="code latex literal-block"><span class="keyword">\ProvideTextCommand</span><span class="name builtin">{</span><span class="keyword">\textcopyright</span><span class="name builtin">}{</span>LGR<span class="name builtin">}{</span><span class="keyword">\textcircled</span><span class="name builtin">{</span><span class="keyword">\textlatin</span><span class="name builtin">{</span>c<span class="name builtin">}}}</span>
-<span class="keyword">\ProvideTextCommand</span><span class="name builtin">{</span><span class="keyword">\textregistered</span><span class="name builtin">}{</span>LGR<span class="name builtin">}{</span><span class="keyword">\textcircled</span><span class="name builtin">{</span><span class="keyword">\textlatin</span><span class="name builtin">{</span><span class="keyword">\textsc</span> r<span class="name builtin">}}}</span>
-<span class="keyword">\ProvideTextCommand</span><span class="name builtin">{</span><span class="keyword">\texttrademark</span><span class="name builtin">}{</span>LGR<span class="name builtin">}{</span><span class="keyword">\textsuperscript</span><span class="name builtin">{</span><span class="keyword">\textlatin</span><span class="name builtin">{</span>TM<span class="name builtin">}}}</span>
-<span class="keyword">\ProvideTextCommand</span><span class="name builtin">{</span><span class="keyword">\SS</span><span class="name builtin">}{</span>LGR<span class="name builtin">}{</span><span class="keyword">\textlatin</span><span class="name builtin">{</span>SS<span class="name builtin">}}</span>
-</pre>
-<p>They were moved to <tt class="literal">greek.ldf</tt>.</p>
+macros that expect a Latin script. These definitions are problematic in a
+font-encoding definition file as they require <tt class="literal">\textlatin</tt> which is
+defined in <tt class="literal">babel.def</tt>. They were moved to <tt class="literal">greek.ldf</tt>.</p>
</div>
</div>
<div class="section" id="diacritics">
-<h2><a class="toc-backref" href="#id19">Diacritics</a></h2>
+<h2><a class="toc-backref" href="#id16">Diacritics</a></h2>
<p>This section defines <a class="reference internal" href="#named-macros">named macros</a> for Greek diacritics and standard
<a class="reference internal" href="#symbol-macros">symbol macros</a> as alias for simple diacritics. Convenient input
conventions for <a class="reference internal" href="#composite-diacritics">composite diacritics</a> are defined as <a class="reference internal" href="#composite-definitions">composite
@@ -627,11 +430,11 @@ working also inside the tabbing environment.</p></li>
conventions (cf. <a class="reference internal" href="#uppercase">UPPERCASE</a> below) and for composite diacritics.</p></li>
</ul>
<div class="section" id="named-macros">
-<h3><a class="toc-backref" href="#id20">Named macros</a></h3>
+<h3><a class="toc-backref" href="#id17">Named macros</a></h3>
<p>Definitions are based on the <a class="reference external" href="http://www.ctan.org/pkg/teubner">teubner</a> package by Claudio Beccari, the <a class="reference external" href="http://www.ctan.org/pkg/unicode">ucs</a>
package, and the <a class="reference external" href="http://www.eutypon.gr/eutypon/pdf/e2008-20/e20-a03.pdf">babel patch</a> by Werner Lemberg. Names are derived from
-the Unicode name with the prefix “acc” (cf. <a class="reference internal" href="#how-to-name-accent-macros">How to name accent macros?</a>
-above) reducing the probability of incompatibilities compared to the
+the Unicode name with the prefix “acc” (cf. <cite>How to name accent macros?</cite>
+in the <a class="reference external" href="README.html">README</a>) reducing the probability of incompatibilities compared to the
two-letter <a class="reference external" href="http://www.ctan.org/pkg/teubner">teubner</a> diacritic macros or the “text” prefix used by <a class="reference external" href="http://www.ctan.org/pkg/unicode">ucs</a>.</p>
<p>Simple Greek diacritics:</p>
<pre class="literal-block">\DeclareTextAccent{\accdialytika}{LGR}{34} % διαλυτικά (diaeresis/trema)
@@ -671,120 +474,52 @@ of additional diacritic symbols:</p>
</pre>
</div>
<div class="section" id="aliases">
-<h3><a class="toc-backref" href="#id21">Aliases</a></h3>
-<p><span class="target" id="symbol-macros">Symbol macros</span>:</p>
+<h3><a class="toc-backref" href="#id18">Aliases</a></h3>
+<p>The standard <span class="target" id="symbol-macros">symbol macros</span> are exclusively used for Greek diacritics
+in LGR:</p>
<pre class="literal-block">\DeclareTextCommand{\&quot;}{LGR}{\accdialytika}
\DeclareTextCommand{\'}{LGR}{\acctonos}
\DeclareTextCommand{\`}{LGR}{\accvaria}
\DeclareTextCommand{\~}{LGR}{\accperispomeni}
-\DeclareTextCommand{\&lt;}{LGR}{\accdasia}
-\DeclareTextCommand{\&gt;}{LGR}{\accpsili}
</pre>
-<p>TODO: do we also want alternative symbols for the breathings (cf. X compose
-table, LCI encoding)?</p>
-<pre class="code latex literal-block"><span class="keyword">\DeclareTextCommand</span><span class="name builtin">{</span><span class="literal string">\(</span><span class="name builtin">}{LGR}{</span><span class="name variable">\accdasia</span><span class="name builtin">}
-</span><span class="name variable">\DeclareTextCommand</span><span class="name builtin">{</span><span class="literal string">\)</span><span class="name builtin">}{</span>LGR<span class="name builtin">}{</span><span class="keyword">\accpsili</span><span class="name builtin">}</span>
+<p>The <a class="reference external" href="http://en.wikipedia.org/wiki/Hypogegrammeni">sub-iota</a> is input after the base character. In LGR fonts, ligatures are
+defined for pre-composed characters, the postfix ligature does not interfere
+with kerning:</p>
+<pre class="literal-block">\DeclareTextSymbol{\prosgegrammeni}{LGR}{8} % ι &quot;capital&quot; sub-iota
+\DeclareTextSymbol{\ypogegrammeni}{LGR}{124} % ͺ &quot;small&quot; sub-iota
</pre>
-<p>Two Unicode names for one character:</p>
-<pre class="literal-block">\DeclareTextCommand{\accoxia}{LGR}{\acctonos}
-\DeclareTextCommand{\acckoronis}{LGR}{\accpsili}
+<p>For classical Greek and linguistics, the LGR font encoding contains a number
+of additional diacritic symbols:</p>
+<pre class="literal-block">\DeclareTextAccent{\accinvertedbrevebelow}{LGR}{1} % INVERTED BREVE BELOW
+\DeclareTextAccent{\textsubarch}{LGR}{1} % (tipa)
+\DeclareTextAccent{\accbrevebelow}{LGR}{20} % BREVE BELOW
+\DeclareTextAccent{\u}{LGR}{30} % BREVE
+\DeclareTextAccent{\=}{LGR}{31} % MACRON
</pre>
</div>
</div>
+<div class="section" id="common-greek-font-encoding-definitions">
+<h2><a class="toc-backref" href="#id19">Common Greek font encoding definitions</a></h2>
+<p>The file greek-fontenc.def contains font encoding definitions that are
+shared by font encodings providing Greek characters:</p>
+<pre class="literal-block">\input{greek-fontenc.def}
+</pre>
+</div>
<div class="section" id="composite-definitions">
-<h2><a class="toc-backref" href="#id22">Composite definitions</a></h2>
+<h2><a class="toc-backref" href="#id20">Composite definitions</a></h2>
<div class="section" id="composite-diacritics">
-<h3><a class="toc-backref" href="#id23">Composite diacritics</a></h3>
+<h3><a class="toc-backref" href="#id21">Composite diacritics</a></h3>
<p>Composite accents can be input as sequence of simple diacritics (in
arbitrary order) via named macro, symbol macro and “transcription
characters”, e.g. <tt class="literal">\accdialytica\accvaria\textalpha</tt>, <tt class="literal"><span class="pre">\&quot;\'\textalpha</span></tt>,
<tt class="literal"><span class="pre">\&quot;'\textalpha</span></tt>, or <tt class="literal"><span class="pre">\'&quot;\textalpha</span></tt>.</p>
-<p>Separate definitions for the supported variants of the second input token
-are required as composition is based on the non-expanded input</p>
-<p>The composition with simple “transcription characters” must also be defined
-for the symbol macros, otherwise it fails with <tt class="literal">\Makeuppercase</tt>):</p>
-<pre class="literal-block">\DeclareTextCompositeCommand{\accdialytika}{LGR}{\acctonos}{\accdialytikatonos}
-\DeclareTextCompositeCommand{\accdialytika}{LGR}{\'}{\accdialytikatonos}
-\DeclareTextCompositeCommand{\accdialytika}{LGR}{'}{\accdialytikatonos}
-\DeclareTextCompositeCommand{\&quot;}{LGR}{'}{\accdialytikatonos}
-\DeclareTextCompositeCommand{\accdialytika}{LGR}{\accvaria}{\accdialytikavaria}
-\DeclareTextCompositeCommand{\accdialytika}{LGR}{\`}{\accdialytikavaria}
-\DeclareTextCompositeCommand{\accdialytika}{LGR}{`}{\accdialytikavaria}
-\DeclareTextCompositeCommand{\&quot;}{LGR}{`}{\accdialytikavaria}
-\DeclareTextCompositeCommand{\accdialytika}{LGR}{\accperispomeni}{\accdialytikaperispomeni}
-\DeclareTextCompositeCommand{\accdialytika}{LGR}{\~}{\accdialytikaperispomeni}
-\DeclareTextCompositeCommand{\accdialytika}{LGR}{~}{\accdialytikaperispomeni}
-\DeclareTextCompositeCommand{\&quot;}{LGR}{~}{\accdialytikaperispomeni}
-
-\DeclareTextCompositeCommand{\acctonos}{LGR}{\accdialytika}{\accdialytikatonos}
-\DeclareTextCompositeCommand{\acctonos}{LGR}{\&quot;}{\accdialytikatonos}
-\DeclareTextCompositeCommand{\acctonos}{LGR}{&quot;}{\accdialytikatonos}
-\DeclareTextCompositeCommand{\'}{LGR}{&quot;}{\accdialytikatonos}
-\DeclareTextCompositeCommand{\acctonos}{LGR}{\accdasia}{\accdasiaoxia}
-\DeclareTextCompositeCommand{\acctonos}{LGR}{\&lt;}{\accdasiaoxia}
-\DeclareTextCompositeCommand{\acctonos}{LGR}{&lt;}{\accdasiaoxia}
-\DeclareTextCompositeCommand{\'}{LGR}{&lt;}{\accdasiaoxia}
-\DeclareTextCompositeCommand{\acctonos}{LGR}{\accpsili}{\accpsilioxia}
-\DeclareTextCompositeCommand{\acctonos}{LGR}{\&gt;}{\accpsilioxia}
-\DeclareTextCompositeCommand{\acctonos}{LGR}{&gt;}{\accpsilioxia}
-\DeclareTextCompositeCommand{\'}{LGR}{&gt;}{\accpsilioxia}
-
-\DeclareTextCompositeCommand{\accvaria}{LGR}{\accdialytika}{\accdialytikavaria}
-\DeclareTextCompositeCommand{\accvaria}{LGR}{\&quot;}{\accdialytikavaria}
-\DeclareTextCompositeCommand{\accvaria}{LGR}{&quot;}{\accdialytikavaria}
-\DeclareTextCompositeCommand{\`}{LGR}{&quot;}{\accdialytikavaria}
-\DeclareTextCompositeCommand{\accvaria}{LGR}{\accdasia}{\accdasiavaria}
-\DeclareTextCompositeCommand{\accvaria}{LGR}{\&lt;}{\accdasiavaria}
-\DeclareTextCompositeCommand{\accvaria}{LGR}{&lt;}{\accdasiavaria}
-\DeclareTextCompositeCommand{\`}{LGR}{&lt;}{\accdasiavaria}
-\DeclareTextCompositeCommand{\accvaria}{LGR}{\accpsili}{\accpsilivaria}
-\DeclareTextCompositeCommand{\accvaria}{LGR}{\&gt;}{\accpsilivaria}
-\DeclareTextCompositeCommand{\accvaria}{LGR}{&gt;}{\accpsilivaria}
-\DeclareTextCompositeCommand{\`}{LGR}{&gt;}{\accpsilivaria}
-
-\DeclareTextCompositeCommand{\accperispomeni}{LGR}{\accdialytika}{\accdialytikaperispomeni}
-\DeclareTextCompositeCommand{\accperispomeni}{LGR}{\&quot;}{\accdialytikaperispomeni}
-\DeclareTextCompositeCommand{\accperispomeni}{LGR}{&quot;}{\accdialytikaperispomeni}
-\DeclareTextCompositeCommand{\~}{LGR}{&quot;}{\accdialytikaperispomeni}
-\DeclareTextCompositeCommand{\accperispomeni}{LGR}{\accdasia}{\accdasiaperispomeni}
-\DeclareTextCompositeCommand{\accperispomeni}{LGR}{\&lt;}{\accdasiaperispomeni}
-\DeclareTextCompositeCommand{\accperispomeni}{LGR}{&lt;}{\accdasiaperispomeni}
-\DeclareTextCompositeCommand{\~}{LGR}{&lt;}{\accdasiaperispomeni}
-\DeclareTextCompositeCommand{\accperispomeni}{LGR}{\accpsili}{\accpsiliperispomeni}
-\DeclareTextCompositeCommand{\accperispomeni}{LGR}{\&gt;}{\accpsiliperispomeni}
-\DeclareTextCompositeCommand{\accperispomeni}{LGR}{&gt;}{\accpsiliperispomeni}
-\DeclareTextCompositeCommand{\~}{LGR}{&gt;}{\accpsiliperispomeni}
-
-\DeclareTextCompositeCommand{\accpsili}{LGR}{\acctonos}{\accpsilioxia}
-\DeclareTextCompositeCommand{\accpsili}{LGR}{\'}{\accpsilioxia}
-\DeclareTextCompositeCommand{\accpsili}{LGR}{'}{\accpsilioxia}
-\DeclareTextCompositeCommand{\&gt;}{LGR}{'}{\accpsilioxia}
-\DeclareTextCompositeCommand{\accpsili}{LGR}{\accvaria}{\accpsilivaria}
-\DeclareTextCompositeCommand{\accpsili}{LGR}{\`}{\accpsilivaria}
-\DeclareTextCompositeCommand{\accpsili}{LGR}{`}{\accpsilivaria}
-\DeclareTextCompositeCommand{\&gt;}{LGR}{`}{\accpsilivaria}
-\DeclareTextCompositeCommand{\accpsili}{LGR}{\accperispomeni}{\accpsiliperispomeni}
-\DeclareTextCompositeCommand{\accpsili}{LGR}{\~}{\accpsiliperispomeni}
-\DeclareTextCompositeCommand{\accpsili}{LGR}{~}{\accpsiliperispomeni}
-\DeclareTextCompositeCommand{\&gt;}{LGR}{~}{\accpsiliperispomeni}
-
-\DeclareTextCompositeCommand{\accdasia}{LGR}{\acctonos}{\accdasiaoxia}
-\DeclareTextCompositeCommand{\accdasia}{LGR}{\'}{\accdasiaoxia}
-\DeclareTextCompositeCommand{\accdasia}{LGR}{'}{\accdasiaoxia}
-\DeclareTextCompositeCommand{\&lt;}{LGR}{'}{\accdasiaoxia}
-\DeclareTextCompositeCommand{\accdasia}{LGR}{\accvaria}{\accdasiavaria}
-\DeclareTextCompositeCommand{\accdasia}{LGR}{\`}{\accdasiavaria}
-\DeclareTextCompositeCommand{\accdasia}{LGR}{`}{\accdasiavaria}
-\DeclareTextCompositeCommand{\&lt;}{LGR}{`}{\accdasiavaria}
-\DeclareTextCompositeCommand{\accdasia}{LGR}{\accperispomeni}{\accdasiaperispomeni}
-\DeclareTextCompositeCommand{\accdasia}{LGR}{\~}{\accdasiaperispomeni}
-\DeclareTextCompositeCommand{\&lt;}{LGR}{~}{\accdasiaperispomeni}
-</pre>
+<p>The actual declarations are part of the <a class="reference internal" href="#common-greek-font-encoding-definitions">common Greek font encoding
+definitions</a>.</p>
</div>
<div class="section" id="pre-composed-letters">
-<h3><a class="toc-backref" href="#id24">Pre-composed letters</a></h3>
+<h3><a class="toc-backref" href="#id22">Pre-composed letters</a></h3>
<div class="section" id="small-letters-with-diacritics">
-<h4><a class="toc-backref" href="#id25">Small letters with diacritics</a></h4>
+<h4><a class="toc-backref" href="#id23">Small letters with diacritics</a></h4>
<p>(from <a class="reference external" href="http://www.ctan.org/pkg/teubner">teubner</a> with changed names of the composite accents):</p>
<pre class="literal-block">\DeclareTextComposite{\accvaria}{LGR}{a}{128}
\DeclareTextComposite{\accdasia}{LGR}{a}{129}
@@ -953,7 +688,7 @@ for the symbol macros, otherwise it fails with <tt class="literal">\Makeuppercas
</pre>
</div>
<div class="section" id="capital-letters-with-diacritics">
-<h4><a class="toc-backref" href="#id26">Capital letters with diacritics</a></h4>
+<h4><a class="toc-backref" href="#id24">Capital letters with diacritics</a></h4>
<blockquote>
<p>In Greek, diacritics are omitted in all-uppercase words, but kept as part
of an uppercase initial (written before rather than above the letter).</p>
@@ -1117,113 +852,12 @@ in cases where they are not needed when writing in lowercase)</p>
</div>
</div>
<div class="section" id="uppercase">
-<h2><a class="toc-backref" href="#id27">UPPERCASE</a></h2>
-<div class="section" id="uclclist-extension">
-<h3><a class="toc-backref" href="#id28">&#64;uclclist extension</a></h3>
-<p>If UPPERCASE (all-caps) is generated with <tt class="literal">\MakeUppercase</tt>, macro
-substitutions in the <tt class="literal">\&#64;uclclist</tt> apply. This can be used to drop the
-diacritics (except dialytika).</p>
-<p>Based on the <a class="reference external" href="http://www.eutypon.gr/eutypon/pdf/e2008-20/e20-a03.pdf">babel patch</a> and <tt class="literal">fontenc.sty</tt>.</p>
-<p>The definition or an auxiliary, self-restting macro makes this idempotent
-(only the first use of this function will expand the <tt class="literal">&#64;uclclist</tt>).
-The second and third lines are TeX’ way of writing <tt class="literal">uclclist += …</tt>:</p>
-<pre class="literal-block">\providecommand*\update&#64;uclc&#64;with&#64;greek{%
- \expandafter\def\expandafter\&#64;uclclist\expandafter{%
- \&#64;uclclist
- \accdasia\LGR&#64;accdropped
- \accdasiaoxia\LGR&#64;hiatus
- \accdasiavaria\LGR&#64;accdropped
- \accdasiaperispomeni\LGR&#64;accdropped
- \accpsili\LGR&#64;hiatus
- \accpsilioxia\LGR&#64;hiatus
- \accpsilivaria\LGR&#64;hiatus
- \accpsiliperispomeni\LGR&#64;accdropped
- \acctonos\LGR&#64;hiatus
- \accvaria\LGR&#64;accdropped
- \accdialytikatonos\LGR&#64;accDialytika
- \accdialytikavaria\LGR&#64;accDialytika
- \accdialytikaperispomeni\LGR&#64;accDialytika
- \accperispomeni\LGR&#64;accdropped
- \ypogegrammeni\prosgegrammeni
- %
- \textalpha \textAlpha
- \textbeta \textBeta
- \textgamma \textGamma
- \textdelta \textDelta
- \textepsilon\textEpsilon
- \textzeta \textZeta
- \texteta \textEta
- \texttheta \textTheta
- \textiota \textIota
- \textkappa \textKappa
- \textlambda \textLambda
- \textmu \textMu
- \textnu \textNu
- \textxi \textXi
- \textomicron\textOmicron
- \textpi \textPi
- \textrho \textRho
- \textvarsigma \textSigma
- \textsigma \textSigma
- \textautosigma \textSigma
- \texttau \textTau
- \textupsilon\textUpsilon
- \textphi \textPhi
- \textchi \textChi
- \textpsi \textPsi
- \textomega \textOmega
- %
- \textqoppa \textQoppa
- \textvarstigma \textStigma
- \textstigma \textStigma
- \textsampi \textSampi
- \textdigamma \textDigamma
- }%
- \let\update&#64;uclc&#64;with&#64;greek\relax
-}
-</pre>
-<p>Expand the uclc list with the just defined macro:</p>
-<pre class="literal-block">\update&#64;uclc&#64;with&#64;greek
-</pre>
-</div>
-<div class="section" id="substitution-macros">
-<h3><a class="toc-backref" href="#id29">Substitution macros</a></h3>
-<div class="section" id="drop-diacritics">
-<h4><a class="toc-backref" href="#id30">Drop diacritics</a></h4>
-<pre class="literal-block">\DeclareTextCommand{\LGR&#64;accdropped}{LGR}[1]{#1}
-</pre>
-<p>(The argument processing ensures that kerning is preserved)</p>
-</div>
-<div class="section" id="keep-dialytika">
-<h4><a class="toc-backref" href="#id31">Keep dialytika.</a></h4>
-<p>Define a dummy alias so that downcasing with <tt class="literal">\MakeLowercase</tt> does not
-convert a simple dialytika to a composite accent:</p>
-<pre class="literal-block">\DeclareTextCommand{\LGR&#64;accDialytika}{LGR}{\accdialytika}
-
-\DeclareTextCompositeCommand{\accdialytika}{LGR}{\LGR&#64;hiatus}{\accdialytika}
-</pre>
-<!-- TODO: MakeUppercase with ``\"'`` fails if the language is "greek".
-How can we specify a composite command with character ``"9F``,
-the uccode of ``'``?
-
-% \DeclareTextCompositeCommand{\LGR@accDialytika}{LGR}{"9F}{\accdialytika}
-% \DeclareTextAccent{\LGR@accDialytika}{LGR}{34} % upcase Dialytika
-% \DeclareTextCompositeCommand{\LGR@accDialytika}{LGR}{\LGR@hiatus}{\accdialytika}
-% \DeclareTextCompositeCommand{\LGR@accDialytika}{LGR}{'}{\accdialytika} -->
-</div>
-<div class="section" id="mark-hiatus">
-<h4><a class="toc-backref" href="#id32">Mark hiatus</a></h4>
-<p>Tonos and dasia mark a hiatus if placed on the
-first vowel of a diphthong (ΑΙ, ΑΥ, ΕΙ). A dialytika must be placed on the
-second vowel if they are dropped (άυλος → ΑΫΛΟΣ, μάινα → ΜΑΪΝΑ, κέικ → ΚΕΪΚ,
-ἀυπνία → ΑΫΠΝΙΑ):</p>
-<pre class="literal-block">\DeclareTextCommand{\LGR&#64;hiatus}{LGR}[1]{#1}
-\DeclareTextCompositeCommand{\LGR&#64;hiatus}{LGR}{&gt;}{\LGR&#64;hiatus}
-\DeclareTextCompositeCommand{\LGR&#64;hiatus}{LGR}{&lt;}{\LGR&#64;accdropped}
-\DeclareTextCompositeCommand{\LGR&#64;hiatus}{LGR}{A}{\LGR&#64;A&#64;hiatus}
-\DeclareTextCompositeCommand{\LGR&#64;hiatus}{LGR}{\textAlpha}{\LGR&#64;A&#64;hiatus}
+<h2><a class="toc-backref" href="#id25">UPPERCASE</a></h2>
+<p>The <a class="reference internal" href="#common-greek-font-encoding-definitions">common Greek font encoding definitions</a> in <tt class="literal"><span class="pre">greek-fontenc.def</span></tt> extend
+the <cite>uclclist</cite> with Greek LICR macros. Here, we add LGR specific “hiatus”
+handling:</p>
+<pre class="literal-block">\DeclareTextCompositeCommand{\LGR&#64;hiatus}{LGR}{A}{\LGR&#64;A&#64;hiatus}
\DeclareTextCompositeCommand{\LGR&#64;hiatus}{LGR}{E}{\LGR&#64;E&#64;hiatus}
-\DeclareTextCompositeCommand{\LGR&#64;hiatus}{LGR}{\textEpsilon}{\LGR&#64;E&#64;hiatus}
</pre>
<p>TODO: What does the <a class="reference external" href="mailto:LGR&#64;hiatus">LGR&#64;hiatus</a> command “see” if an unicode literal follows?</p>
<pre class="code latex literal-block"><span class="comment">% \DeclareTextCompositeCommand{\LGR&#64;hiatus}{LGR}{\symbol{&quot;ce}}{bluff}
@@ -1250,22 +884,6 @@ second vowel if they are dropped (άυλος → ΑΫΛΟΣ, μάινα → ΜΑ
}%
}
</pre>
-<p>As <tt class="literal">\&#64;ifnextchar</tt> gobbles spaces the lookahead macro definition from
-<tt class="literal">amsgen.sty</tt> is used:</p>
-<blockquote>
-<p>This macro is a new version of LaTeX’s <tt class="literal">\&#64;ifnextchar</tt>, macro
-that does not skip over spaces.</p>
-</blockquote>
-<pre class="literal-block">\ProvideTextCommand{\LGR&#64;ifnextchar}{LGR}[3]{%
- \let\reserved&#64;d= #1%
- \def\reserved&#64;a{#2}\def\reserved&#64;b{#3}%
- \futurelet\&#64;let&#64;token\LGR&#64;ifnch
-}
-\ProvideTextCommand{\LGR&#64;ifnch}{LGR}{%
- \ifx\&#64;let&#64;token\reserved&#64;d \let\reserved&#64;b\reserved&#64;a \fi
- \reserved&#64;b
-}
-</pre>
<p>Unfortunately, the lookahead breaks kerning.</p>
<p>Alternatives tried:</p>
<ul>
@@ -1293,7 +911,5 @@ not require kerning anyway.</p>
</div>
</div>
</div>
-</div>
-</div>
</body>
</html>
diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/lgrenc.def.txt b/Master/texmf-dist/doc/latex/greek-fontenc/lgrenc.def.txt
index df207bb265e..8b6ea9fa8ac 100644
--- a/Master/texmf-dist/doc/latex/greek-fontenc/lgrenc.def.txt
+++ b/Master/texmf-dist/doc/latex/greek-fontenc/lgrenc.def.txt
@@ -49,6 +49,7 @@ lgrx_ bundle. With version 0.8, it moved to ``greek-fontenc/lgrx.def``.
0.8.2 2013-05-23 fix name: ``\textpentehkaton`` -> ``\textpentehekaton``,
.. fix ``\textperiodcentered``,
.. add composite command for Ῥ (Rho with Dasia).
+0.8.3 unpublished add composite commands for single quotation marks
===== ============ ========================================================
Usage
@@ -232,7 +233,7 @@ Identification
::
\ProvidesFile{lgrenc.def}
- [2013/05/24 v0.8.2 LGR Greek font encoding definitions]
+ [2013/06/11 v0.8.3 LGR Greek font encoding definitions]
% Copyright © 2010 Günter Milde
% This file is part of the "greek-fontenc" package.
% It may be distributed and/or modified under the
@@ -440,16 +441,16 @@ T1::
TS1::
- \ProvideTextCommand{\textasciibreve}{LGR}{\char30\textcompwordmark} % ˘
- \ProvideTextCommand{\textasciimacron}{LGR}{\char31\textcompwordmark} % ¯
- \ProvideTextCommand{\textasciidieresis}{LGR}{\char34\textcompwordmark} % "
- \ProvideTextCommand{\textasciiacute}{LGR}{\char39\textcompwordmark} % '
- \ProvideTextCommand{\textasciigrave}{LGR}{\char96\textcompwordmark} % `
- \DeclareTextCommand{\textasciitilde}{LGR}{\char126\textcompwordmark} % ~
+ \ProvideTextCommand{\textasciibreve}{LGR}{\char30\textcompwordmark} % ˘
+ \ProvideTextCommand{\textasciimacron}{LGR}{\char31\textcompwordmark} % ¯
+ \ProvideTextCommand{\textasciidieresis}{LGR}{"\textcompwordmark} % "
+ \ProvideTextCommand{\textasciiacute}{LGR}{'\textcompwordmark} % '
+ \ProvideTextCommand{\textasciigrave}{LGR}{`\textcompwordmark} % `
+ \DeclareTextCommand{\textasciitilde}{LGR}{\char126\textcompwordmark} % ~
\DeclareTextSymbol{\textohm}{LGR}{87} % Ω (Ohm sign -> Omega)
\DeclareTextSymbol{\texteuro}{LGR}{24} % € \euro in greek.ldf
\DeclareTextSymbol{\textpercent}{LGR}{37} % %
- \DeclareTextSymbol{\textperthousand}{LGR}{25} % ‰ \permille in greek.ldf
+ \DeclareTextSymbol{\textperthousand}{LGR}{25} % ‰ \permill in greek.ldf
T3::
@@ -629,6 +630,8 @@ for the symbol macros, otherwise it fails with ``\Makeuppercase``)::
\DeclareTextCompositeCommand{\acctonos}{LGR}{\>}{\accpsilioxia}
\DeclareTextCompositeCommand{\acctonos}{LGR}{>}{\accpsilioxia}
\DeclareTextCompositeCommand{\'}{LGR}{>}{\accpsilioxia}
+ \DeclareTextCompositeCommand{\'}{LGR}{'}{\textquoteright}
+ \DeclareTextCompositeCommand{\'}{LGR}{\'}{\textquoteright}
\DeclareTextCompositeCommand{\accvaria}{LGR}{\accdialytika}{\accdialytikavaria}
\DeclareTextCompositeCommand{\accvaria}{LGR}{\"}{\accdialytikavaria}
@@ -642,6 +645,8 @@ for the symbol macros, otherwise it fails with ``\Makeuppercase``)::
\DeclareTextCompositeCommand{\accvaria}{LGR}{\>}{\accpsilivaria}
\DeclareTextCompositeCommand{\accvaria}{LGR}{>}{\accpsilivaria}
\DeclareTextCompositeCommand{\`}{LGR}{>}{\accpsilivaria}
+ \DeclareTextCompositeCommand{\`}{LGR}{`}{\textquoteleft}
+ \DeclareTextCompositeCommand{\`}{LGR}{\`}{\textquoteleft}
\DeclareTextCompositeCommand{\accperispomeni}{LGR}{\accdialytika}{\accdialytikaperispomeni}
\DeclareTextCompositeCommand{\accperispomeni}{LGR}{\"}{\accdialytikaperispomeni}
@@ -1058,7 +1063,6 @@ The second and third lines are TeX' way of writing ``uclclist += …``::
\accdialytikaperispomeni\LGR@accDialytika
\accperispomeni\LGR@accdropped
\ypogegrammeni\prosgegrammeni
- %
\textalpha \textAlpha
\textbeta \textBeta
\textgamma \textGamma
@@ -1085,7 +1089,6 @@ The second and third lines are TeX' way of writing ``uclclist += …``::
\textchi \textChi
\textpsi \textPsi
\textomega \textOmega
- %
\textqoppa \textQoppa
\textvarstigma \textStigma
\textstigma \textStigma
@@ -1095,7 +1098,7 @@ The second and third lines are TeX' way of writing ``uclclist += …``::
\let\update@uclc@with@greek\relax
}
-Expand the uclc list with the just defined macro::
+Expand the uclc list using the just defined macro::
\update@uclc@with@greek
diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/test-euenc.pdf b/Master/texmf-dist/doc/latex/greek-fontenc/test-euenc.pdf
new file mode 100644
index 00000000000..2b0c1814cac
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/greek-fontenc/test-euenc.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/test-euenc.tex b/Master/texmf-dist/doc/latex/greek-fontenc/test-euenc.tex
new file mode 100644
index 00000000000..fa0e55a3dc5
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/greek-fontenc/test-euenc.tex
@@ -0,0 +1,580 @@
+\documentclass[a4paper]{article}
+% \usepackage{textcomp}
+% \usepackage{hyperref,bookmark}
+\usepackage{parskip}
+% \usepackage{booktabs}
+
+\usepackage{fontspec}
+% \setmainfont{DejaVu Serif}
+% \setsansfont{DejaVu Sans}
+% \usepackage{libertineotf}
+\setmainfont{FreeSerif}
+
+% Declare the font encoding:
+\ifdefined\XeTeXrevision
+ % \DeclareFontEncoding{EU1}{}{}
+ \usepackage[EU1]{fontenc}
+\fi
+\ifdefined\luatexversion
+ % \DeclareFontEncoding{EU2}{}{}
+ \usepackage[EU2]{fontenc}
+\fi
+
+
+% \newcommand{\UTFencname}{\LastDeclaredEncoding}
+% \usepackage{xunicode}
+\makeatletter
+% Greek LICR definitions:
+\input{greek-euenc.def}
+\makeatother
+
+\begin{document}
+
+\section*{Greek LICR definitions with XeTeX/LuaTeX}
+
+Typesetting Greek texts requires a font containing Greek letters. With the
+XeTeX or LuaTeX engines, the user should ensure that the choosen font
+contains the required glyphs (the default Latin Modern fonts have only
+capital Greek letters). Examples for suitable fonts are the “Deja Vu” or
+the “Linux Libertine” OpenType fonts.
+
+\section{LICR input}
+
+% The example from \texttt{usage.tex} in \emph{babel-greek} input
+% using the LICR macros:
+
+% \begin{quote}
+% \textTau\'\textiota{}
+% \textphi\'\texteta\textiota\textfinalsigma\texterotimatiko{}
+% \<\textIota\textdelta\`\textomega\textnu{}
+% \>\textepsilon\textnu\texttheta\'\textepsilon\textdelta\textepsilon{}
+% \textpi\textalpha\~\textiota\textdelta\'\'
+% \>\textepsilon\textlambda\textepsilon\textupsilon\texttheta\'\textepsilon\textrho\textalpha\textnu\\
+% \texttau\`\textalpha\textfinalsigma{}
+% \textpi\textlambda\texteta\textautosigma\'\textiota\textomicron\textnu{}
+% \textNu\'\textupsilon\textmu\textphi\textalpha\textfinalsigma{}
+% \textautosigma\texttau\textepsilon\textphi\textalpha\textnu\textomicron\~\textupsilon\textautosigma\textalpha\textnu{},
+% \textSigma\'\textomega\textautosigma\texttau\textrho\textalpha\texttau\textepsilon{},\\
+% \>\textepsilon\textrho\~\textomega\textnu{}
+% \'\textalpha\textpi\~\texteta\textlambda\texttheta\textepsilon\textfinalsigma{}
+% \textepsilon\>\textupsilon\texttheta\'\textupsilon\textfinalsigma\texterotimatiko{}
+% \end{quote}
+
+\subsection{Greek alphabet}
+
+Greek letters via LICR macros:
+
+
+\textAlpha{} \textBeta{} \textGamma{} \textDelta{} \textEpsilon{}
+\textZeta{} \textEta{} \textTheta{} \textIota{} \textKappa{}
+\textLambda{} \textMu{} \textNu{} \textXi{} \textOmicron{} \textPi{}
+\textRho{} \textSigma{} \textTau{} \textUpsilon{} \textPhi{}
+\textChi{} \textPsi{} \textOmega{}
+
+\textalpha{} \textbeta{} \textgamma{} \textdelta{} \textepsilon{}
+\textzeta{} \texteta{} \texttheta{} \textiota{} \textkappa{}
+\textlambda{} \textmu{} \textnu{} \textxi{} \textomicron{} \textpi{}
+\textrho{} \textsigma{} \texttau{} \textupsilon{}
+\textphi{} \textchi{} \textpsi{} \textomega{}
+
+The small sigma is set with a different
+glyph if it ends a word:
+
+ \textsigma{} textsigma \\
+ \textfinalsigma{} textfinalsigma or textvarsigma
+
+In the Latin transcription, the letter `s' stands for \verb|\textautosigma|
+which automatically chooses the glyph according to the position.
+
+\subsection{Additional Greek symbols}
+
+\textkoppa{} textkoppa \\ % ϟ
+\textqoppa{} textqoppa (archaic koppa) \\ % ϙ
+\textQoppa{} textQoppa (archaic Koppa) \\ % Ϙ
+\textstigma{} textstigma \\ % ϛ
+% \textvarstigma{} textvarstigma \\ % no separate Unicode character
+\textStigma{} textStigma (Sigma-Tau-Ligature in CB-fonts)%
+\footnote{the name “stigma” originally applied to a medieval sigma-tau
+ ligature, whose shape was confusably similar to the cursive
+ digamma} \\ % Ϛ
+\textsampi{} textsampi \\ % ϡ
+\textSampi{} textSampi \\ % Ϡ
+\textdigamma{} textdigamma \\ % ϝ (\digamma used by amsmath!)
+\textDigamma{} textDigamma \\ % Ϝ
+% numeral signs: http://en.wikipedia.org/wiki/Greek_numerals
+\textdexiakeraia{} textdexiakeraia \\ % ʹ
+\textaristerikeraia{} textaristerikeraia \\ % ͵
+
+Mathematical notation uses variant shapes for pi, kappa, rho, theta, and phi
+as additional symbols. These variations have no syntactic meaning in Greek
+text and are not given separate code-points in the LGR text encoding. Some
+text fonts use the variant shapes in place of the “regular” ones.
+
+TeX's concept of “standard” vs. “variant” symbols does not map to the
+distinction between “Greek Letter ...” vs. “Greek Symbol ...” in the
+Unicode standard:
+
+\begin{tabular}{cccc}
+math symbol & Unicode «letter» & var math symbol & Unicode «symbol» \\
+$\epsilon$ & ε & $\varepsilon$ & ϵ \\
+$\kappa$ & κ & \emph{missing} & ϰ \\
+$\pi$ & π & $\varpi$ & ϖ \\
+$\rho$ & ρ & $\varrho$ & ϱ \\
+$\theta$ & θ & $\vartheta$ & ϑ \\
+$\phi$ & φ & $\varphi$ & ϕ \\
+\end{tabular}
+
+\subsection{Diacritics}
+
+Greek diacritcs can be input by named macro or symbol macro. Named macros
+are defined in xunicode-greek.sty for \verb|\LastDeclaredEncoding| (here
+\LastDeclaredEncoding).
+
+\acctonos\textalpha \'\textalpha{} \acctonos x\'x
+\accvaria\textalpha \`\textalpha{} \accvaria x\`x
+\accdialytika\textiota \"\textiota{} \accdialytika x\"x
+\accperispomeni\textalpha \~\textalpha{} \accperispomeni x\~x
+\accpsili\textalpha \>\textalpha{} \accpsili x\>x
+\accdasia\textalpha \<\textalpha{} \accdasia x\<x
+
+Composite commands for combined diacritics are defined in
+“greek-fontenc.def”, also for the \verb|\LastDeclaredEncoding|. There are
+composite definitions for all pre-composed characters, the fallback
+definition uses composite characters:
+
+\accdialytikatonos\textiota \"'\textiota{} \accdialytikatonos x \"'x
+\accdialytikavaria\textiota \"`\textiota{} \accdialytikavaria x \"`x
+\accdialytikaperispomeni\textiota \~"\textiota{} \accdialytikaperispomeni x \~"x
+
+\accdasiaoxia\textiota \<'\textiota{} \accdasiaoxia x \<'x
+\accdasiavaria\textiota \<`\textiota{} \accdasiavaria x \<`x
+\accdasiaperispomeni\textiota \~<\textiota{} \accdasiaperispomeni x \~<x
+
+\accpsilioxia\textiota \>'\textiota{} \accpsilioxia x \>'x
+\accpsilivaria\textiota \>`\textiota{} \accpsilivaria x \>`x
+\accpsiliperispomeni\textiota \~>\textiota{} \accpsiliperispomeni x \~>x
+
+Problems: Composite diacritics with breathings overlap when set using two
+combining characters (in the tested fonts).
+
+
+Upcasing with \verb|\MakeUppercase| drops diacritics (except
+dialytika and sub-iota):
+
+\MakeUppercase{
+\accdialytikatonos\textiota \"'\textiota{} \accdialytikatonos x \"'x
+\accdialytikavaria\textiota \"`\textiota{} \accdialytikavaria x \"`x
+\accdialytikaperispomeni\textiota \~"\textiota{} \accdialytikaperispomeni x \~"x
+}
+
+\MakeUppercase{
+\accdasiaoxia\textiota \<'\textiota{} \accdasiaoxia x \<'x
+\accdasiavaria\textiota \<`\textiota{} \accdasiavaria x \<`x
+\accdasiaperispomeni\textiota \~<\textiota{} \accdasiaperispomeni x \~<x
+}
+
+\MakeUppercase{
+\accpsilioxia\textiota \>'\textiota{} \accpsilioxia x \>'x
+\accpsilivaria\textiota \>`\textiota{} \accpsilivaria x \>`x
+\accpsiliperispomeni\textiota \~>\textiota{} \accpsiliperispomeni x \~>x
+}
+
+
+The sub-iota is input after the base letter.
+Ligature definitions in the 8-bit LGR fonts ensure that pre-composed
+characters are used. This does not work with XeTeX/LuaTeX:\footnote{%
+ When copy/pasting generated output from the “evince” PDF
+ viewer, the COMBINING GREEK YPOGEGRAMMENI is merged with the base
+ character. A capital letter + combining ypogegrammeni results in GREEK
+ CAPITAL LETTER ... WITH [.. AND] PROSGEGRAMMENI). This indicates that for
+ a subfix (in contrast to post-fix) prosgegrammeni, the combining
+ \emph{ypogegrammeni} could be used together with a captial base letter.}
+
+\textalpha\ypogegrammeni{} x\ypogegrammeni{} \textAlpha\prosgegrammeni{}
+X\prosgegrammeni, see also the \emph{Greek extended} Unicode block below.
+
+Both, the standard LaTeX and the “xunicode” composite mechanism require
+the first part of a composite definition to be a macro requiring one
+argument. I.e. selecting pre-defined characters with sub-iota requires
+prefix \verb|\accypogegrammeni{}| and \verb|\accprosgegrammeni| accent
+macros.
+
+\subsection{Greek and Coptic Unicode block}
+
+Greek symbols from the Greek and Coptic Unicode block are fully supported:
+
+% NR Unicode Name % babel name, UCS name
+% 0370 GREEK CAPITAL LETTER HETA % Ͱ
+% 0371 GREEK SMALL LETTER HETA % ͱ
+% 0372 GREEK CAPITAL LETTER ARCHAIC SAMPI % Ͳ
+% 0373 GREEK SMALL LETTER ARCHAIC SAMPI % Ͳ
+\textnumeralsigngreek{} % ʹ \anwtonos, \textdexiakeraia
+\textnumeralsignlowergreek{} % ͵ \katwtonos, \textaristerikeraia,
+% 0376 GREEK CAPITAL LETTER PAMPHYLIAN DIGAMMA % Ͷ
+% 0377 GREEK SMALL LETTER PAMPHYLIAN DIGAMMA % ͷ
+
+\textcompwordmark\ypogegrammeni{} % ͺ \textsubiota{\empty}
+% 037B GREEK SMALL REVERSED LUNATE SIGMA SYMBOL %
+% 037C GREEK SMALL DOTTED LUNATE SIGMA SYMBOL %
+% 037D GREEK SMALL REVERSED DOTTED LUNATE SIGMA SYMBOL %
+\texterotimatiko{} % ; \textquestion
+
+\'\textcompwordmark{} % ΄
+\"'\textcompwordmark{} % ΅
+\'\textAlpha{} % Ά
+\textanoteleia{} % · \anoteleia
+\'\textEpsilon{} % Έ
+\'\textEta{} % Ή
+\'\textIota{} % Ί
+\'\textOmicron{} % Ό
+\'\textUpsilon{} % Ύ
+\'\textOmega{} % Ώ
+\'"\textiota{} % ΐ
+
+\textAlpha{} % Α
+\textBeta{} % Β
+\textGamma{} % Γ
+\textDelta{} % Δ
+\textEpsilon{} % Ε
+\textZeta{} % Ζ
+\textEta{} % Η
+\textTheta{} % Θ
+\textIota{} % Ι
+\textKappa{} % Κ
+\textLambda{} % Λ
+\textMu{} % Μ
+\textNu{} % Ν
+\textXi{} % Ξ
+\textOmicron{} % Ο
+\textPi{} % Π
+\textRho{} % Ρ
+\textSigma{} % Σ
+\textTau{} % Τ
+\textUpsilon{} % Υ
+\textPhi{} % Φ
+\textChi{} % Χ
+\textPsi{} % Ψ
+\textOmega{} % Ω
+
+\"\textIota{} % Ϊ
+\"\textUpsilon{} % Ϋ
+\'\textalpha{} % ά
+\'\textepsilon{} % έ
+\'\texteta{} % ή
+\'\textiota{} % ί
+\"'\textupsilon{} % ΰ
+
+\textalpha{} % α
+\textbeta{} % β
+\textgamma{} % γ
+\textdelta{} % δ
+\textepsilon{} % ε
+\textzeta{} % ζ
+\texteta{} % η
+\texttheta{} % θ
+\textiota{} % ι
+\textkappa{} % κ
+\textlambda{} % λ
+\textmu{} % μ \textmugreek
+\textnu{} % ν
+\textxi{} % ξ
+\textomicron{} % ο
+\textpi{} % π
+\textrho{} % ρ
+\textvarsigma{} % ς
+\textsigma{} % σ
+\texttau{} % τ
+\textupsilon{} % υ
+\textphi{} % φ
+\textchi{} % χ
+\textpsi{} % ψ
+\textomega{} % ω
+
+\"\textiota{} % ϊ
+\"\textupsilon{} % ϋ
+\'\textomicron{} % ό
+\'\textupsilon{} % ύ
+\'\textomega{} % ώ
+
+\textQoppa{} % Ϙ
+\textqoppa{} % ϙ
+\textStigma{} % Ϛ \Stigma
+\textstigma{} % ϛ \stigma
+\textDigamma{} % Ϝ \Digamma
+\textdigamma{} % ϝ \ddigamma
+%03DE GREEK LETTER KOPPA % Ϟ \textKoppagreek
+\textkoppa{} % ϟ \koppa, \textqoppa [sic!]
+\textSampi{} % Ϡ \Sampi
+\textsampi{} % ϡ \sampi
+
+
+\subsection{Greek Extended Unicode block}
+
+Characters from the Greek Extended Unicode block are only partially
+supported (multi-accented characters with sub-iota currently use a combining
+prosgegrammeni or ypogegrammeni character.
+
+For comparision, the LICR macro is followed by the same character as literal
+Unicode character:
+
+\>\textalpha ἀ
+\<\textalpha ἁ
+\>`\textalpha ἂ
+\<`\textalpha ἃ
+\>'\textalpha ἄ
+\<'\textalpha ἅ
+\~>\textalpha ἆ
+\~<\textalpha ἇ
+\>\textAlpha Ἀ
+\<\textAlpha Ἁ
+\>`\textAlpha Ἂ
+\<`\textAlpha Ἃ
+\>'\textAlpha Ἄ
+\>'\textAlpha Ἅ
+\~>\textAlpha Ἆ
+\~<\textAlpha Ἇ
+
+\>\textepsilon ἐ
+\<\textepsilon ἑ
+\>`\textepsilon ἒ
+\<`\textepsilon ἓ
+\>'\textepsilon ἔ
+\>'\textepsilon ἕ
+\>\textEpsilon Ἐ
+\<\textEpsilon Ἑ
+\>`\textEpsilon Ἒ
+\<`\textEpsilon Ἓ
+\>'\textEpsilon Ἔ
+\>'\textEpsilon Ἕ
+
+\>\texteta ἠ
+\<\texteta ἡ
+\>`\texteta ἢ
+\<`\texteta ἣ
+\>'\texteta ἤ
+\>'\texteta ἥ
+\~>\texteta ἦ
+\~<\texteta ἧ
+\>\textEta Ἠ
+\<\textEta Ἡ
+\>`\textEta Ἢ
+\<`\textEta Ἣ
+\>'\textEta Ἤ
+\>'\textEta Ἥ
+\~>\textEta Ἦ
+\~<\textEta Ἧ
+
+\>\textiota ἰ
+\<\textiota ἱ
+\>`\textiota ἲ
+\<`\textiota ἳ
+\>'\textiota ἴ
+\>'\textiota ἵ
+\~>\textiota ἶ
+\~<\textiota ἷ
+\>\textIota Ἰ
+\<\textIota Ἱ
+\>`\textIota Ἲ
+\<`\textIota Ἳ
+\>'\textIota Ἴ
+\>'\textIota Ἵ
+\~>\textIota Ἶ
+\~<\textIota Ἷ
+
+\>\textomicron ὀ
+\<\textomicron ὁ
+\>`\textomicron ὂ
+\<`\textomicron ὃ
+\>'\textomicron ὄ
+\>'\textomicron ὅ
+\>\textOmicron Ὀ
+\<\textOmicron Ὁ
+\>`\textOmicron Ὂ
+\<`\textOmicron Ὃ
+\>'\textOmicron Ὄ
+\>'\textOmicron Ὅ
+
+\>\textupsilon ὐ
+\<\textupsilon ὑ
+\>`\textupsilon ὒ
+\<`\textupsilon ὓ
+\>'\textupsilon ὔ
+\>'\textupsilon ὕ
+\~>\textupsilon ὖ
+\~<\textupsilon ὗ
+\<\textUpsilon Ὑ
+\<`\textUpsilon Ὓ
+\>'\textUpsilon Ὕ
+\~<\textUpsilon Ὗ
+
+\>\textomega ὠ
+\<\textomega ὡ
+\>`\textomega ὢ
+\<`\textomega ὣ
+\>'\textomega ὤ
+\>'\textomega ὥ
+\~>\textomega ὦ
+\~<\textomega ὧ
+\>\textOmega Ὠ
+\<\textOmega Ὡ
+\>`\textOmega Ὢ
+\<`\textOmega Ὣ
+\>'\textOmega Ὤ
+\>'\textOmega Ὥ
+\~>\textOmega Ὦ
+\~<\textOmega Ὧ
+
+\`\textalpha ὰ
+\'\textalpha ά
+\`\textepsilon ὲ
+\'\textepsilon έ
+\`\texteta ὴ
+\'\texteta ή
+\`\textiota ὶ
+\'\textiota ί
+\`\textomicron ὸ
+\'\textomicron ό
+\`\textupsilon ὺ
+\'\textupsilon ύ
+\`\textomega ὼ
+\'\textomega ώ
+
+\>\textalpha\ypogegrammeni ᾀ
+\<\textalpha\ypogegrammeni ᾁ
+\>`\textalpha\ypogegrammeni ᾂ
+\<`\textalpha\ypogegrammeni ᾃ
+\>'\textalpha\ypogegrammeni ᾄ
+\>'\textalpha\ypogegrammeni ᾅ
+\~>\textalpha\ypogegrammeni ᾆ
+\~<\textalpha\ypogegrammeni ᾇ
+\>\textAlpha\prosgegrammeni ᾈ
+\>\textAlpha\prosgegrammeni ᾈ
+\<\textAlpha\prosgegrammeni ᾉ
+\>`\textAlpha\prosgegrammeni ᾊ
+\<`\textAlpha\prosgegrammeni ᾋ
+\>'\textAlpha\prosgegrammeni ᾌ
+\>'\textAlpha\prosgegrammeni ᾍ
+\~>\textAlpha\prosgegrammeni ᾎ
+\~<\textAlpha\prosgegrammeni ᾏ
+
+\>\texteta\ypogegrammeni ᾐ
+\<\texteta\ypogegrammeni ᾑ
+\>`\texteta\ypogegrammeni ᾒ
+\<`\texteta\ypogegrammeni ᾓ
+\>'\texteta\ypogegrammeni ᾔ
+\>'\texteta\ypogegrammeni ᾕ
+\~>\texteta\ypogegrammeni ᾖ
+\~<\texteta\ypogegrammeni ᾗ
+\>\textEta\prosgegrammeni ᾘ
+\<\textEta\prosgegrammeni ᾙ
+\>`\textEta\prosgegrammeni ᾚ
+\<`\textEta\prosgegrammeni ᾛ
+\>'\textEta\prosgegrammeni ᾜ
+\>'\textEta\prosgegrammeni ᾝ
+\~>\textEta\prosgegrammeni ᾞ
+\~<\textEta\prosgegrammeni ᾟ
+
+\>\textomega\ypogegrammeni ᾠ
+\<\textomega\ypogegrammeni ᾡ
+\>`\textomega\ypogegrammeni ᾢ
+\<`\textomega\ypogegrammeni ᾣ
+\>'\textomega\ypogegrammeni ᾤ
+\>'\textomega\ypogegrammeni ᾥ
+\~>\textomega\ypogegrammeni ᾦ
+\~<\textomega\ypogegrammeni ᾧ
+\>\textOmega\prosgegrammeni ᾨ
+\<\textOmega\prosgegrammeni ᾩ
+\>`\textOmega\prosgegrammeni ᾪ
+\<`\textOmega\prosgegrammeni ᾫ
+\>'\textOmega\prosgegrammeni ᾬ
+\>'\textOmega\prosgegrammeni ᾭ
+\~>\textOmega\prosgegrammeni ᾮ
+\~<\textOmega\prosgegrammeni ᾯ
+
+\u\textalpha ᾰ
+\=\textalpha ᾱ
+\`\textalpha\ypogegrammeni ᾲ
+\textalpha\ypogegrammeni ᾳ
+\'\textalpha\ypogegrammeni ᾴ
+\~\textalpha ᾶ
+\~\textalpha\ypogegrammeni ᾷ
+\u\textAlpha Ᾰ
+\=\textAlpha Ᾱ
+\`\textAlpha Ὰ
+\'\textAlpha Ά
+\textAlpha\prosgegrammeni ᾼ
+\>\textcompwordmark ᾽
+\prosgegrammeni ι
+\>\textcompwordmark ᾿
+
+\~\textcompwordmark ῀
+\"~\textcompwordmark ῁
+\`\texteta\ypogegrammeni ῂ
+\texteta\ypogegrammeni ῃ
+\'\texteta\ypogegrammeni ῄ
+\~\texteta ῆ
+\~\texteta\ypogegrammeni ῇ
+\`\textEpsilon Ὲ
+\'\textEpsilon Έ
+\`\textEta Ὴ
+\'\textEta Ή
+\textEta\prosgegrammeni ῌ
+\>`\textcompwordmark ῍
+\>'\textcompwordmark ῎
+\~>\textcompwordmark ῏
+
+\u\textiota ῐ
+\=\textiota ῑ
+\`"\textiota ῒ
+\'"\textiota ΐ
+\~\textiota ῖ
+\~"\textiota ῗ
+\u\textIota Ῐ
+\=\textIota Ῑ
+\`\textIota Ὶ
+\'\textIota Ί
+\<`\textcompwordmark ῝
+\>'\textcompwordmark ῞
+\~<\textcompwordmark ῟
+
+\u\textupsilon ῠ
+\=\textupsilon ῡ
+\`"\textupsilon ῢ
+\'"\textupsilon ΰ
+\>\textrho ῤ
+\<\textrho ῥ
+\~\textupsilon ῦ
+\~"\textupsilon ῧ
+\u\textUpsilon Ῠ
+\=\textUpsilon Ῡ
+\`\textUpsilon Ὺ
+\'\textUpsilon Ύ
+\<\textRho Ῥ
+\`"\textcompwordmark ῭
+\'"\textcompwordmark ΅
+\accvaria\textcompwordmark `
+
+\`\textomega\ypogegrammeni ῲ
+\textomega\ypogegrammeni ῳ
+\'\textomega\ypogegrammeni ῴ
+\~\textomega ῶ
+\~\textomega\ypogegrammeni ῷ
+\`\textOmicron Ὸ
+\'\textOmicron Ό
+\`\textOmega Ὼ
+\'\textOmega Ώ
+\textOmega\prosgegrammeni ῼ
+\accoxia\textcompwordmark ´
+\<\textcompwordmark ῾
+
+
+Ancient Greek Numbers are missing in most fonts (including Libertine and
+Deja Vu). The “FreeSerif” font works fine.
+
+\textpentedeka % GREEK ACROPHONIC ATTIC FIFTY
+\textpentehekaton % GREEK ACROPHONIC ATTIC FIVE HUNDRED
+\textpenteqilioi % GREEK ACROPHONIC ATTIC FIVE THOUSAND
+\textpentemuria % GREEK ACROPHONIC ATTIC FIFTY THOUSAND
+
+
+\end{document}
diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/test-xunicode.pdf b/Master/texmf-dist/doc/latex/greek-fontenc/test-xunicode.pdf
new file mode 100644
index 00000000000..3f8b6b7303f
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/greek-fontenc/test-xunicode.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/test-xunicode.tex b/Master/texmf-dist/doc/latex/greek-fontenc/test-xunicode.tex
new file mode 100644
index 00000000000..92fb36e63fd
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/greek-fontenc/test-xunicode.tex
@@ -0,0 +1,585 @@
+\documentclass[a4paper]{article}
+% \usepackage{textcomp}
+\usepackage{hyperref,bookmark}
+\usepackage{parskip}
+\usepackage{booktabs}
+
+\usepackage{fontspec}
+% \setmainfont{DejaVu Serif}
+% \setsansfont{DejaVu Sans}
+\usepackage{libertineotf}
+% \setmainfont{FreeSerif}
+
+% Declare the font encoding:
+\ifdefined\XeTeXrevision
+ % \DeclareFontEncoding{EU1}{}{}
+ \usepackage[EU1]{fontenc}
+\fi
+\ifdefined\luatexversion
+ % \DeclareFontEncoding{EU2}{}{}
+ \usepackage[EU2]{fontenc}
+\fi
+
+% xunicode extension with Greek LICR definitions:
+\usepackage{xunicode-greek}
+
+% \DeclareTextAccent{\accdialytikatonos}{OT1}{999}
+% \DeclareTextCommand{\accdialytikatonos}{\UTFencname}[1]{|#1|}
+% \DeclareUTFcomposite[\UTFencname]{x0055}{\accdialytikatonos}{x} % U
+% \DeclareUTFcomposite[\UTFencname]{x0056}{\accdialytikavaria}{\textiota} % V
+% \DeclareTextCompositeCommand{\accdialytikatonos}{\UTFencname}{\textiota}{U}
+
+\begin{document}
+
+\section*{Greek LICR definitions with XeTeX/LuaTeX}
+
+Typesetting Greek texts requires a font containing Greek letters. With the
+XeTeX or LuaTeX engines, the user should ensure that the choosen font
+contains the required glyphs (the default Latin Modern fonts miss them).
+Examples for suitable fonts are the ``Deja Vu'' or the ``Linux Libertine''
+OpenType fonts.
+
+\section{LICR input}
+
+% The example from \texttt{usage.tex} in \emph{babel-greek} input
+% using the LICR macros:
+
+% \begin{quote}
+% \textTau\'\textiota{}
+% \textphi\'\texteta\textiota\textfinalsigma\texterotimatiko{}
+% \<\textIota\textdelta\`\textomega\textnu{}
+% \>\textepsilon\textnu\texttheta\'\textepsilon\textdelta\textepsilon{}
+% \textpi\textalpha\~\textiota\textdelta\'\'
+% \>\textepsilon\textlambda\textepsilon\textupsilon\texttheta\'\textepsilon\textrho\textalpha\textnu\\
+% \texttau\`\textalpha\textfinalsigma{}
+% \textpi\textlambda\texteta\textautosigma\'\textiota\textomicron\textnu{}
+% \textNu\'\textupsilon\textmu\textphi\textalpha\textfinalsigma{}
+% \textautosigma\texttau\textepsilon\textphi\textalpha\textnu\textomicron\~\textupsilon\textautosigma\textalpha\textnu{},
+% \textSigma\'\textomega\textautosigma\texttau\textrho\textalpha\texttau\textepsilon{},\\
+% \>\textepsilon\textrho\~\textomega\textnu{}
+% \'\textalpha\textpi\~\texteta\textlambda\texttheta\textepsilon\textfinalsigma{}
+% \textepsilon\>\textupsilon\texttheta\'\textupsilon\textfinalsigma\texterotimatiko{}
+% \end{quote}
+
+\subsection{Greek alphabet}
+
+Greek letters via LICR macros:
+
+
+\textAlpha{} \textBeta{} \textGamma{} \textDelta{} \textEpsilon{}
+\textZeta{} \textEta{} \textTheta{} \textIota{} \textKappa{}
+\textLambda{} \textMu{} \textNu{} \textXi{} \textOmicron{} \textPi{}
+\textRho{} \textSigma{} \textTau{} \textUpsilon{} \textPhi{}
+\textChi{} \textPsi{} \textOmega{}
+
+\textalpha{} \textbeta{} \textgamma{} \textdelta{} \textepsilon{}
+\textzeta{} \texteta{} \texttheta{} \textiota{} \textkappa{}
+\textlambda{} \textmu{} \textnu{} \textxi{} \textomicron{} \textpi{}
+\textrho{} \textsigma{} \texttau{} \textupsilon{}
+\textphi{} \textchi{} \textpsi{} \textomega{}
+
+The small sigma is set with a different
+glyph if it ends a word:
+
+ \textsigma{} textsigma \\
+ \textfinalsigma{} textfinalsigma or textvarsigma
+
+In the Latin transcription, the letter `s' stands for \verb|\textautosigma|
+which automatically chooses the glyph according to the position.
+
+\subsection{Additional Greek symbols}
+
+ \textkoppa{} textkoppa \\ % ϟ
+ \textqoppa{} textqoppa (archaic koppa) \\ % ϙ
+ \textQoppa{} textQoppa (archaic Koppa) \\ % Ϙ
+ \textstigma{} textstigma \\ % ϛ
+ % \textvarstigma{} textvarstigma \\ % no separate Unicode character
+ \textStigma{} textStigma (Sigma-Tau-Ligature in CB-fonts)%
+\footnote{the name ``stigma'' originally applied to a medieval sigma-tau
+ ligature, whose shape was confusably similar to the cursive
+ digamma} \\ % Ϛ
+ \textsampi{} textsampi \\ % ϡ
+ \textSampi{} textSampi \\ % Ϡ
+ \textdigamma{} textdigamma \\ % ϝ (\digamma used by amsmath!)
+ \textDigamma{} textDigamma \\ % Ϝ
+% numeral signs: http://en.wikipedia.org/wiki/Greek_numerals
+ \textnumeralsigngreek{} textnumeralsigngreek (Dexia keraia) \\ % ʹ
+ \textnumeralsignlowergreek{} textnumeralsignlowergreek
+ (Aristeri keraia)\\ % ͵
+
+Mathematical notation uses variant shapes for pi, kappa, rho, theta, and phi
+as additional symbols. These variations have no syntactic meaning in Greek
+text and are not given separate code-points in the LGR text encoding. Some
+text fonts use the variant shapes in place of the ``regular'' ones.
+
+TeX's concept of ``standard'' vs. ``variant'' symbols does not map to the
+distinction between ``Greek Letter ...'' vs. ``Greek Symbol ...'' in the
+Unicode standard:
+
+\begin{tabular}{cccc}
+math symbol & Unicode «letter» & var math symbol & Unicode «symbol» \\
+$\epsilon$ & ε & $\varepsilon$ & ϵ \\
+$\kappa$ & κ & \emph{missing} & ϰ \\
+$\pi$ & π & $\varpi$ & ϖ \\
+$\rho$ & ρ & $\varrho$ & ϱ \\
+$\theta$ & θ & $\vartheta$ & ϑ \\
+$\phi$ & φ & $\varphi$ & ϕ \\
+\end{tabular}
+
+\subsection{Diacritics}
+
+Greek diacritcs can be input by named macro or symbol macro. Named macros
+are defined in xunicode-greek.sty for \verb|\LastDeclaredEncoding| (here
+\LastDeclaredEncoding).
+
+\acctonos\textalpha \'\textalpha{} \acctonos x\'x
+\accvaria\textalpha \`\textalpha{} \accvaria x\`x
+\accdialytika\textiota \"\textiota{} \accdialytika x\"x
+\accperispomeni\textalpha \~\textalpha{} \accperispomeni x\~x
+\accpsili\textalpha \>\textalpha{} \accpsili x\>x
+\accdasia\textalpha \<\textalpha{} \accdasia x\<x
+
+Composite commands for combined diacritics are defined in
+``greek-fontenc.def'', also for the \verb|\LastDeclaredEncoding|. There are
+composite definitions for all pre-composed characters, the fallback
+definition uses composite characters:
+
+\accdialytikatonos\textiota \"'\textiota{} \accdialytikatonos x \"'x
+\accdialytikavaria\textiota \"`\textiota{} \accdialytikavaria x \"`x
+\accdialytikaperispomeni\textiota \~"\textiota{} \accdialytikaperispomeni x \~"x
+
+\accdasiaoxia\textiota \<'\textiota{} \accdasiaoxia x \<'x
+\accdasiavaria\textiota \<`\textiota{} \accdasiavaria x \<`x
+\accdasiaperispomeni\textiota \~<\textiota{} \accdasiaperispomeni x \~<x
+
+\accpsilioxia\textiota \>'\textiota{} \accpsilioxia x \>'x
+\accpsilivaria\textiota \>`\textiota{} \accpsilivaria x \>`x
+\accpsiliperispomeni\textiota \~>\textiota{} \accpsiliperispomeni x \~>x
+
+Problems:
+
+The COMBINING GREEK DIALYTIKA TONOS character is set behind instead of above
+the base letter.
+
+Composite diacritics defined with \emph{xunicode}'s
+\verb|\DeclareEncodedCompositeAccents| drop one of the constitutients.
+
+Upcasing with \verb|\MakeUppercase| drops diacritics (except
+dialytika and sub-iota):
+
+\MakeUppercase{
+\accdialytikatonos\textiota \"'\textiota{} \accdialytikatonos x \"'x
+\accdialytikavaria\textiota \"`\textiota{} \accdialytikavaria x \"`x
+\accdialytikaperispomeni\textiota \~"\textiota{} \accdialytikaperispomeni x \~"x
+}
+
+\MakeUppercase{
+\accdasiaoxia\textiota \<'\textiota{} \accdasiaoxia x \<'x
+\accdasiavaria\textiota \<`\textiota{} \accdasiavaria x \<`x
+\accdasiaperispomeni\textiota \~<\textiota{} \accdasiaperispomeni x \~<x
+}
+
+\MakeUppercase{
+\accpsilioxia\textiota \>'\textiota{} \accpsilioxia x \>'x
+\accpsilivaria\textiota \>`\textiota{} \accpsilivaria x \>`x
+\accpsiliperispomeni\textiota \~>\textiota{} \accpsiliperispomeni x \~>x
+}
+
+
+The sub-iota is input after the base letter.
+Ligature definitions in the 8-bit LGR fonts ensure that pre-composed
+characters are used. This does not work with XeTeX/LuaTeX:\footnote{%
+ When copy/pasting generated output from the ``evince'' PDF
+ viewer, the COMBINING GREEK YPOGEGRAMMENI is merged with the base
+ character. A capital letter + combining ypogegrammeni results in GREEK
+ CAPITAL LETTER ... WITH [.. AND] PROSGEGRAMMENI). This indicates that for
+ a subfix (in contrast to post-fix) prosgegrammeni, the combining
+ \emph{ypogegrammeni} could be used together with a captial base letter.}
+
+\textalpha\ypogegrammeni{} x\ypogegrammeni{} \textAlpha\prosgegrammeni{}
+X\prosgegrammeni, see also the \emph{Greek extended} Unicode block below.
+
+Both, the standard LaTeX and the ``xunicode'' composite mechanism require
+the first part of a composite definition to be a macro requiring one
+argument. I.e. selecting pre-defined characters with sub-iota requires
+prefix \verb|\accypogegrammeni{}| and \verb|\accprosgegrammeni| accent
+macros.
+
+\subsection{Greek and Coptic Unicode block}
+
+Greek symbols from the Greek and Coptic Unicode block are fully supported:
+
+% NR Unicode Name % babel name, UCS name
+% 0370 GREEK CAPITAL LETTER HETA % Ͱ
+% 0371 GREEK SMALL LETTER HETA % ͱ
+% 0372 GREEK CAPITAL LETTER ARCHAIC SAMPI % Ͳ
+% 0373 GREEK SMALL LETTER ARCHAIC SAMPI % Ͳ
+\textnumeralsigngreek{} % ʹ \anwtonos, \textdexiakeraia
+\textnumeralsignlowergreek{} % ͵ \katwtonos, \textaristerikeraia,
+% 0376 GREEK CAPITAL LETTER PAMPHYLIAN DIGAMMA % Ͷ
+% 0377 GREEK SMALL LETTER PAMPHYLIAN DIGAMMA % ͷ
+
+\textcompwordmark\ypogegrammeni{} % ͺ \textsubiota{\empty}
+% 037B GREEK SMALL REVERSED LUNATE SIGMA SYMBOL %
+% 037C GREEK SMALL DOTTED LUNATE SIGMA SYMBOL %
+% 037D GREEK SMALL REVERSED DOTTED LUNATE SIGMA SYMBOL %
+\texterotimatiko{} % ; \textquestion
+
+\'\textcompwordmark{} % ΄
+\"'\textcompwordmark{} % ΅ \accdialytikatonos
+\'\textAlpha{} % Ά
+\textanoteleia{} % · \anoteleia
+\'\textEpsilon{} % Έ
+\'\textEta{} % Ή
+\'\textIota{} % Ί
+\'\textOmicron{} % Ό
+\'\textUpsilon{} % Ύ
+\'\textOmega{} % Ώ
+\'"\textiota{} % ΐ
+
+\textAlpha{} % Α
+\textBeta{} % Β
+\textGamma{} % Γ
+\textDelta{} % Δ
+\textEpsilon{} % Ε
+\textZeta{} % Ζ
+\textEta{} % Η
+\textTheta{} % Θ
+\textIota{} % Ι
+\textKappa{} % Κ
+\textLambda{} % Λ
+\textMu{} % Μ
+\textNu{} % Ν
+\textXi{} % Ξ
+\textOmicron{} % Ο
+\textPi{} % Π
+\textRho{} % Ρ
+\textSigma{} % Σ
+\textTau{} % Τ
+\textUpsilon{} % Υ
+\textPhi{} % Φ
+\textChi{} % Χ
+\textPsi{} % Ψ
+\textOmega{} % Ω
+
+\"\textIota{} % Ϊ
+\"\textUpsilon{} % Ϋ
+\'\textalpha{} % ά
+\'\textepsilon{} % έ
+\'\texteta{} % ή
+\'\textiota{} % ί
+\"'\textupsilon{} % ΰ
+
+\textalpha{} % α
+\textbeta{} % β
+\textgamma{} % γ
+\textdelta{} % δ
+\textepsilon{} % ε
+\textzeta{} % ζ
+\texteta{} % η
+\texttheta{} % θ
+\textiota{} % ι
+\textkappa{} % κ
+\textlambda{} % λ
+\textmu{} % μ \textmugreek
+\textnu{} % ν
+\textxi{} % ξ
+\textomicron{} % ο
+\textpi{} % π
+\textrho{} % ρ
+\textvarsigma{} % ς
+\textsigma{} % σ
+\texttau{} % τ
+\textupsilon{} % υ
+\textphi{} % φ
+\textchi{} % χ
+\textpsi{} % ψ
+\textomega{} % ω
+
+\"\textiota{} % ϊ
+\"\textupsilon{} % ϋ
+\'\textomicron{} % ό
+\'\textupsilon{} % ύ
+\'\textomega{} % ώ
+
+\textQoppa{} % Ϙ
+\textqoppa{} % ϙ
+\textStigma{} % Ϛ \Stigma
+\textstigma{} % ϛ \stigma
+\textDigamma{} % Ϝ \Digamma
+\textdigamma{} % ϝ \ddigamma
+%03DE GREEK LETTER KOPPA % Ϟ \textKoppagreek
+\textkoppa{} % ϟ \koppa, \textqoppa [sic!]
+\textSampi{} % Ϡ \Sampi
+\textsampi{} % ϡ \sampi
+
+
+\subsection{Greek Extended Unicode block}
+
+Characters from the Greek Extended Unicode block are only partially
+supported (multi-accented characters with sub-iota currently use a combining
+prosgegrammeni or ypogegrammeni character.
+
+For comparision, the LICR macro is followed by the same character as literal
+Unicode char in this list:
+
+\>\textalpha ἀ
+\<\textalpha ἁ
+\>`\textalpha ἂ
+\<`\textalpha ἃ
+\>'\textalpha ἄ
+\<'\textalpha ἅ
+\~>\textalpha ἆ
+\~<\textalpha ἇ
+\>\textAlpha Ἀ
+\<\textAlpha Ἁ
+\>`\textAlpha Ἂ
+\<`\textAlpha Ἃ
+\>'\textAlpha Ἄ
+\>'\textAlpha Ἅ
+\~>\textAlpha Ἆ
+\~<\textAlpha Ἇ
+
+\>\textepsilon ἐ
+\<\textepsilon ἑ
+\>`\textepsilon ἒ
+\<`\textepsilon ἓ
+\>'\textepsilon ἔ
+\>'\textepsilon ἕ
+\>\textEpsilon Ἐ
+\<\textEpsilon Ἑ
+\>`\textEpsilon Ἒ
+\<`\textEpsilon Ἓ
+\>'\textEpsilon Ἔ
+\>'\textEpsilon Ἕ
+
+\>\texteta ἠ
+\<\texteta ἡ
+\>`\texteta ἢ
+\<`\texteta ἣ
+\>'\texteta ἤ
+\>'\texteta ἥ
+\~>\texteta ἦ
+\~<\texteta ἧ
+\>\textEta Ἠ
+\<\textEta Ἡ
+\>`\textEta Ἢ
+\<`\textEta Ἣ
+\>'\textEta Ἤ
+\>'\textEta Ἥ
+\~>\textEta Ἦ
+\~<\textEta Ἧ
+
+\>\textiota ἰ
+\<\textiota ἱ
+\>`\textiota ἲ
+\<`\textiota ἳ
+\>'\textiota ἴ
+\>'\textiota ἵ
+\~>\textiota ἶ
+\~<\textiota ἷ
+\>\textIota Ἰ
+\<\textIota Ἱ
+\>`\textIota Ἲ
+\<`\textIota Ἳ
+\>'\textIota Ἴ
+\>'\textIota Ἵ
+\~>\textIota Ἶ
+\~<\textIota Ἷ
+
+\>\textomicron ὀ
+\<\textomicron ὁ
+\>`\textomicron ὂ
+\<`\textomicron ὃ
+\>'\textomicron ὄ
+\>'\textomicron ὅ
+\>\textOmicron Ὀ
+\<\textOmicron Ὁ
+\>`\textOmicron Ὂ
+\<`\textOmicron Ὃ
+\>'\textOmicron Ὄ
+\>'\textOmicron Ὅ
+
+\>\textupsilon ὐ
+\<\textupsilon ὑ
+\>`\textupsilon ὒ
+\<`\textupsilon ὓ
+\>'\textupsilon ὔ
+\>'\textupsilon ὕ
+\~>\textupsilon ὖ
+\~<\textupsilon ὗ
+\<\textUpsilon Ὑ
+\<`\textUpsilon Ὓ
+\>'\textUpsilon Ὕ
+\~<\textUpsilon Ὗ
+
+\>\textomega ὠ
+\<\textomega ὡ
+\>`\textomega ὢ
+\<`\textomega ὣ
+\>'\textomega ὤ
+\>'\textomega ὥ
+\~>\textomega ὦ
+\~<\textomega ὧ
+\>\textOmega Ὠ
+\<\textOmega Ὡ
+\>`\textOmega Ὢ
+\<`\textOmega Ὣ
+\>'\textOmega Ὤ
+\>'\textOmega Ὥ
+\~>\textOmega Ὦ
+\~<\textOmega Ὧ
+
+\`\textalpha ὰ
+\'\textalpha ά
+\`\textepsilon ὲ
+\'\textepsilon έ
+\`\texteta ὴ
+\'\texteta ή
+\`\textiota ὶ
+\'\textiota ί
+\`\textomicron ὸ
+\'\textomicron ό
+\`\textupsilon ὺ
+\'\textupsilon ύ
+\`\textomega ὼ
+\'\textomega ώ
+
+\>\textalpha\ypogegrammeni ᾀ
+\<\textalpha\ypogegrammeni ᾁ
+\>`\textalpha\ypogegrammeni ᾂ
+\<`\textalpha\ypogegrammeni ᾃ
+\>'\textalpha\ypogegrammeni ᾄ
+\>'\textalpha\ypogegrammeni ᾅ
+\~>\textalpha\ypogegrammeni ᾆ
+\~<\textalpha\ypogegrammeni ᾇ
+\>\textAlpha\prosgegrammeni ᾈ
+\>\textAlpha\prosgegrammeni ᾈ
+\<\textAlpha\prosgegrammeni ᾉ
+\>`\textAlpha\prosgegrammeni ᾊ
+\<`\textAlpha\prosgegrammeni ᾋ
+\>'\textAlpha\prosgegrammeni ᾌ
+\>'\textAlpha\prosgegrammeni ᾍ
+\~>\textAlpha\prosgegrammeni ᾎ
+\~<\textAlpha\prosgegrammeni ᾏ
+
+\>\texteta\ypogegrammeni ᾐ
+\<\texteta\ypogegrammeni ᾑ
+\>`\texteta\ypogegrammeni ᾒ
+\<`\texteta\ypogegrammeni ᾓ
+\>'\texteta\ypogegrammeni ᾔ
+\>'\texteta\ypogegrammeni ᾕ
+\~>\texteta\ypogegrammeni ᾖ
+\~<\texteta\ypogegrammeni ᾗ
+\>\textEta\prosgegrammeni ᾘ
+\<\textEta\prosgegrammeni ᾙ
+\>`\textEta\prosgegrammeni ᾚ
+\<`\textEta\prosgegrammeni ᾛ
+\>'\textEta\prosgegrammeni ᾜ
+\>'\textEta\prosgegrammeni ᾝ
+\~>\textEta\prosgegrammeni ᾞ
+\~<\textEta\prosgegrammeni ᾟ
+
+\>\textomega\ypogegrammeni ᾠ
+\<\textomega\ypogegrammeni ᾡ
+\>`\textomega\ypogegrammeni ᾢ
+\<`\textomega\ypogegrammeni ᾣ
+\>'\textomega\ypogegrammeni ᾤ
+\>'\textomega\ypogegrammeni ᾥ
+\~>\textomega\ypogegrammeni ᾦ
+\~<\textomega\ypogegrammeni ᾧ
+\>\textOmega\prosgegrammeni ᾨ
+\<\textOmega\prosgegrammeni ᾩ
+\>`\textOmega\prosgegrammeni ᾪ
+\<`\textOmega\prosgegrammeni ᾫ
+\>'\textOmega\prosgegrammeni ᾬ
+\>'\textOmega\prosgegrammeni ᾭ
+\~>\textOmega\prosgegrammeni ᾮ
+\~<\textOmega\prosgegrammeni ᾯ
+
+\u\textalpha % ᾰ
+\=\textalpha % ᾱ
+\`\textalpha\ypogegrammeni % ᾲ
+\textalpha\ypogegrammeni % ᾳ
+\'\textalpha\ypogegrammeni % ᾴ
+\~\textalpha % ᾶ
+\~\textalpha\ypogegrammeni % ᾷ
+\u\textAlpha % Ᾰ
+\=\textAlpha % Ᾱ
+\`\textAlpha % Ὰ
+\'\textAlpha % Ά
+\textAlpha\prosgegrammeni % ᾼ
+\>\textcompwordmark % ᾽
+\textcompwordmark\prosgegrammeni % ι
+\>\textcompwordmark % ᾿
+
+\~\textcompwordmark % ῀
+% \"\~\textcompwordmark % ῁
+\`\texteta\ypogegrammeni % ῂ
+\texteta\ypogegrammeni % ῃ
+\'\texteta\ypogegrammeni % ῄ
+\~\texteta % ῆ
+\~\texteta\ypogegrammeni % ῇ
+\`\textEpsilon % Ὲ
+\'\textEpsilon % Έ
+\`\textEta % Ὴ
+\'\textEta % Ή
+\textEta\prosgegrammeni % ῌ
+\>`\textcompwordmark % ῍
+\>'\textcompwordmark % ῎
+\~>\textcompwordmark % ῏
+
+\u\textiota % ῐ
+\=\textiota % ῑ
+\`"\textiota % not \"`... % ῒ
+\'"\textiota % not \"'... % ΐ
+\~\textiota % ῖ
+\~"\textiota % ῗ
+\u\textIota % Ῐ
+\=\textIota % Ῑ
+\`\textIota % Ὶ
+\'\textIota % Ί
+\<`\textcompwordmark % ῝
+\>'\textcompwordmark % ῞
+\~<\textcompwordmark % ῟
+
+\u\textupsilon % ῠ
+\=\textupsilon % ῡ
+\`"\textupsilon % not \"`... % ῢ
+\'"\textupsilon % not \"'... % ΰ
+\>\textrho % ῤ
+\<\textrho % ῥ
+\~\textupsilon % ῦ
+\~"\textupsilon % ῧ
+\u\textUpsilon % Ῠ
+\=\textUpsilon % Ῡ
+\`\textUpsilon % Ὺ
+\'\textUpsilon % Ύ
+\<\textRho % Ῥ
+\`"\textcompwordmark % ῭
+\'"\textcompwordmark % ΅
+\`\textcompwordmark % `
+
+\`\textomega\ypogegrammeni % ῲ
+\textomega\ypogegrammeni % ῳ
+\'\textomega\ypogegrammeni % ῴ
+\~\textomega % ῶ
+\~\textomega\ypogegrammeni % ῷ
+\`\textOmicron % Ὸ
+\'\textOmicron % Ό
+\`\textOmega % Ὼ
+\'\textOmega % Ώ
+\textOmega\prosgegrammeni % ῼ
+\'\textcompwordmark % ´
+\<\textcompwordmark % ῾
+
+Ancient Greek Numbers are missing in most fonts (including Libertine and
+Deja Vu). The ``FreeSerif'' font works fine.
+
+\textpentedeka % GREEK ACROPHONIC ATTIC FIFTY
+\textpentehekaton % GREEK ACROPHONIC ATTIC FIVE HUNDRED
+\textpenteqilioi % GREEK ACROPHONIC ATTIC FIVE THOUSAND
+\textpentemuria % GREEK ACROPHONIC ATTIC FIFTY THOUSAND
+
+
+\end{document}
diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/xunicode-greek.sty.html b/Master/texmf-dist/doc/latex/greek-fontenc/xunicode-greek.sty.html
new file mode 100644
index 00000000000..52b2654a3c7
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/greek-fontenc/xunicode-greek.sty.html
@@ -0,0 +1,585 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+<meta name="generator" content="Docutils 0.11: http://docutils.sourceforge.net/" />
+<title>xunicode-greek.sty: xunicode extension for Greek</title>
+<meta name="copyright" content="© 2013 Günter Milde" />
+<link rel="stylesheet" href="../../../../../Python/docutils-svn/docutils/docutils/writers/html4strict/html4css1.css" type="text/css" />
+<link rel="stylesheet" href="../../../../../Python/docutils-svn/docutils/docutils/writers/html4strict/html4css2.css" type="text/css" />
+</head>
+<body>
+<div class="document" id="xunicode-greek-sty-xunicode-extension-for-greek">
+<h1 class="title">xunicode-greek.sty: xunicode extension for Greek</h1>
+
+<dl class="docinfo">
+<dt class="copyright">Copyright</dt>
+<dd class="copyright">© 2013 Günter Milde</dd>
+<dt>Licence</dt>
+<dd><p>This work may be distributed and/or modified under the
+conditions of the <a class="reference external" href="http://www.latex-project.org/lppl.txt">LaTeX Project Public License</a>, either
+version&nbsp;1.3 of this license or any later version.</p>
+</dd>
+<dt>Identification</dt>
+<dd><pre class="literal-block">\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{xunicode-greek}
+[2013/07/01 0.1 Greek LICRs for XeTeX and LuaTeX]
+</pre>
+</dd>
+</dl>
+<p>Based on <cite>xunicode</cite>, <cite>lgrenc.def</cite> and <cite>lgrenc.dfu</cite>.</p>
+<dl class="docutils">
+<dt>Changelog:</dt>
+<dd><table class="borderless">
+<colgroup>
+<col width="14%" />
+<col width="7%" />
+<col width="79%" />
+</colgroup>
+<tbody>
+<tr><td><p>2013-07-16</p></td>
+<td><p>0.1</p></td>
+<td><p>initial version</p></td>
+</tr>
+</tbody>
+</table>
+</dd>
+</dl>
+<p>Requires XeTeX or LuaTeX and a font with Greek characters. See
+<a class="reference external" href="test-xunicode.tex">test-xunicode.tex</a> and <a class="reference external" href="test-xunicode.pdf">test-xunicode.pdf</a> for usage details and
+example.</p>
+<p><cite>xunicode.sty</cite> defines several commands for the declaration of UTF
+characters, composites and accents. These are (sparsely) documented in the
+source. Unfortunately, they do not work seamless with the standard NFSS
+commands described in the fntguide. Therefore, some declarations are done
+twice: for fontenc and for xunicode (xunicode itself uses dummy declarations
+for the OT1 encoding).</p>
+<div class="section" id="greek-diacritics">
+<h1>Greek Diacritics</h1>
+<p>Define “named macros” for simple and combined diacritics.</p>
+<ul class="simple">
+<li><p>Named accent macros can be used instead of the <tt class="literal">\&#64;tabacckludge</tt> by
+to-LaTeX converters to ensure working also inside the tabbing environment.</p></li>
+<li><p>Named macros are required for upcasing according to Greek typesetting
+conventions and in the definition of composite commands.</p></li>
+</ul>
+<p>Greek alias names for standard accents:</p>
+<pre class="literal-block">\DeclareTextCommand{\acctonos}{\LastDeclaredEncoding}{\&#64;tabacckludge'}
+\DeclareTextCommand{\accvaria}{\LastDeclaredEncoding}{\&#64;tabacckludge`}
+\DeclareTextCommand{\accdialytika}{\LastDeclaredEncoding}{\&#64;tabacckludge&quot;}
+\DeclareTextCommand{\accperispomeni}{\LastDeclaredEncoding}{\&#64;tabacckludge~}
+</pre>
+<p>Breathings:</p>
+<pre class="literal-block">\DeclareTextCommand{\accpsili}{\LastDeclaredEncoding}[1]{#1\char&quot;0313 } % ψιλή spiritus lenis (smooth breathing)
+\DeclareTextCommand{\accdasia}{\LastDeclaredEncoding}[1]{#1\char&quot;0314 } % δασεῖα spiritus asper (rough breathing)
+\DeclareTextCommand{\&gt;}{\LastDeclaredEncoding}{\accpsili}
+\DeclareTextCommand{\&lt;}{\LastDeclaredEncoding}{\accdasia}
+\DeclareEncodedCompositeCharacter{\LastDeclaredEncoding}{\accpsili}{0313}{02BC} % COMBINING COMMA ABOVE = Greek psili, smooth breathing mark
+\DeclareEncodedCompositeCharacter{\LastDeclaredEncoding}{\accdasia}{0314}{02BD} % COMBINING REVERSED COMMA ABOVE = Greek dasia, rough breathing mark
+</pre>
+<p>The COMBINING GREEK KORONIS is a legacy character, discarded in favour of
+COMBINING COMMA ABOVE</p>
+<p>Sub-iota:</p>
+<pre class="literal-block">% \ypogegrammeni is a postfix accent (ligature in LGR)
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x0345}{\ypogegrammeni} % COMBINING GREEK YPOGEGRAMMENI
+</pre>
+<p>Combined diacritics:</p>
+<pre class="literal-block">% \DeclareTextCommand{\accdialytikatonos}{\LastDeclaredEncoding}[1]{#1\char&quot;0308 \char&quot;0301 }
+\DeclareTextCommand{\accdialytikatonos}{\LastDeclaredEncoding}{\textdieresisacute} % Greek alias
+\DeclareTextCommand{\accdialytikavaria}{\LastDeclaredEncoding}{\textdieresisgrave}
+\DeclareTextCommand{\accdialytikaperispomeni}{\LastDeclaredEncoding}[1]{#1\char&quot;0342 \char&quot;0308 }
+
+\DeclareTextCommand{\accdasiaoxia}{\LastDeclaredEncoding}[1]{#1\char&quot;0314 \char&quot;0301 }
+\DeclareTextCommand{\accdasiavaria}{\LastDeclaredEncoding}[1]{#1\char&quot;0314 \char&quot;0300 }
+\DeclareTextCommand{\accdasiaperispomeni}{\LastDeclaredEncoding}[1]{#1\char&quot;0314 \char&quot;0342 }
+
+\DeclareTextCommand{\accpsilioxia}{\LastDeclaredEncoding}[1]{#1\char&quot;0301 \char&quot;0313 }
+\DeclareTextCommand{\accpsilivaria}{\LastDeclaredEncoding}[1]{#1\char&quot;0300 \char&quot;0313 }
+\DeclareTextCommand{\accpsiliperispomeni}{\LastDeclaredEncoding}[1]{#1\char&quot;0342 \char&quot;0313 }
+</pre>
+<p><cite>xunicode</cite> special commands for accents with combining Unicode character(s):</p>
+<p>According to the definition and usage in <cite>xunicode.sty</cite>,
+<tt class="literal">\DeclareEncodedCompositeAccents</tt> should set up accents by combining two
+combining characters. Unfortunately this does not seem to work: one of the
+combining characters is missing (see test-xunicode.tex). However, as for
+all letters that use the combining accents pre-composed characters
+are selected (via composite definitions below) this should not matter in
+actual use:</p>
+<pre class="literal-block">% The COMBINING DIALYTIKA TONOS is discarded and not well supported by fonts:
+% \DeclareEncodedCompositeCharacter{\LastDeclaredEncoding}{\accdialytikatonos}{0344}{0385} % COMBINING GREEK DIALYTIKA TONOS / GREEK DIALYTIKA TONOS
+% Dialytika-Tonos and Dialytika-Varia are defined as alias for \textdieresisacute,
+% and \textdieresisgrave, i.e. already set up for xunicode:
+% \DeclareEncodedCompositeAccents{\LastDeclaredEncoding}{\accdialytikatonos}{0301}{0308}
+% \DeclareEncodedCompositeAccents{\LastDeclaredEncoding}{\accdialytikavaria}{0300}{0308}
+\DeclareEncodedCompositeAccents{\LastDeclaredEncoding}{\accdialytikaperispomeni}{0342}{0308}
+
+\DeclareEncodedCompositeAccents{\LastDeclaredEncoding}{\accdasiaoxia}{0314}{0301}
+\DeclareEncodedCompositeAccents{\LastDeclaredEncoding}{\accdasiavaria}{0314}{0300}
+\DeclareEncodedCompositeAccents{\LastDeclaredEncoding}{\accdasiaperispomeni}{0314}{0342}
+
+\DeclareEncodedCompositeAccents{\LastDeclaredEncoding}{\accpsilioxia}{0301}{0313}
+\DeclareEncodedCompositeAccents{\LastDeclaredEncoding}{\accpsilivaria}{0300}{0313}
+\DeclareEncodedCompositeAccents{\LastDeclaredEncoding}{\accpsiliperispomeni}{0342}{0313}
+</pre>
+</div>
+<div class="section" id="composite-diacritics">
+<h1>Composite Diacritics</h1>
+<p>Use the <a class="reference external" href="greek-fontenc.def.html">common Greek font encoding definitions</a>:</p>
+<pre class="literal-block">\input{../greek-fontenc/greek-fontenc.def}
+</pre>
+</div>
+<div class="section" id="character-definitions">
+<h1>Character Definitions</h1>
+<div class="section" id="greek-and-coptic">
+<h2>Greek and Coptic</h2>
+<pre class="literal-block">% NR Unicode Name % babel name, UCS name
+% 0370 GREEK CAPITAL LETTER HETA % Ͱ
+% 0371 GREEK SMALL LETTER HETA % ͱ
+% 0372 GREEK CAPITAL LETTER ARCHAIC SAMPI % Ͳ
+% 0373 GREEK SMALL LETTER ARCHAIC SAMPI % Ͳ
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x0374}{\textnumeralsigngreek} % ʹ \anwtonos, \textdexiakeraia
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x0375}{\textnumeralsignlowergreek} % ͵ \katwtonos, \textaristerikeraia,
+% 0376 GREEK CAPITAL LETTER PAMPHYLIAN DIGAMMA % Ͷ
+% 0377 GREEK SMALL LETTER PAMPHYLIAN DIGAMMA % ͷ
+
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x037A}{\textcompwordmark}{\ypogegrammeni} % ͺ
+% 037B GREEK SMALL REVERSED LUNATE SIGMA SYMBOL %
+% 037C GREEK SMALL DOTTED LUNATE SIGMA SYMBOL %
+% 037D GREEK SMALL REVERSED DOTTED LUNATE SIGMA SYMBOL %
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x037E}{\texterotimatiko} % ; \textquestion
+
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x0384}{\'}{\textcompwordmark} % ΄
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x0385}{\&quot;'}{\textcompwordmark} % ΅ \textdialytikatonos
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x0386}{\'}{\textAlpha} % Ά
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x0387}{\textanoteleia} % · \anoteleia
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x0388}{\'}{\textEpsilon} % Έ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x0389}{\'}{\textEta} % Ή
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x038A}{\'}{\textIota} % Ί
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x038C}{\'}{\textOmicron} % Ό
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x038E}{\'}{\textUpsilon} % Ύ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x038F}{\'}{\textOmega} % Ώ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x0390}{\accdialytikatonos}{\textiota} % ΐ
+
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x0391}{\textAlpha} % Α
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x0392}{\textBeta} % Β
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x0393}{\textGamma} % Γ
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x0394}{\textDelta} % Δ
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x0395}{\textEpsilon} % Ε
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x0396}{\textZeta} % Ζ
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x0397}{\textEta} % Η
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x0398}{\textTheta} % Θ
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x0399}{\textIota} % Ι
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x039A}{\textKappa} % Κ
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x039B}{\textLambda} % Λ
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x039C}{\textMu} % Μ
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x039D}{\textNu} % Ν
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x039E}{\textXi} % Ξ
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x039F}{\textOmicron} % Ο
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x03A0}{\textPi} % Π
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x03A1}{\textRho} % Ρ
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x03A3}{\textSigma} % Σ
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x03A4}{\textTau} % Τ
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x03A5}{\textUpsilon} % Υ
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x03A6}{\textPhi} % Φ
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x03A7}{\textChi} % Χ
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x03A8}{\textPsi} % Ψ
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x03A9}{\textOmega} % Ω
+
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x03AA}{\&quot;}{\textIota} % Ϊ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x03AB}{\&quot;}{\textUpsilon} % Ϋ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x03AC}{\'}{\textalpha} % ά
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x03AD}{\'}{\textepsilon} % έ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x03AE}{\'}{\texteta} % ή
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x03AF}{\'}{\textiota} % ί
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x03B0}{\accdialytikatonos}{\textupsilon} % ΰ
+
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x03B1}{\textalpha} % α
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x03B2}{\textbeta} % β
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x03B3}{\textgamma} % γ
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x03B4}{\textdelta} % δ
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x03B5}{\textepsilon} % ε
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x03B6}{\textzeta} % ζ
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x03B7}{\texteta} % η
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x03B8}{\texttheta} % θ
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x03B9}{\textiota} % ι
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x03BA}{\textkappa} % κ
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x03BB}{\textlambda} % λ
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x03BC}{\textmu} % μ \textmugreek
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x03BD}{\textnu} % ν
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x03BE}{\textxi} % ξ
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x03BF}{\textomicron} % ο
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x03C0}{\textpi} % π
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x03C1}{\textrho} % ρ
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x03C2}{\textvarsigma} % ς
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x03C2}{\textfinalsigma} % ς
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x03C3}{\textsigma} % σ
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x03C4}{\texttau} % τ
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x03C5}{\textupsilon} % υ
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x03C6}{\textphi} % φ
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x03C7}{\textchi} % χ
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x03C8}{\textpsi} % ψ
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x03C9}{\textomega} % ω
+
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x03CA}{\&quot;}{\textiota} % ϊ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x03CB}{\&quot;}{\textupsilon} % ϋ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x03CC}{\'}{\textomicron} % ό
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x03CD}{\'}{\textupsilon} % ύ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x03CE}{\'}{\textomega} % ώ
+
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x03D8}{\textQoppa} % Ϙ
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x03D9}{\textqoppa} % ϙ
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x03DA}{\textStigma} % Ϛ \Stigma
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x03DB}{\textstigma} % ϛ \stigma
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x03DC}{\textDigamma} % Ϝ \Digamma
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x03DD}{\textdigamma} % ϝ \ddigamma
+%03DE&nbsp;GREEK&nbsp;LETTER&nbsp;KOPPA % Ϟ \textKoppa
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x03DF}{\textkoppa} % ϟ \koppa, \textqoppa&nbsp;[sic!]
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x03E0}{\textSampi} % Ϡ \Sampi
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x03E1}{\textsampi} % ϡ \sampi
+</pre>
+</div>
+<div class="section" id="greek-extended">
+<h2>Greek Extended</h2>
+<pre class="literal-block">\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F00}{\accpsili}{\textalpha} % ἀ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F01}{\accdasia}{\textalpha} % ἁ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F02}{\accpsilivaria}{\textalpha} % ἂ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F03}{\accdasiavaria}{\textalpha} % ἃ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F04}{\accpsilioxia}{\textalpha} % ἄ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F05}{\accdasiaoxia}{\textalpha} % ἅ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F06}{\accpsiliperispomeni}{\textalpha} % ἆ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F07}{\accdasiaperispomeni}{\textalpha} % ἇ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F08}{\accpsili}{\textAlpha} % Ἀ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F09}{\accdasia}{\textAlpha} % Ἁ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F0A}{\accpsilivaria}{\textAlpha} % Ἂ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F0B}{\accdasiavaria}{\textAlpha} % Ἃ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F0C}{\accpsilioxia}{\textAlpha} % Ἄ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F0D}{\accpsilioxia}{\textAlpha} % Ἅ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F0E}{\accpsiliperispomeni}{\textAlpha} % Ἆ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F0F}{\accdasiaperispomeni}{\textAlpha} % Ἇ
+
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F10}{\accpsili}{\textepsilon} % ἐ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F11}{\accdasia}{\textepsilon} % ἑ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F12}{\accpsilivaria}{\textepsilon} % ἒ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F13}{\accdasiavaria}{\textepsilon} % ἓ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F14}{\accpsilioxia}{\textepsilon} % ἔ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F15}{\accpsilioxia}{\textepsilon} % ἕ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F18}{\accpsili}{\textEpsilon} % Ἐ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F19}{\accdasia}{\textEpsilon} % Ἑ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F1A}{\accpsilivaria}{\textEpsilon} % Ἒ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F1B}{\accdasiavaria}{\textEpsilon} % Ἓ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F1C}{\accpsilioxia}{\textEpsilon} % Ἔ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F1D}{\accpsilioxia}{\textEpsilon} % Ἕ
+
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F20}{\accpsili}{\texteta} % ἠ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F21}{\accdasia}{\texteta} % ἡ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F22}{\accpsilivaria}{\texteta} % ἢ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F23}{\accdasiavaria}{\texteta} % ἣ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F24}{\accpsilioxia}{\texteta} % ἤ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F25}{\accpsilioxia}{\texteta} % ἥ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F26}{\accpsiliperispomeni}{\texteta} % ἦ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F27}{\accdasiaperispomeni}{\texteta} % ἧ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F28}{\accpsili}{\textEta} % Ἠ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F29}{\accdasia}{\textEta} % Ἡ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F2A}{\accpsilivaria}{\textEta} % Ἢ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F2B}{\accdasiavaria}{\textEta} % Ἣ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F2C}{\accpsilioxia}{\textEta} % Ἤ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F2D}{\accpsilioxia}{\textEta} % Ἥ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F2E}{\accpsiliperispomeni}{\textEta} % Ἦ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F2F}{\accdasiaperispomeni}{\textEta} % Ἧ
+
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F30}{\accpsili}{\textiota} % ἰ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F31}{\accdasia}{\textiota} % ἱ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F32}{\accpsilivaria}{\textiota} % ἲ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F33}{\accdasiavaria}{\textiota} % ἳ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F34}{\accpsilioxia}{\textiota} % ἴ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F35}{\accpsilioxia}{\textiota} % ἵ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F36}{\accpsiliperispomeni}{\textiota} % ἶ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F37}{\accdasiaperispomeni}{\textiota} % ἷ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F38}{\accpsili}{\textIota} % Ἰ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F39}{\accdasia}{\textIota} % Ἱ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F3A}{\accpsilivaria}{\textIota} % Ἲ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F3B}{\accdasiavaria}{\textIota} % Ἳ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F3C}{\accpsilioxia}{\textIota} % Ἴ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F3D}{\accpsilioxia}{\textIota} % Ἵ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F3E}{\accpsiliperispomeni}{\textIota} % Ἶ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F3F}{\accdasiaperispomeni}{\textIota} % Ἷ
+
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F40}{\accpsili}{\textomicron} % ὀ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F41}{\accdasia}{\textomicron} % ὁ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F42}{\accpsilivaria}{\textomicron} % ὂ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F43}{\accdasiavaria}{\textomicron} % ὃ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F44}{\accpsilioxia}{\textomicron} % ὄ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F45}{\accpsilioxia}{\textomicron} % ὅ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F48}{\accpsili}{\textOmicron} % Ὀ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F49}{\accdasia}{\textOmicron} % Ὁ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F4A}{\accpsilivaria}{\textOmicron} % Ὂ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F4B}{\accdasiavaria}{\textOmicron} % Ὃ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F4C}{\accpsilioxia}{\textOmicron} % Ὄ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F4D}{\accpsilioxia}{\textOmicron} % Ὅ
+
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F50}{\accpsili}{\textupsilon} % ὐ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F51}{\accdasia}{\textupsilon} % ὑ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F52}{\accpsilivaria}{\textupsilon} % ὒ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F53}{\accdasiavaria}{\textupsilon} % ὓ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F54}{\accpsilioxia}{\textupsilon} % ὔ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F55}{\accpsilioxia}{\textupsilon} % ὕ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F56}{\accpsiliperispomeni}{\textupsilon} % ὖ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F57}{\accdasiaperispomeni}{\textupsilon} % ὗ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F59}{\accdasia}{\textUpsilon} % Ὑ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F5B}{\accdasiavaria}{\textUpsilon} % Ὓ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F5D}{\accpsilioxia}{\textUpsilon} % Ὕ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F5F}{\accdasiaperispomeni}{\textUpsilon} % Ὗ
+
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F60}{\accpsili}{\textomega} % ὠ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F61}{\accdasia}{\textomega} % ὡ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F62}{\accpsilivaria}{\textomega} % ὢ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F63}{\accdasiavaria}{\textomega} % ὣ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F64}{\accpsilioxia}{\textomega} % ὤ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F65}{\accpsilioxia}{\textomega} % ὥ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F66}{\accpsiliperispomeni}{\textomega} % ὦ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F67}{\accdasiaperispomeni}{\textomega} % ὧ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F68}{\accpsili}{\textOmega} % Ὠ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F69}{\accdasia}{\textOmega} % Ὡ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F6A}{\accpsilivaria}{\textOmega} % Ὢ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F6B}{\accdasiavaria}{\textOmega} % Ὣ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F6C}{\accpsilioxia}{\textOmega} % Ὤ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F6D}{\accpsilioxia}{\textOmega} % Ὥ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F6E}{\accpsiliperispomeni}{\textOmega} % Ὦ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F6F}{\accdasiaperispomeni}{\textOmega} % Ὧ
+
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F70}{\`}{\textalpha} % ὰ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F71}{\'}{\textalpha} % ά
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F72}{\`}{\textepsilon} % ὲ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F73}{\'}{\textepsilon} % έ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F74}{\`}{\texteta} % ὴ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F75}{\'}{\texteta} % ή
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F76}{\`}{\textiota} % ὶ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F77}{\'}{\textiota} % ί
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F78}{\`}{\textomicron} % ὸ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F79}{\'}{\textomicron} % ό
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F7A}{\`}{\textupsilon} % ὺ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F7B}{\'}{\textupsilon} % ύ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F7C}{\`}{\textomega} % ὼ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F7D}{\'}{\textomega} % ώ
+
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F70}{\accvaria}{\textalpha} % ὰ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F71}{\acctonos}{\textalpha} % ά
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F72}{\accvaria}{\textepsilon} % ὲ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F73}{\acctonos}{\textepsilon} % έ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F74}{\accvaria}{\texteta} % ὴ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F75}{\acctonos}{\texteta} % ή
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F76}{\accvaria}{\textiota} % ὶ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F77}{\acctonos}{\textiota} % ί
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F78}{\accvaria}{\textomicron} % ὸ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F79}{\acctonos}{\textomicron} % ό
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F7A}{\accvaria}{\textupsilon} % ὺ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F7B}{\acctonos}{\textupsilon} % ύ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F7C}{\accvaria}{\textomega} % ὼ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F7D}{\acctonos}{\textomega} % ώ
+
+%% postfix ypogegrammeni cannot be second part of composite defs.
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1F80}{\accpsili}{\textalpha\ypogegrammeni} % ᾀ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1F81}{\accdasia}{\textalpha\ypogegrammeni} % ᾁ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1F82}{\accpsilivaria}{\textalpha\ypogegrammeni} % ᾂ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1F83}{\accdasiavaria}{\textalpha\ypogegrammeni} % ᾃ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1F84}{\accpsilioxia}{\textalpha\ypogegrammeni} % ᾄ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1F85}{\accpsilioxia}{\textalpha\ypogegrammeni} % ᾅ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1F86}{\accpsiliperispomeni}{\textalpha\ypogegrammeni} % ᾆ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1F87}{\accdasiaperispomeni}{\textalpha\ypogegrammeni} % ᾇ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1F88}{\accpsili}{\textAlpha\prosgegrammeni} % ᾈ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1F89}{\accdasia}{\textAlpha\prosgegrammeni} % ᾉ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1F8A}{\accpsilivaria}{\textAlpha\prosgegrammeni} % ᾊ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1F8B}{\accdasiavaria}{\textAlpha\prosgegrammeni} % ᾋ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1F8C}{\accpsilioxia}{\textAlpha\prosgegrammeni} % ᾌ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1F8D}{\accpsilioxia}{\textAlpha\prosgegrammeni} % ᾍ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1F8E}{\accpsiliperispomeni}{\textAlpha\prosgegrammeni} % ᾎ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1F8F}{\accdasiaperispomeni}{\textAlpha\prosgegrammeni} % ᾏ
+%
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1F90}{\accpsili}{\texteta\ypogegrammeni} % ᾐ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1F91}{\accdasia}{\texteta\ypogegrammeni} % ᾑ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1F92}{\accpsilivaria}{\texteta\ypogegrammeni} % ᾒ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1F93}{\accdasiavaria}{\texteta\ypogegrammeni} % ᾓ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1F94}{\accpsilioxia}{\texteta\ypogegrammeni} % ᾔ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1F95}{\accpsilioxia}{\texteta\ypogegrammeni} % ᾕ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1F96}{\accpsiliperispomeni}{\texteta\ypogegrammeni} % ᾖ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1F97}{\accdasiaperispomeni}{\texteta\ypogegrammeni} % ᾗ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1F98}{\accpsili}{\textEta\prosgegrammeni} % ᾘ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1F99}{\accdasia}{\textEta\prosgegrammeni} % ᾙ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1F9A}{\accpsilivaria}{\textEta\prosgegrammeni} % ᾚ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1F9B}{\accdasiavaria}{\textEta\prosgegrammeni} % ᾛ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1F9C}{\accpsilioxia}{\textEta\prosgegrammeni} % ᾜ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1F9D}{\accpsilioxia}{\textEta\prosgegrammeni} % ᾝ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1F9E}{\accpsiliperispomeni}{\textEta\prosgegrammeni} % ᾞ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1F9F}{\accdasiaperispomeni}{\textEta\prosgegrammeni} % ᾟ
+%
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1FA0}{\accpsili}{\textomega\ypogegrammeni} % ᾠ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1FA1}{\accdasia}{\textomega\ypogegrammeni} % ᾡ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1FA2}{\accpsilivaria}{\textomega\ypogegrammeni} % ᾢ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1FA3}{\accdasiavaria}{\textomega\ypogegrammeni} % ᾣ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1FA4}{\accpsilioxia}{\textomega\ypogegrammeni} % ᾤ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1FA5}{\accpsilioxia}{\textomega\ypogegrammeni} % ᾥ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1FA6}{\accpsiliperispomeni}{\textomega\ypogegrammeni} % ᾦ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1FA7}{\accdasiaperispomeni}{\textomega\ypogegrammeni} % ᾧ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1FA8}{\accpsili}{\textOmega\prosgegrammeni} % ᾨ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1FA9}{\accdasia}{\textOmega\prosgegrammeni} % ᾩ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1FAA}{\accpsilivaria}{\textOmega\prosgegrammeni} % ᾪ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1FAB}{\accdasiavaria}{\textOmega\prosgegrammeni} % ᾫ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1FAC}{\accpsilioxia}{\textOmega\prosgegrammeni} % ᾬ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1FAD}{\accpsilioxia}{\textOmega\prosgegrammeni} % ᾭ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1FAE}{\accpsiliperispomeni}{\textOmega\prosgegrammeni} % ᾮ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1FAF}{\accdasiaperispomeni}{\textOmega\prosgegrammeni} % ᾯ
+
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FB0}{\u}{\textalpha} % ᾰ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FB1}{\=}{\textalpha} % ᾱ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1FB2}{\`}{\textalpha\ypogegrammeni} % ᾲ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FB3}{\textalpha}{\ypogegrammeni} % ᾳ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1FB4}{\'}{\textalpha\ypogegrammeni} % ᾴ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FB6}{\~}{\textalpha} % ᾶ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FB6}{\accperispomeni}{\textalpha} % ᾶ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1FB7}{\accperispomeni}{\textalpha\ypogegrammeni} % ᾷ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FB8}{\u}{\textAlpha} % Ᾰ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FB9}{\=}{\textAlpha} % Ᾱ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FBA}{\`}{\textAlpha} % Ὰ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FBB}{\'}{\textAlpha} % Ά
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FBA}{\accvaria}{\textAlpha} % Ὰ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FBB}{\acctonos}{\textAlpha} % Ά
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FBC}{\textAlpha}{\prosgegrammeni} % ᾼ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FBD}{\accpsili}{\textcompwordmark} % ᾽
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x1FBE}{\prosgegrammeni} % ι
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FBF}{\accpsili}{\textcompwordmark} % ᾿
+
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FC0}{\~}{\textcompwordmark} % ῀
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FC0}{\accperispomeni}{\textcompwordmark} % ῀
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FC1}{\accdialytikaperispomeni}{\textcompwordmark} % ῁
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1FC2}{\`}{\texteta\ypogegrammeni} % ῂ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FC3}{\texteta}{\ypogegrammeni} % ῃ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1FC4}{\'}{\texteta\ypogegrammeni} % ῄ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FC6}{\~}{\texteta} % ῆ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FC6}{\accperispomeni}{\texteta} % ῆ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1FC7}{\accperispomeni}{\texteta\ypogegrammeni} % ῇ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FC8}{\`}{\textEpsilon} % Ὲ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FC9}{\'}{\textEpsilon} % Έ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FCA}{\`}{\textEta} % Ὴ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FCB}{\'}{\textEta} % Ή
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FC8}{\accvaria}{\textEpsilon} % Ὲ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FC9}{\acctonos}{\textEpsilon} % Έ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FCA}{\accvaria}{\textEta} % Ὴ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FCB}{\acctonos}{\textEta} % Ή
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FCC}{\textEta}{\prosgegrammeni} % ῌ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FCD}{\accpsilivaria}{\textcompwordmark} % ῍
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FCE}{\accpsilioxia}{\textcompwordmark} % ῎
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FCF}{\accpsiliperispomeni}{\textcompwordmark} % ῏
+
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FD0}{\u}{\textiota} % ῐ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FD1}{\=}{\textiota} % ῑ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FD2}{\accdialytikavaria}{\textiota} % ῒ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FD3}{\accdialytikaoxia}{\textiota} % ΐ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FD6}{\~}{\textiota} % ῖ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FD6}{\accperispomeni}{\textiota} % ῖ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FD7}{\accdialytikaperispomeni}{\textiota}% ῗ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FD8}{\u}{\textIota} % Ῐ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FD9}{\=}{\textIota} % Ῑ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FDA}{\`}{\textIota} % Ὶ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FDB}{\'}{\textIota} % Ί
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FDA}{\accvaria}{\textIota} % Ὶ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FDB}{\acctonos}{\textIota} % Ί
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FDD}{\accdasiavaria}{\textcompwordmark}% ῝
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FDE}{\accpsilioxia}{\textcompwordmark} % ῞
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FDF}{\accdasiaperispomeni}{\textcompwordmark} % ῟
+
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FE0}{\u}{\textupsilon} % ῠ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FE1}{\=}{\textupsilon} % ῡ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FE2}{\accdialytikavaria}{\textupsilon} % ῢ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FE3}{\accdialytikaoxia}{\textupsilon} % ΰ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FE4}{\accpsili}{\textrho} % ῤ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FE5}{\accdasia}{\textrho} % ῥ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FE6}{\~}{\textupsilon} % ῦ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FE6}{\accperispomeni}{\textupsilon} % ῦ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FE7}{\accdialytikaperispomeni}{\textupsilon} % ῧ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FE8}{\u}{\textUpsilon} % Ῠ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FE9}{\=}{\textUpsilon} % Ῡ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FEA}{\`}{\textUpsilon} % Ὺ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FEB}{\'}{\textUpsilon} % Ύ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FEA}{\accvaria}{\textUpsilon} % Ὺ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FEB}{\acctonos}{\textUpsilon} % Ύ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FEC}{\accdasia}{\textRho} % Ῥ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FED}{\accdialytikavaria}{\textcompwordmark} % ῭
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FEE}{\accdialytikaoxia}{\textcompwordmark} % ΅
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FEF}{\accvaria}{\textcompwordmark} % `
+
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1FF2}{\`}{\textomega\ypogegrammeni} % ῲ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1FF3}{\textomega}{\ypogegrammeni} % ῳ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1FF4}{\'}{\textomega\ypogegrammeni} % ῴ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FF6}{\~}{\textomega} % ῶ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FF6}{\accperispomeni}{\textomega} % ῶ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1FF7}{\accperispomeni}{\textomega\ypogegrammeni} % ῷ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FF8}{\`}{\textOmicron} % Ὸ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FF9}{\'}{\textOmicron} % Ό
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FFA}{\`}{\textOmega} % Ὼ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FFB}{\'}{\textOmega} % Ώ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FF8}{\accvaria}{\textOmicron} % Ὸ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FF9}{\acctonos}{\textOmicron} % Ό
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FFA}{\accvaria}{\textOmega} % Ὼ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FFB}{\acctonos}{\textOmega} % Ώ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1FFC}{\textOmega}{\prosgegrammeni} % ῼ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FFD}{\accoxia}{\textcompwordmark} % ´
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FFE}{\accdasia}{\textcompwordmark} % ῾
+</pre>
+</div>
+<div class="section" id="letterlike-symbols">
+<h2>Letterlike Symbols</h2>
+<pre class="literal-block">\DeclareUTFcharacter[\LastDeclaredEncoding]{x2126}{\textohm} % Ω OHM SIGN
+</pre>
+</div>
+<div class="section" id="ancient-greek-numbers">
+<h2>Ancient Greek Numbers</h2>
+<p>TODO: map other chars to corresponding Greek letters.
+See also the <a class="reference external" href="http://www.ctan.org/pkg/grnumalt">grnumalt</a> package.</p>
+<p>Definition with literal Unicode characters, because the code-point has 5
+hexadecimal digits:</p>
+<pre class="literal-block">\DeclareTextCommand{\textpentedeka}{\LastDeclaredEncoding}{𐅄} % GREEK ACROPHONIC ATTIC FIFTY
+\DeclareTextCommand{\textpentehekaton}{\LastDeclaredEncoding}{𐅅} % GREEK ACROPHONIC ATTIC FIVE HUNDRED
+\DeclareTextCommand{\textpenteqilioi}{\LastDeclaredEncoding}{𐅆} % GREEK ACROPHONIC ATTIC FIVE THOUSAND
+\DeclareTextCommand{\textpentemuria}{\LastDeclaredEncoding}{𐅇} % GREEK ACROPHONIC ATTIC FIFTY THOUSAND
+</pre>
+</div>
+<div class="section" id="uppercase">
+<h2>UPPERCASE</h2>
+<p>The <a class="reference external" href="greek-fontenc.def.html">common Greek font encoding definitions</a> in <tt class="literal"><span class="pre">greek-fontenc.def</span></tt> extend
+the <cite>uclclist</cite> with Greek LICR macros. Here, we add EU1 specific “hiatus”
+handling.</p>
+<div class="section" id="mark-hiatus">
+<h3>Mark hiatus</h3>
+<p>Tonos and dasia mark a hiatus if placed on the
+first vowel of a diphthong (ΑΙ, ΑΥ, ΕΙ). A dialytika must be placed on the
+second vowel if they are dropped (άυλος → ΑΫΛΟΣ, μάινα → ΜΑΪΝΑ, κέικ → ΚΕΪΚ,
+ἀυπνία → ΑΫΠΝΙΑ).</p>
+<p>Look ahead and place a diaeresis on Ι or Υ
+(copied from lgrenc.def and changed Latin transcription to Unicode literals):</p>
+<pre class="literal-block">\DeclareTextCommand{\LGR&#64;A&#64;hiatus}{\LastDeclaredEncoding}{%
+ \LGR&#64;ifnextchar{Ι}{A\&quot;}{%
+ \LGR&#64;ifnextchar{Υ}{A\&quot;}{%
+ \LGR&#64;ifnextchar{\textIota}{A\&quot;}{%
+ \LGR&#64;ifnextchar{\textUpsilon}{A\&quot;}{A}%
+ }%
+ }%
+ }%
+}
+\DeclareTextCommand{\LGR&#64;E&#64;hiatus}{\LastDeclaredEncoding}{%
+ \LGR&#64;ifnextchar{Ι}{E\&quot;}{%
+ \LGR&#64;ifnextchar{Υ}{E\&quot;}{%
+ \LGR&#64;ifnextchar{\textIota}{E\&quot;}{%
+ \LGR&#64;ifnextchar{\textUpsilon}{E\&quot;}{E}%
+ }%
+ }%
+ }%
+}
+</pre>
+<!-- References -->
+</div>
+</div>
+</div>
+</div>
+</body>
+</html>
diff --git a/Master/texmf-dist/tex/latex/greek-fontenc/greek-euenc.def b/Master/texmf-dist/tex/latex/greek-fontenc/greek-euenc.def
new file mode 100644
index 00000000000..093c3090962
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/greek-fontenc/greek-euenc.def
@@ -0,0 +1,575 @@
+% greek-euenc.def: Greek LICR definitions for XeTeX and LuaTeX
+% ***************************************************************
+%
+% :Copyright: © 2013 Günter Milde
+% :Licence: 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.
+% :Identification:
+% ::
+
+\ProvidesFile{greek-euenc}
+[2013/07/01 0.1 Greek LICRs for XeTeX and LuaTeX]
+
+% Experimental support for Greek LICR macros with XeTeX and LuaTeX.
+% Based on `lgrenc.def` and `lgrenc.dfu`.
+%
+% Changelog:
+% .. class:: borderless
+%
+% ========== ===== =========================================================
+% 2013-07-16 0.1 initial version
+% ========== ===== =========================================================
+%
+% Requires XeTeX or LuaTeX and a font with Greek characters. See
+% `<test-euenc.tex>`_ and `<test-euenc.pdf>`_ for usage details and
+% example.
+%
+% `xunicode.sty` defines several commands for the declaration of UTF
+% characters, composites and accents. These are (sparsely) documented in the
+% source. Unfortunately, they do not work seamless with the standard NFSS
+% commands described in the fntguide.
+%
+% This file sets up LaTeX Internal Character Representaction (LICR) macros
+% based on standard LaTeX commands. It should work independed of `xunicode`.
+% (Currently, it only works if `fontspec` is loaded. TODO: Why?)
+%
+%
+% Greek Diacritics
+% ================
+%
+% Define "named macros" for simple and combined diacritics.
+%
+% * Named accent macros can be used instead of the ``\@tabacckludge`` by
+% to-LaTeX converters to ensure working also inside the tabbing environment.
+%
+% * Named macros are required for upcasing according to Greek typesetting
+% conventions and in the definition of composite commands.
+%
+% Greek alias names for standard accents::
+
+\DeclareTextCommand{\acctonos}{\LastDeclaredEncoding}{\@tabacckludge'}
+\DeclareTextCommand{\accvaria}{\LastDeclaredEncoding}{\@tabacckludge`}
+\DeclareTextCommand{\accdialytika}{\LastDeclaredEncoding}{\@tabacckludge"}
+\DeclareTextCommand{\accperispomeni}{\LastDeclaredEncoding}{\@tabacckludge~}
+
+% Breathings:
+%
+% (The COMBINING GREEK KORONIS is a legacy character, discarded in favour of
+% COMBINING COMMA ABOVE) ::
+
+\DeclareTextCommand{\accpsili}{\LastDeclaredEncoding}[1]{#1\char"0313 } % ψιλή spiritus lenis (smooth breathing)
+\DeclareTextCommand{\accdasia}{\LastDeclaredEncoding}[1]{#1\char"0314 } % δασεῖα spiritus asper (rough breathing)
+\DeclareTextCommand{\>}{\LastDeclaredEncoding}{\accpsili}
+\DeclareTextCommand{\<}{\LastDeclaredEncoding}{\accdasia}
+
+
+%% TODO: how to pass the char nr. to DeclareTextCommand?
+% \providecommand*{\DeclareTextAccentCombined}[3]{%
+% \DeclareTextCommand{#1}{#2}[1]{##1\char"#3 }%
+% }
+% \DeclareTextAccentCombined{\accypogegrammeni}{\LastDeclaredEncoding}{0837}
+
+% Sub-iota:
+%
+% ``\ypogegrammeni`` is a postfix accent (ligature in LGR) ::
+
+\DeclareTextSymbol{\ypogegrammeni}{\LastDeclaredEncoding}{0837} % COMBINING GREEK YPOGEGRAMMENI
+
+% Combined diacritics::
+
+% The COMBINING DIALYTIKA TONOS is discarded and not well supported by fonts:
+\DeclareTextCommand{\accdialytikatonos}{\LastDeclaredEncoding}[1]{#1\char"0308 \char"0301 }
+\DeclareTextCommand{\accdialytikavaria}{\LastDeclaredEncoding}[1]{#1\char"0308 \char"0300 }
+\DeclareTextCommand{\accdialytikaperispomeni}{\LastDeclaredEncoding}[1]{#1\char"0342 \char"0308 }
+
+\DeclareTextCommand{\accdasiaoxia}{\LastDeclaredEncoding}[1]{#1\char"0314 \char"0301 }
+\DeclareTextCommand{\accdasiavaria}{\LastDeclaredEncoding}[1]{#1\char"0314 \char"0300 }
+\DeclareTextCommand{\accdasiaperispomeni}{\LastDeclaredEncoding}[1]{#1\char"0314 \char"0342 }
+
+\DeclareTextCommand{\accpsilioxia}{\LastDeclaredEncoding}[1]{#1\char"0301 \char"0313 }
+\DeclareTextCommand{\accpsilivaria}{\LastDeclaredEncoding}[1]{#1\char"0300 \char"0313 }
+\DeclareTextCommand{\accpsiliperispomeni}{\LastDeclaredEncoding}[1]{#1\char"0342 \char"0313 }
+
+
+% Composite Diacritics
+% ====================
+%
+% Use the `common Greek font encoding definitions`_::
+
+\input{../greek-fontenc/greek-fontenc.def}
+
+
+% Character Definitions
+% =====================
+%
+%
+% \DeclareTextSymbol{\textcompwordmark}{\LastDeclaredEncoding}{8204}
+%
+%
+% Greek and Coptic
+% ~~~~~~~~~~~~~~~~
+%
+% ::
+
+% NR Unicode Name % babel name, % PU name
+% 0370 GREEK CAPITAL LETTER HETA % Ͱ
+% 0371 GREEK SMALL LETTER HETA % ͱ
+% 0372 GREEK CAPITAL LETTER ARCHAIC SAMPI % Ͳ
+% 0373 GREEK SMALL LETTER ARCHAIC SAMPI % ͳ
+\DeclareTextCommand{\textdexiakeraia}{\LastDeclaredEncoding}{ʹ} % \anwtonos, \textnumeralsigngreek
+\DeclareTextCommand{\textaristerikeraia}{\LastDeclaredEncoding}{͵} % \katwtonos, \textnumeralsignlowergreek
+% 0376 GREEK CAPITAL LETTER PAMPHYLIAN DIGAMMA % Ͷ
+% 0377 GREEK SMALL LETTER PAMPHYLIAN DIGAMMA % ͷ
+
+% 037A GREEK YPOGEGRAMMENI (use \textcompwordmark\ypogegrammeni) % ͺ
+% 037B GREEK SMALL REVERSED LUNATE SIGMA SYMBOL
+% 037C GREEK SMALL DOTTED LUNATE SIGMA SYMBOL
+% 037D GREEK SMALL REVERSED DOTTED LUNATE SIGMA SYMBOL
+\DeclareTextCommand{\texterotimatiko}{\LastDeclaredEncoding}{;} % \textquestion
+
+\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textcompwordmark}{΄}
+\DeclareTextCompositeCommand{\accdialytikatonos}{\LastDeclaredEncoding}{\textcompwordmark}{΅}
+\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textAlpha}{Ά}
+\DeclareTextCommand{\textanoteleia}{\LastDeclaredEncoding}{·} % \anoteleia
+\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textEpsilon}{Έ}
+\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textEta}{Ή}
+\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textIota}{Ί}
+\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textOmicron}{Ό}
+\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textUpsilon}{Ύ}
+\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textOmega}{Ώ}
+\DeclareTextCompositeCommand{\accdialytikatonos}{\LastDeclaredEncoding}{\textiota}{ΐ}
+
+\DeclareTextCommand{\textAlpha}{\LastDeclaredEncoding}{Α}
+\DeclareTextCommand{\textBeta}{\LastDeclaredEncoding}{Β}
+\DeclareTextCommand{\textGamma}{\LastDeclaredEncoding}{Γ}
+\DeclareTextCommand{\textDelta}{\LastDeclaredEncoding}{Δ}
+\DeclareTextCommand{\textEpsilon}{\LastDeclaredEncoding}{Ε}
+\DeclareTextCommand{\textZeta}{\LastDeclaredEncoding}{Ζ}
+\DeclareTextCommand{\textEta}{\LastDeclaredEncoding}{Η}
+\DeclareTextCommand{\textTheta}{\LastDeclaredEncoding}{Θ}
+\DeclareTextCommand{\textIota}{\LastDeclaredEncoding}{Ι}
+\DeclareTextCommand{\textKappa}{\LastDeclaredEncoding}{Κ}
+\DeclareTextCommand{\textLambda}{\LastDeclaredEncoding}{Λ}
+\DeclareTextCommand{\textMu}{\LastDeclaredEncoding}{Μ}
+\DeclareTextCommand{\textNu}{\LastDeclaredEncoding}{Ν}
+\DeclareTextCommand{\textXi}{\LastDeclaredEncoding}{Ξ}
+\DeclareTextCommand{\textOmicron}{\LastDeclaredEncoding}{Ο}
+\DeclareTextCommand{\textPi}{\LastDeclaredEncoding}{Π}
+\DeclareTextCommand{\textRho}{\LastDeclaredEncoding}{Ρ}
+\DeclareTextCommand{\textSigma}{\LastDeclaredEncoding}{Σ}
+\DeclareTextCommand{\textTau}{\LastDeclaredEncoding}{Τ}
+\DeclareTextCommand{\textUpsilon}{\LastDeclaredEncoding}{Υ}
+\DeclareTextCommand{\textPhi}{\LastDeclaredEncoding}{Φ}
+\DeclareTextCommand{\textChi}{\LastDeclaredEncoding}{Χ}
+\DeclareTextCommand{\textPsi}{\LastDeclaredEncoding}{Ψ}
+\DeclareTextCommand{\textOmega}{\LastDeclaredEncoding}{Ω}
+
+\DeclareTextCompositeCommand{\"}{\LastDeclaredEncoding}{\textIota}{Ϊ}
+\DeclareTextCompositeCommand{\"}{\LastDeclaredEncoding}{\textUpsilon}{Ϋ}
+\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textalpha}{ά}
+\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textepsilon}{έ}
+\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\texteta}{ή}
+\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textiota}{ί}
+\DeclareTextCompositeCommand{\accdialytikatonos}{\LastDeclaredEncoding}{\textupsilon}{ΰ}
+
+\DeclareTextCommand{\textalpha}{\LastDeclaredEncoding}{α}
+\DeclareTextCommand{\textbeta}{\LastDeclaredEncoding}{β}
+\DeclareTextCommand{\textgamma}{\LastDeclaredEncoding}{γ}
+\DeclareTextCommand{\textdelta}{\LastDeclaredEncoding}{δ}
+\DeclareTextCommand{\textepsilon}{\LastDeclaredEncoding}{ε}
+\DeclareTextCommand{\textzeta}{\LastDeclaredEncoding}{ζ}
+\DeclareTextCommand{\texteta}{\LastDeclaredEncoding}{η}
+\DeclareTextCommand{\texttheta}{\LastDeclaredEncoding}{θ}
+\DeclareTextCommand{\textiota}{\LastDeclaredEncoding}{ι}
+\DeclareTextCommand{\textkappa}{\LastDeclaredEncoding}{κ}
+\DeclareTextCommand{\textlambda}{\LastDeclaredEncoding}{λ}
+\DeclareTextCommand{\textmu}{\LastDeclaredEncoding}{μ} % \textmugreek
+\DeclareTextCommand{\textnu}{\LastDeclaredEncoding}{ν}
+\DeclareTextCommand{\textxi}{\LastDeclaredEncoding}{ξ}
+\DeclareTextCommand{\textomicron}{\LastDeclaredEncoding}{ο}
+\DeclareTextCommand{\textpi}{\LastDeclaredEncoding}{π}
+\DeclareTextCommand{\textrho}{\LastDeclaredEncoding}{ρ}
+\DeclareTextCommand{\textvarsigma}{\LastDeclaredEncoding}{ς}
+\DeclareTextCommand{\textfinalsigma}{\LastDeclaredEncoding}{ς}
+\DeclareTextCommand{\textsigma}{\LastDeclaredEncoding}{σ}
+\DeclareTextCommand{\texttau}{\LastDeclaredEncoding}{τ}
+\DeclareTextCommand{\textupsilon}{\LastDeclaredEncoding}{υ}
+\DeclareTextCommand{\textphi}{\LastDeclaredEncoding}{φ}
+\DeclareTextCommand{\textchi}{\LastDeclaredEncoding}{χ}
+\DeclareTextCommand{\textpsi}{\LastDeclaredEncoding}{ψ}
+\DeclareTextCommand{\textomega}{\LastDeclaredEncoding}{ω}
+
+\DeclareTextCompositeCommand{\"}{\LastDeclaredEncoding}{\textiota}{ϊ}
+\DeclareTextCompositeCommand{\"}{\LastDeclaredEncoding}{\textupsilon}{ϋ}
+\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textomicron}{ό}
+\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textupsilon}{ύ}
+\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textomega}{ώ}
+
+\DeclareTextCommand{\textQoppa}{\LastDeclaredEncoding}{Ϙ}
+\DeclareTextCommand{\textqoppa}{\LastDeclaredEncoding}{ϙ}
+\DeclareTextCommand{\textStigma}{\LastDeclaredEncoding}{Ϛ} % \Stigma
+\DeclareTextCommand{\textstigma}{\LastDeclaredEncoding}{ϛ} % \stigma
+\DeclareTextCommand{\textDigamma}{\LastDeclaredEncoding}{Ϝ} % \Digamma
+\DeclareTextCommand{\textdigamma}{\LastDeclaredEncoding}{ϝ} % \ddigamma
+%03DE GREEK LETTER KOPPA % Ϟ \textKoppa
+\DeclareTextCommand{\textkoppa}{\LastDeclaredEncoding}{ϟ} % \koppa, \textqoppa [sic!]
+\DeclareTextCommand{\textSampi}{\LastDeclaredEncoding}{Ϡ} % \Sampi
+\DeclareTextCommand{\textsampi}{\LastDeclaredEncoding}{ϡ} % \sampi
+
+% Greek Extended
+% ~~~~~~~~~~~~~~
+% ::
+
+\DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textalpha}{ἀ}
+\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textalpha}{ἁ}
+\DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\textalpha}{ἂ}
+\DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\textalpha}{ἃ}
+\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textalpha}{ἄ}
+\DeclareTextCompositeCommand{\accdasiaoxia}{\LastDeclaredEncoding}{\textalpha}{ἅ}
+\DeclareTextCompositeCommand{\accpsiliperispomeni}{\LastDeclaredEncoding}{\textalpha}{ἆ}
+\DeclareTextCompositeCommand{\accdasiaperispomeni}{\LastDeclaredEncoding}{\textalpha}{ἇ}
+\DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textAlpha}{Ἀ}
+\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textAlpha}{Ἁ}
+\DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\textAlpha}{Ἂ}
+\DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\textAlpha}{Ἃ}
+\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textAlpha}{Ἄ}
+\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textAlpha}{Ἅ}
+\DeclareTextCompositeCommand{\accpsiliperispomeni}{\LastDeclaredEncoding}{\textAlpha}{Ἆ}
+\DeclareTextCompositeCommand{\accdasiaperispomeni}{\LastDeclaredEncoding}{\textAlpha}{Ἇ}
+
+\DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textepsilon}{ἐ}
+\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textepsilon}{ἑ}
+\DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\textepsilon}{ἒ}
+\DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\textepsilon}{ἓ}
+\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textepsilon}{ἔ}
+\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textepsilon}{ἕ}
+\DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textEpsilon}{Ἐ}
+\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textEpsilon}{Ἑ}
+\DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\textEpsilon}{Ἒ}
+\DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\textEpsilon}{Ἓ}
+\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textEpsilon}{Ἔ}
+\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textEpsilon}{Ἕ}
+
+\DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\texteta}{ἠ}
+\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\texteta}{ἡ}
+\DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\texteta}{ἢ}
+\DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\texteta}{ἣ}
+\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\texteta}{ἤ}
+\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\texteta}{ἥ}
+\DeclareTextCompositeCommand{\accpsiliperispomeni}{\LastDeclaredEncoding}{\texteta}{ἦ}
+\DeclareTextCompositeCommand{\accdasiaperispomeni}{\LastDeclaredEncoding}{\texteta}{ἧ}
+\DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textEta}{Ἠ}
+\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textEta}{Ἡ}
+\DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\textEta}{Ἢ}
+\DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\textEta}{Ἣ}
+\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textEta}{Ἤ}
+\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textEta}{Ἥ}
+\DeclareTextCompositeCommand{\accpsiliperispomeni}{\LastDeclaredEncoding}{\textEta}{Ἦ}
+\DeclareTextCompositeCommand{\accdasiaperispomeni}{\LastDeclaredEncoding}{\textEta}{Ἧ}
+
+\DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textiota}{ἰ}
+\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textiota}{ἱ}
+\DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\textiota}{ἲ}
+\DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\textiota}{ἳ}
+\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textiota}{ἴ}
+\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textiota}{ἵ}
+\DeclareTextCompositeCommand{\accpsiliperispomeni}{\LastDeclaredEncoding}{\textiota}{ἶ}
+\DeclareTextCompositeCommand{\accdasiaperispomeni}{\LastDeclaredEncoding}{\textiota}{ἷ}
+\DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textIota}{Ἰ}
+\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textIota}{Ἱ}
+\DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\textIota}{Ἲ}
+\DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\textIota}{Ἳ}
+\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textIota}{Ἴ}
+\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textIota}{Ἵ}
+\DeclareTextCompositeCommand{\accpsiliperispomeni}{\LastDeclaredEncoding}{\textIota}{Ἶ}
+\DeclareTextCompositeCommand{\accdasiaperispomeni}{\LastDeclaredEncoding}{\textIota}{Ἷ}
+
+\DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textomicron}{ὀ}
+\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textomicron}{ὁ}
+\DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\textomicron}{ὂ}
+\DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\textomicron}{ὃ}
+\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textomicron}{ὄ}
+\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textomicron}{ὅ}
+\DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textOmicron}{Ὀ}
+\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textOmicron}{Ὁ}
+\DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\textOmicron}{Ὂ}
+\DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\textOmicron}{Ὃ}
+\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textOmicron}{Ὄ}
+\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textOmicron}{Ὅ}
+
+\DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textupsilon}{ὐ}
+\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textupsilon}{ὑ}
+\DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\textupsilon}{ὒ}
+\DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\textupsilon}{ὓ}
+\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textupsilon}{ὔ}
+\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textupsilon}{ὕ}
+\DeclareTextCompositeCommand{\accpsiliperispomeni}{\LastDeclaredEncoding}{\textupsilon}{ὖ}
+\DeclareTextCompositeCommand{\accdasiaperispomeni}{\LastDeclaredEncoding}{\textupsilon}{ὗ}
+\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textUpsilon}{Ὑ}
+\DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\textUpsilon}{Ὓ}
+\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textUpsilon}{Ὕ}
+\DeclareTextCompositeCommand{\accdasiaperispomeni}{\LastDeclaredEncoding}{\textUpsilon}{Ὗ}
+
+\DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textomega}{ὠ}
+\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textomega}{ὡ}
+\DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\textomega}{ὢ}
+\DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\textomega}{ὣ}
+\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textomega}{ὤ}
+\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textomega}{ὥ}
+\DeclareTextCompositeCommand{\accpsiliperispomeni}{\LastDeclaredEncoding}{\textomega}{ὦ}
+\DeclareTextCompositeCommand{\accdasiaperispomeni}{\LastDeclaredEncoding}{\textomega}{ὧ}
+\DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textOmega}{Ὠ}
+\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textOmega}{Ὡ}
+\DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\textOmega}{Ὢ}
+\DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\textOmega}{Ὣ}
+\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textOmega}{Ὤ}
+\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textOmega}{Ὥ}
+\DeclareTextCompositeCommand{\accpsiliperispomeni}{\LastDeclaredEncoding}{\textOmega}{Ὦ}
+\DeclareTextCompositeCommand{\accdasiaperispomeni}{\LastDeclaredEncoding}{\textOmega}{Ὧ}
+
+\DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\textalpha}{ὰ}
+\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textalpha}{ά}
+\DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\textepsilon}{ὲ}
+\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textepsilon}{έ}
+\DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\texteta}{ὴ}
+\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\texteta}{ή}
+\DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\textiota}{ὶ}
+\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textiota}{ί}
+\DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\textomicron}{ὸ}
+\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textomicron}{ό}
+\DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\textupsilon}{ὺ}
+\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textupsilon}{ύ}
+\DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\textomega}{ὼ}
+\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textomega}{ώ}
+
+\DeclareTextCompositeCommand{\accvaria}{\LastDeclaredEncoding}{\textalpha}{ὰ}
+\DeclareTextCompositeCommand{\acctonos}{\LastDeclaredEncoding}{\textalpha}{ά}
+\DeclareTextCompositeCommand{\accvaria}{\LastDeclaredEncoding}{\textepsilon}{ὲ}
+\DeclareTextCompositeCommand{\acctonos}{\LastDeclaredEncoding}{\textepsilon}{έ}
+\DeclareTextCompositeCommand{\accvaria}{\LastDeclaredEncoding}{\texteta}{ὴ}
+\DeclareTextCompositeCommand{\acctonos}{\LastDeclaredEncoding}{\texteta}{ή}
+\DeclareTextCompositeCommand{\accvaria}{\LastDeclaredEncoding}{\textiota}{ὶ}
+\DeclareTextCompositeCommand{\acctonos}{\LastDeclaredEncoding}{\textiota}{ί}
+\DeclareTextCompositeCommand{\accvaria}{\LastDeclaredEncoding}{\textomicron}{ὸ}
+\DeclareTextCompositeCommand{\acctonos}{\LastDeclaredEncoding}{\textomicron}{ό}
+\DeclareTextCompositeCommand{\accvaria}{\LastDeclaredEncoding}{\textupsilon}{ὺ}
+\DeclareTextCompositeCommand{\acctonos}{\LastDeclaredEncoding}{\textupsilon}{ύ}
+\DeclareTextCompositeCommand{\accvaria}{\LastDeclaredEncoding}{\textomega}{ὼ}
+\DeclareTextCompositeCommand{\acctonos}{\LastDeclaredEncoding}{\textomega}{ώ}
+
+%% postfix ypogegrammeni cannot be second part of composite defs.
+% \DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textalpha\ypogegrammeni}{ᾀ}
+% \DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textalpha\ypogegrammeni}{ᾁ}
+% \DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\textalpha\ypogegrammeni}{ᾂ}
+% \DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\textalpha\ypogegrammeni}{ᾃ}
+% \DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textalpha\ypogegrammeni}{ᾄ}
+% \DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textalpha\ypogegrammeni}{ᾅ}
+% \DeclareTextCompositeCommand{\accpsiliperispomeni}{\LastDeclaredEncoding}{\textalpha\ypogegrammeni}{ᾆ}
+% \DeclareTextCompositeCommand{\accdasiaperispomeni}{\LastDeclaredEncoding}{\textalpha\ypogegrammeni}{ᾇ}
+% \DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textAlpha\prosgegrammeni}{ᾈ}
+% \DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textAlpha\prosgegrammeni}{ᾉ}
+% \DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\textAlpha\prosgegrammeni}{ᾊ}
+% \DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\textAlpha\prosgegrammeni}{ᾋ}
+% \DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textAlpha\prosgegrammeni}{ᾌ}
+% \DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textAlpha\prosgegrammeni}{ᾍ}
+% \DeclareTextCompositeCommand{\accpsiliperispomeni}{\LastDeclaredEncoding}{\textAlpha\prosgegrammeni}{ᾎ}
+% \DeclareTextCompositeCommand{\accdasiaperispomeni}{\LastDeclaredEncoding}{\textAlpha\prosgegrammeni}{ᾏ}
+%
+% \DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\texteta\ypogegrammeni}{ᾐ}
+% \DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\texteta\ypogegrammeni}{ᾑ}
+% \DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\texteta\ypogegrammeni}{ᾒ}
+% \DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\texteta\ypogegrammeni}{ᾓ}
+% \DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\texteta\ypogegrammeni}{ᾔ}
+% \DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\texteta\ypogegrammeni}{ᾕ}
+% \DeclareTextCompositeCommand{\accpsiliperispomeni}{\LastDeclaredEncoding}{\texteta\ypogegrammeni}{ᾖ}
+% \DeclareTextCompositeCommand{\accdasiaperispomeni}{\LastDeclaredEncoding}{\texteta\ypogegrammeni}{ᾗ}
+% \DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textEta\prosgegrammeni}{ᾘ}
+% \DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textEta\prosgegrammeni}{ᾙ}
+% \DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\textEta\prosgegrammeni}{ᾚ}
+% \DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\textEta\prosgegrammeni}{ᾛ}
+% \DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textEta\prosgegrammeni}{ᾜ}
+% \DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textEta\prosgegrammeni}{ᾝ}
+% \DeclareTextCompositeCommand{\accpsiliperispomeni}{\LastDeclaredEncoding}{\textEta\prosgegrammeni}{ᾞ}
+% \DeclareTextCompositeCommand{\accdasiaperispomeni}{\LastDeclaredEncoding}{\textEta\prosgegrammeni}{ᾟ}
+%
+% \DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textomega\ypogegrammeni}{ᾠ}
+% \DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textomega\ypogegrammeni}{ᾡ}
+% \DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\textomega\ypogegrammeni}{ᾢ}
+% \DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\textomega\ypogegrammeni}{ᾣ}
+% \DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textomega\ypogegrammeni}{ᾤ}
+% \DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textomega\ypogegrammeni}{ᾥ}
+% \DeclareTextCompositeCommand{\accpsiliperispomeni}{\LastDeclaredEncoding}{\textomega\ypogegrammeni}{ᾦ}
+% \DeclareTextCompositeCommand{\accdasiaperispomeni}{\LastDeclaredEncoding}{\textomega\ypogegrammeni}{ᾧ}
+% \DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textOmega\prosgegrammeni}{ᾨ}
+% \DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textOmega\prosgegrammeni}{ᾩ}
+% \DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\textOmega\prosgegrammeni}{ᾪ}
+% \DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\textOmega\prosgegrammeni}{ᾫ}
+% \DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textOmega\prosgegrammeni}{ᾬ}
+% \DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textOmega\prosgegrammeni}{ᾭ}
+% \DeclareTextCompositeCommand{\accpsiliperispomeni}{\LastDeclaredEncoding}{\textOmega\prosgegrammeni}{ᾮ}
+% \DeclareTextCompositeCommand{\accdasiaperispomeni}{\LastDeclaredEncoding}{\textOmega\prosgegrammeni}{ᾯ}
+
+\DeclareTextCompositeCommand{\u}{\LastDeclaredEncoding}{\textalpha}{ᾰ}
+\DeclareTextCompositeCommand{\=}{\LastDeclaredEncoding}{\textalpha}{ᾱ}
+% \DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\textalpha\ypogegrammeni}{ᾲ}
+\DeclareTextCompositeCommand{\textalpha}{\LastDeclaredEncoding}{\ypogegrammeni}{ᾳ}
+% \DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textalpha\ypogegrammeni}{ᾴ}
+\DeclareTextCompositeCommand{\~}{\LastDeclaredEncoding}{\textalpha}{ᾶ}
+\DeclareTextCompositeCommand{\accperispomeni}{\LastDeclaredEncoding}{\textalpha}{ᾶ}
+% \DeclareTextCompositeCommand{\accperispomeni}{\LastDeclaredEncoding}{\textalpha\ypogegrammeni}{ᾷ}
+\DeclareTextCompositeCommand{\u}{\LastDeclaredEncoding}{\textAlpha}{Ᾰ}
+\DeclareTextCompositeCommand{\=}{\LastDeclaredEncoding}{\textAlpha}{Ᾱ}
+\DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\textAlpha}{Ὰ}
+\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textAlpha}{Ά}
+\DeclareTextCompositeCommand{\accvaria}{\LastDeclaredEncoding}{\textAlpha}{Ὰ}
+\DeclareTextCompositeCommand{\acctonos}{\LastDeclaredEncoding}{\textAlpha}{Ά}
+\DeclareTextCompositeCommand{\textAlpha}{\LastDeclaredEncoding}{\prosgegrammeni}{ᾼ}
+\DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textcompwordmark}{᾽}
+\DeclareTextCommand{\prosgegrammeni}{\LastDeclaredEncoding}{ι}
+\DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textcompwordmark}{᾿}
+
+\DeclareTextCompositeCommand{\~}{\LastDeclaredEncoding}{\textcompwordmark}{῀}
+\DeclareTextCompositeCommand{\accperispomeni}{\LastDeclaredEncoding}{\textcompwordmark}{῀}
+\DeclareTextCompositeCommand{\accdialytikaperispomeni}{\LastDeclaredEncoding}{\textcompwordmark}{῁}
+% \DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\texteta\ypogegrammeni}{ῂ}
+\DeclareTextCompositeCommand{\texteta}{\LastDeclaredEncoding}{\ypogegrammeni}{ῃ}
+% \DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\texteta\ypogegrammeni}{ῄ}
+\DeclareTextCompositeCommand{\~}{\LastDeclaredEncoding}{\texteta}{ῆ}
+\DeclareTextCompositeCommand{\accperispomeni}{\LastDeclaredEncoding}{\texteta}{ῆ}
+% \DeclareTextCompositeCommand{\accperispomeni}{\LastDeclaredEncoding}{\texteta\ypogegrammeni}{ῇ}
+\DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\textEpsilon}{Ὲ}
+\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textEpsilon}{Έ}
+\DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\textEta}{Ὴ}
+\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textEta}{Ή}
+\DeclareTextCompositeCommand{\accvaria}{\LastDeclaredEncoding}{\textEpsilon}{Ὲ}
+\DeclareTextCompositeCommand{\acctonos}{\LastDeclaredEncoding}{\textEpsilon}{Έ}
+\DeclareTextCompositeCommand{\accvaria}{\LastDeclaredEncoding}{\textEta}{Ὴ}
+\DeclareTextCompositeCommand{\acctonos}{\LastDeclaredEncoding}{\textEta}{Ή}
+\DeclareTextCompositeCommand{\textEta}{\LastDeclaredEncoding}{\prosgegrammeni}{ῌ}
+\DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\textcompwordmark}{῍}
+\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textcompwordmark}{῎}
+\DeclareTextCompositeCommand{\accpsiliperispomeni}{\LastDeclaredEncoding}{\textcompwordmark}{῏}
+
+\DeclareTextCompositeCommand{\u}{\LastDeclaredEncoding}{\textiota}{ῐ}
+\DeclareTextCompositeCommand{\=}{\LastDeclaredEncoding}{\textiota}{ῑ}
+\DeclareTextCompositeCommand{\accdialytikavaria}{\LastDeclaredEncoding}{\textiota}{ῒ}
+\DeclareTextCompositeCommand{\accdialytikaoxia}{\LastDeclaredEncoding}{\textiota}{ΐ}
+\DeclareTextCompositeCommand{\~}{\LastDeclaredEncoding}{\textiota}{ῖ}
+\DeclareTextCompositeCommand{\accperispomeni}{\LastDeclaredEncoding}{\textiota}{ῖ}
+\DeclareTextCompositeCommand{\accdialytikaperispomeni}{\LastDeclaredEncoding}{\textiota}{ῗ}
+\DeclareTextCompositeCommand{\u}{\LastDeclaredEncoding}{\textIota}{Ῐ}
+\DeclareTextCompositeCommand{\=}{\LastDeclaredEncoding}{\textIota}{Ῑ}
+\DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\textIota}{Ὶ}
+\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textIota}{Ί}
+\DeclareTextCompositeCommand{\accvaria}{\LastDeclaredEncoding}{\textIota}{Ὶ}
+\DeclareTextCompositeCommand{\acctonos}{\LastDeclaredEncoding}{\textIota}{Ί}
+\DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\textcompwordmark}{῝}
+\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textcompwordmark}{῞}
+\DeclareTextCompositeCommand{\accdasiaperispomeni}{\LastDeclaredEncoding}{\textcompwordmark}{῟}
+
+\DeclareTextCompositeCommand{\u}{\LastDeclaredEncoding}{\textupsilon}{ῠ}
+\DeclareTextCompositeCommand{\=}{\LastDeclaredEncoding}{\textupsilon}{ῡ}
+\DeclareTextCompositeCommand{\accdialytikavaria}{\LastDeclaredEncoding}{\textupsilon}{ῢ}
+\DeclareTextCompositeCommand{\accdialytikaoxia}{\LastDeclaredEncoding}{\textupsilon}{ΰ}
+\DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textrho}{ῤ}
+\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textrho}{ῥ}
+\DeclareTextCompositeCommand{\~}{\LastDeclaredEncoding}{\textupsilon}{ῦ}
+\DeclareTextCompositeCommand{\accperispomeni}{\LastDeclaredEncoding}{\textupsilon}{ῦ}
+\DeclareTextCompositeCommand{\accdialytikaperispomeni}{\LastDeclaredEncoding}{\textupsilon}{ῧ}
+\DeclareTextCompositeCommand{\u}{\LastDeclaredEncoding}{\textUpsilon}{Ῠ}
+\DeclareTextCompositeCommand{\=}{\LastDeclaredEncoding}{\textUpsilon}{Ῡ}
+\DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\textUpsilon}{Ὺ}
+\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textUpsilon}{Ύ}
+\DeclareTextCompositeCommand{\accvaria}{\LastDeclaredEncoding}{\textUpsilon}{Ὺ}
+\DeclareTextCompositeCommand{\acctonos}{\LastDeclaredEncoding}{\textUpsilon}{Ύ}
+\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textRho}{Ῥ}
+\DeclareTextCompositeCommand{\accdialytikavaria}{\LastDeclaredEncoding}{\textcompwordmark}{῭}
+\DeclareTextCompositeCommand{\accdialytikaoxia}{\LastDeclaredEncoding}{\textcompwordmark}{΅}
+\DeclareTextCompositeCommand{\accvaria}{\LastDeclaredEncoding}{\textcompwordmark}{`}
+
+% \DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\textomega\ypogegrammeni}{ῲ}
+% \DeclareTextCompositeCommand{\textomega}{\LastDeclaredEncoding}{\ypogegrammeni}{ῳ}
+% \DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textomega\ypogegrammeni}{ῴ}
+\DeclareTextCompositeCommand{\~}{\LastDeclaredEncoding}{\textomega}{ῶ}
+\DeclareTextCompositeCommand{\accperispomeni}{\LastDeclaredEncoding}{\textomega}{ῶ}
+% \DeclareTextCompositeCommand{\accperispomeni}{\LastDeclaredEncoding}{\textomega\ypogegrammeni}{ῷ}
+\DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\textOmicron}{Ὸ}
+\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textOmicron}{Ό}
+\DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\textOmega}{Ὼ}
+\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textOmega}{Ώ}
+\DeclareTextCompositeCommand{\accvaria}{\LastDeclaredEncoding}{\textOmicron}{Ὸ}
+\DeclareTextCompositeCommand{\acctonos}{\LastDeclaredEncoding}{\textOmicron}{Ό}
+\DeclareTextCompositeCommand{\accvaria}{\LastDeclaredEncoding}{\textOmega}{Ὼ}
+\DeclareTextCompositeCommand{\acctonos}{\LastDeclaredEncoding}{\textOmega}{Ώ}
+\DeclareTextCompositeCommand{\textOmega}{\LastDeclaredEncoding}{\prosgegrammeni}{ῼ}
+\DeclareTextCompositeCommand{\accoxia}{\LastDeclaredEncoding}{\textcompwordmark}{´}
+\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textcompwordmark}{῾}
+
+% Letterlike Symbols
+% ~~~~~~~~~~~~~~~~~~
+% ::
+
+\DeclareTextCommand{\textohm}{\LastDeclaredEncoding}{Ω} % OHM SIGN
+
+% Ancient Greek Numbers
+% ~~~~~~~~~~~~~~~~~~~~~
+% TODO: map other chars to corresponding Greek letters.
+% See also the grnumalt_ package.
+%
+% Definition with literal Unicode characters, because the code-point has 5
+% hexadecimal digits:
+%
+% ::
+
+\DeclareTextCommand{\textpentedeka}{\LastDeclaredEncoding}{𐅄} % GREEK ACROPHONIC ATTIC FIFTY
+\DeclareTextCommand{\textpentehekaton}{\LastDeclaredEncoding}{𐅅} % GREEK ACROPHONIC ATTIC FIVE HUNDRED
+\DeclareTextCommand{\textpenteqilioi}{\LastDeclaredEncoding}{𐅆} % GREEK ACROPHONIC ATTIC FIVE THOUSAND
+\DeclareTextCommand{\textpentemuria}{\LastDeclaredEncoding}{𐅇} % GREEK ACROPHONIC ATTIC FIFTY THOUSAND
+
+
+% UPPERCASE
+% ~~~~~~~~~
+%
+% The `common Greek font encoding definitions`_ in ``greek-fontenc.def`` extend
+% the `uclclist` with Greek LICR macros. Here, we add EU1 specific "hiatus"
+% handling.
+%
+% Mark hiatus
+% """""""""""
+%
+% Tonos and dasia mark a hiatus if placed on the
+% first vowel of a diphthong (ΑΙ, ΑΥ, ΕΙ). A dialytika must be placed on the
+% second vowel if they are dropped (άυλος → ΑΫΛΟΣ, μάινα → ΜΑΪΝΑ, κέικ → ΚΕΪΚ,
+% ἀυπνία → ΑΫΠΝΙΑ).
+%
+% Look ahead and place a diaeresis on Ι or Υ
+% (copied from lgrenc.def and changed Latin transcription to Unicode literals)::
+
+\DeclareTextCommand{\LGR@A@hiatus}{\LastDeclaredEncoding}{%
+ \LGR@ifnextchar{Ι}{A\"}{%
+ \LGR@ifnextchar{Υ}{A\"}{%
+ \LGR@ifnextchar{\textIota}{A\"}{%
+ \LGR@ifnextchar{\textUpsilon}{A\"}{A}%
+ }%
+ }%
+ }%
+}
+\DeclareTextCommand{\LGR@E@hiatus}{\LastDeclaredEncoding}{%
+ \LGR@ifnextchar{Ι}{E\"}{%
+ \LGR@ifnextchar{Υ}{E\"}{%
+ \LGR@ifnextchar{\textIota}{E\"}{%
+ \LGR@ifnextchar{\textUpsilon}{E\"}{E}%
+ }%
+ }%
+ }%
+}
+
+% .. References
+%
+% .. _LaTeX Project Public License: http://www.latex-project.org/lppl.txt
+% .. _inputenc: http://www.ctan.org/pkg/inputenc
+% .. _greek-fontenc: http://www.ctan.org/pkg/greek-fontenc
+% .. _grnumalt: http://www.ctan.org/pkg/grnumalt
+%
+% .. _common Greek font encoding definitions: greek-fontenc.def.html
diff --git a/Master/texmf-dist/tex/latex/greek-fontenc/greek-fontenc.def b/Master/texmf-dist/tex/latex/greek-fontenc/greek-fontenc.def
new file mode 100644
index 00000000000..bed55a9b305
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/greek-fontenc/greek-fontenc.def
@@ -0,0 +1,362 @@
+% greek-fontenc.def
+% *****************
+%
+% Common Greek font encoding definitions
+% ======================================
+%
+% :Copyright: © 2013 Günter Milde
+% :Licence: 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 file provides definitions that are shared between
+% font encodings providing Greek characters.
+%
+% Changelog
+% ---------
+%
+% .. class:: borderless
+%
+% ===== ============ ========================================================
+% 0.1 2013-07-03 code "outsourced" from lgrxenc.def
+% ===== ============ ========================================================
+%
+% Usage
+% -----
+%
+% This file can be input by font encoding definition files after declaring the
+% font encoding.
+%
+% Example:
+% Define Greek LICR's for XeTeX
+%
+% .. code:: latex
+%
+% \DeclareFontEncoding{EU1}{}{}
+% \input{greek-fontenc.def}
+% % Unicode-specific LICR - Character mappings
+% % ...
+%
+%
+% Implementation
+% --------------
+%
+% Identification
+% ~~~~~~~~~~~~~~
+% ::
+
+\ProvidesFile{greek-fontenc.def}
+[2013/07/03 v0.1 Common Greek font encoding definitions]
+
+
+% Ensuregreek
+% ~~~~~~~~~~~
+%
+% The ``\ensuregreek`` command can be used to ensure that its argument is set
+% in a font encoding with support for Greek. If the active font encoding
+% supports it, kerning between adjacent command calls (e.g.
+% ``\ensuregreek{A}\ensuregreek{\Upsilon}``) is preserved. This allows, e.g.,
+% wrapping of compound Unicode character definitions. ::
+
+\DeclareTextCommand{\ensuregreek}{\LastDeclaredEncoding}[1]{#1}
+
+% Aliases
+% ~~~~~~~
+%
+% Compatibility aliases for hyperref_'s puenc.def, defined via
+% `DeclareTextCommand` so that up/downcasing works without the need for
+% additional uclclist entries::
+
+\DeclareTextCommand{\textstigmagreek}{\LastDeclaredEncoding}{\textstigma}
+\DeclareTextCommand{\textkoppagreek}{\LastDeclaredEncoding}{\textkoppa}
+\DeclareTextCommand{\textStigmagreek}{\LastDeclaredEncoding}{\textStigma}
+\DeclareTextCommand{\textSampigreek}{\LastDeclaredEncoding}{\textSampi}
+\DeclareTextCommand{\textsampigreek}{\LastDeclaredEncoding}{\textsampi}
+\DeclareTextCommand{\textdigammagreek}{\LastDeclaredEncoding}{\textdigamma}
+\DeclareTextCommand{\textDigammagreek}{\LastDeclaredEncoding}{\textDigamma}
+
+\DeclareTextCommand{\textnumeralsigngreek}{\LastDeclaredEncoding}{\textdexiakeraia}
+\DeclareTextCommand{\textnumeralsignlowergreek}{\LastDeclaredEncoding}{\textaristerikeraia}
+
+% Two Unicode names for one character::
+
+\DeclareTextCommand{\accoxia}{\LastDeclaredEncoding}{\acctonos}
+\DeclareTextCommand{\acckoronis}{\LastDeclaredEncoding}{\accpsili}
+
+% Symbol macros for the breathings::
+
+\DeclareTextCommand{\<}{\LastDeclaredEncoding}{\accdasia}
+\DeclareTextCommand{\>}{\LastDeclaredEncoding}{\accpsili}
+
+% TODO: do we also want alternative symbols for the breathings (cf. X compose
+% table, LCI encoding)?
+%
+% .. code:: latex
+%
+% \DeclareTextCommand{\(}{\LastDeclaredEncoding}{\accdasia}
+% \DeclareTextCommand{\)}{\LastDeclaredEncoding}{\accpsili}
+%
+% Names from babel_ and teubner_ (do we want to define them here as alias?)
+%
+% .. code:: latex
+%
+% \DeclareTextCommand{\anwtonos}{\LastDeclaredEncoding}{\textdexiakeraia} % ʹ
+% \DeclareTextCommand{\katwtonos}{\LastDeclaredEncoding}{\textaristerikeraia} % ͵
+%
+%
+% Composite diacritics
+% ~~~~~~~~~~~~~~~~~~~~
+%
+% Composite accents can be input as sequence of simple diacritics (in
+% arbitrary order) via named macro, symbol macro and "transcription
+% characters", e.g. one of
+%
+% .. code:: latex
+%
+% \accdialytica\accvaria\textalpha,
+% \"\'\textalpha,
+% \"'\textalpha, or
+% \'"\textalpha.
+%
+% Separate definitions for the supported variants of the second input token
+% are required as composition is based on the non-expanded input
+%
+% The composition with simple "transcription characters" must also be defined
+% for the symbol macros, otherwise it fails with ``\Makeuppercase``::
+
+\DeclareTextCompositeCommand{\accdialytika}{\LastDeclaredEncoding}{\acctonos}{\accdialytikatonos}
+\DeclareTextCompositeCommand{\accdialytika}{\LastDeclaredEncoding}{\'}{\accdialytikatonos}
+\DeclareTextCompositeCommand{\accdialytika}{\LastDeclaredEncoding}{'}{\accdialytikatonos}
+\DeclareTextCompositeCommand{\"}{\LastDeclaredEncoding}{'}{\accdialytikatonos}
+\DeclareTextCompositeCommand{\accdialytika}{\LastDeclaredEncoding}{\accvaria}{\accdialytikavaria}
+\DeclareTextCompositeCommand{\accdialytika}{\LastDeclaredEncoding}{\`}{\accdialytikavaria}
+\DeclareTextCompositeCommand{\accdialytika}{\LastDeclaredEncoding}{`}{\accdialytikavaria}
+\DeclareTextCompositeCommand{\"}{\LastDeclaredEncoding}{`}{\accdialytikavaria}
+\DeclareTextCompositeCommand{\accdialytika}{\LastDeclaredEncoding}{\accperispomeni}{\accdialytikaperispomeni}
+\DeclareTextCompositeCommand{\accdialytika}{\LastDeclaredEncoding}{\~}{\accdialytikaperispomeni}
+\DeclareTextCompositeCommand{\accdialytika}{\LastDeclaredEncoding}{~}{\accdialytikaperispomeni}
+\DeclareTextCompositeCommand{\"}{\LastDeclaredEncoding}{~}{\accdialytikaperispomeni}
+
+\DeclareTextCompositeCommand{\acctonos}{\LastDeclaredEncoding}{\accdialytika}{\accdialytikatonos}
+\DeclareTextCompositeCommand{\acctonos}{\LastDeclaredEncoding}{\"}{\accdialytikatonos}
+\DeclareTextCompositeCommand{\acctonos}{\LastDeclaredEncoding}{"}{\accdialytikatonos}
+\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{"}{\accdialytikatonos}
+\DeclareTextCompositeCommand{\acctonos}{\LastDeclaredEncoding}{\accdasia}{\accdasiaoxia}
+\DeclareTextCompositeCommand{\acctonos}{\LastDeclaredEncoding}{\<}{\accdasiaoxia}
+\DeclareTextCompositeCommand{\acctonos}{\LastDeclaredEncoding}{<}{\accdasiaoxia}
+\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{<}{\accdasiaoxia}
+\DeclareTextCompositeCommand{\acctonos}{\LastDeclaredEncoding}{\accpsili}{\accpsilioxia}
+\DeclareTextCompositeCommand{\acctonos}{\LastDeclaredEncoding}{\>}{\accpsilioxia}
+\DeclareTextCompositeCommand{\acctonos}{\LastDeclaredEncoding}{>}{\accpsilioxia}
+\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{>}{\accpsilioxia}
+\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{'}{\textquoteright}
+\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\'}{\textquoteright}
+
+\DeclareTextCompositeCommand{\accvaria}{\LastDeclaredEncoding}{\accdialytika}{\accdialytikavaria}
+\DeclareTextCompositeCommand{\accvaria}{\LastDeclaredEncoding}{\"}{\accdialytikavaria}
+\DeclareTextCompositeCommand{\accvaria}{\LastDeclaredEncoding}{"}{\accdialytikavaria}
+\DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{"}{\accdialytikavaria}
+\DeclareTextCompositeCommand{\accvaria}{\LastDeclaredEncoding}{\accdasia}{\accdasiavaria}
+\DeclareTextCompositeCommand{\accvaria}{\LastDeclaredEncoding}{\<}{\accdasiavaria}
+\DeclareTextCompositeCommand{\accvaria}{\LastDeclaredEncoding}{<}{\accdasiavaria}
+\DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{<}{\accdasiavaria}
+\DeclareTextCompositeCommand{\accvaria}{\LastDeclaredEncoding}{\accpsili}{\accpsilivaria}
+\DeclareTextCompositeCommand{\accvaria}{\LastDeclaredEncoding}{\>}{\accpsilivaria}
+\DeclareTextCompositeCommand{\accvaria}{\LastDeclaredEncoding}{>}{\accpsilivaria}
+\DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{>}{\accpsilivaria}
+\DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{`}{\textquoteleft}
+\DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\`}{\textquoteleft}
+
+\DeclareTextCompositeCommand{\accperispomeni}{\LastDeclaredEncoding}{\accdialytika}{\accdialytikaperispomeni}
+\DeclareTextCompositeCommand{\accperispomeni}{\LastDeclaredEncoding}{\"}{\accdialytikaperispomeni}
+\DeclareTextCompositeCommand{\accperispomeni}{\LastDeclaredEncoding}{"}{\accdialytikaperispomeni}
+\DeclareTextCompositeCommand{\~}{\LastDeclaredEncoding}{"}{\accdialytikaperispomeni}
+\DeclareTextCompositeCommand{\accperispomeni}{\LastDeclaredEncoding}{\accdasia}{\accdasiaperispomeni}
+\DeclareTextCompositeCommand{\accperispomeni}{\LastDeclaredEncoding}{\<}{\accdasiaperispomeni}
+\DeclareTextCompositeCommand{\accperispomeni}{\LastDeclaredEncoding}{<}{\accdasiaperispomeni}
+\DeclareTextCompositeCommand{\~}{\LastDeclaredEncoding}{<}{\accdasiaperispomeni}
+\DeclareTextCompositeCommand{\accperispomeni}{\LastDeclaredEncoding}{\accpsili}{\accpsiliperispomeni}
+\DeclareTextCompositeCommand{\accperispomeni}{\LastDeclaredEncoding}{\>}{\accpsiliperispomeni}
+\DeclareTextCompositeCommand{\accperispomeni}{\LastDeclaredEncoding}{>}{\accpsiliperispomeni}
+\DeclareTextCompositeCommand{\~}{\LastDeclaredEncoding}{>}{\accpsiliperispomeni}
+
+\DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\acctonos}{\accpsilioxia}
+\DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\'}{\accpsilioxia}
+\DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{'}{\accpsilioxia}
+\DeclareTextCompositeCommand{\>}{\LastDeclaredEncoding}{'}{\accpsilioxia}
+\DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\accvaria}{\accpsilivaria}
+\DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\`}{\accpsilivaria}
+\DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{`}{\accpsilivaria}
+\DeclareTextCompositeCommand{\>}{\LastDeclaredEncoding}{`}{\accpsilivaria}
+\DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\accperispomeni}{\accpsiliperispomeni}
+\DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\~}{\accpsiliperispomeni}
+\DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{~}{\accpsiliperispomeni}
+\DeclareTextCompositeCommand{\>}{\LastDeclaredEncoding}{~}{\accpsiliperispomeni}
+
+\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\acctonos}{\accdasiaoxia}
+\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\'}{\accdasiaoxia}
+\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{'}{\accdasiaoxia}
+\DeclareTextCompositeCommand{\<}{\LastDeclaredEncoding}{'}{\accdasiaoxia}
+\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\accvaria}{\accdasiavaria}
+\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\`}{\accdasiavaria}
+\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{`}{\accdasiavaria}
+\DeclareTextCompositeCommand{\<}{\LastDeclaredEncoding}{`}{\accdasiavaria}
+\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\accperispomeni}{\accdasiaperispomeni}
+\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\~}{\accdasiaperispomeni}
+\DeclareTextCompositeCommand{\<}{\LastDeclaredEncoding}{~}{\accdasiaperispomeni}
+
+
+% UPPERCASE
+% ~~~~~~~~~
+%
+% If UPPERCASE (all-caps) is generated with ``\MakeUppercase``, macro
+% substitutions in the ``\@uclclist`` apply. This can be used to drop the
+% diacritics (except dialytika and sub-iota). Different conventions exist for
+% the `treatment of sub-iota with uppercase letters`__. In the CB Fonts, an
+% "index" iota is used.
+%
+% __ http://www.tlg.uci.edu/~opoudjis/unicode/unicode_adscript.html
+%
+%
+% @uclclist extension
+% """""""""""""""""""
+%
+% Based on the `babel patch`_ and ``fontenc.sty``.
+%
+% The definition of an auxiliary, self-restting macro makes this idempotent
+% (only the first use of this function will expand the ``@uclclist``).
+% The second and third lines are TeX' way of writing ``uclclist += …``::
+
+\providecommand*\update@uclc@with@greek{%
+ \expandafter\def\expandafter\@uclclist\expandafter{%
+ \@uclclist
+ \accdasia\LGR@accdropped
+ \accdasiaoxia\LGR@hiatus
+ \accdasiavaria\LGR@accdropped
+ \accdasiaperispomeni\LGR@accdropped
+ \accpsili\LGR@hiatus
+ \accpsilioxia\LGR@hiatus
+ \accpsilivaria\LGR@hiatus
+ \accpsiliperispomeni\LGR@accdropped
+ \acctonos\LGR@hiatus
+ \accvaria\LGR@accdropped
+ \accdialytikatonos\LGR@accDialytika
+ \accdialytikavaria\LGR@accDialytika
+ \accdialytikaperispomeni\LGR@accDialytika
+ \accperispomeni\LGR@accdropped
+ \ypogegrammeni\prosgegrammeni
+ \textalpha \textAlpha
+ \textbeta \textBeta
+ \textgamma \textGamma
+ \textdelta \textDelta
+ \textepsilon\textEpsilon
+ \textzeta \textZeta
+ \texteta \textEta
+ \texttheta \textTheta
+ \textiota \textIota
+ \textkappa \textKappa
+ \textlambda \textLambda
+ \textmu \textMu
+ \textnu \textNu
+ \textxi \textXi
+ \textomicron\textOmicron
+ \textpi \textPi
+ \textrho \textRho
+ \textvarsigma \textSigma
+ \textsigma \textSigma
+ \textautosigma \textSigma
+ \texttau \textTau
+ \textupsilon\textUpsilon
+ \textphi \textPhi
+ \textchi \textChi
+ \textpsi \textPsi
+ \textomega \textOmega
+ \textqoppa \textQoppa
+ \textvarstigma \textStigma
+ \textstigma \textStigma
+ \textsampi \textSampi
+ \textdigamma \textDigamma
+ }%
+ \let\update@uclc@with@greek\relax
+}
+
+% Expand the uclc list using the just defined macro::
+
+\update@uclc@with@greek
+
+
+% Substitution macros
+% """""""""""""""""""
+%
+% Drop diacritics
+% (The argument processing ensures that kerning is preserved) ::
+
+\DeclareTextCommand{\LGR@accdropped}{\LastDeclaredEncoding}[1]{#1}
+
+
+% Keep dialytika: Define a dummy alias so that downcasing with
+% ``\MakeLowercase`` does not convert a simple dialytika to a composite
+% accent::
+
+\DeclareTextCommand{\LGR@accDialytika}{\LastDeclaredEncoding}{\accdialytika}
+\DeclareTextCompositeCommand{\accdialytika}{\LastDeclaredEncoding}{\LGR@hiatus}{\accdialytika}
+
+
+
+% Mark hiatus
+% """""""""""
+%
+% Tonos and dasia mark a hiatus if placed on the
+% first vowel of a diphthong (ΑΙ, ΑΥ, ΕΙ). A dialytika must be placed on the
+% second vowel if they are dropped (άυλος → ΑΫΛΟΣ, μάινα → ΜΑΪΝΑ, κέικ → ΚΕΪΚ,
+% ἀυπνία → ΑΫΠΝΙΑ)::
+
+\DeclareTextCommand{\LGR@hiatus}{\LastDeclaredEncoding}[1]{#1}
+\DeclareTextCompositeCommand{\LGR@hiatus}{\LastDeclaredEncoding}{>}{\LGR@hiatus}
+\DeclareTextCompositeCommand{\LGR@hiatus}{\LastDeclaredEncoding}{<}{\LGR@accdropped}
+\DeclareTextCompositeCommand{\LGR@hiatus}{\LastDeclaredEncoding}{\textAlpha}{\LGR@A@hiatus}
+\DeclareTextCompositeCommand{\LGR@hiatus}{\LastDeclaredEncoding}{\textEpsilon}{\LGR@E@hiatus}
+
+% The font encoding file must define the ``\LGR@hiatus`` TextCommand. See
+% ``lgrenc.def`` for an example.
+%
+% The following macro can be used to test if the next character is an Alpha or
+% Epsilon. As ``\@ifnextchar`` gobbles spaces the lookahead macro definition
+% from ``amsgen.sty`` is used:
+%
+% This macro is a new version of LaTeX’s ``\@ifnextchar``, macro
+% that does not skip over spaces.
+%
+% ::
+
+\providecommand*{\LGR@ifnextchar}[3]{%
+ \let\reserved@d= #1%
+ \def\reserved@a{#2}\def\reserved@b{#3}%
+ \futurelet\@let@token\LGR@ifnch
+}
+\providecommand*{\LGR@ifnch}{%
+ \ifx\@let@token\reserved@d \let\reserved@b\reserved@a \fi
+ \reserved@b
+}
+
+
+
+% .. References
+% ----------
+%
+% .. _alphabeta: alphabeta.sty.html
+% .. _athnum: http://www.ctan.org/pkg/athnum
+% .. _Babel: http://www.ctan.org/pkg/babel
+% .. _babel patch: http://www.eutypon.gr/eutypon/pdf/e2008-20/e20-a03.pdf
+% .. _fntguide: http://mirror.ctan.org/macros/latex/doc/fntguide.pdf
+% .. _fontenc: http://www.ctan.org/pkg/fontenc
+% .. _hyperref: http://www.ctan.org/pkg/hyperref
+% .. _ibycus: http://www.ctan.org/pkg/ibycus-babel
+% .. _LaTeX Project Public License: http://www.latex-project.org/lppl.txt
+% .. _lgrx: http://www.ctan.org/pkg/lgrx
+% .. _ltxcmds: http://www.ctan.org/pkg/ltxcmds
+% .. _teubner: http://www.ctan.org/pkg/teubner
+% .. _teubner-doc:
+% http://mirror.ctan.org/macros/latex/contrib/teubner/teubner-doc.pdf
+% .. _textalpha: textalpha.sty.html
+% .. _ucs: http://www.ctan.org/pkg/unicode
diff --git a/Master/texmf-dist/tex/latex/greek-fontenc/lgrenc.def b/Master/texmf-dist/tex/latex/greek-fontenc/lgrenc.def
index 3fd780a7063..5e652a8ce35 100644
--- a/Master/texmf-dist/tex/latex/greek-fontenc/lgrenc.def
+++ b/Master/texmf-dist/tex/latex/greek-fontenc/lgrenc.def
@@ -1,3 +1,83 @@
+% lgrenc.def
+% ***********
+%
+% LGR Greek font encoding definitions
+% ===================================
+%
+% :Copyright: © 2010 Günter Milde
+% :Licence: 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: The LGR font encoding is the de-facto standard for Greek
+% typesetting with LaTeX. This file provides a comprehensive set
+% of macros to typeset Greek with LGR encoded fonts. It works for
+% both, monotonic and polytonic Greek, independent of the `babel`
+% package.
+%
+% .. contents::
+%
+%
+% Changelog
+% ---------
+%
+% Development of this file started under the name "lgrxenc.def" as part of the
+% lgrx_ bundle. With version 0.8, it moved to ``greek-fontenc/lgrx.def``.
+%
+% .. class:: borderless
+%
+% ===== ============ ========================================================
+% 0.1 2010-03-31 initial attempt
+% 0.2 2010-04-20 diacritics dropped in UPPERCASE.
+% 0.3 2010-06-08 handle Titlecase and UPPERCASE extending
+% ``\@uclclist``.
+% 0.4 2010-06-15 more text symbols.
+% 0.5 2010-08-27 support ``\textalpha`` ... ``\textOmega``.
+% 0.5.1 2012-05-08 upload to CTAN.
+% 0.6 2012-06-29 ``\TextGreek`` wrapper command,
+% .. aliases for ``puenc.def`` compatibility.
+% 0.6.1 2013-02-12 ``\@uclclist`` entries for `PU` aliases.
+% 0.7 2013-05-13 documentation update, new accent macros names,
+% .. ``\TextGreek`` renamed to ``\ensuregreek``.
+% 0.8 2013-05-13 rename to lgrenc.def (superseding the babel_ version),
+% .. move to greek-fontenc,
+% .. drop the old (<0.7) internal accent macros names.
+% 0.8.1 2013-05-22 auxiliary macro \update@uclc@with@greek,
+% .. conservative naming: "text" prefix for archaic letters,
+% .. "LGR@" prefix for internal commands,
+% .. remove not required alias macros.
+% 0.8.2 2013-05-23 fix name: ``\textpentehkaton`` -> ``\textpentehekaton``,
+% .. fix ``\textperiodcentered``,
+% .. add composite command for Ῥ (Rho with Dasia).
+% 0.9 2013-07-16 move common definitions to ``greek-fontenc.def``,
+% .. add composite commands for single quotation marks.
+% ===== ============ ========================================================
+%
+% Usage
+% -----
+%
+% Load this file by calling fontenc_ with the ``LGR`` option
+% or indirectly via the babel_, textalpha_ or alphabeta_ packages.
+%
+% Example:
+% Select font encodings `T1` (as default) and `LGR` (for Greek):
+%
+% ``\usepackage[LGR,T1]{fontenc}``
+%
+%
+% Implementation
+% --------------
+%
+% Read this file only once
+% ~~~~~~~~~~~~~~~~~~~~~~~~
+% .. note:: The use of ``\@ifundefined`` has the side-effect that the tested
+% macro becomes defined and set to ``\relax`` (polluting the namespace and
+% interfering with tests via eTeX's ``\ifdefined``). However, in this case
+% no harm is done as the macro is defined by the identification_ below
+% anyway.
+%
+% ::
+
% read this file only once
\@ifundefined{ver@lgrenc.def}
{}
@@ -6,20 +86,53 @@
}
+% Identification
+% ~~~~~~~~~~~~~~
+% ::
+
\ProvidesFile{lgrenc.def}
-[2013/05/24 v0.8.2 LGR Greek font encoding definitions]
+[2013/06/11 v0.8.3 LGR Greek font encoding definitions]
% Copyright © 2010 Günter Milde
% This file is part of the "greek-fontenc" package.
% It 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.
+% You can test the version date using
+%
+% .. code:: latex
+%
+% \@ifl@ter {extension}{filename}{date}{YES}{NO}
+%
+% or using ltxcmds_' ``\@iffilelater``.
+%
+%
+% Base setup
+% ~~~~~~~~~~
+%
+% Declare the LGR font encoding and base substitutions::
+
\DeclareFontEncoding{LGR}{}{}
\DeclareFontSubstitution{LGR}{cmr}{m}{n}
\DeclareErrorFont{LGR}{cmr}{m}{n}{10}
-\DeclareTextCommand{\ensuregreek}{LGR}[1]{#1}
-
+% Text symbols
+% ~~~~~~~~~~~~
+%
+% Greek Alphabet
+% """"""""""""""
+%
+% Greek letters are accessible by the Latin transcription, but the mapping is
+% specific to the LGR font encoding.
+%
+% The LICR macros provide a way to access the symbols independent of the
+% specific font encoding, in any font encoding supporting Greek. An
+% alternative Greek font encodings is LGI (ibycus_). Greek script is also
+% supported by the Unicode-based font encodings PU (`PDF Unicode` used by
+% hyperref_ for PDF metadata), EU1 (XeTeX) and EU2 (LuaTeX). The textalpha_
+% package makes these macros available independent of the current font
+% encoding.
+% ::
\DeclareTextSymbol{\textAlpha}{LGR}{65}
\DeclareTextSymbol{\textBeta}{LGR}{66}
@@ -75,12 +188,25 @@
\DeclareTextSymbol{\textomega}{LGR}{119}
+% Additional Greek symbols
+% """"""""""""""""""""""""
+%
+% Ancient Greek Numbers (Athenian Numerals)
+% '''''''''''''''''''''''''''''''''''''''''
+%
+% Names from ucs_ (``ucsencs.def``)
+% (In ucs, five hundred is (wrongly?) named \textpentehkaton.) ::
+
\DeclareTextSymbol{\textpentedeka}{LGR}{2} % GREEK ACROPHONIC ATTIC FIFTY
\DeclareTextSymbol{\textpentehekaton}{LGR}{3} % GREEK ACROPHONIC ATTIC FIVE HUNDRED
\DeclareTextSymbol{\textpenteqilioi}{LGR}{4} % GREEK ACROPHONIC ATTIC FIVE THOUSAND
\DeclareTextSymbol{\textpentemuria}{LGR}{5} % GREEK ACROPHONIC ATTIC FIFTY THOUSAND
+% Archaic letters
+% '''''''''''''''
+% Names after teubner_ and ucs_::
+
\DeclareTextSymbol{\textstigma}{LGR}{6} % ϛ
\DeclareTextSymbol{\textvarstigma}{LGR}{7} % stigma variant (CB.enc, teubner)
\DeclareTextSymbol{\textkoppa}{LGR}{18} % ϟ (greek small letter koppa)
@@ -94,16 +220,27 @@
\DeclareTextSymbol{\textdigamma}{LGR}{147} % ϝ (ucs) \digamma used by amsmath for math-macro
\DeclareTextSymbol{\textDigamma}{LGR}{195} % Ϝ (ucs)
-\DeclareTextCommand{\textstigmagreek}{LGR}{\textstigma} % puenc.def
-\DeclareTextCommand{\textkoppagreek}{LGR}{\textkoppa} % puenc.def
-\DeclareTextCommand{\textStigmagreek}{LGR}{\textStigma} % puenc.def
-\DeclareTextCommand{\textSampigreek}{LGR}{\textSampi} % puenc.def
-\DeclareTextCommand{\textsampigreek}{LGR}{\textsampi} % puenc.def
-\DeclareTextCommand{\textdigammagreek}{LGR}{\textdigamma} % puenc.def
-\DeclareTextCommand{\textDigammagreek}{LGR}{\textDigamma} % puenc.def
-\DeclareTextSymbol{\textnumeralsigngreek}{LGR}{254} % ʹ (puenc.def)
-\DeclareTextSymbol{\textnumeralsignlowergreek}{LGR}{255} % ͵ (puenc.def)
+% Numeral signs
+% '''''''''''''
+% See also http://en.wikipedia.org/wiki/Greek_numerals
+%
+% Names from ucs_::
+
+\DeclareTextSymbol{\textdexiakeraia}{LGR}{254} % ʹ (Dexia keraia)
+\DeclareTextSymbol{\textaristerikeraia}{LGR}{255} % ͵ (Aristeri keraia)
+
+
+% Other
+% """""
+%
+% Characters that also exist in other font encodings:
+%
+% * define them for LGR if there is a matching glyph,
+% * use established macro names that match with other ``*enc.def`` files and
+% ``textcomp.sty``.
+%
+% All encodings: See usrguide.pdf, chapter 3.14 ff::
\DeclareTextSymbol{\textendash}{LGR}{0} % EN DASH
\DeclareTextSymbol{\textquoteleft}{LGR}{28} % ‘
@@ -112,22 +249,84 @@
\DeclareTextSymbol{\textcompwordmark}{LGR}{118} % ZERO WIDTH NO JOINER
\DeclareTextSymbol{\textemdash}{LGR}{127} % EM DASH
+% T1::
+
\DeclareTextSymbol{\guillemotleft}{LGR}{123} % «
\DeclareTextSymbol{\guillemotright}{LGR}{125} % »
-\ProvideTextCommand{\textasciibreve}{LGR}{\char30\textcompwordmark} % ˘
-\ProvideTextCommand{\textasciimacron}{LGR}{\char31\textcompwordmark} % ¯
-\ProvideTextCommand{\textasciidieresis}{LGR}{\char34\textcompwordmark} % "
-\ProvideTextCommand{\textasciiacute}{LGR}{\char39\textcompwordmark} % '
-\ProvideTextCommand{\textasciigrave}{LGR}{\char96\textcompwordmark} % `
-\DeclareTextCommand{\textasciitilde}{LGR}{\char126\textcompwordmark} % ~
+% TS1::
+
+\ProvideTextCommand{\textasciibreve}{LGR}{\char30\textcompwordmark} % ˘
+\ProvideTextCommand{\textasciimacron}{LGR}{\char31\textcompwordmark} % ¯
+\ProvideTextCommand{\textasciidieresis}{LGR}{"\textcompwordmark} % "
+\ProvideTextCommand{\textasciiacute}{LGR}{'\textcompwordmark} % '
+\ProvideTextCommand{\textasciigrave}{LGR}{`\textcompwordmark} % `
+\DeclareTextCommand{\textasciitilde}{LGR}{\char126\textcompwordmark} % ~
\DeclareTextSymbol{\textohm}{LGR}{87} % Ω (Ohm sign -> Omega)
\DeclareTextSymbol{\texteuro}{LGR}{24} % € \euro in greek.ldf
\DeclareTextSymbol{\textpercent}{LGR}{37} % %
-\DeclareTextSymbol{\textperthousand}{LGR}{25} % ‰ \permille in greek.ldf
+\DeclareTextSymbol{\textperthousand}{LGR}{25} % ‰ \permill in greek.ldf
+
+% T3::
\DeclareTextSymbol{\textschwa}{LGR}{26} % ə
+% Not implemented
+% """""""""""""""
+%
+% The characters at position 16 and 17 are used in the ``\nexus`` macro
+% of the teubner_ package to form an extensible, hat-like bracket. In
+% ``CB.enc``, they are mapped to
+%
+% 16--MODIFIER LETTER LOW ACUTE ACCENT
+% 17--MODIFIER LETTER LOW GRAVE ACCENT
+%
+% but according to the documentation of Werner Lemberg's `babel patch`_,
+% they rather represent the left and right part of U+23E0 TOP TORTOISE
+% SHELL BRACKET.
+%
+% Babel's ``lgrenc.def`` has some definitions to prevent surprises with
+% macros that expect a Latin script. These definitions are problematic in a
+% font-encoding definition file as they require ``\textlatin`` which is
+% defined in ``babel.def``. They were moved to ``greek.ldf``.
+%
+%
+% Diacritics
+% ~~~~~~~~~~
+%
+% This section defines `named macros`_ for Greek diacritics and standard
+% `symbol macros`_ as alias for simple diacritics. Convenient input
+% conventions for `composite diacritics`_ are defined as `composite
+% definitions`_.
+%
+% Advantages:
+%
+% * input convention similar to LGR input encodings (just prepend a ``\``).
+%
+% * Access pre-composed characters without resorting to the
+% ligature mechanism (allows proper kerning, cf. teubner-doc_).
+%
+% * Named macros can be used to ensure a font encoding supporting Greek is
+% used. However, substitution with pre-composed characters works only for
+% the active font encoding (cf. textalpha_). Named accent macros can also be
+% used instead of the ``\@tabacckludge`` by to-LaTeX converters to ensure
+% working also inside the tabbing environment.
+%
+% * Named macros are required for upcasing according to Greek typesetting
+% conventions (cf. `UPPERCASE`_ below) and for composite diacritics.
+%
+%
+% Named macros
+% """"""""""""
+%
+% Definitions are based on the teubner_ package by Claudio Beccari, the ucs_
+% package, and the `babel patch`_ by Werner Lemberg. Names are derived from
+% the Unicode name with the prefix "acc" (cf. `How to name accent macros?`
+% in the README_) reducing the probability of incompatibilities compared to the
+% two-letter teubner_ diacritic macros or the "text" prefix used by ucs_.
+%
+% Simple Greek diacritics::
+
\DeclareTextAccent{\accdialytika}{LGR}{34} % διαλυτικά (diaeresis/trema)
\DeclareTextAccent{\acctonos}{LGR}{39} % τόνος/ὀξεῖα tonos/oxia (acute)
\DeclareTextAccent{\accdasia}{LGR}{60} % δασεῖα spiritus asper (rough breathing)
@@ -135,9 +334,15 @@
\DeclareTextAccent{\accvaria}{LGR}{96} % βαρεῖα (grave)
\DeclareTextAccent{\accperispomeni}{LGR}{126} % περισπωμένη (circonflex/tilde)
+% The sub-iota is input after the base character. In LGR fonts, ligatures are
+% defined for pre-composed characters, the postfix ligature does not interfere
+% with kerning::
+
\DeclareTextSymbol{\prosgegrammeni}{LGR}{8} % ι "capital" sub-iota
\DeclareTextSymbol{\ypogegrammeni}{LGR}{124} % ͺ "small" sub-iota
+% Composite diacritics::
+
% Teubner name
\DeclareTextAccent{\accdialytikaperispomeni}{LGR}{32} % Cd
\DeclareTextAccent{\accdialytikatonos}{LGR}{35} % Ad
@@ -151,6 +356,9 @@
\DeclareTextAccent{\accpsilioxia}{LGR}{94} % As
\DeclareTextAccent{\accpsilivaria}{LGR}{95} % Gs
+% For classical Greek and linguistics, the LGR font encoding contains a number
+% of additional diacritic symbols::
+
\DeclareTextAccent{\accinvertedbrevebelow}{LGR}{1} % INVERTED BREVE BELOW
\DeclareTextAccent{\textsubarch}{LGR}{1} % (tipa)
\DeclareTextAccent{\accbrevebelow}{LGR}{20} % BREVE BELOW
@@ -158,95 +366,68 @@
\DeclareTextAccent{\=}{LGR}{31} % MACRON
+% Aliases
+% """""""
+%
+% The standard _`symbol macros` are exclusively used for Greek diacritics
+% in LGR::
+
\DeclareTextCommand{\"}{LGR}{\accdialytika}
\DeclareTextCommand{\'}{LGR}{\acctonos}
\DeclareTextCommand{\`}{LGR}{\accvaria}
\DeclareTextCommand{\~}{LGR}{\accperispomeni}
-\DeclareTextCommand{\<}{LGR}{\accdasia}
-\DeclareTextCommand{\>}{LGR}{\accpsili}
-
-\DeclareTextCommand{\accoxia}{LGR}{\acctonos}
-\DeclareTextCommand{\acckoronis}{LGR}{\accpsili}
-
-
-\DeclareTextCompositeCommand{\accdialytika}{LGR}{\acctonos}{\accdialytikatonos}
-\DeclareTextCompositeCommand{\accdialytika}{LGR}{\'}{\accdialytikatonos}
-\DeclareTextCompositeCommand{\accdialytika}{LGR}{'}{\accdialytikatonos}
-\DeclareTextCompositeCommand{\"}{LGR}{'}{\accdialytikatonos}
-\DeclareTextCompositeCommand{\accdialytika}{LGR}{\accvaria}{\accdialytikavaria}
-\DeclareTextCompositeCommand{\accdialytika}{LGR}{\`}{\accdialytikavaria}
-\DeclareTextCompositeCommand{\accdialytika}{LGR}{`}{\accdialytikavaria}
-\DeclareTextCompositeCommand{\"}{LGR}{`}{\accdialytikavaria}
-\DeclareTextCompositeCommand{\accdialytika}{LGR}{\accperispomeni}{\accdialytikaperispomeni}
-\DeclareTextCompositeCommand{\accdialytika}{LGR}{\~}{\accdialytikaperispomeni}
-\DeclareTextCompositeCommand{\accdialytika}{LGR}{~}{\accdialytikaperispomeni}
-\DeclareTextCompositeCommand{\"}{LGR}{~}{\accdialytikaperispomeni}
-
-\DeclareTextCompositeCommand{\acctonos}{LGR}{\accdialytika}{\accdialytikatonos}
-\DeclareTextCompositeCommand{\acctonos}{LGR}{\"}{\accdialytikatonos}
-\DeclareTextCompositeCommand{\acctonos}{LGR}{"}{\accdialytikatonos}
-\DeclareTextCompositeCommand{\'}{LGR}{"}{\accdialytikatonos}
-\DeclareTextCompositeCommand{\acctonos}{LGR}{\accdasia}{\accdasiaoxia}
-\DeclareTextCompositeCommand{\acctonos}{LGR}{\<}{\accdasiaoxia}
-\DeclareTextCompositeCommand{\acctonos}{LGR}{<}{\accdasiaoxia}
-\DeclareTextCompositeCommand{\'}{LGR}{<}{\accdasiaoxia}
-\DeclareTextCompositeCommand{\acctonos}{LGR}{\accpsili}{\accpsilioxia}
-\DeclareTextCompositeCommand{\acctonos}{LGR}{\>}{\accpsilioxia}
-\DeclareTextCompositeCommand{\acctonos}{LGR}{>}{\accpsilioxia}
-\DeclareTextCompositeCommand{\'}{LGR}{>}{\accpsilioxia}
-
-\DeclareTextCompositeCommand{\accvaria}{LGR}{\accdialytika}{\accdialytikavaria}
-\DeclareTextCompositeCommand{\accvaria}{LGR}{\"}{\accdialytikavaria}
-\DeclareTextCompositeCommand{\accvaria}{LGR}{"}{\accdialytikavaria}
-\DeclareTextCompositeCommand{\`}{LGR}{"}{\accdialytikavaria}
-\DeclareTextCompositeCommand{\accvaria}{LGR}{\accdasia}{\accdasiavaria}
-\DeclareTextCompositeCommand{\accvaria}{LGR}{\<}{\accdasiavaria}
-\DeclareTextCompositeCommand{\accvaria}{LGR}{<}{\accdasiavaria}
-\DeclareTextCompositeCommand{\`}{LGR}{<}{\accdasiavaria}
-\DeclareTextCompositeCommand{\accvaria}{LGR}{\accpsili}{\accpsilivaria}
-\DeclareTextCompositeCommand{\accvaria}{LGR}{\>}{\accpsilivaria}
-\DeclareTextCompositeCommand{\accvaria}{LGR}{>}{\accpsilivaria}
-\DeclareTextCompositeCommand{\`}{LGR}{>}{\accpsilivaria}
-
-\DeclareTextCompositeCommand{\accperispomeni}{LGR}{\accdialytika}{\accdialytikaperispomeni}
-\DeclareTextCompositeCommand{\accperispomeni}{LGR}{\"}{\accdialytikaperispomeni}
-\DeclareTextCompositeCommand{\accperispomeni}{LGR}{"}{\accdialytikaperispomeni}
-\DeclareTextCompositeCommand{\~}{LGR}{"}{\accdialytikaperispomeni}
-\DeclareTextCompositeCommand{\accperispomeni}{LGR}{\accdasia}{\accdasiaperispomeni}
-\DeclareTextCompositeCommand{\accperispomeni}{LGR}{\<}{\accdasiaperispomeni}
-\DeclareTextCompositeCommand{\accperispomeni}{LGR}{<}{\accdasiaperispomeni}
-\DeclareTextCompositeCommand{\~}{LGR}{<}{\accdasiaperispomeni}
-\DeclareTextCompositeCommand{\accperispomeni}{LGR}{\accpsili}{\accpsiliperispomeni}
-\DeclareTextCompositeCommand{\accperispomeni}{LGR}{\>}{\accpsiliperispomeni}
-\DeclareTextCompositeCommand{\accperispomeni}{LGR}{>}{\accpsiliperispomeni}
-\DeclareTextCompositeCommand{\~}{LGR}{>}{\accpsiliperispomeni}
-
-\DeclareTextCompositeCommand{\accpsili}{LGR}{\acctonos}{\accpsilioxia}
-\DeclareTextCompositeCommand{\accpsili}{LGR}{\'}{\accpsilioxia}
-\DeclareTextCompositeCommand{\accpsili}{LGR}{'}{\accpsilioxia}
-\DeclareTextCompositeCommand{\>}{LGR}{'}{\accpsilioxia}
-\DeclareTextCompositeCommand{\accpsili}{LGR}{\accvaria}{\accpsilivaria}
-\DeclareTextCompositeCommand{\accpsili}{LGR}{\`}{\accpsilivaria}
-\DeclareTextCompositeCommand{\accpsili}{LGR}{`}{\accpsilivaria}
-\DeclareTextCompositeCommand{\>}{LGR}{`}{\accpsilivaria}
-\DeclareTextCompositeCommand{\accpsili}{LGR}{\accperispomeni}{\accpsiliperispomeni}
-\DeclareTextCompositeCommand{\accpsili}{LGR}{\~}{\accpsiliperispomeni}
-\DeclareTextCompositeCommand{\accpsili}{LGR}{~}{\accpsiliperispomeni}
-\DeclareTextCompositeCommand{\>}{LGR}{~}{\accpsiliperispomeni}
-
-\DeclareTextCompositeCommand{\accdasia}{LGR}{\acctonos}{\accdasiaoxia}
-\DeclareTextCompositeCommand{\accdasia}{LGR}{\'}{\accdasiaoxia}
-\DeclareTextCompositeCommand{\accdasia}{LGR}{'}{\accdasiaoxia}
-\DeclareTextCompositeCommand{\<}{LGR}{'}{\accdasiaoxia}
-\DeclareTextCompositeCommand{\accdasia}{LGR}{\accvaria}{\accdasiavaria}
-\DeclareTextCompositeCommand{\accdasia}{LGR}{\`}{\accdasiavaria}
-\DeclareTextCompositeCommand{\accdasia}{LGR}{`}{\accdasiavaria}
-\DeclareTextCompositeCommand{\<}{LGR}{`}{\accdasiavaria}
-\DeclareTextCompositeCommand{\accdasia}{LGR}{\accperispomeni}{\accdasiaperispomeni}
-\DeclareTextCompositeCommand{\accdasia}{LGR}{\~}{\accdasiaperispomeni}
-\DeclareTextCompositeCommand{\<}{LGR}{~}{\accdasiaperispomeni}
+% The sub-iota__ is input after the base character. In LGR fonts, ligatures are
+% defined for pre-composed characters, the postfix ligature does not interfere
+% with kerning::
+
+\DeclareTextSymbol{\prosgegrammeni}{LGR}{8} % ι "capital" sub-iota
+\DeclareTextSymbol{\ypogegrammeni}{LGR}{124} % ͺ "small" sub-iota
+
+% __ http://en.wikipedia.org/wiki/Hypogegrammeni
+%
+% For classical Greek and linguistics, the LGR font encoding contains a number
+% of additional diacritic symbols::
+
+\DeclareTextAccent{\accinvertedbrevebelow}{LGR}{1} % INVERTED BREVE BELOW
+\DeclareTextAccent{\textsubarch}{LGR}{1} % (tipa)
+\DeclareTextAccent{\accbrevebelow}{LGR}{20} % BREVE BELOW
+\DeclareTextAccent{\u}{LGR}{30} % BREVE
+\DeclareTextAccent{\=}{LGR}{31} % MACRON
+
+
+% Common Greek font encoding definitions
+% ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+%
+% The file greek-fontenc.def contains font encoding definitions that are
+% shared by font encodings providing Greek characters::
+
+\input{greek-fontenc.def}
+
+
+% Composite definitions
+% ~~~~~~~~~~~~~~~~~~~~~
+%
+% Composite diacritics
+% """"""""""""""""""""
+%
+% Composite accents can be input as sequence of simple diacritics (in
+% arbitrary order) via named macro, symbol macro and "transcription
+% characters", e.g. ``\accdialytica\accvaria\textalpha``, ``\"\'\textalpha``,
+% ``\"'\textalpha``, or ``\'"\textalpha``.
+%
+% The actual declarations are part of the `common Greek font encoding
+% definitions`_.
+%
+%
+% Pre-composed letters
+% """"""""""""""""""""
+% Small letters with diacritics
+% '''''''''''''''''''''''''''''
+%
+% (from teubner_ with changed names of the composite accents)::
+
\DeclareTextComposite{\accvaria}{LGR}{a}{128}
\DeclareTextComposite{\accdasia}{LGR}{a}{129}
\DeclareTextComposite{\accpsili}{LGR}{a}{130}
@@ -329,6 +510,8 @@
\DeclareTextComposite{\accdasia}{LGR}{r}{251}
\DeclareTextComposite{\accpsili}{LGR}{r}{252}
+% Pre-composed letters with diacritics + LICR macros::
+
\DeclareTextComposite{\accvaria}{LGR}{\textalpha}{128}
\DeclareTextComposite{\accdasia}{LGR}{\textalpha}{129}
\DeclareTextComposite{\accpsili}{LGR}{\textalpha}{130}
@@ -412,6 +595,19 @@
\DeclareTextComposite{\accpsili}{LGR}{r}{252}
+% Capital letters with diacritics
+% '''''''''''''''''''''''''''''''
+%
+% In Greek, diacritics are omitted in all-uppercase words, but kept as part
+% of an uppercase initial (written before rather than above the letter).
+%
+% The diaytika should also always be used in all-uppercase words (even
+% in cases where they are not needed when writing in lowercase)
+%
+% -- http://en.wikipedia.org/wiki/Capitalization
+%
+% In Title Case, place diacritics before instead of above the base character::
+
\DeclareTextCompositeCommand{\accdasia}{LGR}{A}{<A}
\DeclareTextCompositeCommand{\accdasiavaria}{LGR}{A}{<`A}
\DeclareTextCompositeCommand{\accdasiaoxia}{LGR}{A}{<'A}
@@ -483,9 +679,13 @@
\DeclareTextCompositeCommand{\acctonos}{LGR}{W}{'W}
\DeclareTextCompositeCommand{\accvaria}{LGR}{W}{`W}
+% Except for the dialytika::
+
\DeclareTextComposite{\accdialytika}{LGR}{I}{219}
\DeclareTextComposite{\accdialytika}{LGR}{U}{223}
+% Do the same for the LICR macros::
+
\DeclareTextCompositeCommand{\accdasia}{LGR}{\textAlpha}{<A}
\DeclareTextCompositeCommand{\accdasiavaria}{LGR}{\textAlpha}{<`A}
\DeclareTextCompositeCommand{\accdasiaoxia}{LGR}{\textAlpha}{<'A}
@@ -557,81 +757,31 @@
\DeclareTextCompositeCommand{\acctonos}{LGR}{\textOmega}{'W}
\DeclareTextCompositeCommand{\accvaria}{LGR}{\textOmega}{`W}
+% Except for the dialytika::
+
\DeclareTextComposite{\accdialytika}{LGR}{\textIota}{219}
\DeclareTextComposite{\accdialytika}{LGR}{\textUpsilon}{223}
-\providecommand*\update@uclc@with@greek{%
- \expandafter\def\expandafter\@uclclist\expandafter{%
- \@uclclist
- \accdasia\LGR@accdropped
- \accdasiaoxia\LGR@hiatus
- \accdasiavaria\LGR@accdropped
- \accdasiaperispomeni\LGR@accdropped
- \accpsili\LGR@hiatus
- \accpsilioxia\LGR@hiatus
- \accpsilivaria\LGR@hiatus
- \accpsiliperispomeni\LGR@accdropped
- \acctonos\LGR@hiatus
- \accvaria\LGR@accdropped
- \accdialytikatonos\LGR@accDialytika
- \accdialytikavaria\LGR@accDialytika
- \accdialytikaperispomeni\LGR@accDialytika
- \accperispomeni\LGR@accdropped
- \ypogegrammeni\prosgegrammeni
- %
- \textalpha \textAlpha
- \textbeta \textBeta
- \textgamma \textGamma
- \textdelta \textDelta
- \textepsilon\textEpsilon
- \textzeta \textZeta
- \texteta \textEta
- \texttheta \textTheta
- \textiota \textIota
- \textkappa \textKappa
- \textlambda \textLambda
- \textmu \textMu
- \textnu \textNu
- \textxi \textXi
- \textomicron\textOmicron
- \textpi \textPi
- \textrho \textRho
- \textvarsigma \textSigma
- \textsigma \textSigma
- \textautosigma \textSigma
- \texttau \textTau
- \textupsilon\textUpsilon
- \textphi \textPhi
- \textchi \textChi
- \textpsi \textPsi
- \textomega \textOmega
- %
- \textqoppa \textQoppa
- \textvarstigma \textStigma
- \textstigma \textStigma
- \textsampi \textSampi
- \textdigamma \textDigamma
- }%
- \let\update@uclc@with@greek\relax
-}
-
-\update@uclc@with@greek
-
-
-\DeclareTextCommand{\LGR@accdropped}{LGR}[1]{#1}
-
-\DeclareTextCommand{\LGR@accDialytika}{LGR}{\accdialytika}
-
-\DeclareTextCompositeCommand{\accdialytika}{LGR}{\LGR@hiatus}{\accdialytika}
-
-\DeclareTextCommand{\LGR@hiatus}{LGR}[1]{#1}
-\DeclareTextCompositeCommand{\LGR@hiatus}{LGR}{>}{\LGR@hiatus}
-\DeclareTextCompositeCommand{\LGR@hiatus}{LGR}{<}{\LGR@accdropped}
+% UPPERCASE
+% ~~~~~~~~~
+%
+% The `common Greek font encoding definitions`_ in ``greek-fontenc.def`` extend
+% the `uclclist` with Greek LICR macros. Here, we add LGR specific "hiatus"
+% handling::
+
\DeclareTextCompositeCommand{\LGR@hiatus}{LGR}{A}{\LGR@A@hiatus}
-\DeclareTextCompositeCommand{\LGR@hiatus}{LGR}{\textAlpha}{\LGR@A@hiatus}
\DeclareTextCompositeCommand{\LGR@hiatus}{LGR}{E}{\LGR@E@hiatus}
-\DeclareTextCompositeCommand{\LGR@hiatus}{LGR}{\textEpsilon}{\LGR@E@hiatus}
+
+% TODO: What does the \LGR@hiatus command "see" if an unicode literal follows?
+%
+% .. code:: latex
+%
+% % \DeclareTextCompositeCommand{\LGR@hiatus}{LGR}{\symbol{"ce}}{bluff}
+% % \DeclareTextCompositeCommand{\LGR@hiatus}{LGR}{"cf}{blaff}
+% % \DeclareTextCompositeCommand{\LGR@hiatus}{LGR}{ι}{blaff}
+%
+% Look ahead and place a diaeresis on Ι or Υ::
\DeclareTextCommand{\LGR@A@hiatus}{LGR}{%
\LGR@ifnextchar{I}{A\"}{%
@@ -652,13 +802,51 @@
}%
}
-\ProvideTextCommand{\LGR@ifnextchar}{LGR}[3]{%
- \let\reserved@d= #1%
- \def\reserved@a{#2}\def\reserved@b{#3}%
- \futurelet\@let@token\LGR@ifnch
-}
-\ProvideTextCommand{\LGR@ifnch}{LGR}{%
- \ifx\@let@token\reserved@d \let\reserved@b\reserved@a \fi
- \reserved@b
-}
-
+% Unfortunately, the lookahead breaks kerning.
+%
+% Alternatives tried:
+%
+% * CompositeCommands fail at the end of a macro, e.g. ``\emph{\'a}``
+%
+% .. code:: latex
+%
+% \DeclareTextCommand{\LGR@A@hiatus}{LGR}{A}
+% \DeclareTextCommand{\LGR@E@hiatus}{LGR}{E}
+%
+% \DeclareTextCompositeCommand{\LGR@A@hiatus}{LGR}{}{A}
+% \DeclareTextCompositeCommand{\LGR@A@hiatus}{LGR}{I}{A\"I}
+% \DeclareTextCompositeCommand{\LGR@A@hiatus}{LGR}{U}{A\"U}
+%
+%
+% * The glyph No 12 is a special "Upcase Alpha" that in ligature with Y
+% and I adds a diaresis to them. However, it seems that it has only
+% kerning definitions for I and Y (as it is not intended for direct
+% use)
+%
+% .. code:: latex
+%
+% \DeclareTextComposite{\LGR@hiatus}{LGR}{A}{12}
+%
+% No such glyph exists for E but this is no problem as E does
+% not require kerning anyway.
+%
+% .. References
+% ----------
+%
+% .. _README: README.html
+% .. _alphabeta: alphabeta.sty.html
+% .. _athnum: http://www.ctan.org/pkg/athnum
+% .. _Babel: http://www.ctan.org/pkg/babel
+% .. _babel patch: http://www.eutypon.gr/eutypon/pdf/e2008-20/e20-a03.pdf
+% .. _fntguide: http://mirror.ctan.org/macros/latex/doc/fntguide.pdf
+% .. _fontenc: http://www.ctan.org/pkg/fontenc
+% .. _hyperref: http://www.ctan.org/pkg/hyperref
+% .. _ibycus: http://www.ctan.org/pkg/ibycus-babel
+% .. _LaTeX Project Public License: http://www.latex-project.org/lppl.txt
+% .. _lgrx: http://www.ctan.org/pkg/lgrx
+% .. _ltxcmds: http://www.ctan.org/pkg/ltxcmds
+% .. _teubner: http://www.ctan.org/pkg/teubner
+% .. _teubner-doc:
+% http://mirror.ctan.org/macros/latex/contrib/teubner/teubner-doc.pdf
+% .. _textalpha: textalpha.sty.html
+% .. _ucs: http://www.ctan.org/pkg/unicode
diff --git a/Master/texmf-dist/tex/latex/greek-fontenc/xunicode-greek.sty b/Master/texmf-dist/tex/latex/greek-fontenc/xunicode-greek.sty
new file mode 100644
index 00000000000..e6aca16f948
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/greek-fontenc/xunicode-greek.sty
@@ -0,0 +1,589 @@
+% xunicode-greek.sty: xunicode extension for Greek
+% ************************************************
+%
+% :Copyright: © 2013 Günter Milde
+% :Licence: 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.
+% :Identification:
+% ::
+
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{xunicode-greek}
+[2013/07/01 0.1 Greek LICRs for XeTeX and LuaTeX]
+
+% Based on `xunicode`, `lgrenc.def` and `lgrenc.dfu`.
+%
+% Changelog:
+% .. class:: borderless
+%
+% ========== ===== =========================================================
+% 2013-07-16 0.1 initial version
+% ========== ===== =========================================================
+%
+% Requires XeTeX or LuaTeX and a font with Greek characters. See
+% `<test-xunicode.tex>`_ and `<test-xunicode.pdf>`_ for usage details and
+% example.
+%
+% `xunicode.sty` defines several commands for the declaration of UTF
+% characters, composites and accents. These are (sparsely) documented in the
+% source. Unfortunately, they do not work seamless with the standard NFSS
+% commands described in the fntguide. Therefore, some declarations are done
+% twice: for fontenc and for xunicode (xunicode itself uses dummy declarations
+% for the OT1 encoding).
+%
+% Greek Diacritics
+% ================
+%
+% Define "named macros" for simple and combined diacritics.
+%
+% * Named accent macros can be used instead of the ``\@tabacckludge`` by
+% to-LaTeX converters to ensure working also inside the tabbing environment.
+%
+% * Named macros are required for upcasing according to Greek typesetting
+% conventions and in the definition of composite commands.
+%
+% Greek alias names for standard accents::
+
+\DeclareTextCommand{\acctonos}{\LastDeclaredEncoding}{\@tabacckludge'}
+\DeclareTextCommand{\accvaria}{\LastDeclaredEncoding}{\@tabacckludge`}
+\DeclareTextCommand{\accdialytika}{\LastDeclaredEncoding}{\@tabacckludge"}
+\DeclareTextCommand{\accperispomeni}{\LastDeclaredEncoding}{\@tabacckludge~}
+
+% Breathings::
+
+\DeclareTextCommand{\accpsili}{\LastDeclaredEncoding}[1]{#1\char"0313 } % ψιλή spiritus lenis (smooth breathing)
+\DeclareTextCommand{\accdasia}{\LastDeclaredEncoding}[1]{#1\char"0314 } % δασεῖα spiritus asper (rough breathing)
+\DeclareTextCommand{\>}{\LastDeclaredEncoding}{\accpsili}
+\DeclareTextCommand{\<}{\LastDeclaredEncoding}{\accdasia}
+\DeclareEncodedCompositeCharacter{\LastDeclaredEncoding}{\accpsili}{0313}{02BC} % COMBINING COMMA ABOVE = Greek psili, smooth breathing mark
+\DeclareEncodedCompositeCharacter{\LastDeclaredEncoding}{\accdasia}{0314}{02BD} % COMBINING REVERSED COMMA ABOVE = Greek dasia, rough breathing mark
+
+% The COMBINING GREEK KORONIS is a legacy character, discarded in favour of
+% COMBINING COMMA ABOVE
+%
+% Sub-iota::
+
+% \ypogegrammeni is a postfix accent (ligature in LGR)
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x0345}{\ypogegrammeni} % COMBINING GREEK YPOGEGRAMMENI
+
+% Combined diacritics::
+
+% \DeclareTextCommand{\accdialytikatonos}{\LastDeclaredEncoding}[1]{#1\char"0308 \char"0301 }
+\DeclareTextCommand{\accdialytikatonos}{\LastDeclaredEncoding}{\textdieresisacute} % Greek alias
+\DeclareTextCommand{\accdialytikavaria}{\LastDeclaredEncoding}{\textdieresisgrave}
+\DeclareTextCommand{\accdialytikaperispomeni}{\LastDeclaredEncoding}[1]{#1\char"0342 \char"0308 }
+
+\DeclareTextCommand{\accdasiaoxia}{\LastDeclaredEncoding}[1]{#1\char"0314 \char"0301 }
+\DeclareTextCommand{\accdasiavaria}{\LastDeclaredEncoding}[1]{#1\char"0314 \char"0300 }
+\DeclareTextCommand{\accdasiaperispomeni}{\LastDeclaredEncoding}[1]{#1\char"0314 \char"0342 }
+
+\DeclareTextCommand{\accpsilioxia}{\LastDeclaredEncoding}[1]{#1\char"0301 \char"0313 }
+\DeclareTextCommand{\accpsilivaria}{\LastDeclaredEncoding}[1]{#1\char"0300 \char"0313 }
+\DeclareTextCommand{\accpsiliperispomeni}{\LastDeclaredEncoding}[1]{#1\char"0342 \char"0313 }
+
+% `xunicode` special commands for accents with combining Unicode character(s):
+%
+% According to the definition and usage in `xunicode.sty`,
+% ``\DeclareEncodedCompositeAccents`` should set up accents by combining two
+% combining characters. Unfortunately this does not seem to work: one of the
+% combining characters is missing (see test-xunicode.tex). However, as for
+% all letters that use the combining accents pre-composed characters
+% are selected (via composite definitions below) this should not matter in
+% actual use::
+
+% The COMBINING DIALYTIKA TONOS is discarded and not well supported by fonts:
+% \DeclareEncodedCompositeCharacter{\LastDeclaredEncoding}{\accdialytikatonos}{0344}{0385} % COMBINING GREEK DIALYTIKA TONOS / GREEK DIALYTIKA TONOS
+% Dialytika-Tonos and Dialytika-Varia are defined as alias for \textdieresisacute,
+% and \textdieresisgrave, i.e. already set up for xunicode:
+% \DeclareEncodedCompositeAccents{\LastDeclaredEncoding}{\accdialytikatonos}{0301}{0308}
+% \DeclareEncodedCompositeAccents{\LastDeclaredEncoding}{\accdialytikavaria}{0300}{0308}
+\DeclareEncodedCompositeAccents{\LastDeclaredEncoding}{\accdialytikaperispomeni}{0342}{0308}
+
+\DeclareEncodedCompositeAccents{\LastDeclaredEncoding}{\accdasiaoxia}{0314}{0301}
+\DeclareEncodedCompositeAccents{\LastDeclaredEncoding}{\accdasiavaria}{0314}{0300}
+\DeclareEncodedCompositeAccents{\LastDeclaredEncoding}{\accdasiaperispomeni}{0314}{0342}
+
+\DeclareEncodedCompositeAccents{\LastDeclaredEncoding}{\accpsilioxia}{0301}{0313}
+\DeclareEncodedCompositeAccents{\LastDeclaredEncoding}{\accpsilivaria}{0300}{0313}
+\DeclareEncodedCompositeAccents{\LastDeclaredEncoding}{\accpsiliperispomeni}{0342}{0313}
+
+
+% Composite Diacritics
+% ====================
+%
+% Use the `common Greek font encoding definitions`_::
+
+\input{../greek-fontenc/greek-fontenc.def}
+
+
+% Character Definitions
+% =====================
+%
+% Greek and Coptic
+% ~~~~~~~~~~~~~~~~
+%
+% ::
+
+% NR Unicode Name % babel name, UCS name
+% 0370 GREEK CAPITAL LETTER HETA % Ͱ
+% 0371 GREEK SMALL LETTER HETA % ͱ
+% 0372 GREEK CAPITAL LETTER ARCHAIC SAMPI % Ͳ
+% 0373 GREEK SMALL LETTER ARCHAIC SAMPI % Ͳ
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x0374}{\textnumeralsigngreek} % ʹ \anwtonos, \textdexiakeraia
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x0375}{\textnumeralsignlowergreek} % ͵ \katwtonos, \textaristerikeraia,
+% 0376 GREEK CAPITAL LETTER PAMPHYLIAN DIGAMMA % Ͷ
+% 0377 GREEK SMALL LETTER PAMPHYLIAN DIGAMMA % ͷ
+
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x037A}{\textcompwordmark}{\ypogegrammeni} % ͺ
+% 037B GREEK SMALL REVERSED LUNATE SIGMA SYMBOL %
+% 037C GREEK SMALL DOTTED LUNATE SIGMA SYMBOL %
+% 037D GREEK SMALL REVERSED DOTTED LUNATE SIGMA SYMBOL %
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x037E}{\texterotimatiko} % ; \textquestion
+
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x0384}{\'}{\textcompwordmark} % ΄
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x0385}{\"'}{\textcompwordmark} % ΅ \textdialytikatonos
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x0386}{\'}{\textAlpha} % Ά
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x0387}{\textanoteleia} % · \anoteleia
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x0388}{\'}{\textEpsilon} % Έ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x0389}{\'}{\textEta} % Ή
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x038A}{\'}{\textIota} % Ί
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x038C}{\'}{\textOmicron} % Ό
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x038E}{\'}{\textUpsilon} % Ύ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x038F}{\'}{\textOmega} % Ώ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x0390}{\accdialytikatonos}{\textiota} % ΐ
+
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x0391}{\textAlpha} % Α
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x0392}{\textBeta} % Β
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x0393}{\textGamma} % Γ
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x0394}{\textDelta} % Δ
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x0395}{\textEpsilon} % Ε
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x0396}{\textZeta} % Ζ
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x0397}{\textEta} % Η
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x0398}{\textTheta} % Θ
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x0399}{\textIota} % Ι
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x039A}{\textKappa} % Κ
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x039B}{\textLambda} % Λ
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x039C}{\textMu} % Μ
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x039D}{\textNu} % Ν
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x039E}{\textXi} % Ξ
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x039F}{\textOmicron} % Ο
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x03A0}{\textPi} % Π
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x03A1}{\textRho} % Ρ
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x03A3}{\textSigma} % Σ
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x03A4}{\textTau} % Τ
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x03A5}{\textUpsilon} % Υ
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x03A6}{\textPhi} % Φ
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x03A7}{\textChi} % Χ
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x03A8}{\textPsi} % Ψ
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x03A9}{\textOmega} % Ω
+
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x03AA}{\"}{\textIota} % Ϊ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x03AB}{\"}{\textUpsilon} % Ϋ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x03AC}{\'}{\textalpha} % ά
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x03AD}{\'}{\textepsilon} % έ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x03AE}{\'}{\texteta} % ή
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x03AF}{\'}{\textiota} % ί
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x03B0}{\accdialytikatonos}{\textupsilon} % ΰ
+
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x03B1}{\textalpha} % α
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x03B2}{\textbeta} % β
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x03B3}{\textgamma} % γ
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x03B4}{\textdelta} % δ
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x03B5}{\textepsilon} % ε
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x03B6}{\textzeta} % ζ
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x03B7}{\texteta} % η
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x03B8}{\texttheta} % θ
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x03B9}{\textiota} % ι
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x03BA}{\textkappa} % κ
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x03BB}{\textlambda} % λ
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x03BC}{\textmu} % μ \textmugreek
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x03BD}{\textnu} % ν
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x03BE}{\textxi} % ξ
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x03BF}{\textomicron} % ο
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x03C0}{\textpi} % π
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x03C1}{\textrho} % ρ
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x03C2}{\textvarsigma} % ς
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x03C2}{\textfinalsigma} % ς
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x03C3}{\textsigma} % σ
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x03C4}{\texttau} % τ
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x03C5}{\textupsilon} % υ
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x03C6}{\textphi} % φ
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x03C7}{\textchi} % χ
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x03C8}{\textpsi} % ψ
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x03C9}{\textomega} % ω
+
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x03CA}{\"}{\textiota} % ϊ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x03CB}{\"}{\textupsilon} % ϋ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x03CC}{\'}{\textomicron} % ό
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x03CD}{\'}{\textupsilon} % ύ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x03CE}{\'}{\textomega} % ώ
+
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x03D8}{\textQoppa} % Ϙ
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x03D9}{\textqoppa} % ϙ
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x03DA}{\textStigma} % Ϛ \Stigma
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x03DB}{\textstigma} % ϛ \stigma
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x03DC}{\textDigamma} % Ϝ \Digamma
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x03DD}{\textdigamma} % ϝ \ddigamma
+%03DE GREEK LETTER KOPPA % Ϟ \textKoppa
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x03DF}{\textkoppa} % ϟ \koppa, \textqoppa [sic!]
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x03E0}{\textSampi} % Ϡ \Sampi
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x03E1}{\textsampi} % ϡ \sampi
+
+% Greek Extended
+% ~~~~~~~~~~~~~~
+% ::
+
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F00}{\accpsili}{\textalpha} % ἀ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F01}{\accdasia}{\textalpha} % ἁ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F02}{\accpsilivaria}{\textalpha} % ἂ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F03}{\accdasiavaria}{\textalpha} % ἃ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F04}{\accpsilioxia}{\textalpha} % ἄ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F05}{\accdasiaoxia}{\textalpha} % ἅ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F06}{\accpsiliperispomeni}{\textalpha} % ἆ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F07}{\accdasiaperispomeni}{\textalpha} % ἇ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F08}{\accpsili}{\textAlpha} % Ἀ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F09}{\accdasia}{\textAlpha} % Ἁ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F0A}{\accpsilivaria}{\textAlpha} % Ἂ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F0B}{\accdasiavaria}{\textAlpha} % Ἃ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F0C}{\accpsilioxia}{\textAlpha} % Ἄ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F0D}{\accpsilioxia}{\textAlpha} % Ἅ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F0E}{\accpsiliperispomeni}{\textAlpha} % Ἆ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F0F}{\accdasiaperispomeni}{\textAlpha} % Ἇ
+
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F10}{\accpsili}{\textepsilon} % ἐ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F11}{\accdasia}{\textepsilon} % ἑ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F12}{\accpsilivaria}{\textepsilon} % ἒ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F13}{\accdasiavaria}{\textepsilon} % ἓ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F14}{\accpsilioxia}{\textepsilon} % ἔ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F15}{\accpsilioxia}{\textepsilon} % ἕ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F18}{\accpsili}{\textEpsilon} % Ἐ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F19}{\accdasia}{\textEpsilon} % Ἑ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F1A}{\accpsilivaria}{\textEpsilon} % Ἒ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F1B}{\accdasiavaria}{\textEpsilon} % Ἓ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F1C}{\accpsilioxia}{\textEpsilon} % Ἔ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F1D}{\accpsilioxia}{\textEpsilon} % Ἕ
+
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F20}{\accpsili}{\texteta} % ἠ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F21}{\accdasia}{\texteta} % ἡ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F22}{\accpsilivaria}{\texteta} % ἢ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F23}{\accdasiavaria}{\texteta} % ἣ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F24}{\accpsilioxia}{\texteta} % ἤ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F25}{\accpsilioxia}{\texteta} % ἥ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F26}{\accpsiliperispomeni}{\texteta} % ἦ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F27}{\accdasiaperispomeni}{\texteta} % ἧ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F28}{\accpsili}{\textEta} % Ἠ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F29}{\accdasia}{\textEta} % Ἡ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F2A}{\accpsilivaria}{\textEta} % Ἢ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F2B}{\accdasiavaria}{\textEta} % Ἣ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F2C}{\accpsilioxia}{\textEta} % Ἤ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F2D}{\accpsilioxia}{\textEta} % Ἥ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F2E}{\accpsiliperispomeni}{\textEta} % Ἦ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F2F}{\accdasiaperispomeni}{\textEta} % Ἧ
+
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F30}{\accpsili}{\textiota} % ἰ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F31}{\accdasia}{\textiota} % ἱ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F32}{\accpsilivaria}{\textiota} % ἲ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F33}{\accdasiavaria}{\textiota} % ἳ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F34}{\accpsilioxia}{\textiota} % ἴ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F35}{\accpsilioxia}{\textiota} % ἵ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F36}{\accpsiliperispomeni}{\textiota} % ἶ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F37}{\accdasiaperispomeni}{\textiota} % ἷ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F38}{\accpsili}{\textIota} % Ἰ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F39}{\accdasia}{\textIota} % Ἱ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F3A}{\accpsilivaria}{\textIota} % Ἲ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F3B}{\accdasiavaria}{\textIota} % Ἳ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F3C}{\accpsilioxia}{\textIota} % Ἴ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F3D}{\accpsilioxia}{\textIota} % Ἵ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F3E}{\accpsiliperispomeni}{\textIota} % Ἶ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F3F}{\accdasiaperispomeni}{\textIota} % Ἷ
+
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F40}{\accpsili}{\textomicron} % ὀ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F41}{\accdasia}{\textomicron} % ὁ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F42}{\accpsilivaria}{\textomicron} % ὂ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F43}{\accdasiavaria}{\textomicron} % ὃ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F44}{\accpsilioxia}{\textomicron} % ὄ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F45}{\accpsilioxia}{\textomicron} % ὅ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F48}{\accpsili}{\textOmicron} % Ὀ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F49}{\accdasia}{\textOmicron} % Ὁ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F4A}{\accpsilivaria}{\textOmicron} % Ὂ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F4B}{\accdasiavaria}{\textOmicron} % Ὃ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F4C}{\accpsilioxia}{\textOmicron} % Ὄ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F4D}{\accpsilioxia}{\textOmicron} % Ὅ
+
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F50}{\accpsili}{\textupsilon} % ὐ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F51}{\accdasia}{\textupsilon} % ὑ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F52}{\accpsilivaria}{\textupsilon} % ὒ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F53}{\accdasiavaria}{\textupsilon} % ὓ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F54}{\accpsilioxia}{\textupsilon} % ὔ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F55}{\accpsilioxia}{\textupsilon} % ὕ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F56}{\accpsiliperispomeni}{\textupsilon} % ὖ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F57}{\accdasiaperispomeni}{\textupsilon} % ὗ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F59}{\accdasia}{\textUpsilon} % Ὑ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F5B}{\accdasiavaria}{\textUpsilon} % Ὓ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F5D}{\accpsilioxia}{\textUpsilon} % Ὕ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F5F}{\accdasiaperispomeni}{\textUpsilon} % Ὗ
+
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F60}{\accpsili}{\textomega} % ὠ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F61}{\accdasia}{\textomega} % ὡ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F62}{\accpsilivaria}{\textomega} % ὢ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F63}{\accdasiavaria}{\textomega} % ὣ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F64}{\accpsilioxia}{\textomega} % ὤ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F65}{\accpsilioxia}{\textomega} % ὥ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F66}{\accpsiliperispomeni}{\textomega} % ὦ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F67}{\accdasiaperispomeni}{\textomega} % ὧ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F68}{\accpsili}{\textOmega} % Ὠ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F69}{\accdasia}{\textOmega} % Ὡ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F6A}{\accpsilivaria}{\textOmega} % Ὢ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F6B}{\accdasiavaria}{\textOmega} % Ὣ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F6C}{\accpsilioxia}{\textOmega} % Ὤ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F6D}{\accpsilioxia}{\textOmega} % Ὥ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F6E}{\accpsiliperispomeni}{\textOmega} % Ὦ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F6F}{\accdasiaperispomeni}{\textOmega} % Ὧ
+
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F70}{\`}{\textalpha} % ὰ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F71}{\'}{\textalpha} % ά
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F72}{\`}{\textepsilon} % ὲ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F73}{\'}{\textepsilon} % έ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F74}{\`}{\texteta} % ὴ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F75}{\'}{\texteta} % ή
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F76}{\`}{\textiota} % ὶ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F77}{\'}{\textiota} % ί
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F78}{\`}{\textomicron} % ὸ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F79}{\'}{\textomicron} % ό
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F7A}{\`}{\textupsilon} % ὺ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F7B}{\'}{\textupsilon} % ύ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F7C}{\`}{\textomega} % ὼ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F7D}{\'}{\textomega} % ώ
+
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F70}{\accvaria}{\textalpha} % ὰ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F71}{\acctonos}{\textalpha} % ά
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F72}{\accvaria}{\textepsilon} % ὲ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F73}{\acctonos}{\textepsilon} % έ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F74}{\accvaria}{\texteta} % ὴ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F75}{\acctonos}{\texteta} % ή
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F76}{\accvaria}{\textiota} % ὶ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F77}{\acctonos}{\textiota} % ί
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F78}{\accvaria}{\textomicron} % ὸ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F79}{\acctonos}{\textomicron} % ό
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F7A}{\accvaria}{\textupsilon} % ὺ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F7B}{\acctonos}{\textupsilon} % ύ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F7C}{\accvaria}{\textomega} % ὼ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1F7D}{\acctonos}{\textomega} % ώ
+
+%% postfix ypogegrammeni cannot be second part of composite defs.
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1F80}{\accpsili}{\textalpha\ypogegrammeni} % ᾀ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1F81}{\accdasia}{\textalpha\ypogegrammeni} % ᾁ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1F82}{\accpsilivaria}{\textalpha\ypogegrammeni} % ᾂ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1F83}{\accdasiavaria}{\textalpha\ypogegrammeni} % ᾃ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1F84}{\accpsilioxia}{\textalpha\ypogegrammeni} % ᾄ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1F85}{\accpsilioxia}{\textalpha\ypogegrammeni} % ᾅ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1F86}{\accpsiliperispomeni}{\textalpha\ypogegrammeni} % ᾆ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1F87}{\accdasiaperispomeni}{\textalpha\ypogegrammeni} % ᾇ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1F88}{\accpsili}{\textAlpha\prosgegrammeni} % ᾈ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1F89}{\accdasia}{\textAlpha\prosgegrammeni} % ᾉ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1F8A}{\accpsilivaria}{\textAlpha\prosgegrammeni} % ᾊ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1F8B}{\accdasiavaria}{\textAlpha\prosgegrammeni} % ᾋ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1F8C}{\accpsilioxia}{\textAlpha\prosgegrammeni} % ᾌ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1F8D}{\accpsilioxia}{\textAlpha\prosgegrammeni} % ᾍ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1F8E}{\accpsiliperispomeni}{\textAlpha\prosgegrammeni} % ᾎ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1F8F}{\accdasiaperispomeni}{\textAlpha\prosgegrammeni} % ᾏ
+%
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1F90}{\accpsili}{\texteta\ypogegrammeni} % ᾐ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1F91}{\accdasia}{\texteta\ypogegrammeni} % ᾑ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1F92}{\accpsilivaria}{\texteta\ypogegrammeni} % ᾒ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1F93}{\accdasiavaria}{\texteta\ypogegrammeni} % ᾓ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1F94}{\accpsilioxia}{\texteta\ypogegrammeni} % ᾔ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1F95}{\accpsilioxia}{\texteta\ypogegrammeni} % ᾕ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1F96}{\accpsiliperispomeni}{\texteta\ypogegrammeni} % ᾖ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1F97}{\accdasiaperispomeni}{\texteta\ypogegrammeni} % ᾗ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1F98}{\accpsili}{\textEta\prosgegrammeni} % ᾘ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1F99}{\accdasia}{\textEta\prosgegrammeni} % ᾙ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1F9A}{\accpsilivaria}{\textEta\prosgegrammeni} % ᾚ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1F9B}{\accdasiavaria}{\textEta\prosgegrammeni} % ᾛ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1F9C}{\accpsilioxia}{\textEta\prosgegrammeni} % ᾜ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1F9D}{\accpsilioxia}{\textEta\prosgegrammeni} % ᾝ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1F9E}{\accpsiliperispomeni}{\textEta\prosgegrammeni} % ᾞ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1F9F}{\accdasiaperispomeni}{\textEta\prosgegrammeni} % ᾟ
+%
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1FA0}{\accpsili}{\textomega\ypogegrammeni} % ᾠ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1FA1}{\accdasia}{\textomega\ypogegrammeni} % ᾡ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1FA2}{\accpsilivaria}{\textomega\ypogegrammeni} % ᾢ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1FA3}{\accdasiavaria}{\textomega\ypogegrammeni} % ᾣ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1FA4}{\accpsilioxia}{\textomega\ypogegrammeni} % ᾤ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1FA5}{\accpsilioxia}{\textomega\ypogegrammeni} % ᾥ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1FA6}{\accpsiliperispomeni}{\textomega\ypogegrammeni} % ᾦ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1FA7}{\accdasiaperispomeni}{\textomega\ypogegrammeni} % ᾧ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1FA8}{\accpsili}{\textOmega\prosgegrammeni} % ᾨ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1FA9}{\accdasia}{\textOmega\prosgegrammeni} % ᾩ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1FAA}{\accpsilivaria}{\textOmega\prosgegrammeni} % ᾪ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1FAB}{\accdasiavaria}{\textOmega\prosgegrammeni} % ᾫ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1FAC}{\accpsilioxia}{\textOmega\prosgegrammeni} % ᾬ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1FAD}{\accpsilioxia}{\textOmega\prosgegrammeni} % ᾭ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1FAE}{\accpsiliperispomeni}{\textOmega\prosgegrammeni} % ᾮ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1FAF}{\accdasiaperispomeni}{\textOmega\prosgegrammeni} % ᾯ
+
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FB0}{\u}{\textalpha} % ᾰ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FB1}{\=}{\textalpha} % ᾱ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1FB2}{\`}{\textalpha\ypogegrammeni} % ᾲ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FB3}{\textalpha}{\ypogegrammeni} % ᾳ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1FB4}{\'}{\textalpha\ypogegrammeni} % ᾴ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FB6}{\~}{\textalpha} % ᾶ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FB6}{\accperispomeni}{\textalpha} % ᾶ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1FB7}{\accperispomeni}{\textalpha\ypogegrammeni} % ᾷ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FB8}{\u}{\textAlpha} % Ᾰ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FB9}{\=}{\textAlpha} % Ᾱ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FBA}{\`}{\textAlpha} % Ὰ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FBB}{\'}{\textAlpha} % Ά
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FBA}{\accvaria}{\textAlpha} % Ὰ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FBB}{\acctonos}{\textAlpha} % Ά
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FBC}{\textAlpha}{\prosgegrammeni} % ᾼ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FBD}{\accpsili}{\textcompwordmark} % ᾽
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x1FBE}{\prosgegrammeni} % ι
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FBF}{\accpsili}{\textcompwordmark} % ᾿
+
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FC0}{\~}{\textcompwordmark} % ῀
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FC0}{\accperispomeni}{\textcompwordmark} % ῀
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FC1}{\accdialytikaperispomeni}{\textcompwordmark} % ῁
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1FC2}{\`}{\texteta\ypogegrammeni} % ῂ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FC3}{\texteta}{\ypogegrammeni} % ῃ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1FC4}{\'}{\texteta\ypogegrammeni} % ῄ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FC6}{\~}{\texteta} % ῆ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FC6}{\accperispomeni}{\texteta} % ῆ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1FC7}{\accperispomeni}{\texteta\ypogegrammeni} % ῇ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FC8}{\`}{\textEpsilon} % Ὲ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FC9}{\'}{\textEpsilon} % Έ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FCA}{\`}{\textEta} % Ὴ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FCB}{\'}{\textEta} % Ή
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FC8}{\accvaria}{\textEpsilon} % Ὲ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FC9}{\acctonos}{\textEpsilon} % Έ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FCA}{\accvaria}{\textEta} % Ὴ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FCB}{\acctonos}{\textEta} % Ή
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FCC}{\textEta}{\prosgegrammeni} % ῌ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FCD}{\accpsilivaria}{\textcompwordmark} % ῍
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FCE}{\accpsilioxia}{\textcompwordmark} % ῎
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FCF}{\accpsiliperispomeni}{\textcompwordmark} % ῏
+
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FD0}{\u}{\textiota} % ῐ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FD1}{\=}{\textiota} % ῑ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FD2}{\accdialytikavaria}{\textiota} % ῒ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FD3}{\accdialytikaoxia}{\textiota} % ΐ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FD6}{\~}{\textiota} % ῖ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FD6}{\accperispomeni}{\textiota} % ῖ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FD7}{\accdialytikaperispomeni}{\textiota}% ῗ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FD8}{\u}{\textIota} % Ῐ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FD9}{\=}{\textIota} % Ῑ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FDA}{\`}{\textIota} % Ὶ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FDB}{\'}{\textIota} % Ί
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FDA}{\accvaria}{\textIota} % Ὶ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FDB}{\acctonos}{\textIota} % Ί
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FDD}{\accdasiavaria}{\textcompwordmark}% ῝
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FDE}{\accpsilioxia}{\textcompwordmark} % ῞
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FDF}{\accdasiaperispomeni}{\textcompwordmark} % ῟
+
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FE0}{\u}{\textupsilon} % ῠ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FE1}{\=}{\textupsilon} % ῡ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FE2}{\accdialytikavaria}{\textupsilon} % ῢ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FE3}{\accdialytikaoxia}{\textupsilon} % ΰ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FE4}{\accpsili}{\textrho} % ῤ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FE5}{\accdasia}{\textrho} % ῥ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FE6}{\~}{\textupsilon} % ῦ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FE6}{\accperispomeni}{\textupsilon} % ῦ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FE7}{\accdialytikaperispomeni}{\textupsilon} % ῧ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FE8}{\u}{\textUpsilon} % Ῠ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FE9}{\=}{\textUpsilon} % Ῡ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FEA}{\`}{\textUpsilon} % Ὺ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FEB}{\'}{\textUpsilon} % Ύ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FEA}{\accvaria}{\textUpsilon} % Ὺ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FEB}{\acctonos}{\textUpsilon} % Ύ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FEC}{\accdasia}{\textRho} % Ῥ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FED}{\accdialytikavaria}{\textcompwordmark} % ῭
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FEE}{\accdialytikaoxia}{\textcompwordmark} % ΅
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FEF}{\accvaria}{\textcompwordmark} % `
+
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1FF2}{\`}{\textomega\ypogegrammeni} % ῲ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1FF3}{\textomega}{\ypogegrammeni} % ῳ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1FF4}{\'}{\textomega\ypogegrammeni} % ῴ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FF6}{\~}{\textomega} % ῶ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FF6}{\accperispomeni}{\textomega} % ῶ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1FF7}{\accperispomeni}{\textomega\ypogegrammeni} % ῷ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FF8}{\`}{\textOmicron} % Ὸ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FF9}{\'}{\textOmicron} % Ό
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FFA}{\`}{\textOmega} % Ὼ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FFB}{\'}{\textOmega} % Ώ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FF8}{\accvaria}{\textOmicron} % Ὸ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FF9}{\acctonos}{\textOmicron} % Ό
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FFA}{\accvaria}{\textOmega} % Ὼ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FFB}{\acctonos}{\textOmega} % Ώ
+% \DeclareUTFcomposite[\LastDeclaredEncoding]{x1FFC}{\textOmega}{\prosgegrammeni} % ῼ
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FFD}{\accoxia}{\textcompwordmark} % ´
+\DeclareUTFcomposite[\LastDeclaredEncoding]{x1FFE}{\accdasia}{\textcompwordmark} % ῾
+
+% Letterlike Symbols
+% ~~~~~~~~~~~~~~~~~~
+% ::
+
+\DeclareUTFcharacter[\LastDeclaredEncoding]{x2126}{\textohm} % Ω OHM SIGN
+
+% Ancient Greek Numbers
+% ~~~~~~~~~~~~~~~~~~~~~
+% TODO: map other chars to corresponding Greek letters.
+% See also the grnumalt_ package.
+%
+% Definition with literal Unicode characters, because the code-point has 5
+% hexadecimal digits:
+%
+% ::
+
+\DeclareTextCommand{\textpentedeka}{\LastDeclaredEncoding}{𐅄} % GREEK ACROPHONIC ATTIC FIFTY
+\DeclareTextCommand{\textpentehekaton}{\LastDeclaredEncoding}{𐅅} % GREEK ACROPHONIC ATTIC FIVE HUNDRED
+\DeclareTextCommand{\textpenteqilioi}{\LastDeclaredEncoding}{𐅆} % GREEK ACROPHONIC ATTIC FIVE THOUSAND
+\DeclareTextCommand{\textpentemuria}{\LastDeclaredEncoding}{𐅇} % GREEK ACROPHONIC ATTIC FIFTY THOUSAND
+
+
+% UPPERCASE
+% ~~~~~~~~~
+%
+% The `common Greek font encoding definitions`_ in ``greek-fontenc.def`` extend
+% the `uclclist` with Greek LICR macros. Here, we add EU1 specific "hiatus"
+% handling.
+%
+% Mark hiatus
+% """""""""""
+%
+% Tonos and dasia mark a hiatus if placed on the
+% first vowel of a diphthong (ΑΙ, ΑΥ, ΕΙ). A dialytika must be placed on the
+% second vowel if they are dropped (άυλος → ΑΫΛΟΣ, μάινα → ΜΑΪΝΑ, κέικ → ΚΕΪΚ,
+% ἀυπνία → ΑΫΠΝΙΑ).
+%
+% Look ahead and place a diaeresis on Ι or Υ
+% (copied from lgrenc.def and changed Latin transcription to Unicode literals)::
+
+\DeclareTextCommand{\LGR@A@hiatus}{\LastDeclaredEncoding}{%
+ \LGR@ifnextchar{Ι}{A\"}{%
+ \LGR@ifnextchar{Υ}{A\"}{%
+ \LGR@ifnextchar{\textIota}{A\"}{%
+ \LGR@ifnextchar{\textUpsilon}{A\"}{A}%
+ }%
+ }%
+ }%
+}
+\DeclareTextCommand{\LGR@E@hiatus}{\LastDeclaredEncoding}{%
+ \LGR@ifnextchar{Ι}{E\"}{%
+ \LGR@ifnextchar{Υ}{E\"}{%
+ \LGR@ifnextchar{\textIota}{E\"}{%
+ \LGR@ifnextchar{\textUpsilon}{E\"}{E}%
+ }%
+ }%
+ }%
+}
+
+
+% .. References
+%
+% .. _LaTeX Project Public License: http://www.latex-project.org/lppl.txt
+% .. _inputenc: http://www.ctan.org/pkg/inputenc
+% .. _greek-fontenc: http://www.ctan.org/pkg/greek-fontenc
+% .. _grnumalt: http://www.ctan.org/pkg/grnumalt
+%
+% .. _common Greek font encoding definitions: greek-fontenc.def.html