summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/greek-fontenc
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 /Master/texmf-dist/tex/latex/greek-fontenc
parent989e69000a109aa206742cc979fb247b9294ef7a (diff)
greek-fontenc (17jul13)
git-svn-id: svn://tug.org/texlive/trunk@31220 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/greek-fontenc')
-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
4 files changed, 1895 insertions, 181 deletions
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