From 34dc36f097263085a30929dbedfaaf184c145708 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 4 Nov 2020 21:35:25 +0000 Subject: greek-fontenc (4nov20) git-svn-id: svn://tug.org/texlive/trunk@56851 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/greek-fontenc/README | 193 ++-- .../doc/latex/greek-fontenc/alphabeta-doc.pdf | Bin 429754 -> 435451 bytes .../doc/latex/greek-fontenc/alphabeta-doc.tex | 199 ++-- .../doc/latex/greek-fontenc/alphabeta-lgr.def.html | 12 +- .../doc/latex/greek-fontenc/alphabeta-tu.pdf | Bin 0 -> 77624 bytes .../latex/greek-fontenc/alphabeta-tuenc.def.html | 400 ++++---- .../doc/latex/greek-fontenc/alphabeta-tuenc.html | 862 ---------------- .../doc/latex/greek-fontenc/alphabeta.sty.html | 22 +- .../doc/latex/greek-fontenc/diacritics.pdf | Bin 307307 -> 285408 bytes .../doc/latex/greek-fontenc/diacritics.tex | 13 +- .../doc/latex/greek-fontenc/greek-fontenc.def.html | 99 +- .../doc/latex/greek-fontenc/greek-fontenc.html | 260 +++-- .../doc/latex/greek-fontenc/greekhyperref.pdf | Bin 221120 -> 0 bytes .../doc/latex/greek-fontenc/greekhyperref.tex | 127 --- .../latex/greek-fontenc/hyperref-with-greek.pdf | Bin 0 -> 284331 bytes .../latex/greek-fontenc/hyperref-with-greek.tex | 509 ++++++++++ .../doc/latex/greek-fontenc/lgrenc-test.pdf | Bin 318675 -> 0 bytes .../doc/latex/greek-fontenc/lgrenc-test.tex | 560 ----------- .../doc/latex/greek-fontenc/lgrenc.def.html | 46 +- .../doc/latex/greek-fontenc/puenc-greek.def.html | 1043 ++++++++++++++++++++ .../doc/latex/greek-fontenc/test-inputenc.pdf | Bin 0 -> 394312 bytes .../doc/latex/greek-fontenc/test-inputenc.tex | 674 +++++++++++++ .../doc/latex/greek-fontenc/test-lgrenc.pdf | Bin 0 -> 322666 bytes .../doc/latex/greek-fontenc/test-lgrenc.tex | 648 ++++++++++++ .../doc/latex/greek-fontenc/test-nameclashes.pdf | Bin 116316 -> 0 bytes .../doc/latex/greek-fontenc/test-nameclashes.tex | 66 -- .../doc/latex/greek-fontenc/test-tuenc-greek.pdf | Bin 0 -> 88349 bytes .../doc/latex/greek-fontenc/test-tuenc-greek.tex | 913 +++++++++++++++++ .../doc/latex/greek-fontenc/textalpha-doc.pdf | Bin 473143 -> 493512 bytes .../doc/latex/greek-fontenc/textalpha-doc.tex | 281 ++++-- .../doc/latex/greek-fontenc/textalpha-tu.pdf | Bin 0 -> 84661 bytes .../doc/latex/greek-fontenc/textalpha.sty.html | 134 +-- .../doc/latex/greek-fontenc/tuenc-greek-doc.pdf | Bin 83201 -> 0 bytes .../doc/latex/greek-fontenc/tuenc-greek-doc.tex | 869 ---------------- .../doc/latex/greek-fontenc/tuenc-greek.def.html | 785 ++++++++------- .../texmf-dist/source/latex/greek-fontenc/Makefile | 66 +- .../tex/latex/greek-fontenc/alphabeta-lgr.def | 23 +- .../tex/latex/greek-fontenc/alphabeta-tuenc.def | 391 ++++---- .../tex/latex/greek-fontenc/alphabeta.sty | 17 +- .../tex/latex/greek-fontenc/greek-euenc.def | 8 +- .../tex/latex/greek-fontenc/greek-fontenc.def | 96 +- .../texmf-dist/tex/latex/greek-fontenc/lgrenc.def | 51 +- .../tex/latex/greek-fontenc/puenc-greek.def | 454 +++++++++ .../tex/latex/greek-fontenc/textalpha.sty | 129 +-- .../tex/latex/greek-fontenc/tuenc-greek.def | 753 +++++++------- 45 files changed, 6476 insertions(+), 4227 deletions(-) create mode 100644 Master/texmf-dist/doc/latex/greek-fontenc/alphabeta-tu.pdf delete mode 100644 Master/texmf-dist/doc/latex/greek-fontenc/alphabeta-tuenc.html delete mode 100644 Master/texmf-dist/doc/latex/greek-fontenc/greekhyperref.pdf delete mode 100644 Master/texmf-dist/doc/latex/greek-fontenc/greekhyperref.tex create mode 100644 Master/texmf-dist/doc/latex/greek-fontenc/hyperref-with-greek.pdf create mode 100644 Master/texmf-dist/doc/latex/greek-fontenc/hyperref-with-greek.tex delete mode 100644 Master/texmf-dist/doc/latex/greek-fontenc/lgrenc-test.pdf delete mode 100644 Master/texmf-dist/doc/latex/greek-fontenc/lgrenc-test.tex create mode 100644 Master/texmf-dist/doc/latex/greek-fontenc/puenc-greek.def.html create mode 100644 Master/texmf-dist/doc/latex/greek-fontenc/test-inputenc.pdf create mode 100644 Master/texmf-dist/doc/latex/greek-fontenc/test-inputenc.tex create mode 100644 Master/texmf-dist/doc/latex/greek-fontenc/test-lgrenc.pdf create mode 100644 Master/texmf-dist/doc/latex/greek-fontenc/test-lgrenc.tex delete mode 100644 Master/texmf-dist/doc/latex/greek-fontenc/test-nameclashes.pdf delete mode 100644 Master/texmf-dist/doc/latex/greek-fontenc/test-nameclashes.tex create mode 100644 Master/texmf-dist/doc/latex/greek-fontenc/test-tuenc-greek.pdf create mode 100644 Master/texmf-dist/doc/latex/greek-fontenc/test-tuenc-greek.tex create mode 100644 Master/texmf-dist/doc/latex/greek-fontenc/textalpha-tu.pdf delete mode 100644 Master/texmf-dist/doc/latex/greek-fontenc/tuenc-greek-doc.pdf delete mode 100644 Master/texmf-dist/doc/latex/greek-fontenc/tuenc-greek-doc.tex create mode 100644 Master/texmf-dist/tex/latex/greek-fontenc/puenc-greek.def (limited to 'Master') diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/README b/Master/texmf-dist/doc/latex/greek-fontenc/README index fe1ffd9a64c..bd6c0ce0cd3 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/README +++ b/Master/texmf-dist/doc/latex/greek-fontenc/README @@ -14,24 +14,21 @@ Greek font encoding definition files under both, 8-bit TeX and XeTeX/LuaTeX. Use cases are macro definitions and generated text - This package provides `Greek LICR macros`_ and encoding - definition files for `Greek text font encodings`_ for use with - fontenc_ (8-bit TeX) or fontspec_ (XeTeX/LuaTeX). + This bundle provides LICR macros for characters from the + Greek script and encoding definition files for + `Greek text font encodings`_ for use with fontenc_ (8-bit TeX) + or fontspec_ (XeTeX/LuaTeX). Included are also the LaTeX packages textalpha_ and alphabeta_. -.. note:: The LICR macro names for Greek symbols are chosen pending - endorsement by the TeX community and related packages. - - Names for archaic characters, accents/diacritics, and - punctuation may change in future versions. +.. contents:: Changelog ========= .. class:: borderless -====== =========== ========================================================== +====== =========== =========================================================== 0.9 2013-07-03 greek-fontenc.def_ "outsourced" from lgrxenc.def .. experimental files xunicode-greek.sty and greek-euenc.def: LICRs for XeTeX/LuaTeX. @@ -73,7 +70,18 @@ Changelog ``\encodingdefault``. .. ``\textKoppa`` as alias for ``\textkoppa`` in LGR. .. Update URLs. -====== =========== ========================================================== +2.0 2020-10-30 Move common alias definitions to ``greek-fontenc.def``. +.. `textalpha`_ loads TU with Xe/LuaTeX by default and + provides ``\textmicro`` and LICR macros for archaic + symbols from the Greek and Coptic Unicode block. +.. Use ``\UnicodeEncodingName`` (by the LaTeX kernel) instead + of ``\UTFencname`` for the Unicode font encoding name. +.. Replace utf8 literals in ``tuenc-greek.def``. +.. New file puenc-greek.def: setup for PU encoding + (defined by hyperref_ for PDF strings). +.. Don't use ``\textcompwordmark`` as base in accent commands. +.. Documentation update. +====== =========== =========================================================== __ http://tex.stackexchange.com/questions/281631/greek-small-rho-with-dasia-and-also-psili-problem-with-accent-and-lgr-encodin .. _ltxbugs 4399: @@ -83,25 +91,33 @@ __ http://tex.stackexchange.com/questions/281631/greek-small-rho-with-dasia-and- TeX files ========= -``_ - `Common Greek font encoding definitions `_. - -``_ - Backwards compatibility file loading tuenc-greek_. - -.. _LGR font encoding definition file: - ``_ `LGR Greek font encoding definitions `_. This file is the successor of the basic LGR encoding definition file which comes with babel_'s Greek support and the now obsolete lgrx_ bundle. + .. _tuenc-greek: + +``_ + `Font setup for Greek with XeTeX/LuaTeX `_. + +``_ + `Greek LICR definitions for PDF strings `_. + +``_ + `Common Greek font encoding definitions `_. + + .. _LGR font encoding definition file: + +``_ + Backwards compatibility file loading tuenc-greek_. + .. _textalpha: ``_ `Greek symbols in text `_ - + Use ``\textalpha`` ... ``\textOmega`` independent of font encoding and TeX engine. @@ -109,18 +125,17 @@ TeX files ``_ `Greek symbols in text and math `_. - + Use ``\alpha`` ... ``\Omega`` independent of text/math mode, font encoding, and TeX engine. - -``_ - `Composite definitions with XeTeX/LuaTeX. `_. - .. _tuenc-greek: + ``_ + `Composite definitions for 8-bit TeX. `_. + + ``_ + `Composite definitions with XeTeX/LuaTeX. `_. -``_ - `Font setup for Greek with XeTeX/LuaTeX `_. Literate source files were converted with PyLit_ to reStructuredText_ and with Docutils_ to the HTML documentation. @@ -129,23 +144,30 @@ with Docutils_ to the HTML documentation. Documentation and test documents ================================ -`textalpha` package documentation: - ``__, ``_ +Overview: + ``__, ``_ + +textalpha_ package documentation: + ``__, ``_, ``_ -`alphabeta` package documentation: - ``__ ``_ +alphabeta_ package documentation: + ``__, ``_, ``_ -Test and usage example - ``_, ``_ +LGR test and usage example + ``_, ``_ -Font setup for Greek with XeTeX/LuaTeX - ``_, ``_ +TU test and usage example + ``_, ``_ -Greek script in PDF metadata - ``_, ``_ +Hyperref_ test and usage example + ``_, ``_ + +Test with input encodings other than utf-8 + ``_, ``_ + +Greek diacritics with standard accent macros + ``_, ``_ - The package hyperref_ defines the PU font encoding which also supports - (monotonic) Greek. Experimental files ================== @@ -161,7 +183,7 @@ with other packages or removed in future versions: Installation ============ -If possible, get this package from your distribution using its installation +If possible, get the bundle from your distribution using its installation manager. Otherwise, make sure LaTeX can find the package and definition files: @@ -186,18 +208,25 @@ Usage ===== There are several alternatives to set up the support for a Greek font -encoding provided by this package, e.g.: +encoding provided by this bundle, e.g.: + +Babel: + Use the ``greek`` option with Babel_:: + + \usepackage[greek]{babel} + + This automatically loads ``lgrenc.def`` with 8-bit TeX and + ``tuenc-greek.def`` with XeTeX/LuaTeX and provides localized auto-strings, + hyphenation and other localizations (see babel-greek_). + + Babel can be used together with textalpha_ or alphabeta_. textalpha_: Ensure support for Greek characters in text mode:: \usepackage{textalpha} - eventually with the normalize-symbols_ option to handle `symbol - variants`_ :: - - \usepackage[normalize-symbols]{textalpha} - + eventually with the normalize-symbols_ option to handle `symbol variants`_ and/or the keep-semicolon_ option to use the `semicolon as erotimatiko`_ also in LGR :: @@ -206,7 +235,7 @@ textalpha_: This sets up LICR macros for Greek text charactes under both, 8-bit TeX and Xe-/LuaTeX. For details see ``_ and ``_ (8-bit - TeX) as well as ``_ and ``_ + TeX) as well as ``_ and ``_ (XeTeX/LuaTeX). .. _normalize-symbols: textalpha.sty.html#normalize-symbols @@ -221,17 +250,6 @@ alphabeta_: For details see ``_ and ``_. -Babel: - Use the ``greek`` option with Babel_:: - - \usepackage[greek]{babel} - - This automatically loads ``lgrenc.def`` with 8-bit TeX and - ``tuenc-greek.def`` with XeTeX/LuaTeX and provides localized auto-strings, - hyphenation and other localizations (see babel-greek_). - - Babel can be used together with textalpha_ or alphabeta_. - fontenc: Declare LGR via fontenc_. For example, specify T1 (8-bit Latin) as default font encoding and LGR for Greek with :: @@ -240,11 +258,11 @@ fontenc: Note that without textalpha_ or alphabeta_, Greek text macros work only if the current font encoding supports Greek. See [fntguide]_ for - details and ``_ for an example. + details and ``_ for an example. It is possible to use 8-bit Greek text fonts in the LGR TeX font encoding also with XeTeX/LuaTeX, if the fontenc_ package is loaded before - fontspec_ and textalpha_ or alphabeta_, e.g. :: + Babel, textalpha_, or alphabeta_, e.g. :: \usepackage[LGR]{fontenc} \usepackage{fontspec} @@ -252,8 +270,8 @@ fontenc: \setsansfont{Linux Biolinum O} \usepackage{textalpha} - See ``_, ``_ and - ``_, ``_. + See ``_, ``_ and + ``_, ``_. .. _arabi workaround: @@ -281,7 +299,7 @@ Greek text font encodings Greek TeX font encodings are the envisaged T7_, LGR_, and LGI_. Greek letters and symbols are also defined in the Unicode-based font -encodings TU_, `EU1, EU2`_, and PU (hyperref_). +encodings TU_, and PU_. T7 -- @@ -291,7 +309,6 @@ However, up to now, there is no agreement on an implementation because the restrictions for general text encodings are too severe for typesetting polytonic Greek. - LGR --- @@ -332,8 +349,8 @@ TU -- Standard Unicode font encoding for XeTeX and LuaTeX loaded by fontspec_ -(since v2.5a). `greek-fontenc` adds support for the Greek script (see -tuenc-greek_). +(since v2.5a) rsp. the LaTeX kernel since 2017/01/01 [LaTeX2e News Issue 26]_. +`greek-fontenc` adds support for the Greek script (see tuenc-greek_). Xe/LuaTeX works with any system-wide installed `OpenType font`_. Suitable fonts supporting Greek include `CM Unicode`_, `Deja Vu`_, `EB Garamond`_, @@ -342,17 +359,38 @@ Tempora_, and `UM Typewriter`_ (all available on CTAN) but also many commercial fonts. Unfortunately, the fontspec_ default, `Latin Modern`_ misses most Greek characters. -EU1, EU2 --------- +XeTeX uses the Unicode NFC normalization, so that combining characters +are merged with the base character if a pre-composed character exists. This +results in better looking output for characters with multiple diacritics. +Unfortunately, LuaTeX does not apply the NFC normalization. This leads to +suboptimal placing of some diactritics, especially the sub-iota (becoming +unintelligable in combination with small letter eta). + +TODO: The `lua-uni-algos`_ package may be helpfull to implement a NTC +normalization to Greek text in LuaTeX. + +The legacy Unicode font encodings EU1 and EU2 for XeTeX and LuaTeX +respectively were superseded by TU in the 2017 fontspec_ release. + +PU +-- + +The package hyperref_ defines the PU font encoding for use in PDF strings +(ToC, bookmarks) which supports monotonic Greek. `greek-fontenc` adds +support for polytonic Greek and some archaic characters also supported in +LGR and TU (see ``_, ``_). -Legacy Unicode font encodings for XeTeX and LuaTeX respectively. Superseded -by TU_. +Selecting Greek LICR macro names +================================ -Greek LICR macros -================= +.. note:: The LICR macro names for Greek symbols are chosen pending + endorsement by the TeX community and related packages. -This package provides LaTeX internal character representations (LICR macros) + Names for archaic characters, accents/diacritics, and + punctuation may change in future versions. + +This bundle provides LaTeX internal character representations (LICR macros) for Greek letters and diacritics. Macro names were selected based on the following considerations: @@ -493,7 +531,7 @@ characters: References ----------- +========== An alternative, more complete set of short mnemonic character names is the `XML Entity Definitions for Characters`_ W3C Recommendation from @@ -506,11 +544,6 @@ Syropoulos and ``xl-lgr.enc`` from the libertine_ (legacy) package. A full set of ``\text*`` symbol macros is defined in ``ucsencs.def`` from the ucs_ package. -Aliases from ``puenc.def`` ensure that the hyperref_ package can convert -Greek text in "LICR encoding" to a PDF-string (utf-8 encoded input is used -as-is). - - .. [fntguide] LaTeX3 Project Team, `LaTeX2ε font selection`, 2005. http://mirror.ctan.org/macros/latex/base/fntguide.pdf .. [encguide] Frank Mittelbach, Robin Fairbairns, Werner Lemberg, @@ -524,7 +557,8 @@ as-is). .. [teubner-doc] Claudio Beccari, ``teubner.sty`` `An extension to the greek option of the babel package`, 2011. http://mirror.ctan.org/macros/latex/contrib/teubner/teubner-doc.pdf - +.. [LaTeX2e News Issue 26] + https://www.latex-project.org/news/latex2e-news/ltnews26.pdf .. [babel-patch] Werner Lemberg, `Unicode support for the Greek LGR encoding` Εὔτυπον, τεῦχος № 20, 2008. http://www.eutypon.gr/eutypon/pdf/e2008-20/e20-a03.pdf @@ -569,6 +603,7 @@ as-is). .. _ibygrk: http://www.ctan.org/pkg/ibygrk .. _lgrx: http://www.ctan.org/pkg/lgrx .. _libertine: http://www.ctan.org/pkg/libertine-legacy +.. _lua-uni-algos: https://ctan.org/pkg/lua-uni-algos .. _substitutefont: http://www.ctan.org/pkg/substitutefont .. _tempora: https://www.ctan.org/pkg/tempora .. _teubner: http://www.ctan.org/pkg/teubner diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/alphabeta-doc.pdf b/Master/texmf-dist/doc/latex/greek-fontenc/alphabeta-doc.pdf index a696c0ca3a8..987bc06e23e 100644 Binary files a/Master/texmf-dist/doc/latex/greek-fontenc/alphabeta-doc.pdf and b/Master/texmf-dist/doc/latex/greek-fontenc/alphabeta-doc.pdf differ diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/alphabeta-doc.tex b/Master/texmf-dist/doc/latex/greek-fontenc/alphabeta-doc.tex index 4a69d5a4644..618713a1271 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/alphabeta-doc.tex +++ b/Master/texmf-dist/doc/latex/greek-fontenc/alphabeta-doc.tex @@ -14,13 +14,20 @@ \documentclass{article} \usepackage[unicode,colorlinks=true,linkcolor=blue]{hyperref} -\usepackage{bookmark} +% \usepackage{bookmark} \hypersetup{colorlinks=true,linkcolor=blue,urlcolor=blue,pdfencoding=auto} % \usepackage{parskip} -\usepackage{amsmath} +\usepackage{amssymb, amsmath} \frenchspacing -\newcommand{\setupUnicodeFonts}{ +\ifdefined \UnicodeEncodingName % set by LaTeX for Unicode-aware engines + \ifdefined\XeTeXrevision + \newcommand{\engine}{XeTeX} + \fi + \ifdefined\luatexversion + \newcommand{\engine}{LuaTeX} + \fi + % Setup for Unicode fonts (Xe-/LuaTeX) \usepackage[no-math,tuenc]{fontspec} \setmainfont{Linux Libertine O} \setsansfont{Linux Biolinum O} @@ -28,8 +35,10 @@ \usepackage[libertine,slantedGreek]{newtxmath} % \usepackage{unicode-math} % package conflict \newcommand{\fontset}{fontspec with Unicode fonts} -} -\newcommand{\setupTeXFonts}{ +\else + \newcommand{\engine}{8-bit TeX} + \usepackage[utf8]{inputenc} + \DeclareUnicodeCharacter{03DE}{\textKoppa} % in LGR mapped to \textkoppa \usepackage[LGR,T1]{fontenc} \usepackage{textcomp} \usepackage{lmodern} @@ -41,18 +50,7 @@ % \substitutefont{LGR}{\rmdefault}{artemisia} \usepackage{isomath} \newcommand{\fontset}{fontenc with TeX fonts} -} -\ifdefined\XeTeXrevision - \newcommand{\engine}{XeTeX} - \setupUnicodeFonts -\else\ifdefined\luatexversion - \newcommand{\engine}{LuaTeX} - \setupUnicodeFonts -\else - \newcommand{\engine}{8-bit TeX} - \usepackage[utf8]{inputenc} - \setupTeXFonts -\fi\fi +\fi % load alphabeta after math setup and encoding setup! % \usepackage{alphabeta}[2015/08/08] @@ -60,12 +58,13 @@ % Fallback macros: +\newcommand*{\missing}{\ensuremath{\oslash}} % varstigma only defined with 8-bit LGR fonts -\providecommand*{\varstigma}{$\oslash$} -% varkappa, only defined with newtxmath, other var... only with unicode-math -\providecommand*{\varkappa}{\oslash} -\providecommand*{\varbeta}{\oslash} -\providecommand*{\varTheta}{\oslash} +\ProvideTextCommandDefault{\textvarstigma}{\missing} +% varkappa, only defined with newtxmath +\providecommand*{\varkappa}{\missing} +% varbeta and varTheta only defined with unicode-math +\providecommand*{\varbeta}{\missing} % print current font encoding: \makeatletter @@ -76,6 +75,7 @@ \title{The \emph{alphabeta} package} \author{Günter Milde} +\date{2020/10/30} \maketitle \begin{abstract}\noindent @@ -87,11 +87,24 @@ the characters are taken from the text or math font. With 8-bit TeX and \emph{\href{http://www.ctan.org/pkg/greek-inputenc}{greek-inputenc}}, literal Unicode charactes can also be used in mathematical mode. +\footnote{ + This document was compiled using the \href{https://ctan.org/pkg/encguide}% + {font encoding} \encodingdefault{} + \ifdefined \UTFencname % defined by fontspec + (Unicode fonts). + For a version using 8-bit fonts, see + \href{alphabeta-doc.pdf}{alphabeta-doc.pdf}. + \else + (8-bit fonts). + For a version using Unicode fonts, see + \href{alphabeta-tu.pdf}{alphabeta-tu.pdf}. + \fi +} \end{abstract} % \tableofcontents -\section{Requirements} +\section{Requirements and Conflicts} The \emph{alphabeta} package depends on \emph{\href{textalpha-doc.pdf}{textalpha}} (both are part of @@ -143,14 +156,14 @@ usage example. \subsection{options} -Package options are passed to the \href{alphabeta-doc.pdf}{\emph{alphabeta}} +Package options are passed to the \href{textalpha-doc.pdf}{\emph{textalpha}} package. Example call with options: \begin{verbatim} \usepackage[normalize-symbols,keep-semicolon]{alphabeta} \end{verbatim} -\texttt{normalize-symbols} merges ``letters'' and ``symbol`` variants of +\texttt{normalize-symbols} merges ``letter'' and ``symbol`` variants of some Greek letters to the ``letter'' character: \footnote{The normalize-symbols option was added in version 0.13 (2015-08-03). Unicode input of the symbol variants requires at least version~1.6 @@ -165,8 +178,9 @@ symbol variants may be important (e.g. in a mathematical or scientific context). Use XeTeX/LuaTeX with Unicode fonts or the respective characters in mathematical mode (e.g. $\pi$ vs. $\varpi$). -The option \texttt{keep-semicolon} prevents conversion of the semicolon to -an \emph{ano teleia} (see \emph{\href{textalpha-doc.pdf}{textalpha-doc}}). +The option \texttt{keep-semicolon} prevents conversion of the +semicolon to an \emph{ano teleia} in 8-bit TeX +(see \emph{\href{textalpha-doc.pdf}{textalpha-doc}}). \subsection{symbol variants} @@ -179,10 +193,10 @@ Unicode defines separate code points for the symbol variants. TeX supports some of the variant shape symbols in mathematical mode, but its concept of “standard” vs. “variant” symbols differs from the distinction between “GREEK LETTER ...” vs. “GREEK ... SYMBOL” in the Unicode standard. -See \href{tuenc-greek-doc.pdf}{tuenc-greek-doc}. The \emph{alphabeta} package defines generic macros for these variants that -are short forms of the set defined in \texttt{tuenc-greek.def}: +are short forms of the set defined in \texttt{tuenc-greek.def} +(cf. \href{test-tuenc-greek.pdf}{test-tuenc-greek}): \begin{quote} \verb|\| selects the Unicode GREEK LETTER ... variant, @@ -199,6 +213,9 @@ See Table \ref{tab:symbol-variant-macros} for the full list. With 8-bit TeX, the limitations described in the \href{textalpha-doc.pdf}{textalpha documentation} apply. See also the tests in section \hyperref[sec:8-bit-limitations]{8 bit limitations}. +These limitations are lifted, if the text language is switched to ``greek'' +with Babel, the text part is wrapped in \verb+\ensuregreek+, or the +document is compiled with XeTeX/LuaTeX. With XeTeX/LuaTeX and Unicode fonts, literal Unicode characters cannot be used in formulas (the log file reports missing characters) This is a generic @@ -213,7 +230,7 @@ However, \emph{unicode-math} conflicts with \emph{alphabeta}. \subsection{Greek alphabet} Greek letters via generic ``name'' macros without language/font-encoding -switch: +switch (active font encoding \encodingdefault): \begin{quote} \Alpha{} \Beta{} \Gamma{} \Delta{} \Epsilon{} \Zeta{} \Eta{} \Theta{} @@ -225,19 +242,23 @@ switch: \sigma{} \varsigma{} \tau{} \upsilon{} \phi{} \chi{} \psi{} \omega{} \\ \digamma{} \Digamma{} \stigma{} \varstigma{}% - \footnote{There is no separate Unicode code point for a stigma variant - symbol, \texttt{\textbackslash varstigma} is not defined with - Xe/LuaTeX and similar to \texttt{\textbackslash stigma} in some fonts.} - \koppa{} \qoppa{} \Qoppa{} - \Stigma{} \Sampi{} \sampi{} + \footnote{There is no separate Unicode code point for a stigma variant + symbol, \texttt{\textbackslash varstigma} is not defined with + Xe/LuaTeX and similar to \texttt{\textbackslash stigma} in some fonts.} + \koppa{} \Koppa{}% + \footnote{In LGR, there is no separate code point for Koppa as + typographical practice normally does not observe a + contrast between uppercase and lowercase forms for numeric koppa.} + % https://en.wikipedia.org/wiki/Koppa_(letter) + \qoppa{} \Qoppa{} \Stigma{} \Sampi{} \sampi{} \end{quote} % -Greek letters via Unicode input without language/font-encoding switch: +Greek letters via Unicode (active font encoding \encodingdefault): \begin{quote} Α Β Γ Δ Ε Ζ Η Θ Ι Κ Λ Μ Ν Ξ Ο Π Ρ Σ Τ Υ Φ Χ Ψ Ω\\ α β γ δ ε ζ η θ ι κ λ μ ν ξ ο π ρ σ ς τ υ φ χ ψ ω\\ - ϝ Ϝ ϛ ϟ ϙ Ϙ Ϛ Ϡ ϡ + ϝ Ϝ ϛ ϟ Ϟ ϙ Ϙ Ϛ Ϡ ϡ \end{quote} \subsection{Diacritics} @@ -270,9 +291,9 @@ variants of some Greek letters to the ``letter'' character. It is ignored, if the document uses Unicode fonts and is compiled with XeTeX or LuaTeX. (This document is compiled using \engine.) \begin{quote} - This quote uses both variants for beta (β|ϐ), theta (θ|ϑ), phi (φ|ϕ), pi - (π|ϖ), kappa (κ|ϰ), rho (ρ|ϱ), Theta (Θ|ϴ), and epsilon (ε|ϵ) in the LaTeX - source.% + The source of this quote uses both variants for beta (β|ϐ), + epsilon (ε|ϵ), phi (φ|ϕ), kappa (κ|ϰ), pi (π|ϖ), rho (ρ|ϱ), theta (θ|ϑ), + and Theta (Θ|ϴ) in the LaTeX source.% \end{quote} @@ -284,22 +305,23 @@ With the alphabeta package, you get Greek letters in both, the document body and PDF metadata generated by hyperref if the input uses Unicode literals or macros. Wrapping in \verb+\ensuregreek+ ensures the right placement of the accents and breathings (before, not above capital letters). With LICR input -(accent macros + symbol macros), non-standard diacritics are missing in the -PDF data, as hyperref's PU encoding currently does not support polytonic -Greek. (Here, the dasia is dropped at the start of the word in parentheses in -the PDF toc. The warning ``\texttt{Glyph not defined in PU encoding, -removing `\textbackslash<' on input line 145.}'' is written to the log.) +(accent macros as well as symbol macros), non-standard diacritics are +missing in the PDF data, as hyperref's PU encoding currently does not +support polytonic Greek. (Here, the dasia is dropped at the start of the +word in parentheses in the PDF toc. The warning ``\texttt{Glyph not defined +in PU encoding, removing `\textbackslash<' on input line 145.}'' is written +to the log.) -\subsection{Greek in math $\Gamma = \sin\alpha / \cos{\beta}$} +\subsection{Greek in maths $\Gamma = \sin\alpha / \cos{\beta}$} In the main document, Greek in math mode should work as usual: \[\Gamma = \frac{\sin\alpha}{\cos{\beta}}. \] - -Greek letters and symbols in math input as macro (there are no math macros -for Greek letters wich exist with similar shape in the Latin alphabet): +Greek letters and symbols in math input as macro:% +\footnote{There are no math macros for Greek letters wich exist with similar +shape in the Latin alphabet} \begin{align*} & % \Alpha{} \Beta{} @@ -327,7 +349,7 @@ for Greek letters wich exist with similar shape in the Latin alphabet): \\& \vartheta \varphi \varpi \digamma{} \varrho \varepsilon \end{align*} - +% PDF strings do not know math mode. The content of a formula or equation is evaluated in text mode with non-valid commands discarded (and warnings written to the log). This works resonably well for simple formulas (but not, @@ -339,7 +361,7 @@ also for Greek letters. With the \texttt{utf8} option of \emph{inputenc} and \href{http://www.ctan.org/pkg/greek-inputenc}{\emph{greek-inputenc}}, literal Greek Unicode characters are supported also in -mathematical mode: +mathematical mode. \ifdefined\DeclareUnicodeCharacter \[ @@ -347,26 +369,22 @@ mathematical mode: \] Greek letters and symbols in math input as Unicode literals: \begin{align*} - & Γ ΔΘΛΞΠΣΥ ΦΨ Ω \\ + & Γ ΔΘΛΞΠΣΥ ΦΨ Ω \\ & αβγδεζηθικλμνξπρσςτυφχψω \\ - & ϑϕϖϝϱϵ + & ϑϕϖϝϱϵ \end{align*} \fi This does not work with XeTeX/LuaTeX (unless in 8-bit emulation mode). - -The ``normal'' vs. ``variant'' shape of phi and epsilon is inverted when using -traditional makros or Unicode letter vs. symbol characters respectively. -This is to keep backwards compatibility of the math macros as well -as consistent input-output mapping for Unicode in text and math. -It corresponds to the behaviour of -\href{http://www.ctan.org/pkg/unicode-math}{\emph{unicode-math}} -with the default option \texttt{vargreek-shape=TeX}. +The ``normal'' vs. ``variant'' shape of letters is used so that the output +matches the Unicode reference glyph (cf. Table +\ref{tab:symbol-variant-macros}). This corresponds to the behaviour of +\href{http://www.ctan.org/pkg/unicode-math}{\emph{unicode-math}}. \subsection{8-bit limitations \label{sec:8-bit-limitations}} -These limitations are lifted, if the document is compiled with XeTeX/LuaTeX. +Certain limitations apply if Greek symbols are used in non-Greek context. \begin{itemize} @@ -390,16 +408,16 @@ These limitations are lifted, if the document is compiled with XeTeX/LuaTeX. \item There is no kerning between Greek letters, if the font encoding does not support Greek: compare \ensuregreek{\Alpha\Upsilon\Alpha{} (\currentEncoding)} to \Alpha\Upsilon\Alpha{} (\currentEncoding). - Because of this (and for proper hyphenation), use of the Babel package - and correct language setting is recommended for Greek quotes. - \end{itemize} - +% The \verb+\ensuregreek+ macro ensures that the argument is typeset with a font encoding supporting Greek. This keeps kerning (if the kerning pair is inside the argument, \ensuregreek{\Alpha\"\Upsilon\Alpha}), and allows combining of accent macros where pre-composed characters are selected (\ensuregreek{\<'\alpha}). +Setting the corrct language for Greek quotes with the \emph{Babel} package +additionally ensures correct hyphenation . + \begin{table}[bp] \centering @@ -407,17 +425,9 @@ combining of accent macros where pre-composed characters are selected \hline macro & text & math \\ \hline - \verb$\pi$ & \pi & $\pi$ \\ - \verb$\varpi$ & \varpi & $\varpi$ \\ - \verb$\pisymbol$ & \pisymbol & $\pisymbol$ \\ - \hline - \verb$\rho$ & \rho & $\rho$ \\ - \verb$\varrho$ & \varrho & $\varrho$ \\ - \verb$\rhosymbol$ & \rhosymbol & $\rhosymbol$ \\ - \hline - \verb$\theta$ & \theta & $\theta$ \\ - \verb$\vartheta$ & \vartheta & $\vartheta$ \\ - \verb$\thetasymbol$ & \thetasymbol & $\thetasymbol$ \\ + \verb$\beta$ & \beta & $\beta$ \\ + \verb$\varbeta$ & \varbeta & $\varbeta$ \\ + \verb$\betasymbol$ & \betasymbol & $\betasymbol$ \\ \hline \verb$\epsilon$ & \epsilon & $\epsilon$ \\ \verb$\varepsilon$ & \varepsilon & $\varepsilon$ \\ @@ -427,23 +437,36 @@ combining of accent macros where pre-composed characters are selected \verb$\varphi$ & \varphi & $\varphi$ \\ \verb$\phisymbol$ & \phisymbol & $\phisymbol$ \\ \hline - \verb$\beta$ & \beta & $\beta$ \\ - \verb$\varbeta$ & \varbeta & $\varbeta$ \\ - \verb$\betasymbol$ & \betasymbol & $\betasymbol$ \\ - \hline \verb$\kappa$ & \kappa & $\kappa$ \\ \verb$\varkappa$ & \varkappa & $\varkappa$ \\ - \verb$\kappasymbol$ & \kappasymbol & $\kappasymbol$\\ + \verb$\kappasymbol$ & \kappasymbol & $\kappasymbol$ \\ + \hline + \verb$\pi$ & \pi & $\pi$ \\ + \verb$\varpi$ & \varpi & $\varpi$ \\ + \verb$\pisymbol$ & \pisymbol & $\pisymbol$ \\ + \hline + \verb$\rho$ & \rho & $\rho$ \\ + \verb$\varrho$ & \varrho & $\varrho$ \\ + \verb$\rhosymbol$ & \rhosymbol & $\rhosymbol$ \\ + \hline + \verb$\sigma$ & \sigma & $\sigma$ \\ + \verb$\varsigma$ & \varsigma & $\varsigma$ \\ + \verb$\finalsigma$ & \finalsigma & $\finalsigma$ \\ + \hline + \verb$\theta$ & \theta & $\theta$ \\ + \verb$\vartheta$ & \vartheta & $\vartheta$ \\ + \verb$\thetasymbol$ & \thetasymbol & $\thetasymbol$ \\ \hline \verb$\Theta$ & \Theta & $\Theta$ \\ - \verb$\varTheta$ & & $\varTheta$ \\ - \verb$\Thetasymbol$ & \Thetasymbol & \\ + \verb$\varTheta$ & \missing & $\varTheta$ \\ + \verb$\Thetasymbol$ & \Thetasymbol & \missing \\ \hline \end{tabular} - \caption{Macros for Greek symbol variants ($\oslash$ = symbol missing). - With 8-bit TeX and the \texttt{normalize-symbols} option, the output for - both variants in text mode is the same (8-bit Greek text fonts contain - only one symbol variant). \label{tab:symbol-variant-macros}} + \caption{Macros for Greek symbol variants (\missing = symbol only + available with additional packages). + With 8-bit TeX and the \texttt{normalize-symbols} option, the output for + both variants in text mode is the same (8-bit Greek text fonts contain + only one symbol variant). \label{tab:symbol-variant-macros}} \end{table} \end{document} diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/alphabeta-lgr.def.html b/Master/texmf-dist/doc/latex/greek-fontenc/alphabeta-lgr.def.html index 4ce4aa4208f..5aff2d52112 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/alphabeta-lgr.def.html +++ b/Master/texmf-dist/doc/latex/greek-fontenc/alphabeta-lgr.def.html @@ -620,20 +620,24 @@ version 1.3 of this license or any later version.

Identification
\ProvidesFile{alphabeta-lgr}
-[2014/09/04 1.0 Composite definitions for 8-bit TeX]
+[2020/09/25 1.0 Composite definitions for 8-bit TeX]
Changelog
+- - - + + + + + +

2014-09-04

0.11.2

0.11.2

2014-09-04

outsourced from alphabeta.sty.

1.0

2020-09-25

New package version. No changes in this file.

diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/alphabeta-tu.pdf b/Master/texmf-dist/doc/latex/greek-fontenc/alphabeta-tu.pdf new file mode 100644 index 00000000000..2af317702c0 Binary files /dev/null and b/Master/texmf-dist/doc/latex/greek-fontenc/alphabeta-tu.pdf differ diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/alphabeta-tuenc.def.html b/Master/texmf-dist/doc/latex/greek-fontenc/alphabeta-tuenc.def.html index 9978e53b826..dfa7a48f5c1 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/alphabeta-tuenc.def.html +++ b/Master/texmf-dist/doc/latex/greek-fontenc/alphabeta-tuenc.def.html @@ -620,7 +620,7 @@ version 1.3 of this license or any later version.

Identification
\ProvidesFile{alphabeta-tuenc}
-[2020/02/28 1.0 Composite definitions for XeTeX and LuaTeX]
+[2020/10/30 2.0 Composite definitions for XeTeX and LuaTeX]

Composite definitions for alphabeta.sty with XeTeX and LuaTeX.

@@ -628,28 +628,36 @@ version 1.3 of this license or any later version.

Changelog:
-+ - - + + - - + + - - + + - - + + + + + + + + + +

2013-09-12

0.1

0.1

2013-09-12

initial version

2013-10-01

0.1.1

0.1.1

2013-10-01

remove clashing defs for legacy characters with oxia.

2014-09-04

0.11.2

0.11.2

2014-09-04

documentation update

2020/02/28

0.14

0.14

2020-02-28

rename to alphabeta-tuenc.def, use \UTFencname instead of \LastDeclaredEncoding

1.0

2020-09-25

New package version. No changes in this file.

2.0

2020-10-30

Use \UnicodeEncodingName instead of \UTFencname.

@@ -665,196 +673,196 @@ composite commands for use with Unicode fonts. It is sourced by

Greek and Coptic

-
\DeclareTextCompositeCommand{\'}{\UTFencname}{\Alpha}{Ά}
-\DeclareTextCompositeCommand{\'}{\UTFencname}{\Epsilon}{Έ}
-\DeclareTextCompositeCommand{\'}{\UTFencname}{\Eta}{Ή}
-\DeclareTextCompositeCommand{\'}{\UTFencname}{\Iota}{Ί}
-\DeclareTextCompositeCommand{\'}{\UTFencname}{\Omicron}{Ό}
-\DeclareTextCompositeCommand{\'}{\UTFencname}{\Upsilon}{Ύ}
-\DeclareTextCompositeCommand{\'}{\UTFencname}{\Omega}{Ώ}
-\DeclareTextCompositeCommand{\accdialytikatonos}{\UTFencname}{\iota}{ΐ}
-
-\DeclareTextCompositeCommand{\"}{\UTFencname}{\Iota}{Ϊ}
-\DeclareTextCompositeCommand{\"}{\UTFencname}{\Upsilon}{Ϋ}
-\DeclareTextCompositeCommand{\'}{\UTFencname}{\alpha}{ά}
-\DeclareTextCompositeCommand{\'}{\UTFencname}{\epsilon}{έ}
-\DeclareTextCompositeCommand{\'}{\UTFencname}{\eta}{ή}
-\DeclareTextCompositeCommand{\'}{\UTFencname}{\iota}{ί}
-\DeclareTextCompositeCommand{\accdialytikatonos}{\UTFencname}{\upsilon}{ΰ}
-
-\DeclareTextCompositeCommand{\"}{\UTFencname}{\iota}{ϊ}
-\DeclareTextCompositeCommand{\"}{\UTFencname}{\upsilon}{ϋ}
-\DeclareTextCompositeCommand{\'}{\UTFencname}{\omicron}{ό}
-\DeclareTextCompositeCommand{\'}{\UTFencname}{\upsilon}{ύ}
-\DeclareTextCompositeCommand{\'}{\UTFencname}{\omega}{ώ}
+
\DeclareTextCompositeCommand{\'}{\UnicodeEncodingName}{\Alpha}{Ά}
+\DeclareTextCompositeCommand{\'}{\UnicodeEncodingName}{\Epsilon}{Έ}
+\DeclareTextCompositeCommand{\'}{\UnicodeEncodingName}{\Eta}{Ή}
+\DeclareTextCompositeCommand{\'}{\UnicodeEncodingName}{\Iota}{Ί}
+\DeclareTextCompositeCommand{\'}{\UnicodeEncodingName}{\Omicron}{Ό}
+\DeclareTextCompositeCommand{\'}{\UnicodeEncodingName}{\Upsilon}{Ύ}
+\DeclareTextCompositeCommand{\'}{\UnicodeEncodingName}{\Omega}{Ώ}
+\DeclareTextCompositeCommand{\accdialytikatonos}{\UnicodeEncodingName}{\iota}{ΐ}
+
+\DeclareTextCompositeCommand{\"}{\UnicodeEncodingName}{\Iota}{Ϊ}
+\DeclareTextCompositeCommand{\"}{\UnicodeEncodingName}{\Upsilon}{Ϋ}
+\DeclareTextCompositeCommand{\'}{\UnicodeEncodingName}{\alpha}{ά}
+\DeclareTextCompositeCommand{\'}{\UnicodeEncodingName}{\epsilon}{έ}
+\DeclareTextCompositeCommand{\'}{\UnicodeEncodingName}{\eta}{ή}
+\DeclareTextCompositeCommand{\'}{\UnicodeEncodingName}{\iota}{ί}
+\DeclareTextCompositeCommand{\accdialytikatonos}{\UnicodeEncodingName}{\upsilon}{ΰ}
+
+\DeclareTextCompositeCommand{\"}{\UnicodeEncodingName}{\iota}{ϊ}
+\DeclareTextCompositeCommand{\"}{\UnicodeEncodingName}{\upsilon}{ϋ}
+\DeclareTextCompositeCommand{\'}{\UnicodeEncodingName}{\omicron}{ό}
+\DeclareTextCompositeCommand{\'}{\UnicodeEncodingName}{\upsilon}{ύ}
+\DeclareTextCompositeCommand{\'}{\UnicodeEncodingName}{\omega}{ώ}

Greek Extended

Postfix ypogegrammeni cannot be second part of composite defs.

-
\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\alpha}{ἀ}
-\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\alpha}{ἁ}
-\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\alpha}{ἂ}
-\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\alpha}{ἃ}
-\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\alpha}{ἄ}
-\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\alpha}{ἅ}
-\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UTFencname}{\alpha}{ἆ}
-\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\alpha}{ἇ}
-\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\Alpha}{Ἀ}
-\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\Alpha}{Ἁ}
-\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\Alpha}{Ἂ}
-\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\Alpha}{Ἃ}
-\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\Alpha}{Ἄ}
-\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\Alpha}{Ἅ}
-\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UTFencname}{\Alpha}{Ἆ}
-\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\Alpha}{Ἇ}
-
-\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\epsilon}{ἐ}
-\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\epsilon}{ἑ}
-\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\epsilon}{ἒ}
-\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\epsilon}{ἓ}
-\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\epsilon}{ἔ}
-\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\epsilon}{ἕ}
-\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\Epsilon}{Ἐ}
-\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\Epsilon}{Ἑ}
-\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\Epsilon}{Ἒ}
-\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\Epsilon}{Ἓ}
-\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\Epsilon}{Ἔ}
-\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\Epsilon}{Ἕ}
-
-\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\eta}{ἠ}
-\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\eta}{ἡ}
-\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\eta}{ἢ}
-\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\eta}{ἣ}
-\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\eta}{ἤ}
-\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\eta}{ἥ}
-\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UTFencname}{\eta}{ἦ}
-\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\eta}{ἧ}
-\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\Eta}{Ἠ}
-\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\Eta}{Ἡ}
-\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\Eta}{Ἢ}
-\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\Eta}{Ἣ}
-\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\Eta}{Ἤ}
-\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\Eta}{Ἥ}
-\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UTFencname}{\Eta}{Ἦ}
-\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\Eta}{Ἧ}
-
-\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\iota}{ἰ}
-\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\iota}{ἱ}
-\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\iota}{ἲ}
-\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\iota}{ἳ}
-\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\iota}{ἴ}
-\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\iota}{ἵ}
-\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UTFencname}{\iota}{ἶ}
-\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\iota}{ἷ}
-\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\Iota}{Ἰ}
-\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\Iota}{Ἱ}
-\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\Iota}{Ἲ}
-\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\Iota}{Ἳ}
-\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\Iota}{Ἴ}
-\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\Iota}{Ἵ}
-\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UTFencname}{\Iota}{Ἶ}
-\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\Iota}{Ἷ}
-
-\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\omicron}{ὀ}
-\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\omicron}{ὁ}
-\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\omicron}{ὂ}
-\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\omicron}{ὃ}
-\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\omicron}{ὄ}
-\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\omicron}{ὅ}
-\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\Omicron}{Ὀ}
-\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\Omicron}{Ὁ}
-\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\Omicron}{Ὂ}
-\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\Omicron}{Ὃ}
-\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\Omicron}{Ὄ}
-\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\Omicron}{Ὅ}
-
-\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\upsilon}{ὐ}
-\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\upsilon}{ὑ}
-\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\upsilon}{ὒ}
-\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\upsilon}{ὓ}
-\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\upsilon}{ὔ}
-\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\upsilon}{ὕ}
-\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UTFencname}{\upsilon}{ὖ}
-\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\upsilon}{ὗ}
-\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\Upsilon}{Ὑ}
-\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\Upsilon}{Ὓ}
-\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\Upsilon}{Ὕ}
-\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\Upsilon}{Ὗ}
-
-\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\omega}{ὠ}
-\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\omega}{ὡ}
-\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\omega}{ὢ}
-\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\omega}{ὣ}
-\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\omega}{ὤ}
-\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\omega}{ὥ}
-\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UTFencname}{\omega}{ὦ}
-\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\omega}{ὧ}
-\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\Omega}{Ὠ}
-\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\Omega}{Ὡ}
-\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\Omega}{Ὢ}
-\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\Omega}{Ὣ}
-\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\Omega}{Ὤ}
-\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\Omega}{Ὥ}
-\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UTFencname}{\Omega}{Ὦ}
-\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\Omega}{Ὧ}
-
-\DeclareTextCompositeCommand{\`}{\UTFencname}{\alpha}{ὰ}
-\DeclareTextCompositeCommand{\`}{\UTFencname}{\epsilon}{ὲ}
-\DeclareTextCompositeCommand{\`}{\UTFencname}{\eta}{ὴ}
-\DeclareTextCompositeCommand{\`}{\UTFencname}{\iota}{ὶ}
-\DeclareTextCompositeCommand{\`}{\UTFencname}{\omicron}{ὸ}
-\DeclareTextCompositeCommand{\`}{\UTFencname}{\upsilon}{ὺ}
-\DeclareTextCompositeCommand{\`}{\UTFencname}{\omega}{ὼ}
-
-\DeclareTextCompositeCommand{\u}{\UTFencname}{\alpha}{ᾰ}
-\DeclareTextCompositeCommand{\=}{\UTFencname}{\alpha}{ᾱ}
-\DeclareTextCompositeCommand{\~}{\UTFencname}{\alpha}{ᾶ}
-\DeclareTextCompositeCommand{\accperispomeni}{\UTFencname}{\alpha}{ᾶ}
-\DeclareTextCompositeCommand{\u}{\UTFencname}{\Alpha}{Ᾰ}
-\DeclareTextCompositeCommand{\=}{\UTFencname}{\Alpha}{Ᾱ}
-\DeclareTextCompositeCommand{\`}{\UTFencname}{\Alpha}{Ὰ}
-\DeclareTextCompositeCommand{\accvaria}{\UTFencname}{\Alpha}{Ὰ}
-
-\DeclareTextCompositeCommand{\~}{\UTFencname}{\eta}{ῆ}
-\DeclareTextCompositeCommand{\accperispomeni}{\UTFencname}{\eta}{ῆ}
-\DeclareTextCompositeCommand{\`}{\UTFencname}{\Epsilon}{Ὲ}
-\DeclareTextCompositeCommand{\`}{\UTFencname}{\Eta}{Ὴ}
-\DeclareTextCompositeCommand{\accvaria}{\UTFencname}{\Epsilon}{Ὲ}
-\DeclareTextCompositeCommand{\accvaria}{\UTFencname}{\Eta}{Ὴ}
-
-\DeclareTextCompositeCommand{\u}{\UTFencname}{\iota}{ῐ}
-\DeclareTextCompositeCommand{\=}{\UTFencname}{\iota}{ῑ}
-\DeclareTextCompositeCommand{\accdialytikavaria}{\UTFencname}{\iota}{ῒ}
-\DeclareTextCompositeCommand{\accdialytikaoxia}{\UTFencname}{\iota}{ΐ}
-\DeclareTextCompositeCommand{\~}{\UTFencname}{\iota}{ῖ}
-\DeclareTextCompositeCommand{\accperispomeni}{\UTFencname}{\iota}{ῖ}
-\DeclareTextCompositeCommand{\accdialytikaperispomeni}{\UTFencname}{\iota}{ῗ}
-\DeclareTextCompositeCommand{\u}{\UTFencname}{\Iota}{Ῐ}
-\DeclareTextCompositeCommand{\=}{\UTFencname}{\Iota}{Ῑ}
-\DeclareTextCompositeCommand{\`}{\UTFencname}{\Iota}{Ὶ}
-\DeclareTextCompositeCommand{\accvaria}{\UTFencname}{\Iota}{Ὶ}
-
-\DeclareTextCompositeCommand{\u}{\UTFencname}{\upsilon}{ῠ}
-\DeclareTextCompositeCommand{\=}{\UTFencname}{\upsilon}{ῡ}
-\DeclareTextCompositeCommand{\accdialytikavaria}{\UTFencname}{\upsilon}{ῢ}
-\DeclareTextCompositeCommand{\accdialytikaoxia}{\UTFencname}{\upsilon}{ΰ}
-\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\rho}{ῤ}
-\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\rho}{ῥ}
-\DeclareTextCompositeCommand{\~}{\UTFencname}{\upsilon}{ῦ}
-\DeclareTextCompositeCommand{\accperispomeni}{\UTFencname}{\upsilon}{ῦ}
-\DeclareTextCompositeCommand{\accdialytikaperispomeni}{\UTFencname}{\upsilon}{ῧ}
-\DeclareTextCompositeCommand{\u}{\UTFencname}{\Upsilon}{Ῠ}
-\DeclareTextCompositeCommand{\=}{\UTFencname}{\Upsilon}{Ῡ}
-\DeclareTextCompositeCommand{\`}{\UTFencname}{\Upsilon}{Ὺ}
-\DeclareTextCompositeCommand{\accvaria}{\UTFencname}{\Upsilon}{Ὺ}
-\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\Rho}{Ῥ}
-
-\DeclareTextCompositeCommand{\~}{\UTFencname}{\omega}{ῶ}
-\DeclareTextCompositeCommand{\accperispomeni}{\UTFencname}{\omega}{ῶ}
-\DeclareTextCompositeCommand{\`}{\UTFencname}{\Omicron}{Ὸ}
-\DeclareTextCompositeCommand{\`}{\UTFencname}{\Omega}{Ὼ}
-\DeclareTextCompositeCommand{\accvaria}{\UTFencname}{\Omicron}{Ὸ}
-\DeclareTextCompositeCommand{\accvaria}{\UTFencname}{\Omega}{Ὼ}
+
\DeclareTextCompositeCommand{\accpsili}{\UnicodeEncodingName}{\alpha}{ἀ}
+\DeclareTextCompositeCommand{\accdasia}{\UnicodeEncodingName}{\alpha}{ἁ}
+\DeclareTextCompositeCommand{\accpsilivaria}{\UnicodeEncodingName}{\alpha}{ἂ}
+\DeclareTextCompositeCommand{\accdasiavaria}{\UnicodeEncodingName}{\alpha}{ἃ}
+\DeclareTextCompositeCommand{\accpsilioxia}{\UnicodeEncodingName}{\alpha}{ἄ}
+\DeclareTextCompositeCommand{\accdasiaoxia}{\UnicodeEncodingName}{\alpha}{ἅ}
+\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UnicodeEncodingName}{\alpha}{ἆ}
+\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UnicodeEncodingName}{\alpha}{ἇ}
+\DeclareTextCompositeCommand{\accpsili}{\UnicodeEncodingName}{\Alpha}{Ἀ}
+\DeclareTextCompositeCommand{\accdasia}{\UnicodeEncodingName}{\Alpha}{Ἁ}
+\DeclareTextCompositeCommand{\accpsilivaria}{\UnicodeEncodingName}{\Alpha}{Ἂ}
+\DeclareTextCompositeCommand{\accdasiavaria}{\UnicodeEncodingName}{\Alpha}{Ἃ}
+\DeclareTextCompositeCommand{\accpsilioxia}{\UnicodeEncodingName}{\Alpha}{Ἄ}
+\DeclareTextCompositeCommand{\accdasiaoxia}{\UnicodeEncodingName}{\Alpha}{Ἅ}
+\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UnicodeEncodingName}{\Alpha}{Ἆ}
+\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UnicodeEncodingName}{\Alpha}{Ἇ}
+
+\DeclareTextCompositeCommand{\accpsili}{\UnicodeEncodingName}{\epsilon}{ἐ}
+\DeclareTextCompositeCommand{\accdasia}{\UnicodeEncodingName}{\epsilon}{ἑ}
+\DeclareTextCompositeCommand{\accpsilivaria}{\UnicodeEncodingName}{\epsilon}{ἒ}
+\DeclareTextCompositeCommand{\accdasiavaria}{\UnicodeEncodingName}{\epsilon}{ἓ}
+\DeclareTextCompositeCommand{\accpsilioxia}{\UnicodeEncodingName}{\epsilon}{ἔ}
+\DeclareTextCompositeCommand{\accdasiaoxia}{\UnicodeEncodingName}{\epsilon}{ἕ}
+\DeclareTextCompositeCommand{\accpsili}{\UnicodeEncodingName}{\Epsilon}{Ἐ}
+\DeclareTextCompositeCommand{\accdasia}{\UnicodeEncodingName}{\Epsilon}{Ἑ}
+\DeclareTextCompositeCommand{\accpsilivaria}{\UnicodeEncodingName}{\Epsilon}{Ἒ}
+\DeclareTextCompositeCommand{\accdasiavaria}{\UnicodeEncodingName}{\Epsilon}{Ἓ}
+\DeclareTextCompositeCommand{\accpsilioxia}{\UnicodeEncodingName}{\Epsilon}{Ἔ}
+\DeclareTextCompositeCommand{\accdasiaoxia}{\UnicodeEncodingName}{\Epsilon}{Ἕ}
+
+\DeclareTextCompositeCommand{\accpsili}{\UnicodeEncodingName}{\eta}{ἠ}
+\DeclareTextCompositeCommand{\accdasia}{\UnicodeEncodingName}{\eta}{ἡ}
+\DeclareTextCompositeCommand{\accpsilivaria}{\UnicodeEncodingName}{\eta}{ἢ}
+\DeclareTextCompositeCommand{\accdasiavaria}{\UnicodeEncodingName}{\eta}{ἣ}
+\DeclareTextCompositeCommand{\accpsilioxia}{\UnicodeEncodingName}{\eta}{ἤ}
+\DeclareTextCompositeCommand{\accdasiaoxia}{\UnicodeEncodingName}{\eta}{ἥ}
+\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UnicodeEncodingName}{\eta}{ἦ}
+\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UnicodeEncodingName}{\eta}{ἧ}
+\DeclareTextCompositeCommand{\accpsili}{\UnicodeEncodingName}{\Eta}{Ἠ}
+\DeclareTextCompositeCommand{\accdasia}{\UnicodeEncodingName}{\Eta}{Ἡ}
+\DeclareTextCompositeCommand{\accpsilivaria}{\UnicodeEncodingName}{\Eta}{Ἢ}
+\DeclareTextCompositeCommand{\accdasiavaria}{\UnicodeEncodingName}{\Eta}{Ἣ}
+\DeclareTextCompositeCommand{\accpsilioxia}{\UnicodeEncodingName}{\Eta}{Ἤ}
+\DeclareTextCompositeCommand{\accdasiaoxia}{\UnicodeEncodingName}{\Eta}{Ἥ}
+\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UnicodeEncodingName}{\Eta}{Ἦ}
+\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UnicodeEncodingName}{\Eta}{Ἧ}
+
+\DeclareTextCompositeCommand{\accpsili}{\UnicodeEncodingName}{\iota}{ἰ}
+\DeclareTextCompositeCommand{\accdasia}{\UnicodeEncodingName}{\iota}{ἱ}
+\DeclareTextCompositeCommand{\accpsilivaria}{\UnicodeEncodingName}{\iota}{ἲ}
+\DeclareTextCompositeCommand{\accdasiavaria}{\UnicodeEncodingName}{\iota}{ἳ}
+\DeclareTextCompositeCommand{\accpsilioxia}{\UnicodeEncodingName}{\iota}{ἴ}
+\DeclareTextCompositeCommand{\accdasiaoxia}{\UnicodeEncodingName}{\iota}{ἵ}
+\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UnicodeEncodingName}{\iota}{ἶ}
+\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UnicodeEncodingName}{\iota}{ἷ}
+\DeclareTextCompositeCommand{\accpsili}{\UnicodeEncodingName}{\Iota}{Ἰ}
+\DeclareTextCompositeCommand{\accdasia}{\UnicodeEncodingName}{\Iota}{Ἱ}
+\DeclareTextCompositeCommand{\accpsilivaria}{\UnicodeEncodingName}{\Iota}{Ἲ}
+\DeclareTextCompositeCommand{\accdasiavaria}{\UnicodeEncodingName}{\Iota}{Ἳ}
+\DeclareTextCompositeCommand{\accpsilioxia}{\UnicodeEncodingName}{\Iota}{Ἴ}
+\DeclareTextCompositeCommand{\accdasiaoxia}{\UnicodeEncodingName}{\Iota}{Ἵ}
+\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UnicodeEncodingName}{\Iota}{Ἶ}
+\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UnicodeEncodingName}{\Iota}{Ἷ}
+
+\DeclareTextCompositeCommand{\accpsili}{\UnicodeEncodingName}{\omicron}{ὀ}
+\DeclareTextCompositeCommand{\accdasia}{\UnicodeEncodingName}{\omicron}{ὁ}
+\DeclareTextCompositeCommand{\accpsilivaria}{\UnicodeEncodingName}{\omicron}{ὂ}
+\DeclareTextCompositeCommand{\accdasiavaria}{\UnicodeEncodingName}{\omicron}{ὃ}
+\DeclareTextCompositeCommand{\accpsilioxia}{\UnicodeEncodingName}{\omicron}{ὄ}
+\DeclareTextCompositeCommand{\accdasiaoxia}{\UnicodeEncodingName}{\omicron}{ὅ}
+\DeclareTextCompositeCommand{\accpsili}{\UnicodeEncodingName}{\Omicron}{Ὀ}
+\DeclareTextCompositeCommand{\accdasia}{\UnicodeEncodingName}{\Omicron}{Ὁ}
+\DeclareTextCompositeCommand{\accpsilivaria}{\UnicodeEncodingName}{\Omicron}{Ὂ}
+\DeclareTextCompositeCommand{\accdasiavaria}{\UnicodeEncodingName}{\Omicron}{Ὃ}
+\DeclareTextCompositeCommand{\accpsilioxia}{\UnicodeEncodingName}{\Omicron}{Ὄ}
+\DeclareTextCompositeCommand{\accdasiaoxia}{\UnicodeEncodingName}{\Omicron}{Ὅ}
+
+\DeclareTextCompositeCommand{\accpsili}{\UnicodeEncodingName}{\upsilon}{ὐ}
+\DeclareTextCompositeCommand{\accdasia}{\UnicodeEncodingName}{\upsilon}{ὑ}
+\DeclareTextCompositeCommand{\accpsilivaria}{\UnicodeEncodingName}{\upsilon}{ὒ}
+\DeclareTextCompositeCommand{\accdasiavaria}{\UnicodeEncodingName}{\upsilon}{ὓ}
+\DeclareTextCompositeCommand{\accpsilioxia}{\UnicodeEncodingName}{\upsilon}{ὔ}
+\DeclareTextCompositeCommand{\accdasiaoxia}{\UnicodeEncodingName}{\upsilon}{ὕ}
+\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UnicodeEncodingName}{\upsilon}{ὖ}
+\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UnicodeEncodingName}{\upsilon}{ὗ}
+\DeclareTextCompositeCommand{\accdasia}{\UnicodeEncodingName}{\Upsilon}{Ὑ}
+\DeclareTextCompositeCommand{\accdasiavaria}{\UnicodeEncodingName}{\Upsilon}{Ὓ}
+\DeclareTextCompositeCommand{\accdasiaoxia}{\UnicodeEncodingName}{\Upsilon}{Ὕ}
+\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UnicodeEncodingName}{\Upsilon}{Ὗ}
+
+\DeclareTextCompositeCommand{\accpsili}{\UnicodeEncodingName}{\omega}{ὠ}
+\DeclareTextCompositeCommand{\accdasia}{\UnicodeEncodingName}{\omega}{ὡ}
+\DeclareTextCompositeCommand{\accpsilivaria}{\UnicodeEncodingName}{\omega}{ὢ}
+\DeclareTextCompositeCommand{\accdasiavaria}{\UnicodeEncodingName}{\omega}{ὣ}
+\DeclareTextCompositeCommand{\accpsilioxia}{\UnicodeEncodingName}{\omega}{ὤ}
+\DeclareTextCompositeCommand{\accdasiaoxia}{\UnicodeEncodingName}{\omega}{ὥ}
+\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UnicodeEncodingName}{\omega}{ὦ}
+\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UnicodeEncodingName}{\omega}{ὧ}
+\DeclareTextCompositeCommand{\accpsili}{\UnicodeEncodingName}{\Omega}{Ὠ}
+\DeclareTextCompositeCommand{\accdasia}{\UnicodeEncodingName}{\Omega}{Ὡ}
+\DeclareTextCompositeCommand{\accpsilivaria}{\UnicodeEncodingName}{\Omega}{Ὢ}
+\DeclareTextCompositeCommand{\accdasiavaria}{\UnicodeEncodingName}{\Omega}{Ὣ}
+\DeclareTextCompositeCommand{\accpsilioxia}{\UnicodeEncodingName}{\Omega}{Ὤ}
+\DeclareTextCompositeCommand{\accdasiaoxia}{\UnicodeEncodingName}{\Omega}{Ὥ}
+\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UnicodeEncodingName}{\Omega}{Ὦ}
+\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UnicodeEncodingName}{\Omega}{Ὧ}
+
+\DeclareTextCompositeCommand{\`}{\UnicodeEncodingName}{\alpha}{ὰ}
+\DeclareTextCompositeCommand{\`}{\UnicodeEncodingName}{\epsilon}{ὲ}
+\DeclareTextCompositeCommand{\`}{\UnicodeEncodingName}{\eta}{ὴ}
+\DeclareTextCompositeCommand{\`}{\UnicodeEncodingName}{\iota}{ὶ}
+\DeclareTextCompositeCommand{\`}{\UnicodeEncodingName}{\omicron}{ὸ}
+\DeclareTextCompositeCommand{\`}{\UnicodeEncodingName}{\upsilon}{ὺ}
+\DeclareTextCompositeCommand{\`}{\UnicodeEncodingName}{\omega}{ὼ}
+
+\DeclareTextCompositeCommand{\u}{\UnicodeEncodingName}{\alpha}{ᾰ}
+\DeclareTextCompositeCommand{\=}{\UnicodeEncodingName}{\alpha}{ᾱ}
+\DeclareTextCompositeCommand{\~}{\UnicodeEncodingName}{\alpha}{ᾶ}
+\DeclareTextCompositeCommand{\accperispomeni}{\UnicodeEncodingName}{\alpha}{ᾶ}
+\DeclareTextCompositeCommand{\u}{\UnicodeEncodingName}{\Alpha}{Ᾰ}
+\DeclareTextCompositeCommand{\=}{\UnicodeEncodingName}{\Alpha}{Ᾱ}
+\DeclareTextCompositeCommand{\`}{\UnicodeEncodingName}{\Alpha}{Ὰ}
+\DeclareTextCompositeCommand{\accvaria}{\UnicodeEncodingName}{\Alpha}{Ὰ}
+
+\DeclareTextCompositeCommand{\~}{\UnicodeEncodingName}{\eta}{ῆ}
+\DeclareTextCompositeCommand{\accperispomeni}{\UnicodeEncodingName}{\eta}{ῆ}
+\DeclareTextCompositeCommand{\`}{\UnicodeEncodingName}{\Epsilon}{Ὲ}
+\DeclareTextCompositeCommand{\`}{\UnicodeEncodingName}{\Eta}{Ὴ}
+\DeclareTextCompositeCommand{\accvaria}{\UnicodeEncodingName}{\Epsilon}{Ὲ}
+\DeclareTextCompositeCommand{\accvaria}{\UnicodeEncodingName}{\Eta}{Ὴ}
+
+\DeclareTextCompositeCommand{\u}{\UnicodeEncodingName}{\iota}{ῐ}
+\DeclareTextCompositeCommand{\=}{\UnicodeEncodingName}{\iota}{ῑ}
+\DeclareTextCompositeCommand{\accdialytikavaria}{\UnicodeEncodingName}{\iota}{ῒ}
+\DeclareTextCompositeCommand{\accdialytikatonos}{\UnicodeEncodingName}{\iota}{ΐ}
+\DeclareTextCompositeCommand{\~}{\UnicodeEncodingName}{\iota}{ῖ}
+\DeclareTextCompositeCommand{\accperispomeni}{\UnicodeEncodingName}{\iota}{ῖ}
+\DeclareTextCompositeCommand{\accdialytikaperispomeni}{\UnicodeEncodingName}{\iota}{ῗ}
+\DeclareTextCompositeCommand{\u}{\UnicodeEncodingName}{\Iota}{Ῐ}
+\DeclareTextCompositeCommand{\=}{\UnicodeEncodingName}{\Iota}{Ῑ}
+\DeclareTextCompositeCommand{\`}{\UnicodeEncodingName}{\Iota}{Ὶ}
+\DeclareTextCompositeCommand{\accvaria}{\UnicodeEncodingName}{\Iota}{Ὶ}
+
+\DeclareTextCompositeCommand{\u}{\UnicodeEncodingName}{\upsilon}{ῠ}
+\DeclareTextCompositeCommand{\=}{\UnicodeEncodingName}{\upsilon}{ῡ}
+\DeclareTextCompositeCommand{\accdialytikavaria}{\UnicodeEncodingName}{\upsilon}{ῢ}
+\DeclareTextCompositeCommand{\accdialytikatonos}{\UnicodeEncodingName}{\upsilon}{ΰ}
+\DeclareTextCompositeCommand{\accpsili}{\UnicodeEncodingName}{\rho}{ῤ}
+\DeclareTextCompositeCommand{\accdasia}{\UnicodeEncodingName}{\rho}{ῥ}
+\DeclareTextCompositeCommand{\~}{\UnicodeEncodingName}{\upsilon}{ῦ}
+\DeclareTextCompositeCommand{\accperispomeni}{\UnicodeEncodingName}{\upsilon}{ῦ}
+\DeclareTextCompositeCommand{\accdialytikaperispomeni}{\UnicodeEncodingName}{\upsilon}{ῧ}
+\DeclareTextCompositeCommand{\u}{\UnicodeEncodingName}{\Upsilon}{Ῠ}
+\DeclareTextCompositeCommand{\=}{\UnicodeEncodingName}{\Upsilon}{Ῡ}
+\DeclareTextCompositeCommand{\`}{\UnicodeEncodingName}{\Upsilon}{Ὺ}
+\DeclareTextCompositeCommand{\accvaria}{\UnicodeEncodingName}{\Upsilon}{Ὺ}
+\DeclareTextCompositeCommand{\accdasia}{\UnicodeEncodingName}{\Rho}{Ῥ}
+
+\DeclareTextCompositeCommand{\~}{\UnicodeEncodingName}{\omega}{ῶ}
+\DeclareTextCompositeCommand{\accperispomeni}{\UnicodeEncodingName}{\omega}{ῶ}
+\DeclareTextCompositeCommand{\`}{\UnicodeEncodingName}{\Omicron}{Ὸ}
+\DeclareTextCompositeCommand{\`}{\UnicodeEncodingName}{\Omega}{Ὼ}
+\DeclareTextCompositeCommand{\accvaria}{\UnicodeEncodingName}{\Omicron}{Ὸ}
+\DeclareTextCompositeCommand{\accvaria}{\UnicodeEncodingName}{\Omega}{Ὼ}
diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/alphabeta-tuenc.html b/Master/texmf-dist/doc/latex/greek-fontenc/alphabeta-tuenc.html deleted file mode 100644 index 1e2857bca31..00000000000 --- a/Master/texmf-dist/doc/latex/greek-fontenc/alphabeta-tuenc.html +++ /dev/null @@ -1,862 +0,0 @@ - - - - - -alphabeta-tuenc.def - - - - - - -
-

alphabeta-tuenc.def

-

Composite definitions for XeTeX and LuaTeX

-
- - -
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{alphabeta-tuenc}
-[2020/02/28 0.14 Composite definitions for XeTeX and LuaTeX]
-
-
-

Composite definitions for alphabeta.sty with XeTeX and LuaTeX.

-
-
Changelog:
-
----- - - - - - - - - - - - - - - - - - - -

2013-09-12

0.1

initial version

2013-10-01

0.1.1

remove clashing defs for legacy characters with oxia.

2014-09-04

0.11.2

documentation update

2020/02/28

0.14

rename to alphabeta-tuenc.def, -use \UTFencname instead of \LastDeclaredEncoding

-
-
-

The alphabeta package re-defines the math macros for Greek letters to work -in both, text and math mode, so that Greek letters can be specified with -the established command names in text, too.

-

The NFSS TextComposite mechanism looks for the next token without expanding -it. In order to let compositions like \>"\alpha work as expected we -define TextComposites with the letter name commands.

-

This file expands the font encoding definitions in tuenc-greek.def with -composite commands for use with Unicode fonts. It is sourced by alphabeta -under XeTeX/LuaTeX.

-
-

Greek and Coptic

-
\DeclareTextCompositeCommand{\'}{\UTFencname}{\Alpha}{Ά}
-\DeclareTextCompositeCommand{\'}{\UTFencname}{\Epsilon}{Έ}
-\DeclareTextCompositeCommand{\'}{\UTFencname}{\Eta}{Ή}
-\DeclareTextCompositeCommand{\'}{\UTFencname}{\Iota}{Ί}
-\DeclareTextCompositeCommand{\'}{\UTFencname}{\Omicron}{Ό}
-\DeclareTextCompositeCommand{\'}{\UTFencname}{\Upsilon}{Ύ}
-\DeclareTextCompositeCommand{\'}{\UTFencname}{\Omega}{Ώ}
-\DeclareTextCompositeCommand{\accdialytikatonos}{\UTFencname}{\iota}{ΐ}
-
-\DeclareTextCompositeCommand{\"}{\UTFencname}{\Iota}{Ϊ}
-\DeclareTextCompositeCommand{\"}{\UTFencname}{\Upsilon}{Ϋ}
-\DeclareTextCompositeCommand{\'}{\UTFencname}{\alpha}{ά}
-\DeclareTextCompositeCommand{\'}{\UTFencname}{\epsilon}{έ}
-\DeclareTextCompositeCommand{\'}{\UTFencname}{\eta}{ή}
-\DeclareTextCompositeCommand{\'}{\UTFencname}{\iota}{ί}
-\DeclareTextCompositeCommand{\accdialytikatonos}{\UTFencname}{\upsilon}{ΰ}
-
-\DeclareTextCompositeCommand{\"}{\UTFencname}{\iota}{ϊ}
-\DeclareTextCompositeCommand{\"}{\UTFencname}{\upsilon}{ϋ}
-\DeclareTextCompositeCommand{\'}{\UTFencname}{\omicron}{ό}
-\DeclareTextCompositeCommand{\'}{\UTFencname}{\upsilon}{ύ}
-\DeclareTextCompositeCommand{\'}{\UTFencname}{\omega}{ώ}
-
-
-

Greek Extended

-

Postfix ypogegrammeni cannot be second part of composite defs.

-
\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\alpha}{ἀ}
-\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\alpha}{ἁ}
-\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\alpha}{ἂ}
-\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\alpha}{ἃ}
-\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\alpha}{ἄ}
-\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\alpha}{ἅ}
-\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UTFencname}{\alpha}{ἆ}
-\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\alpha}{ἇ}
-\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\Alpha}{Ἀ}
-\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\Alpha}{Ἁ}
-\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\Alpha}{Ἂ}
-\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\Alpha}{Ἃ}
-\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\Alpha}{Ἄ}
-\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\Alpha}{Ἅ}
-\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UTFencname}{\Alpha}{Ἆ}
-\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\Alpha}{Ἇ}
-
-\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\epsilon}{ἐ}
-\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\epsilon}{ἑ}
-\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\epsilon}{ἒ}
-\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\epsilon}{ἓ}
-\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\epsilon}{ἔ}
-\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\epsilon}{ἕ}
-\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\Epsilon}{Ἐ}
-\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\Epsilon}{Ἑ}
-\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\Epsilon}{Ἒ}
-\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\Epsilon}{Ἓ}
-\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\Epsilon}{Ἔ}
-\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\Epsilon}{Ἕ}
-
-\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\eta}{ἠ}
-\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\eta}{ἡ}
-\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\eta}{ἢ}
-\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\eta}{ἣ}
-\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\eta}{ἤ}
-\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\eta}{ἥ}
-\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UTFencname}{\eta}{ἦ}
-\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\eta}{ἧ}
-\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\Eta}{Ἠ}
-\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\Eta}{Ἡ}
-\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\Eta}{Ἢ}
-\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\Eta}{Ἣ}
-\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\Eta}{Ἤ}
-\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\Eta}{Ἥ}
-\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UTFencname}{\Eta}{Ἦ}
-\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\Eta}{Ἧ}
-
-\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\iota}{ἰ}
-\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\iota}{ἱ}
-\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\iota}{ἲ}
-\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\iota}{ἳ}
-\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\iota}{ἴ}
-\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\iota}{ἵ}
-\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UTFencname}{\iota}{ἶ}
-\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\iota}{ἷ}
-\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\Iota}{Ἰ}
-\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\Iota}{Ἱ}
-\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\Iota}{Ἲ}
-\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\Iota}{Ἳ}
-\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\Iota}{Ἴ}
-\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\Iota}{Ἵ}
-\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UTFencname}{\Iota}{Ἶ}
-\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\Iota}{Ἷ}
-
-\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\omicron}{ὀ}
-\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\omicron}{ὁ}
-\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\omicron}{ὂ}
-\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\omicron}{ὃ}
-\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\omicron}{ὄ}
-\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\omicron}{ὅ}
-\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\Omicron}{Ὀ}
-\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\Omicron}{Ὁ}
-\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\Omicron}{Ὂ}
-\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\Omicron}{Ὃ}
-\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\Omicron}{Ὄ}
-\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\Omicron}{Ὅ}
-
-\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\upsilon}{ὐ}
-\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\upsilon}{ὑ}
-\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\upsilon}{ὒ}
-\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\upsilon}{ὓ}
-\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\upsilon}{ὔ}
-\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\upsilon}{ὕ}
-\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UTFencname}{\upsilon}{ὖ}
-\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\upsilon}{ὗ}
-\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\Upsilon}{Ὑ}
-\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\Upsilon}{Ὓ}
-\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\Upsilon}{Ὕ}
-\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\Upsilon}{Ὗ}
-
-\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\omega}{ὠ}
-\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\omega}{ὡ}
-\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\omega}{ὢ}
-\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\omega}{ὣ}
-\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\omega}{ὤ}
-\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\omega}{ὥ}
-\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UTFencname}{\omega}{ὦ}
-\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\omega}{ὧ}
-\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\Omega}{Ὠ}
-\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\Omega}{Ὡ}
-\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\Omega}{Ὢ}
-\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\Omega}{Ὣ}
-\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\Omega}{Ὤ}
-\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\Omega}{Ὥ}
-\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UTFencname}{\Omega}{Ὦ}
-\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\Omega}{Ὧ}
-
-\DeclareTextCompositeCommand{\`}{\UTFencname}{\alpha}{ὰ}
-\DeclareTextCompositeCommand{\`}{\UTFencname}{\epsilon}{ὲ}
-\DeclareTextCompositeCommand{\`}{\UTFencname}{\eta}{ὴ}
-\DeclareTextCompositeCommand{\`}{\UTFencname}{\iota}{ὶ}
-\DeclareTextCompositeCommand{\`}{\UTFencname}{\omicron}{ὸ}
-\DeclareTextCompositeCommand{\`}{\UTFencname}{\upsilon}{ὺ}
-\DeclareTextCompositeCommand{\`}{\UTFencname}{\omega}{ὼ}
-
-\DeclareTextCompositeCommand{\u}{\UTFencname}{\alpha}{ᾰ}
-\DeclareTextCompositeCommand{\=}{\UTFencname}{\alpha}{ᾱ}
-\DeclareTextCompositeCommand{\~}{\UTFencname}{\alpha}{ᾶ}
-\DeclareTextCompositeCommand{\accperispomeni}{\UTFencname}{\alpha}{ᾶ}
-\DeclareTextCompositeCommand{\u}{\UTFencname}{\Alpha}{Ᾰ}
-\DeclareTextCompositeCommand{\=}{\UTFencname}{\Alpha}{Ᾱ}
-\DeclareTextCompositeCommand{\`}{\UTFencname}{\Alpha}{Ὰ}
-\DeclareTextCompositeCommand{\accvaria}{\UTFencname}{\Alpha}{Ὰ}
-
-\DeclareTextCompositeCommand{\~}{\UTFencname}{\eta}{ῆ}
-\DeclareTextCompositeCommand{\accperispomeni}{\UTFencname}{\eta}{ῆ}
-\DeclareTextCompositeCommand{\`}{\UTFencname}{\Epsilon}{Ὲ}
-\DeclareTextCompositeCommand{\`}{\UTFencname}{\Eta}{Ὴ}
-\DeclareTextCompositeCommand{\accvaria}{\UTFencname}{\Epsilon}{Ὲ}
-\DeclareTextCompositeCommand{\accvaria}{\UTFencname}{\Eta}{Ὴ}
-
-\DeclareTextCompositeCommand{\u}{\UTFencname}{\iota}{ῐ}
-\DeclareTextCompositeCommand{\=}{\UTFencname}{\iota}{ῑ}
-\DeclareTextCompositeCommand{\accdialytikavaria}{\UTFencname}{\iota}{ῒ}
-\DeclareTextCompositeCommand{\accdialytikaoxia}{\UTFencname}{\iota}{ΐ}
-\DeclareTextCompositeCommand{\~}{\UTFencname}{\iota}{ῖ}
-\DeclareTextCompositeCommand{\accperispomeni}{\UTFencname}{\iota}{ῖ}
-\DeclareTextCompositeCommand{\accdialytikaperispomeni}{\UTFencname}{\iota}{ῗ}
-\DeclareTextCompositeCommand{\u}{\UTFencname}{\Iota}{Ῐ}
-\DeclareTextCompositeCommand{\=}{\UTFencname}{\Iota}{Ῑ}
-\DeclareTextCompositeCommand{\`}{\UTFencname}{\Iota}{Ὶ}
-\DeclareTextCompositeCommand{\accvaria}{\UTFencname}{\Iota}{Ὶ}
-
-\DeclareTextCompositeCommand{\u}{\UTFencname}{\upsilon}{ῠ}
-\DeclareTextCompositeCommand{\=}{\UTFencname}{\upsilon}{ῡ}
-\DeclareTextCompositeCommand{\accdialytikavaria}{\UTFencname}{\upsilon}{ῢ}
-\DeclareTextCompositeCommand{\accdialytikaoxia}{\UTFencname}{\upsilon}{ΰ}
-\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\rho}{ῤ}
-\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\rho}{ῥ}
-\DeclareTextCompositeCommand{\~}{\UTFencname}{\upsilon}{ῦ}
-\DeclareTextCompositeCommand{\accperispomeni}{\UTFencname}{\upsilon}{ῦ}
-\DeclareTextCompositeCommand{\accdialytikaperispomeni}{\UTFencname}{\upsilon}{ῧ}
-\DeclareTextCompositeCommand{\u}{\UTFencname}{\Upsilon}{Ῠ}
-\DeclareTextCompositeCommand{\=}{\UTFencname}{\Upsilon}{Ῡ}
-\DeclareTextCompositeCommand{\`}{\UTFencname}{\Upsilon}{Ὺ}
-\DeclareTextCompositeCommand{\accvaria}{\UTFencname}{\Upsilon}{Ὺ}
-\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\Rho}{Ῥ}
-
-\DeclareTextCompositeCommand{\~}{\UTFencname}{\omega}{ῶ}
-\DeclareTextCompositeCommand{\accperispomeni}{\UTFencname}{\omega}{ῶ}
-\DeclareTextCompositeCommand{\`}{\UTFencname}{\Omicron}{Ὸ}
-\DeclareTextCompositeCommand{\`}{\UTFencname}{\Omega}{Ὼ}
-\DeclareTextCompositeCommand{\accvaria}{\UTFencname}{\Omicron}{Ὸ}
-\DeclareTextCompositeCommand{\accvaria}{\UTFencname}{\Omega}{Ὼ}
- -
-
- - diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/alphabeta.sty.html b/Master/texmf-dist/doc/latex/greek-fontenc/alphabeta.sty.html index 97581b7a0d5..84a217a1d71 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/alphabeta.sty.html +++ b/Master/texmf-dist/doc/latex/greek-fontenc/alphabeta.sty.html @@ -620,7 +620,7 @@ version 1.3 of this license or any later version.

Identification
\NeedsTeXFormat{LaTeX2e}
 \ProvidesPackage{alphabeta}
-  [2020/02/28 1.0 macros for Greek letters in text and math]
+ [2020/10/13 2.0 macros for Greek letters in text and math]
@@ -672,6 +672,14 @@ mode.

rename alphabeta-euenc.def to alphabeta-tuenc.def.

+

1.0

+

2020/09/25

+

New package version. No changes in this file.

+ +

2.0

+

2020/10/13

+

Provide \Koppa.

+ @@ -735,7 +743,7 @@ the next steps until the start of the document body:

Save math macros

-

Provide an alias for the standard math commands:

+

Map the standard math commands to maths-specific names:

\let\mathGamma\Gamma
 \let\mathDelta\Delta
 \let\mathTheta\Theta
@@ -867,6 +875,7 @@ in both, text and math mode.

\providecommand*{\stigma}{\textstigma} % ϛ \providecommand*{\varstigma}{\textvarstigma} % stigma variant (CB.enc, teubner) \providecommand*{\koppa}{\textkoppa} % ϟ (greek small letter koppa) +\providecommand*{\Koppa}{\textKoppa} % Ϟ (greek letter koppa) \providecommand*{\qoppa}{\textqoppa} % ϙ (archaic koppa) \providecommand*{\Qoppa}{\textQoppa} % Ϙ (archaic Koppa) \providecommand*{\Stigma}{\textStigma} % Ϛ (in some fonts ϹΤ ligature) @@ -877,7 +886,7 @@ in both, text and math mode.

Variant shape symbols

TeX’s concept of “standard” vs. “variant” math symbols does not map to the distinction between GREEK LETTER … vs. GREEK … SYMBOL in the Unicode -standard (see tuenc-greek-doc.pdf).

+standard (see test-tuenc-greek.pdf).

The \...symbol macros select the GREEK … SYMBOL in both, text and math mode. For \epsilonsymbol and \phisymbol this is the default shape in math mode. The \var... macros select the shape used by TeX @@ -918,11 +927,12 @@ it. In order to let compositions like \ensuregreek{\>"\alpha} work as expected we define TextComposites with the letter name commands. (Composition only works if the active font encoding is LGR).

-
\ifdefined\UTFencname
+
\@ifl@aded{def}{tuenc-greek}{
   \input{alphabeta-tuenc.def}
-\else % 8-bit TeX
+}{}
+\@ifl@aded{def}{lgrenc}{
   \input{alphabeta-lgr.def}
-\fi
+}{}

Re-definition for Greek Unicode input in math mode

diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/diacritics.pdf b/Master/texmf-dist/doc/latex/greek-fontenc/diacritics.pdf index 59e6183c971..e4d03b8b789 100644 Binary files a/Master/texmf-dist/doc/latex/greek-fontenc/diacritics.pdf and b/Master/texmf-dist/doc/latex/greek-fontenc/diacritics.pdf differ diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/diacritics.tex b/Master/texmf-dist/doc/latex/greek-fontenc/diacritics.tex index b885c948f57..dddfbc2560e 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/diacritics.tex +++ b/Master/texmf-dist/doc/latex/greek-fontenc/diacritics.tex @@ -2,7 +2,7 @@ \documentclass[a4paper,polutonikogreek,british]{article} \pagestyle{empty} \usepackage[margin=2.9cm]{geometry} -\usepackage{cmap} % fix search and cut-and-paste in Acrobat Reader +% \usepackage{cmap} % fix search and cut-and-paste in Acrobat Reader \usepackage% {lmodern} @@ -47,6 +47,7 @@ \title{Greek diacritics with standard accent macros} \author{G\"unter Milde} +\date{\filedate} \maketitle The font encoding definition file \texttt{lgrenc.def} defines LICR macros @@ -90,15 +91,7 @@ Improvements over the ligature-based approach in LGR: % \begin{itemize} -\item Accents can be placed on any character:% - \footnote{In babel-greek versions < 1.4, Babel's \emph{polutonikogreek} - option re-defined \textbackslash\textasciitilde (even for - Latin with \textbackslash textlatin). - This document reverted the babel definition in the preamble - to make the tilde/perispomeni-accent work as usual in both, - English (\textgreek{ni\~n\~o} ni\~n\~o) and Greek % - % (\foreignlanguage{greek}{ni\~n\~o \textlatin{ni\~n\~o}}). - .} +\item Accents can be placed on any character: \textgreek{\"k \`l \'m \~'p \>9 \`\>-} \item Kerning is preserved diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/greek-fontenc.def.html b/Master/texmf-dist/doc/latex/greek-fontenc/greek-fontenc.def.html index 1cc5050126c..a7dd6dc9106 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/greek-fontenc.def.html +++ b/Master/texmf-dist/doc/latex/greek-fontenc/greek-fontenc.def.html @@ -620,7 +620,7 @@ version 1.3 of this license or any later version.

Identification
\ProvidesFile{greek-fontenc.def}
-[2020/09/25 1.0 Common Greek font encoding definitions]
+[2020/10/30 2.0 Common Greek font encoding definitions]
@@ -662,8 +662,12 @@ font encodings providing Greek characters.

@uclclist entry for \prosgegrammeni.

1.0

-

2020/09/25

-

\textKoppa as alias for \textkoppa in LGR.

+

2020-09-25

+

\textKoppagreek and \textstigmagreek aliases.

+ +

2.0

+

2020/10/30

+

Alias definitions matching mathematical variant symbols.

@@ -697,8 +701,21 @@ the Greek script, if required. The following definition announces the

Aliases

Aliases are defined via DeclareTextCommand so that up/downcasing works without the need for additional uclclist entries.

+

Names matching mathematical variant symbols:

+
% \var... matching GREEK ... SYMBOL
+\DeclareTextCommand{\textvarbeta}{\LastDeclaredEncoding}{\textbetasymbol}   % ϐ
+\DeclareTextCommand{\textvarkappa}{\LastDeclaredEncoding}{\textkappasymbol} % ϰ
+\DeclareTextCommand{\textvarTheta}{\LastDeclaredEncoding}{\textThetasymbol} % ϴ
+\DeclareTextCommand{\textvartheta}{\LastDeclaredEncoding}{\textthetasymbol} % ϑ
+\DeclareTextCommand{\textvarpi}{\LastDeclaredEncoding}{\textpisymbol}       % ϖ
+\DeclareTextCommand{\textvarrho}{\LastDeclaredEncoding}{\textrhosymbol}     % ϱ
+% \var... matching GREEK LETTER ...
+\DeclareTextCommand{\textvarepsilon}{\LastDeclaredEncoding}{\textepsilon}   % ε
+\DeclareTextCommand{\textvarphi}{\LastDeclaredEncoding}{\textphi}           % φ
+\DeclareTextCommand{\textvarsigma}{\LastDeclaredEncoding}{\textfinalsigma}  % ς

Compatibility aliases for hyperref’s puenc.def:

-
\DeclareTextCommand{\textkoppagreek}{\LastDeclaredEncoding}{\textkoppa}
+
\DeclareTextCommand{\textmugreek}{\LastDeclaredEncoding}{\textmu}
+\DeclareTextCommand{\textkoppagreek}{\LastDeclaredEncoding}{\textkoppa}
 \DeclareTextCommand{\textKoppagreek}{\LastDeclaredEncoding}{\textKoppa}
 \DeclareTextCommand{\textStigmagreek}{\LastDeclaredEncoding}{\textStigma}
 \DeclareTextCommand{\textstigmagreek}{\LastDeclaredEncoding}{\textstigma}
@@ -714,6 +731,7 @@ without the need for additional u
 \DeclareTextCommand{\katwtonos}{\LastDeclaredEncoding}{\textaristerikeraia} % ͵

Two Unicode code points and names for one character:

\DeclareTextCommand{\accoxia}{\LastDeclaredEncoding}{\acctonos}
+\DeclareTextCommand{\accdialytikaoxia}{\LastDeclaredEncoding}{\accdialyikatonos}
 \DeclareTextCommand{\acckoronis}{\LastDeclaredEncoding}{\accpsili}

Symbol macros for the breathings:

Moved to textalpha.sty to avoid clashes with local definitions @@ -738,7 +756,8 @@ table, LCI encoding)?

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

-
\accdialytica\accvaria\textalpha,
+
\accdialyticavaria\textalpha,
+\accdialytica\accvaria\textalpha,
 \"\'\textalpha,
 \"'\textalpha, or
 \'"\textalpha.
@@ -845,7 +864,7 @@ the CB Fonts, a small capital adscript iota is used.

@uclclist extension

Based on the babel patch and fontenc.sty.

-

The definition of an auxiliary, self-restting macro makes this idempotent +

The definition of an auxiliary, self-resetting 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{%
@@ -866,38 +885,38 @@ The second and third lines are TeX’ way of writing \@ifnextchar gobbles spaces the lookahead macro definition
 from amsgen.sty is used:

-
-

This macro is a new version of LaTeX’s \@ifnextchar, macro +

This macro is a variant 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}%
diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/greek-fontenc.html b/Master/texmf-dist/doc/latex/greek-fontenc/greek-fontenc.html
index e0e864507f4..6b9caa68f7c 100644
--- a/Master/texmf-dist/doc/latex/greek-fontenc/greek-fontenc.html
+++ b/Master/texmf-dist/doc/latex/greek-fontenc/greek-fontenc.html
@@ -628,25 +628,48 @@ version 1.3 of this license or any later version.

verbose but failsafe 7-bit ASCII encoding that works unaltered under both, 8-bit TeX and XeTeX/LuaTeX. Use cases are macro definitions and generated text

-

This package provides Greek LICR macros and encoding -definition files for Greek text font encodings for use with -fontenc (8-bit TeX) or fontspec (XeTeX/LuaTeX).

+

This bundle provides LICR macros for characters from the +Greek script and encoding definition files for +Greek text font encodings for use with fontenc (8-bit TeX) +or fontspec (XeTeX/LuaTeX).

Included are also the LaTeX packages textalpha and alphabeta.

-
-

Note

-

The LICR macro names for Greek symbols are chosen pending -endorsement by the TeX community and related packages.

-

Names for archaic characters, accents/diacritics, and -punctuation may change in future versions.

+
-

Changelog

+

Changelog

--++ @@ -796,25 +819,67 @@ Rename greek-euenc + + + + + + + + + + + + + + + + + + + + + + + + + + + +

0.9

Update URLs.

2.0

2020-10-30

Move common alias definitions to greek-fontenc.def.

+

textalpha loads TU with Xe/LuaTeX by default and +provides \textmicro and LICR macros for archaic +symbols from the Greek and Coptic Unicode block.

+

Use \UnicodeEncodingName (by the LaTeX kernel) instead +of \UTFencname for the Unicode font encoding name.

+

Replace utf8 literals in tuenc-greek.def.

+

New file puenc-greek.def: setup for PU encoding +(defined by hyperref for PDF strings).

+

Don’t use \textcompwordmark as base in accent commands.

+

Documentation update.

-

TeX files

-
-
greek-fontenc.def
-

Common Greek font encoding definitions.

-
-
greek-euenc.def
-

Backwards compatibility file loading tuenc-greek.

-
-
-
+

TeX files

+
lgrenc.def

LGR Greek font encoding definitions.

This file is the successor of the basic LGR encoding definition file which comes with babel’s Greek support and the now obsolete lgrx bundle.

+
tuenc-greek.def
+

Font setup for Greek with XeTeX/LuaTeX.

+
+
puenc-greek.def
+

Greek LICR definitions for PDF strings.

+
+
greek-fontenc.def
+

Common Greek font encoding definitions.

+
+
greek-euenc.def
+

Backwards compatibility file loading tuenc-greek.

+
textalpha.sty

Greek symbols in text

Use \textalpha\textOmega independent of font encoding and TeX @@ -824,41 +889,50 @@ engine.

Greek symbols in text and math.

Use \alpha\Omega independent of text/math mode, font encoding, and TeX engine.

+
+
alphabeta-lgr.def
+

Composite definitions for 8-bit TeX..

alphabeta-tuenc.def

Composite definitions with XeTeX/LuaTeX..

-
tuenc-greek.def
-

Font setup for Greek with XeTeX/LuaTeX.

+

Literate source files were converted with PyLit to reStructuredText and with Docutils to the HTML documentation.

-

Documentation and test documents

-
-
textalpha package documentation:
-

textalpha-doc.tex, textalpha-doc.pdf

+

Documentation and test documents

+
+
Overview:
+

README, greek-fontenc.html

+
+
textalpha package documentation:
+

textalpha-doc.tex, textalpha-doc.pdf, textalpha-tu.pdf

+
+
alphabeta package documentation:
+

alphabeta-doc.tex, alphabeta-doc.pdf, alphabeta-tu.pdf

-
alphabeta package documentation:
-

alphabeta-doc.tex alphabeta-doc.pdf

+
LGR test and usage example
+

test-lgrenc.tex, test-lgrenc.pdf

-
Test and usage example
-

lgrenc-test.tex, lgrenc-test.pdf

+
TU test and usage example
+

test-tuenc-greek.tex, test-tuenc-greek.pdf

-
Font setup for Greek with XeTeX/LuaTeX
-

tuenc-greek-doc.tex, tuenc-greek-doc.pdf

+
Hyperref test and usage example
+

hyperref-with-greek.tex, hyperref-with-greek.pdf

-
Greek script in PDF metadata
-

greekhyperref.tex, greekhyperref.pdf

-

The package hyperref defines the PU font encoding which also supports -(monotonic) Greek.

+
Test with input encodings other than utf-8
+

test-inputenc.tex, test-inputenc.pdf

+
+
Greek diacritics with standard accent macros
+

diacritics.tex, diacritics.pdf

-

Experimental files

+

Experimental files

These files are still in development and will eventually be moved to/merged with other packages or removed in future versions:

@@ -868,8 +942,8 @@ with other packages or removed in future versions:

-

Installation

-

If possible, get this package from your distribution using its installation +

Installation

+

If possible, get the bundle from your distribution using its installation manager.

Otherwise, make sure LaTeX can find the package and definition files:

    @@ -880,30 +954,36 @@ the current working directory (e.g. for testing).

-

Conflicts

+

Conflicts

The arabi package provides the Babel arabic option which loads arabicfnt.sty for font setup. This package overwrites the LICR macros \omega and \textomega with font selecting commands. See the report for Debian bug 858987 for details and the arabi workaround below.

-

Usage

+

Usage

There are several alternatives to set up the support for a Greek font -encoding provided by this package, e.g.:

+encoding provided by this bundle, e.g.:

+
Babel:
+

Use the greek option with Babel:

+
\usepackage[greek]{babel}
+

This automatically loads lgrenc.def with 8-bit TeX and +tuenc-greek.def with XeTeX/LuaTeX and provides localized auto-strings, +hyphenation and other localizations (see babel-greek).

+

Babel can be used together with textalpha or alphabeta.

+
textalpha:

Ensure support for Greek characters in text mode:

\usepackage{textalpha}
-

eventually with the normalize-symbols option to handle symbol -variants

-
\usepackage[normalize-symbols]{textalpha}
-

and/or the keep-semicolon option to use the semicolon as erotimatiko +

eventually with the normalize-symbols option to handle symbol variants +and/or the keep-semicolon option to use the semicolon as erotimatiko also in LGR

\usepackage[normalize-symbols,keep-semicolon]{textalpha}

This sets up LICR macros for Greek text charactes under both, 8-bit TeX and Xe-/LuaTeX. For details see textalpha-doc.tex and textalpha-doc.pdf (8-bit -TeX) as well as tuenc-greek-doc.tex and tuenc-greek-doc.pdf +TeX) as well as test-tuenc-greek.tex and test-tuenc-greek.pdf (XeTeX/LuaTeX).

alphabeta:
@@ -912,31 +992,23 @@ mode in both, text and math mode, write

\usepackage{alphabeta}

For details see alphabeta-doc.tex and alphabeta-doc.pdf.

-
Babel:
-

Use the greek option with Babel:

-
\usepackage[greek]{babel}
-

This automatically loads lgrenc.def with 8-bit TeX and -tuenc-greek.def with XeTeX/LuaTeX and provides localized auto-strings, -hyphenation and other localizations (see babel-greek).

-

Babel can be used together with textalpha or alphabeta.

-
fontenc:

Declare LGR via fontenc. For example, specify T1 (8-bit Latin) as default font encoding and LGR for Greek with

\usepackage[LGR,T1]{fontenc}

Note that without textalpha or alphabeta, Greek text macros work only if the current font encoding supports Greek. See [fntguide] for -details and lgrenc-test.tex for an example.

+details and test-lgrenc.tex for an example.

It is possible to use 8-bit Greek text fonts in the LGR TeX font encoding also with XeTeX/LuaTeX, if the fontenc package is loaded before -fontspec and textalpha or alphabeta, e.g.

+Babel, textalpha, or alphabeta, e.g.

\usepackage[LGR]{fontenc}
 \usepackage{fontspec}
 \setmainfont{Linux Libertine O} % Latin Modern does not support Greek
 \setsansfont{Linux Biolinum O}
 \usepackage{textalpha}
-

See tuenc-greek-doc.tex, tuenc-greek-doc.pdf and -lgrenc-test.tex, lgrenc-test.pdf.

+

See test-tuenc-greek.tex, test-tuenc-greek.pdf and +test-lgrenc.tex, test-lgrenc.pdf.

To work around the conflict with arabi, it may suffice to ensure greek @@ -955,19 +1027,19 @@ is loaded after arabic:

\renewcommand{\omega}{\mathomega}
-

Greek text font encodings

+

Greek text font encodings

Greek TeX font encodings are the envisaged T7, LGR, and LGI. Greek letters and symbols are also defined in the Unicode-based font -encodings TU, EU1, EU2, and PU (hyperref).

+encodings TU, and PU.

-

T7

+

T7

The [encguide] reserves the name T7 for a Greek standard font encoding. However, up to now, there is no agreement on an implementation because the restrictions for general text encodings are too severe for typesetting polytonic Greek.

-

LGR

+

LGR

The LGR font encoding is the de-facto standard for typesetting Greek with (8-bit) LaTeX. greek-fontenc provides a comprehensive LGR font encoding definition file.

@@ -988,7 +1060,7 @@ font-encoding comprising Latin and Greek like the envisaged -

LGI

+

LGI

The ‘Ibycus’ fonts from the package ibygrk implement an alternative transliteration scheme (also explained in [babel-patch]). It is currently not supported by greek-fontenc.

@@ -996,30 +1068,49 @@ It is currently not supported by greek-fontenc.

setup (without any LICR macros or composite definitions).

-

TU

+

TU

Standard Unicode font encoding for XeTeX and LuaTeX loaded by fontspec -(since v2.5a). greek-fontenc adds support for the Greek script (see -tuenc-greek).

+(since v2.5a) rsp. the LaTeX kernel since 2017/01/01 [LaTeX2e News Issue 26]_. +greek-fontenc adds support for the Greek script (see tuenc-greek).

Xe/LuaTeX works with any system-wide installed OpenType font. Suitable fonts supporting Greek include CM Unicode, Deja Vu, EB Garamond, the GFS fonts, Libertine OTF, Libertinus, Old Standard, Tempora, and UM Typewriter (all available on CTAN) but also many commercial fonts. Unfortunately, the fontspec default, Latin Modern misses most Greek characters.

+

XeTeX uses the Unicode NFC normalization, so that combining characters +are merged with the base character if a pre-composed character exists. This +results in better looking output for characters with multiple diacritics. +Unfortunately, LuaTeX does not apply the NFC normalization. This leads to +suboptimal placing of some diactritics, especially the sub-iota (becoming +unintelligable in combination with small letter eta).

+

TODO: The lua-uni-algos package may be helpfull to implement a NTC +normalization to Greek text in LuaTeX.

+

The legacy Unicode font encodings EU1 and EU2 for XeTeX and LuaTeX +respectively were superseded by TU in the 2017 fontspec release.

-
-

EU1, EU2

-

Legacy Unicode font encodings for XeTeX and LuaTeX respectively. Superseded -by TU.

+
+

PU

+

The package hyperref defines the PU font encoding for use in PDF strings +(ToC, bookmarks) which supports monotonic Greek. greek-fontenc adds +support for polytonic Greek and some archaic characters also supported in +LGR and TU (see hyperref-with-greek.tex, hyperref-with-greek.pdf).

-
-

Greek LICR macros

-

This package provides LaTeX internal character representations (LICR macros) +

+

Selecting Greek LICR macro names

+
+

Note

+

The LICR macro names for Greek symbols are chosen pending +endorsement by the TeX community and related packages.

+

Names for archaic characters, accents/diacritics, and +punctuation may change in future versions.

+
+

This bundle provides LaTeX internal character representations (LICR macros) for Greek letters and diacritics. Macro names were selected based on the following considerations:

-

letters and symbols

+

letters and symbols

  • The fntguide (section 6.4 Naming conventions) recommends:

    @@ -1107,7 +1198,7 @@ additional packages (e.g. alp
-

accent macros

+

accent macros

  • standard accent macros (\DeclareTextAccent definitions in latex/base/...) are one-symbol macros (\' \" ... \u \v ...) .

  • @@ -1131,7 +1222,7 @@ provided. (The non-standard macros \< a textalpha or alphabeta.)

-

symbol variants

+

symbol variants

See also http://en.wikipedia.org/wiki/Greek_alphabet#Glyph_variants

Mathematical notation distinguishes variant shapes for beta (β|ϐ), theta (θ|ϑ), phi (φ|ϕ), pi (π|ϖ), kappa (κ|ϰ), rho (ρ|ϱ), Theta (Θ|ϴ), and epsilon @@ -1158,8 +1249,9 @@ the corresponding letter with the -

References

+

References

An alternative, more complete set of short mnemonic character names is the XML Entity Definitions for Characters W3C Recommendation from 01 April 2010.

@@ -1168,9 +1260,6 @@ Syropoulos and xl-lgr.enclgr.cmap provides a mapping to Unicode characters.

A full set of \text* symbol macros is defined in ucsencs.def from the ucs package.

-

Aliases from puenc.def ensure that the hyperref package can convert -Greek text in “LICR encoding” to a PDF-string (utf-8 encoded input is used -as-is).

fntguide

LaTeX3 Project Team, LaTeX2ε font selection, 2005. @@ -1195,6 +1284,10 @@ of the babel package, 1997. An extension to the greek option of the babel package, 2011. http://mirror.ctan.org/macros/latex/contrib/teubner/teubner-doc.pdf

+
+ +
babel-patch

Werner Lemberg, Unicode support for the Greek LGR encoding Εὔτυπον, τεῦχος № 20, 2008. @@ -1202,7 +1295,6 @@ encoding Εὔτυπον, τεῦχος № 20, 2008.

-
diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/greekhyperref.pdf b/Master/texmf-dist/doc/latex/greek-fontenc/greekhyperref.pdf deleted file mode 100644 index 3d5f0494611..00000000000 Binary files a/Master/texmf-dist/doc/latex/greek-fontenc/greekhyperref.pdf and /dev/null differ diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/greekhyperref.tex b/Master/texmf-dist/doc/latex/greek-fontenc/greekhyperref.tex deleted file mode 100644 index ed3c8b5cb34..00000000000 --- a/Master/texmf-dist/doc/latex/greek-fontenc/greekhyperref.tex +++ /dev/null @@ -1,127 +0,0 @@ -\documentclass{article} -\usepackage{fixltx2e} % LaTeX patches, \textsubscript -\usepackage{cmap} % fix search and cut-and-paste in Acrobat -\usepackage[LGR,T1]{fontenc} -\usepackage{lmodern} - -\usepackage[unicode,colorlinks=true,linkcolor=blue]{hyperref} -\usepackage{bookmark} - -\usepackage[greek,english]{babel} -\usepackage{alphabeta} -\usepackage[utf8]{inputenc} - - -% \pagestyle{headings} - -\begin{document} - -\title{Greek and hyperref} -\maketitle - -\noindent -On 2010-11-05, Heiko Oberdiek wrote in comp.text.tex: -% -\begin{quote} - \textbackslash pdfstringdef (converting TeX code to PDF strings for - bookmarks) supports NFSS2 and needs active characters. Encoding - stuff based on the internal font machinery of TeX (letters with - catcode 11 or 12, ligatures) does not work, because the strings - don't reach TeX's stomach. -\end{quote} -% -The \emph{greek-fontenc} package allows input of Greek characters in a way -that ``reaches TeX's stomach'' and hence works in both, the main document as -well as in PDF strings (e.g. bookmarks). Hyperref's ``puenc.def`` font -encoding file defines LICR macros for monotonic Greek (Greek characters of -the ``Greek and Coptic'' unicode block). - -All utf8-encoded literal Unicode characters work in PDF strings. With -\emph{greek-fontenc} and \emph{greek-inputenc}, this enables use of all -Greek character in text and PDF strings. - -\section{Transcription: \ensuregreek{logos}, \foreignlanguage{greek}{logos}} - -\textbackslash{}textgreek + LGR transcription or -Greek language (babel) + LGR transcription: -In the PDF-bookmark are Latin letters instead of Greek ones. - - -\section{Macros: - \textlambda\textomicron\textgamma\textomicron\textvarsigma{}, - \lambda\omicron\gamma\omicron\varsigma{}, - λογος} - -textalpha package with \textbackslash{}textgreek* macros, -alphabeta package with \textbackslash{}alpha ... \textbackslash{}Omega macros, -and literal Greek Unicode characters. - -Works, if the ``unicode'' or ``pdfencoding=auto'' option is given to hyperref. -(With the ``xpdf'' viewer, Greek letters are not shown in PDF bookmarks.) - -The generic short macros from the \emph{alphabeta} package result in -hyperref warnings. See ``alphabeta-doc.tex`` and ``alphabeta-doc.pdf`` -from the `lgrx` package for details an workarounds. - - -\section{LGR + Macros: \foreignlanguage{greek}{ - \textlambda\textomicron\textgamma\textomicron\textvarsigma{}}} - -LICR-macro input works also if the font encoding is LGR. - -\section{% - Kerning: \textAlpha\textUpsilon\textLambda{} - \ensuregreek{\textAlpha\textUpsilon\textLambda} - \foreignlanguage{greek}{\textAlpha\textUpsilon\textLambda}% -} - -Kerning is impossible if the font encoding is switched for every single -character. Wrap the Greek part in a command switching to LGR font encoding -to fix this, either \verb+\ensuregreek{...}+ (with package textalpha) or -\verb+\foreignlanguage{greek}{...}+ (with babel). - -% letters of the Greek and Coptic Unicode Block supported by LGR: -\newcommand{\GreekAndCoptic}{ʹ͵ͺ; ΄ ΅ Ά·ΈΉΊΌΎΏΐΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩΪΫϘϚϜϠ} -\newcommand{\greekandcoptic}{άέήίΰαβγδεζηθικλμνξοπρςστυφχψωϊϋόύώϙϛϝϟϡ} - -\section{Literal Unicode input} -The following subsection headings contain all characters from the ``Greek -and Coptic'' and ``Greek Extended'' Unicode Blocks that are supported by the -LGR font encoding as literal Unicode characters. -\subsection{\GreekAndCoptic} -\subsection{\greekandcoptic} -\subsection{ἀἁἂἃἄἅἆἇἈἉἊἋἌἍἎἏ ἐἑἒἓἔἕἘἙἚἛἜἝ} -\subsection{ἠἡἢἣἤἥἦἧἨἩἪἫἬἭἮἯ ἰἱἲἳἴἵἶἷἸἹἺἻἼἽἾἿ} -\subsection{ὀὁὂὃὄὅὈὉὊὋὌὍ ὐὑὒὓὔὕὖὗὙὛὝὟ} -\subsection{ὠὡὢὣὤὥὦὧὨὩὪὫὬὭὮὯ ὰάὲέὴήὶίὸόὺύὼώ} -\subsection{ᾀᾁᾂᾃᾄᾅᾆᾇᾈᾉᾊᾋᾌᾍᾎᾏ ᾐᾑᾒᾓᾔᾕᾖᾗᾘᾙᾚᾛᾜᾝᾞᾟ} -\subsection{ᾠᾡᾢᾣᾤᾥᾦᾧᾨᾩᾪᾫᾬᾭᾮᾯ ᾰᾱᾲᾳᾴᾶᾷᾸᾹᾺΆᾼ᾽ι᾿} -\subsection{῀῁ῂῃῄῆῇῈΈῊΉῌ῍῎῏ ῐῑῒΐῖῗῘῙῚΊ῝῞῟} -\subsection{ῠῡῢΰῤῥῦῧῨῩῪΎῬ῭΅` ῲῳῴῶῷῸΌῺΏῼ´῾} - -\section{non-standard and combined diacritics: - \ensuregreek{\>\textalpha \'"\textalpha}} - -Currently, there is no hyperref support for LICR input with non-standard -accents or combined diacritics characters. Input as literal precomposed -Unicode character works fine. - -\section{Makeuppercase} - -According to Greek typesetting conventions, -diacritics (except the dialytika) are dropped in ALL CAPS. - -However, \verb|\Makeuppercase| is not supported in PDF-strings, so we -do not need to care for this. - -\section{Conclusion} - -For Greek text parts in section headers use either literal Unicode -characters or macros. For multi-accented letters or non-standard accents, -use literal pre-composed Unicode characters. (Combining Unicode characters -do not work with inputenc and 8-bit LaTeX. This is a general restriction.) - -For proper kerning in the main document, combine this with the -\verb+\textgreek+ or \verb+\foreignlanguage{greek}+ macros. - -\end{document} diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/hyperref-with-greek.pdf b/Master/texmf-dist/doc/latex/greek-fontenc/hyperref-with-greek.pdf new file mode 100644 index 00000000000..f187a8d6359 Binary files /dev/null and b/Master/texmf-dist/doc/latex/greek-fontenc/hyperref-with-greek.pdf differ diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/hyperref-with-greek.tex b/Master/texmf-dist/doc/latex/greek-fontenc/hyperref-with-greek.tex new file mode 100644 index 00000000000..e0c8d94b155 --- /dev/null +++ b/Master/texmf-dist/doc/latex/greek-fontenc/hyperref-with-greek.tex @@ -0,0 +1,509 @@ +\documentclass{article} +\usepackage[LGR,T1]{fontenc} +\usepackage{lmodern} + +\usepackage[unicode,colorlinks=true,linkcolor=blue]{hyperref} +% \usepackage{bookmark} + +\usepackage[greek,english]{babel} +\usepackage[normalize-symbols]{alphabeta} +\usepackage[utf8]{inputenc} + +% \pagestyle{headings} + +\begin{document} + +\title{Greek and hyperref} +\author{Günter Milde} +\date{2020/10/30} +\maketitle + +\noindent +On 2010-11-05, Heiko Oberdiek wrote in comp.text.tex: +% +\begin{quote} + \textbackslash pdfstringdef (converting TeX code to PDF strings for + bookmarks) supports NFSS2 and needs active characters. Encoding + stuff based on the internal font machinery of TeX (letters with + catcode 11 or 12, ligatures) does not work, because the strings + don't reach TeX's stomach. +\end{quote} +% +The \emph{greek-fontenc} package allows input of Greek characters in a way +that ``reaches TeX's stomach'' and hence works in both, the main document as +well as in PDF strings (e.g. bookmarks). Hyperref's ``puenc.def`` font +encoding file defines LICR macros for monotonic Greek (Greek characters of +the ``Greek and Coptic'' unicode block). + +All utf8-encoded literal Unicode characters work in PDF strings. With +\emph{greek-fontenc} and \emph{greek-inputenc}, this enables use of all +Greek character in text and PDF strings. + +\section{Transcription: \ensuregreek{logos}, \foreignlanguage{greek}{logos}} + +\textbackslash{}textgreek + LGR transcription or +Greek language (babel) + LGR transcription: +In the PDF-bookmark are Latin letters instead of Greek ones. + + +\section{Macros: + \textlambda\textomicron\textgamma\textomicron\textvarsigma{}, + \lambda\omicron\gamma\omicron\varsigma{}, + λογος} + +\emph{textalpha} package with \textbackslash{}textalpha \ldots +\textbackslash{}textomega macros or \emph{alphabeta} package with +\textbackslash{}alpha \ldots \textbackslash{}Omega macros. With 8-bit TeX +engines (pdflatex), literal Greek Unicode characters are converted to LICR +Macros, too. + +Works, if the \texttt{unicode} or \texttt{pdfencoding=auto} option is given +to \emph{hyperref}.% +\footnote{With the ``xpdf'' viewer, Greek letters are not shown + in PDF bookmarks.} + +The generic short macros from the \emph{alphabeta} package result in +hyperref warnings. See \href{alphabeta-doc.pdf}{alphabeta-doc.pdf} and +\href{alphabeta-doc.tex}{alphabeta-doc.tex} +for details and workarounds. + + +\section{LGR + Macros: \foreignlanguage{greek}{ + \textlambda\textomicron\textgamma\textomicron\textvarsigma{}}} + +LICR-macro input works also if the font encoding is LGR. + +\section{% + Kerning: \textAlpha\textUpsilon\textLambda{} + \ensuregreek{\textAlpha\textUpsilon\textLambda} + \foreignlanguage{greek}{\textAlpha\textUpsilon\textLambda}% +} + +Kerning is impossible if the font encoding is switched for every single +character. To fix this, wrap the Greek part in a command switching to a font +encoding supporting Greek, either \verb+\ensuregreek{...}+ (with package +\emph{textalpha} or \emph{Babel}) or \verb+\foreignlanguage{greek}{...}+ +(with \emph{Babel}). + +\section{Literal Unicode input} +The following subsection headings contain all characters from the ``Greek +and Coptic'' and ``Greek Extended'' Unicode Blocks that are supported by the +LGR font encoding. +\subsection{ʹ͵ͺ; ΄ ΅ Ά·ΈΉΊΌΎΏΐΑΒΓΔΕΖΗΘΙΚΛΜΝ} +\subsection{ΞΟΠΡΣΤΥΦΧΨΩΪΫϘϚϜϠ} +Greek and Coptic Unicode block: punctuation and uppercase letters + +\subsection{άέήίΰαβγδεζηθικλμν} +\subsection{ξοπρςστυφχψωϊϋόύώϐϑϕϖϘϙϛϝϟϡ} + +Greek and Coptic Unicode block: lowercase letters + +\subsection{ἀἁἂἃἄἅἆἇἈἉἊἋἌἍἎἏ} +\subsection{ἐἑἒἓἔἕἘἙἚἛἜἝ} +\subsection{ἠἡἢἣἤἥἦἧἨἩἪἫἬἭἮἯ} +\subsection{ἰἱἲἳἴἵἶἷἸἹἺἻἼἽἾἿ} +\subsection{ὀὁὂὃὄὅὈὉὊὋὌὍ} +\subsection{ὐὑὒὓὔὕὖὗὙὛὝὟ} +\subsection{ὠὡὢὣὤὥὦὧὨὩὪὫὬὭὮὯ} +\subsection{ὰάὲέὴήὶίὸόὺύὼώ} +\subsection{ᾀᾁᾂᾃᾄᾅᾆᾇᾈᾉᾊᾋᾌᾍᾎᾏ} +\subsection{ᾐᾑᾒᾓᾔᾕᾖᾗᾘᾙᾚᾛᾜᾝᾞᾟ} +\subsection{ᾠᾡᾢᾣᾤᾥᾦᾧᾨᾩᾪᾫᾬᾭᾮᾯ} +\subsection{ᾰᾱᾲᾳᾴᾶᾷᾸᾹᾺΆᾼ᾽ι᾿} +\subsection{῀῁ῂῃῄῆῇῈΈῊΉῌ῍῎῏} +\subsection{ῐῑῒΐῖῗῘῙῚΊ῝῞῟} +\subsection{ῠῡῢΰῤῥῦῧῨῩῪΎῬ῭΅`} +\subsection{ῲῳῴῶῷῸΌῺΏῼ´῾} + +Greek Extended Unicode block: Input as literal precomposed Unicode character +works fine. + +\section{LICR command input} + +\subsection{\ensuregreek{ + \textnumeralsigngreek + \textnumeralsignlowergreek + { }\ypogegrammeni + \texterotimatiko + \acctonos{ } + \"'{ } + \'\textAlpha + \textanoteleia + \'\textEpsilon + \'\textEta + \'\textIota + \'\textOmicron + \'\textUpsilon + \'\textOmega + \'"\textiota + \textAlpha + \textBeta + \textGamma + \textDelta + \textEpsilon + \textZeta + \textEta + \textTheta + \textIota + \textKappa + \textLambda + \textMu + \textNu}} +\subsection{\ensuregreek{ + \textXi + \textOmicron + \textPi + \textRho + \textSigma + \textTau + \textUpsilon + \textPhi + \textChi + \textPsi + \textOmega + \"\textIota + \"\textUpsilon +}} + +\subsection{\ensuregreek{ + \'\textalpha + \'\textepsilon + \'\texteta + \'\textiota + \"'\textupsilon + \textalpha + \textbeta + \textgamma + \textdelta + \textepsilon + \textzeta + \texteta + \texttheta + \textiota + \textkappa + \textlambda + \textmu + \textnu}} +\subsection{\ensuregreek{ + \textxi + \textomicron + \textpi + \textrho + \textvarsigma + \textsigma + \texttau + \textupsilon + \textphi + \textchi + \textpsi + \textomega + \"\textiota + \"\textupsilon + \'\textomicron + \'\textupsilon + \'\textomega + \textbetasymbol + \textthetasymbol + \textphisymbol + \textpisymbol + \textQoppa + \textqoppa + \textStigma + \textstigma + \textDigamma + \textdigamma + \textKoppa + \textkoppa + \textSampi + \textsampi +}} + + +Currently, there is no hyperref support for LICR input with non-standard +accents or combined diacritics characters. + +\subsection{\ensuregreek{ + \accpsili\textalpha + \accdasia\textalpha + \accpsili`\textalpha + \accdasia`\textalpha + \accpsili'\textalpha + \accdasia'\textalpha + \~>\textalpha + \~<\textalpha + \accpsili\textAlpha + \accdasia\textAlpha + \accpsili`\textAlpha + \accdasia`\textAlpha + \accpsili'\textAlpha + \accdasia'\textAlpha + \~>\textAlpha + \~<\textAlpha +}} +\subsection{\ensuregreek{ + \accpsili\textepsilon + \accdasia\textepsilon + \accpsili`\textepsilon + \accdasia`\textepsilon + \accpsili'\textepsilon + \accdasia'\textepsilon + \accpsili\textEpsilon + \accdasia\textEpsilon + \accpsili`\textEpsilon + \accdasia`\textEpsilon + \accpsili'\textEpsilon + \accdasia'\textEpsilon +}} +\subsection{\ensuregreek{ + \accpsili\texteta + \accdasia\texteta + \accpsili`\texteta + \accdasia`\texteta + \accpsili'\texteta + \accdasia'\texteta + \~>\texteta + \~<\texteta + \accpsili\textEta + \accdasia\textEta + \accpsili`\textEta + \accdasia`\textEta + \accpsili'\textEta + \accdasia'\textEta + \~>\textEta + \~<\textEta +}} +\subsection{\ensuregreek{ + \accpsili\textiota + \accdasia\textiota + \accpsili`\textiota + \accdasia`\textiota + \accpsili'\textiota + \accdasia'\textiota + \~>\textiota + \~<\textiota + \accpsili\textIota + \accdasia\textIota + \accpsili`\textIota + \accdasia`\textIota + \accpsili'\textIota + \accdasia'\textIota + \~>\textIota + \~<\textIota +}} +\subsection{\ensuregreek{ + \accpsili\textomicron + \accdasia\textomicron + \accpsili`\textomicron + \accdasia`\textomicron + \accpsili'\textomicron + \accdasia'\textomicron + \accpsili\textOmicron + \accdasia\textOmicron + \accpsili`\textOmicron + \accdasia`\textOmicron + \accpsili'\textOmicron + \accdasia'\textOmicron +}} +\subsection{\ensuregreek{ + \accpsili\textupsilon + \accdasia\textupsilon + \accpsili`\textupsilon + \accdasia`\textupsilon + \accpsili'\textupsilon + \accdasia'\textupsilon + \~>\textupsilon + \~<\textupsilon + \accdasia\textUpsilon + \accdasia`\textUpsilon + \accdasia'\textUpsilon + \~<\textUpsilon +}} +\subsection{\ensuregreek{ + \accpsili\textomega + \accdasia\textomega + \accpsili`\textomega + \accdasia`\textomega + \accpsili'\textomega + \accdasia'\textomega + \~>\textomega + \~<\textomega + \accpsili\textOmega + \accdasia\textOmega + \accpsili`\textOmega + \accdasia`\textOmega + \accpsili'\textOmega + \accdasia'\textOmega + \~>\textOmega + \~<\textOmega +}} +\subsection{\ensuregreek{ + \accvaria\textalpha + \accoxia\textalpha + \accvaria\textepsilon + \accoxia\textepsilon + \accvaria\texteta + \accoxia\texteta + \accvaria\textiota + \accoxia\textiota + \accvaria\textomicron + \accoxia\textomicron + \accvaria\textupsilon + \accoxia\textupsilon + \accvaria\textomega + \accoxia\textomega +}} +\subsection{\ensuregreek{ + \accpsili\textalpha\ypogegrammeni + \accdasia\textalpha\ypogegrammeni + \accpsili`\textalpha\ypogegrammeni + \accdasia`\textalpha\ypogegrammeni + \accpsili'\textalpha\ypogegrammeni + \accdasia'\textalpha\ypogegrammeni + \~>\textalpha\ypogegrammeni + \~<\textalpha\ypogegrammeni + \accpsili\textAlpha\ypogegrammeni + \accdasia\textAlpha\ypogegrammeni + \accpsili`\textAlpha\ypogegrammeni + \accdasia`\textAlpha\ypogegrammeni + \accpsili'\textAlpha\ypogegrammeni + \accdasia'\textAlpha\ypogegrammeni + \~>\textAlpha\ypogegrammeni + \~<\textAlpha\ypogegrammeni +}} +\subsection{\ensuregreek{ + \accpsili\texteta\ypogegrammeni + \accdasia\texteta\ypogegrammeni + \accpsili`\texteta\ypogegrammeni + \accdasia`\texteta\ypogegrammeni + \accpsili'\texteta\ypogegrammeni + \accdasia'\texteta\ypogegrammeni + \~>\texteta\ypogegrammeni + \~<\texteta\ypogegrammeni + \accpsili\textEta\ypogegrammeni + \accdasia\textEta\ypogegrammeni + \accpsili`\textEta\ypogegrammeni + \accdasia`\textEta\ypogegrammeni + \accpsili'\textEta\ypogegrammeni + \accdasia'\textEta\ypogegrammeni + \~>\textEta\ypogegrammeni + \~<\textEta\ypogegrammeni +}} +\subsection{\ensuregreek{ + \accpsili\textomega\ypogegrammeni + \accdasia\textomega\ypogegrammeni + \accpsili`\textomega\ypogegrammeni + \accdasia`\textomega\ypogegrammeni + \accpsili'\textomega\ypogegrammeni + \accdasia'\textomega\ypogegrammeni + \~>\textomega\ypogegrammeni + \~<\textomega\ypogegrammeni + \accpsili\textOmega\ypogegrammeni + \accdasia\textOmega\ypogegrammeni + \accpsili`\textOmega\ypogegrammeni + \accdasia`\textOmega\ypogegrammeni + \accpsili'\textOmega\ypogegrammeni + \accdasia'\textOmega\ypogegrammeni + \~>\textOmega\ypogegrammeni + \~<\textOmega\ypogegrammeni +}} +\subsection{\ensuregreek{ + \u\textalpha + \=\textalpha + \accvaria\textalpha\ypogegrammeni + \textalpha\ypogegrammeni + \accoxia\textalpha\ypogegrammeni + \~\textalpha + \~\textalpha\ypogegrammeni + \u\textAlpha + \=\textAlpha + \accvaria\textAlpha + \accoxia\textAlpha + \textAlpha\ypogegrammeni + \accpsili{ } + { }\prosgegrammeni + \accpsili{ } +}} +\subsection{\ensuregreek{ + \accperispomeni\textcompwordmark + \"\~{ } + \accvaria\texteta\ypogegrammeni + \texteta\ypogegrammeni + \accoxia\texteta\ypogegrammeni + \~\texteta + \~\texteta\ypogegrammeni + \accvaria\textEpsilon + \accoxia\textEpsilon + \accvaria\textEta + \accoxia\textEta + \textEta\ypogegrammeni + \accpsili`{ } + \accpsili'{ } + \~>{ } +}} +\subsection{\ensuregreek{ + \u\textiota + \=\textiota + \`"\textiota + \'"\textiota + \~\textiota + \~"\textiota + \u\textIota + \=\textIota + \accvaria\textIota + \accoxia\textIota + \accdasia`{ } + \accpsili'{ } + \~<{ } +}} +\subsection{\ensuregreek{ + \u\textupsilon + \=\textupsilon + \`"\textupsilon + \'"\textupsilon + \accpsili\textrho + \accdasia\textrho + \~\textupsilon + \~"\textupsilon + \u\textUpsilon + \=\textUpsilon + \accvaria\textUpsilon + \accoxia\textUpsilon + \accdasia\textRho + \`"{ } + \'"{ } + \accvaria{ } +}} +\subsection{\ensuregreek{ + \accvaria\textomega\ypogegrammeni + \textomega\ypogegrammeni + \accoxia\textomega\ypogegrammeni + \~\textomega + \~\textomega\ypogegrammeni + \accvaria\textOmicron + \accoxia\textOmicron + \accvaria\textOmega + \accoxia\textOmega + \textOmega\ypogegrammeni + \accoxia{ } + \accdasia{ } +}} + +\section{Makeuppercase} + +According to Greek typesetting conventions, +diacritics (except the dialytika) are dropped in ALL CAPS. + +However, \verb|\Makeuppercase| is not supported in PDF-strings, so we +do not need to care for this. + +\section{Conclusion} + +For Greek text parts in section headers use either literal Unicode +characters% +\footnote{Pre-composed Unicode characters must be used for multi-accented +letters or non-standard accents. Combining Unicode characters do not work +with inputenc and 8-bit LaTeX – this is a general restriction.} or macros. +For proper kerning in the main document, combine this with the +\verb+\textgreek+ or \verb+\foreignlanguage{greek}+ macros. + +\end{document} diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/lgrenc-test.pdf b/Master/texmf-dist/doc/latex/greek-fontenc/lgrenc-test.pdf deleted file mode 100644 index 48be697a748..00000000000 Binary files a/Master/texmf-dist/doc/latex/greek-fontenc/lgrenc-test.pdf and /dev/null differ diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/lgrenc-test.tex b/Master/texmf-dist/doc/latex/greek-fontenc/lgrenc-test.tex deleted file mode 100644 index 861c981c61e..00000000000 --- a/Master/texmf-dist/doc/latex/greek-fontenc/lgrenc-test.tex +++ /dev/null @@ -1,560 +0,0 @@ -\documentclass{article} - -% Test with various LGR-encoded fonts: -\usepackage% -{lmodern} % uses CB Fonts for Greek -% {gfsartemisia} -% {gfsbaskerville} -% [default]{gfsbodoni} -% [default]{gfscomplutum} -% {gfsdidot} -% [default]{gfsneohellenic} -% {lmodern} \usepackage{gfsporson} \renewcommand*\rmdefault{porson} -% [default]{gfssolomos} -% {kerkis} % lacks some chars (\Stigma, \Sampi, double quotes) -% {teubner} -% \renewcommand{\ttdefault}{txtt} - -\usepackage{parskip} -\usepackage{textcomp} - -\usepackage[LGR,T1]{fontenc} - -% Shortcut accent macros \< and \>: -% -% The Symbol macros for the breathings were -% moved to ``textalpha.sty`` to avoid clashes with possible local -% definitions of these macros. -% -% Local definition and setup: -\DeclareTextCommand{\<}{LGR}{\accdasia} -\DeclareTextCommand{\>}{LGR}{\accpsili} -\DeclareTextCompositeCommand{\>}{LGR}{'}{\accpsilioxia} -\DeclareTextCompositeCommand{\>}{LGR}{`}{\accpsilivaria} -\DeclareTextCompositeCommand{\>}{LGR}{~}{\accpsiliperispomeni} -\DeclareTextCompositeCommand{\<}{LGR}{'}{\accdasiaoxia} -\DeclareTextCompositeCommand{\<}{LGR}{`}{\accdasiavaria} -\DeclareTextCompositeCommand{\<}{LGR}{~}{\accdasiaperispomeni} - - -% With XeTeX/LuaTeX, use Unicode for Latin script: -% This is experimental. The general advise is not to mix fontenc and fontspec. -% Problems: -% * Letter µ missing in Latin Modern -% * xunicode makes \nobreakspace font encoding specific -> provide default: -\ifdefined\luatexversion - \usepackage{fontspec} - \DeclareTextCommand{\textmu}{EU2}{µ} % use MICRO SIGN -\else - \ifdefined\XeTeXrevision - \usepackage{fontspec} - \DeclareTextCommand{\textmu}{EU1}{µ} % use MICRO SIGN - \else - \usepackage[utf8]{inputenc} - \fi -\fi -\DeclareTextCommandDefault{\nobreakspace}{\leavevmode\nobreak\ } - -% PDF hyperlinks: -\usepackage[pdfencoding=auto]{hyperref} -\usepackage{bookmark} -\hypersetup{colorlinks=true,linkcolor=blue,urlcolor=blue,pdfencoding=auto} - -% font encoding switch declarations: -\newcommand{\LGR}{\fontencoding{LGR}\selectfont} -\newcommand{\Latin}{\fontencoding{\encodingdefault}\selectfont} - -\begin{document} - -\title{Test LGR font encoding definitions} -\author{Günter Milde} -% \date{} -\maketitle - -The file lgrenc.def provides a comprehensive set of macros to typeset Greek -with LGR encoded fonts. It works for both, monotonic and polytonic Greek, -independent of the \emph{Babel} package. - -The example from \texttt{usage.tex} in \emph{babel-greek} input -using the LICR macros: - -\begin{quote} - \LGR - \textTau\'\textiota{} - \textphi\'\texteta\textiota\textfinalsigma\texterotimatiko{} - \<\textIota\textdelta\`\textomega\textnu{} - \>\textepsilon\textnu\texttheta\'\textepsilon\textdelta\textepsilon{} - \textpi\textalpha\~\textiota\textdelta\'\' - \>\textepsilon\textlambda\textepsilon\textupsilon\texttheta\'\textepsilon\textrho\textalpha\textnu\\ - \texttau\`\textalpha\textfinalsigma{} - \textpi\textlambda\texteta\textautosigma\'\textiota\textomicron\textnu{} - \textNu\'\textupsilon\textmu\textphi\textalpha\textfinalsigma{} - \textautosigma\texttau\textepsilon\textphi\textalpha\textnu\textomicron\~\textupsilon\textautosigma\textalpha\textnu{}, - \textSigma\'\textomega\textautosigma\texttau\textrho\textalpha\texttau\textepsilon{},\\ - \>\textepsilon\textrho\~\textomega\textnu{} - \'\textalpha\textpi\~\texteta\textlambda\texttheta\textepsilon\textfinalsigma{} - \textepsilon\>\textupsilon\texttheta\'\textupsilon\textfinalsigma\texterotimatiko{} - -\end{quote} - -\section{Symbols} - -See the source file \href{lgrenc-test.tex}{lgrenc-test.tex} for the macros -used to access the symbols. - -\subsection{Generic text symbols} - -Latin: -+ - = < > -- --- \textbraceleft{} [ () ] \textbraceright{} -% -\textbackslash{} -\textbar{} -\textperthousand{} -\textpertenthousand{} -\textvisiblespace{} - -LGR: -\LGR -+ - = \textless{} \textgreater{} -- --- -\textbraceleft{} [ () ] \textbraceright{} -% -\textbackslash{} \textbar{} -\textperthousand{} -% \textpertenthousand{} -\textvisiblespace{} -\Latin (Per-mille symbol is missing in LGR.) - -Quotes:\footnote{% - Single quotes need special attention to prevent conversion to accents. - Test the input conventions: - \LGR \textquoteleft{}a\textquoteright{} ``a'' \``a\'' \`\`a\'\' - \Latin but not \LGR `a' 'e' "i"\Latin -} -% -\Latin \guillemotleft{}a\guillemotright{} -\LGR \guillemotleft{}a\guillemotright{}, -% -\Latin \textquoteleft{}a\textquoteright{} -\LGR \textquoteleft{}a\textquoteright{}, -% -\Latin \textquotedblleft{}a\textquotedblright{} -\LGR \textquotedblleft{}a\textquotedblright{} -\Latin (double quotes wrong with Kerkis fonts) - -Single guillemots and base-quotes - (\guilsinglleft{}a\guilsinglright{} - \quotedblbase{}a\textquotedblright{} - \quotesinglbase{}a\textquoteright{}) - are missing in LGR. - -Ligature break up: AY fi \LGR AU "i $\mapsto$ -\Latin A\textcompwordmark Y f\textcompwordmark i -\LGR A\textcompwordmark U "\textcompwordmark i - - -\Latin Spacing accent chars: -% -\Latin \textasciicircum a -\LGR \textasciicircum a \textasciicircum i % using textsym glyph -% -\Latin \textasciitilde a -\LGR \textasciitilde a \textasciitilde i -% -\Latin \textasciibreve a -\LGR \textasciibreve a \textasciibreve i -% -\Latin \textasciimacron a -\LGR \textasciimacron a \textasciimacron i -% -\Latin \textasciidieresis a -\LGR \textasciidieresis a \textasciidieresis i -% -\Latin \textasciiacute a -\LGR \textasciiacute a \textasciiacute i -% -\Latin \textasciigrave a -\LGR \textasciigrave a \textasciigrave i - -\Latin Symbols for SI-units: -\Latin 5\,\textmu{}m, 5\,k\textohm{}; -\LGR 5\,\textmu{}{\Latin m}, 5\,{\Latin k}\textohm -\Latin ; but never italic: 5\,$\mu$m - -\Latin Letter schwa and Euro symbol: % \textschwa (needs e.g. T3) -\LGR \textschwa{}, \texteuro{} -\Latin - - -Some ASCII symbols are replaced by other symbols in LGR encoding: -\emph{babel-greek} redefines some with \verb|\latintext|, however this macro -is not guaranteed to be defined, so it cannot be used in a font encoding -definition file. - -Avoid: \texttt{"\#\&';<>?@} because it becomes -\LGR \ \texttt{"\#\&';<>?@}. -\Latin - - -\subsection{Greek alphabet} - -Greek letters via Latin transcription and LICR macros: - -\begin{quote} - \LGR - \MakeUppercase{a b g d e z h j i k l m n x o p r s t u f q y w} - - a b g d e z h j i k l m n x o p r sv t u f q y w - - \textAlpha{} \textBeta{} \textGamma{} \textDelta{} \textEpsilon{} - \textZeta{} \textEta{} \textTheta{} \textIota{} \textKappa{} - \textLambda{} \textMu{} \textNu{} \textXi{} \textOmicron{} \textPi{} - \textRho{} \textSigma{} \textTau{} \textUpsilon{} \textPhi{} - \textChi{} \textPsi{} \textOmega{} - - \textalpha{} \textbeta{} \textgamma{} \textdelta{} \textepsilon{} - \textzeta{} \texteta{} \texttheta{} \textiota{} \textkappa{} - \textlambda{} \textmu{} \textnu{} \textxi{} \textomicron{} \textpi{} - \textrho{} \textsigma{} \texttau{} \textupsilon{} - \textphi{} \textchi{} \textpsi{} \textomega{} -\end{quote} - -The small sigma is set with a different glyph if it ends a word: - -\begin{quote} - \LGR \textsigma{} \Latin textsigma \\ - \LGR \textfinalsigma{} \Latin textfinalsigma or textvarsigma -\end{quote} - -In the Latin transcription, the letter `s' stands for \verb|\textautosigma| -which automatically chooses the glyph according to the position. - -The textcomp.sty package provides coyright, registered, and trademark -symbols for use with any font encodings. (Like any other Latin character, -the ``sharp s'' (\ss) is not save to use when LGR is the active font -encoding.) - -Latin: -\textcopyright{} -\textregistered{} -\texttrademark{} -\SS{} (uppercase of \ss). - -LGR (with textcomp): -\LGR -\textcopyright{} -\textregistered{} -\texttrademark{} -\SS{} (\Latin uppercase of \LGR \ss). -\Latin - -\subsection{Additional Greek symbols} - -\begin{quote} - \LGR \textkoppa{} \Latin textkoppa (numeral koppa = 90) \\ % ϟ - \LGR \textKoppa{} \Latin textKoppa (numeral Koppa = 90)% - \footnote{Modern typographical practice normally does not observe a - contrast between uppercase and lowercase forms for numeric koppa. - % https://en.wikipedia.org/wiki/Koppa_(letter) - In LGR, there is ony one slot for Koppa and koppa.} \\ % Ϟ - \LGR \textqoppa{} \Latin textqoppa (archaic koppa) \\ % ϙ - \LGR \textQoppa{} \Latin textQoppa (archaic Koppa) \\ % Ϙ - \LGR \textstigma{} \Latin textstigma \\ % ϛ - \LGR \textvarstigma{} \Latin textvarstigma \\ % no separate Unicode character - \LGR \textStigma{} \Latin textStigma (Sigma-Tau-Ligature in CB-fonts)% - \footnote{the name ``stigma'' originally applied to a medieval sigma-tau - ligature, whose shape was confusingly similar to the cursive - digamma} \\ % Ϛ - \LGR \textsampi{} \Latin textsampi \\ % ϡ - \LGR \textSampi{} \Latin textSampi \\ % Ϡ - \LGR \textdigamma{} \Latin textdigamma \\ % ϝ (\digamma used by amsmath!) - \LGR \textDigamma{} \Latin textDigamma \\ % Ϝ - % numeral signs: http://en.wikipedia.org/wiki/Greek_numerals - \LGR \textdexiakeraia{} \Latin textdexiakeraia | % ʹ - \LGR \textnumeralsigngreek{} \Latin textnumeralsigngreek (Dexia keraia)\\ % ʹ - \LGR \textaristerikeraia{} \Latin textaristerikeraia | % ͵ - \LGR \textnumeralsignlowergreek{} \Latin textnumeralsignlowergreek - (Aristeri keraia)\\ % ͵ -\end{quote} - -\subsection{symbol variants} - -Mathematical notation distinguishes variant shapes for pi ($\pi|\varpi$), -rho ($\rho|\varrho$), theta ($\theta|\vartheta$), beta, and kappa -(characters for the latter two symbols are not included in TeX's math -fonts). These variations have no syntactic meaning in Greek text and are not -given code-points in the LGR encoding. Greek text fonts use the shape -variants interchangeabely. - -\section{Diacritics} - -Capital Greek letters have Greek diacritics (except the dialytika and -sub-iota) to the left (instead of above) and drop them if text is set in -UPPERCASE. This is implemented for all combinations that are used in Greek -texts (i.e. for which pre-composed Unicode character exist), but not for, -e.g., \LGR\~W\Latin). - -% When a word is written entirely in capital letters, diacritics are -% never used; the word Ἢ (or), is an exception to this rule because of -% the need to distinguish it from the nominative feminine article Η. - -Different conventions exist for the treatment of the sub-iota with uppercase -letters. The CB-Fonts use a capital Iota ``index'' (\LGR A|, H|, W|\Latin). - -LaTeX standard accents% -\footnote{The ogonek (\emph{little hook}) accent \k{ } (\textbackslash k) -is not defined in LGR.} -(Latin, Greek, Greek Capitals $\mapsto$ UPPERCASE) - -\begin{quote} - \`{a} \'{a} \~{a} \"{a} \^{a} \={a} \H{a} \.{a} \r{a} \u{a} \v{a} - \b{a} \c{a} \d{a} \k{a} - $\mapsto$ \MakeUppercase{% - \`{a} \'{a} \~{a} \"{a} \^{a} \={a} \H{a} \.{a} \r{a} \u{a} \v{a} - \b{a} \c{a} \d{a} \k{a} - } - - \LGR - \`{a} \'{a} \~{a} \"{a} \^{a} \={a} \H{a} \.{a} \r{a} \u{a} \v{a} - \b{a} \c{a} \d{a} - $\mapsto$ \MakeUppercase{% - \`{a} \'{a} \~{a} \"{a} \^{a} \={a} \H{a} \.{a} \r{a} \u{a} \v{a} - \b{a} \c{a} \d{a} - } - - \`{A}\'{A}\~{A}\"{A} \^{A}\={A}\H{A}\.{A}\r{A}\u{A}\v{A} - \b{A} \c{A} \d{A} - $\mapsto$ \MakeUppercase{% - \`{A}\'{A}\~{A}\"{A} \^{A}\={A}\H{A}\.{A}\r{A}\u{A}\v{A} - \b{A} \c{A} \d{A} - } -\end{quote} - -Additional Greek diacritics -(Greek, Greek Capitals% -\footnote{The dialytika is not used on Initial letters.} % (\LGR \"'I \"`I \~"I) -$\mapsto$ UPPERCASE) - -\begin{quote} - \LGR - \<{a} \>{e} \<\`{i} \'"i \`"i \~"i \`\>{h} \'<{o} \'>{o} \~\<{u} \~\>{w} a| - $\mapsto$ \MakeUppercase{% - \<{a} \>{e} \<\`{i} \'"i \`"i \~"i \`\>{h} \'<{o} \'>{o} \~\<{u} \~\>{w} a| - } - - \<{A} \>{E} \<\`{I} \`\>{H} \'<{O} \'>{O} \~\<{U} \~\>{W} A| - $\mapsto$ \MakeUppercase{% - \<{A} \>{E} \<\`{I} \`\>{H} \'<{O} \'>{O} \~\<{U} \~\>{W} A| - } -\end{quote} - -\Latin Input variants and their conversion with MakeUppercase:% - -\begin{quote} -\LGR - -\~>a \>\~a \~\>{a}, \~\~{h} \~>h \>~h \>\~h \~>h \~>h|, \~\~i \~>i, \~\~u \~>u, \~w, \\~w \~>w, \~a \>\~a \~\>{a}, \~\~{h} \~>h \>~h \>\~h \~>h \~>h|, \~\~i \~>i, \~\~u \~>u, \~w, \\~w \~>w, \~{\textepsilon} \"'{\textiota} \`>\texteta{} -\'<{\textomicron} \~<{\textupsilon} \~>{\textomega} -\<{\textAlpha} \>{\textEpsilon} \"{\textIota} \`>\textEta{} -\'<{\textOmicron} \~<{\textUpsilon} \~>{\textOmega}, -\textalpha| \textalpha\ypogegrammeni{} -\\ -\MakeUppercase{% - \<{\textalpha} \>{\textepsilon} \"'{\textiota} \`\>\texteta{} - \'<{\textomicron} \~<{\textupsilon} \~>{\textomega} - \<{\textAlpha} \>{\textEpsilon} \"{\textIota} \`>\textEta{} - \'<{\textOmicron} \~<{\textUpsilon} \~>{\textOmega}, - \textalpha| \textalpha\ypogegrammeni{} -} - - \<'A \<\'A \'A \>\~A \~\>{A}, \~\~{H} \~>H \>\~H \~>H \~>H|, \~\~I \~>I, \~A \>\~A \~\>{A}, \~\~{H} \~>H \>\~H \~>H \~>H|, \~\~I \~>I, \~W, \\~W \~>W, \~W, \\~W \~>W, \~{\textepsilon} \"'{\textiota} \`>\texteta{} -\'<{\textomicron} \~<{\textupsilon} \~>{\textomega} -\<{\textAlpha} \>{\textEpsilon} \"{\textIota} \`>\textEta{} -\'<{\textOmicron} \~<{\textUpsilon} \~>{\textOmega} -\textAlpha| \textAlpha\ypogegrammeni{} \textAlpha\prosgegrammeni{} -\\ -\MakeLowercase{% - \<{\textalpha} \>{\textepsilon} \"'{\textiota} \`\>\texteta{} - \'<{\textomicron} \~<{\textupsilon} \~>{\textomega} - \<{\textAlpha} \>{\textEpsilon} \"{\textIota} \`>\textEta{} - \'<{\textOmicron} \~<{\textUpsilon} \~>{\textOmega} - \textAlpha| \textAlpha\ypogegrammeni{} \textAlpha\prosgegrammeni{} -} - - \<'A \<\'A \'u $\mapsto$ - \LGR \MakeUppercase{\"~i \<~i \"~u \<~u \`>u}\\ - \LGR \"~I \<~I \"~U \<~U \`>U $\mapsto$ - \LGR \MakeLowercase{\"~I \<~I \"~U \<~U \`>U} - - \Latin combined accent with tilde-accent macro:\\ - \LGR \"\~i \~"u $\mapsto$ \MakeUppercase{\"\~i \~"u}\\ - \LGR \"\~I \~"U $\mapsto$ \MakeLowercase{\"\~I \~"U} -\end{quote} - -\Latin -Accents input via the Latin transliteration are not dropped with -MakeUppercase, unless Babel is loaded and the current language is Greek -(because the required local re-definitions of the \texttt{uccode} are done in -\texttt{greek.ldf} from the \emph{babel-greek} package). - -\begin{quote} \LGR - 'a "i `a >a a |: -\begin{quote} - \begin{tabbing} - COL1\quad \= COL2\quad \= COL3\quad \= COL4\quad \\ - COL1 \> \> COL3 \\ - Viele \> Gr\a"u\ss e \> \LGR \a<\textalpha{} \> \LGR \a>\textomega - \end{tabbing} -\end{quote} - - -\Latin Combinations with named accents: -\LGR \accdasia'a \accdasia`a \accdasia\~a. - -\Latin The dialytika must be kept in UPPERCASE, e.\,g. - -\begin{quote} - % from http://diacritics.typo.cz/index.php?id=70 μαΐστρος -> ΜΑΪΣΤΡΟΣ. - \LGR ma\"'istros $\mapsto$ \MakeUppercase{ma\"'istros} - \Latin or % from teubner εὐζωΐα -> ΕΥΖΩΪΑ. - \LGR e\>uzw\'"ia $\mapsto$ \MakeUppercase{e\>uzw\'"ia}. -\end{quote} - -This is implemented for all input variants of diacritics with -dialytika: - -\begin{quote} - \LGR \"i \"'i \"`i \"\~i \"u \"'u \"`u \"\~u $\mapsto$ - \MakeUppercase{\"i \"'i \"`i \"\~i \"u \"'u \"`u \"\~u}, -\end{quote} - -Tonos and dasia mark a \emph{hiatus} (break-up of a diphthong) if -placed on the first vowel of a diphthong ({\LGR \'ai, \'au, \'ei}). A -dialytika must be placed on the second vowel if they are dropped: \LGR -(\MakeUppercase{\'ai, \'au, \'ei}). - -\begin{quote} - % from teubner: άυλος/ΑΫΛΟΣ - \'aulos $\mapsto$ \MakeUppercase{\'aulos}, - \>'aulos $\mapsto$ \MakeUppercase{\>'aulos}, - % from http://diacritics.typo.cz/index.php?id=69 μάινα -> ΜΑΪΝΑ - m\'aina $\mapsto$ \MakeUppercase{m\'aina}, - % from http://de.wikipedia.org/wiki/Neugriechische_Orthographie#Das_Trema - % κέικ, ἀυπνία/αϋπνία - k\'eik, $\mapsto$ \MakeUppercase{k\'eik} - \>aupn\'ia $\mapsto$ \MakeUppercase{\>aupn\'ia} -\end{quote} - -\newpage - -\Latin Test the auto-hiatus feature for side-effects: - -\LGR \MakeUppercase{\'a b} (\Latin must keep space after A). - -Kerning (see the input): -\LGR -\newcommand\md{\textcompwordmark} -\newcommand\MU{\MakeUppercase} - - \md \MU{ AO AY AI AU RA OA UA DU} [ \\ -\<\md \MU{ \\md \MU{ \>AO \>AY \>AI \>AU \>RA \>OA U\>A D\>U} [ \\ -\>'\md\MU{ \>'AO \>'AY \>'AI \>'AU \>'RA \>'OA U\>'A D\>'U} [ \\ -\'\md \MU{ \'AO \'AY \'AI \'AU \'RA \'OA U\'A D\'U} [ \\ -\>`\md\MU{ \>`AO \>`AY \>`AI \>`AU \>`RA \>`OA U\>`A D\>`U} [ \\ -\<'\md\MU{ \<'AO \<'AY \<'AI \<'AU \<'RA \<'OA U\<'A D\<'U} [ \\ -\`\md \MU{ \`AO \`AY \`AI \`AU \`RA \`OA U\`A D\`U} [ \\ -\<`\md\MU{ \<`AO \<`AY \<`AI \<`AU \<`RA \<`OA U\<`A D\<`U} [ \\ -\~\md \MU{ \~AO \~AY \~AI \~AU \~RA \~OA U\~A D\~U} [ \\ -\~>\md\MU{ \~>AO \~>AY \~>AI \~>AU \~>RA \~>OA U\~>A D\~>U} [ \\ -\~<\md\MU{ \~

Drop error font declaration (cf. ltxbugs 4399).

1.0

-

2020/09/25

+

2020-09-25

\textKoppa as alias for \textkoppa (there is no capital Koppa in LGR).

+

2.0

+

2020-10-13

+

Move common alias definitions to greek-fontenc.def.

+
@@ -848,7 +852,7 @@ anyway.

Identification

\ProvidesFile{lgrenc.def}
-[2020/09/25 1.0 LGR Greek font encoding definitions]
+[2020/10/13 2.0 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
@@ -920,8 +924,7 @@ encoding.

\DeclareTextSymbol{\textpi}{LGR}{112} \DeclareTextSymbol{\textrho}{LGR}{114} \DeclareTextCommand{\textsigma}{LGR}{s\noboundary} % σ -\DeclareTextSymbol{\textvarsigma}{LGR}{99} % ς final sigma -\DeclareTextCommand{\textfinalsigma}{LGR}{\textvarsigma} % ς final sigma +\DeclareTextSymbol{\textfinalsigma}{LGR}{99} % ς final sigma \DeclareTextSymbol{\textautosigma}{LGR}{115} % σ (ς at end of word) \DeclareTextSymbol{\texttau}{LGR}{116} \DeclareTextSymbol{\textupsilon}{LGR}{117} @@ -943,13 +946,17 @@ encoding.

Archaic letters
-

Names after teubner and ucs:

+

Names after teubner and ucs.

+

ϟ (capital numeral koppa) not distinct in LGR but required for +\Greeknumeral in babel-greek +(defining as alias command calling \textkoppa leads to an infinte loop +with \MakeUppercase):

\DeclareTextSymbol{\textstigma}{LGR}{6}       % ϛ
 \DeclareTextSymbol{\textvarstigma}{LGR}{7}    % stigma variant (CB.enc, teubner)
-\DeclareTextSymbol{\textkoppa}{LGR}{18}       % ϟ (greek small letter koppa)
-\DeclareTextSymbol{\textKoppa}{LGR}{18}       % ϟ (capital numerical koppa) not distinct in LGR
-\DeclareTextSymbol{\textqoppa}{LGR}{19}       % ϙ (archaic koppa)
-\DeclareTextSymbol{\textQoppa}{LGR}{21}       % Ϙ (archaic Koppa)
+\DeclareTextSymbol{\textKoppa}{LGR}{18}       % Ϟ Greek letter Koppa
+\DeclareTextSymbol{\textkoppa}{LGR}{18}       % ϟ Greek small letter koppa
+\DeclareTextSymbol{\textqoppa}{LGR}{19}       % ϙ archaic koppa
+\DeclareTextSymbol{\textQoppa}{LGR}{21}       % Ϙ archaic Koppa
 \DeclareTextSymbol{\textStigma}{LGR}{22}      % Ϛ in some fonts ϹΤ ligature
 \DeclareTextSymbol{\textSampi}{LGR}{23}       % Ϡ
 \DeclareTextSymbol{\textsampi}{LGR}{27}       % ϡ
@@ -992,15 +999,15 @@ provide fallback LICR macros with detailed error reporting:

Press <return> to proceed (dropping the symbol from the document).} } -\ProvideTextCommand{\textbetasymbol} {LGR}{\LGR@TextSymbolUnavailable{ϐ beta symbol}} -\ProvideTextCommand{\textkappasymbol}{LGR}{\LGR@TextSymbolUnavailable{ϰ kappa symbol}} -\ProvideTextCommand{\textThetasymbol}{LGR}{\LGR@TextSymbolUnavailable{ϴ Theta symbol}} +\ProvideTextCommand{\textbetasymbol} {LGR}{\LGR@TextSymbolUnavailable{beta symbol}} % ϐ +\ProvideTextCommand{\textkappasymbol}{LGR}{\LGR@TextSymbolUnavailable{kappa symbol}} % ϰ +\ProvideTextCommand{\textThetasymbol}{LGR}{\LGR@TextSymbolUnavailable{Theta symbol}} % ϴ -\ProvideTextCommand{\textthetasymbol} {LGR}{\LGR@TextSymbolOnlyMath{ϑ theta symbol}{$\vartheta$}} -\ProvideTextCommand{\textphisymbol} {LGR}{\LGR@TextSymbolOnlyMath{ϕ phi symbol}{$\phi$}} -\ProvideTextCommand{\textpisymbol} {LGR}{\LGR@TextSymbolOnlyMath{ϖ pi symbol}{$\varpi$}} -\ProvideTextCommand{\textrhosymbol} {LGR}{\LGR@TextSymbolOnlyMath{ϱ rho symbol}{$\varrho$}} -\ProvideTextCommand{\textepsilonsymbol}{LGR}{\LGR@TextSymbolOnlyMath{ϵ lunate epsilon symbol}{$\epsilon$}}
+\ProvideTextCommand{\textthetasymbol} {LGR}{\LGR@TextSymbolOnlyMath{theta symbol}{$\vartheta$}} % ϑ +\ProvideTextCommand{\textphisymbol} {LGR}{\LGR@TextSymbolOnlyMath{phi symbol}{$\phi$}} % ϕ +\ProvideTextCommand{\textpisymbol} {LGR}{\LGR@TextSymbolOnlyMath{pi symbol}{$\varpi$}} % ϖ +\ProvideTextCommand{\textrhosymbol} {LGR}{\LGR@TextSymbolOnlyMath{rho symbol}{$\varrho$}} % ϱ +\ProvideTextCommand{\textepsilonsymbol}{LGR}{\LGR@TextSymbolOnlyMath{lunate epsilon symbol}{$\epsilon$}} % ϵ
@@ -1032,6 +1039,11 @@ provide fallback LICR macros with detailed error reporting:

\DeclareTextSymbol{\texteuro}{LGR}{24} % € \euro in greek.ldf \DeclareTextSymbol{\textpercent}{LGR}{37} % % \DeclareTextSymbol{\textperthousand}{LGR}{25} % ‰ \permill in greek.ldf +

The micro sign 00B5 is defined in TS1 (textcomp) and PU (hyperref) +as \textmu. LGR uses \textmu for the similar looking +small Greek letter mu. +The alias \textmicro prints in a micro sign and does not upcase:

+
\DeclareTextSymbol{\textmicro}{LGR}{109}         % µ

T3 (tipa):

\DeclareTextSymbol{\textschwa}{LGR}{26}          % ə

T3 also defines some greek letters as well as Latin characters with Greek diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/puenc-greek.def.html b/Master/texmf-dist/doc/latex/greek-fontenc/puenc-greek.def.html new file mode 100644 index 00000000000..9b9cef6b308 --- /dev/null +++ b/Master/texmf-dist/doc/latex/greek-fontenc/puenc-greek.def.html @@ -0,0 +1,1043 @@ + + + + + +puenc-greek.def + + + + + + +

+

puenc-greek.def

+

Greek LICR definitions for PDF strings (hyperref)

+
+ + +
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{puenc-greek.def}
+[2020/10/18 2.0 Greek LICRs for PDF strings]
+
+
+
+

Abstract

+

Support for Greek LICR macros in PDF bookmarks. Extends puenc.def +from the hyperref package. +Used by babel-greek and textalpha.

+
+
+
History:
+
+++++ + + + + + + +

2.0

2020-10-18

initial version

+
+
+
+

Diacritics

+

Greek alias names for standard accents (without tabacckludge):

+
\DeclareTextCommand{\acctonos}{PU}{\'}
+\DeclareTextCommand{\accvaria}{PU}{\`}
+\DeclareTextCommand{\accdialytika}{PU}{\"}
+

Use combining characters when no pre-composed character is available:

+

Breathings and perispomeni:

+
\DeclareTextCommand{\accpsili}{PU}[1]{#1\83\023} % ψιλή spiritus lenis (smooth breathing)
+\DeclareTextCommand{\accdasia}{PU}[1]{#1\83\024} % δασεῖα spiritus asper (rough breathing)
+\DeclareTextCommand{\accperispomeni}{PU}[1]{#1\83\102} % COMBINING GREEK PERISPOMENI
+

Sub-iota (\ypogegrammeni) is a postfix accent (ligature in LGR)

+
\DeclareTextCommand{\ypogegrammeni}{PU}{\83\105} % COMBINING GREEK YPOGEGRAMMENI
+

Combined diacritics:

+
\DeclareTextCommand{\accdialytikavaria}{PU}[1]{#1\83\010\83\000}
+\DeclareTextCommand{\accdialytikatonos}{PU}[1]{#1\83\010\83\001}
+\DeclareTextCommand{\accdialytikaperispomeni}{PU}[1]{#1\83\102\83\010}
+
+\DeclareTextCommand{\accdasiavaria}{PU}[1]{#1\83\024\83\000}
+\DeclareTextCommand{\accdasiaoxia}{PU}[1]{#1\83\024\83\001}
+\DeclareTextCommand{\accdasiaperispomeni}{PU}[1]{#1\83\024\83\102}
+
+\DeclareTextCommand{\accpsilivaria}{PU}[1]{#1\83\000\83\023}
+\DeclareTextCommand{\accpsilioxia}{PU}[1]{#1\83\001\83\023}
+\DeclareTextCommand{\accpsiliperispomeni}{PU}[1]{#1\83\102\83\023}
+
+
+

Common Definitions

+

Use the common Greek font encoding definitions.

+

Set the \LastDeclaredEncoding to PU and read definitions +from greek-fontenc.def:

+
\renewcommand*{\LastDeclaredEncoding}{PU}
+\input{greek-fontenc.def}
+
+
+

Character Definitions

+
+

Compatibility defs with LGR

+

Basic Latin:

+
\DeclareTextCommand{\textsemicolon}{PU}{;} % "003B
+

Latin 1 Supplement: +Distinguish MICRO SIGN from letter mu:

+
\DeclareTextCommand{\textmicro}{PU}{\83\274} % "00B5 MICRO SIGN
+
+
+

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}{PU}{\83\164} % ʹ \anwtonos, \textnumeralsigngreek
+\DeclareTextCommand{\textaristerikeraia}{PU}{\83\165} % ͵ \katwtonos, \textnumeralsignlowergreek
+% 0376  GREEK CAPITAL LETTER PAMPHYLIAN DIGAMMA    % Ͷ
+% 0377  GREEK SMALL LETTER PAMPHYLIAN DIGAMMA      % ͷ
+

037A GREEK YPOGEGRAMMENI (use textcompwordmarkypogegrammeni) % ͺ +037B GREEK SMALL REVERSED LUNATE SIGMA SYMBOL +037C GREEK SMALL DOTTED LUNATE SIGMA SYMBOL +037D GREEK SMALL REVERSED DOTTED LUNATE SIGMA SYMBOL

+

Erotimatiko: use 003B SEMICOLON, not 037E GREEK QUESTION MARK; dont use the +literal char, as it is active with textalpha’s “keep-semicolon” option:

+
\DeclareTextCommand{\texterotimatiko}{PU}{\80\073}
+
+\DeclareTextCompositeCommand{\'}{PU}{\@empty}{\83\204} % ΄ 0384 GREEK TONOS
+\DeclareTextCompositeCommand{\'}{PU}{\ }{\83\204} % ΄ 0384 GREEK TONOS
+\DeclareTextCompositeCommand{\accdialytikatonos}{PU}{\@empty}{\83\205}
+\DeclareTextCompositeCommand{\accdialytikatonos}{PU}{\ }{\83\205}
+\DeclareTextCompositeCommand{\'}{PU}{\textAlpha}{\83\206} % Ά
+\DeclareTextCommand{\textanoteleia}{PU}{\80\267} % use 00B7 MIDDLE DOT, not 0387 GREEK ANO TELEIA
+\DeclareTextCompositeCommand{\'}{PU}{\textEpsilon}{\83\210} % Έ
+\DeclareTextCompositeCommand{\'}{PU}{\textEta}{\83\211} % Ή
+\DeclareTextCompositeCommand{\'}{PU}{\textIota}{\83\212} % Ί
+\DeclareTextCompositeCommand{\'}{PU}{\textOmicron}{\83\214} % Ό
+\DeclareTextCompositeCommand{\'}{PU}{\textUpsilon}{\83\216} % Ύ
+\DeclareTextCompositeCommand{\'}{PU}{\textOmega}{\83\217} % Ώ
+\DeclareTextCompositeCommand{\accdialytikatonos}{PU}{\textiota}{\83\220} % ΐ
+\DeclareTextCommand{\textAlpha}{PU}{\83\221} % Α "0391
+\DeclareTextCommand{\textBeta}{PU}{\83\222} % Β "0392
+\DeclareTextCommand{\textGamma}{PU}{\83\223} % Γ "0393
+\DeclareTextCommand{\textDelta}{PU}{\83\224} % Δ "0394
+\DeclareTextCommand{\textEpsilon}{PU}{\83\225} % Ε "0395
+\DeclareTextCommand{\textZeta}{PU}{\83\226} % Ζ "0396
+\DeclareTextCommand{\textEta}{PU}{\83\227} % Η "0397
+\DeclareTextCommand{\textTheta}{PU}{\83\230} % Θ "0398
+\DeclareTextCommand{\textIota}{PU}{\83\231} % Ι "0399
+\DeclareTextCommand{\textKappa}{PU}{\83\232} % Κ "039A
+\DeclareTextCommand{\textLambda}{PU}{\83\233} % Λ "039B
+\DeclareTextCommand{\textMu}{PU}{\83\234} % Μ "039C
+\DeclareTextCommand{\textNu}{PU}{\83\235} % Ν "039D
+\DeclareTextCommand{\textXi}{PU}{\83\236} % Ξ "039E
+\DeclareTextCommand{\textOmicron}{PU}{\83\237} % Ο "039F
+\DeclareTextCommand{\textPi}{PU}{\83\240} % Π "03A0
+\DeclareTextCommand{\textRho}{PU}{\83\241} % Ρ "03A1
+\DeclareTextCommand{\textSigma}{PU}{\83\243} % Σ "03A3
+\DeclareTextCommand{\textTau}{PU}{\83\244} % Τ "03A4
+\DeclareTextCommand{\textUpsilon}{PU}{\83\245} % Υ "03A5
+\DeclareTextCommand{\textPhi}{PU}{\83\246} % Φ "03A6
+\DeclareTextCommand{\textChi}{PU}{\83\247} % Χ "03A7
+\DeclareTextCommand{\textPsi}{PU}{\83\250} % Ψ "03A8
+\DeclareTextCommand{\textOmega}{PU}{\83\251} % Ω "03A9
+\DeclareTextCompositeCommand{\"}{PU}{\textIota}{\83\252} % Ϊ "03AA
+\DeclareTextCompositeCommand{\"}{PU}{\textUpsilon}{\83\253} % Ϋ "03AB
+\DeclareTextCompositeCommand{\'}{PU}{\textalpha}{\83\254} % ά "03AC
+\DeclareTextCompositeCommand{\'}{PU}{\textepsilon}{\83\255} % έ "03AD
+\DeclareTextCompositeCommand{\'}{PU}{\texteta}{\83\256} % ή "03AE
+\DeclareTextCompositeCommand{\'}{PU}{\textiota}{\83\257} % ί "03AF
+\DeclareTextCompositeCommand{\accdialytikatonos}{PU}{\textupsilon}{\83\260} % ΰ "03B0
+\DeclareTextCommand{\textalpha}{PU}{\83\261} % α "03B1
+\DeclareTextCommand{\textbeta}{PU}{\83\262} % β "03B2
+\DeclareTextCommand{\textgamma}{PU}{\83\263} % γ "03B3
+\DeclareTextCommand{\textdelta}{PU}{\83\264} % δ "03B4
+\DeclareTextCommand{\textepsilon}{PU}{\83\265} % ε "03B5
+\DeclareTextCommand{\textzeta}{PU}{\83\266} % ζ "03B6
+\DeclareTextCommand{\texteta}{PU}{\83\267} % η "03B7
+\DeclareTextCommand{\texttheta}{PU}{\83\270} % θ "03B8
+\DeclareTextCommand{\textiota}{PU}{\83\271} % ι "03B9
+\DeclareTextCommand{\textkappa}{PU}{\83\272} % κ "03BA
+\DeclareTextCommand{\textlambda}{PU}{\83\273} % λ "03BB
+\DeclareTextCommand{\textmu}{PU}{\83\274} % μ "03BC \textmugreek
+\DeclareTextCommand{\textnu}{PU}{\83\275} % ν "03BD
+\DeclareTextCommand{\textxi}{PU}{\83\276} % ξ "03BE
+\DeclareTextCommand{\textomicron}{PU}{\83\277} % ο "03BF
+\DeclareTextCommand{\textpi}{PU}{\83\300} % π "03C0
+\DeclareTextCommand{\textrho}{PU}{\83\301} % ρ "03C1
+\DeclareTextCommand{\textfinalsigma}{PU}{\83\302} % ς "03C2 final sigma
+\DeclareTextCommand{\textsigma}{PU}{\83\303} % σ "03C3
+\DeclareTextCommand{\texttau}{PU}{\83\304} % τ "03C4
+\DeclareTextCommand{\textupsilon}{PU}{\83\305} % υ "03C5
+\DeclareTextCommand{\textphi}{PU}{\83\306} % φ "03C6
+\DeclareTextCommand{\textchi}{PU}{\83\307} % χ "03C7
+\DeclareTextCommand{\textpsi}{PU}{\83\310} % ψ "03C8
+\DeclareTextCommand{\textomega}{PU}{\83\311} % ω "03C9
+
+\DeclareTextCompositeCommand{\"}{PU}{\textiota}{\83\312}% ϊ "03CA
+\DeclareTextCompositeCommand{\"}{PU}{\textupsilon}{\83\313}% ϋ "03CB
+\DeclareTextCompositeCommand{\'}{PU}{\textomicron}{\83\314}% ό "03CC
+\DeclareTextCompositeCommand{\'}{PU}{\textupsilon}{\83\315}% ύ "03CD
+\DeclareTextCompositeCommand{\'}{PU}{\textomega}{\83\316}% ώ "03CE
+

Archaic letters (still used in Greek numerals) +and symbol variants:

+
\DeclareTextCommand{\textbetasymbol}{PU}{\83\320} % ϐ "03D0
+\DeclareTextCommand{\textthetasymbol}{PU}{\83\321} % ϑ "03D1
+
+\DeclareTextCommand{\textphisymbol}{PU}{\83\325} % ϕ "03D5
+\DeclareTextCommand{\textpisymbol}{PU}{\83\326} % ϖ "03D6
+
+\DeclareTextCommand{\textQoppa}{PU}{\83\330} % Ϙ "03D8
+\DeclareTextCommand{\textqoppa}{PU}{\83\331} % ϙ "03D9
+\DeclareTextCommand{\textStigma}{PU}{\83\332} % Ϛ "03DA
+\DeclareTextCommand{\textstigma}{PU}{\83\333} % ϛ "03DB
+\DeclareTextCommand{\textDigamma}{PU}{\83\334} % Ϝ "03DC
+\DeclareTextCommand{\textdigamma}{PU}{\83\335} % ϝ "03DD
+\DeclareTextCommand{\textKoppa}{PU}{\83\336} % Ϟ "03DE in LGR identic to \textkoppa
+\DeclareTextCommand{\textkoppa}{PU}{\83\337} % ϟ "03DF \koppa, \textqoppa [sic!]
+\DeclareTextCommand{\textSampi}{PU}{\83\340} % Ϡ "03E0
+\DeclareTextCommand{\textsampi}{PU}{\83\341} % ϡ "03E1
+
+\DeclareTextCommand{\textkappasymbol}{PU}{\83\360} % ϰ "03F0
+\DeclareTextCommand{\textrhosymbol}{PU}{\83\361} % ϱ "03F1
+
+\DeclareTextCommand{\textThetasymbol}{PU}{\83\364} % ϴ "03F4
+\DeclareTextCommand{\textepsilonsymbol}{PU}{\83\365} % ϵ "03F5
+

Dummy definition (textautosigma is lowercase of textSigma) +TODO: implement autosigma for PU and TU:

+
\ProvideTextCommand{\textautosigma}{PU}{\textsigma}
+
+
+

Greek Extended

+

We skip definitions for characters “… WITH OXIA”, because they would +overwrite the defintions for “… WITH TONOS” in the Greek and Coptic +block.

+
\DeclareTextCompositeCommand{\accpsili}{PU}{\textalpha}{\9037\000} % ἀ
+\DeclareTextCompositeCommand{\accdasia}{PU}{\textalpha}{\9037\001} % ἁ
+\DeclareTextCompositeCommand{\accpsilivaria}{PU}{\textalpha}{\9037\002} % ἂ
+\DeclareTextCompositeCommand{\accdasiavaria}{PU}{\textalpha}{\9037\003} % ἃ
+\DeclareTextCompositeCommand{\accpsilioxia}{PU}{\textalpha}{\9037\004} % ἄ
+\DeclareTextCompositeCommand{\accdasiaoxia}{PU}{\textalpha}{\9037\005} % ἅ
+\DeclareTextCompositeCommand{\accpsiliperispomeni}{PU}{\textalpha}{\9037\006} % ἆ
+\DeclareTextCompositeCommand{\accdasiaperispomeni}{PU}{\textalpha}{\9037\007} % ἇ
+\DeclareTextCompositeCommand{\accpsili}{PU}{\textAlpha}{\9037\010} % Ἀ
+\DeclareTextCompositeCommand{\accdasia}{PU}{\textAlpha}{\9037\011} % Ἁ
+\DeclareTextCompositeCommand{\accpsilivaria}{PU}{\textAlpha}{\9037\012} % Ἂ
+\DeclareTextCompositeCommand{\accdasiavaria}{PU}{\textAlpha}{\9037\013} % Ἃ
+\DeclareTextCompositeCommand{\accpsilioxia}{PU}{\textAlpha}{\9037\014} % Ἄ
+\DeclareTextCompositeCommand{\accdasiaoxia}{PU}{\textAlpha}{\9037\015} % Ἅ
+\DeclareTextCompositeCommand{\accpsiliperispomeni}{PU}{\textAlpha}{\9037\016} % Ἆ
+\DeclareTextCompositeCommand{\accdasiaperispomeni}{PU}{\textAlpha}{\9037\017} % Ἇ
+
+\DeclareTextCompositeCommand{\accpsili}{PU}{\textepsilon}{\9037\020} % ἐ
+\DeclareTextCompositeCommand{\accdasia}{PU}{\textepsilon}{\9037\021} % ἑ
+\DeclareTextCompositeCommand{\accpsilivaria}{PU}{\textepsilon}{\9037\022} % ἒ
+\DeclareTextCompositeCommand{\accdasiavaria}{PU}{\textepsilon}{\9037\023} % ἓ
+\DeclareTextCompositeCommand{\accpsilioxia}{PU}{\textepsilon}{\9037\024} % ἔ
+\DeclareTextCompositeCommand{\accdasiaoxia}{PU}{\textepsilon}{\9037\025} % ἕ
+\DeclareTextCompositeCommand{\accpsili}{PU}{\textEpsilon}{\9037\030} % Ἐ
+\DeclareTextCompositeCommand{\accdasia}{PU}{\textEpsilon}{\9037\031} % Ἑ
+\DeclareTextCompositeCommand{\accpsilivaria}{PU}{\textEpsilon}{\9037\032} % Ἒ
+\DeclareTextCompositeCommand{\accdasiavaria}{PU}{\textEpsilon}{\9037\033} % Ἓ
+\DeclareTextCompositeCommand{\accpsilioxia}{PU}{\textEpsilon}{\9037\034} % Ἔ
+\DeclareTextCompositeCommand{\accdasiaoxia}{PU}{\textEpsilon}{\9037\035} % Ἕ
+
+\DeclareTextCompositeCommand{\accpsili}{PU}{\texteta}{\9037\040} % ἠ
+\DeclareTextCompositeCommand{\accdasia}{PU}{\texteta}{\9037\041} % ἡ
+\DeclareTextCompositeCommand{\accpsilivaria}{PU}{\texteta}{\9037\042} % ἢ
+\DeclareTextCompositeCommand{\accdasiavaria}{PU}{\texteta}{\9037\043} % ἣ
+\DeclareTextCompositeCommand{\accpsilioxia}{PU}{\texteta}{\9037\044} % ἤ
+\DeclareTextCompositeCommand{\accdasiaoxia}{PU}{\texteta}{\9037\045} % ἥ
+\DeclareTextCompositeCommand{\accpsiliperispomeni}{PU}{\texteta}{\9037\046} % ἦ
+\DeclareTextCompositeCommand{\accdasiaperispomeni}{PU}{\texteta}{\9037\047} % ἧ
+\DeclareTextCompositeCommand{\accpsili}{PU}{\textEta}{\9037\050} % Ἠ
+\DeclareTextCompositeCommand{\accdasia}{PU}{\textEta}{\9037\051} % Ἡ
+\DeclareTextCompositeCommand{\accpsilivaria}{PU}{\textEta}{\9037\052} % Ἢ
+\DeclareTextCompositeCommand{\accdasiavaria}{PU}{\textEta}{\9037\053} % Ἣ
+\DeclareTextCompositeCommand{\accpsilioxia}{PU}{\textEta}{\9037\054} % Ἤ
+\DeclareTextCompositeCommand{\accdasiaoxia}{PU}{\textEta}{\9037\055} % Ἥ
+\DeclareTextCompositeCommand{\accpsiliperispomeni}{PU}{\textEta}{\9037\056} % Ἦ
+\DeclareTextCompositeCommand{\accdasiaperispomeni}{PU}{\textEta}{\9037\057} % Ἧ
+
+\DeclareTextCompositeCommand{\accpsili}{PU}{\textiota}{\9037\060} % ἰ
+\DeclareTextCompositeCommand{\accdasia}{PU}{\textiota}{\9037\061} % ἱ
+\DeclareTextCompositeCommand{\accpsilivaria}{PU}{\textiota}{\9037\062} % ἲ
+\DeclareTextCompositeCommand{\accdasiavaria}{PU}{\textiota}{\9037\063} % ἳ
+\DeclareTextCompositeCommand{\accpsilioxia}{PU}{\textiota}{\9037\064} % ἴ
+\DeclareTextCompositeCommand{\accdasiaoxia}{PU}{\textiota}{\9037\065} % ἵ
+\DeclareTextCompositeCommand{\accpsiliperispomeni}{PU}{\textiota}{\9037\066} % ἶ
+\DeclareTextCompositeCommand{\accdasiaperispomeni}{PU}{\textiota}{\9037\067} % ἷ
+\DeclareTextCompositeCommand{\accpsili}{PU}{\textIota}{\9037\070} % Ἰ
+\DeclareTextCompositeCommand{\accdasia}{PU}{\textIota}{\9037\071} % Ἱ
+\DeclareTextCompositeCommand{\accpsilivaria}{PU}{\textIota}{\9037\072} % Ἲ
+\DeclareTextCompositeCommand{\accdasiavaria}{PU}{\textIota}{\9037\073} % Ἳ
+\DeclareTextCompositeCommand{\accpsilioxia}{PU}{\textIota}{\9037\074} % Ἴ
+\DeclareTextCompositeCommand{\accdasiaoxia}{PU}{\textIota}{\9037\075} % Ἵ
+\DeclareTextCompositeCommand{\accpsiliperispomeni}{PU}{\textIota}{\9037\076} % Ἶ
+\DeclareTextCompositeCommand{\accdasiaperispomeni}{PU}{\textIota}{\9037\077} % Ἷ
+
+\DeclareTextCompositeCommand{\accpsili}{PU}{\textomicron}{\9037\100} % ὀ
+\DeclareTextCompositeCommand{\accdasia}{PU}{\textomicron}{\9037\101} % ὁ
+\DeclareTextCompositeCommand{\accpsilivaria}{PU}{\textomicron}{\9037\102} % ὂ
+\DeclareTextCompositeCommand{\accdasiavaria}{PU}{\textomicron}{\9037\103} % ὃ
+\DeclareTextCompositeCommand{\accpsilioxia}{PU}{\textomicron}{\9037\104} % ὄ
+\DeclareTextCompositeCommand{\accdasiaoxia}{PU}{\textomicron}{\9037\105} % ὅ
+\DeclareTextCompositeCommand{\accpsili}{PU}{\textOmicron}{\9037\110} % Ὀ
+\DeclareTextCompositeCommand{\accdasia}{PU}{\textOmicron}{\9037\111} % Ὁ
+\DeclareTextCompositeCommand{\accpsilivaria}{PU}{\textOmicron}{\9037\112} % Ὂ
+\DeclareTextCompositeCommand{\accdasiavaria}{PU}{\textOmicron}{\9037\113} % Ὃ
+\DeclareTextCompositeCommand{\accpsilioxia}{PU}{\textOmicron}{\9037\114} % Ὄ
+\DeclareTextCompositeCommand{\accdasiaoxia}{PU}{\textOmicron}{\9037\115} % Ὅ
+
+\DeclareTextCompositeCommand{\accpsili}{PU}{\textupsilon}{\9037\120} % ὐ
+\DeclareTextCompositeCommand{\accdasia}{PU}{\textupsilon}{\9037\121} % ὑ
+\DeclareTextCompositeCommand{\accpsilivaria}{PU}{\textupsilon}{\9037\122} % ὒ
+\DeclareTextCompositeCommand{\accdasiavaria}{PU}{\textupsilon}{\9037\123} % ὓ
+\DeclareTextCompositeCommand{\accpsilioxia}{PU}{\textupsilon}{\9037\124} % ὔ
+\DeclareTextCompositeCommand{\accdasiaoxia}{PU}{\textupsilon}{\9037\125} % ὕ
+\DeclareTextCompositeCommand{\accpsiliperispomeni}{PU}{\textupsilon}{\9037\126} % ὖ
+\DeclareTextCompositeCommand{\accdasiaperispomeni}{PU}{\textupsilon}{\9037\127} % ὗ
+\DeclareTextCompositeCommand{\accdasia}{PU}{\textUpsilon}{\9037\131} % Ὑ
+\DeclareTextCompositeCommand{\accdasiavaria}{PU}{\textUpsilon}{\9037\133} % Ὓ
+\DeclareTextCompositeCommand{\accdasiaoxia}{PU}{\textUpsilon}{\9037\135} % Ὕ
+\DeclareTextCompositeCommand{\accdasiaperispomeni}{PU}{\textUpsilon}{\9037\137} % Ὗ
+
+\DeclareTextCompositeCommand{\accpsili}{PU}{\textomega}{\9037\140} % ὠ
+\DeclareTextCompositeCommand{\accdasia}{PU}{\textomega}{\9037\141} % ὡ
+\DeclareTextCompositeCommand{\accpsilivaria}{PU}{\textomega}{\9037\142} % ὢ
+\DeclareTextCompositeCommand{\accdasiavaria}{PU}{\textomega}{\9037\143} % ὣ
+\DeclareTextCompositeCommand{\accpsilioxia}{PU}{\textomega}{\9037\144} % ὤ
+\DeclareTextCompositeCommand{\accdasiaoxia}{PU}{\textomega}{\9037\145} % ὥ
+\DeclareTextCompositeCommand{\accpsiliperispomeni}{PU}{\textomega}{\9037\146} % ὦ
+\DeclareTextCompositeCommand{\accdasiaperispomeni}{PU}{\textomega}{\9037\147} % ὧ
+\DeclareTextCompositeCommand{\accpsili}{PU}{\textOmega}{\9037\150} % Ὠ
+\DeclareTextCompositeCommand{\accdasia}{PU}{\textOmega}{\9037\151} % Ὡ
+\DeclareTextCompositeCommand{\accpsilivaria}{PU}{\textOmega}{\9037\152} % Ὢ
+\DeclareTextCompositeCommand{\accdasiavaria}{PU}{\textOmega}{\9037\153} % Ὣ
+\DeclareTextCompositeCommand{\accpsilioxia}{PU}{\textOmega}{\9037\154} % Ὤ
+\DeclareTextCompositeCommand{\accdasiaoxia}{PU}{\textOmega}{\9037\155} % Ὥ
+\DeclareTextCompositeCommand{\accpsiliperispomeni}{PU}{\textOmega}{\9037\156} % Ὦ
+\DeclareTextCompositeCommand{\accdasiaperispomeni}{PU}{\textOmega}{\9037\157} % Ὧ
+
+\DeclareTextCompositeCommand{\`}{PU}{\textalpha}{\9037\160} % ὰ
+\DeclareTextCompositeCommand{\`}{PU}{\textepsilon}{\9037\162} % ὲ
+\DeclareTextCompositeCommand{\`}{PU}{\texteta}{\9037\164} % ὴ
+\DeclareTextCompositeCommand{\`}{PU}{\textiota}{\9037\166} % ὶ
+\DeclareTextCompositeCommand{\`}{PU}{\textomicron}{\9037\170} % ὸ
+\DeclareTextCompositeCommand{\`}{PU}{\textupsilon}{\9037\172} % ὺ
+\DeclareTextCompositeCommand{\`}{PU}{\textomega}{\9037\174} % ὼ
+
+\DeclareTextCompositeCommand{\u}{PU}{\textalpha}{\9037\260} % ᾰ
+\DeclareTextCompositeCommand{\=}{PU}{\textalpha}{\9037\261} % ᾱ
+% ᾲ
+% ᾳ
+% ᾴ
+\DeclareTextCompositeCommand{\~}{PU}{\textalpha}{\9037\266} % ᾶ
+\DeclareTextCompositeCommand{\accperispomeni}{PU}{\textalpha}{\9037\267} % ᾶ
+% ᾷ
+\DeclareTextCompositeCommand{\u}{PU}{\textAlpha}{\9037\270} % Ᾰ
+\DeclareTextCompositeCommand{\=}{PU}{\textAlpha}{\9037\271} % Ᾱ
+\DeclareTextCompositeCommand{\`}{PU}{\textAlpha}{\9037\272} % Ὰ
+% Ά
+% ᾼ
+\DeclareTextCompositeCommand{\accpsili}{PU}{\@empty}{\9037\275} % ᾽
+\DeclareTextCompositeCommand{\accpsili}{PU}{\ }{\9037\275} % ᾽
+\DeclareTextCommand{\prosgegrammeni}{PU}{\9037\276} % ι
+\DeclareTextCompositeCommand{\accpsili}{PU}{\@empty}{\9037\277} % ᾿
+\DeclareTextCompositeCommand{\accpsili}{PU}{\ }{\9037\277} % ᾿
+
+\DeclareTextCompositeCommand{\accperispomeni}{PU}{\@empty}{\9037\300} % ῀
+\DeclareTextCompositeCommand{\accperispomeni}{PU}{\ }{\9037\300} % ῀
+\DeclareTextCompositeCommand{\accdialytikaperispomeni}{PU}{\@empty}{\9037\301} % ῁
+\DeclareTextCompositeCommand{\accdialytikaperispomeni}{PU}{\ }{\9037\301} % ῁
+% ῂ
+% ῃ
+% ῄ
+\DeclareTextCompositeCommand{\~}{PU}{\texteta}{\9037\307} % ῆ
+\DeclareTextCompositeCommand{\accperispomeni}{PU}{\texteta}{\9037\307} % ῆ
+% ῇ
+\DeclareTextCompositeCommand{\`}{PU}{\textEpsilon}{\9037\310} % Ὲ
+\DeclareTextCompositeCommand{\`}{PU}{\textEta}{\9037\312} % Ὴ
+% ῌ
+\DeclareTextCompositeCommand{\accpsilivaria}{PU}{\@empty}{\9037\315} % ῍
+\DeclareTextCompositeCommand{\accpsilivaria}{PU}{\ }{\9037\315} % ῍
+\DeclareTextCompositeCommand{\accpsilioxia}{PU}{\@empty}{\9037\316} % ῎
+\DeclareTextCompositeCommand{\accpsilioxia}{PU}{\ }{\9037\316} % ῎
+\DeclareTextCompositeCommand{\accpsiliperispomeni}{PU}{\@empty}{\9037\317} % ῏
+\DeclareTextCompositeCommand{\accpsiliperispomeni}{PU}{\ }{\9037\317} % ῏
+
+\DeclareTextCompositeCommand{\u}{PU}{\textiota}{\9037\320} % ῐ
+\DeclareTextCompositeCommand{\=}{PU}{\textiota}{\9037\321} % ῑ
+\DeclareTextCompositeCommand{\accdialytikavaria}{PU}{\textiota}{\9037\322} % ῒ
+\DeclareTextCompositeCommand{\accdialytikaoxia}{PU}{\textiota}{\9037\323} % ΐ
+\DeclareTextCompositeCommand{\~}{PU}{\textiota}{\9037\326} % ῖ
+\DeclareTextCompositeCommand{\accperispomeni}{PU}{\textiota}{\9037\326} % ῖ
+\DeclareTextCompositeCommand{\accdialytikaperispomeni}{PU}{\textiota}{\9037\327} % ῗ
+\DeclareTextCompositeCommand{\u}{PU}{\textIota}{\9037\330} % Ῐ
+\DeclareTextCompositeCommand{\=}{PU}{\textIota}{\9037\331} % Ῑ
+\DeclareTextCompositeCommand{\`}{PU}{\textIota}{\9037\332} % Ὶ
+\DeclareTextCompositeCommand{\accdasiavaria}{PU}{\@empty}{\9037\335} % ῝
+\DeclareTextCompositeCommand{\accdasiavaria}{PU}{\ }{\9037\335} % ῝
+\DeclareTextCompositeCommand{\accdasiaoxia}{PU}{\@empty}{\9037\336} % ῞
+\DeclareTextCompositeCommand{\accdasiaoxia}{PU}{\ }{\9037\336} % ῞
+\DeclareTextCompositeCommand{\accdasiaperispomeni}{PU}{\@empty}{\9037\337} % ῟
+\DeclareTextCompositeCommand{\accdasiaperispomeni}{PU}{\ }{\9037\337} % ῟
+
+\DeclareTextCompositeCommand{\u}{PU}{\textupsilon}{\9037\340} % ῠ
+\DeclareTextCompositeCommand{\=}{PU}{\textupsilon}{\9037\341} % ῡ
+\DeclareTextCompositeCommand{\accdialytikavaria}{PU}{\textupsilon}{\9037\342} % ῢ
+\DeclareTextCompositeCommand{\accdialytikaoxia}{PU}{\textupsilon}{\9037\343} % ΰ
+\DeclareTextCompositeCommand{\accpsili}{PU}{\textrho}{\9037\344} % ῤ
+\DeclareTextCompositeCommand{\accdasia}{PU}{\textrho}{\9037\345} % ῥ
+\DeclareTextCompositeCommand{\~}{PU}{\textupsilon}{\9037\346} % ῦ
+\DeclareTextCompositeCommand{\accperispomeni}{PU}{\textupsilon}{\9037\346} % ῦ
+\DeclareTextCompositeCommand{\accdialytikaperispomeni}{PU}{\textupsilon}{\9037\347} % ῧ
+\DeclareTextCompositeCommand{\u}{PU}{\textUpsilon}{\9037\350} % Ῠ
+\DeclareTextCompositeCommand{\=}{PU}{\textUpsilon}{\9037\351} % Ῡ
+\DeclareTextCompositeCommand{\`}{PU}{\textUpsilon}{\9037\352} % Ὺ
+\DeclareTextCompositeCommand{\accdasia}{PU}{\textRho}{\9037\354} % Ῥ
+\DeclareTextCompositeCommand{\accdialytikavaria}{PU}{\@empty}{\9037\355} % ῭
+\DeclareTextCompositeCommand{\accdialytikavaria}{PU}{\ }{\9037\355} % ῭
+\DeclareTextCompositeCommand{\accdialytikaoxia}{PU}{\@empty}{\9037\356} % ΅
+\DeclareTextCompositeCommand{\accdialytikaoxia}{PU}{\ }{\9037\356} % ΅
+% `
+
+% ῲ
+% ῳ
+% ῴ
+\DeclareTextCompositeCommand{\~}{PU}{\textomega}{\9037\366} % ῶ
+\DeclareTextCompositeCommand{\accperispomeni}{PU}{\textomega}{\9037\366} % ῶ
+% ῷ
+\DeclareTextCompositeCommand{\`}{PU}{\textOmicron}{\9037\370} % Ὸ
+\DeclareTextCompositeCommand{\`}{PU}{\textOmega}{\9037\372} % Ὼ
+% ῼ
+\DeclareTextCompositeCommand{\accoxia}{PU}{\@empty}{\9037\375} % ´
+\DeclareTextCompositeCommand{\accoxia}{PU}{\ }{\9037\375} % ´
+\DeclareTextCompositeCommand{\accdasia}{PU}{\@empty}{\9037\376} % ῾
+\DeclareTextCompositeCommand{\accdasia}{PU}{\ }{\9037\376} % ῾
+
+
+

Letterlike Symbols

+
\DeclareTextCommand{\textohm}{PU}{\83\251} % "03A9 OHM SIGN, use 03A9 Omega
+
+
+

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}{PU}{𐅄}    % "10144 GREEK ACROPHONIC ATTIC FIFTY
+\DeclareTextCommand{\textpentehekaton}{PU}{𐅅} % "10145 GREEK ACROPHONIC ATTIC FIVE HUNDRED
+\DeclareTextCommand{\textpenteqilioi}{PU}{𐅆}  % "10146 GREEK ACROPHONIC ATTIC FIVE THOUSAND
+\DeclareTextCommand{\textpentemuria}{PU}{𐅇}   % "10147 GREEK ACROPHONIC ATTIC FIFTY THOUSAND
+ +
+
+
+ + diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/test-inputenc.pdf b/Master/texmf-dist/doc/latex/greek-fontenc/test-inputenc.pdf new file mode 100644 index 00000000000..ab04aa6c891 Binary files /dev/null and b/Master/texmf-dist/doc/latex/greek-fontenc/test-inputenc.pdf differ diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/test-inputenc.tex b/Master/texmf-dist/doc/latex/greek-fontenc/test-inputenc.tex new file mode 100644 index 00000000000..7242256de8d --- /dev/null +++ b/Master/texmf-dist/doc/latex/greek-fontenc/test-inputenc.tex @@ -0,0 +1,674 @@ +\documentclass[a4paper]{article} +% \usepackage{textcomp} +\usepackage[unicode,colorlinks=true,linkcolor=blue]{hyperref} +% \usepackage{bookmark} +% \usepackage{parskip} +\usepackage{amssymb} + +% This file uses only ASCII input but we test the result of "inputenc" on +% the Greek font setup for TU and PU: + +% test with different input encoding (before Greek font setup) +\usepackage[latin1]{luainputenc} +% -> errors with LuaTeX: +% ! Missing \endcsname inserted. +% +% \pm +% l.118 ...and{\~}{\UnicodeEncodingName}{α}{ᾶ} +% ... + + +\ifdefined \UnicodeEncodingName % set by LaTeX for Unicode-aware engines + % Unicode font setup: + \usepackage{fontspec} + % \setmainfont{DejaVu Serif} # no YPOGEGRAMMENI + % \setsansfont{DejaVu Sans} + % \setmainfont{cmunrm.otf} % CMU Serif % many missing characters :( + % \setmainfont{FreeSerif} + \setmainfont{Linux Libertine O} + \setsansfont{Linux Biolinum O} +\else + \usepackage[LGR,T1]{fontenc} + \usepackage{lmodern} +\fi + +% Declare the font encoding and Greek LICR definitions: +% \makeatletter +% \input{puenc-greek.def} +% \makeatother +\usepackage[normalize-symbols]{textalpha} + + +\ProvideTextCommandDefault{\textvarpi}{missing} +\ProvideTextCommandDefault{\textvarrho}{missing} +\ProvideTextCommandDefault{\textvartheta}{missing} +\ProvideTextCommandDefault{\textvarTheta}{missing} +\ProvideTextCommandDefault{\textvarepsilon}{missing} +\ProvideTextCommandDefault{\textvarphi}{missing} +\ProvideTextCommandDefault{\textvarbeta}{missing} +\ProvideTextCommandDefault{\textvarkappa}{missing} +\DeclareTextSymbolDefault{\textschwa}{LGR} + +\ProvideTextCommandDefault{\textmicro}{\textmu} + +% test with different input encoding (after Greek font setup) +% \usepackage[latin1]{luainputenc} + +\begin{document} + +% place the hypersetup after the document start if extra Greek +% characters are required: +\hypersetup{pdfauthor=\textTau\'<\textepsilon\textsigma\textthetasymbol} + +\title{Test font setup for Greek with inputenc/luainputenc} +\author{G\"unter Milde} +\date{2020/10/30} +\maketitle + +\tableofcontents + + +\section{LICR input% + \label{licr}} + +The LaTeX internal character representation (LICR) is a verbose, +fail-safe 7-bit ASCII encoding that can be used unaltered under both, 8-bit +TeX and XeTeX/LuaTeX. Use cases are macro definitions and generated text. + +See the source of this document, +\texttt{test-inputenc.tex} for the input used +in the examples below. + + +\subsection{Greek alphabet} + +Greek letters via LICR macros: +\begin{quote} + \textAlpha{} \textBeta{} \textGamma{} \textDelta{} \textEpsilon{} + \textZeta{} \textEta{} \textTheta{} \textIota{} \textKappa{} + \textLambda{} \textMu{} \textNu{} \textXi{} \textOmicron{} \textPi{} + \textRho{} \textSigma{} \textTau{} \textUpsilon{} \textPhi{} + \textChi{} \textPsi{} \textOmega{} + + \textalpha{} \textbeta{} \textgamma{} \textdelta{} \textepsilon{} + \textzeta{} \texteta{} \texttheta{} \textiota{} \textkappa{} + \textlambda{} \textmu{} \textnu{} \textxi{} \textomicron{} \textpi{} + \textrho{} \textsigma{} \texttau{} \textupsilon{} + \textphi{} \textchi{} \textpsi{} \textomega{} +\end{quote} +The small sigma is set with a different +glyph if it ends a word: +\begin{quote} + \textsigma{} \verb|textsigma|\\ + \textfinalsigma{} \verb|textfinalsigma| or \verb|textvarsigma| +\end{quote} +The \verb|\textautosigma| macro, which automatically chooses the +glyph according to the position, is not implemented for Unicode fonts. + +\subsection{Diacritics} + +Greek accents are +tonos = oxia, varia, psili, dasia, dialytika, and perispomeni. + +Greek diacritics can be input by named macro or symbol macro: +\begin{quote} + \acctonos\textalpha \'\textalpha{} \acctonos x\'x + \accvaria\textalpha \`\textalpha{} \accvaria x\`x + \accdialytika\textiota{} \"\textiota{} \accdialytika x\"x + \accperispomeni\textalpha \~\textalpha{} \accperispomeni x\~x + \accpsili\textalpha \>\textalpha{} \accpsili x\>x + \accdasia\textalpha \<\textalpha{} \accdasia x\\textalpha + \~<\textalpha + \accpsili\textAlpha + \accdasia\textAlpha + \accpsili`\textAlpha + \accdasia`\textAlpha + \accpsili'\textAlpha + \accdasia'\textAlpha + \~>\textAlpha + \~<\textAlpha +}} +\subsection{\ensuregreek{1F10 + \accpsili\textepsilon + \accdasia\textepsilon + \accpsili`\textepsilon + \accdasia`\textepsilon + \accpsili'\textepsilon + \accdasia'\textepsilon + \accpsili\textEpsilon + \accdasia\textEpsilon + \accpsili`\textEpsilon + \accdasia`\textEpsilon + \accpsili'\textEpsilon + \accdasia'\textEpsilon +}} +\subsection{\ensuregreek{1F20 + \accpsili\texteta + \accdasia\texteta + \accpsili`\texteta + \accdasia`\texteta + \accpsili'\texteta + \accdasia'\texteta + \~>\texteta + \~<\texteta + \accpsili\textEta + \accdasia\textEta + \accpsili`\textEta + \accdasia`\textEta + \accpsili'\textEta + \accdasia'\textEta + \~>\textEta + \~<\textEta +}} +\subsection{\ensuregreek{1F30 + \accpsili\textiota + \accdasia\textiota + \accpsili`\textiota + \accdasia`\textiota + \accpsili'\textiota + \accdasia'\textiota + \~>\textiota + \~<\textiota + \accpsili\textIota + \accdasia\textIota + \accpsili`\textIota + \accdasia`\textIota + \accpsili'\textIota + \accdasia'\textIota + \~>\textIota + \~<\textIota +}} +\subsection{\ensuregreek{1F40 + \accpsili\textomicron + \accdasia\textomicron + \accpsili`\textomicron + \accdasia`\textomicron + \accpsili'\textomicron + \accdasia'\textomicron + \accpsili\textOmicron + \accdasia\textOmicron + \accpsili`\textOmicron + \accdasia`\textOmicron + \accpsili'\textOmicron + \accdasia'\textOmicron +}} +\subsection{\ensuregreek{1F50 + \accpsili\textupsilon + \accdasia\textupsilon + \accpsili`\textupsilon + \accdasia`\textupsilon + \accpsili'\textupsilon + \accdasia'\textupsilon + \~>\textupsilon + \~<\textupsilon + \accdasia\textUpsilon + \accdasia`\textUpsilon + \accdasia'\textUpsilon + \~<\textUpsilon +}} +\subsection{\ensuregreek{1F60 + \accpsili\textomega + \accdasia\textomega + \accpsili`\textomega + \accdasia`\textomega + \accpsili'\textomega + \accdasia'\textomega + \~>\textomega + \~<\textomega + \accpsili\textOmega + \accdasia\textOmega + \accpsili`\textOmega + \accdasia`\textOmega + \accpsili'\textOmega + \accdasia'\textOmega + \~>\textOmega + \~<\textOmega +}} +\subsection{\ensuregreek{1F70 + \accvaria\textalpha + \accoxia\textalpha + \accvaria\textepsilon + \accoxia\textepsilon + \accvaria\texteta + \accoxia\texteta + \accvaria\textiota + \accoxia\textiota + \accvaria\textomicron + \accoxia\textomicron + \accvaria\textupsilon + \accoxia\textupsilon + \accvaria\textomega + \accoxia\textomega +}} +\subsection{\ensuregreek{1F80 + \accpsili\textalpha\ypogegrammeni + \accdasia\textalpha\ypogegrammeni + \accpsili`\textalpha\ypogegrammeni + \accdasia`\textalpha\ypogegrammeni + \accpsili'\textalpha\ypogegrammeni + \accdasia'\textalpha\ypogegrammeni + \~>\textalpha\ypogegrammeni + \~<\textalpha\ypogegrammeni + \accpsili\textAlpha\ypogegrammeni + \accdasia\textAlpha\ypogegrammeni + \accpsili`\textAlpha\ypogegrammeni + \accdasia`\textAlpha\ypogegrammeni + \accpsili'\textAlpha\ypogegrammeni + \accdasia'\textAlpha\ypogegrammeni + \~>\textAlpha\ypogegrammeni + \~<\textAlpha\ypogegrammeni +}} +\subsection{\ensuregreek{1F90 + \accpsili\texteta\ypogegrammeni + \accdasia\texteta\ypogegrammeni + \accpsili`\texteta\ypogegrammeni + \accdasia`\texteta\ypogegrammeni + \accpsili'\texteta\ypogegrammeni + \accdasia'\texteta\ypogegrammeni + \~>\texteta\ypogegrammeni + \~<\texteta\ypogegrammeni + \accpsili\textEta\ypogegrammeni + \accdasia\textEta\ypogegrammeni + \accpsili`\textEta\ypogegrammeni + \accdasia`\textEta\ypogegrammeni + \accpsili'\textEta\ypogegrammeni + \accdasia'\textEta\ypogegrammeni + \~>\textEta\ypogegrammeni + \~<\textEta\ypogegrammeni +}} +\subsection{\ensuregreek{1FA0 + \accpsili\textomega\ypogegrammeni + \accdasia\textomega\ypogegrammeni + \accpsili`\textomega\ypogegrammeni + \accdasia`\textomega\ypogegrammeni + \accpsili'\textomega\ypogegrammeni + \accdasia'\textomega\ypogegrammeni + \~>\textomega\ypogegrammeni + \~<\textomega\ypogegrammeni + \accpsili\textOmega\ypogegrammeni + \accdasia\textOmega\ypogegrammeni + \accpsili`\textOmega\ypogegrammeni + \accdasia`\textOmega\ypogegrammeni + \accpsili'\textOmega\ypogegrammeni + \accdasia'\textOmega\ypogegrammeni + \~>\textOmega\ypogegrammeni + \~<\textOmega\ypogegrammeni +}} +\subsection{\ensuregreek{1FB0 + \u\textalpha + \=\textalpha + \accvaria\textalpha\ypogegrammeni + \textalpha\ypogegrammeni + \accoxia\textalpha\ypogegrammeni + \~\textalpha + \~\textalpha\ypogegrammeni + \u\textAlpha + \=\textAlpha + \accvaria\textAlpha + \accoxia\textAlpha + \textAlpha\ypogegrammeni + \accpsili{ } + \prosgegrammeni + \accpsili{ } +}} + +\subsection{\ensuregreek{1FC0 + \accperispomeni{ } + \"\~{ } + \accvaria\texteta\ypogegrammeni + \texteta\ypogegrammeni + \accoxia\texteta\ypogegrammeni + \~\texteta + \~\texteta\ypogegrammeni + \accvaria\textEpsilon + \accoxia\textEpsilon + \accvaria\textEta + \accoxia\textEta + \textEta\ypogegrammeni + \accpsili`{ } + \accpsili'{ } + \~>{ } +}} + +\subsection{\ensuregreek{1FD0 + \u\textiota + \=\textiota + \`"\textiota + \'"\textiota + \~\textiota + \~"\textiota + \u\textIota + \=\textIota + \accvaria\textIota + \accoxia\textIota + \accdasia`{ } + \accpsili'{ } + \~<{ } +}} +\subsection{\ensuregreek{1FE0 + \u\textupsilon + \=\textupsilon + \`"\textupsilon + \'"\textupsilon + \accpsili\textrho + \accdasia\textrho + \~\textupsilon + \~"\textupsilon + \u\textUpsilon + \=\textUpsilon + \accvaria\textUpsilon + \accoxia\textUpsilon + \accdasia\textRho + \`"{ } + \'"{ } + \accvaria{ } +}} +\subsection{\ensuregreek{1FF0 + \accvaria\textomega\ypogegrammeni + \textomega\ypogegrammeni + \accoxia\textomega\ypogegrammeni + \~\textomega + \~\textomega\ypogegrammeni + \accvaria\textOmicron + \accoxia\textOmicron + \accvaria\textOmega + \accoxia\textOmega + \textOmega\ypogegrammeni + \accoxia{ } + \accdasia{ } +}} + + +\end{document} diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/test-lgrenc.pdf b/Master/texmf-dist/doc/latex/greek-fontenc/test-lgrenc.pdf new file mode 100644 index 00000000000..ecb9e81e92a Binary files /dev/null and b/Master/texmf-dist/doc/latex/greek-fontenc/test-lgrenc.pdf differ diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/test-lgrenc.tex b/Master/texmf-dist/doc/latex/greek-fontenc/test-lgrenc.tex new file mode 100644 index 00000000000..1606bfcb6fd --- /dev/null +++ b/Master/texmf-dist/doc/latex/greek-fontenc/test-lgrenc.tex @@ -0,0 +1,648 @@ +\documentclass{article} + +% Test with various LGR-encoded fonts: +\usepackage% +{lmodern} % uses CB Fonts for Greek +% {gfsartemisia} +% {gfsbaskerville} +% [default]{gfsbodoni} +% [default]{gfscomplutum} +% {gfsdidot} +% [default]{gfsneohellenic} +% {lmodern} \usepackage{gfsporson} \renewcommand*\rmdefault{porson} +% [default]{gfssolomos} +% {kerkis} % lacks some chars (\Stigma, \Sampi, double quotes) +% {teubner} +% \renewcommand{\ttdefault}{txtt} + +\usepackage{parskip} +\usepackage{textcomp} + +\usepackage[LGR,T1]{fontenc} + +% Shortcut accent macros \< and \>: +% +% The Symbol macros for the breathings were +% moved to ``textalpha.sty`` to avoid clashes with possible local +% definitions of these macros. +% +% Local definition and setup: +\DeclareTextCommand{\<}{LGR}{\accdasia} +\DeclareTextCommand{\>}{LGR}{\accpsili} +\DeclareTextCompositeCommand{\>}{LGR}{'}{\accpsilioxia} +\DeclareTextCompositeCommand{\>}{LGR}{`}{\accpsilivaria} +\DeclareTextCompositeCommand{\>}{LGR}{~}{\accpsiliperispomeni} +\DeclareTextCompositeCommand{\<}{LGR}{'}{\accdasiaoxia} +\DeclareTextCompositeCommand{\<}{LGR}{`}{\accdasiavaria} +\DeclareTextCompositeCommand{\<}{LGR}{~}{\accdasiaperispomeni} + + +% With XeTeX/LuaTeX, use Unicode for Latin script: +% This is experimental. The general advise is not to mix fontenc and fontspec. +% Problems: +% * Letter µ missing in Latin Modern +% * xunicode makes \nobreakspace font encoding specific -> provide default: +\ifdefined \UnicodeEncodingName % set by LaTeX for Unicode-aware engines + \usepackage{fontspec} +\else + \usepackage[utf8]{inputenc} +\fi +\DeclareTextCommandDefault{\nobreakspace}{\leavevmode\nobreak\ } + +% PDF hyperlinks: +\usepackage[pdfencoding=auto]{hyperref} +\usepackage{bookmark} +\hypersetup{colorlinks=true,linkcolor=blue,urlcolor=blue,pdfencoding=auto} + +% font encoding switch declarations: +\newcommand{\LGR}{\fontencoding{LGR}\selectfont} +\newcommand{\Latin}{\fontencoding{\encodingdefault}\selectfont} + +\newcommand{\cs}[1]{\texttt{\textbackslash#1}} +\newcommand{\cssample}[1]{\LGR\csname#1\endcsname{} \Latin \cs{#1}} + +\begin{document} + +\title{Test LGR font encoding definitions} +\author{Günter Milde} +\date{2020/10/30} +\maketitle + +The file lgrenc.def provides a comprehensive set of macros to typeset Greek +with LGR encoded fonts. It works for both, monotonic and polytonic Greek, +independent of the \emph{Babel} package. + +The example from \texttt{usage.tex} in \emph{babel-greek} input +using the LICR macros: + +\begin{quote} + \LGR + \textTau\'\textiota{} + \textphi\'\texteta\textiota\textfinalsigma\texterotimatiko{} + \<\textIota\textdelta\`\textomega\textnu{} + \>\textepsilon\textnu\texttheta\'\textepsilon\textdelta\textepsilon{} + \textpi\textalpha\~\textiota\textdelta\'\' + \>\textepsilon\textlambda\textepsilon\textupsilon\texttheta\'\textepsilon\textrho\textalpha\textnu\\ + \texttau\`\textalpha\textfinalsigma{} + \textpi\textlambda\texteta\textautosigma\'\textiota\textomicron\textnu{} + \textNu\'\textupsilon\textmu\textphi\textalpha\textfinalsigma{} + \textautosigma\texttau\textepsilon\textphi\textalpha\textnu\textomicron\~\textupsilon\textautosigma\textalpha\textnu{}, + \textSigma\'\textomega\textautosigma\texttau\textrho\textalpha\texttau\textepsilon{},\\ + \>\textepsilon\textrho\~\textomega\textnu{} + \'\textalpha\textpi\~\texteta\textlambda\texttheta\textepsilon\textfinalsigma{} + \textepsilon\>\textupsilon\texttheta\'\textupsilon\textfinalsigma\texterotimatiko{} + +\end{quote} + +\section{Symbols} + +See the source file \href{lgrenc-test.tex}{lgrenc-test.tex} for the macros +used to access the symbols. + +\subsection{Generic text symbols} + +Latin: ++ - = < > -- --- [ () ] +% +\textbraceleft{} +\textbraceright{} +\textbackslash{} +\textbar{} +\textperthousand{} +\textpertenthousand{} +\textvisiblespace{} + +LGR: \LGR ++ - = -- --- [ () ] +\Latin +\begin{quote} + \cssample{textless} \\ + \cssample{textgreater} \\ + \cssample{textbraceleft} \\ + \cssample{textbraceright} \\ + % + \cssample{textbackslash} \\ + \cssample{textbar} \\ + \cssample{textperthousand} (Per-mille symbol is missing in LGR.) \\ + % \textpertenthousand{} + \cssample{textvisiblespace} \\ + +\end{quote} +% +Quotes:\footnote{% + Single quotes need special attention to prevent conversion to accents. + Test the input conventions: + \LGR \textquoteleft{}a\textquoteright{} ``a'' \``a\'' \`\`a\'\' + \Latin but not \LGR `a' 'e' "i"\Latin +} +% +\Latin \guillemotleft{}a\guillemotright{} +\LGR \guillemotleft{}a\guillemotright{}, +% +\Latin \textquoteleft{}a\textquoteright{} +\LGR \textquoteleft{}a\textquoteright{}, +% +\Latin \textquotedblleft{}a\textquotedblright{} +\LGR \textquotedblleft{}a\textquotedblright{} +\Latin (double quotes wrong with Kerkis fonts) + +Single guillemots and base-quotes + (\guilsinglleft{}a\guilsinglright{} + \quotedblbase{}a\textquotedblright{} + \quotesinglbase{}a\textquoteright{}) + are missing in LGR. + +Ligature break up with \verb|\textcompwordmark|: +AY fi \LGR AU "i $\mapsto$ +\Latin A\textcompwordmark Y f\textcompwordmark i +\LGR A\textcompwordmark U "\textcompwordmark i + + +\Latin Spacing accent chars: +% +\Latin \textasciicircum a +\LGR \textasciicircum a \textasciicircum i % using textsym glyph +% +\Latin \textasciitilde a +\LGR \textasciitilde a \textasciitilde i +% +\Latin \textasciibreve a +\LGR \textasciibreve a \textasciibreve i +% +\Latin \textasciimacron a +\LGR \textasciimacron a \textasciimacron i +% +\Latin \textasciidieresis a +\LGR \textasciidieresis a \textasciidieresis i +% +\Latin \textasciiacute a +\LGR \textasciiacute a \textasciiacute i +% +\Latin \textasciigrave a +\LGR \textasciigrave a \textasciigrave i + +\Latin Letter schwa and Euro symbol: % \textschwa (needs e.g. T3) +\cssample{textschwa}, \cssample{texteuro} + + +Some ASCII symbols are replaced by different symbols in LGR encoding +other symbols are composed from Latin letters and show Greek letters in LGR. +\emph{babel-greek} redefines some with \verb|\latintext|, however this +cannot be done in a font encoding definition file. + +Beware that \texttt{"\#\&';<>?@} becomes +\LGR \texttt{"\#\&';<>?@}. +\Latin + +The \emph{textcomp} package provides pre-composed coyright \textcopyright{}, +registered \textregistered{} and trademark \texttrademark{} symbols that +work in all font encodings. +In LGR (% +\ifdefined \textcompsubstdefault + with +\else + without +\fi +textcomp), they come out as: \cssample{textcopyright}, +\cssample{textregistered}, \cssample{texttrademark}. + +\emph{textcomp} also provides the upright MICRO SIGN and OHM SIGN for SI +units: R = 5\,\textmu\textohm + +In LGR, \cs{textmicro} and \cs{textohm} are aliases to \cs{textmu} and +\cs{textOmega} that do not change case: +\LGR Αντίσταση = 5\,\textmu\textohm{}, + \MakeUppercase{αντίσταση = 5\,\textmicro \textohm{}}, + \MakeLowercase{αντίσταση = 5\,\textmicro \textohm{}}. +\Latin + + +\subsection{Greek alphabet} + +Greek letters via Latin transcription and LICR macros: + +\begin{quote} + \LGR + \MakeUppercase{a b g d e z h j i k l m n x o p r s t u f q y w} + + a b g d e z h j i k l m n x o p r sv s t u f q y w + + \textAlpha{} \textBeta{} \textGamma{} \textDelta{} \textEpsilon{} + \textZeta{} \textEta{} \textTheta{} \textIota{} \textKappa{} + \textLambda{} \textMu{} \textNu{} \textXi{} \textOmicron{} \textPi{} + \textRho{} \textSigma{} \textTau{} \textUpsilon{} \textPhi{} + \textChi{} \textPsi{} \textOmega{} + + \textalpha{} \textbeta{} \textgamma{} \textdelta{} \textepsilon{} + \textzeta{} \texteta{} \texttheta{} \textiota{} \textkappa{} + \textlambda{} \textmu{} \textnu{} \textxi{} \textomicron{} \textpi{} + \textrho{} \textsigma{} \textfinalsigma{} \texttau{} \textupsilon{} + \textphi{} \textchi{} \textpsi{} \textomega{} +\end{quote} + +The small sigma is set with a different glyph if it ends a word: + +\begin{quote} + \cssample{textsigma} \\ + \cssample{textfinalsigma} +\end{quote} + +In the Latin transcription, the letter `s' stands for \verb|\textautosigma| +which automatically chooses the glyph according to the position. + +\subsection{additional Greek symbols} + +\begin{quote} + \cssample{textkoppa} (numeral koppa = 90) \\ % ϟ + \cssample{textKoppa} (numeral Koppa = 90)% % Ϟ + \footnote{Modern typographical practice normally does not observe a + contrast between uppercase and lowercase forms for numeric koppa. + % https://en.wikipedia.org/wiki/Koppa_(letter) + In LGR, there is no separate code point for Koppa.} \\ + \cssample{textqoppa} (archaic koppa) \\ % ϙ + \cssample{textQoppa} (archaic Koppa) \\ % Ϙ + \cssample{textstigma} \\ % ϛ + \cssample{textvarstigma} \\ % no separate Unicode character + \cssample{textStigma} (Sigma-Tau-Ligature in CB-fonts)% + \footnote{the name ``stigma'' originally applied to a medieval sigma-tau + ligature, whose shape was confusingly similar to the cursive + digamma} \\ % Ϛ + \cssample{textsampi} \\ % ϡ + \cssample{textSampi} \\ % Ϡ + \cssample{textdigamma} \\ % ϝ (\digamma used by amsmath!) + \cssample{textDigamma} \\ % Ϝ + % numeral signs: http://en.wikipedia.org/wiki/Greek_numerals + \cssample{textdexiakeraia} (Dexia keraia)\\ % ʹ + \cssample{textaristerikeraia} (Aristeri keraia)\\ % ͵ + +\end{quote} + +Up/Downcasing of the additional Symbols from the Greek And Coptic Unicode +block: + +% see test-tuenc-greek.tex +\newcommand{\greekandcoptic}{ +\textnumeralsigngreek{} +\textnumeralsignlowergreek{} +{ }\ypogegrammeni{} +\texterotimatiko{} +\acctonos{ }{} +\"'{ }{} +\'\textAlpha{} +\textanoteleia{} +\'\textEpsilon{} +\'\textEta{} +\'\textIota{} +\'\textOmicron{} +\'\textUpsilon{} +\'\textOmega{} +\'"\textiota{} +\"\textIota{} +\"\textUpsilon{} +\'\textalpha{} +\'\textepsilon{} +\'\texteta{} +\'\textiota{} +\"'\textupsilon{} +\"\textiota{} +\"\textupsilon{} +\'\textomicron{} +\'\textupsilon{} +\'\textomega{} +\textQoppa{} +\textqoppa{} +\textStigma{} +\textstigma{} +\textDigamma{} +\textdigamma{} +\textKoppa{} +\textkoppa{} +\textSampi{} +\textsampi{} +} + +\LGR \greekandcoptic \Latin + +MakeUppercase: \\ +\LGR \MakeUppercase{\greekandcoptic} \Latin + +MakeLowercase: \\ +\LGR \MakeLowercase{\greekandcoptic} \Latin + + +\subsection{aliases} + +Aliases are defined in the included file +\href{greek-fontenc.def.html}{greek-fontenc.def}. + +Names matching mathematical variant symbols: + +\begin{quote} + \cssample{textvarepsilon} = \cssample{textepsilon} \\ % ε + \cssample{textvarphi} = \cssample{textphi} \\ % φ + \cssample{textvarsigma} = \cssample{textfinalsigma} \\ % ς +\end{quote} +Compatibility aliases for hyperref’s puenc.def: +\begin{quote} + \cssample{textmugreek} = \cssample{textmu} \\ + \cssample{textkoppagreek} = \cssample{textkoppa} \\ + \cssample{textKoppagreek} = \cssample{textKoppa} \\ + \cssample{textStigmagreek} = \cssample{textStigma} \\ + \cssample{textstigmagreek} = \cssample{textstigma} \\ + \cssample{textSampigreek} = \cssample{textSampi} \\ + \cssample{textsampigreek} = \cssample{textsampi} \\ + \cssample{textdigammagreek} = \cssample{textdigamma} \\ + \cssample{textDigammagreek} = \cssample{textDigamma} \\ + \cssample{textnumeralsigngreek} = \cssample{textdexiakeraia} \\ + \cssample{textnumeralsignlowergreek} = \cssample{textaristerikeraia} +\end{quote} +Two Unicode code points and names for one character: +\begin{quote} + \cssample{accoxia} = \cssample{acctonos} \\ + \cssample{acckoronis} = \cssample{accpsili} +\end{quote} + +\subsection{symbol variants} + +Mathematical notation distinguishes variant shapes for pi ($\pi|\varpi$), +rho ($\rho|\varrho$), theta ($\theta|\vartheta$), beta, and kappa +(characters for the last two symbols are not included in TeX's standard math +fonts). These variations have no syntactic meaning in Greek text and are not +given code-points in the LGR encoding. Greek text fonts use the shape +variants interchangeabely. + +\section{Diacritics} + +Capital Greek letters have Greek diacritics (except the dialytika and +sub-iota) to the left (instead of above) and drop them if text is set in +UPPERCASE. This is implemented for all combinations that are used in Greek +texts (i.e. for which pre-composed Unicode character exist), but not for, +e.g., \LGR\~W\Latin). + +% When a word is written entirely in capital letters, diacritics are +% never used; the word Ἢ (or), is an exception to this rule because of +% the need to distinguish it from the nominative feminine article Η. + +Different conventions exist for the treatment of the sub-iota with uppercase +letters. The CB-Fonts use a capital Iota ``index'' (\LGR A|, H|, W|\Latin). + +LaTeX standard accents% +\footnote{The ogonek (\emph{little hook}) accent \k{ } (\textbackslash k) +is not defined in LGR.} +(Latin, Greek, Greek Capitals $\mapsto$ UPPERCASE) + +\begin{quote} + \`{a} \'{a} \~{a} \"{a} \^{a} \={a} \H{a} \.{a} \r{a} \u{a} \v{a} + \b{a} \c{a} \d{a} \k{a} + $\mapsto$ \MakeUppercase{% + \`{a} \'{a} \~{a} \"{a} \^{a} \={a} \H{a} \.{a} \r{a} \u{a} \v{a} + \b{a} \c{a} \d{a} \k{a} + } + + \LGR + \`{a} \'{a} \~{a} \"{a} \^{a} \={a} \H{a} \.{a} \r{a} \u{a} \v{a} + \b{a} \c{a} \d{a} + $\mapsto$ \MakeUppercase{% + \`{a} \'{a} \~{a} \"{a} \^{a} \={a} \H{a} \.{a} \r{a} \u{a} \v{a} + \b{a} \c{a} \d{a} + } + + \`{A}\'{A}\~{A}\"{A} \^{A}\={A}\H{A}\.{A}\r{A}\u{A}\v{A} + \b{A} \c{A} \d{A} + $\mapsto$ \MakeUppercase{% + \`{A}\'{A}\~{A}\"{A} \^{A}\={A}\H{A}\.{A}\r{A}\u{A}\v{A} + \b{A} \c{A} \d{A} + } +\end{quote} + +Additional Greek diacritics +(Greek, Greek Capitals% +\footnote{The dialytika is not used on Initial letters.} % (\LGR \"'I \"`I \~"I) +$\mapsto$ UPPERCASE) + +\begin{quote} + \LGR + \<{a} \>{e} \<\`{i} \'"i \`"i \~"i \`\>{h} \'<{o} \'>{o} \~\<{u} \~\>{w} a| + $\mapsto$ \MakeUppercase{% + \<{a} \>{e} \<\`{i} \'"i \`"i \~"i \`\>{h} \'<{o} \'>{o} \~\<{u} \~\>{w} a| + } + + \<{A} \>{E} \<\`{I} \`\>{H} \'<{O} \'>{O} \~\<{U} \~\>{W} A| + $\mapsto$ \MakeUppercase{% + \<{A} \>{E} \<\`{I} \`\>{H} \'<{O} \'>{O} \~\<{U} \~\>{W} A| + } +\end{quote} + +\Latin Input variants and their conversion with MakeUppercase:% + +\begin{quote} +\LGR + +\~>a \>\~a \~\>{a}, \~\~{h} \~>h \>~h \>\~h \~>h \~>h|, \~\~i \~>i, \~\~u \~>u, \~w, \\~w \~>w, \~a \>\~a \~\>{a}, \~\~{h} \~>h \>~h \>\~h \~>h \~>h|, \~\~i \~>i, \~\~u \~>u, \~w, \\~w \~>w, \~{\textepsilon} \"'{\textiota} \`>\texteta{} +\accvaria\accpsili\texteta{} +\'<{\textomicron} \~<{\textupsilon} \~>{\textomega} +\<{\textAlpha} \>{\textEpsilon} \"{\textIota} \`>\textEta{} +\'<{\textOmicron} \~<{\textUpsilon} \~>{\textOmega}, +\textalpha| \textalpha\ypogegrammeni{} +\\ +\MakeUppercase{% + \<{\textalpha} \>{\textepsilon} \"'{\textiota} \`\>\texteta{} + \accvaria\accpsili\texteta{} + \'<{\textomicron} \~<{\textupsilon} \~>{\textomega} + \<{\textAlpha} \>{\textEpsilon} \"{\textIota} \`>\textEta{} + \'<{\textOmicron} \~<{\textUpsilon} \~>{\textOmega}, + \textalpha| \textalpha\ypogegrammeni{} +} + + \<'A \<\'A \'A \>\~A \~\>{A}, \~\~{H} \~>H \>\~H \~>H \~>H|, \~\~I \~>I, \~A \>\~A \~\>{A}, \~\~{H} \~>H \>\~H \~>H \~>H|, \~\~I \~>I, \~W, \\~W \~>W, \~W, \\~W \~>W, \~{\textepsilon} \"'{\textiota} \`>\texteta{} +\'<{\textomicron} \~<{\textupsilon} \~>{\textomega} +\<{\textAlpha} \>{\textEpsilon} \"{\textIota} \`>\textEta{} +\'<{\textOmicron} \~<{\textUpsilon} \~>{\textOmega} +\textAlpha| \textAlpha\ypogegrammeni{} \textAlpha\prosgegrammeni{} +\\ +\MakeLowercase{% + \<{\textalpha} \>{\textepsilon} \"'{\textiota} \`\>\texteta{} + \'<{\textomicron} \~<{\textupsilon} \~>{\textomega} + \<{\textAlpha} \>{\textEpsilon} \"{\textIota} \`>\textEta{} + \'<{\textOmicron} \~<{\textUpsilon} \~>{\textOmega} + \textAlpha| \textAlpha\ypogegrammeni{} \textAlpha\prosgegrammeni{} +} + + \<'A \<\'A \'u $\mapsto$ + \LGR \MakeUppercase{\"~i \<~i \"~u \<~u \`>u}\\ + \LGR \"~I \<~I \"~U \<~U \`>U $\mapsto$ + \LGR \MakeLowercase{\"~I \<~I \"~U \<~U \`>U} + + \Latin combined accent with tilde-accent macro:\\ + \LGR \"\~i \~"u $\mapsto$ \MakeUppercase{\"\~i \~"u}\\ + \LGR \"\~I \~"U $\mapsto$ \MakeLowercase{\"\~I \~"U} +\end{quote} + +\Latin +Accents input via the Latin transliteration are not dropped with +MakeUppercase, unless Babel is loaded and the current language is Greek +(because the required local re-definitions of the \texttt{uccode} are done in +\texttt{greek.ldf} from the \emph{babel-greek} package). + +\begin{quote} \LGR + 'a "i `a >a a |: +\begin{quote} + \begin{tabbing} + COL1\quad \= COL2\quad \= COL3\quad \= COL4\quad \\ + COL1 \> \> COL3 \\ + Viele \> Gr\a"u\ss e \> \LGR \a<\textalpha{} \> \LGR \a>\textomega + \end{tabbing} +\end{quote} + + +\Latin Combinations with named accents: +\LGR \accdasia'a \accdasia`a \accdasia\~a. + +\Latin The dialytika must be kept in UPPERCASE, e.\,g. + +\begin{quote} + % from http://diacritics.typo.cz/index.php?id=70 μαΐστρος -> ΜΑΪΣΤΡΟΣ. + \LGR ma\"'istros $\mapsto$ \MakeUppercase{ma\"'istros} + \Latin or % from teubner εὐζωΐα -> ΕΥΖΩΪΑ. + \LGR e\>uzw\'"ia $\mapsto$ \MakeUppercase{e\>uzw\'"ia}. +\end{quote} + +This is implemented for all input variants of diacritics with +dialytika: + +\begin{quote} + \LGR \"i \"'i \"`i \"\~i \"u \"'u \"`u \"\~u $\mapsto$ + \MakeUppercase{\"i \"'i \"`i \"\~i \"u \"'u \"`u \"\~u}, +\end{quote} + +Tonos and dasia mark a \emph{hiatus} (break-up of a diphthong) if +placed on the first vowel of a diphthong ({\LGR \'ai, \'au, \'ei}). A +dialytika must be placed on the second vowel if they are dropped: \LGR +(\MakeUppercase{\'ai, \'au, \'ei}). + +\begin{quote} + % from teubner: άυλος/ΑΫΛΟΣ + \'aulos $\mapsto$ \MakeUppercase{\'aulos}, + \>'aulos $\mapsto$ \MakeUppercase{\>'aulos}, + % from http://diacritics.typo.cz/index.php?id=69 μάινα -> ΜΑΪΝΑ + m\'aina $\mapsto$ \MakeUppercase{m\'aina}, + % from http://de.wikipedia.org/wiki/Neugriechische_Orthographie#Das_Trema + % κέικ, ἀυπνία/αϋπνία + k\'eik, $\mapsto$ \MakeUppercase{k\'eik} + \>aupn\'ia $\mapsto$ \MakeUppercase{\>aupn\'ia} +\end{quote} + +\newpage + +\Latin Test the auto-hiatus feature for side-effects: + +\LGR \MakeUppercase{\'a b} (\Latin must keep space after A). + +Kerning (see the input): +\LGR +\newcommand\md{\textcompwordmark} +\newcommand\MU{\MakeUppercase} + + \md \MU{ AO AY AI AU RA OA UA DU} [ \\ +\<\md \MU{ \\md \MU{ \>AO \>AY \>AI \>AU \>RA \>OA U\>A D\>U} [ \\ +\>'\md\MU{ \>'AO \>'AY \>'AI \>'AU \>'RA \>'OA U\>'A D\>'U} [ \\ +\'\md \MU{ \'AO \'AY \'AI \'AU \'RA \'OA U\'A D\'U} [ \\ +\>`\md\MU{ \>`AO \>`AY \>`AI \>`AU \>`RA \>`OA U\>`A D\>`U} [ \\ +\<'\md\MU{ \<'AO \<'AY \<'AI \<'AU \<'RA \<'OA U\<'A D\<'U} [ \\ +\`\md \MU{ \`AO \`AY \`AI \`AU \`RA \`OA U\`A D\`U} [ \\ +\<`\md\MU{ \<`AO \<`AY \<`AI \<`AU \<`RA \<`OA U\<`A D\<`U} [ \\ +\~\md \MU{ \~AO \~AY \~AI \~AU \~RA \~OA U\~A D\~U} [ \\ +\~>\md\MU{ \~>AO \~>AY \~>AI \~>AU \~>RA \~>OA U\~>A D\~>U} [ \\ +\~<\md\MU{ \~: - -\newcommand{\<}{\emph{first definition of <-accent}} -\renewcommand{\>}{\emph{early redefinition of >-accent}} - -% WORKAROUNDS - -% save original definition and overwrite later -\let\MyLessThanSaved\< - -% define as TextDefault (can be done before or after loading fontenc): -\DeclareTextCommandDefault{\>}{\emph{TextDefault of >-accent}} - - -\usepackage{lmodern} -\usepackage[LGR,T1]{fontenc} -\usepackage{textalpha} -% font encoding switch declarations: -\newcommand{\LGR}{\fontencoding{LGR}\selectfont} -\newcommand{\Latin}{\fontencoding{\encodingdefault}\selectfont} - - -% RESTORING -% restoring as "normal" macro results in problems in Greek text -% \renewcommand{\<}{\MyLessThanSaved} -% restore as "TextCommandDefault" (for all font encodings except LGR): -\DeclareTextCommandDefault{\<}{\MyLessThanSaved} - - -\begin{document} - -\section*{Test accent macro name clashes} - -The LGR font encoding defined until version 0.12 from 2014-12-12 the -\verb+\<+ and \verb+\>+ shortcuts for Greek dasia and psili accents as -``TextAccent'' macros (see fntguide.pdf). - -This definition moved to ``textalpha.sty'' wich also -makes LGR the default encoding for these accents. - -This means that with \verb+\usepackage{textalpha}+, the accent macros -are undefined in all other font encodings and can be given another definition. -However, due to the internal working of \verb+\DeclareTextAccent+, earlier -definitions of these macros are overwritten. - -Test: macro defined before fontenc loading: \< - -Test: macro (re)defined after fontenc loading: \>a - -Test: accent macro kept in LGR: \LGR \h \Latin - -Test: TextCommandDefault at end of group: \texttt{\<} - -Test: Tab accent kludge: \a< - -\section*{LGR Transkription und Makros} - -\LGR 'a `a "u a \\ - \'a \`a \"u \a \~a - -\end{document} diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/test-tuenc-greek.pdf b/Master/texmf-dist/doc/latex/greek-fontenc/test-tuenc-greek.pdf new file mode 100644 index 00000000000..d9c51eb8b6f Binary files /dev/null and b/Master/texmf-dist/doc/latex/greek-fontenc/test-tuenc-greek.pdf differ diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/test-tuenc-greek.tex b/Master/texmf-dist/doc/latex/greek-fontenc/test-tuenc-greek.tex new file mode 100644 index 00000000000..9d34e76ddbf --- /dev/null +++ b/Master/texmf-dist/doc/latex/greek-fontenc/test-tuenc-greek.tex @@ -0,0 +1,913 @@ +\documentclass[a4paper]{article} +% \usepackage{textcomp} +\usepackage[unicode,colorlinks=true,linkcolor=blue]{hyperref} +% \usepackage{bookmark} +% \usepackage{parskip} +\usepackage{booktabs} +\usepackage{amssymb} + +% It is possible to use 8-bit Greek text fonts in the LGR TeX font encoding +% also with XeTeX/LuaTeX, if the »fontenc« package is loaded before +% »fontspec« and »textalpha«: +\usepackage[LGR]{fontenc} + +% Unicode font setup: +\usepackage{fontspec} +% \setmainfont{DejaVu Serif} +% \setsansfont{DejaVu Sans} +% \usepackage{libertineotf} +\setmainfont{Linux Libertine O} +\setsansfont{Linux Biolinum O} +% \setmainfont{cmunrm.otf} % CMU Serif % many missing characters :( +% \setmainfont{FreeSerif}% +% \setmainfont{Droid Sans} + +% Declare the font encoding and Greek LICR definitions: +\usepackage[normalize-symbols]{textalpha} + +\begin{document} + +\title{Font setup for Greek with XeTeX/LuaTeX} +\author{Günter Milde} +\date{2020/10/30} +\maketitle + +\noindent The file \href{tuenc-greek.def.html}{tuenc-greek.def} provides +support for Greek \hyperref[licr]{LICR} macros and upcasing of text with +XeTeX and LuaTeX. It is loaded automatically by +\href{textalpha-doc.pdf}{\emph{textalpha}}, +\href{alphabeta-doc.pdf}{\emph{alphabeta}}, and +\href{http://www.ctan.org/pkg/babel-greek}{\emph{babel-greek}} when used +with Unicode fonts (LuaTeX or XeTeX with +\href{http://www.ctan.org/pkg/fontspec}{\emph{fontspec}}). + +\tableofcontents + +\section{Requirements} + +\subsection{\emph{fontspec} and suitable Unicode fonts} + +LaTeX sets up the TU Unicode text font encoding if it detects the XeTeX or +LuaTeX engiges. The user must ensure that the selected font contains Greek +glyphs (the default Latin Modern fonts have only capital Greek letters). +\textbf{There are no errors for missing glyphs, just warnings in the log +file (but not in the console output) and empty spaces in the output +document.} + +The \href{http://www.ctan.org/pkg/fontspec}{\emph{fontspec}} package is the +standard tool to select fonts in Xe/LuaLaTeX. Examples for suitable fonts +are given in the +\href{http://mirrors.ctan.org/language/greek/greek-fontenc/greek-fontenc.html#TU} +{greek-fontenc documentation}. + + +\section{Usage} + +\texttt{tuenc-greek.def} is usually not loaded directly, but by one of +\href{textalpha-doc.pdf}{\emph{textalpha}}, +\href{alphabeta-doc.pdf}{\emph{alphabeta}}, or \emph{Babel} (with the +language option \href{http://www.ctan.org/pkg/babel-greek}{greek}). If these +packages are used with Unicode-aware TeX engines (XeTeX or LuaTeX), Unicode +font setup is amended for use of the Greek script. + + +\section{LICR input% + \label{licr}} + +The LaTeX internal character representation (LICR) is a verbose, +fail-safe 7-bit ASCII encoding that can be used unaltered under both, 8-bit +TeX and XeTeX/LuaTeX. Use cases are macro definitions and generated text. + +See the source of this document, +\href{test-tuenc-greek.tex}{\texttt{test-tuenc-greek.tex}} for the input used +in the examples below. + +\subsection{Greek alphabet} + +Greek letters via LICR macros: +\begin{quote} + \textAlpha{} \textBeta{} \textGamma{} \textDelta{} \textEpsilon{} + \textZeta{} \textEta{} \textTheta{} \textIota{} \textKappa{} + \textLambda{} \textMu{} \textNu{} \textXi{} \textOmicron{} \textPi{} + \textRho{} \textSigma{} \textTau{} \textUpsilon{} \textPhi{} + \textChi{} \textPsi{} \textOmega{} + + \textalpha{} \textbeta{} \textgamma{} \textdelta{} \textepsilon{} + \textzeta{} \texteta{} \texttheta{} \textiota{} \textkappa{} + \textlambda{} \textmu{} \textnu{} \textxi{} \textomicron{} \textpi{} + \textrho{} \textsigma{} \texttau{} \textupsilon{} + \textphi{} \textchi{} \textpsi{} \textomega{} +\end{quote} +The small sigma is set with a different +glyph if it ends a word: +\begin{quote} + \textsigma{} \verb|textsigma|\\ + \textfinalsigma{} \verb|textfinalsigma| or \verb|textvarsigma| +\end{quote} +The \verb|\textautosigma| macro, which automatically chooses the +glyph according to the position, is not implemented for Unicode fonts. + +\subsection{Diacritics} + +Greek diacritics can be input by named macro or symbol macro: +\begin{quote} + \acctonos\textalpha \'\textalpha{} \acctonos x\'x + \accvaria\textalpha \`\textalpha{} \accvaria x\`x + \accdialytika\textiota \"\textiota{} \accdialytika x\"x + \accperispomeni\textalpha \~\textalpha{} \accperispomeni x\~x + \accpsili\textalpha \>\textalpha{} \accpsili x\>x + \accdasia\textalpha \<\textalpha{} \accdasia x\α + \accdasia α \<α +\end{quote} + + +\subsubsection{perispomeni vs. tilde} + +The Greek \emph{perispomeni} has the look of a tilde but the semantic +of a circumflex accent. +The ``named'' \verb|\accperispomeni| macro uses COMBINING GREEK PERISPOMENI, +while the standard tilde-accent macro \verb|\~| uses the COMBINING TILDE +which is not normalized to GREEK LETTER ... WITH PERISPOMENI +characters. + +Composite definitions for \verb|\~| select the pre-composed character: + +\begin{quote} + \~α = ᾶ, \~η = ῆ, \~ι = ῖ, \~υ = ῦ, \~ω = ῶ +\end{quote} + + +\subsubsection{combined diacritics} + +Combined accents are defined using combining diacritical characters. + +\begin{quote} +\accdialytikatonos\textiota{} \"'\textiota{} \"\'\textiota{} +\accdialytikatonos x \"'x \"\'x +\accdialytikavaria\textiota{} \"`\textiota{} \"\`\textiota{} +\accdialytikavaria x \"`x \"\`x +\accdialytikaperispomeni\textiota{} \~"\textiota{} \~\"\textiota{} +\accdialytikaperispomeni x \~"x \~\"x + +\accdasiaoxia\textiota{} \<'\textiota{} \<\'\textiota{} +\accdasiaoxia x \<'x \<\'x +\accdasiavaria\textiota{} \<`\textiota{} \<\`\textiota{} +\accdasiavaria x \<`x \<\`x +\accdasiaperispomeni\textiota{} \~<\textiota{} \~\<\textiota{} +\accdasiaperispomeni x \~'\textiota{} \>\'\textiota{} +\accpsilioxia x \>'x \>\'x +\accpsilivaria\textiota{} \>`\textiota{} \>\`\textiota{} +\accpsilivaria x \>`x \>\`x +\accpsiliperispomeni\textiota{} \~>\textiota{} \~\>\textiota{} +\accpsiliperispomeni x \~>x \~\>x +\end{quote} +Composite diacritics overlap when they are not normalized to a pre-composed +character. However, this is not a major problem in normal use as +pre-composed characters exist in Unicode for all letters that are +used with diacritics in (ancient, polytonic or monotonic) Greek. + +\subsubsection{sub-iota} + +The sub-iota is input after the base letter. + +\begin{itemize} +\item + \verb|\ypogegrammeni| sets a COMBINING GREEK YPOGEGRAMMENI: + \textalpha\ypogegrammeni{} k\ypogegrammeni{}. + + A Greek capital letter followed by COMBINING GREEK YPOGEGRAMMENI is + normalized to the corresponding Greek capital letter WITH [... AND] + PROSGEGRAMMENI, if a mapping exists in the Unicode standard (by XeTeX but + not by LuaTeX) + +\item \verb|\prosgegrammeni| sets a spacing GREEK PROSGEGRAMMENI: + \textAlpha\prosgegrammeni{} K\prosgegrammeni{}. + + Spacing is better with the pre-composed characters for Greek capital + letters \ldots{} WITH PROSGEGRAMMENI. + + Compare Αι (small letter iota) vs. Αι (spacing prosgegrammeni) vs. ᾼ + (pre-composed). + + +\end{itemize} +% +Test letters with ypogegrammeni and prosgegrammeni (literal/LICR): + +\begin{quote} +\begin{tabbing} + + unchanged \quad\= make lowercase\quad\= make uppercase. \\ + + ᾳαι/\textalpha\ypogegrammeni \textalpha\prosgegrammeni{} \> + \MakeLowercase{ᾳαι/\textalpha\ypogegrammeni \textalpha\prosgegrammeni} \> + \MakeUppercase{ᾳαι/\textalpha\ypogegrammeni \textalpha\prosgegrammeni} \\ + + ᾼΑι/\textAlpha\ypogegrammeni \textAlpha\prosgegrammeni{} \> + \MakeLowercase{ᾼΑι/\textAlpha\ypogegrammeni \textAlpha\prosgegrammeni} \> + \MakeUppercase{ᾼΑι/\textAlpha\ypogegrammeni \textAlpha\prosgegrammeni} \\ + + ΛͅΛι/\textLambda\ypogegrammeni \textLambda\prosgegrammeni{} \> + \MakeLowercase{ΛͅΛι/\textLambda\ypogegrammeni \textLambda\prosgegrammeni} \> + \MakeUppercase{ΛͅΛι/\textLambda\ypogegrammeni \textLambda\prosgegrammeni} + +\end{tabbing} +\end{quote} + +\subsection{Additional Greek symbols} + +\subsubsection{symbols for Greek numbers} + +\begin{quote} +\textkoppa{} textkoppa \\ % ϟ +\textKoppa{} textKoppa \\ % Ϟ +\textqoppa{} textqoppa (archaic koppa) \\ % ϙ +\textQoppa{} textQoppa (archaic Koppa) \\ % Ϙ +\textstigma{} textstigma \\ % ϛ +% \textvarstigma{} textvarstigma \\ % no separate Unicode character +\textStigma{} textStigma (Sigma-Tau-Ligature in CB-fonts)% +\footnote{the name “stigma” originally applied to a medieval sigma-tau + ligature, whose shape was confusingly similar to the cursive + digamma} \\ % Ϛ +\textsampi{} textsampi \\ % ϡ +\textSampi{} textSampi \\ % Ϡ +\textdigamma{} textdigamma \\ % ϝ (\digamma used by amsmath!) +\textDigamma{} textDigamma \\ % Ϝ +% numeral signs: http://en.wikipedia.org/wiki/Greek_numerals +\textdexiakeraia{} textdexiakeraia \\ % ʹ +\textaristerikeraia{} textaristerikeraia \\ % ͵ +\end{quote} + +\subsubsection{symbol variants} + +Mathematical notation uses variant shapes of some Greek letters as +additional symbols. The variations have no syntactic meaning in Greek text +and text fonts may use the variant shapes in place of the “regular” ones as +a stylistic choice. + +Unicode defines separate code points for the symbol variants. TeX supports +some of the variant shape symbols in mathematical mode, but its concept of +“standard” vs. “variant” symbols differs from the distinction between +“GREEK LETTER ...” vs. “GREEK ... SYMBOL” in the Unicode standard (see +Table \ref{tab:symbol-variants}). + +\begin{table}[tbp] + \centering + \begin{tabular}{cccc} + \hline + \multicolumn{2}{c}{TeX math} & \multicolumn{2}{c}{Unicode} \\ + symbol & var symbol & “letter” & “symbol” \\ + \hline + $\pi$ & $\varpi$ & π & ϖ \\ + $\rho$ & $\varrho$ & ρ & ϱ \\ + $\theta$ & $\vartheta$ & θ & ϑ \\ + \hline + $\epsilon$ & $\varepsilon$ & ε & ϵ \\ + $\phi$ & $\varphi$ & φ & ϕ \\ + \hline + $\beta$ & \emph{missing} & β & ϐ \\ + $\kappa$ & \emph{missing} & κ & ϰ \\ + $\Theta$ & \emph{missing} & Θ & ϴ \\ + \hline + \end{tabular} + \caption{Greek symbol variants in TeX and Unicode} + \label{tab:symbol-variants} +\end{table} + +\texttt{tuenc-greek.def} defines three TextCommands for each of these +letters: +\begin{quote} + \verb|\text| selects the Unicode GREEK LETTER ... variant, + + \verb|\textsymbol| selects the Unicode + GREEK ... SYMBOL variant, + + \verb|\textvar| selects the variant + shape according to TeX' mathematical mode +\end{quote} +See Table \ref{tab:symbol-variant-macros} for the full list. The +\href{alphabeta-doc.pdf}{\emph{alphabeta}} package defines short macros that +work in text and math mode. + +\begin{table}[tbp] + \centering + \begin{tabular}{lclc} + \hline + \multicolumn{2}{c}{text} & \multicolumn{2}{c}{mathematics} \\ + macro & output & macro & output \\ + \hline + \verb$\textpi$ & \textpi & \verb$\pi$ & $\pi$ \\ + \verb$\textvarpi$ & \textvarpi & \verb$\varpi$ & $\varpi$ \\ + \verb$\textpisymbol$ & \textpisymbol & & \\ + \hline + \verb$\textrho$ & \textrho & \verb$\rho$ & $\rho$ \\ + \verb$\textvarrho$ & \textvarrho & \verb$\varrho$ & $\varrho$ \\ + \verb$\textrhosymbol$ & \textrhosymbol & & \\ + \hline + \verb$\texttheta$ & \texttheta & \verb$\theta$ & $\theta$ \\ + \verb$\textvartheta$ & \textvartheta & \verb$\vartheta$ & $\vartheta$ \\ + \verb$\textthetasymbol$ & \textthetasymbol & & \\ + \hline + \verb$\textepsilon$ & \textepsilon & \verb$\epsilon$ & $\epsilon$ \\ + \verb$\textvarepsilon$ & \textvarepsilon & \verb$\varepsilon$ & $\varepsilon$ \\ + \verb$\textepsilonsymbol$ & \textepsilonsymbol & & \\ + \hline + \verb$\textphi$ & \textphi & \verb$\phi$ & $\phi$ \\ + \verb$\textvarphi$ & \textvarphi & \verb$\varphi$ & $\varphi$ \\ + \verb$\textphisymbol$ & \textphisymbol & & \\ + \hline + \verb$\textbeta$ & \textbeta & \verb$\beta$ & $\beta$ \\ + \verb$\textvarbeta$ & \textvarbeta & \emph{missing} & \\ + \verb$\textbetasymbol$ & \textbetasymbol & & \\ + \hline + \verb$\textkappa$ & \textkappa & \verb$\kappa$ & $\kappa$ \\ + \verb$\textvarkappa$ & \textvarkappa & \verb$\varkappa$ & $\varkappa$ \\ + \verb$\textkappasymbol$ & \textkappasymbol & & \\ + \hline + \verb$\textTheta$ & \textTheta & \verb$\Theta$ & $\Theta$ \\ + \verb$\textvarTheta$ & \textvarTheta & \emph{missing} & \\ + \verb$\textThetasymbol$ & \textThetasymbol & & \\ + \hline + \end{tabular} + \caption{Macros for Greek symbol variants} + \label{tab:symbol-variant-macros} +\end{table} + +\subsubsection{Ancient Greek Numbers} + +Ancient Greek Numbers are missing in most fonts (including Libertine and +Deja Vu). The “FreeSerif” font works fine: +\begin{quote} +\textpentedeka % GREEK ACROPHONIC ATTIC FIFTY +\textpentehekaton % GREEK ACROPHONIC ATTIC FIVE HUNDRED +\textpenteqilioi % GREEK ACROPHONIC ATTIC FIVE THOUSAND +\textpentemuria % GREEK ACROPHONIC ATTIC FIFTY THOUSAND +\end{quote} +If the LGR font encoding is loaded via «fontenc» in the document preamble, +Ancient Greek Numbers (as well as any other character) from LGR encoded +8-bit TeX fonts can be used after a font-encoding switch. babel-greek +defines the \verb|\textgreek| command for this purpose. +\providecommand*{\textgreek}[1]{\leavevmode{% + \fontfamily{cmr}\fontencoding{LGR}\selectfont#1}% +} +\begin{quote} +\textgreek{ +\textpentedeka % GREEK ACROPHONIC ATTIC FIFTY +\textpentehekaton % GREEK ACROPHONIC ATTIC FIVE HUNDRED +\textpenteqilioi % GREEK ACROPHONIC ATTIC FIVE THOUSAND +\textpentemuria % GREEK ACROPHONIC ATTIC FIFTY THOUSAND +} +\end{quote} + + +\subsubsection{generic text symbols} + +There are some LICR macros for some symbols from the 8-bit font encoding LGR +that are not confined to Greek but not defined in +\texttt{tuenc.def} [2018/08/11 v2.0j]. + +\begin{quote} + \textsemicolon{} textsemicolon\\ + \textmicro{} textmicro \\ + \textschwa{} textschwa +\end{quote} +The SI unit prefix MICRO SIGN is not upcased with MakeUppercase: + +\begin{quote} + textmu: \textmu{} $\mapsto$ \MakeUppercase{\textmu} but + textmicro: \textmicro{} $\mapsto$ \MakeUppercase{\textmicro}. +\end{quote} + + +\section{Latin transcription} + +The Latin transcription known from LGR encoded 8-bit fonts% +\footnote{ See the \href{http://www.ctan.org/pkg/teubner}{teubner} package +or the file usage.pdf from the +\href{http://www.ctan.org/pkg/babel-greek}{\emph{babel-greek}} package for a +description.} +does not work with Unicode fonts. + +It is possible to set up LGR encoded fonts parallel to Unicode fonts (see +the preamble of the source file \url{test-tuenc-greek.tex} for an example). +The \verb|\textgreek| macro can then be used for the input of Greek letters +via the \emph{Latin transcription}, e.g. «logos» becomes «\textgreek{logos}» +and «\verb|\>aupn\'ia|» becomes «\textgreek{\>aupn\'ia}». + +Mark that you cannot use Unicode input with LGR encoded fonts except when +running in 8-bit compatibility mode. +LICR macros work in both, Unicode font encoding and LGR: compare + \>\textIota\textalpha\textnu\textomicron\textupsilon\textalpha + \textrho\acctonos\textiota\textomicron\textupsilon{} +(Unicode font set up via fontspec) vs. +\textgreek{\>\textIota\textalpha\textnu\textomicron\textupsilon\textalpha + \textrho\acctonos\textiota\textomicron\textupsilon} +(LGR-encoded 8-bit font set up via NFSS commands). + + +\section{UPPERCASE and lowercase} + +Capital Greek letters have Greek diacritics (except the dialytika and +sub-iota) to the left (instead of above) and drop them if text is set in +UPPERCASE, e.g. +\ensuregreek{μαΐστρος $\mapsto$ \MakeUppercase{μαΐστρος}}. + +The uccode/lccode corrections (taken from Apostolos Syropoulos xgreek +package) ensure dropping of accents with \verb|\MakeUppercase| for literal +Unicode characters. + +@uclclist additions ensure that upcasing also drops Greek diacritics. +However, when the tonos, varia, and perispomeni accents +are input using the symbol macros (\verb|\' \` \~|), this does not work, as +they cannot be distinguished from Latin acute, grave, and tilde accents.% +\footnote{This might be fixed with \textbackslash accACUTE, + \textbackslash accGRAVE, and \textbackslash accTILDE definitions + with corresponding @uclclist entries and composite definitions.} +If these accents should be dropped by MakeUppercase, they must be input as +named macro: + +\begin{quote} +\acctonos\textalpha \'\textalpha{} \acctonos a\'a +\accvaria\textalpha \`\textalpha{} \accvaria a\`a +$\mapsto$ +\MakeUppercase{ +\acctonos\textalpha \'\textalpha{} \acctonos a\'a +\accvaria\textalpha \`\textalpha{} \accvaria a\`a +} +\end{quote} + +\subsubsection{hiatus} + +Tonos and dasia mark a \emph{hiatus} (break-up of a diphthong) if placed on +the first vowel of a diphtong (άι, άυ, έι, ἄι, ἄυ, ἔι). A dialytika must be +placed on the second vowel if they are dropped. + +The «hiatus» feature works with macro input: +\begin{quote} + % from teubner: άυλος/ΑΫΛΟΣ + \acctonos\textalpha\textupsilon λος $\mapsto$ + \MakeUppercase{\acctonos\textalpha\textupsilon λος}, + \accpsilioxia\textalpha\textupsilon λος $\mapsto$ + \MakeUppercase{\accpsilioxia\textalpha\textupsilon λος}, + + % from http://diacritics.typo.cz/index.php?id=69 μάινα -> ΜΑΪΝΑ + m\acctonos\textalpha\textiota να $\mapsto$ + \MakeUppercase{m\acctonos\textalpha\textiota να}, + % from http://de.wikipedia.org/wiki/Neugriechische_Orthographie#Das_Trema + % κέικ, ἀυπνία/αϋπνία + \textkappa\acctonos\textepsilon\textiota\textkappa $\mapsto$ + \MakeUppercase{\textkappa\acctonos\textepsilon\textiota\textkappa}, + \accpsili\textalpha\textupsilon πνία $\mapsto$ + \MakeUppercase{\accpsili\textalpha\textupsilon πνία}. +\end{quote} + +It does not work with Unicode literals: +\begin{quote} + άι, άυ, έι, ἄι, ἄυ, ἔι $\mapsto$ \MakeUppercase{άι, άυ, έι, ἄι, ἄυ, ἔι} +\end{quote} + +or accent-macro + Unicode literals (yet?): +\begin{quote} + \acctonos αι, \acctonos αυ, \acctonos ει, \'>αι, \'>αυ, \'>ει + $\mapsto$ + \MakeUppercase{\acctonos αι, \acctonos αυ, \acctonos ει, \'>αι, \'>αυ, \'>ει} +\end{quote} + +\section{Character Tables} + +The following tables list the Greek Unicode characters. In the input, the +LICR macro is followed by the corresponding literal Unicode character. + +\subsection{Greek and Coptic Unicode block} + +Seldom used characters that are not part of LGR encoded TeX fonts have no +LICR definition. + +\newcommand{\greekandcoptic}{ +% NR Unicode Name % babel name, UCS name +% 0370 GREEK CAPITAL LETTER HETA % Ͱ +% 0371 GREEK SMALL LETTER HETA % ͱ +% 0372 GREEK CAPITAL LETTER ARCHAIC SAMPI % Ͳ +% 0373 GREEK SMALL LETTER ARCHAIC SAMPI % Ͳ +\textnumeralsigngreek ʹ % \anwtonos, \textdexiakeraia +\textnumeralsignlowergreek ͵ % \katwtonos, \textaristerikeraia, +% 0376 GREEK CAPITAL LETTER PAMPHYLIAN DIGAMMA % Ͷ +% 0377 GREEK SMALL LETTER PAMPHYLIAN DIGAMMA % ͷ +{ }\ypogegrammeni ͺ % \textsubiota{\empty} +% 037B GREEK SMALL REVERSED LUNATE SIGMA SYMBOL % +% 037C GREEK SMALL DOTTED LUNATE SIGMA SYMBOL % +% 037D GREEK SMALL REVERSED DOTTED LUNATE SIGMA SYMBOL % +\texterotimatiko ; % \textquestion + +\acctonos{ } ΄ +\"'{ } ΅ +\'\textAlpha Ά +\textanoteleia · % \anoteleia +\'\textEpsilon Έ +\'\textEta Ή +\'\textIota Ί +\'\textOmicron Ό +\'\textUpsilon Ύ +\'\textOmega Ώ + +\'"\textiota ΐ +\textAlpha Α +\textBeta Β +\textGamma Γ +\textDelta Δ +\textEpsilon Ε +\textZeta Ζ +\textEta Η +\textTheta Θ +\textIota Ι +\textKappa Κ +\textLambda Λ +\textMu Μ +\textNu Ν +\textXi Ξ +\textOmicron Ο + +\textPi Π +\textRho Ρ +\textSigma Σ +\textTau Τ +\textUpsilon Υ +\textPhi Φ +\textChi Χ +\textPsi Ψ +\textOmega Ω +\"\textIota Ϊ +\"\textUpsilon Ϋ +\'\textalpha ά +\'\textepsilon έ +\'\texteta ή +\'\textiota ί + +\"'\textupsilon ΰ +\textalpha α +\textbeta β +\textgamma γ +\textdelta δ +\textepsilon ε +\textzeta ζ +\texteta η +\texttheta θ +\textiota ι +\textkappa κ +\textlambda λ +\textmu μ % \textmugreek +\textnu ν +\textxi ξ +\textomicron ο + +\textpi π +\textrho ρ +\textvarsigma ς +\textsigma σ +\texttau τ +\textupsilon υ +\textphi φ +\textchi χ +\textpsi ψ +\textomega ω +\"\textiota ϊ +\"\textupsilon ϋ +\'\textomicron ό +\'\textupsilon ύ +\'\textomega ώ + +\textbetasymbol ϐ +\textthetasymbol ϑ +ϒ ϓ ϔ +\textphisymbol ϕ +\textpisymbol ϖ %ϗ + +\textQoppa Ϙ +\textqoppa ϙ +\textStigma Ϛ +\textstigma ϛ +\textDigamma Ϝ +\textdigamma ϝ +\textKoppa Ϟ % \textKoppagreek +\textkoppa ϟ % \koppa, \textqoppa [sic!] + +\textSampi Ϡ +\textsampi ϡ + +% Ϣ ϣ Ϥ ϥ Ϧ ϧ Ϩ ϩ Ϫ ϫ Ϭ ϭ Ϯ ϯ + +\textkappasymbol ϰ +\textrhosymbol ϱ +% ϲ +% ϳ +\textThetasymbol ϴ +\textepsilonsymbol ϵ +% ϶ +% Ϸ ϸ +% Ϲ +% Ϻ ϻ ϼ +% Ͻ Ͼ Ͽ +} + +\greekandcoptic + +\noindent MakeUppercase (note: standard accents not dropped): + +\MakeUppercase{\greekandcoptic} + +\noindent MakeLowercase: + +\MakeLowercase{\greekandcoptic} + +The lowercase of Σ is σ (GREEK SMALL LETTER SIGMA).\footnote{% +With LICRs, it is \texttt{\textbackslash textautosigma}.} +The lowercase of Ϛ (GREEK LETTER STIGMA) is ϛ (GREEK SMALL LETTER STIGMA). + + +\subsection{Greek Extended Unicode block} + +Note: There are no LICR definitions for spacing diacritical characters. +Use the corresponding accent macro with an empty argument or a space. + +% \accvaria\textalpha ὰ +% \accoxia\textalpha ά + +\medskip + +\newcommand{\greekextended}{ +\>\textalpha ἀ +\<\textalpha ἁ +\>`\textalpha ἂ +\<`\textalpha ἃ +\>'\textalpha ἄ +\<'\textalpha ἅ +\~>\textalpha ἆ +\~<\textalpha ἇ +\>\textAlpha Ἀ +\<\textAlpha Ἁ +\>`\textAlpha Ἂ +\<`\textAlpha Ἃ +\>'\textAlpha Ἄ +\<'\textAlpha Ἅ +\~>\textAlpha Ἆ +\~<\textAlpha Ἇ + +\>\textepsilon ἐ +\<\textepsilon ἑ +\>`\textepsilon ἒ +\<`\textepsilon ἓ +\>'\textepsilon ἔ +\<'\textepsilon ἕ +\>\textEpsilon Ἐ +\<\textEpsilon Ἑ +\>`\textEpsilon Ἒ +\<`\textEpsilon Ἓ +\>'\textEpsilon Ἔ +\<'\textEpsilon Ἕ + +\>\texteta ἠ +\<\texteta ἡ +\>`\texteta ἢ +\<`\texteta ἣ +\>'\texteta ἤ +\<'\texteta ἥ +\~>\texteta ἦ +\~<\texteta ἧ +\>\textEta Ἠ +\<\textEta Ἡ +\>`\textEta Ἢ +\<`\textEta Ἣ +\>'\textEta Ἤ +\<'\textEta Ἥ +\~>\textEta Ἦ +\~<\textEta Ἧ + +\>\textiota ἰ +\<\textiota ἱ +\>`\textiota ἲ +\<`\textiota ἳ +\>'\textiota ἴ +\<'\textiota ἵ +\~>\textiota ἶ +\~<\textiota ἷ +\>\textIota Ἰ +\<\textIota Ἱ +\>`\textIota Ἲ +\<`\textIota Ἳ +\>'\textIota Ἴ +\<'\textIota Ἵ +\~>\textIota Ἶ +\~<\textIota Ἷ + +\>\textomicron ὀ +\<\textomicron ὁ +\>`\textomicron ὂ +\<`\textomicron ὃ +\>'\textomicron ὄ +\<'\textomicron ὅ +\>\textOmicron Ὀ +\<\textOmicron Ὁ +\>`\textOmicron Ὂ +\<`\textOmicron Ὃ +\>'\textOmicron Ὄ +\<'\textOmicron Ὅ + +\>\textupsilon ὐ +\<\textupsilon ὑ +\>`\textupsilon ὒ +\<`\textupsilon ὓ +\>'\textupsilon ὔ +\<'\textupsilon ὕ +\~>\textupsilon ὖ +\~<\textupsilon ὗ +\<\textUpsilon Ὑ +\<`\textUpsilon Ὓ +\<'\textUpsilon Ὕ +\~<\textUpsilon Ὗ + +\>\textomega ὠ +\<\textomega ὡ +\>`\textomega ὢ +\<`\textomega ὣ +\>'\textomega ὤ +\<'\textomega ὥ +\~>\textomega ὦ +\~<\textomega ὧ +\>\textOmega Ὠ +\<\textOmega Ὡ +\>`\textOmega Ὢ +\<`\textOmega Ὣ +\>'\textOmega Ὤ +\<'\textOmega Ὥ +\~>\textOmega Ὦ +\~<\textOmega Ὧ + +\accvaria\textalpha ὰ +\accoxia\textalpha ά +\accvaria\textepsilon ὲ +\accoxia\textepsilon έ +\accvaria\texteta ὴ +\accoxia\texteta ή +\accvaria\textiota ὶ +\accoxia\textiota ί +\accvaria\textomicron ὸ +\accoxia\textomicron ό +\accvaria\textupsilon ὺ +\accoxia\textupsilon ύ +\accvaria\textomega ὼ +\accoxia\textomega ώ + +\>\textalpha\ypogegrammeni ᾀ +\<\textalpha\ypogegrammeni ᾁ +\>`\textalpha\ypogegrammeni ᾂ +\<`\textalpha\ypogegrammeni ᾃ +\>'\textalpha\ypogegrammeni ᾄ +\<'\textalpha\ypogegrammeni ᾅ +\~>\textalpha\ypogegrammeni ᾆ +\~<\textalpha\ypogegrammeni ᾇ +\>\textAlpha\ypogegrammeni ᾈ +\<\textAlpha\ypogegrammeni ᾉ +\>`\textAlpha\ypogegrammeni ᾊ +\<`\textAlpha\ypogegrammeni ᾋ +\>'\textAlpha\ypogegrammeni ᾌ +\<'\textAlpha\ypogegrammeni ᾍ +\~>\textAlpha\ypogegrammeni ᾎ +\~<\textAlpha\ypogegrammeni ᾏ + +\>\texteta\ypogegrammeni ᾐ +\<\texteta\ypogegrammeni ᾑ +\>`\texteta\ypogegrammeni ᾒ +\<`\texteta\ypogegrammeni ᾓ +\>'\texteta\ypogegrammeni ᾔ +\<'\texteta\ypogegrammeni ᾕ +\~>\texteta\ypogegrammeni ᾖ +\~<\texteta\ypogegrammeni ᾗ +\>\textEta\ypogegrammeni ᾘ +\<\textEta\ypogegrammeni ᾙ +\>`\textEta\ypogegrammeni ᾚ +\<`\textEta\ypogegrammeni ᾛ +\>'\textEta\ypogegrammeni ᾜ +\<'\textEta\ypogegrammeni ᾝ +\~>\textEta\ypogegrammeni ᾞ +\~<\textEta\ypogegrammeni ᾟ + +\>\textomega\ypogegrammeni ᾠ +\<\textomega\ypogegrammeni ᾡ +\>`\textomega\ypogegrammeni ᾢ +\<`\textomega\ypogegrammeni ᾣ +\>'\textomega\ypogegrammeni ᾤ +\<'\textomega\ypogegrammeni ᾥ +\~>\textomega\ypogegrammeni ᾦ +\~<\textomega\ypogegrammeni ᾧ +\>\textOmega\ypogegrammeni ᾨ +\<\textOmega\ypogegrammeni ᾩ +\>`\textOmega\ypogegrammeni ᾪ +\<`\textOmega\ypogegrammeni ᾫ +\>'\textOmega\ypogegrammeni ᾬ +\<'\textOmega\ypogegrammeni ᾭ +\~>\textOmega\ypogegrammeni ᾮ +\~<\textOmega\ypogegrammeni ᾯ + +\u\textalpha ᾰ +\=\textalpha ᾱ +\accvaria\textalpha\ypogegrammeni ᾲ +\textalpha\ypogegrammeni ᾳ +\accoxia\textalpha\ypogegrammeni ᾴ +\accperispomeni\textalpha ᾶ +\accperispomeni\textalpha\ypogegrammeni ᾷ +\u\textAlpha Ᾰ +\=\textAlpha Ᾱ +\accvaria\textAlpha Ὰ +\accoxia\textAlpha Ά +\textAlpha\ypogegrammeni ᾼ +\>{ } ᾽ +{ }\prosgegrammeni ι +\>{ } ᾿ + +\accperispomeni{ } ῀ +\"\~{ } ῁ +\accvaria\texteta\ypogegrammeni ῂ +\texteta\ypogegrammeni ῃ +\accoxia\texteta\ypogegrammeni ῄ +\accperispomeni\texteta ῆ +\accperispomeni\texteta\ypogegrammeni ῇ +\accvaria\textEpsilon Ὲ +\accoxia\textEpsilon Έ +\accvaria\textEta Ὴ +\accoxia\textEta Ή +\textEta\ypogegrammeni ῌ +\>`{ } ῍ +\>'{ } ῎ +\~>{ } ῏ + +\u\textiota ῐ +\=\textiota ῑ +\`"\textiota ῒ +\'"\textiota ΐ +\accperispomeni\textiota ῖ +\accperispomeni"\textiota ῗ +\u\textIota Ῐ +\=\textIota Ῑ +\accvaria\textIota Ὶ +\accoxia\textIota Ί + \<`{ } ῝ +\>'{ } ῞ +\~<{ } ῟ + +\u\textupsilon ῠ +\=\textupsilon ῡ +\`"\textupsilon ῢ +\'"\textupsilon ΰ +\>\textrho ῤ +\<\textrho ῥ +\accperispomeni\textupsilon ῦ +\accperispomeni"\textupsilon ῧ +\u\textUpsilon Ῠ +\=\textUpsilon Ῡ +\accvaria\textUpsilon Ὺ +\accoxia\textUpsilon Ύ +\<\textRho Ῥ +\`"{ } ῭ +\'"{ } ΅ +\accvaria{ } ` + +\accvaria\textomega\ypogegrammeni ῲ +\textomega\ypogegrammeni ῳ +\accoxia\textomega\ypogegrammeni ῴ +\accperispomeni\textomega ῶ +\accperispomeni\textomega\ypogegrammeni ῷ +\accvaria\textOmicron Ὸ +\accoxia\textOmicron Ό +\accvaria\textOmega Ὼ +\accoxia\textOmega Ώ +\textOmega\ypogegrammeni ῼ +\accoxia{ } ´ +\<{ } ῾ +} + +\greekextended + +\noindent MakeUppercase: + +\MakeUppercase{\greekextended} + +\noindent MakeLowercase: + +\MakeLowercase{\greekextended} + +\end{document} diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/textalpha-doc.pdf b/Master/texmf-dist/doc/latex/greek-fontenc/textalpha-doc.pdf index 940651d0e2d..3967a2b8f36 100644 Binary files a/Master/texmf-dist/doc/latex/greek-fontenc/textalpha-doc.pdf and b/Master/texmf-dist/doc/latex/greek-fontenc/textalpha-doc.pdf differ diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/textalpha-doc.tex b/Master/texmf-dist/doc/latex/greek-fontenc/textalpha-doc.tex index 00163fdc15e..38c1d2e67e4 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/textalpha-doc.tex +++ b/Master/texmf-dist/doc/latex/greek-fontenc/textalpha-doc.tex @@ -2,73 +2,116 @@ \usepackage{parskip} \usepackage{booktabs} -\usepackage{lmodern} -\usepackage{textcomp} -\usepackage[LGR,T1]{fontenc} +\ifdefined \UnicodeEncodingName % set by LaTeX for Unicode-aware engines + % Setup for Unicode fonts (Xe-/LuaTeX) + \usepackage{fontspec} + \setmainfont{Linux Libertine O} + \setsansfont{Linux Biolinum O} + \newcommand*{\greekfontencoding}{TU} +\else + % Setup for 8-bit fonts (pdfTeX/LuaTeX) + % (XeTeX in compatibility mode would require inputenc hacks and is not + % reliable.) + \usepackage{lmodern} + \usepackage{textcomp} + \usepackage[LGR,T1]{fontenc} + \newcommand*{\greekfontencoding}{LGR} + \newcommand*{\latinencoding}{T1} + % UTF8 input encoding for pdfTeX or LuaTeX in 8-bit compatibility mode: + \usepackage[utf8]{luainputenc} +\fi -% UTF8 input encoding for pdfTeX or LuaTeX in 8-bit compatibility mode: -% (XeTeX in compatibility mode would require xetex-inputenc.sty, which is -% not at CTAN but on https://github.com/wspr/xetex-inputenc) -\usepackage[utf8]{luainputenc} \usepackage[pdfencoding=auto,colorlinks=true,linkcolor=blue]{hyperref} -\usepackage{bookmark} -% hyperrefs PU encoding supports Greek LICR macros -\DeclareTextCommand{\ensuregreek}{PU}[1]{#1} +% \usepackage{bookmark} +\makeatletter +\providecommand*{\href}{\@secondoftwo} +\providecommand*{\url}{\texttt} +\makeatother \usepackage[normalize-symbols, % comment option out to test error reporting keep-semicolon% ]{textalpha} +% compatibility defs: +\ProvideTextCommandDefault{\textvarstigma}{$\oslash$% + \message{Character textvarstigma not defined.}} +\ProvideTextCommand{\textvarstigma}{PU}{⌀} +\providecommand*{\accinvertedbrevebelow}{$\oslash$% + \message{Character accinvertedbrevebelow not defined.}} +\providecommand*{\accbrevebelow}{$\oslash$% + \message{Character accbrevebelow not defined.}} + + + \begin{document} \title{The \emph{textalpha} package} \author{Günter Milde} +\date{2020/10/30} + \maketitle \abstract{\noindent The \emph{textalpha} package enables the use of Greek characters -in text independent of font encoding or TeX engine. Input is possible via -text commands (\verb|\textalpha| \ldots +in text independent of font encoding or TeX engine.% +\footnote{ + This document was compiled using + \ifdefined \UTFencname % defined by fontspec + Unicode fonts (font encoding \latinencoding). + For a version using 8-bit fonts, see + \href{textalpha-doc.pdf}{textalpha-doc.pdf}. + \else + 8-bit fonts (font encoding \latinencoding). + For a version using Unicode fonts, see + \href{textalpha-tu.pdf}{textalpha-tu.pdf}. + \fi +} +Input is possible via text commands (\verb|\textalpha| \ldots \verb|\textOmega|) or Unicode literals\footnote{% Requires \emph{\href{http://www.ctan.org/pkg/greek-inputenc}{greek-inputenc}} or XeTeX/LuaTeX.}. } + \tableofcontents + \section{Usage} Load this package in the preamble of your document with \begin{verbatim} - \usepackage{textalpha} + \usepackage[]{textalpha} \end{verbatim} -eventually with options \texttt{normalize-symbols} and/or -\texttt{keep-semicolon}. - -If \emph{textalpha} is loaded after the setup of Unicode fonts with the -\href{http://www.ctan.org/pkg/fontspec}{\emph{fontspec}} package under -LuaTeX and XeTeX, it provides a compatible interface for Greek in text mode. - +to get a unified interface for Greek letters and symbols that works in all +text font encodings, with both, Unicode fonts and the +\href{http://www.ctan.org/pkg/fontspec}{\emph{fontspec}} package or 8-bit +fonts and the \href{http://www.ctan.org/pkg/fontenc}{\emph{fontenc}} +package. See the source of this document \url{textalpha-doc.tex} for a setup and usage example, the literate source of the package \href{textalpha.sty.html}{textalpha.sty} for the implementation, and -\href{tuenc-greek-doc.pdf}{tuenc-greek-doc.pdf} for +\href{test-tuenc-greek.pdf}{test-tuenc-greek.pdf} for \emph{Font setup for Greek with XeTeX/LuaTeX}. -\subsection{option \texttt{normalize-symbols}} +\subsection{Options} +\subsubsection{\texttt{normalize-symbols}} Mathematical notation uses variant shapes of some Greek letters as additional symbols. There are separate code points for the symbol variants in Unicode. TeX supports some of the variant shape symbols in mathematical -mode ($\theta|\vartheta, \phi|\varphi, \pi|\varpi, \rho|\varrho, -\epsilon|\varepsilon$) but not in the LGR font encoding used for Greek in -8-bit TeX. +mode +\[ + \theta|\vartheta, \phi|\varphi, \pi|\varpi, \rho|\varrho, + \epsilon|\varepsilon +\] +but not in the LGR font encoding used for Greek text +in 8-bit TeX. The variations have no syntactic meaning in Greek text and text fonts may use the variant shapes in place of the “regular” ones as a stylistic choice. -However, some Greek texts use these GREEK ... SYMBOL characters in place of +However, some Greek texts use these GREEK ... SYMBOL Unicode literals in place of the corresponding GREEK LETTER ... characters. The \texttt{normalize-symbols} option merges letters and symbols to Greek @@ -76,29 +119,26 @@ letters. This way, text copied from external sources can be compiled without errors even if it contains GREEK SYMBOL characters in place of GREEK LETTERS: \begin{quote} - This text uses both variants for beta (β|ϐ), theta (θ|ϑ), phi (φ|ϕ), pi - (π|ϖ), kappa (κ|ϰ), rho (ρ|ϱ), Theta (Θ|ϴ), and epsilon (ε|ϵ) in the LaTeX - source. - - \greekscript - This text uses both variants for beta (β|ϐ), theta (θ|ϑ), phi (φ|ϕ), pi - (π|ϖ), kappa (κ|ϰ), rho (ρ|ϱ), Theta (Θ|ϴ), and epsilon (ε|ϵ) in the LaTeX - source. + The source of this text uses both variants for beta (β|ϐ), theta (θ|ϑ), + phi (φ|ϕ), pi (π|ϖ), kappa (κ|ϰ), rho (ρ|ϱ), Theta (Θ|ϴ), and epsilon + (ε|ϵ) in the LaTeX source. \end{quote} +% +This option is ignored with Unicode fonts. -\textbf{Attention}: Do not use this option in cases where the distinction +\begin{description} + \item [Attention:] Do not use this option in cases where the distinction between the symbol variants may be important (e.g. in a mathematical or -scientific context). Try the \emph{alphabeta} package with the -respective characters in math mode or use XeTeX/LuaTeX with Unicode fonts in -these cases. +scientific context). Try the \href{alphabeta-doc.pdf}{alphabeta} package +with the respective characters in mathematical mode or use XeTeX/LuaTeX with +Unicode fonts in these cases. +\end{description} -This option is ignored with Unicode fonts. +\subsubsection{\texttt{keep-semicolon}} -\subsection{\texttt{keep-semicolon}} - -LGR is no ``standard font encoding''. Latin characters and some other ASCII -symbols are mapped to Greek ``equivalents'' if LGR is the active font -encoding. (See +LGR is no \href{http://mirrors.ctan.org/macros/latex/base/encguide.pdf}{standard text font encoding}. +Latin characters and some other ASCII symbols are mapped to Greek +``equivalents'' if LGR is the active font encoding. (See \href{http://mirrors.ctan.org/language/babel/contrib/greek/usage.pdf}{usage.pdf} for a description of this Latin-Greek transliteration.) @@ -106,7 +146,7 @@ Special care is required with the question mark characters: The LGR font encoding uses the Latin question mark as input for the \emph{erotimatiko} and maps the semicolon to a middle dot (\emph{ano teleia}). As a result, Unicode-encoded texts that use the semicolon as -\emph{erotimatiko} end up with an \emph{ano teleia} in its place! +\emph{erotimatiko} end up with an \emph{ano teleia} in its place! Without special care, only the deprecated character 037E GREEK QUESTION MARK% \footnote{The Unicode standard provides the code point 037E GREEK QUESTION MARK but says character 003B SEMICOLON and not 037E is the preferred @@ -116,8 +156,8 @@ works with both, Xe/LuaTeX and 8-bit TeX. The \verb|\textsemicolon| command inserts an \emph{erotimatiko} in LGR and a semicolon else (i.e. always a character that looks like a semicolon): \begin{quote} - Latin (T1) a\textsemicolon{} b, - Greek (LGR) \ensuregreek{a\textsemicolon{} b} + Latin (\latinencoding) a\textsemicolon{} b, + Greek (\greekfontencoding) \ensuregreek{a\textsemicolon{} b} \end{quote} With the \texttt{keep-semicolon} option, character 003B SEMICOLON can be used @@ -125,7 +165,7 @@ for the \emph{erotimatiko} also with LGR encoded fonts: \begin{center} \begin{tabular}{lll} - Latin (T1) & Greek (LGR) & question mark character \\ + Latin (\latinencoding) & Greek (\greekfontencoding) & question mark character \\ \midrule Τί φήις; & \ensuregreek{Τί φήις;} & 037E GREEK QUESTION MARK \\ Τί φήις; & \ensuregreek{Τί φήις;} & 003B SEMICOLON \\ @@ -133,7 +173,8 @@ for the \emph{erotimatiko} also with LGR encoded fonts: \end{tabular} \end{center} -This option is ignored with Unicode fonts. +This option is ignored with Unicode fonts (where the SEMICOLON literal +always prints a semicolon character). \section{Limitations \label{sec:limitations}} @@ -156,17 +197,24 @@ or XeTeX/LuaTeX with Unicode fonts. \subsection{Diacritics} +Accent macros do not work with Unicode literals as base character +under 8-bit LaTeX engines. Use the Latin transcription or LICR commands. + Composition of diacritics (like \verb|\accdasia\acctonos| or \verb|\<\'|) fails in other font encodings. Long names (like \verb|\accdasiaoxia|) work. -With LGR, pre-composed glyphs are chosen if available. In other font +With LGR and TU, pre-composed glyphs are chosen if available. In other font encodings, accent macros do not select pre-composed characters. (The difference is a sub-optimal placement of the accent and becomes obvious if you drag-and-drop text from the PDF version of this document.): \begin{quote} - \ensuregreek{\<'a \accdasia\acctonos a \accdasiaoxia a - \accdasiaoxia\textalpha} (LGR) vs. \accdasiaoxia\textalpha{} (T1). + \ensuregreek{\<'\textalpha + \accdasia\acctonos\textalpha + \accdasiaoxia\textalpha + \accdasiaoxia\textalpha + } (\greekfontencoding) + vs. \accdasiaoxia\textalpha{} (\latinencoding). \end{quote} According to Greek typographical tradition, diacritics (except the @@ -192,9 +240,9 @@ This fails for accent macros if the active font encoding does not support Greek. Pre-composed literal Unicode characters are handled correctly: \begin{quote} \begin{tabular}{ccc} - & LICR & Unicode \\ \hline - LGR & \ensuregreek{\'\textAlpha} & \ensuregreek{Ά} \\ - T1 & \'\textAlpha & Ά \\ + & LICR & Unicode \\ \hline + \greekfontencoding & \ensuregreek{\'\textAlpha} & \ensuregreek{Ά} \\ + \latinencoding & \'\textAlpha & Ά \\ \end{tabular} \end{quote} @@ -206,26 +254,32 @@ auto-hiatus feature works in LGR and TU font encodings only: \acctonos\textalpha\textupsilon{}, \acctonos\textepsilon\textiota{} $\mapsto$ \MakeUppercase{\ensuregreek{ \acctonos\textalpha\textupsilon{}, \acctonos\textepsilon\textiota{} - }} (LGR) vs. + }} (\greekfontencoding) vs. \MakeUppercase{ \acctonos\textalpha\textupsilon{}, \acctonos\textepsilon\textiota{}% - } (T1) + } (\latinencoding) \end{quote} -Currently, the second vowel of the diphthong must be given as macro, not -Unicode literal if the auto-hiatus feature should work: +Currently, the auto-hiatus feature should works only reliably with +LICR commands, not Unicode literals: \begin{quote} \ensuregreek{ἀ\textupsilon{}πνία} $\mapsto$ -\ensuregreek{\MakeUppercase{\ensuregreek{ἀ\textupsilon{}πνία}}} (LGR) vs. -\ensuregreek{\MakeUppercase{\ensuregreek{ἀυπνία}}} (T1). +\ensuregreek{\MakeUppercase{\ensuregreek{\accpsili{\textalpha}\textupsilon{}πνία}}} +(OK) + +\ensuregreek{ἀ\textupsilon{}πνία} $\mapsto$ +\ensuregreek{\MakeUppercase{\ensuregreek{ἀ\textupsilon{}πνία}}} (OK with LGR) + +\ensuregreek{ἀ\textupsilon{}πνία} $\mapsto$ +\ensuregreek{\MakeUppercase{\ensuregreek{ἀυπνία}}} (fail) \end{quote} \subsection{Kerning} -No kerning occurs between Greek characters in non-Greek text due to the -internal font encoding switch: compare -\ensuregreek{\textAlpha\textUpsilon\textAlpha} (LGR) to -\textAlpha\textUpsilon\textAlpha (T1). +With 8-bit fonts, no kerning occurs between Greek characters in non-Greek +text due to the internal font encoding switch: compare +\ensuregreek{\textAlpha\textUpsilon\textAlpha} (\greekfontencoding) to +\textAlpha\textUpsilon\textAlpha{} (\latinencoding). Compiling with LuaTeX provides kerning also on font encoding boundaries. @@ -233,52 +287,55 @@ Compiling with LuaTeX provides kerning also on font encoding boundaries. \subsection{Greek alphabet} -Greek letters via Latin transcription in LGR font encoding: +Greek letters via Latin transcription (works only in LGR font encoding): \begin{quote} - \ensuregreek{A B G D E Z H J I K L M N X O P R S T U F Q Y W}\\ \ensuregreek{a b g d e z h j i k l m n x o p r sv c t u f q y w} -\end{quote} -\smallskip\noindent -Greek letters via default macros in other font encoding (here T1): + \ensuregreek{A B G D E Z H J I K L M N X O P R S T U F Q Y W} +\end{quote} +% +Greek letters via default macros in the font for Latin script +(here \latinencoding): -\begin{quote} +\newcommand*{\greekAlphabetsample}{ \textAlpha{} \textBeta{} \textGamma{} \textDelta{} \textEpsilon{} \textZeta{} \textEta{} \textTheta{} \textIota{} \textKappa{} \textLambda{} \textMu{} \textNu{} \textXi{} \textOmicron{} \textPi{} \textRho{} \textSigma{} \textTau{} \textUpsilon{} \textPhi{} \textChi{} \textPsi{} \textOmega{} - \\ + } +\newcommand*{\greekalphabetsample}{ \textalpha{} \textbeta{} \textgamma{} \textdelta{} \textepsilon{} \textzeta{} \texteta{} \texttheta{} \textiota{} \textkappa{} \textlambda{} \textmu{} \textnu{} \textxi{} \textomicron{} \textpi{} \textrho{} \textsigma{} \textvarsigma{} \texttau{} \textupsilon{} \textphi{} \textchi{} \textpsi{} \textomega{} -\end{quote} +} +\begin{quote} + \greekalphabetsample -\smallskip\noindent + \greekAlphabetsample +\end{quote} +% Archaic Greek letters and Greek punctuation +\newcommand*{\archaicgreeksample}{ + \textdigamma \textDigamma{} + \textkoppa \textKoppa{} + \textqoppa \textQoppa{} + \textsampi \textSampi{} + \textstigma \textvarstigma \textStigma{} + \textanoteleia{} + \texterotimatiko{} + \textdexiakeraia{} + \textaristerikeraia{} +} + \begin{quote} - \textDigamma - \textanoteleia - \textQoppa - \textSampi - \textStigma - \textnumeralsigngreek - \texterotimatiko - \\ - \textdigamma - \textkoppa - \textqoppa - \textsampi - \textstigma - \textnumeralsignlowergreek - \textvarstigma + \archaicgreeksample \end{quote} - -\smallskip\noindent +% Diacritics \begin{quote} @@ -308,10 +365,10 @@ Diacritics \accpsilioxia{} \accpsilivaria{} % + Only in LGR: \accinvertedbrevebelow{} % == \textsubarch{} \accbrevebelow{} - \end{quote} \medskip\noindent @@ -328,6 +385,33 @@ This also works for the new-defined Dasia and Psili shortcuts: \end{tabbing} \end{quote} +\subsubsection{Sigma} + +The lower Sigma comes in two variants: \verb|\textsigma| \textsigma{} is +used inside a word and \verb|\textfinalsigma| \textfinalsigma{} (or +\verb|\textvarsigma| \textvarsigma{}) at the end of words. + +In LGR, the Latin letter \verb|s| and the command \verb|\textautosigma| +print the ``normal'' sigma if followed by another letter and the final sigma +if followed by space or punctuation. This is implemented via the font +ligature mechanism and works only in LGR: +\ensuregreek{\textautosigma\textautosigma} (\greekfontencoding) and +\textautosigma{}\textautosigma{} (\latinencoding). + +The upper case of both sigma variants is \verb|\textSigma|, the lower case +of Sigma is \verb|\textautosigma|. + +Test: (Unicode literal and \verb|\text...| commands in \greekfontencoding) + +σ \textsigma{} ς \textvarsigma{} \textfinalsigma{} \textautosigma{} lowercase + +\MakeUppercase{ +σ \textsigma{} ς \textvarsigma{} \textfinalsigma{} \textautosigma{}} MakeUppercase + +\ensuregreek{ΣΣ \textSigma\textSigma{}} uppercase + +\MakeLowercase{\ensuregreek{ΣΣ \textSigma\textSigma{}}} MakeLowercase + \subsection{Greek Unicode characters in non-Greek text} @@ -337,7 +421,8 @@ encoding \texttt{utf8}, Greek Unicode characters can be used in text with any font encoding. See Tables \ref{tab:greek-and-coptic} and \ref{tab:greek-extended}. -Kerning is preserved if the font encoding is LGR: \ensuregreek{AΫA} +Kerning is preserved if the active font encoding supports Greek: +\ensuregreek{AΫA} \begin{table}[tbp] \centerline{ @@ -358,7 +443,8 @@ Kerning is preserved if the font encoding is LGR: \ensuregreek{AΫA} \end{tabular} } % end centerline \caption{Greek and Coptic Unicode Block, input as literal Unicode - characters in T1 font encoding (legend: ◦ glyph missing in LGR).} + characters in \latinencoding{} font encoding + (legend: ◦ glyph missing in LGR).} \label{tab:greek-and-coptic} \end{table} @@ -389,13 +475,14 @@ Kerning is preserved if the font encoding is LGR: \ensuregreek{AΫA} \end{tabular} } % end centerline \caption{Greek Extended Unicode Block, input as literal Unicode -characters in T1 font encoding.} +characters in \latinencoding{} font encoding.} \label{tab:greek-extended} \end{table} Combined Diacritics work ᾅ, diacritics (except diaeresis) are dropped with MakeUppercase (μαΐστρος $\mapsto$ \MakeUppercase{μαΐστρος}). + \subsection{PDF strings} With \emph{textalpha} and @@ -411,4 +498,8 @@ transcription for the Greek word \ensuregreek{logos}. Check the table of contents in the PDF viewer: LICR macros and Unicode literals work fine, the Latin transcription remains Latin in the PDF metadata. +\subsubsection{\greekalphabetsample} +\subsubsection{\greekAlphabetsample} +\subsubsection{\archaicgreeksample} + \end{document} diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/textalpha-tu.pdf b/Master/texmf-dist/doc/latex/greek-fontenc/textalpha-tu.pdf new file mode 100644 index 00000000000..04ecaa1d01f Binary files /dev/null and b/Master/texmf-dist/doc/latex/greek-fontenc/textalpha-tu.pdf differ diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/textalpha.sty.html b/Master/texmf-dist/doc/latex/greek-fontenc/textalpha.sty.html index 48021df494c..3ff75859bdb 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/textalpha.sty.html +++ b/Master/texmf-dist/doc/latex/greek-fontenc/textalpha.sty.html @@ -621,7 +621,7 @@ version 1.3 of this license or any later version.

Identification
\NeedsTeXFormat{LaTeX2e}
 \ProvidesPackage{textalpha}
-[2020/09/25 1.0 macros for Greek letters in text]
+[2020/10/30 2.0 macros for Greek letters in text]
@@ -700,6 +700,12 @@ Don’t use \LastDeclaredEncoding.

2020-09-25

Also set \encodingdefault with \greekscript.

+

2.0

+

2020-10-30 +..

+

Load tuenc-greek.def with Xe/LuaTeX by default. +Load puenc-greek.def if used with hyperref.

+ @@ -717,8 +723,8 @@ Don’t use \LastDeclaredEncoding.

keep-semicolon

-
  • Font encodings

  • -
  • Symbol macros for breathings

  • +
  • Symbol macros for breathings

  • +
  • Font encodings

  • Default declarations

  • @@ -794,10 +800,10 @@ to ensure correct hyphenation of Greek text.

    are used, load it after fontspec and/or fontenc.

    For detailled examples see textalpha-doc.tex and textalpha-doc.pdf (8-bit TeX and XeTeX/LuaTeX in 8-bit compatibility mode) as well as -tuenc-greek-doc.tex and tuenc-greek-doc.pdf (XeTeX/LuaTeX with +test-tuenc-greek.tex and test-tuenc-greek.pdf (XeTeX/LuaTeX with Unicode fonts).

    With XeTeX or LuaTex, Unicode fonts and LGR encoded 8-bit fonts can be used -in the same document (see tuenc-greek-doc.tex).

    +in the same document (see test-tuenc-greek.tex).

    Implementation

    @@ -845,83 +851,92 @@ With XeTeX/LuaTeX and Unicode fonts, this option is ignored.

    \ProcessOptions\relax
    +
    +

    Symbol macros for breathings

    +

    In the Latin transcription provided by LGR, breathing accents (Dasia and +Psili) are input as < and >. Provide the corresponding NFSS macro accents. +(Used below for LGR, TU, and PU, if these font encodings are defined):

    +
    \newcommand{\textalpha@define@breathings}[1]{
    +  \DeclareTextCommand{\<}{#1}{\accdasia}
    +  \DeclareTextCommand{\>}{#1}{\accpsili}
    +  % Composite accents starting with the new-defined shortcuts:
    +  \DeclareTextCompositeCommand{\>}{#1}{'}{\accpsilioxia}
    +  \DeclareTextCompositeCommand{\>}{#1}{`}{\accpsilivaria}
    +  \DeclareTextCompositeCommand{\>}{#1}{~}{\accpsiliperispomeni}
    +  \DeclareTextCompositeCommand{\<}{#1}{'}{\accdasiaoxia}
    +  \DeclareTextCompositeCommand{\<}{#1}{`}{\accdasiavaria}
    +  \DeclareTextCompositeCommand{\<}{#1}{~}{\accdasiaperispomeni}
    +}
    +
    -

    Font encodings

    +

    Font encodings

    With 8-bit LaTeX, the LGR font encoding is used for Greek characters. If -no Greek-supporting font encoding (TU, EU1, EU2, or LGR) is declared, LGR is +no Greek-supporting font encoding (TU or LGR) is declared, LGR is loaded and set up as default Greek font encoding by this package.

    With XeTeX or LuaTeX, there is one common input and font encoding – Unicode. 8-bit TeX font encodings are only used in compatibility mode or for fonts not available otherwise. For compatibility with the LaTeX font -selection system, fontspec defines the TU font encoding or the (pseudo) -font encodings EU1 and EU2 for XeTeX and LuaTeX respectively. However +selection system, fontspec defines the TU font encoding. However fontspec does not define Greek LICR macros. We therefore explicitely load Greek LICR definitions for XeTeX/LuaTeX from tuenc-greek.def which in turn includes greek-fontenc.def.

    Ensure a Greek-supporting font encoding exists and supports Greek LICR macros:

      -
    • Load the Greek LICR definitions for Unicode if the font encoding TU, EU1, -or EU2 is detected.

    • -
    • If none of TU, EU1, EU2, or LGR is declared, load lgrenc.def.

    • +
    • Load the Greek LICR definitions for Unicode if the font encoding TU +is detected.

    • +
    • If none of TU or LGR is declared, load tuenc.def with +Xe/LuaTeX and lgrenc.def else.

    -
    \ifdefined \UTFencname % set by "fontspec.sty"
    +
    \ifdefined \UnicodeEncodingName % set by LaTeX for Unicode-aware engines
       \input{tuenc-greek.def}
    +  \textalpha@define@breathings{\UnicodeEncodingName}
     \else
    -  \@ifl@aded{def}{lgrenc}{
    -    % LGR already declared and set up
    -  }{
    +  \@ifl@aded{def}{lgrenc}{}{% else
         \input{lgrenc.def}
       }
    +  \textalpha@define@breathings{LGR}
    +  % Hiatus feature (see greek-fontenc.def and babel-greek (greek.ldf))
    +  \DeclareTextCompositeCommand{\<}{LGR}{^^9f}{\LGR@hiatus}
    +  \DeclareTextCompositeCommand{\>}{LGR}{^^9f}{\LGR@hiatus}
     \fi
    -

    The package hyperref defines the PU font encoding which also supports -(monotonic) Greek. It currently misses polytonic greek and the -\greekscript and \ensuregreek TextCommands:

    -
    \@ifl@aded{def}{puenc}
    -  {\ProvideTextCommand{\greekscript}{PU}{}
    -   \ProvideTextCommand{\ensuregreek}{PU}[1]{#1}
    -   \pdfstringdefDisableCommands{\let\TextOrMath\@firstoftwo}
    -  }
    -  {}
    -
    -
    -

    Symbol macros for breathings

    -

    In the Latin transcription provided by LGR, breathing accents (Dasia and -Psili) are input as < and >. We provide the corresponding NFSS macro accents -(moved here from greek-fontenc.def).

    -

    As Xe/LuaTeX may use LGR in combination with TU, we define the -macros twice, for LGR and Unicode font encodings (if they are defined):

    -
    \newcommand{\textalpha@define@breathings}[1]{
    -  \DeclareTextCommand{\<}{#1}{\accdasia}
    -  \DeclareTextCommand{\>}{#1}{\accpsili}
    -  % Composite accents starting with the new-defined shortcuts:
    -  \DeclareTextCompositeCommand{\>}{#1}{'}{\accpsilioxia}
    -  \DeclareTextCompositeCommand{\>}{#1}{`}{\accpsilivaria}
    -  \DeclareTextCompositeCommand{\>}{#1}{~}{\accpsiliperispomeni}
    -  \DeclareTextCompositeCommand{\<}{#1}{'}{\accdasiaoxia}
    -  \DeclareTextCompositeCommand{\<}{#1}{`}{\accdasiavaria}
    -  \DeclareTextCompositeCommand{\<}{#1}{~}{\accdasiaperispomeni}
    -}
    -
    -\@ifl@aded{def}{lgrenc}{
    +

    LGR may also be used in a document compiled with Xe/LuaTeX +(enables use of 8-bit TeX fonts and input via the Latin transcription). +Add setup for breathings:

    +
    \@ifl@aded{def}{lgrenc}{
       \textalpha@define@breathings{LGR}
       % Hiatus feature (see greek-fontenc.def and babel-greek (greek.ldf))
       \DeclareTextCompositeCommand{\<}{LGR}{^^9f}{\LGR@hiatus}
       \DeclareTextCompositeCommand{\>}{LGR}{^^9f}{\LGR@hiatus}
    -}{}
    -
    -\@ifl@aded{def}{tuenc-greek}{ % XeTeX or LuaTeX with Unicode fonts
    -  \textalpha@define@breathings{\UTFencname}
     }{}
    +

    The package hyperref defines the PU font encoding which also supports +(monotonic) Greek. It currently misses polytonic greek, archaic symbols, +and the \greekscript and \ensuregreek TextCommands:

    +
    \AtBeginDocument{
    +  \@ifl@aded{def}{puenc}{
    +    \makeatletter % required inside \AtBeginDocument
    +    \input{puenc-greek.def}
    +    \textalpha@define@breathings{PU}
    +    \pdfstringdefDisableCommands{\let\TextOrMath\@firstoftwo}
    +    \makeatother
    +  }{}
    +}
    +

    The package textcomp defines the TS1 font encoding with the MICRO SIGN +named \texmu. Provide the alias \textmicro:

    +
    \AtBeginDocument{
    +  \@ifl@aded{def}{ts1enc}{
    +    \DeclareTextSymbol{\textmicro}{TS1}{181} % micro sign
    +    \DeclareTextSymbolDefault{\textmicro}{TS1}
    +  }{}
    +}

    Default declarations

    The following definitions ensure that the Greek LICR macros can be used anywhere in the document also with 8-bit TeX by declaring LGR as their default font encoding. Abort here, if the LGR font encoding is not defined:

    -
    \@ifl@aded{def}{lgrenc}
    -  {}
    -% else return:
    -  {\expandafter\endinput}
    +
    \@ifl@aded{def}{lgrenc}{}{ % else return:
    +  \expandafter\endinput
    +}

    greekscript, ensuregreek

    The \greekscript declaration ensures the current font encoding supports @@ -947,8 +962,8 @@ However, the simpler alternative Unicode characters in the test document ``__: ``! You can't use a prefix with `end-group character }'.`` --> -

    Eventually, all font encodings supporting Greek script (e.g. LGI, PU, TU, -EU1, EU2) will declare \ensuregreek as text command that passes the +

    Eventually, all font encodings supporting Greek script (e.g. LGI, PU, TU) +will declare \ensuregreek as text command that passes the argument unchanged. This way, kerning and selection of precomposed glyphs would work also for cases like \ensuregreek{\'A}U.

    @@ -1019,9 +1034,10 @@ would work also for cases like

    Archaic letters:

    \DeclareTextSymbolDefault{\textstigma}{LGR}      % ϛ
     \DeclareTextSymbolDefault{\textstigmagreek}{LGR} % ϛ (puenc.def)
    -\DeclareTextSymbolDefault{\textvarstigma}{LGR}   % stigma variant
    -\DeclareTextSymbolDefault{\textkoppa}{LGR}       % ϟ (greek small letter koppa)
    +\DeclareTextSymbolDefault{\textvarstigma}{LGR}   % stigma variant (no separate Unicode character)
    +\DeclareTextSymbolDefault{\textkoppa}{LGR}       % ϟ Greek small letter koppa
     \DeclareTextSymbolDefault{\textkoppagreek}{LGR}  % ϟ (puenc.def)
    +\DeclareTextSymbolDefault{\textKoppa}{LGR}       % ϟ Greek letter koppa (numeral koppa)
     \DeclareTextSymbolDefault{\textqoppa}{LGR}       % ϙ (archaic koppa)
     \DeclareTextSymbolDefault{\textQoppa}{LGR}       % Ϙ (archaic Koppa)
     \DeclareTextSymbolDefault{\textStigma}{LGR}      % Ϛ ϹΤ ligature in some fonts
    diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/tuenc-greek-doc.pdf b/Master/texmf-dist/doc/latex/greek-fontenc/tuenc-greek-doc.pdf
    deleted file mode 100644
    index 5883ad163bd..00000000000
    Binary files a/Master/texmf-dist/doc/latex/greek-fontenc/tuenc-greek-doc.pdf and /dev/null differ
    diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/tuenc-greek-doc.tex b/Master/texmf-dist/doc/latex/greek-fontenc/tuenc-greek-doc.tex
    deleted file mode 100644
    index efd1f3e53cb..00000000000
    --- a/Master/texmf-dist/doc/latex/greek-fontenc/tuenc-greek-doc.tex
    +++ /dev/null
    @@ -1,869 +0,0 @@
    -\documentclass[a4paper]{article}
    -% \usepackage{textcomp}
    -\usepackage[unicode,colorlinks=true,linkcolor=blue]{hyperref}
    -\usepackage{bookmark}
    -% \usepackage{parskip}
    -\usepackage{booktabs}
    -\usepackage{amssymb}
    -
    -% It is possible to use 8-bit Greek text fonts in the LGR TeX font encoding
    -% also with XeTeX/LuaTeX, if the »fontenc« package is loaded before
    -% »fontspec« and »textalpha«:
    -\usepackage[LGR]{fontenc}
    -
    -% Unicode font setup:
    -\usepackage[tuenc]{fontspec}
    -% \setmainfont{DejaVu Serif}
    -% \setsansfont{DejaVu Sans}
    -% \usepackage{libertineotf}
    -\setmainfont{Linux Libertine O}
    -\setsansfont{Linux Biolinum O}
    -% \setmainfont{FreeSerif}%
    -% \setmainfont{Droid Sans}
    -
    -% Declare the font encoding and Greek LICR definitions:
    -\usepackage[normalize-symbols]{textalpha}
    -
    -\begin{document}
    -
    -\title{Font setup for Greek with XeTeX/LuaTeX}
    -\author{Günter Milde}
    -\maketitle
    -
    -\noindent The file \href{tuenc-greek.def.html}{tuenc-greek.def} provides
    -support for Greek \hyperref[licr]{LICR} macros and upcasing of text with
    -XeTeX and LuaTeX. It is automatically loaded by the
    -\href{textalpha-doc.pdf}{\emph{textalpha}} and
    -\href{alphabeta-doc.pdf}{\emph{alphabeta}} packages as well as
    -\href{http://www.ctan.org/pkg/babel-greek}{\emph{babel-greek}} when used
    -with Unicode fonts (LuaTeX or XeTeX with
    -\href{http://www.ctan.org/pkg/fontspec}{\emph{fontspec}}).
    -
    -\tableofcontents
    -
    -\section{Requirements}
    -
    -\subsection{fontspec}
    -  The \href{http://www.ctan.org/pkg/fontspec}{\emph{fontspec}} package sets
    -  up the TU Unicode font encoding for XeTeX and LuaTeX.  However, it does
    -  not provide Greek character names (\hyperref[licr]{LICR} macros).
    -
    -\subsection{suitable Unicode fonts}
    -With the XeTeX or LuaTeX engines, the user must ensure that the selected
    -font contains Greek glyphs (the default Latin Modern fonts have only capital
    -Greek letters).
    -There are no errors for missing glyphs, just warnings in the log file (but
    -not the console output) and empty spaces in the output document.
    -
    -Examples for suitable fonts are given in the
    -\href{http://mirrors.ctan.org/language/greek/greek-fontenc/README.html#TU}
    -{greek-fontenc README}.
    -
    -
    -\section{Usage}
    -
    -\texttt{tuenc-greek.def} is usually not loaded directly, but by one of
    -\href{textalpha-doc.pdf}{\emph{textalpha}},
    -\href{alphabeta-doc.pdf}{\emph{alphabeta}}, or \emph{Babel} (with the
    -language option \href{http://www.ctan.org/pkg/babel-greek}{greek}). If these
    -packages are loaded after
    -\href{http://www.ctan.org/pkg/fontspec}{\emph{fontspec}}, Unicode font setup
    -is amended for use of the Greek script.
    -
    -\section{LICR input%
    -	 \label{licr}}
    -
    -The LaTeX internal character representation (LICR) is a verbose,
    -fail-safe 7-bit ASCII encoding that can be used unaltered under both, 8-bit
    -TeX and XeTeX/LuaTeX. Use cases are macro definitions and generated text.
    -
    -See the source of this document,
    -\href{tuenc-greek-doc.tex}{\texttt{tuenc-greek-doc.tex}} for the input used
    -in the examples below.
    -
    -\subsection{Greek alphabet}
    -
    -Greek letters via LICR macros:
    -\begin{quote}
    -  \textAlpha{} \textBeta{} \textGamma{} \textDelta{} \textEpsilon{}
    -  \textZeta{} \textEta{} \textTheta{} \textIota{} \textKappa{}
    -  \textLambda{} \textMu{} \textNu{} \textXi{} \textOmicron{} \textPi{}
    -  \textRho{} \textSigma{} \textTau{} \textUpsilon{} \textPhi{}
    -  \textChi{} \textPsi{} \textOmega{}
    -
    -  \textalpha{} \textbeta{} \textgamma{} \textdelta{} \textepsilon{}
    -  \textzeta{} \texteta{} \texttheta{} \textiota{} \textkappa{}
    -  \textlambda{} \textmu{} \textnu{} \textxi{} \textomicron{} \textpi{}
    -  \textrho{} \textsigma{} \texttau{} \textupsilon{}
    -  \textphi{} \textchi{} \textpsi{} \textomega{}
    -\end{quote}
    -The small sigma is set with a different
    -glyph if it ends a word:
    -\begin{quote}
    -  \textsigma{}       \verb|textsigma|\\
    -  \textfinalsigma{}  \verb|textfinalsigma| or \verb|textvarsigma|
    -\end{quote}
    -The \verb|\textautosigma| macro, which automatically chooses the
    -glyph according to the position, is not implemented for Unicode fonts.
    -
    -\subsection{Diacritics}
    -
    -Greek diacritics can be input by named macro or symbol macro:
    -\begin{quote}
    -  \acctonos\textalpha       \'\textalpha{}  \acctonos       x\'x
    -  \accvaria\textalpha       \`\textalpha{}  \accvaria       x\`x
    -  \accdialytika\textiota    \"\textiota{}   \accdialytika   x\"x
    -  \accperispomeni\textalpha \~\textalpha{}  \accperispomeni x\~x
    -  \accpsili\textalpha       \>\textalpha{}  \accpsili       x\>x
    -  \accdasia\textalpha       \<\textalpha{}  \accdasia       x\α
    -  \accdasia α       \<α
    -\end{quote}
    -
    -
    -\subsubsection{perispomeni vs. tilde}
    -
    -The Greek \emph{perispomeni} has the look of a tilde but the semantic
    -of a circumflex accent.
    -The ``named'' \verb|\accperispomeni| macro uses COMBINING GREEK PERISPOMENI,
    -while the standard tilde-accent macro \verb|\~| uses the COMBINING TILDE
    -which is not normalized to GREEK LETTER ... WITH PERISPOMENI
    -characters.
    -
    -Composite definitions for \verb|\~| select the pre-composed character:
    -
    -\begin{quote}
    -  \~α = ᾶ, \~η = ῆ, \~ι = ῖ, \~υ = ῦ, \~ω = ῶ
    -\end{quote}
    -
    -
    -\subsubsection{combined diacritics}
    -
    -Combined accents are defined using combining diacritical characters.
    -
    -\begin{quote}
    -\accdialytikatonos\textiota{}     \"'\textiota{} \"\'\textiota{}
    -\accdialytikatonos x              \"'x           \"\'x
    -\accdialytikavaria\textiota{}     \"`\textiota{} \"\`\textiota{}
    -\accdialytikavaria x              \"`x           \"\`x
    -\accdialytikaperispomeni\textiota{} \~"\textiota{} \~\"\textiota{}
    -\accdialytikaperispomeni x        \~"x           \~\"x
    -
    -\accdasiaoxia\textiota{}          \<'\textiota{} \<\'\textiota{}
    -\accdasiaoxia x                   \<'x           \<\'x
    -\accdasiavaria\textiota{}         \<`\textiota{} \<\`\textiota{}
    -\accdasiavaria x                  \<`x           \<\`x
    -\accdasiaperispomeni\textiota{}   \~<\textiota{} \~\<\textiota{}
    -\accdasiaperispomeni x            \~'\textiota{} \>\'\textiota{}
    -\accpsilioxia x                   \>'x           \>\'x
    -\accpsilivaria\textiota{}         \>`\textiota{} \>\`\textiota{}
    -\accpsilivaria x                  \>`x           \>\`x
    -\accpsiliperispomeni\textiota{}   \~>\textiota{} \~\>\textiota{}
    -\accpsiliperispomeni x            \~>x           \~\>x
    -\end{quote}
    -Composite diacritics overlap when they are not normalized to a pre-composed
    -character. However, this is not a major problem in normal use as
    -pre-composed characters exist in Unicode for all letters that are
    -used with diacritics in (ancient, polytonic or monotonoc) Greek.
    -
    -
    -\subsubsection{sub-iota}
    -
    -The sub-iota (ypogegrammeni/prosgegrammeni) is input after the base letter.
    -
    -\begin{itemize}
    -\item \verb|\prosgegrammeni| sets a spacing GREEK PROSGEGRAMMENI:
    -  \textAlpha\prosgegrammeni{} K\prosgegrammeni{}.
    -\item \verb|\ypogegrammeni| sets a COMBINING GREEK YPOGEGRAMMENI:
    -  \textalpha\ypogegrammeni{} k\ypogegrammeni{}.
    -
    -A Greek capital letter followed by COMBINING GREEK YPOGEGRAMMENI is
    -normalized to the corresponding Greek capital letter WITH [.. AND]
    -PROSGEGRAMMENI, if a mapping exists in the Unicode standard:
    - \textAlpha\ypogegrammeni{} but
    - K\ypogegrammeni{}.
    -\end{itemize}
    -
    -\textAlpha\ypogegrammeni \textAlpha\prosgegrammeni
    -\MakeLowercase{\textAlpha\ypogegrammeni \textAlpha\prosgegrammeni}
    -\MakeUppercase{\textAlpha\ypogegrammeni \textAlpha\prosgegrammeni}
    -
    -\textLambda\ypogegrammeni \textLambda\prosgegrammeni
    -\MakeLowercase{\textLambda\ypogegrammeni \textLambda\prosgegrammeni}
    -\MakeUppercase{\textLambda\ypogegrammeni \textLambda\prosgegrammeni}
    -
    -\textalpha\ypogegrammeni \textalpha\prosgegrammeni
    -\MakeLowercase{\textalpha\ypogegrammeni \textalpha\prosgegrammeni}
    -\MakeUppercase{\textalpha\ypogegrammeni \textalpha\prosgegrammeni}
    -
    -
    -\subsection{Additional Greek symbols}
    -
    -\subsubsection{symbols for Greek numbers}
    -
    -\begin{quote}
    -\textkoppa{}      textkoppa                 \\ % ϟ
    -\textKoppa{}      textKoppa                 \\ % Ϟ
    -\textqoppa{}      textqoppa (archaic koppa) \\ % ϙ
    -\textQoppa{}      textQoppa (archaic Koppa) \\ % Ϙ
    -\textstigma{}     textstigma                \\ % ϛ
    -% \textvarstigma{}  textvarstigma \\ % no separate Unicode character
    -\textStigma{}     textStigma (Sigma-Tau-Ligature in CB-fonts)%
    -\footnote{the name “stigma” originally applied to a medieval sigma-tau
    -         ligature, whose shape was confusingly similar to the cursive
    -         digamma}                      \\ % Ϛ
    -\textsampi{}      textsampi  \\ % ϡ
    -\textSampi{}      textSampi  \\ % Ϡ
    -\textdigamma{}    textdigamma  \\ % ϝ (\digamma used by amsmath!)
    -\textDigamma{}    textDigamma  \\ % Ϝ
    -% numeral signs: http://en.wikipedia.org/wiki/Greek_numerals
    -\textdexiakeraia{}    textdexiakeraia  \\ % ʹ
    -\textaristerikeraia{} textaristerikeraia \\ % ͵
    -\end{quote}
    -
    -\subsubsection{symbol variants}
    -
    -Mathematical notation uses variant shapes of some Greek letters as
    -additional symbols. The variations have no syntactic meaning in Greek text
    -and text fonts may use the variant shapes in place of the “regular” ones as
    -a stylistic choice.
    -
    -Unicode defines separate code points for the symbol variants. TeX supports
    -some of the variant shape symbols in mathematical mode, but its concept of
    -“standard” vs. “variant” symbols differs from the distinction between
    -“GREEK LETTER ...” vs. “GREEK ... SYMBOL” in the Unicode standard (see
    -Table \ref{tab:symbol-variants}).
    -
    -\begin{table}[tbp]
    -  \centering
    -  \begin{tabular}{cccc}
    -  \hline
    -  \multicolumn{2}{c}{TeX math} & \multicolumn{2}{c}{Unicode} \\
    -  symbol & var symbol & “letter” & “symbol” \\
    -  \hline
    -  $\pi$      & $\varpi$       & π & ϖ \\
    -  $\rho$     & $\varrho$      & ρ & ϱ \\
    -  $\theta$   & $\vartheta$    & θ & ϑ \\
    -  \hline
    -  $\epsilon$ & $\varepsilon$  & ε & ϵ \\
    -  $\phi$     & $\varphi$      & φ & ϕ \\
    -  \hline
    -  $\beta$    & \emph{missing} & β & ϐ \\
    -  $\kappa$   & \emph{missing} & κ & ϰ \\
    -  $\Theta$   & \emph{missing} & Θ & ϴ \\
    -  \hline
    -  \end{tabular}
    -  \caption{Greek symbol variants in TeX and Unicode}
    -  \label{tab:symbol-variants}
    -\end{table}
    -
    -\texttt{tuenc-greek.def} defines three TextCommands for each of these
    -letters:
    -\begin{quote}
    -  \verb|\text| selects the Unicode GREEK LETTER ... variant,
    -
    -  \verb|\textsymbol| selects the Unicode
    -     GREEK ... SYMBOL variant,
    -
    -  \verb|\textvar| selects the variant
    -    shape according to TeX' mathematical mode
    -\end{quote}
    -See Table \ref{tab:symbol-variant-macros} for the full list. The
    -\href{alphabeta-doc.pdf}{\emph{alphabeta}} package defines short macros that
    -work in text and math mode.
    -
    -\begin{table}[tbp]
    -  \centering
    -  \begin{tabular}{lclc}
    -  \hline
    -  \multicolumn{2}{c}{text} & \multicolumn{2}{c}{mathematics} \\
    -  macro & output & macro & output \\
    -  \hline
    -  \verb$\textpi$            & \textpi            & \verb$\pi$         & $\pi$         \\
    -  \verb$\textvarpi$         & \textvarpi         & \verb$\varpi$      & $\varpi$      \\
    -  \verb$\textpisymbol$      & \textpisymbol      &                    & \\
    -  \hline
    -  \verb$\textrho$           & \textrho           & \verb$\rho$        & $\rho$        \\
    -  \verb$\textvarrho$        & \textvarrho        & \verb$\varrho$     & $\varrho$     \\
    -  \verb$\textrhosymbol$     & \textrhosymbol     &                    & \\
    -  \hline
    -  \verb$\texttheta$         & \texttheta         & \verb$\theta$      & $\theta$      \\
    -  \verb$\textvartheta$      & \textvartheta      & \verb$\vartheta$   & $\vartheta$   \\
    -  \verb$\textthetasymbol$   & \textthetasymbol   &                    & \\
    -  \hline
    -  \verb$\textepsilon$       & \textepsilon       & \verb$\epsilon$    & $\epsilon$    \\
    -  \verb$\textvarepsilon$    & \textvarepsilon    & \verb$\varepsilon$ & $\varepsilon$ \\
    -  \verb$\textepsilonsymbol$ & \textepsilonsymbol &                    & \\
    -  \hline
    -  \verb$\textphi$           & \textphi           & \verb$\phi$        & $\phi$        \\
    -  \verb$\textvarphi$        & \textvarphi        & \verb$\varphi$     & $\varphi$     \\
    -  \verb$\textphisymbol$     & \textphisymbol     &                    & \\
    -  \hline
    -  \verb$\textbeta$          & \textbeta          & \verb$\beta$       & $\beta$       \\
    -  \verb$\textvarbeta$       & \textvarbeta       & \emph{missing}     & \\
    -  \verb$\textbetasymbol$    & \textbetasymbol    &                    & \\
    -  \hline
    -  \verb$\textkappa$         & \textkappa         & \verb$\kappa$      & $\kappa$      \\
    -  \verb$\textvarkappa$      & \textvarkappa      & \verb$\varkappa$   & $\varkappa$   \\
    -  \verb$\textkappasymbol$   & \textkappasymbol   &                    & \\
    -  \hline
    -  \verb$\textTheta$         & \textTheta         & \verb$\Theta$      & $\Theta$      \\
    -  \verb$\textvarTheta$      & \textvarTheta      & \emph{missing}     & \\
    -  \verb$\textThetasymbol$   & \textThetasymbol   &                    & \\
    -  \hline
    -  \end{tabular}
    -  \caption{Macros for Greek symbol variants}
    -  \label{tab:symbol-variant-macros}
    -\end{table}
    -
    -\subsubsection{Ancient Greek Numbers}
    -
    -Ancient Greek Numbers are missing in most fonts (including Libertine and
    -Deja Vu). The “FreeSerif” font works fine:
    -\begin{quote}
    -\textpentedeka    % GREEK ACROPHONIC ATTIC FIFTY
    -\textpentehekaton % GREEK ACROPHONIC ATTIC FIVE HUNDRED
    -\textpenteqilioi  % GREEK ACROPHONIC ATTIC FIVE THOUSAND
    -\textpentemuria   % GREEK ACROPHONIC ATTIC FIFTY THOUSAND
    -\end{quote}
    -If the LGR font encoding is loaded via «fontenc» in the document preamble,
    -Ancient Greek Numbers (as well as any other character) from LGR encoded
    -8-bit TeX fonts can be used after a font-encoding switch. babel-greek
    -defines the \verb|\textgreek| command for this purpose.
    -\providecommand*{\textgreek}[1]{\leavevmode{%
    -  \fontfamily{cmr}\fontencoding{LGR}\selectfont#1}%
    -}
    -\begin{quote}
    -\textgreek{
    -\textpentedeka    % GREEK ACROPHONIC ATTIC FIFTY
    -\textpentehekaton % GREEK ACROPHONIC ATTIC FIVE HUNDRED
    -\textpenteqilioi  % GREEK ACROPHONIC ATTIC FIVE THOUSAND
    -\textpentemuria   % GREEK ACROPHONIC ATTIC FIFTY THOUSAND
    -}
    -\end{quote}
    -
    -\section{Latin transcription}
    -
    -The Latin transcription known from LGR encoded 8-bit fonts%
    -\footnote{ See the \href{http://www.ctan.org/pkg/teubner}{teubner} package
    -or the file usage.pdf from the
    -\href{http://www.ctan.org/pkg/babel-greek}{\emph{babel-greek}} package for a
    -description.}
    -does not work with Unicode fonts.
    -
    -It is possible to set up LGR encoded fonts parallel to Unicode fonts (see
    -the preamble of the source file \url{tuenc-greek-doc.tex} for an example).
    -The \verb|\textgreek| macro can then be used for the input of Greek letters
    -via the \emph{Latin transcription}, e.g. «logos» becomes «\textgreek{logos}»
    -and «\verb|\>aupn\'ia|» becomes «\textgreek{\>aupn\'ia}».
    -
    -Mark that you cannot use Unicode input with LGR encoded fonts except when
    -running in 8-bit compatibility mode.
    -LICR macros work in both, Unicode font encoding and LGR: compare
    -           \>\textIota\textalpha\textnu\textomicron\textupsilon\textalpha
    -           \textrho\acctonos\textiota\textomicron\textupsilon{}
    -(Unicode font set up via fontspec) vs.
    -\textgreek{\>\textIota\textalpha\textnu\textomicron\textupsilon\textalpha
    -           \textrho\acctonos\textiota\textomicron\textupsilon}
    -(LGR-encoded 8-bit font set up via NFSS commands).
    -
    -
    -\section{UPPERCASE and lowercase}
    -
    -Capital Greek letters have Greek diacritics (except the dialytika and
    -sub-iota) to the left (instead of above) and drop them if text is set in
    -UPPERCASE, e.g.
    -\ensuregreek{μαΐστρος $\mapsto$ \MakeUppercase{μαΐστρος}}.
    -
    -The uccode/lccode corrections (taken from Apostolos Syropoulos xgreek
    -package) ensure dropping of accents with \verb|\MakeUppercase| for literal
    -Unicode characters.
    -
    -@uclclist additions ensure that upcasing also drops Greek diacritics.
    -However, when the tonos, varia, and perispomeni accents
    -are input using the symbol macros (\verb|\' \` \~|), this does not work, as
    -they cannot be distinguished from Latin acute, grave, and tilde accents.%
    -\footnote{This might be fixed with \textbackslash accACUTE,
    -          \textbackslash accGRAVE, and  \textbackslash accTILDE definitions
    -          with corresponding @uclclist entries and composite definitions.}
    -If these accents should be dropped by MakeUppercase, they must be input as
    -named macro:
    -
    -\begin{quote}
    -\acctonos\textalpha       \'\textalpha{}  \acctonos a\'a
    -\accvaria\textalpha       \`\textalpha{}  \accvaria a\`a
    -$\mapsto$
    -\MakeUppercase{
    -\acctonos\textalpha       \'\textalpha{}  \acctonos a\'a
    -\accvaria\textalpha       \`\textalpha{}  \accvaria a\`a
    -}
    -\end{quote}
    -
    -\subsubsection{hiatus}
    -
    -Tonos and dasia mark a \emph{hiatus} (break-up of a diphthong) if placed on
    -the first vowel of a diphtong (άι, άυ, έι, ἄι, ἄυ, ἔι). A dialytika must be
    -placed on the second vowel if they are dropped.
    -
    -The «hiatus» feature works with macro input:
    -\begin{quote}
    -  % from teubner: άυλος/ΑΫΛΟΣ
    -  \acctonos\textalpha\textupsilon λος $\mapsto$
    -  \MakeUppercase{\acctonos\textalpha\textupsilon λος},
    -  \accpsilioxia\textalpha\textupsilon λος $\mapsto$
    -  \MakeUppercase{\accpsilioxia\textalpha\textupsilon λος},
    -
    -  % from http://diacritics.typo.cz/index.php?id=69  μάινα -> ΜΑΪΝΑ
    -  m\acctonos\textalpha\textiota να $\mapsto$
    -  \MakeUppercase{m\acctonos\textalpha\textiota να},
    -  % from  http://de.wikipedia.org/wiki/Neugriechische_Orthographie#Das_Trema
    -  % κέικ, ἀυπνία/αϋπνία
    -  \textkappa\acctonos\textepsilon\textiota\textkappa $\mapsto$
    -  \MakeUppercase{\textkappa\acctonos\textepsilon\textiota\textkappa},
    -  \accpsili\textalpha\textupsilon πνία $\mapsto$
    -  \MakeUppercase{\accpsili\textalpha\textupsilon πνία}.
    -\end{quote}
    -
    -It does not work with Unicode literals:
    -\begin{quote}
    -  άι, άυ, έι, ἄι, ἄυ, ἔι $\mapsto$ \MakeUppercase{άι, άυ, έι, ἄι, ἄυ, ἔι}
    -\end{quote}
    -
    -or accent-macro + Unicode literals (yet?):
    -\begin{quote}
    -  \acctonos αι, \acctonos αυ, \acctonos ει, \'>αι, \'>αυ, \'>ει
    -  $\mapsto$
    -  \MakeUppercase{\acctonos αι, \acctonos αυ, \acctonos ει, \'>αι, \'>αυ, \'>ει}
    -\end{quote}
    -
    -\section{Character Tables}
    -
    -The following tables list the Greek Unicode characters. In the input, the
    -LICR macro is followed by the corresponding literal Unicode character.
    -
    -\subsection{Greek and Coptic Unicode block}
    -
    -Seldom used characters that are not part of LGR encoded TeX fonts have no
    -LICR definition:
    -
    -\newcommand{\greekandcoptic}{
    -% NR    Unicode Name                                       %   babel name, UCS name
    -% 0370  GREEK CAPITAL LETTER HETA                          % Ͱ
    -% 0371  GREEK SMALL LETTER HETA                            % ͱ
    -% 0372  GREEK CAPITAL LETTER ARCHAIC SAMPI                 % Ͳ
    -% 0373  GREEK SMALL LETTER ARCHAIC SAMPI                   % Ͳ
    -\textnumeralsigngreek ʹ % \anwtonos, \textdexiakeraia
    -\textnumeralsignlowergreek ͵ % \katwtonos, \textaristerikeraia,
    -% 0376  GREEK CAPITAL LETTER PAMPHYLIAN DIGAMMA            % Ͷ
    -% 0377  GREEK SMALL LETTER PAMPHYLIAN DIGAMMA              % ͷ
    -{ }\ypogegrammeni ͺ % \textsubiota{\empty}
    -% 037B  GREEK SMALL REVERSED LUNATE SIGMA SYMBOL           %
    -% 037C  GREEK SMALL DOTTED LUNATE SIGMA SYMBOL             %
    -% 037D  GREEK SMALL REVERSED DOTTED LUNATE SIGMA SYMBOL    %
    -\texterotimatiko ; % \textquestion
    -
    -\acctonos{ } % ΄
    -\"'{ } % ΅
    -\'\textAlpha Ά
    -\textanoteleia · % \anoteleia
    -\'\textEpsilon Έ
    -\'\textEta Ή
    -\'\textIota Ί
    -\'\textOmicron Ό
    -\'\textUpsilon Ύ
    -\'\textOmega Ώ
    -
    -\'"\textiota ΐ
    -\textAlpha Α
    -\textBeta Β
    -\textGamma Γ
    -\textDelta Δ
    -\textEpsilon Ε
    -\textZeta Ζ
    -\textEta Η
    -\textTheta Θ
    -\textIota Ι
    -\textKappa Κ
    -\textLambda Λ
    -\textMu Μ
    -\textNu Ν
    -\textXi Ξ
    -\textOmicron Ο
    -
    -\textPi Π
    -\textRho Ρ
    -\textSigma Σ
    -\textTau Τ
    -\textUpsilon Υ
    -\textPhi Φ
    -\textChi Χ
    -\textPsi Ψ
    -\textOmega Ω
    -\"\textIota Ϊ
    -\"\textUpsilon Ϋ
    -\'\textalpha ά
    -\'\textepsilon έ
    -\'\texteta ή
    -\'\textiota ί
    -
    -\"'\textupsilon ΰ
    -\textalpha α
    -\textbeta β
    -\textgamma γ
    -\textdelta δ
    -\textepsilon ε
    -\textzeta ζ
    -\texteta η
    -\texttheta θ
    -\textiota ι
    -\textkappa κ
    -\textlambda λ
    -\textmu μ % \textmugreek
    -\textnu ν
    -\textxi ξ
    -\textomicron ο
    -
    -\textpi π
    -\textrho ρ
    -\textvarsigma ς
    -\textsigma σ
    -\texttau τ
    -\textupsilon υ
    -\textphi φ
    -\textchi χ
    -\textpsi ψ
    -\textomega ω
    -\"\textiota ϊ
    -\"\textupsilon ϋ
    -\'\textomicron ό
    -\'\textupsilon ύ
    -\'\textomega ώ
    -
    -\textbetasymbol ϐ
    -\textthetasymbol ϑ
    -ϒ ϓ ϔ
    -\textphisymbol ϕ
    -\textpisymbol ϖ %ϗ
    -
    -\textQoppa Ϙ
    -\textqoppa ϙ
    -\textStigma Ϛ
    -\textstigma ϛ
    -\textDigamma Ϝ
    -\textdigamma ϝ
    -\textKoppa Ϟ % \textKoppagreek
    -\textkoppa ϟ % \koppa, \textqoppa [sic!]
    -
    -\textSampi Ϡ
    -\textsampi ϡ
    -
    -% Ϣ ϣ Ϥ ϥ Ϧ ϧ Ϩ ϩ Ϫ ϫ Ϭ ϭ Ϯ ϯ
    -
    -ϰ ϱ ϲ
    -% ϳ
    -ϴ ϵ ϶
    -% Ϸ ϸ
    -Ϲ
    -% Ϻ ϻ ϼ
    -Ͻ Ͼ Ͽ
    -}
    -
    -\greekandcoptic
    -
    -\noindent MakeUppercase:
    -
    -\MakeUppercase{\greekandcoptic}
    -
    -\noindent MakeLowercase:
    -
    -\MakeLowercase{\greekandcoptic}
    -
    -The lowercase of Σ is σ (GREEK SMALL LETTER SIGMA).\footnote{%
    -With LICRs, it is \texttt{\textbackslash textautosigma}.}
    -The lowercase of Ϛ (GREEK LETTER STIGMA) is ϛ (GREEK SMALL LETTER STIGMA).
    -
    -
    -\subsection{Greek Extended Unicode block}
    -
    -Note: There are no LICR definitions for spacing diacritical characters.
    -
    -% \accvaria\textalpha    ὰ
    -% \accoxia\textalpha    ά
    -
    -\medskip
    -
    -\newcommand{\greekextended}{
    -\>\textalpha   ἀ
    -\<\textalpha   ἁ
    -\>`\textalpha  ἂ
    -\<`\textalpha  ἃ
    -\>'\textalpha  ἄ
    -\<'\textalpha  ἅ
    -\~>\textalpha  ἆ
    -\~<\textalpha  ἇ
    -\>\textAlpha   Ἀ
    -\<\textAlpha   Ἁ
    -\>`\textAlpha  Ἂ
    -\<`\textAlpha  Ἃ
    -\>'\textAlpha  Ἄ
    -\<'\textAlpha  Ἅ
    -\~>\textAlpha  Ἆ
    -\~<\textAlpha  Ἇ
    -
    -\>\textepsilon   ἐ
    -\<\textepsilon   ἑ
    -\>`\textepsilon  ἒ
    -\<`\textepsilon  ἓ
    -\>'\textepsilon  ἔ
    -\<'\textepsilon  ἕ
    -\>\textEpsilon   Ἐ
    -\<\textEpsilon   Ἑ
    -\>`\textEpsilon  Ἒ
    -\<`\textEpsilon  Ἓ
    -\>'\textEpsilon  Ἔ
    -\<'\textEpsilon  Ἕ
    -
    -\>\texteta   ἠ
    -\<\texteta   ἡ
    -\>`\texteta  ἢ
    -\<`\texteta  ἣ
    -\>'\texteta  ἤ
    -\<'\texteta  ἥ
    -\~>\texteta  ἦ
    -\~<\texteta  ἧ
    -\>\textEta   Ἠ
    -\<\textEta   Ἡ
    -\>`\textEta  Ἢ
    -\<`\textEta  Ἣ
    -\>'\textEta  Ἤ
    -\<'\textEta  Ἥ
    -\~>\textEta  Ἦ
    -\~<\textEta  Ἧ
    -
    -\>\textiota   ἰ
    -\<\textiota   ἱ
    -\>`\textiota  ἲ
    -\<`\textiota  ἳ
    -\>'\textiota  ἴ
    -\<'\textiota  ἵ
    -\~>\textiota  ἶ
    -\~<\textiota  ἷ
    -\>\textIota   Ἰ
    -\<\textIota   Ἱ
    -\>`\textIota  Ἲ
    -\<`\textIota  Ἳ
    -\>'\textIota  Ἴ
    -\<'\textIota  Ἵ
    -\~>\textIota  Ἶ
    -\~<\textIota  Ἷ
    -
    -\>\textomicron   ὀ
    -\<\textomicron   ὁ
    -\>`\textomicron  ὂ
    -\<`\textomicron  ὃ
    -\>'\textomicron  ὄ
    -\<'\textomicron  ὅ
    -\>\textOmicron   Ὀ
    -\<\textOmicron   Ὁ
    -\>`\textOmicron  Ὂ
    -\<`\textOmicron  Ὃ
    -\>'\textOmicron  Ὄ
    -\<'\textOmicron  Ὅ
    -
    -\>\textupsilon   ὐ
    -\<\textupsilon   ὑ
    -\>`\textupsilon  ὒ
    -\<`\textupsilon  ὓ
    -\>'\textupsilon  ὔ
    -\<'\textupsilon  ὕ
    -\~>\textupsilon  ὖ
    -\~<\textupsilon  ὗ
    -\<\textUpsilon   Ὑ
    -\<`\textUpsilon  Ὓ
    -\<'\textUpsilon  Ὕ
    -\~<\textUpsilon  Ὗ
    -
    -\>\textomega   ὠ
    -\<\textomega   ὡ
    -\>`\textomega  ὢ
    -\<`\textomega  ὣ
    -\>'\textomega  ὤ
    -\<'\textomega  ὥ
    -\~>\textomega  ὦ
    -\~<\textomega  ὧ
    -\>\textOmega   Ὠ
    -\<\textOmega   Ὡ
    -\>`\textOmega  Ὢ
    -\<`\textOmega  Ὣ
    -\>'\textOmega  Ὤ
    -\<'\textOmega  Ὥ
    -\~>\textOmega  Ὦ
    -\~<\textOmega  Ὧ
    -
    -\accvaria\textalpha    ὰ
    -\accoxia\textalpha    ά
    -\accvaria\textepsilon  ὲ
    -\accoxia\textepsilon  έ
    -\accvaria\texteta      ὴ
    -\accoxia\texteta      ή
    -\accvaria\textiota     ὶ
    -\accoxia\textiota     ί
    -\accvaria\textomicron  ὸ
    -\accoxia\textomicron  ό
    -\accvaria\textupsilon  ὺ
    -\accoxia\textupsilon  ύ
    -\accvaria\textomega    ὼ
    -\accoxia\textomega    ώ
    -
    -\>\textalpha\ypogegrammeni    ᾀ
    -\<\textalpha\ypogegrammeni    ᾁ
    -\>`\textalpha\ypogegrammeni   ᾂ
    -\<`\textalpha\ypogegrammeni   ᾃ
    -\>'\textalpha\ypogegrammeni   ᾄ
    -\<'\textalpha\ypogegrammeni   ᾅ
    -\~>\textalpha\ypogegrammeni   ᾆ
    -\~<\textalpha\ypogegrammeni   ᾇ
    -\>\textAlpha\ypogegrammeni   ᾈ
    -\<\textAlpha\ypogegrammeni   ᾉ
    -\>`\textAlpha\ypogegrammeni  ᾊ
    -\<`\textAlpha\ypogegrammeni  ᾋ
    -\>'\textAlpha\ypogegrammeni  ᾌ
    -\<'\textAlpha\ypogegrammeni  ᾍ
    -\~>\textAlpha\ypogegrammeni  ᾎ
    -\~<\textAlpha\ypogegrammeni  ᾏ
    -
    -\>\texteta\ypogegrammeni    ᾐ
    -\<\texteta\ypogegrammeni    ᾑ
    -\>`\texteta\ypogegrammeni   ᾒ
    -\<`\texteta\ypogegrammeni   ᾓ
    -\>'\texteta\ypogegrammeni   ᾔ
    -\<'\texteta\ypogegrammeni   ᾕ
    -\~>\texteta\ypogegrammeni   ᾖ
    -\~<\texteta\ypogegrammeni   ᾗ
    -\>\textEta\ypogegrammeni   ᾘ
    -\<\textEta\ypogegrammeni   ᾙ
    -\>`\textEta\ypogegrammeni  ᾚ
    -\<`\textEta\ypogegrammeni  ᾛ
    -\>'\textEta\ypogegrammeni  ᾜ
    -\<'\textEta\ypogegrammeni  ᾝ
    -\~>\textEta\ypogegrammeni  ᾞ
    -\~<\textEta\ypogegrammeni  ᾟ
    -
    -\>\textomega\ypogegrammeni    ᾠ
    -\<\textomega\ypogegrammeni    ᾡ
    -\>`\textomega\ypogegrammeni   ᾢ
    -\<`\textomega\ypogegrammeni   ᾣ
    -\>'\textomega\ypogegrammeni   ᾤ
    -\<'\textomega\ypogegrammeni   ᾥ
    -\~>\textomega\ypogegrammeni   ᾦ
    -\~<\textomega\ypogegrammeni   ᾧ
    -\>\textOmega\ypogegrammeni   ᾨ
    -\<\textOmega\ypogegrammeni   ᾩ
    -\>`\textOmega\ypogegrammeni  ᾪ
    -\<`\textOmega\ypogegrammeni  ᾫ
    -\>'\textOmega\ypogegrammeni  ᾬ
    -\<'\textOmega\ypogegrammeni  ᾭ
    -\~>\textOmega\ypogegrammeni  ᾮ
    -\~<\textOmega\ypogegrammeni  ᾯ
    -
    -\u\textalpha                      ᾰ
    -\=\textalpha                      ᾱ
    -\accvaria\textalpha\ypogegrammeni        ᾲ
    -\textalpha\ypogegrammeni          ᾳ
    -\accoxia\textalpha\ypogegrammeni        ᾴ
    -\~\textalpha                      ᾶ
    -\~\textalpha\ypogegrammeni        ᾷ
    -\u\textAlpha                      Ᾰ
    -\=\textAlpha                      Ᾱ
    -\accvaria\textAlpha                      Ὰ
    -\accoxia\textAlpha                      Ά
    -\textAlpha\ypogegrammeni          ᾼ
    -\>{ }                             ᾽
    -{ }\prosgegrammeni                ι
    -\>{ }                             ᾿
    -
    -\accperispomeni\textcompwordmark  ῀
    -\"\~{ }                           ῁
    -\accvaria\texteta\ypogegrammeni          ῂ
    -\texteta\ypogegrammeni            ῃ
    -\accoxia\texteta\ypogegrammeni          ῄ
    -\~\texteta                        ῆ
    -\~\texteta\ypogegrammeni          ῇ
    -\accvaria\textEpsilon                    Ὲ
    -\accoxia\textEpsilon                    Έ
    -\accvaria\textEta                        Ὴ
    -\accoxia\textEta                        Ή
    -\textEta\ypogegrammeni            ῌ
    -\>`{ }              ῍
    -\>'{ }              ῎
    -\~>{ }              ῏
    -
    -\u\textiota                       ῐ
    -\=\textiota                       ῑ
    -\`"\textiota                      ῒ
    -\'"\textiota                      ΐ
    -\~\textiota                       ῖ
    -\~"\textiota                      ῗ
    -\u\textIota                       Ῐ
    -\=\textIota                       Ῑ
    -\accvaria\textIota                       Ὶ
    -\accoxia\textIota                       Ί
    -\<`{ }              ῝
    -\>'{ }              ῞
    -\~<{ }              ῟
    -
    -\u\textupsilon                    ῠ
    -\=\textupsilon                    ῡ
    -\`"\textupsilon                   ῢ
    -\'"\textupsilon                   ΰ
    -\>\textrho                        ῤ
    -\<\textrho                        ῥ
    -\~\textupsilon                    ῦ
    -\~"\textupsilon                   ῧ
    -\u\textUpsilon                    Ῠ
    -\=\textUpsilon                    Ῡ
    -\accvaria\textUpsilon                    Ὺ
    -\accoxia\textUpsilon                    Ύ
    -\<\textRho                        Ῥ
    -\`"{ }              ῭
    -\'"{ }              ΅
    -\accvaria{ }        `
    -
    -\accvaria\textomega\ypogegrammeni        ῲ
    -\textomega\ypogegrammeni          ῳ
    -\accoxia\textomega\ypogegrammeni        ῴ
    -\~\textomega                      ῶ
    -\~\textomega\ypogegrammeni        ῷ
    -\accvaria\textOmicron                    Ὸ
    -\accoxia\textOmicron                    Ό
    -\accvaria\textOmega                      Ὼ
    -\accoxia\textOmega                      Ώ
    -\textOmega\ypogegrammeni          ῼ
    -\accoxia{ }         ´
    -\<{ }               ῾
    -}
    -
    -\greekextended
    -
    -\noindent MakeUppercase:
    -
    -\MakeUppercase{\greekextended}
    -
    -\noindent MakeLowercase:
    -
    -\MakeLowercase{\greekextended}
    -
    -\end{document}
    diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/tuenc-greek.def.html b/Master/texmf-dist/doc/latex/greek-fontenc/tuenc-greek.def.html
    index d34d5cda239..f621c681c41 100644
    --- a/Master/texmf-dist/doc/latex/greek-fontenc/tuenc-greek.def.html
    +++ b/Master/texmf-dist/doc/latex/greek-fontenc/tuenc-greek.def.html
    @@ -620,13 +620,14 @@ version 1.3 of this license or any later version.

    Identification
    \ProvidesFile{tuenc-greek.def}
    -[2020/09/25 1.0 Greek LICRs for XeTeX and LuaTeX]
    +[2020/10/13 2.0 Greek LICRs for XeTeX and LuaTeX]

    Abstract

    -

    Experimental support for Greek LICR macros with XeTeX and LuaTeX. -Extends tuenc_. Used by babel-greek and textalpha.

    +

    Support for Greek LICR macros and upcasing of text +with XeTeX and LuaTeX. Extends tuenc.def. +Used by babel-greek and textalpha.

    History:
    @@ -696,8 +697,28 @@ fix upcasing of \finalsigma.

    Rename to tuenc-greek.def. Use \UTFencname.

    1.0

    -

    2020/09/25

    -

    \textKoppa as alias for \textkoppa in LGR.

    +

    2020-09-25

    +

    New package version. No changes in this file.

    + +

    2.0

    +

    2020-10-13

    +

    Move common alias definitions to greek-fontenc.def.

    + + + + +

    New compatiblity definitions.

    + + + + +

    Use \UnicodeEncodingName instead of \UTFencname.

    + + + + +

    Make the file encoding-independent (required for input +in other encodings with luainputenc).

    @@ -712,24 +733,26 @@ fix upcasing of \finalsigma.

  • Common Definitions

  • Character Definitions

  • -
  • UPPERCASE

    +
  • UPPERCASE

  • Motivation

    -

    LICR macro definitions for the Greek script are missing in tuenc_ (as well +

    LICR macro definitions for the Greek script are missing in tuenc.def (as well as the predecessors xunicode, euenc).

    This file defines LaTeX Internal Character Representaction (LICR) macros for Greek letters and symbols. It works independed of xunicode using the @@ -737,8 +760,10 @@ standard commands for

    Requirements

    -

    Requires XeTeX or LuaTeX, fontspec, and a font with Greek characters.

    -

    See tuenc-greek-doc.tex and tuenc-greek-doc.pdf for setup and +

    Requires XeTeX or LuaTeX (usually with fontspec), the LaTeX base +file tuenc.def that sets up the font encoding TU, and a font with +Greek characters.

    +

    See test-tuenc-greek.tex and test-tuenc-greek.pdf for setup and usage examples.

    @@ -751,395 +776,436 @@ to-LaTeX converters to ensure working also inside the tabbing environment.

    Greek alias names for standard accents:

    -
    \DeclareTextCommand{\acctonos}{\UTFencname}{\@tabacckludge'}
    -\DeclareTextCommand{\accvaria}{\UTFencname}{\@tabacckludge`}
    -\DeclareTextCommand{\accdialytika}{\UTFencname}{\@tabacckludge"}
    +
    \DeclareUnicodeAccent{\accvaria}    \UnicodeEncodingName{"0300}
    +\DeclareUnicodeAccent{\acctonos}    \UnicodeEncodingName{"0301}
    +\DeclareUnicodeAccent{\accdialytika}\UnicodeEncodingName{"0308}

    The combining perispomeni character is normalized with Greek base letters, while the (standard) combining tilde is not:

    -
    \DeclareTextCommand{\accperispomeni}{\UTFencname}[1]{#1\char"0342 }
    +
    \DeclareUnicodeAccent{\accperispomeni}\UnicodeEncodingName{"0342} % COMBINING GREEK PERISPOMENI

    Breathings:

    -

    (The COMBINING GREEK KORONIS is a legacy character, discarded in favour of -COMBINING COMMA ABOVE)

    -
    \DeclareTextCommand{\accpsili}{\UTFencname}[1]{#1\char"0313 } % ψιλή spiritus lenis (smooth breathing)
    -\DeclareTextCommand{\accdasia}{\UTFencname}[1]{#1\char"0314 } % δασεῖα spiritus asper (rough breathing)
    -

    Sub-iota:

    -

    \ypogegrammeni is a postfix accent (ligature in LGR)

    -
    \DeclareTextSymbol{\ypogegrammeni}{\UTFencname}{0837} % COMBINING GREEK YPOGEGRAMMENI
    +

    \accpsili = \acckoronis but the COMBINING GREEK KORONIS is a legacy +character, discarded in favour of COMBINING COMMA ABOVE.

    +
    \DeclareUnicodeAccent{\accpsili}\UnicodeEncodingName{"0313} % ψιλή spiritus lenis (smooth breathing)
    +\DeclareUnicodeAccent{\accdasia}\UnicodeEncodingName{"0314} % δασεῖα spiritus asper (rough breathing)
    +

    Sub-iotas:

    +

    \prosgegrammeni is a standard character (see below). +\ypogegrammeni is a postfix accent (ligature in LGR)

    +
    \DeclareTextSymbol{\ypogegrammeni}{\UnicodeEncodingName}{0837} % COMBINING GREEK YPOGEGRAMMENI

    Combined diacritics:

    +

    \DeclareUnicodeAccent does not work with more than one argument:

    % The COMBINING DIALYTIKA TONOS is discarded and not well supported by fonts:
    -\DeclareTextCommand{\accdialytikatonos}{\UTFencname}[1]{#1\char"0308 \char"0301 }
    -\DeclareTextCommand{\accdialytikavaria}{\UTFencname}[1]{#1\char"0308 \char"0300 }
    -\DeclareTextCommand{\accdialytikaperispomeni}{\UTFencname}[1]{#1\char"0342 \char"0308 }
    +\DeclareTextCommand{\accdialytikatonos}{\UnicodeEncodingName}[1]{#1\char"0308\char"0301}
    +\DeclareTextCommand{\accdialytikavaria}{\UnicodeEncodingName}[1]{#1\char"0308\char"0300}
    +\DeclareTextCommand{\accdialytikaperispomeni}{\UnicodeEncodingName}[1]{#1\char"0342\char"0308}
     
    -\DeclareTextCommand{\accdasiaoxia}{\UTFencname}[1]{#1\char"0314 \char"0301 }
    -\DeclareTextCommand{\accdasiavaria}{\UTFencname}[1]{#1\char"0314 \char"0300 }
    -\DeclareTextCommand{\accdasiaperispomeni}{\UTFencname}[1]{#1\char"0314 \char"0342 }
    +\DeclareTextCommand{\accdasiaoxia}{\UnicodeEncodingName}[1]{#1\char"0314\char"0301}
    +\DeclareTextCommand{\accdasiavaria}{\UnicodeEncodingName}[1]{#1\char"0314\char"0300}
    +\DeclareTextCommand{\accdasiaperispomeni}{\UnicodeEncodingName}[1]{#1\char"0314\char"0342}
     
    -\DeclareTextCommand{\accpsilioxia}{\UTFencname}[1]{#1\char"0301 \char"0313 }
    -\DeclareTextCommand{\accpsilivaria}{\UTFencname}[1]{#1\char"0300 \char"0313 }
    -\DeclareTextCommand{\accpsiliperispomeni}{\UTFencname}[1]{#1\char"0342 \char"0313 }
    +\DeclareTextCommand{\accpsilioxia}{\UnicodeEncodingName}[1]{#1\char"0301\char"0313} +\DeclareTextCommand{\accpsilivaria}{\UnicodeEncodingName}[1]{#1\char"0300\char"0313} +\DeclareTextCommand{\accpsiliperispomeni}{\UnicodeEncodingName}[1]{#1\char"0342\char"0313}

    Common Definitions

    Use the common Greek font encoding definitions:

    -
    \renewcommand*{\LastDeclaredEncoding}{\UTFencname}
    +
    \renewcommand*{\LastDeclaredEncoding}{\UnicodeEncodingName}
     \input{greek-fontenc.def}

    Character Definitions

    -
    -

    General Punctuation

    -

    Ligature break up with ZERO WIDTH NON-JOINER:

    -
    \DeclareTextCommand{\textcompwordmark}{\UTFencname}{\char"200C}
    +
    +

    Basic Latin

    +

    Compatibility def with LGR:

    +
    \DeclareTextSymbol{\textsemicolon}\UnicodeEncodingName{"003B} % ;
    +
    +
    +

    Latin 1 Supplement

    +

    Distinguish MICRO SIGN from letter mu:

    +
    \DeclareTextSymbol{\textmicro}\UnicodeEncodingName{"00B5} % µ MICRO SIGN
    +
    +
    +

    IPA Extensions

    +
    \DeclareTextSymbol{\textschwa}\UnicodeEncodingName{"0259} % ə
    -

    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}{\UTFencname}{ʹ} % \anwtonos, \textnumeralsigngreek
    -\DeclareTextCommand{\textaristerikeraia}{\UTFencname}{͵} % \katwtonos, \textnumeralsignlowergreek
    -% 0376  GREEK CAPITAL LETTER PAMPHYLIAN DIGAMMA            % Ͷ
    -% 0377  GREEK SMALL LETTER PAMPHYLIAN DIGAMMA              % ͷ
    -
    -% 037A  GREEK YPOGEGRAMMENI (use \textcompwordmark\ypogegrammeni) % ͺ
    +

    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                    % ͳ
    +\DeclareTextSymbol{\textdexiakeraia}\UnicodeEncodingName{"0374}    % ʹ \anwtonos, \textnumeralsigngreek
    +\DeclareTextSymbol{\textaristerikeraia}\UnicodeEncodingName{"0375} % ͵\katwtonos, \textnumeralsignlowergreek
    +% 0376  GREEK CAPITAL LETTER PAMPHYLIAN DIGAMMA             % Ͷ
    +% 0377  GREEK SMALL LETTER PAMPHYLIAN DIGAMMA               % ͷ
    +
    +% \DeclareTextCompositeCommand{\@emty}\UnicodeEncodingName{\ypogegrammeni}{ͺ} % 037A  GREEK YPOGEGRAMMENI
    +% \DeclareTextCompositeCommand{\textcompwordmark}\UnicodeEncodingName{\ypogegrammeni}{ͺ} % 037A  GREEK 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}{\UTFencname}{;} % 037E GREEK QUESTION MARK
    -
    -\DeclareTextCompositeCommand{\'}{\UTFencname}{\textcompwordmark}{΄}
    -\DeclareTextCompositeCommand{\accdialytikatonos}{\UTFencname}{\textcompwordmark}{΅}
    -\DeclareTextCompositeCommand{\'}{\UTFencname}{\textAlpha}{Ά}
    -\DeclareTextCommand{\textanoteleia}{\UTFencname}{·} % \anoteleia
    -\DeclareTextCompositeCommand{\'}{\UTFencname}{\textEpsilon}{Έ}
    -\DeclareTextCompositeCommand{\'}{\UTFencname}{\textEta}{Ή}
    -\DeclareTextCompositeCommand{\'}{\UTFencname}{\textIota}{Ί}
    -\DeclareTextCompositeCommand{\'}{\UTFencname}{\textOmicron}{Ό}
    -\DeclareTextCompositeCommand{\'}{\UTFencname}{\textUpsilon}{Ύ}
    -\DeclareTextCompositeCommand{\'}{\UTFencname}{\textOmega}{Ώ}
    -\DeclareTextCompositeCommand{\accdialytikatonos}{\UTFencname}{\textiota}{ΐ}
    -
    -\DeclareTextCommand{\textAlpha}{\UTFencname}{Α}
    -\DeclareTextCommand{\textBeta}{\UTFencname}{Β}
    -\DeclareTextCommand{\textGamma}{\UTFencname}{Γ}
    -\DeclareTextCommand{\textDelta}{\UTFencname}{Δ}
    -\DeclareTextCommand{\textEpsilon}{\UTFencname}{Ε}
    -\DeclareTextCommand{\textZeta}{\UTFencname}{Ζ}
    -\DeclareTextCommand{\textEta}{\UTFencname}{Η}
    -\DeclareTextCommand{\textTheta}{\UTFencname}{Θ}
    -\DeclareTextCommand{\textIota}{\UTFencname}{Ι}
    -\DeclareTextCommand{\textKappa}{\UTFencname}{Κ}
    -\DeclareTextCommand{\textLambda}{\UTFencname}{Λ}
    -\DeclareTextCommand{\textMu}{\UTFencname}{Μ}
    -\DeclareTextCommand{\textNu}{\UTFencname}{Ν}
    -\DeclareTextCommand{\textXi}{\UTFencname}{Ξ}
    -\DeclareTextCommand{\textOmicron}{\UTFencname}{Ο}
    -\DeclareTextCommand{\textPi}{\UTFencname}{Π}
    -\DeclareTextCommand{\textRho}{\UTFencname}{Ρ}
    -\DeclareTextCommand{\textSigma}{\UTFencname}{Σ}
    -\DeclareTextCommand{\textTau}{\UTFencname}{Τ}
    -\DeclareTextCommand{\textUpsilon}{\UTFencname}{Υ}
    -\DeclareTextCommand{\textPhi}{\UTFencname}{Φ}
    -\DeclareTextCommand{\textChi}{\UTFencname}{Χ}
    -\DeclareTextCommand{\textPsi}{\UTFencname}{Ψ}
    -\DeclareTextCommand{\textOmega}{\UTFencname}{Ω}
    -
    -\DeclareTextCompositeCommand{\"}{\UTFencname}{\textIota}{Ϊ}
    -\DeclareTextCompositeCommand{\"}{\UTFencname}{\textUpsilon}{Ϋ}
    -\DeclareTextCompositeCommand{\'}{\UTFencname}{\textalpha}{ά}
    -\DeclareTextCompositeCommand{\'}{\UTFencname}{\textepsilon}{έ}
    -\DeclareTextCompositeCommand{\'}{\UTFencname}{\texteta}{ή}
    -\DeclareTextCompositeCommand{\'}{\UTFencname}{\textiota}{ί}
    -\DeclareTextCompositeCommand{\accdialytikatonos}{\UTFencname}{\textupsilon}{ΰ}
    -
    -\DeclareTextCommand{\textalpha}{\UTFencname}{α}
    -\DeclareTextCommand{\textbeta}{\UTFencname}{β}
    -\DeclareTextCommand{\textgamma}{\UTFencname}{γ}
    -\DeclareTextCommand{\textdelta}{\UTFencname}{δ}
    -\DeclareTextCommand{\textepsilon}{\UTFencname}{ε}
    -\DeclareTextCommand{\textvarepsilon}{\UTFencname}{ε} % cf. $\varepsiolon$
    -\DeclareTextCommand{\textzeta}{\UTFencname}{ζ}
    -\DeclareTextCommand{\texteta}{\UTFencname}{η}
    -\DeclareTextCommand{\texttheta}{\UTFencname}{θ}
    -\DeclareTextCommand{\textiota}{\UTFencname}{ι}
    -\DeclareTextCommand{\textkappa}{\UTFencname}{κ}
    -\DeclareTextCommand{\textlambda}{\UTFencname}{λ}
    -\DeclareTextCommand{\textmu}{\UTFencname}{μ} % \textmugreek
    -\DeclareTextCommand{\textnu}{\UTFencname}{ν}
    -\DeclareTextCommand{\textxi}{\UTFencname}{ξ}
    -\DeclareTextCommand{\textomicron}{\UTFencname}{ο}
    -\DeclareTextCommand{\textpi}{\UTFencname}{π}
    -\DeclareTextCommand{\textrho}{\UTFencname}{ρ}
    -\DeclareTextCommand{\textvarsigma}{\UTFencname}{ς} % final sigma
    -\DeclareTextCommand{\textfinalsigma}{\UTFencname}{\textvarsigma}
    -\DeclareTextCommand{\textsigma}{\UTFencname}{σ}
    -% Dummy definition (\textautosigma is lowercase of \textSigma):
    -\ProvideTextCommand{\textautosigma}{\UTFencname}{\textsigma}
    -\DeclareTextCommand{\texttau}{\UTFencname}{τ}
    -\DeclareTextCommand{\textupsilon}{\UTFencname}{υ}
    -\DeclareTextCommand{\textphi}{\UTFencname}{φ}
    -\DeclareTextCommand{\textvarphi}{\UTFencname}{φ} % cf. $\varphi$
    -\DeclareTextCommand{\textchi}{\UTFencname}{χ}
    -\DeclareTextCommand{\textpsi}{\UTFencname}{ψ}
    -\DeclareTextCommand{\textomega}{\UTFencname}{ω}
    -
    -\DeclareTextCompositeCommand{\"}{\UTFencname}{\textiota}{ϊ}
    -\DeclareTextCompositeCommand{\"}{\UTFencname}{\textupsilon}{ϋ}
    -\DeclareTextCompositeCommand{\'}{\UTFencname}{\textomicron}{ό}
    -\DeclareTextCompositeCommand{\'}{\UTFencname}{\textupsilon}{ύ}
    -\DeclareTextCompositeCommand{\'}{\UTFencname}{\textomega}{ώ}
    -
    -\DeclareTextCommand{\textQoppa}{\UTFencname}{Ϙ}
    -\DeclareTextCommand{\textqoppa}{\UTFencname}{ϙ}
    -\DeclareTextCommand{\textStigma}{\UTFencname}{Ϛ}
    -\DeclareTextCommand{\textstigma}{\UTFencname}{ϛ}
    -\DeclareTextCommand{\textDigamma}{\UTFencname}{Ϝ}
    -\DeclareTextCommand{\textdigamma}{\UTFencname}{ϝ}
    -\DeclareTextCommand{\textKoppa}{\UTFencname}{Ϟ} % in LGR identic to \textkoppa
    -\DeclareTextCommand{\textkoppa}{\UTFencname}{ϟ} % \koppa, \textqoppa [sic!]
    -\DeclareTextCommand{\textSampi}{\UTFencname}{Ϡ}
    -\DeclareTextCommand{\textsampi}{\UTFencname}{ϡ}
    -
    -% Symbol variants
    -\DeclareTextCommand{\textbetasymbol}{\UTFencname}{ϐ}
    -\DeclareTextCommand{\textkappasymbol}{\UTFencname}{ϰ}
    -\DeclareTextCommand{\textThetasymbol}{\UTFencname}{ϴ}
    -\DeclareTextCommand{\textthetasymbol}{\UTFencname}{ϑ}
    -\DeclareTextCommand{\textphisymbol}{\UTFencname}{ϕ}
    -\DeclareTextCommand{\textpisymbol}{\UTFencname}{ϖ}
    -\DeclareTextCommand{\textrhosymbol}{\UTFencname}{ϱ}
    -\DeclareTextCommand{\textepsilonsymbol}{\UTFencname}{ϵ}
    -% math compatibility aliases
    -% $\varphi$ and $\varepsilon$ refer to the letter characters (see above)!
    -\DeclareTextCommand{\textvarbeta}{\UTFencname}{\textbetasymbol}
    -\DeclareTextCommand{\textvarkappa}{\UTFencname}{ϰ}
    -\DeclareTextCommand{\textvarTheta}{\UTFencname}{ϴ}
    -\DeclareTextCommand{\textvartheta}{\UTFencname}{ϑ}
    -\DeclareTextCommand{\textvarpi}{\UTFencname}{ϖ}
    -\DeclareTextCommand{\textvarrho}{\UTFencname}{ϱ}
    +\DeclareTextSymbol{\texterotimatiko}\UnicodeEncodingName{"003B} % use SEMICOLON, not 037E GREEK QUESTION MARK + +\DeclareUnicodeComposite{\acctonos} {} {"0384} % ΄ GREEK TONOS +\DeclareUnicodeComposite{\accdialytikatonos}{} {"0385} % ΅ GREEK DIALYTIKA TONOS +\DeclareUnicodeComposite{\'} {\textAlpha} {"0386} % Ά +\DeclareTextSymbol{\textanoteleia} \UnicodeEncodingName{"00B7} % use MIDDLE DOT, not 0387 GREEK ANO TELEIA +\DeclareUnicodeComposite{\'} {\textEpsilon}{"0388} % Έ +\DeclareUnicodeComposite{\'} {\textEta} {"0389} % Ή +\DeclareUnicodeComposite{\'} {\textIota} {"038A} % Ί +\DeclareUnicodeComposite{\'} {\textOmicron}{"038C} % Ό +\DeclareUnicodeComposite{\'} {\textUpsilon}{"038E} % Ύ +\DeclareUnicodeComposite{\'} {\textOmega} {"038F} % Ώ +% repeat with named accents (LuaTeX does not normalize to pre-composed chars): +\DeclareUnicodeComposite{\acctonos} {\textAlpha} {"0386} % Ά +\DeclareUnicodeComposite{\acctonos} {\textEpsilon}{"0388} % Έ +\DeclareUnicodeComposite{\acctonos} {\textEta} {"0389} % Ή +\DeclareUnicodeComposite{\acctonos} {\textIota} {"038A} % Ί +\DeclareUnicodeComposite{\acctonos} {\textOmicron}{"038C} % Ό +\DeclareUnicodeComposite{\acctonos} {\textUpsilon}{"038E} % Ύ +\DeclareUnicodeComposite{\acctonos} {\textOmega} {"038F} % Ώ +\DeclareUnicodeComposite{\accdialytikatonos}{\textiota} {"0390} % ΐ + +\DeclareTextSymbol{\textAlpha }\UnicodeEncodingName{"0391} % Α +\DeclareTextSymbol{\textBeta }\UnicodeEncodingName{"0392} % Β +\DeclareTextSymbol{\textGamma }\UnicodeEncodingName{"0393} % Γ +\DeclareTextSymbol{\textDelta }\UnicodeEncodingName{"0394} % Δ +\DeclareTextSymbol{\textEpsilon}\UnicodeEncodingName{"0395} % Ε +\DeclareTextSymbol{\textZeta }\UnicodeEncodingName{"0396} % Ζ +\DeclareTextSymbol{\textEta }\UnicodeEncodingName{"0397} % Η +\DeclareTextSymbol{\textTheta }\UnicodeEncodingName{"0398} % Θ +\DeclareTextSymbol{\textIota }\UnicodeEncodingName{"0399} % Ι +\DeclareTextSymbol{\textKappa }\UnicodeEncodingName{"039A} % Κ +\DeclareTextSymbol{\textLambda }\UnicodeEncodingName{"039B} % Λ +\DeclareTextSymbol{\textMu }\UnicodeEncodingName{"039C} % Μ +\DeclareTextSymbol{\textNu }\UnicodeEncodingName{"039D} % Ν +\DeclareTextSymbol{\textXi }\UnicodeEncodingName{"039E} % Ξ +\DeclareTextSymbol{\textOmicron}\UnicodeEncodingName{"039F} % Ο +\DeclareTextSymbol{\textPi }\UnicodeEncodingName{"03A0} % Π +\DeclareTextSymbol{\textRho }\UnicodeEncodingName{"03A1} % Ρ +\DeclareTextSymbol{\textSigma }\UnicodeEncodingName{"03A3} % Σ +\DeclareTextSymbol{\textTau }\UnicodeEncodingName{"03A4} % Τ +\DeclareTextSymbol{\textUpsilon}\UnicodeEncodingName{"03A5} % Υ +\DeclareTextSymbol{\textPhi }\UnicodeEncodingName{"03A6} % Φ +\DeclareTextSymbol{\textChi }\UnicodeEncodingName{"03A7} % Χ +\DeclareTextSymbol{\textPsi }\UnicodeEncodingName{"03A8} % Ψ +\DeclareTextSymbol{\textOmega }\UnicodeEncodingName{"03A9} % Ω + +\DeclareUnicodeComposite{\"} {\textIota} {"03AA} % Ϊ +\DeclareUnicodeComposite{\"} {\textIota} {"03AA} % Ϊ +\DeclareUnicodeComposite{\"} {\textUpsilon}{"03AB} % Ϋ +\DeclareUnicodeComposite{\'} {\textalpha} {"03AC} % ά +\DeclareUnicodeComposite{\'} {\textepsilon}{"03AD} % έ +\DeclareUnicodeComposite{\'} {\texteta} {"03AE} % ή +\DeclareUnicodeComposite{\'} {\textiota} {"03AF} % ί +% repeat with named accents (LuaTeX does not normalize to pre-composed chars): +\DeclareUnicodeComposite{\accdialytika} {\textIota} {"03AA} % Ϊ +\DeclareUnicodeComposite{\accdialytika} {\textIota} {"03AA} % Ϊ +\DeclareUnicodeComposite{\accdialytika} {\textUpsilon}{"03AB} % Ϋ +\DeclareUnicodeComposite{\acctonos} {\textalpha} {"03AC} % ά +\DeclareUnicodeComposite{\acctonos} {\textepsilon}{"03AD} % έ +\DeclareUnicodeComposite{\acctonos} {\texteta} {"03AE} % ή +\DeclareUnicodeComposite{\acctonos} {\textiota} {"03AF} % ί +\DeclareUnicodeComposite{\accdialytikatonos}{\textupsilon}{"03B0} % ΰ + +\DeclareTextSymbol{\textalpha }\UnicodeEncodingName{"03B1} % α +\DeclareTextSymbol{\textbeta }\UnicodeEncodingName{"03B2} % β +\DeclareTextSymbol{\textgamma }\UnicodeEncodingName{"03B3} % γ +\DeclareTextSymbol{\textdelta }\UnicodeEncodingName{"03B4} % δ +\DeclareTextSymbol{\textepsilon }\UnicodeEncodingName{"03B5} % ε +\DeclareTextSymbol{\textzeta }\UnicodeEncodingName{"03B6} % ζ +\DeclareTextSymbol{\texteta }\UnicodeEncodingName{"03B7} % η +\DeclareTextSymbol{\texttheta }\UnicodeEncodingName{"03B8} % θ +\DeclareTextSymbol{\textiota }\UnicodeEncodingName{"03B9} % ι +\DeclareTextSymbol{\textkappa }\UnicodeEncodingName{"03BA} % κ +\DeclareTextSymbol{\textlambda }\UnicodeEncodingName{"03BB} % λ +\DeclareTextSymbol{\textmu }\UnicodeEncodingName{"03BC} % μ % \textmugreek +\DeclareTextSymbol{\textnu }\UnicodeEncodingName{"03BD} % ν +\DeclareTextSymbol{\textxi }\UnicodeEncodingName{"03BE} % ξ +\DeclareTextSymbol{\textomicron }\UnicodeEncodingName{"03BF} % ο +\DeclareTextSymbol{\textpi }\UnicodeEncodingName{"03C0} % π +\DeclareTextSymbol{\textrho }\UnicodeEncodingName{"03C1} % ρ +\DeclareTextSymbol{\textfinalsigma}\UnicodeEncodingName{"03C2} % ς % final sigma +\DeclareTextSymbol{\textsigma }\UnicodeEncodingName{"03C3} % σ +\DeclareTextSymbol{\texttau }\UnicodeEncodingName{"03C4} % τ +\DeclareTextSymbol{\textupsilon }\UnicodeEncodingName{"03C5} % υ +\DeclareTextSymbol{\textphi }\UnicodeEncodingName{"03C6} % φ +\DeclareTextSymbol{\textchi }\UnicodeEncodingName{"03C7} % χ +\DeclareTextSymbol{\textpsi }\UnicodeEncodingName{"03C8} % ψ +\DeclareTextSymbol{\textomega }\UnicodeEncodingName{"03C9} % ω + +\DeclareUnicodeComposite{\"}{\textiota}{"03CA} % ϊ +\DeclareUnicodeComposite{\"}{\textupsilon}{"03CB} % ϋ +\DeclareUnicodeComposite{\'}{\textomicron}{"03CC} % ό +\DeclareUnicodeComposite{\'}{\textupsilon}{"03CD} % ύ +\DeclareUnicodeComposite{\'}{\textomega}{"03CE} % ώ +\DeclareUnicodeComposite{\accdialytika}{\textiota}{"03CA} % ϊ +\DeclareUnicodeComposite{\accdialytika}{\textupsilon}{"03CB} % ϋ +\DeclareUnicodeComposite{\acctonos}{\textomicron}{"03CC} % ό +\DeclareUnicodeComposite{\acctonos}{\textupsilon}{"03CD} % ύ +\DeclareUnicodeComposite{\acctonos}{\textomega}{"03CE} % ώ
    +

    Archaic letters (still used in Greek numerals):

    +
    \DeclareTextSymbol{\textQoppa        }\UnicodeEncodingName{"03D8} % Ϙ
    +\DeclareTextSymbol{\textqoppa        }\UnicodeEncodingName{"03D9} % ϙ
    +\DeclareTextSymbol{\textStigma       }\UnicodeEncodingName{"03DA} % Ϛ
    +\DeclareTextSymbol{\textstigma       }\UnicodeEncodingName{"03DB} % ϛ
    +\DeclareTextSymbol{\textDigamma      }\UnicodeEncodingName{"03DC} % Ϝ
    +\DeclareTextSymbol{\textdigamma      }\UnicodeEncodingName{"03DD} % ϝ
    +\DeclareTextSymbol{\textKoppa        }\UnicodeEncodingName{"03DE} % Ϟ in LGR identic to \textkoppa
    +\DeclareTextSymbol{\textkoppa        }\UnicodeEncodingName{"03DF} % ϟ \koppa, \textqoppa [sic!]
    +\DeclareTextSymbol{\textSampi        }\UnicodeEncodingName{"03E0} % Ϡ
    +\DeclareTextSymbol{\textsampi        }\UnicodeEncodingName{"03E1} % ϡ
    +

    Symbol variants:

    +
    \DeclareTextSymbol{\textbetasymbol   }\UnicodeEncodingName{"03D0} % ϐ
    +\DeclareTextSymbol{\textkappasymbol  }\UnicodeEncodingName{"03F0} % ϰ
    +\DeclareTextSymbol{\textThetasymbol  }\UnicodeEncodingName{"03F4} % ϴ
    +\DeclareTextSymbol{\textthetasymbol  }\UnicodeEncodingName{"03D1} % ϑ
    +\DeclareTextSymbol{\textphisymbol    }\UnicodeEncodingName{"03D5} % ϕ
    +\DeclareTextSymbol{\textpisymbol     }\UnicodeEncodingName{"03D6} % ϖ
    +\DeclareTextSymbol{\textrhosymbol    }\UnicodeEncodingName{"03F1} % ϱ
    +\DeclareTextSymbol{\textepsilonsymbol}\UnicodeEncodingName{"03F5} % ϵ
    +

    Dummy definition (textautosigma is lowercase of textSigma) +TODO: implement autosigma for TU:

    +
    \ProvideTextCommand{\textautosigma }\UnicodeEncodingName{\textsigma}
    -

    Greek Extended

    +

    Greek Extended

    We skip definitions for characters “… WITH OXIA”, because they would -overwrite the defintions for “… WITH TONOS” in the Greek and Coptic +overwrite the definitions for “… WITH TONOS” in the Greek and Coptic block.

    -
    \DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\textalpha}{ἀ}
    -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\textalpha}{ἁ}
    -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\textalpha}{ἂ}
    -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\textalpha}{ἃ}
    -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\textalpha}{ἄ}
    -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\textalpha}{ἅ}
    -\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UTFencname}{\textalpha}{ἆ}
    -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\textalpha}{ἇ}
    -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\textAlpha}{Ἀ}
    -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\textAlpha}{Ἁ}
    -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\textAlpha}{Ἂ}
    -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\textAlpha}{Ἃ}
    -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\textAlpha}{Ἄ}
    -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\textAlpha}{Ἅ}
    -\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UTFencname}{\textAlpha}{Ἆ}
    -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\textAlpha}{Ἇ}
    -
    -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\textepsilon}{ἐ}
    -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\textepsilon}{ἑ}
    -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\textepsilon}{ἒ}
    -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\textepsilon}{ἓ}
    -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\textepsilon}{ἔ}
    -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\textepsilon}{ἕ}
    -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\textEpsilon}{Ἐ}
    -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\textEpsilon}{Ἑ}
    -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\textEpsilon}{Ἒ}
    -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\textEpsilon}{Ἓ}
    -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\textEpsilon}{Ἔ}
    -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\textEpsilon}{Ἕ}
    -
    -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\texteta}{ἠ}
    -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\texteta}{ἡ}
    -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\texteta}{ἢ}
    -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\texteta}{ἣ}
    -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\texteta}{ἤ}
    -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\texteta}{ἥ}
    -\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UTFencname}{\texteta}{ἦ}
    -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\texteta}{ἧ}
    -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\textEta}{Ἠ}
    -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\textEta}{Ἡ}
    -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\textEta}{Ἢ}
    -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\textEta}{Ἣ}
    -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\textEta}{Ἤ}
    -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\textEta}{Ἥ}
    -\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UTFencname}{\textEta}{Ἦ}
    -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\textEta}{Ἧ}
    -
    -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\textiota}{ἰ}
    -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\textiota}{ἱ}
    -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\textiota}{ἲ}
    -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\textiota}{ἳ}
    -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\textiota}{ἴ}
    -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\textiota}{ἵ}
    -\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UTFencname}{\textiota}{ἶ}
    -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\textiota}{ἷ}
    -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\textIota}{Ἰ}
    -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\textIota}{Ἱ}
    -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\textIota}{Ἲ}
    -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\textIota}{Ἳ}
    -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\textIota}{Ἴ}
    -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\textIota}{Ἵ}
    -\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UTFencname}{\textIota}{Ἶ}
    -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\textIota}{Ἷ}
    -
    -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\textomicron}{ὀ}
    -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\textomicron}{ὁ}
    -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\textomicron}{ὂ}
    -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\textomicron}{ὃ}
    -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\textomicron}{ὄ}
    -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\textomicron}{ὅ}
    -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\textOmicron}{Ὀ}
    -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\textOmicron}{Ὁ}
    -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\textOmicron}{Ὂ}
    -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\textOmicron}{Ὃ}
    -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\textOmicron}{Ὄ}
    -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\textOmicron}{Ὅ}
    -
    -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\textupsilon}{ὐ}
    -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\textupsilon}{ὑ}
    -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\textupsilon}{ὒ}
    -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\textupsilon}{ὓ}
    -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\textupsilon}{ὔ}
    -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\textupsilon}{ὕ}
    -\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UTFencname}{\textupsilon}{ὖ}
    -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\textupsilon}{ὗ}
    -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\textUpsilon}{Ὑ}
    -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\textUpsilon}{Ὓ}
    -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\textUpsilon}{Ὕ}
    -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\textUpsilon}{Ὗ}
    -
    -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\textomega}{ὠ}
    -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\textomega}{ὡ}
    -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\textomega}{ὢ}
    -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\textomega}{ὣ}
    -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\textomega}{ὤ}
    -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\textomega}{ὥ}
    -\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UTFencname}{\textomega}{ὦ}
    -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\textomega}{ὧ}
    -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\textOmega}{Ὠ}
    -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\textOmega}{Ὡ}
    -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\textOmega}{Ὢ}
    -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\textOmega}{Ὣ}
    -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\textOmega}{Ὤ}
    -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\textOmega}{Ὥ}
    -\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UTFencname}{\textOmega}{Ὦ}
    -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\textOmega}{Ὧ}
    -
    -\DeclareTextCompositeCommand{\`}{\UTFencname}{\textalpha}{ὰ}
    -\DeclareTextCompositeCommand{\`}{\UTFencname}{\textepsilon}{ὲ}
    -\DeclareTextCompositeCommand{\`}{\UTFencname}{\texteta}{ὴ}
    -\DeclareTextCompositeCommand{\`}{\UTFencname}{\textiota}{ὶ}
    -\DeclareTextCompositeCommand{\`}{\UTFencname}{\textomicron}{ὸ}
    -\DeclareTextCompositeCommand{\`}{\UTFencname}{\textupsilon}{ὺ}
    -\DeclareTextCompositeCommand{\`}{\UTFencname}{\textomega}{ὼ}
    -
    -\DeclareTextCompositeCommand{\u}{\UTFencname}{\textalpha}{ᾰ}
    -\DeclareTextCompositeCommand{\=}{\UTFencname}{\textalpha}{ᾱ}
    +
    \DeclareUnicodeComposite{\accpsili           }{\textalpha}{"1F00} % ἀ
    +\DeclareUnicodeComposite{\accdasia           }{\textalpha}{"1F01} % ἁ
    +\DeclareUnicodeComposite{\accpsilivaria      }{\textalpha}{"1F02} % ἂ
    +\DeclareUnicodeComposite{\accdasiavaria      }{\textalpha}{"1F03} % ἃ
    +\DeclareUnicodeComposite{\accpsilioxia       }{\textalpha}{"1F04} % ἄ
    +\DeclareUnicodeComposite{\accdasiaoxia       }{\textalpha}{"1F05} % ἅ
    +\DeclareUnicodeComposite{\accpsiliperispomeni}{\textalpha}{"1F06} % ἆ
    +\DeclareUnicodeComposite{\accdasiaperispomeni}{\textalpha}{"1F07} % ἇ
    +\DeclareUnicodeComposite{\accpsili           }{\textAlpha}{"1F08} % Ἀ
    +\DeclareUnicodeComposite{\accdasia           }{\textAlpha}{"1F09} % Ἁ
    +\DeclareUnicodeComposite{\accpsilivaria      }{\textAlpha}{"1F0A} % Ἂ
    +\DeclareUnicodeComposite{\accdasiavaria      }{\textAlpha}{"1F0B} % Ἃ
    +\DeclareUnicodeComposite{\accpsilioxia       }{\textAlpha}{"1F0C} % Ἄ
    +\DeclareUnicodeComposite{\accdasiaoxia       }{\textAlpha}{"1F0D} % Ἅ
    +\DeclareUnicodeComposite{\accpsiliperispomeni}{\textAlpha}{"1F0E} % Ἆ
    +\DeclareUnicodeComposite{\accdasiaperispomeni}{\textAlpha}{"1F0F} % Ἇ
    +
    +\DeclareUnicodeComposite{\accpsili           }{\textepsilon}{"1F10} % ἐ
    +\DeclareUnicodeComposite{\accdasia           }{\textepsilon}{"1F11} % ἑ
    +\DeclareUnicodeComposite{\accpsilivaria      }{\textepsilon}{"1F12} % ἒ
    +\DeclareUnicodeComposite{\accdasiavaria      }{\textepsilon}{"1F13} % ἓ
    +\DeclareUnicodeComposite{\accpsilioxia       }{\textepsilon}{"1F14} % ἔ
    +\DeclareUnicodeComposite{\accdasiaoxia       }{\textepsilon}{"1F15} % ἕ
    +\DeclareUnicodeComposite{\accpsili           }{\textEpsilon}{"1F18} % Ἐ
    +\DeclareUnicodeComposite{\accdasia           }{\textEpsilon}{"1F19} % Ἑ
    +\DeclareUnicodeComposite{\accpsilivaria      }{\textEpsilon}{"1F1A} % Ἒ
    +\DeclareUnicodeComposite{\accdasiavaria      }{\textEpsilon}{"1F1B} % Ἓ
    +\DeclareUnicodeComposite{\accpsilioxia       }{\textEpsilon}{"1F1C} % Ἔ
    +\DeclareUnicodeComposite{\accdasiaoxia       }{\textEpsilon}{"1F1D} % Ἕ
    +
    +\DeclareUnicodeComposite{\accpsili           }{\texteta}{"1F20} % ἠ
    +\DeclareUnicodeComposite{\accdasia           }{\texteta}{"1F21} % ἡ
    +\DeclareUnicodeComposite{\accpsilivaria      }{\texteta}{"1F22} % ἢ
    +\DeclareUnicodeComposite{\accdasiavaria      }{\texteta}{"1F23} % ἣ
    +\DeclareUnicodeComposite{\accpsilioxia       }{\texteta}{"1F24} % ἤ
    +\DeclareUnicodeComposite{\accdasiaoxia       }{\texteta}{"1F25} % ἥ
    +\DeclareUnicodeComposite{\accpsiliperispomeni}{\texteta}{"1F26} % ἦ
    +\DeclareUnicodeComposite{\accdasiaperispomeni}{\texteta}{"1F27} % ἧ
    +\DeclareUnicodeComposite{\accpsili           }{\textEta}{"1F28} % Ἠ
    +\DeclareUnicodeComposite{\accdasia           }{\textEta}{"1F29} % Ἡ
    +\DeclareUnicodeComposite{\accpsilivaria      }{\textEta}{"1F2A} % Ἢ
    +\DeclareUnicodeComposite{\accdasiavaria      }{\textEta}{"1F2B} % Ἣ
    +\DeclareUnicodeComposite{\accpsilioxia       }{\textEta}{"1F2C} % Ἤ
    +\DeclareUnicodeComposite{\accdasiaoxia       }{\textEta}{"1F2D} % Ἥ
    +\DeclareUnicodeComposite{\accpsiliperispomeni}{\textEta}{"1F2E} % Ἦ
    +\DeclareUnicodeComposite{\accdasiaperispomeni}{\textEta}{"1F2F} % Ἧ
    +
    +\DeclareUnicodeComposite{\accpsili           }{\textiota}{"1F30} % ἰ
    +\DeclareUnicodeComposite{\accdasia           }{\textiota}{"1F31} % ἱ
    +\DeclareUnicodeComposite{\accpsilivaria      }{\textiota}{"1F32} % ἲ
    +\DeclareUnicodeComposite{\accdasiavaria      }{\textiota}{"1F33} % ἳ
    +\DeclareUnicodeComposite{\accpsilioxia       }{\textiota}{"1F34} % ἴ
    +\DeclareUnicodeComposite{\accdasiaoxia       }{\textiota}{"1F35} % ἵ
    +\DeclareUnicodeComposite{\accpsiliperispomeni}{\textiota}{"1F36} % ἶ
    +\DeclareUnicodeComposite{\accdasiaperispomeni}{\textiota}{"1F37} % ἷ
    +\DeclareUnicodeComposite{\accpsili           }{\textIota}{"1F38} % Ἰ
    +\DeclareUnicodeComposite{\accdasia           }{\textIota}{"1F39} % Ἱ
    +\DeclareUnicodeComposite{\accpsilivaria      }{\textIota}{"1F3A} % Ἲ
    +\DeclareUnicodeComposite{\accdasiavaria      }{\textIota}{"1F3B} % Ἳ
    +\DeclareUnicodeComposite{\accpsilioxia       }{\textIota}{"1F3C} % Ἴ
    +\DeclareUnicodeComposite{\accdasiaoxia       }{\textIota}{"1F3D} % Ἵ
    +\DeclareUnicodeComposite{\accpsiliperispomeni}{\textIota}{"1F3E} % Ἶ
    +\DeclareUnicodeComposite{\accdasiaperispomeni}{\textIota}{"1F3F} % Ἷ
    +
    +\DeclareUnicodeComposite{\accpsili           }{\textomicron}{"1F40} % ὀ
    +\DeclareUnicodeComposite{\accdasia           }{\textomicron}{"1F41} % ὁ
    +\DeclareUnicodeComposite{\accpsilivaria      }{\textomicron}{"1F42} % ὂ
    +\DeclareUnicodeComposite{\accdasiavaria      }{\textomicron}{"1F43} % ὃ
    +\DeclareUnicodeComposite{\accpsilioxia       }{\textomicron}{"1F44} % ὄ
    +\DeclareUnicodeComposite{\accdasiaoxia       }{\textomicron}{"1F45} % ὅ
    +\DeclareUnicodeComposite{\accpsili           }{\textOmicron}{"1F48} % Ὀ
    +\DeclareUnicodeComposite{\accdasia           }{\textOmicron}{"1F49} % Ὁ
    +\DeclareUnicodeComposite{\accpsilivaria      }{\textOmicron}{"1F4A} % Ὂ
    +\DeclareUnicodeComposite{\accdasiavaria      }{\textOmicron}{"1F4B} % Ὃ
    +\DeclareUnicodeComposite{\accpsilioxia       }{\textOmicron}{"1F4C} % Ὄ
    +\DeclareUnicodeComposite{\accdasiaoxia       }{\textOmicron}{"1F4D} % Ὅ
    +
    +\DeclareUnicodeComposite{\accpsili           }{\textupsilon}{"1F50} % ὐ
    +\DeclareUnicodeComposite{\accdasia           }{\textupsilon}{"1F51} % ὑ
    +\DeclareUnicodeComposite{\accpsilivaria      }{\textupsilon}{"1F52} % ὒ
    +\DeclareUnicodeComposite{\accdasiavaria      }{\textupsilon}{"1F53} % ὓ
    +\DeclareUnicodeComposite{\accpsilioxia       }{\textupsilon}{"1F54} % ὔ
    +\DeclareUnicodeComposite{\accdasiaoxia       }{\textupsilon}{"1F55} % ὕ
    +\DeclareUnicodeComposite{\accpsiliperispomeni}{\textupsilon}{"1F56} % ὖ
    +\DeclareUnicodeComposite{\accdasiaperispomeni}{\textupsilon}{"1F57} % ὗ
    +\DeclareUnicodeComposite{\accdasia           }{\textUpsilon}{"1F59} % Ὑ
    +\DeclareUnicodeComposite{\accdasiavaria      }{\textUpsilon}{"1F5B} % Ὓ
    +\DeclareUnicodeComposite{\accdasiaoxia       }{\textUpsilon}{"1F5D} % Ὕ
    +\DeclareUnicodeComposite{\accdasiaperispomeni}{\textUpsilon}{"1F5F} % Ὗ
    +
    +\DeclareUnicodeComposite{\accpsili           }{\textomega}{"1F60} % ὠ
    +\DeclareUnicodeComposite{\accdasia           }{\textomega}{"1F61} % ὡ
    +\DeclareUnicodeComposite{\accpsilivaria      }{\textomega}{"1F62} % ὢ
    +\DeclareUnicodeComposite{\accdasiavaria      }{\textomega}{"1F63} % ὣ
    +\DeclareUnicodeComposite{\accpsilioxia       }{\textomega}{"1F64} % ὤ
    +\DeclareUnicodeComposite{\accdasiaoxia       }{\textomega}{"1F65} % ὥ
    +\DeclareUnicodeComposite{\accpsiliperispomeni}{\textomega}{"1F66} % ὦ
    +\DeclareUnicodeComposite{\accdasiaperispomeni}{\textomega}{"1F67} % ὧ
    +\DeclareUnicodeComposite{\accpsili           }{\textOmega}{"1F68} % Ὠ
    +\DeclareUnicodeComposite{\accdasia           }{\textOmega}{"1F69} % Ὡ
    +\DeclareUnicodeComposite{\accpsilivaria      }{\textOmega}{"1F6A} % Ὢ
    +\DeclareUnicodeComposite{\accdasiavaria      }{\textOmega}{"1F6B} % Ὣ
    +\DeclareUnicodeComposite{\accpsilioxia       }{\textOmega}{"1F6C} % Ὤ
    +\DeclareUnicodeComposite{\accdasiaoxia       }{\textOmega}{"1F6D} % Ὥ
    +\DeclareUnicodeComposite{\accpsiliperispomeni}{\textOmega}{"1F6E} % Ὦ
    +\DeclareUnicodeComposite{\accdasiaperispomeni}{\textOmega}{"1F6F} % Ὧ
    +
    +\DeclareUnicodeComposite{\`}                  {\textalpha}  {"1F70} % ὰ
    +\DeclareUnicodeComposite{\`}                  {\textepsilon}{"1F72} % ὲ
    +\DeclareUnicodeComposite{\`}                  {\texteta}    {"1F74} % ὴ
    +\DeclareUnicodeComposite{\`}                  {\textiota}   {"1F76} % ὶ
    +\DeclareUnicodeComposite{\`}                  {\textomicron}{"1F78} % ὸ
    +\DeclareUnicodeComposite{\`}                  {\textupsilon}{"1F7A} % ὺ
    +\DeclareUnicodeComposite{\`}                  {\textomega}  {"1F7C} % ὼ
    +% repeat with named accents (LuaTeX does not normalize to pre-composed chars):
    +\DeclareUnicodeComposite{\accvaria}           {\textalpha}  {"1F70} % ὰ
    +\DeclareUnicodeComposite{\accvaria}           {\textepsilon}{"1F72} % ὲ
    +\DeclareUnicodeComposite{\accvaria}           {\texteta}    {"1F74} % ὴ
    +\DeclareUnicodeComposite{\accvaria}           {\textiota}   {"1F76} % ὶ
    +\DeclareUnicodeComposite{\accvaria}           {\textomicron}{"1F78} % ὸ
    +\DeclareUnicodeComposite{\accvaria}           {\textupsilon}{"1F7A} % ὺ
    +\DeclareUnicodeComposite{\accvaria}           {\textomega}  {"1F7C} % ὼ
    +

    Skipping pre-composed characters with sub-iota (ypogegrammeni/prosgegrammeni).

    +
    \DeclareUnicodeComposite{\u}                  {\textalpha}{"1FB0} % ᾰ
    +\DeclareUnicodeComposite{\=}                  {\textalpha}{"1FB1} % ᾱ
     % ᾲ
     % ᾳ
     % ᾴ
    -\DeclareTextCompositeCommand{\~}{\UTFencname}{\textalpha}{ᾶ}
    -\DeclareTextCompositeCommand{\~}{\UTFencname}{α}{ᾶ}
    -\DeclareTextCompositeCommand{\accperispomeni}{\UTFencname}{\textalpha}{ᾶ}
    +\DeclareUnicodeComposite{\accperispomeni}     {\textalpha}{"1FB6} % ᾶ
    +\DeclareUnicodeComposite{\~}                  {\textalpha}{"1FB6} % ᾶ
     % ᾷ
    -\DeclareTextCompositeCommand{\u}{\UTFencname}{\textAlpha}{Ᾰ}
    -\DeclareTextCompositeCommand{\=}{\UTFencname}{\textAlpha}{Ᾱ}
    -\DeclareTextCompositeCommand{\`}{\UTFencname}{\textAlpha}{Ὰ}
    +\DeclareUnicodeComposite{\u}                  {\textAlpha}{"1FB8} % Ᾰ
    +\DeclareUnicodeComposite{\=}                  {\textAlpha}{"1FB9} % Ᾱ
    +\DeclareUnicodeComposite{\`}                  {\textAlpha}{"1FBA} % Ὰ
    +\DeclareUnicodeComposite{\accvaria}           {\textAlpha}{"1FBA} % Ὰ
     % ᾼ
    -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\textcompwordmark}{᾽}
    -\DeclareTextCommand{\prosgegrammeni}{\UTFencname}{ι}
    -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\textcompwordmark}{᾿}
    +\DeclareUnicodeComposite{\accpsili}           {}          {"1FBD} % ᾽
    +\DeclareTextSymbol{\prosgegrammeni}\UnicodeEncodingName {"1FBE} % ι
    +\DeclareUnicodeComposite{\accpsili}           {}          {"1FBF} % ᾿
     
    -\DeclareTextCompositeCommand{\accperispomeni}{\UTFencname}{\textcompwordmark}{῀}
    -\DeclareTextCompositeCommand{\accdialytikaperispomeni}{\UTFencname}{\textcompwordmark}{῁}
    +\DeclareUnicodeComposite{\accperispomeni}     {}          {"1FC0} % ῀
    +\DeclareUnicodeComposite{\accdialytikaperispomeni}{}      {"1FC1} % ῁
     % ῂ
     % ῃ
     % ῄ
    -\DeclareTextCompositeCommand{\~}{\UTFencname}{\texteta}{ῆ}
    -\DeclareTextCompositeCommand{\~}{\UTFencname}{η}{ῆ}
    -\DeclareTextCompositeCommand{\accperispomeni}{\UTFencname}{\texteta}{ῆ}
    +\DeclareUnicodeComposite{\accperispomeni}         {\texteta}    {"1FC6} % ῆ
    +\DeclareUnicodeComposite{\~}                      {\texteta}    {"1FC6} % ῆ
     % ῇ
    -\DeclareTextCompositeCommand{\`}{\UTFencname}{\textEpsilon}{Ὲ}
    -\DeclareTextCompositeCommand{\`}{\UTFencname}{\textEta}{Ὴ}
    +\DeclareUnicodeComposite{\`}                      {\textEpsilon}{"1FC8} % Ὲ
    +\DeclareUnicodeComposite{\accvaria}               {\textEpsilon}{"1FC8} % Ὲ
    +\DeclareUnicodeComposite{\`}                      {\textEta}    {"1FCA} % Ὴ
    +\DeclareUnicodeComposite{\accvaria}               {\textEta}    {"1FCA} % Ὴ
     % ῌ
    -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\textcompwordmark}{῍}
    -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\textcompwordmark}{῎}
    -\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UTFencname}{\textcompwordmark}{῏}
    -
    -\DeclareTextCompositeCommand{\u}{\UTFencname}{\textiota}{ῐ}
    -\DeclareTextCompositeCommand{\=}{\UTFencname}{\textiota}{ῑ}
    -\DeclareTextCompositeCommand{\accdialytikavaria}{\UTFencname}{\textiota}{ῒ}
    -\DeclareTextCompositeCommand{\accdialytikaoxia}{\UTFencname}{\textiota}{ΐ}
    -\DeclareTextCompositeCommand{\~}{\UTFencname}{\textiota}{ῖ}
    -\DeclareTextCompositeCommand{\~}{\UTFencname}{ι}{ῖ}
    -\DeclareTextCompositeCommand{\accperispomeni}{\UTFencname}{\textiota}{ῖ}
    -\DeclareTextCompositeCommand{\accdialytikaperispomeni}{\UTFencname}{\textiota}{ῗ}
    -\DeclareTextCompositeCommand{\u}{\UTFencname}{\textIota}{Ῐ}
    -\DeclareTextCompositeCommand{\=}{\UTFencname}{\textIota}{Ῑ}
    -\DeclareTextCompositeCommand{\`}{\UTFencname}{\textIota}{Ὶ}
    -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\textcompwordmark}{῝}
    -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\textcompwordmark}{῞}
    -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\textcompwordmark}{῟}
    -
    -\DeclareTextCompositeCommand{\u}{\UTFencname}{\textupsilon}{ῠ}
    -\DeclareTextCompositeCommand{\=}{\UTFencname}{\textupsilon}{ῡ}
    -\DeclareTextCompositeCommand{\accdialytikavaria}{\UTFencname}{\textupsilon}{ῢ}
    -\DeclareTextCompositeCommand{\accdialytikaoxia}{\UTFencname}{\textupsilon}{ΰ}
    -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\textrho}{ῤ}
    -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\textrho}{ῥ}
    -\DeclareTextCompositeCommand{\~}{\UTFencname}{\textupsilon}{ῦ}
    -\DeclareTextCompositeCommand{\~}{\UTFencname}{υ}{ῦ}
    -\DeclareTextCompositeCommand{\accperispomeni}{\UTFencname}{\textupsilon}{ῦ}
    -\DeclareTextCompositeCommand{\accdialytikaperispomeni}{\UTFencname}{\textupsilon}{ῧ}
    -\DeclareTextCompositeCommand{\u}{\UTFencname}{\textUpsilon}{Ῠ}
    -\DeclareTextCompositeCommand{\=}{\UTFencname}{\textUpsilon}{Ῡ}
    -\DeclareTextCompositeCommand{\`}{\UTFencname}{\textUpsilon}{Ὺ}
    -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\textRho}{Ῥ}
    -\DeclareTextCompositeCommand{\accdialytikavaria}{\UTFencname}{\textcompwordmark}{῭}
    -\DeclareTextCompositeCommand{\accdialytikaoxia}{\UTFencname}{\textcompwordmark}{΅}
    +\DeclareUnicodeComposite{\accpsilivaria}          {}            {"1FCD} % ῍
    +\DeclareUnicodeComposite{\accpsilioxia}           {}            {"1FCE} % ῎
    +\DeclareUnicodeComposite{\accpsiliperispomeni}    {}            {"1FCF} % ῏
    +
    +\DeclareUnicodeComposite{\u}                      {\textiota}   {"1FD0} % ῐ
    +\DeclareUnicodeComposite{\=}                      {\textiota}   {"1FD1} % ῑ
    +\DeclareUnicodeComposite{\accdialytikavaria}      {\textiota}   {"1FD2} % ῒ
    +\DeclareUnicodeComposite{\accdialytikaoxia}       {\textiota}   {"1FD3} % ΐ
    +\DeclareUnicodeComposite{\accperispomeni}         {\textiota}   {"1FD6} % ῖ
    +\DeclareUnicodeComposite{\~}                      {\textiota}   {"1FD6} % ῖ
    +\DeclareUnicodeComposite{\~}                      {ι}           {"1FD6} % ῖ
    +\DeclareUnicodeComposite{\accdialytikaperispomeni}{\textiota}   {"1FD7} % ῗ
    +\DeclareUnicodeComposite{\u}                      {\textIota}   {"1FD8} % Ῐ
    +\DeclareUnicodeComposite{\=}                      {\textIota}   {"1FD9} % Ῑ
    +\DeclareUnicodeComposite{\`}                      {\textIota}   {"1FDA} % Ὶ
    +\DeclareUnicodeComposite{\accvaria}               {\textIota}   {"1FDA} % Ὶ
    +\DeclareUnicodeComposite{\accdasiavaria}          {}            {"1FDD} % ῝
    +\DeclareUnicodeComposite{\accdasiaoxia}           {}            {"1FDE} % ῞
    +\DeclareUnicodeComposite{\accdasiaperispomeni}    {}            {"1FDF} % ῟
    +
    +\DeclareUnicodeComposite{\u}                      {\textupsilon}{"1FE0} % ῠ
    +\DeclareUnicodeComposite{\=}                      {\textupsilon}{"1FE1} % ῡ
    +\DeclareUnicodeComposite{\accdialytikavaria}      {\textupsilon}{"1FE2} % ῢ
    +\DeclareUnicodeComposite{\accdialytikaoxia}       {\textupsilon}{"1FE3} % ΰ
    +\DeclareUnicodeComposite{\accpsili}               {\textrho}    {"1FE4} % ῤ
    +\DeclareUnicodeComposite{\accdasia}               {\textrho}    {"1FE5} % ῥ
    +\DeclareUnicodeComposite{\~}                      {\textupsilon}{"1FE6} % ῦ
    +\DeclareUnicodeComposite{\accperispomeni}         {\textupsilon}{"1FE6} % ῦ
    +\DeclareUnicodeComposite{\accdialytikaperispomeni}{\textupsilon}{"1FE7} % ῧ
    +\DeclareUnicodeComposite{\u}                      {\textUpsilon}{"1FE8} % Ῠ
    +\DeclareUnicodeComposite{\=}                      {\textUpsilon}{"1FE9} % Ῡ
    +\DeclareUnicodeComposite{\`}                      {\textUpsilon}{"1FEA} % Ὺ
    +\DeclareUnicodeComposite{\accvaria}               {\textUpsilon}{"1FEA} % Ὺ
    +% Ύ
    +\DeclareUnicodeComposite{\accdasia}               {\textRho}    {"1FEC} % Ῥ
    +\DeclareUnicodeComposite{\accdialytikavaria}      {}            {"1FED} % ῭
    +\DeclareUnicodeComposite{\accdialytikaoxia}       {}            {"1FEE} % ΅
    +% `
     
     % ῲ
     % ῳ
     % ῴ
    -\DeclareTextCompositeCommand{\~}{\UTFencname}{\textomega}{ῶ}
    -\DeclareTextCompositeCommand{\~}{\UTFencname}{ω}{ῶ}
    -\DeclareTextCompositeCommand{\accperispomeni}{\UTFencname}{\textomega}{ῶ}
    +\DeclareUnicodeComposite{\accperispomeni}         {\textomega}  {"1FF6} % ῶ
    +\DeclareUnicodeComposite{\~}                      {\textomega}  {"1FF6} % ῶ
     % ῷ
    -\DeclareTextCompositeCommand{\`}{\UTFencname}{\textOmicron}{Ὸ}
    -\DeclareTextCompositeCommand{\`}{\UTFencname}{\textOmega}{Ὼ}
    +\DeclareUnicodeComposite{\`}                      {\textOmicron}{"1FF8} % Ὸ
    +\DeclareUnicodeComposite{\accvaria}               {\textOmicron}{"1FF8} % Ὸ
    +\DeclareUnicodeComposite{\`}                      {\textOmega}  {"1FFA} % Ὼ
    +\DeclareUnicodeComposite{\accvaria}               {\textOmega}  {"1FFA} % Ὼ
     % ῼ
    -\DeclareTextCompositeCommand{\accoxia}{\UTFencname}{\textcompwordmark}{´}
    -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\textcompwordmark}{῾}
    +\DeclareUnicodeComposite{\accoxia} {} {"1FFD} % ´ +\DeclareUnicodeComposite{\accdasia} {} {"1FFE} % ῾
    +

    Diacritics on literal Unicode characters:

    +
    \DeclareUnicodeComposite{\~}{α}{"1FB6} % ᾶ
    +\DeclareUnicodeComposite{\~}{η}{"1FC6} % ῆ
    +\DeclareUnicodeComposite{\~}{υ}{"1FE6} % ῦ
    +\DeclareUnicodeComposite{\~}{ω}{"1FF6} % ῶ
    -

    Letterlike Symbols

    -
    \DeclareTextCommand{\textohm}{\UTFencname}{Ω} % OHM SIGN
    +

    Letterlike Symbols

    +
    \DeclareTextSymbol{\textohm}\UnicodeEncodingName{"03A9} % OHM SIGN, use 03A9 Omega
    -

    Ancient Greek Numbers

    +

    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}{\UTFencname}{𐅄}    % GREEK ACROPHONIC ATTIC FIFTY
    -\DeclareTextCommand{\textpentehekaton}{\UTFencname}{𐅅} % GREEK ACROPHONIC ATTIC FIVE HUNDRED
    -\DeclareTextCommand{\textpenteqilioi}{\UTFencname}{𐅆}  % GREEK ACROPHONIC ATTIC FIVE THOUSAND
    -\DeclareTextCommand{\textpentemuria}{\UTFencname}{𐅇}   % GREEK ACROPHONIC ATTIC FIFTY THOUSAND
    +
    \DeclareTextSymbol{\textpentedeka   }\UnicodeEncodingName{"10144} % GREEK ACROPHONIC ATTIC FIFTY
    +\DeclareTextSymbol{\textpentehekaton}\UnicodeEncodingName{"10145} % GREEK ACROPHONIC ATTIC FIVE HUNDRED
    +\DeclareTextSymbol{\textpenteqilioi }\UnicodeEncodingName{"10146} % GREEK ACROPHONIC ATTIC FIVE THOUSAND
    +\DeclareTextSymbol{\textpentemuria  }\UnicodeEncodingName{"10147} % GREEK ACROPHONIC ATTIC FIFTY THOUSAND
    -

    UPPERCASE

    +

    UPPERCASE

    Greek letters drop diacritics (eccept dialytika and sub-iota) in UPPERCASE.

    -

    uc/lc values

    +

    uc/lc values

    \lccode and \uccode corrections from the xgreek package by Apostolos Syropoulos:

    \global\lccode"0370="0371 \global\uccode"0370="0370
     \global\lccode"0371="0371 \global\uccode"0371="0370
    @@ -1461,13 +1527,13 @@ hexadecimal digits:

    \global\lccode"1FFC="1FF3 \global\uccode"1FFC="1FFC
    -

    uclclist

    +

    uclclist

    The common Greek font encoding definitions in greek-fontenc.def extend the uclclist with Greek LICR macros. Here, we add Unicode-specific “hiatus” handling (copied from lgrenc.def and changed Latin transcription to Unicode literals).

    The hiatus definition modifications:

    -
    \DeclareTextCommand{\LGR@A@hiatus}{\UTFencname}{%
    +
    \DeclareTextCommand{\LGR@A@hiatus}{\UnicodeEncodingName}{%
       \LGR@ifnextchar{Ι}{\textAlpha\"}{%
         \LGR@ifnextchar{Υ}{\textAlpha\"}{%
           \LGR@ifnextchar{\textIota}{\textAlpha\"}{%
    @@ -1476,7 +1542,7 @@ Latin transcription to Unicode literals).

    }% }% } -\DeclareTextCommand{\LGR@E@hiatus}{\UTFencname}{% +\DeclareTextCommand{\LGR@E@hiatus}{\UnicodeEncodingName}{% \LGR@ifnextchar{Ι}{\textEpsilon\"}{% \LGR@ifnextchar{Υ}{\textEpsilon\"}{% \LGR@ifnextchar{\textIota}{\textEpsilon\"}{% @@ -1488,17 +1554,6 @@ Latin transcription to Unicode literals).

    -
    -

    Docutils System Messages

    -
    -

    System Message: ERROR/3 (tuenc-greek.def.txt, line 17); backlink

    -

    Unknown target name: "tuenc".

    -
    -
    -

    System Message: ERROR/3 (tuenc-greek.def.txt, line 47); backlink

    -

    Unknown target name: "tuenc".

    -
    -
    diff --git a/Master/texmf-dist/source/latex/greek-fontenc/Makefile b/Master/texmf-dist/source/latex/greek-fontenc/Makefile index 05fd97cdfdf..5472c479a92 100644 --- a/Master/texmf-dist/source/latex/greek-fontenc/Makefile +++ b/Master/texmf-dist/source/latex/greek-fontenc/Makefile @@ -22,7 +22,7 @@ SH = sh # programs PYLIT = pylit # text <-> source converter for literal programming RST2HTML = rst2html5 # text -> HTML converter, see docutils.sf.net -RUBBER = rubber -f # wrapper around `latex`, run until references resolved +RUBBER = rubber -f --pdf -m hyperref # wrapper around `latex`, run until references resolved LATEX = pdflatex -interaction batchmode # LaTeX source files @@ -70,17 +70,14 @@ lgr2licr.lua: lgr2licr.lua.txt doc: html pdf -html: greek-fontenc.html tuenc-greek.def.html greek-fontenc.def.html \ - lgrenc.def.html textalpha.sty.html alphabeta.sty.html \ +html: greek-fontenc.html lgrenc.def.html puenc-greek.def.html \ + tuenc-greek.def.html greek-fontenc.def.html \ + textalpha.sty.html alphabeta.sty.html \ alphabeta-tuenc.def.html alphabeta-lgr.def.html lgr2licr.lua.html greek-fontenc.html: README $(RST2HTML) README greek-fontenc.html -tuenc-greek.def.html: tuenc-greek.def - $(PYLIT) tuenc-greek.def - $(RST2HTML) tuenc-greek.def.txt tuenc-greek.def.html - greek-fontenc.def.html: greek-fontenc.def $(PYLIT) greek-fontenc.def $(RST2HTML) greek-fontenc.def.txt greek-fontenc.def.html @@ -89,6 +86,14 @@ lgrenc.def.html: lgrenc.def $(PYLIT) lgrenc.def $(RST2HTML) lgrenc.def.txt lgrenc.def.html +tuenc-greek.def.html: tuenc-greek.def + $(PYLIT) tuenc-greek.def + $(RST2HTML) tuenc-greek.def.txt tuenc-greek.def.html + +puenc-greek.def.html: puenc-greek.def + $(PYLIT) puenc-greek.def + $(RST2HTML) puenc-greek.def.txt puenc-greek.def.html + textalpha.sty.html: textalpha.sty $(PYLIT) textalpha.sty $(RST2HTML) textalpha.sty.txt textalpha.sty.html @@ -112,34 +117,43 @@ lgr2licr.lua.html: lgr2licr.lua # User documentation # ================== -pdf: alphabeta-doc.pdf diacritics.pdf tuenc-greek-doc.pdf greekhyperref.pdf \ - lgrenc-test.pdf textalpha-doc.pdf +pdf: alphabeta-doc.pdf alphabeta-tu.pdf diacritics.pdf \ + textalpha-doc.pdf textalpha-tu.pdf hyperref-with-greek.pdf \ + test-inputenc.pdf test-lgrenc.pdf test-tuenc-greek.pdf -TEXTALPHA = textalpha.sty greek-fontenc.def +TEXTALPHA = textalpha.sty greek-fontenc.def lgrenc.def tuenc-greek.def puenc-greek.def ALPHABETA = $(TEXTALPHA) alphabeta.sty -lgrenc-test.pdf: lgrenc-test.tex lgrenc.def greek-fontenc.def - $(LATEX) lgrenc-test.tex - -tuenc-greek-doc.pdf: tuenc-greek-doc.tex tuenc-greek.def greek-fontenc.def - $(RUBBER) -m xelatex tuenc-greek-doc.tex +alphabeta-doc.pdf: alphabeta-doc.tex $(ALPHABETA) + $(RUBBER) alphabeta-doc.tex -textalpha-doc.pdf: textalpha-doc.tex lgrenc.def $(TEXTALPHA) - $(LATEX) textalpha-doc.tex +alphabeta-tu.pdf: alphabeta-doc.tex $(ALPHABETA) + $(RUBBER) -m xelatex --jobname=alphabeta-tu alphabeta-doc.tex -alphabeta-doc.pdf: alphabeta-doc.tex $(ALPHABETA) lgrenc.def - $(LATEX) alphabeta-doc.tex +textalpha-doc.pdf: textalpha-doc.tex $(TEXTALPHA) + $(RUBBER) textalpha-doc.tex -alphabeta-doc-tuenc.pdf: alphabeta-doc.tex $(ALPHABETA) tuenc-greek.def - $(RUBBER) -m xelatex alphabeta-doc.tex - mv alphabeta-doc.pdf alphabeta-doc-tuenc.pdf - -greekhyperref.pdf: greekhyperref.tex $(ALPHABETA) lgrenc.def - $(LATEX) greekhyperref.tex +textalpha-tu.pdf: textalpha-doc.tex lgrenc.def $(TEXTALPHA) + $(RUBBER) -m xelatex --jobname=textalpha-tu textalpha-doc.tex diacritics.pdf: diacritics.tex lgrenc.def greek-fontenc.def $(LATEX) diacritics.tex +hyperref-with-greek.pdf: hyperref-with-greek.tex $(ALPHABETA) + $(RUBBER) hyperref-with-greek.tex + +test-lgrenc.pdf: test-lgrenc.tex lgrenc.def greek-fontenc.def + $(LATEX) test-lgrenc.tex + +test-tuenc-greek.pdf: test-tuenc-greek.tex tuenc-greek.def greek-fontenc.def + $(RUBBER) -m xelatex test-tuenc-greek.tex + +test-inputenc.pdf: test-inputenc.tex $(TEXTALPHA) + $(RUBBER) test-inputenc.tex + +test-inputenc-tu.pdf: test-inputenc.tex lgrenc.def $(TEXTALPHA) + $(RUBBER) -m lualatex --jobname=test-inputenc-tu test-inputenc.tex + # Installation # ------------ @@ -164,5 +178,5 @@ install-doc: doc .PHONY: clean clean: - rm -f *.aux *.log *.toc *~ + rm -f *.aux *.log *.toc *.out *~ diff --git a/Master/texmf-dist/tex/latex/greek-fontenc/alphabeta-lgr.def b/Master/texmf-dist/tex/latex/greek-fontenc/alphabeta-lgr.def index efdce493e0e..e976eafd56b 100644 --- a/Master/texmf-dist/tex/latex/greek-fontenc/alphabeta-lgr.def +++ b/Master/texmf-dist/tex/latex/greek-fontenc/alphabeta-lgr.def @@ -2,7 +2,7 @@ % =================== % Composite definitions for 8-bit TeX % ****************************************** -% +% % :Copyright: © 2014 Günter Milde % :Licence: This work may be distributed and/or modified under the % conditions of the `LaTeX Project Public License`_, either @@ -11,27 +11,28 @@ % :: \ProvidesFile{alphabeta-lgr} -[2014/09/04 1.0 Composite definitions for 8-bit TeX] +[2020/09/25 1.0 Composite definitions for 8-bit TeX] % :Changelog: % .. class:: borderless -% -% ========== ====== ======================================================= -% 2014-09-04 0.11.2 outsourced from ``alphabeta.sty``. -% ========== ====== ======================================================= -% +% +% ====== ========== ===================================================== +% 0.11.2 2014-09-04 outsourced from ``alphabeta.sty``. +% 1.0 2020-09-25 New package version. No changes in this file. +% ====== ========== ===================================================== +% % The alphabeta_ package re-defines the math macros for Greek letters to work % in both, text and math mode, so that Greek letters can be specified with % the established command names in text, too. -% +% % The NFSS TextComposite mechanism looks for the next token without expanding % it. In order to let compositions like ``\>"\alpha`` work as expected we % define TextComposites with the `letter name commands`. -% +% % This file expands the font encoding definitions in lgrenc.def_ with % composite commands for use with 8-bit TeX fonts. It is sourced by % alphabeta_ under 8-bit TeX (pdfTeX, eTeX, TeX). -% +% % :: \DeclareTextComposite{\accvaria}{LGR}{\alpha}{128} @@ -182,7 +183,7 @@ % .. References -% +% % .. _LaTeX Project Public License: http://www.latex-project.org/lppl.txt % .. _alphabeta: alphabeta.sty.html % .. _lgrenc.def: lgrenc.def.html diff --git a/Master/texmf-dist/tex/latex/greek-fontenc/alphabeta-tuenc.def b/Master/texmf-dist/tex/latex/greek-fontenc/alphabeta-tuenc.def index 14305d563e8..663f58c117c 100644 --- a/Master/texmf-dist/tex/latex/greek-fontenc/alphabeta-tuenc.def +++ b/Master/texmf-dist/tex/latex/greek-fontenc/alphabeta-tuenc.def @@ -11,20 +11,23 @@ % :: \ProvidesFile{alphabeta-tuenc} -[2020/02/28 1.0 Composite definitions for XeTeX and LuaTeX] +[2020/10/30 2.0 Composite definitions for XeTeX and LuaTeX] % Composite definitions for ``alphabeta.sty`` with XeTeX and LuaTeX. % % Changelog: % .. class:: borderless % -% ========== ====== ======================================================== -% 2013-09-12 0.1 initial version -% 2013-10-01 0.1.1 remove clashing defs for legacy characters with oxia. -% 2014-09-04 0.11.2 documentation update -% 2020/02/28 0.14 rename to ``alphabeta-tuenc.def``, -% use ``\UTFencname`` instead of ``\LastDeclaredEncoding`` -% ========== ====== ======================================================== +% ====== ========== ======================================================== +% 0.1 2013-09-12 initial version +% 0.1.1 2013-10-01 remove clashing defs for legacy characters with oxia. +% 0.11.2 2014-09-04 documentation update +% 0.14 2020-02-28 rename to ``alphabeta-tuenc.def``, +% use ``\UTFencname`` instead of ``\LastDeclaredEncoding`` +% 1.0 2020-09-25 New package version. No changes in this file. +% 2.0 2020-10-30 Use ``\UnicodeEncodingName`` instead of ``\UTFencname``. +% ====== ========== ======================================================== +% % % The alphabeta_ package re-defines the math macros for Greek letters to work % in both, text and math mode, so that Greek letters can be specified with @@ -42,28 +45,28 @@ % ~~~~~~~~~~~~~~~~ % :: -\DeclareTextCompositeCommand{\'}{\UTFencname}{\Alpha}{Ά} -\DeclareTextCompositeCommand{\'}{\UTFencname}{\Epsilon}{Έ} -\DeclareTextCompositeCommand{\'}{\UTFencname}{\Eta}{Ή} -\DeclareTextCompositeCommand{\'}{\UTFencname}{\Iota}{Ί} -\DeclareTextCompositeCommand{\'}{\UTFencname}{\Omicron}{Ό} -\DeclareTextCompositeCommand{\'}{\UTFencname}{\Upsilon}{Ύ} -\DeclareTextCompositeCommand{\'}{\UTFencname}{\Omega}{Ώ} -\DeclareTextCompositeCommand{\accdialytikatonos}{\UTFencname}{\iota}{ΐ} - -\DeclareTextCompositeCommand{\"}{\UTFencname}{\Iota}{Ϊ} -\DeclareTextCompositeCommand{\"}{\UTFencname}{\Upsilon}{Ϋ} -\DeclareTextCompositeCommand{\'}{\UTFencname}{\alpha}{ά} -\DeclareTextCompositeCommand{\'}{\UTFencname}{\epsilon}{έ} -\DeclareTextCompositeCommand{\'}{\UTFencname}{\eta}{ή} -\DeclareTextCompositeCommand{\'}{\UTFencname}{\iota}{ί} -\DeclareTextCompositeCommand{\accdialytikatonos}{\UTFencname}{\upsilon}{ΰ} - -\DeclareTextCompositeCommand{\"}{\UTFencname}{\iota}{ϊ} -\DeclareTextCompositeCommand{\"}{\UTFencname}{\upsilon}{ϋ} -\DeclareTextCompositeCommand{\'}{\UTFencname}{\omicron}{ό} -\DeclareTextCompositeCommand{\'}{\UTFencname}{\upsilon}{ύ} -\DeclareTextCompositeCommand{\'}{\UTFencname}{\omega}{ώ} +\DeclareTextCompositeCommand{\'}{\UnicodeEncodingName}{\Alpha}{Ά} +\DeclareTextCompositeCommand{\'}{\UnicodeEncodingName}{\Epsilon}{Έ} +\DeclareTextCompositeCommand{\'}{\UnicodeEncodingName}{\Eta}{Ή} +\DeclareTextCompositeCommand{\'}{\UnicodeEncodingName}{\Iota}{Ί} +\DeclareTextCompositeCommand{\'}{\UnicodeEncodingName}{\Omicron}{Ό} +\DeclareTextCompositeCommand{\'}{\UnicodeEncodingName}{\Upsilon}{Ύ} +\DeclareTextCompositeCommand{\'}{\UnicodeEncodingName}{\Omega}{Ώ} +\DeclareTextCompositeCommand{\accdialytikatonos}{\UnicodeEncodingName}{\iota}{ΐ} + +\DeclareTextCompositeCommand{\"}{\UnicodeEncodingName}{\Iota}{Ϊ} +\DeclareTextCompositeCommand{\"}{\UnicodeEncodingName}{\Upsilon}{Ϋ} +\DeclareTextCompositeCommand{\'}{\UnicodeEncodingName}{\alpha}{ά} +\DeclareTextCompositeCommand{\'}{\UnicodeEncodingName}{\epsilon}{έ} +\DeclareTextCompositeCommand{\'}{\UnicodeEncodingName}{\eta}{ή} +\DeclareTextCompositeCommand{\'}{\UnicodeEncodingName}{\iota}{ί} +\DeclareTextCompositeCommand{\accdialytikatonos}{\UnicodeEncodingName}{\upsilon}{ΰ} + +\DeclareTextCompositeCommand{\"}{\UnicodeEncodingName}{\iota}{ϊ} +\DeclareTextCompositeCommand{\"}{\UnicodeEncodingName}{\upsilon}{ϋ} +\DeclareTextCompositeCommand{\'}{\UnicodeEncodingName}{\omicron}{ό} +\DeclareTextCompositeCommand{\'}{\UnicodeEncodingName}{\upsilon}{ύ} +\DeclareTextCompositeCommand{\'}{\UnicodeEncodingName}{\omega}{ώ} % Greek Extended @@ -71,170 +74,170 @@ % Postfix ypogegrammeni cannot be second part of composite defs. % :: -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\alpha}{ἀ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\alpha}{ἁ} -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\alpha}{ἂ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\alpha}{ἃ} -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\alpha}{ἄ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\alpha}{ἅ} -\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UTFencname}{\alpha}{ἆ} -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\alpha}{ἇ} -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\Alpha}{Ἀ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\Alpha}{Ἁ} -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\Alpha}{Ἂ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\Alpha}{Ἃ} -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\Alpha}{Ἄ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\Alpha}{Ἅ} -\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UTFencname}{\Alpha}{Ἆ} -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\Alpha}{Ἇ} - -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\epsilon}{ἐ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\epsilon}{ἑ} -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\epsilon}{ἒ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\epsilon}{ἓ} -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\epsilon}{ἔ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\epsilon}{ἕ} -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\Epsilon}{Ἐ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\Epsilon}{Ἑ} -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\Epsilon}{Ἒ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\Epsilon}{Ἓ} -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\Epsilon}{Ἔ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\Epsilon}{Ἕ} - -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\eta}{ἠ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\eta}{ἡ} -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\eta}{ἢ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\eta}{ἣ} -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\eta}{ἤ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\eta}{ἥ} -\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UTFencname}{\eta}{ἦ} -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\eta}{ἧ} -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\Eta}{Ἠ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\Eta}{Ἡ} -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\Eta}{Ἢ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\Eta}{Ἣ} -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\Eta}{Ἤ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\Eta}{Ἥ} -\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UTFencname}{\Eta}{Ἦ} -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\Eta}{Ἧ} - -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\iota}{ἰ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\iota}{ἱ} -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\iota}{ἲ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\iota}{ἳ} -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\iota}{ἴ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\iota}{ἵ} -\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UTFencname}{\iota}{ἶ} -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\iota}{ἷ} -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\Iota}{Ἰ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\Iota}{Ἱ} -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\Iota}{Ἲ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\Iota}{Ἳ} -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\Iota}{Ἴ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\Iota}{Ἵ} -\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UTFencname}{\Iota}{Ἶ} -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\Iota}{Ἷ} - -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\omicron}{ὀ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\omicron}{ὁ} -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\omicron}{ὂ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\omicron}{ὃ} -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\omicron}{ὄ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\omicron}{ὅ} -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\Omicron}{Ὀ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\Omicron}{Ὁ} -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\Omicron}{Ὂ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\Omicron}{Ὃ} -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\Omicron}{Ὄ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\Omicron}{Ὅ} - -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\upsilon}{ὐ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\upsilon}{ὑ} -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\upsilon}{ὒ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\upsilon}{ὓ} -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\upsilon}{ὔ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\upsilon}{ὕ} -\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UTFencname}{\upsilon}{ὖ} -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\upsilon}{ὗ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\Upsilon}{Ὑ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\Upsilon}{Ὓ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\Upsilon}{Ὕ} -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\Upsilon}{Ὗ} - -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\omega}{ὠ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\omega}{ὡ} -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\omega}{ὢ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\omega}{ὣ} -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\omega}{ὤ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\omega}{ὥ} -\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UTFencname}{\omega}{ὦ} -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\omega}{ὧ} -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\Omega}{Ὠ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\Omega}{Ὡ} -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\Omega}{Ὢ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\Omega}{Ὣ} -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\Omega}{Ὤ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\Omega}{Ὥ} -\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UTFencname}{\Omega}{Ὦ} -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\Omega}{Ὧ} - -\DeclareTextCompositeCommand{\`}{\UTFencname}{\alpha}{ὰ} -\DeclareTextCompositeCommand{\`}{\UTFencname}{\epsilon}{ὲ} -\DeclareTextCompositeCommand{\`}{\UTFencname}{\eta}{ὴ} -\DeclareTextCompositeCommand{\`}{\UTFencname}{\iota}{ὶ} -\DeclareTextCompositeCommand{\`}{\UTFencname}{\omicron}{ὸ} -\DeclareTextCompositeCommand{\`}{\UTFencname}{\upsilon}{ὺ} -\DeclareTextCompositeCommand{\`}{\UTFencname}{\omega}{ὼ} - -\DeclareTextCompositeCommand{\u}{\UTFencname}{\alpha}{ᾰ} -\DeclareTextCompositeCommand{\=}{\UTFencname}{\alpha}{ᾱ} -\DeclareTextCompositeCommand{\~}{\UTFencname}{\alpha}{ᾶ} -\DeclareTextCompositeCommand{\accperispomeni}{\UTFencname}{\alpha}{ᾶ} -\DeclareTextCompositeCommand{\u}{\UTFencname}{\Alpha}{Ᾰ} -\DeclareTextCompositeCommand{\=}{\UTFencname}{\Alpha}{Ᾱ} -\DeclareTextCompositeCommand{\`}{\UTFencname}{\Alpha}{Ὰ} -\DeclareTextCompositeCommand{\accvaria}{\UTFencname}{\Alpha}{Ὰ} - -\DeclareTextCompositeCommand{\~}{\UTFencname}{\eta}{ῆ} -\DeclareTextCompositeCommand{\accperispomeni}{\UTFencname}{\eta}{ῆ} -\DeclareTextCompositeCommand{\`}{\UTFencname}{\Epsilon}{Ὲ} -\DeclareTextCompositeCommand{\`}{\UTFencname}{\Eta}{Ὴ} -\DeclareTextCompositeCommand{\accvaria}{\UTFencname}{\Epsilon}{Ὲ} -\DeclareTextCompositeCommand{\accvaria}{\UTFencname}{\Eta}{Ὴ} - -\DeclareTextCompositeCommand{\u}{\UTFencname}{\iota}{ῐ} -\DeclareTextCompositeCommand{\=}{\UTFencname}{\iota}{ῑ} -\DeclareTextCompositeCommand{\accdialytikavaria}{\UTFencname}{\iota}{ῒ} -\DeclareTextCompositeCommand{\accdialytikaoxia}{\UTFencname}{\iota}{ΐ} -\DeclareTextCompositeCommand{\~}{\UTFencname}{\iota}{ῖ} -\DeclareTextCompositeCommand{\accperispomeni}{\UTFencname}{\iota}{ῖ} -\DeclareTextCompositeCommand{\accdialytikaperispomeni}{\UTFencname}{\iota}{ῗ} -\DeclareTextCompositeCommand{\u}{\UTFencname}{\Iota}{Ῐ} -\DeclareTextCompositeCommand{\=}{\UTFencname}{\Iota}{Ῑ} -\DeclareTextCompositeCommand{\`}{\UTFencname}{\Iota}{Ὶ} -\DeclareTextCompositeCommand{\accvaria}{\UTFencname}{\Iota}{Ὶ} - -\DeclareTextCompositeCommand{\u}{\UTFencname}{\upsilon}{ῠ} -\DeclareTextCompositeCommand{\=}{\UTFencname}{\upsilon}{ῡ} -\DeclareTextCompositeCommand{\accdialytikavaria}{\UTFencname}{\upsilon}{ῢ} -\DeclareTextCompositeCommand{\accdialytikaoxia}{\UTFencname}{\upsilon}{ΰ} -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\rho}{ῤ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\rho}{ῥ} -\DeclareTextCompositeCommand{\~}{\UTFencname}{\upsilon}{ῦ} -\DeclareTextCompositeCommand{\accperispomeni}{\UTFencname}{\upsilon}{ῦ} -\DeclareTextCompositeCommand{\accdialytikaperispomeni}{\UTFencname}{\upsilon}{ῧ} -\DeclareTextCompositeCommand{\u}{\UTFencname}{\Upsilon}{Ῠ} -\DeclareTextCompositeCommand{\=}{\UTFencname}{\Upsilon}{Ῡ} -\DeclareTextCompositeCommand{\`}{\UTFencname}{\Upsilon}{Ὺ} -\DeclareTextCompositeCommand{\accvaria}{\UTFencname}{\Upsilon}{Ὺ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\Rho}{Ῥ} - -\DeclareTextCompositeCommand{\~}{\UTFencname}{\omega}{ῶ} -\DeclareTextCompositeCommand{\accperispomeni}{\UTFencname}{\omega}{ῶ} -\DeclareTextCompositeCommand{\`}{\UTFencname}{\Omicron}{Ὸ} -\DeclareTextCompositeCommand{\`}{\UTFencname}{\Omega}{Ὼ} -\DeclareTextCompositeCommand{\accvaria}{\UTFencname}{\Omicron}{Ὸ} -\DeclareTextCompositeCommand{\accvaria}{\UTFencname}{\Omega}{Ὼ} +\DeclareTextCompositeCommand{\accpsili}{\UnicodeEncodingName}{\alpha}{ἀ} +\DeclareTextCompositeCommand{\accdasia}{\UnicodeEncodingName}{\alpha}{ἁ} +\DeclareTextCompositeCommand{\accpsilivaria}{\UnicodeEncodingName}{\alpha}{ἂ} +\DeclareTextCompositeCommand{\accdasiavaria}{\UnicodeEncodingName}{\alpha}{ἃ} +\DeclareTextCompositeCommand{\accpsilioxia}{\UnicodeEncodingName}{\alpha}{ἄ} +\DeclareTextCompositeCommand{\accdasiaoxia}{\UnicodeEncodingName}{\alpha}{ἅ} +\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UnicodeEncodingName}{\alpha}{ἆ} +\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UnicodeEncodingName}{\alpha}{ἇ} +\DeclareTextCompositeCommand{\accpsili}{\UnicodeEncodingName}{\Alpha}{Ἀ} +\DeclareTextCompositeCommand{\accdasia}{\UnicodeEncodingName}{\Alpha}{Ἁ} +\DeclareTextCompositeCommand{\accpsilivaria}{\UnicodeEncodingName}{\Alpha}{Ἂ} +\DeclareTextCompositeCommand{\accdasiavaria}{\UnicodeEncodingName}{\Alpha}{Ἃ} +\DeclareTextCompositeCommand{\accpsilioxia}{\UnicodeEncodingName}{\Alpha}{Ἄ} +\DeclareTextCompositeCommand{\accdasiaoxia}{\UnicodeEncodingName}{\Alpha}{Ἅ} +\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UnicodeEncodingName}{\Alpha}{Ἆ} +\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UnicodeEncodingName}{\Alpha}{Ἇ} + +\DeclareTextCompositeCommand{\accpsili}{\UnicodeEncodingName}{\epsilon}{ἐ} +\DeclareTextCompositeCommand{\accdasia}{\UnicodeEncodingName}{\epsilon}{ἑ} +\DeclareTextCompositeCommand{\accpsilivaria}{\UnicodeEncodingName}{\epsilon}{ἒ} +\DeclareTextCompositeCommand{\accdasiavaria}{\UnicodeEncodingName}{\epsilon}{ἓ} +\DeclareTextCompositeCommand{\accpsilioxia}{\UnicodeEncodingName}{\epsilon}{ἔ} +\DeclareTextCompositeCommand{\accdasiaoxia}{\UnicodeEncodingName}{\epsilon}{ἕ} +\DeclareTextCompositeCommand{\accpsili}{\UnicodeEncodingName}{\Epsilon}{Ἐ} +\DeclareTextCompositeCommand{\accdasia}{\UnicodeEncodingName}{\Epsilon}{Ἑ} +\DeclareTextCompositeCommand{\accpsilivaria}{\UnicodeEncodingName}{\Epsilon}{Ἒ} +\DeclareTextCompositeCommand{\accdasiavaria}{\UnicodeEncodingName}{\Epsilon}{Ἓ} +\DeclareTextCompositeCommand{\accpsilioxia}{\UnicodeEncodingName}{\Epsilon}{Ἔ} +\DeclareTextCompositeCommand{\accdasiaoxia}{\UnicodeEncodingName}{\Epsilon}{Ἕ} + +\DeclareTextCompositeCommand{\accpsili}{\UnicodeEncodingName}{\eta}{ἠ} +\DeclareTextCompositeCommand{\accdasia}{\UnicodeEncodingName}{\eta}{ἡ} +\DeclareTextCompositeCommand{\accpsilivaria}{\UnicodeEncodingName}{\eta}{ἢ} +\DeclareTextCompositeCommand{\accdasiavaria}{\UnicodeEncodingName}{\eta}{ἣ} +\DeclareTextCompositeCommand{\accpsilioxia}{\UnicodeEncodingName}{\eta}{ἤ} +\DeclareTextCompositeCommand{\accdasiaoxia}{\UnicodeEncodingName}{\eta}{ἥ} +\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UnicodeEncodingName}{\eta}{ἦ} +\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UnicodeEncodingName}{\eta}{ἧ} +\DeclareTextCompositeCommand{\accpsili}{\UnicodeEncodingName}{\Eta}{Ἠ} +\DeclareTextCompositeCommand{\accdasia}{\UnicodeEncodingName}{\Eta}{Ἡ} +\DeclareTextCompositeCommand{\accpsilivaria}{\UnicodeEncodingName}{\Eta}{Ἢ} +\DeclareTextCompositeCommand{\accdasiavaria}{\UnicodeEncodingName}{\Eta}{Ἣ} +\DeclareTextCompositeCommand{\accpsilioxia}{\UnicodeEncodingName}{\Eta}{Ἤ} +\DeclareTextCompositeCommand{\accdasiaoxia}{\UnicodeEncodingName}{\Eta}{Ἥ} +\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UnicodeEncodingName}{\Eta}{Ἦ} +\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UnicodeEncodingName}{\Eta}{Ἧ} + +\DeclareTextCompositeCommand{\accpsili}{\UnicodeEncodingName}{\iota}{ἰ} +\DeclareTextCompositeCommand{\accdasia}{\UnicodeEncodingName}{\iota}{ἱ} +\DeclareTextCompositeCommand{\accpsilivaria}{\UnicodeEncodingName}{\iota}{ἲ} +\DeclareTextCompositeCommand{\accdasiavaria}{\UnicodeEncodingName}{\iota}{ἳ} +\DeclareTextCompositeCommand{\accpsilioxia}{\UnicodeEncodingName}{\iota}{ἴ} +\DeclareTextCompositeCommand{\accdasiaoxia}{\UnicodeEncodingName}{\iota}{ἵ} +\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UnicodeEncodingName}{\iota}{ἶ} +\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UnicodeEncodingName}{\iota}{ἷ} +\DeclareTextCompositeCommand{\accpsili}{\UnicodeEncodingName}{\Iota}{Ἰ} +\DeclareTextCompositeCommand{\accdasia}{\UnicodeEncodingName}{\Iota}{Ἱ} +\DeclareTextCompositeCommand{\accpsilivaria}{\UnicodeEncodingName}{\Iota}{Ἲ} +\DeclareTextCompositeCommand{\accdasiavaria}{\UnicodeEncodingName}{\Iota}{Ἳ} +\DeclareTextCompositeCommand{\accpsilioxia}{\UnicodeEncodingName}{\Iota}{Ἴ} +\DeclareTextCompositeCommand{\accdasiaoxia}{\UnicodeEncodingName}{\Iota}{Ἵ} +\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UnicodeEncodingName}{\Iota}{Ἶ} +\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UnicodeEncodingName}{\Iota}{Ἷ} + +\DeclareTextCompositeCommand{\accpsili}{\UnicodeEncodingName}{\omicron}{ὀ} +\DeclareTextCompositeCommand{\accdasia}{\UnicodeEncodingName}{\omicron}{ὁ} +\DeclareTextCompositeCommand{\accpsilivaria}{\UnicodeEncodingName}{\omicron}{ὂ} +\DeclareTextCompositeCommand{\accdasiavaria}{\UnicodeEncodingName}{\omicron}{ὃ} +\DeclareTextCompositeCommand{\accpsilioxia}{\UnicodeEncodingName}{\omicron}{ὄ} +\DeclareTextCompositeCommand{\accdasiaoxia}{\UnicodeEncodingName}{\omicron}{ὅ} +\DeclareTextCompositeCommand{\accpsili}{\UnicodeEncodingName}{\Omicron}{Ὀ} +\DeclareTextCompositeCommand{\accdasia}{\UnicodeEncodingName}{\Omicron}{Ὁ} +\DeclareTextCompositeCommand{\accpsilivaria}{\UnicodeEncodingName}{\Omicron}{Ὂ} +\DeclareTextCompositeCommand{\accdasiavaria}{\UnicodeEncodingName}{\Omicron}{Ὃ} +\DeclareTextCompositeCommand{\accpsilioxia}{\UnicodeEncodingName}{\Omicron}{Ὄ} +\DeclareTextCompositeCommand{\accdasiaoxia}{\UnicodeEncodingName}{\Omicron}{Ὅ} + +\DeclareTextCompositeCommand{\accpsili}{\UnicodeEncodingName}{\upsilon}{ὐ} +\DeclareTextCompositeCommand{\accdasia}{\UnicodeEncodingName}{\upsilon}{ὑ} +\DeclareTextCompositeCommand{\accpsilivaria}{\UnicodeEncodingName}{\upsilon}{ὒ} +\DeclareTextCompositeCommand{\accdasiavaria}{\UnicodeEncodingName}{\upsilon}{ὓ} +\DeclareTextCompositeCommand{\accpsilioxia}{\UnicodeEncodingName}{\upsilon}{ὔ} +\DeclareTextCompositeCommand{\accdasiaoxia}{\UnicodeEncodingName}{\upsilon}{ὕ} +\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UnicodeEncodingName}{\upsilon}{ὖ} +\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UnicodeEncodingName}{\upsilon}{ὗ} +\DeclareTextCompositeCommand{\accdasia}{\UnicodeEncodingName}{\Upsilon}{Ὑ} +\DeclareTextCompositeCommand{\accdasiavaria}{\UnicodeEncodingName}{\Upsilon}{Ὓ} +\DeclareTextCompositeCommand{\accdasiaoxia}{\UnicodeEncodingName}{\Upsilon}{Ὕ} +\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UnicodeEncodingName}{\Upsilon}{Ὗ} + +\DeclareTextCompositeCommand{\accpsili}{\UnicodeEncodingName}{\omega}{ὠ} +\DeclareTextCompositeCommand{\accdasia}{\UnicodeEncodingName}{\omega}{ὡ} +\DeclareTextCompositeCommand{\accpsilivaria}{\UnicodeEncodingName}{\omega}{ὢ} +\DeclareTextCompositeCommand{\accdasiavaria}{\UnicodeEncodingName}{\omega}{ὣ} +\DeclareTextCompositeCommand{\accpsilioxia}{\UnicodeEncodingName}{\omega}{ὤ} +\DeclareTextCompositeCommand{\accdasiaoxia}{\UnicodeEncodingName}{\omega}{ὥ} +\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UnicodeEncodingName}{\omega}{ὦ} +\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UnicodeEncodingName}{\omega}{ὧ} +\DeclareTextCompositeCommand{\accpsili}{\UnicodeEncodingName}{\Omega}{Ὠ} +\DeclareTextCompositeCommand{\accdasia}{\UnicodeEncodingName}{\Omega}{Ὡ} +\DeclareTextCompositeCommand{\accpsilivaria}{\UnicodeEncodingName}{\Omega}{Ὢ} +\DeclareTextCompositeCommand{\accdasiavaria}{\UnicodeEncodingName}{\Omega}{Ὣ} +\DeclareTextCompositeCommand{\accpsilioxia}{\UnicodeEncodingName}{\Omega}{Ὤ} +\DeclareTextCompositeCommand{\accdasiaoxia}{\UnicodeEncodingName}{\Omega}{Ὥ} +\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UnicodeEncodingName}{\Omega}{Ὦ} +\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UnicodeEncodingName}{\Omega}{Ὧ} + +\DeclareTextCompositeCommand{\`}{\UnicodeEncodingName}{\alpha}{ὰ} +\DeclareTextCompositeCommand{\`}{\UnicodeEncodingName}{\epsilon}{ὲ} +\DeclareTextCompositeCommand{\`}{\UnicodeEncodingName}{\eta}{ὴ} +\DeclareTextCompositeCommand{\`}{\UnicodeEncodingName}{\iota}{ὶ} +\DeclareTextCompositeCommand{\`}{\UnicodeEncodingName}{\omicron}{ὸ} +\DeclareTextCompositeCommand{\`}{\UnicodeEncodingName}{\upsilon}{ὺ} +\DeclareTextCompositeCommand{\`}{\UnicodeEncodingName}{\omega}{ὼ} + +\DeclareTextCompositeCommand{\u}{\UnicodeEncodingName}{\alpha}{ᾰ} +\DeclareTextCompositeCommand{\=}{\UnicodeEncodingName}{\alpha}{ᾱ} +\DeclareTextCompositeCommand{\~}{\UnicodeEncodingName}{\alpha}{ᾶ} +\DeclareTextCompositeCommand{\accperispomeni}{\UnicodeEncodingName}{\alpha}{ᾶ} +\DeclareTextCompositeCommand{\u}{\UnicodeEncodingName}{\Alpha}{Ᾰ} +\DeclareTextCompositeCommand{\=}{\UnicodeEncodingName}{\Alpha}{Ᾱ} +\DeclareTextCompositeCommand{\`}{\UnicodeEncodingName}{\Alpha}{Ὰ} +\DeclareTextCompositeCommand{\accvaria}{\UnicodeEncodingName}{\Alpha}{Ὰ} + +\DeclareTextCompositeCommand{\~}{\UnicodeEncodingName}{\eta}{ῆ} +\DeclareTextCompositeCommand{\accperispomeni}{\UnicodeEncodingName}{\eta}{ῆ} +\DeclareTextCompositeCommand{\`}{\UnicodeEncodingName}{\Epsilon}{Ὲ} +\DeclareTextCompositeCommand{\`}{\UnicodeEncodingName}{\Eta}{Ὴ} +\DeclareTextCompositeCommand{\accvaria}{\UnicodeEncodingName}{\Epsilon}{Ὲ} +\DeclareTextCompositeCommand{\accvaria}{\UnicodeEncodingName}{\Eta}{Ὴ} + +\DeclareTextCompositeCommand{\u}{\UnicodeEncodingName}{\iota}{ῐ} +\DeclareTextCompositeCommand{\=}{\UnicodeEncodingName}{\iota}{ῑ} +\DeclareTextCompositeCommand{\accdialytikavaria}{\UnicodeEncodingName}{\iota}{ῒ} +\DeclareTextCompositeCommand{\accdialytikatonos}{\UnicodeEncodingName}{\iota}{ΐ} +\DeclareTextCompositeCommand{\~}{\UnicodeEncodingName}{\iota}{ῖ} +\DeclareTextCompositeCommand{\accperispomeni}{\UnicodeEncodingName}{\iota}{ῖ} +\DeclareTextCompositeCommand{\accdialytikaperispomeni}{\UnicodeEncodingName}{\iota}{ῗ} +\DeclareTextCompositeCommand{\u}{\UnicodeEncodingName}{\Iota}{Ῐ} +\DeclareTextCompositeCommand{\=}{\UnicodeEncodingName}{\Iota}{Ῑ} +\DeclareTextCompositeCommand{\`}{\UnicodeEncodingName}{\Iota}{Ὶ} +\DeclareTextCompositeCommand{\accvaria}{\UnicodeEncodingName}{\Iota}{Ὶ} + +\DeclareTextCompositeCommand{\u}{\UnicodeEncodingName}{\upsilon}{ῠ} +\DeclareTextCompositeCommand{\=}{\UnicodeEncodingName}{\upsilon}{ῡ} +\DeclareTextCompositeCommand{\accdialytikavaria}{\UnicodeEncodingName}{\upsilon}{ῢ} +\DeclareTextCompositeCommand{\accdialytikatonos}{\UnicodeEncodingName}{\upsilon}{ΰ} +\DeclareTextCompositeCommand{\accpsili}{\UnicodeEncodingName}{\rho}{ῤ} +\DeclareTextCompositeCommand{\accdasia}{\UnicodeEncodingName}{\rho}{ῥ} +\DeclareTextCompositeCommand{\~}{\UnicodeEncodingName}{\upsilon}{ῦ} +\DeclareTextCompositeCommand{\accperispomeni}{\UnicodeEncodingName}{\upsilon}{ῦ} +\DeclareTextCompositeCommand{\accdialytikaperispomeni}{\UnicodeEncodingName}{\upsilon}{ῧ} +\DeclareTextCompositeCommand{\u}{\UnicodeEncodingName}{\Upsilon}{Ῠ} +\DeclareTextCompositeCommand{\=}{\UnicodeEncodingName}{\Upsilon}{Ῡ} +\DeclareTextCompositeCommand{\`}{\UnicodeEncodingName}{\Upsilon}{Ὺ} +\DeclareTextCompositeCommand{\accvaria}{\UnicodeEncodingName}{\Upsilon}{Ὺ} +\DeclareTextCompositeCommand{\accdasia}{\UnicodeEncodingName}{\Rho}{Ῥ} + +\DeclareTextCompositeCommand{\~}{\UnicodeEncodingName}{\omega}{ῶ} +\DeclareTextCompositeCommand{\accperispomeni}{\UnicodeEncodingName}{\omega}{ῶ} +\DeclareTextCompositeCommand{\`}{\UnicodeEncodingName}{\Omicron}{Ὸ} +\DeclareTextCompositeCommand{\`}{\UnicodeEncodingName}{\Omega}{Ὼ} +\DeclareTextCompositeCommand{\accvaria}{\UnicodeEncodingName}{\Omicron}{Ὸ} +\DeclareTextCompositeCommand{\accvaria}{\UnicodeEncodingName}{\Omega}{Ὼ} % .. References % diff --git a/Master/texmf-dist/tex/latex/greek-fontenc/alphabeta.sty b/Master/texmf-dist/tex/latex/greek-fontenc/alphabeta.sty index 53027da0b91..ddc8df103af 100644 --- a/Master/texmf-dist/tex/latex/greek-fontenc/alphabeta.sty +++ b/Master/texmf-dist/tex/latex/greek-fontenc/alphabeta.sty @@ -14,7 +14,7 @@ \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{alphabeta} - [2020/02/28 1.0 macros for Greek letters in text and math] + [2020/10/13 2.0 macros for Greek letters in text and math] % Changelog: % .. class:: borderless @@ -30,6 +30,8 @@ % (new in fontspec v2.5a). % 0.14 2020/02/28 rename ``alphabeta-euenc.def`` to % ``alphabeta-tuenc.def``. +% 1.0 2020/09/25 New package version. No changes in this file. +% 2.0 2020/10/13 Provide ``\Koppa``. % ====== ========== ========================================================= % % Motivation @@ -118,7 +120,7 @@ % Save math macros % ---------------- % -% Provide an alias for the standard math commands:: +% Map the standard math commands to maths-specific names:: \let\mathGamma\Gamma \let\mathDelta\Delta @@ -263,6 +265,7 @@ \providecommand*{\stigma}{\textstigma} % ϛ \providecommand*{\varstigma}{\textvarstigma} % stigma variant (CB.enc, teubner) \providecommand*{\koppa}{\textkoppa} % ϟ (greek small letter koppa) +\providecommand*{\Koppa}{\textKoppa} % Ϟ (greek letter koppa) \providecommand*{\qoppa}{\textqoppa} % ϙ (archaic koppa) \providecommand*{\Qoppa}{\textQoppa} % Ϙ (archaic Koppa) \providecommand*{\Stigma}{\textStigma} % Ϛ (in some fonts ϹΤ ligature) @@ -274,7 +277,7 @@ % % TeX’s concept of “standard” vs. “variant” math symbols does not map to the % distinction between GREEK LETTER ... vs. GREEK ... SYMBOL in the Unicode -% standard (see ``_). +% standard (see ``_). % % The ``\...symbol`` macros select the GREEK ... SYMBOL in both, text and % math mode. For ``\epsilonsymbol`` and ``\phisymbol`` this is the default @@ -319,12 +322,12 @@ % `letter name commands`. (Composition only works if the active font encoding % is LGR). :: -\ifdefined\UTFencname +\@ifl@aded{def}{tuenc-greek}{ \input{alphabeta-tuenc.def} -\else % 8-bit TeX +}{} +\@ifl@aded{def}{lgrenc}{ \input{alphabeta-lgr.def} -\fi - +}{} % Re-definition for Greek Unicode input in math mode % -------------------------------------------------- diff --git a/Master/texmf-dist/tex/latex/greek-fontenc/greek-euenc.def b/Master/texmf-dist/tex/latex/greek-fontenc/greek-euenc.def index 3835e17e5cd..d5201ac8ff8 100644 --- a/Master/texmf-dist/tex/latex/greek-fontenc/greek-euenc.def +++ b/Master/texmf-dist/tex/latex/greek-fontenc/greek-euenc.def @@ -9,6 +9,12 @@ % version 1.3 of this license or any later version. \ProvidesFile{greek-euenc.def} -[2020/02/28 1.0 Greek LICRs for XeTeX and LuaTeX] +[2020/02/28 2.0 Greek LICRs for XeTeX and LuaTeX] + +% Just in case there is an old fontspec using EU1 or EU2:: + +\ifdefined \UTFencname % set by fontspec + \providecommand*{\UnicodeEncodingName}{\UTFencname} % TU, EU1, or EU2 +\fi \input{tuenc-greek.def} diff --git a/Master/texmf-dist/tex/latex/greek-fontenc/greek-fontenc.def b/Master/texmf-dist/tex/latex/greek-fontenc/greek-fontenc.def index 0af15b2cabc..8f90f9362ed 100644 --- a/Master/texmf-dist/tex/latex/greek-fontenc/greek-fontenc.def +++ b/Master/texmf-dist/tex/latex/greek-fontenc/greek-fontenc.def @@ -12,7 +12,7 @@ % :: \ProvidesFile{greek-fontenc.def} -[2020/09/25 1.0 Common Greek font encoding definitions] +[2020/10/30 2.0 Common Greek font encoding definitions] % :Abstract: This file provides definitions that are shared between % font encodings providing Greek characters. @@ -27,7 +27,8 @@ % 0.12 2014-12-12 Remove symbol macros for breathing accents. % 0.13 2015-08-04 No @uclclist entry for ypogegrammeni/prosgegrammeni. % 0.13.4 2019-07-10 ``@uclclist`` entry for ``\prosgegrammeni``. -% 1.0 2020/09/25 ``\textKoppa`` as alias for ``\textkoppa`` in LGR. +% 1.0 2020-09-25 ``\textKoppagreek`` and ``\textstigmagreek`` aliases. +% 2.0 2020/10/30 Alias definitions matching mathematical variant symbols. % ====== ============ ========================================================= % % Usage @@ -67,9 +68,25 @@ % % Aliases are defined via `DeclareTextCommand` so that up/downcasing works % without the need for additional uclclist_ entries. -% + + +% Names matching mathematical variant symbols:: + +% \var... matching GREEK ... SYMBOL +\DeclareTextCommand{\textvarbeta}{\LastDeclaredEncoding}{\textbetasymbol} % ϐ +\DeclareTextCommand{\textvarkappa}{\LastDeclaredEncoding}{\textkappasymbol} % ϰ +\DeclareTextCommand{\textvarTheta}{\LastDeclaredEncoding}{\textThetasymbol} % ϴ +\DeclareTextCommand{\textvartheta}{\LastDeclaredEncoding}{\textthetasymbol} % ϑ +\DeclareTextCommand{\textvarpi}{\LastDeclaredEncoding}{\textpisymbol} % ϖ +\DeclareTextCommand{\textvarrho}{\LastDeclaredEncoding}{\textrhosymbol} % ϱ +% \var... matching GREEK LETTER ... +\DeclareTextCommand{\textvarepsilon}{\LastDeclaredEncoding}{\textepsilon} % ε +\DeclareTextCommand{\textvarphi}{\LastDeclaredEncoding}{\textphi} % φ +\DeclareTextCommand{\textvarsigma}{\LastDeclaredEncoding}{\textfinalsigma} % ς + % Compatibility aliases for hyperref_'s puenc.def:: +\DeclareTextCommand{\textmugreek}{\LastDeclaredEncoding}{\textmu} \DeclareTextCommand{\textkoppagreek}{\LastDeclaredEncoding}{\textkoppa} \DeclareTextCommand{\textKoppagreek}{\LastDeclaredEncoding}{\textKoppa} \DeclareTextCommand{\textStigmagreek}{\LastDeclaredEncoding}{\textStigma} @@ -92,6 +109,7 @@ % Two Unicode code points and names for one character:: \DeclareTextCommand{\accoxia}{\LastDeclaredEncoding}{\acctonos} +\DeclareTextCommand{\accdialytikaoxia}{\LastDeclaredEncoding}{\accdialyikatonos} \DeclareTextCommand{\acckoronis}{\LastDeclaredEncoding}{\accpsili} % Symbol macros for the breathings: @@ -129,6 +147,7 @@ % % .. code:: latex % +% \accdialyticavaria\textalpha, % \accdialytica\accvaria\textalpha, % \"\'\textalpha, % \"'\textalpha, or @@ -249,7 +268,7 @@ % % Based on the `babel patch`_ and ``fontenc.sty``. % -% The definition of an auxiliary, self-restting macro makes this idempotent +% The definition of an auxiliary, self-resetting 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 += …``:: @@ -271,38 +290,38 @@ \accdialytikaperispomeni\LGR@accDialytika \accperispomeni\LGR@accdropped \LGR@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 - \textkoppa \textKoppa - \textqoppa \textQoppa - \textvarstigma \textStigma - \textstigma \textStigma - \textsampi \textSampi - \textdigamma \textDigamma + \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 + \textfinalsigma \textSigma + \textsigma \textSigma + \textautosigma \textSigma + \texttau \textTau + \textupsilon \textUpsilon + \textphi \textPhi + \textchi \textChi + \textpsi \textPsi + \textomega \textOmega + \textkoppa \textKoppa + \textqoppa \textQoppa + \textvarstigma \textStigma + \textstigma \textStigma + \textsampi \textSampi + \textdigamma \textDigamma }% \let\update@uclc@with@greek\relax } @@ -354,8 +373,8 @@ % 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. +% This macro is a variant of LaTeX’s ``\@ifnextchar``, macro +% that does not skip over spaces. % % :: @@ -370,7 +389,6 @@ } - % .. References % ---------- % diff --git a/Master/texmf-dist/tex/latex/greek-fontenc/lgrenc.def b/Master/texmf-dist/tex/latex/greek-fontenc/lgrenc.def index 3834be2e55b..a5a9e9d3159 100644 --- a/Master/texmf-dist/tex/latex/greek-fontenc/lgrenc.def +++ b/Master/texmf-dist/tex/latex/greek-fontenc/lgrenc.def @@ -17,7 +17,6 @@ % % .. contents:: % -% % Changelog % --------- % @@ -55,8 +54,9 @@ % 0.13 2015-08-04 Support for symbol variants. % 0.13.1 2015-12-07 Fix `rho with dasia bug` (Linus Romer). % 0.13.3 2019-07-09 Drop error font declaration (cf. `ltxbugs 4399`_). -% 1.0 2020/09/25 ``\textKoppa`` as alias for ``\textkoppa`` +% 1.0 2020-09-25 ``\textKoppa`` as alias for ``\textkoppa`` % (there is no capital Koppa in LGR). +% 2.0 2020-10-13 Move common alias definitions to ``greek-fontenc.def``. % ====== ============ ======================================================== % % Usage @@ -91,13 +91,12 @@ \expandafter\endinput % "return" } - % Identification % ~~~~~~~~~~~~~~ % :: \ProvidesFile{lgrenc.def} -[2020/09/25 1.0 LGR Greek font encoding definitions] +[2020/10/13 2.0 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 @@ -182,8 +181,7 @@ \DeclareTextSymbol{\textpi}{LGR}{112} \DeclareTextSymbol{\textrho}{LGR}{114} \DeclareTextCommand{\textsigma}{LGR}{s\noboundary} % σ -\DeclareTextSymbol{\textvarsigma}{LGR}{99} % ς final sigma -\DeclareTextCommand{\textfinalsigma}{LGR}{\textvarsigma} % ς final sigma +\DeclareTextSymbol{\textfinalsigma}{LGR}{99} % ς final sigma \DeclareTextSymbol{\textautosigma}{LGR}{115} % σ (ς at end of word) \DeclareTextSymbol{\texttau}{LGR}{116} \DeclareTextSymbol{\textupsilon}{LGR}{117} @@ -210,14 +208,19 @@ % Archaic letters % ''''''''''''''' -% Names after teubner_ and ucs_:: +% Names after teubner_ and ucs_. +% +% ϟ (capital numeral koppa) not distinct in LGR but required for +% ``\Greeknumeral`` in babel-greek_ +% (defining as alias command calling ``\textkoppa`` leads to an infinte loop +% with ``\MakeUppercase``):: \DeclareTextSymbol{\textstigma}{LGR}{6} % ϛ \DeclareTextSymbol{\textvarstigma}{LGR}{7} % stigma variant (CB.enc, teubner) -\DeclareTextSymbol{\textkoppa}{LGR}{18} % ϟ (greek small letter koppa) -\DeclareTextSymbol{\textKoppa}{LGR}{18} % ϟ (capital numerical koppa) not distinct in LGR -\DeclareTextSymbol{\textqoppa}{LGR}{19} % ϙ (archaic koppa) -\DeclareTextSymbol{\textQoppa}{LGR}{21} % Ϙ (archaic Koppa) +\DeclareTextSymbol{\textKoppa}{LGR}{18} % Ϟ Greek letter Koppa +\DeclareTextSymbol{\textkoppa}{LGR}{18} % ϟ Greek small letter koppa +\DeclareTextSymbol{\textqoppa}{LGR}{19} % ϙ archaic koppa +\DeclareTextSymbol{\textQoppa}{LGR}{21} % Ϙ archaic Koppa \DeclareTextSymbol{\textStigma}{LGR}{22} % Ϛ in some fonts ϹΤ ligature \DeclareTextSymbol{\textSampi}{LGR}{23} % Ϡ \DeclareTextSymbol{\textsampi}{LGR}{27} % ϡ @@ -226,7 +229,6 @@ \DeclareTextSymbol{\textdigamma}{LGR}{147} % ϝ (ucs) \digamma used by amsmath for math-macro \DeclareTextSymbol{\textDigamma}{LGR}{195} % Ϝ (ucs) - % Numeral signs % ''''''''''''' % See also http://en.wikipedia.org/wiki/Greek_numerals @@ -266,15 +268,15 @@ Press to proceed (dropping the symbol from the document).} } -\ProvideTextCommand{\textbetasymbol} {LGR}{\LGR@TextSymbolUnavailable{ϐ beta symbol}} -\ProvideTextCommand{\textkappasymbol}{LGR}{\LGR@TextSymbolUnavailable{ϰ kappa symbol}} -\ProvideTextCommand{\textThetasymbol}{LGR}{\LGR@TextSymbolUnavailable{ϴ Theta symbol}} +\ProvideTextCommand{\textbetasymbol} {LGR}{\LGR@TextSymbolUnavailable{beta symbol}} % ϐ +\ProvideTextCommand{\textkappasymbol}{LGR}{\LGR@TextSymbolUnavailable{kappa symbol}} % ϰ +\ProvideTextCommand{\textThetasymbol}{LGR}{\LGR@TextSymbolUnavailable{Theta symbol}} % ϴ -\ProvideTextCommand{\textthetasymbol} {LGR}{\LGR@TextSymbolOnlyMath{ϑ theta symbol}{$\vartheta$}} -\ProvideTextCommand{\textphisymbol} {LGR}{\LGR@TextSymbolOnlyMath{ϕ phi symbol}{$\phi$}} -\ProvideTextCommand{\textpisymbol} {LGR}{\LGR@TextSymbolOnlyMath{ϖ pi symbol}{$\varpi$}} -\ProvideTextCommand{\textrhosymbol} {LGR}{\LGR@TextSymbolOnlyMath{ϱ rho symbol}{$\varrho$}} -\ProvideTextCommand{\textepsilonsymbol}{LGR}{\LGR@TextSymbolOnlyMath{ϵ lunate epsilon symbol}{$\epsilon$}} +\ProvideTextCommand{\textthetasymbol} {LGR}{\LGR@TextSymbolOnlyMath{theta symbol}{$\vartheta$}} % ϑ +\ProvideTextCommand{\textphisymbol} {LGR}{\LGR@TextSymbolOnlyMath{phi symbol}{$\phi$}} % ϕ +\ProvideTextCommand{\textpisymbol} {LGR}{\LGR@TextSymbolOnlyMath{pi symbol}{$\varpi$}} % ϖ +\ProvideTextCommand{\textrhosymbol} {LGR}{\LGR@TextSymbolOnlyMath{rho symbol}{$\varrho$}} % ϱ +\ProvideTextCommand{\textepsilonsymbol}{LGR}{\LGR@TextSymbolOnlyMath{lunate epsilon symbol}{$\epsilon$}} % ϵ % Other % """"" @@ -312,6 +314,13 @@ \DeclareTextSymbol{\textpercent}{LGR}{37} % % \DeclareTextSymbol{\textperthousand}{LGR}{25} % ‰ \permill in greek.ldf +% The micro sign 00B5 is defined in TS1 (textcomp) and PU (hyperref) +% as ``\textmu``. LGR uses ``\textmu`` for the similar looking +% small Greek letter mu. +% The alias ``\textmicro`` prints in a micro sign and does not upcase:: + +\DeclareTextSymbol{\textmicro}{LGR}{109} % µ + % T3 (tipa):: \DeclareTextSymbol{\textschwa}{LGR}{26} % ə @@ -909,6 +918,7 @@ % .. _alphabeta: alphabeta.sty.html % .. _athnum: http://ctan.org/pkg/athnum % .. _Babel: http://ctan.org/pkg/babel +% .. _babel-greek: http://ctan.org/pkg/babel-greek % .. _babel patch: http://www.eutypon.gr/eutypon/pdf/e2008-20/e20-a03.pdf % .. _fntguide: http://mirror.ctan.org/macros/latex/base/fntguide.pdf % .. _fontenc: http://ctan.org/pkg/fontenc @@ -925,4 +935,3 @@ % .. _xunicode: http://ctan.org/pkg/xunicode % .. _ltxbugs 4399: % https://www.latex-project.org/cgi-bin/ltxbugs2html?pr=latex%2F4399&search= -% diff --git a/Master/texmf-dist/tex/latex/greek-fontenc/puenc-greek.def b/Master/texmf-dist/tex/latex/greek-fontenc/puenc-greek.def new file mode 100644 index 00000000000..997e9e66359 --- /dev/null +++ b/Master/texmf-dist/tex/latex/greek-fontenc/puenc-greek.def @@ -0,0 +1,454 @@ +% puenc-greek.def +% +++++++++++++++ +% Greek LICR definitions for PDF strings (hyperref) +% ************************************************* +% +% :Copyright: © 2020 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{puenc-greek.def} +[2020/10/18 2.0 Greek LICRs for PDF strings] + +% :abstract: +% Support for Greek LICR macros in PDF bookmarks. Extends puenc.def_. +% Used by babel-greek_ and textalpha_. +% +% **History**: +% .. class:: borderless +% +% ====== ========== ======================================================== +% 2.0 2020-10-18 initial version +% ====== ========== ======================================================== +% +% Diacritics +% ========== +% +% Greek alias names for standard accents (without tabacckludge):: + +\DeclareTextCommand{\acctonos}{PU}{\'} +\DeclareTextCommand{\accvaria}{PU}{\`} +\DeclareTextCommand{\accdialytika}{PU}{\"} + +% Use combining characters when no pre-composed character is available: +% +% Breathings and perispomeni:: + +\DeclareTextCommand{\accpsili}{PU}[1]{#1\83\023} % ψιλή spiritus lenis (smooth breathing) +\DeclareTextCommand{\accdasia}{PU}[1]{#1\83\024} % δασεῖα spiritus asper (rough breathing) +\DeclareTextCommand{\accperispomeni}{PU}[1]{#1\83\102} % COMBINING GREEK PERISPOMENI + +% Sub-iota (``\ypogegrammeni``) is a postfix accent (ligature in LGR) :: + +\DeclareTextCommand{\ypogegrammeni}{PU}{\83\105} % COMBINING GREEK YPOGEGRAMMENI + +% Combined diacritics:: + +\DeclareTextCommand{\accdialytikavaria}{PU}[1]{#1\83\010\83\000} +\DeclareTextCommand{\accdialytikatonos}{PU}[1]{#1\83\010\83\001} +\DeclareTextCommand{\accdialytikaperispomeni}{PU}[1]{#1\83\102\83\010} + +\DeclareTextCommand{\accdasiavaria}{PU}[1]{#1\83\024\83\000} +\DeclareTextCommand{\accdasiaoxia}{PU}[1]{#1\83\024\83\001} +\DeclareTextCommand{\accdasiaperispomeni}{PU}[1]{#1\83\024\83\102} + +\DeclareTextCommand{\accpsilivaria}{PU}[1]{#1\83\000\83\023} +\DeclareTextCommand{\accpsilioxia}{PU}[1]{#1\83\001\83\023} +\DeclareTextCommand{\accpsiliperispomeni}{PU}[1]{#1\83\102\83\023} + +% Common Definitions +% ================== +% +% Use the common `Greek font encoding definitions`. +% +% Set the ``\LastDeclaredEncoding`` to PU and read definitions +% from greek-fontenc.def_:: + +\renewcommand*{\LastDeclaredEncoding}{PU} +\input{greek-fontenc.def} + +% Character Definitions +% ===================== +% +% Compatibility defs with LGR +% --------------------------- +% +% Basic Latin:: + +\DeclareTextCommand{\textsemicolon}{PU}{;} % "003B + +% Latin 1 Supplement: +% Distinguish MICRO SIGN from letter mu:: + +\DeclareTextCommand{\textmicro}{PU}{\83\274} % "00B5 MICRO SIGN + + +% 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}{PU}{\83\164} % ʹ \anwtonos, \textnumeralsigngreek +\DeclareTextCommand{\textaristerikeraia}{PU}{\83\165} % ͵ \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 + +% Erotimatiko: use 003B SEMICOLON, not 037E GREEK QUESTION MARK; dont use the +% literal char, as it is active with textalpha's "keep-semicolon" option:: + +\DeclareTextCommand{\texterotimatiko}{PU}{\80\073} + +\DeclareTextCompositeCommand{\'}{PU}{\@empty}{\83\204} % ΄ 0384 GREEK TONOS +\DeclareTextCompositeCommand{\'}{PU}{\ }{\83\204} % ΄ 0384 GREEK TONOS +\DeclareTextCompositeCommand{\accdialytikatonos}{PU}{\@empty}{\83\205} +\DeclareTextCompositeCommand{\accdialytikatonos}{PU}{\ }{\83\205} +\DeclareTextCompositeCommand{\'}{PU}{\textAlpha}{\83\206} % Ά +\DeclareTextCommand{\textanoteleia}{PU}{\80\267} % use 00B7 MIDDLE DOT, not 0387 GREEK ANO TELEIA +\DeclareTextCompositeCommand{\'}{PU}{\textEpsilon}{\83\210} % Έ +\DeclareTextCompositeCommand{\'}{PU}{\textEta}{\83\211} % Ή +\DeclareTextCompositeCommand{\'}{PU}{\textIota}{\83\212} % Ί +\DeclareTextCompositeCommand{\'}{PU}{\textOmicron}{\83\214} % Ό +\DeclareTextCompositeCommand{\'}{PU}{\textUpsilon}{\83\216} % Ύ +\DeclareTextCompositeCommand{\'}{PU}{\textOmega}{\83\217} % Ώ +\DeclareTextCompositeCommand{\accdialytikatonos}{PU}{\textiota}{\83\220} % ΐ +\DeclareTextCommand{\textAlpha}{PU}{\83\221} % Α "0391 +\DeclareTextCommand{\textBeta}{PU}{\83\222} % Β "0392 +\DeclareTextCommand{\textGamma}{PU}{\83\223} % Γ "0393 +\DeclareTextCommand{\textDelta}{PU}{\83\224} % Δ "0394 +\DeclareTextCommand{\textEpsilon}{PU}{\83\225} % Ε "0395 +\DeclareTextCommand{\textZeta}{PU}{\83\226} % Ζ "0396 +\DeclareTextCommand{\textEta}{PU}{\83\227} % Η "0397 +\DeclareTextCommand{\textTheta}{PU}{\83\230} % Θ "0398 +\DeclareTextCommand{\textIota}{PU}{\83\231} % Ι "0399 +\DeclareTextCommand{\textKappa}{PU}{\83\232} % Κ "039A +\DeclareTextCommand{\textLambda}{PU}{\83\233} % Λ "039B +\DeclareTextCommand{\textMu}{PU}{\83\234} % Μ "039C +\DeclareTextCommand{\textNu}{PU}{\83\235} % Ν "039D +\DeclareTextCommand{\textXi}{PU}{\83\236} % Ξ "039E +\DeclareTextCommand{\textOmicron}{PU}{\83\237} % Ο "039F +\DeclareTextCommand{\textPi}{PU}{\83\240} % Π "03A0 +\DeclareTextCommand{\textRho}{PU}{\83\241} % Ρ "03A1 +\DeclareTextCommand{\textSigma}{PU}{\83\243} % Σ "03A3 +\DeclareTextCommand{\textTau}{PU}{\83\244} % Τ "03A4 +\DeclareTextCommand{\textUpsilon}{PU}{\83\245} % Υ "03A5 +\DeclareTextCommand{\textPhi}{PU}{\83\246} % Φ "03A6 +\DeclareTextCommand{\textChi}{PU}{\83\247} % Χ "03A7 +\DeclareTextCommand{\textPsi}{PU}{\83\250} % Ψ "03A8 +\DeclareTextCommand{\textOmega}{PU}{\83\251} % Ω "03A9 +\DeclareTextCompositeCommand{\"}{PU}{\textIota}{\83\252} % Ϊ "03AA +\DeclareTextCompositeCommand{\"}{PU}{\textUpsilon}{\83\253} % Ϋ "03AB +\DeclareTextCompositeCommand{\'}{PU}{\textalpha}{\83\254} % ά "03AC +\DeclareTextCompositeCommand{\'}{PU}{\textepsilon}{\83\255} % έ "03AD +\DeclareTextCompositeCommand{\'}{PU}{\texteta}{\83\256} % ή "03AE +\DeclareTextCompositeCommand{\'}{PU}{\textiota}{\83\257} % ί "03AF +\DeclareTextCompositeCommand{\accdialytikatonos}{PU}{\textupsilon}{\83\260} % ΰ "03B0 +\DeclareTextCommand{\textalpha}{PU}{\83\261} % α "03B1 +\DeclareTextCommand{\textbeta}{PU}{\83\262} % β "03B2 +\DeclareTextCommand{\textgamma}{PU}{\83\263} % γ "03B3 +\DeclareTextCommand{\textdelta}{PU}{\83\264} % δ "03B4 +\DeclareTextCommand{\textepsilon}{PU}{\83\265} % ε "03B5 +\DeclareTextCommand{\textzeta}{PU}{\83\266} % ζ "03B6 +\DeclareTextCommand{\texteta}{PU}{\83\267} % η "03B7 +\DeclareTextCommand{\texttheta}{PU}{\83\270} % θ "03B8 +\DeclareTextCommand{\textiota}{PU}{\83\271} % ι "03B9 +\DeclareTextCommand{\textkappa}{PU}{\83\272} % κ "03BA +\DeclareTextCommand{\textlambda}{PU}{\83\273} % λ "03BB +\DeclareTextCommand{\textmu}{PU}{\83\274} % μ "03BC \textmugreek +\DeclareTextCommand{\textnu}{PU}{\83\275} % ν "03BD +\DeclareTextCommand{\textxi}{PU}{\83\276} % ξ "03BE +\DeclareTextCommand{\textomicron}{PU}{\83\277} % ο "03BF +\DeclareTextCommand{\textpi}{PU}{\83\300} % π "03C0 +\DeclareTextCommand{\textrho}{PU}{\83\301} % ρ "03C1 +\DeclareTextCommand{\textfinalsigma}{PU}{\83\302} % ς "03C2 final sigma +\DeclareTextCommand{\textsigma}{PU}{\83\303} % σ "03C3 +\DeclareTextCommand{\texttau}{PU}{\83\304} % τ "03C4 +\DeclareTextCommand{\textupsilon}{PU}{\83\305} % υ "03C5 +\DeclareTextCommand{\textphi}{PU}{\83\306} % φ "03C6 +\DeclareTextCommand{\textchi}{PU}{\83\307} % χ "03C7 +\DeclareTextCommand{\textpsi}{PU}{\83\310} % ψ "03C8 +\DeclareTextCommand{\textomega}{PU}{\83\311} % ω "03C9 + +\DeclareTextCompositeCommand{\"}{PU}{\textiota}{\83\312}% ϊ "03CA +\DeclareTextCompositeCommand{\"}{PU}{\textupsilon}{\83\313}% ϋ "03CB +\DeclareTextCompositeCommand{\'}{PU}{\textomicron}{\83\314}% ό "03CC +\DeclareTextCompositeCommand{\'}{PU}{\textupsilon}{\83\315}% ύ "03CD +\DeclareTextCompositeCommand{\'}{PU}{\textomega}{\83\316}% ώ "03CE + +% Archaic letters (still used in Greek numerals) +% and symbol variants:: + +\DeclareTextCommand{\textbetasymbol}{PU}{\83\320} % ϐ "03D0 +\DeclareTextCommand{\textthetasymbol}{PU}{\83\321} % ϑ "03D1 + +\DeclareTextCommand{\textphisymbol}{PU}{\83\325} % ϕ "03D5 +\DeclareTextCommand{\textpisymbol}{PU}{\83\326} % ϖ "03D6 + +\DeclareTextCommand{\textQoppa}{PU}{\83\330} % Ϙ "03D8 +\DeclareTextCommand{\textqoppa}{PU}{\83\331} % ϙ "03D9 +\DeclareTextCommand{\textStigma}{PU}{\83\332} % Ϛ "03DA +\DeclareTextCommand{\textstigma}{PU}{\83\333} % ϛ "03DB +\DeclareTextCommand{\textDigamma}{PU}{\83\334} % Ϝ "03DC +\DeclareTextCommand{\textdigamma}{PU}{\83\335} % ϝ "03DD +\DeclareTextCommand{\textKoppa}{PU}{\83\336} % Ϟ "03DE in LGR identic to \textkoppa +\DeclareTextCommand{\textkoppa}{PU}{\83\337} % ϟ "03DF \koppa, \textqoppa [sic!] +\DeclareTextCommand{\textSampi}{PU}{\83\340} % Ϡ "03E0 +\DeclareTextCommand{\textsampi}{PU}{\83\341} % ϡ "03E1 + +\DeclareTextCommand{\textkappasymbol}{PU}{\83\360} % ϰ "03F0 +\DeclareTextCommand{\textrhosymbol}{PU}{\83\361} % ϱ "03F1 + +\DeclareTextCommand{\textThetasymbol}{PU}{\83\364} % ϴ "03F4 +\DeclareTextCommand{\textepsilonsymbol}{PU}{\83\365} % ϵ "03F5 + +% Dummy definition (\textautosigma is lowercase of \textSigma) +% TODO: implement autosigma for PU and TU:: + +\ProvideTextCommand{\textautosigma}{PU}{\textsigma} + + +% Greek Extended +% -------------- +% +% We skip definitions for characters "... WITH OXIA", because they would +% overwrite the defintions for "... WITH TONOS" in the `Greek and Coptic` +% block. +% +% :: + +\DeclareTextCompositeCommand{\accpsili}{PU}{\textalpha}{\9037\000} % ἀ +\DeclareTextCompositeCommand{\accdasia}{PU}{\textalpha}{\9037\001} % ἁ +\DeclareTextCompositeCommand{\accpsilivaria}{PU}{\textalpha}{\9037\002} % ἂ +\DeclareTextCompositeCommand{\accdasiavaria}{PU}{\textalpha}{\9037\003} % ἃ +\DeclareTextCompositeCommand{\accpsilioxia}{PU}{\textalpha}{\9037\004} % ἄ +\DeclareTextCompositeCommand{\accdasiaoxia}{PU}{\textalpha}{\9037\005} % ἅ +\DeclareTextCompositeCommand{\accpsiliperispomeni}{PU}{\textalpha}{\9037\006} % ἆ +\DeclareTextCompositeCommand{\accdasiaperispomeni}{PU}{\textalpha}{\9037\007} % ἇ +\DeclareTextCompositeCommand{\accpsili}{PU}{\textAlpha}{\9037\010} % Ἀ +\DeclareTextCompositeCommand{\accdasia}{PU}{\textAlpha}{\9037\011} % Ἁ +\DeclareTextCompositeCommand{\accpsilivaria}{PU}{\textAlpha}{\9037\012} % Ἂ +\DeclareTextCompositeCommand{\accdasiavaria}{PU}{\textAlpha}{\9037\013} % Ἃ +\DeclareTextCompositeCommand{\accpsilioxia}{PU}{\textAlpha}{\9037\014} % Ἄ +\DeclareTextCompositeCommand{\accdasiaoxia}{PU}{\textAlpha}{\9037\015} % Ἅ +\DeclareTextCompositeCommand{\accpsiliperispomeni}{PU}{\textAlpha}{\9037\016} % Ἆ +\DeclareTextCompositeCommand{\accdasiaperispomeni}{PU}{\textAlpha}{\9037\017} % Ἇ + +\DeclareTextCompositeCommand{\accpsili}{PU}{\textepsilon}{\9037\020} % ἐ +\DeclareTextCompositeCommand{\accdasia}{PU}{\textepsilon}{\9037\021} % ἑ +\DeclareTextCompositeCommand{\accpsilivaria}{PU}{\textepsilon}{\9037\022} % ἒ +\DeclareTextCompositeCommand{\accdasiavaria}{PU}{\textepsilon}{\9037\023} % ἓ +\DeclareTextCompositeCommand{\accpsilioxia}{PU}{\textepsilon}{\9037\024} % ἔ +\DeclareTextCompositeCommand{\accdasiaoxia}{PU}{\textepsilon}{\9037\025} % ἕ +\DeclareTextCompositeCommand{\accpsili}{PU}{\textEpsilon}{\9037\030} % Ἐ +\DeclareTextCompositeCommand{\accdasia}{PU}{\textEpsilon}{\9037\031} % Ἑ +\DeclareTextCompositeCommand{\accpsilivaria}{PU}{\textEpsilon}{\9037\032} % Ἒ +\DeclareTextCompositeCommand{\accdasiavaria}{PU}{\textEpsilon}{\9037\033} % Ἓ +\DeclareTextCompositeCommand{\accpsilioxia}{PU}{\textEpsilon}{\9037\034} % Ἔ +\DeclareTextCompositeCommand{\accdasiaoxia}{PU}{\textEpsilon}{\9037\035} % Ἕ + +\DeclareTextCompositeCommand{\accpsili}{PU}{\texteta}{\9037\040} % ἠ +\DeclareTextCompositeCommand{\accdasia}{PU}{\texteta}{\9037\041} % ἡ +\DeclareTextCompositeCommand{\accpsilivaria}{PU}{\texteta}{\9037\042} % ἢ +\DeclareTextCompositeCommand{\accdasiavaria}{PU}{\texteta}{\9037\043} % ἣ +\DeclareTextCompositeCommand{\accpsilioxia}{PU}{\texteta}{\9037\044} % ἤ +\DeclareTextCompositeCommand{\accdasiaoxia}{PU}{\texteta}{\9037\045} % ἥ +\DeclareTextCompositeCommand{\accpsiliperispomeni}{PU}{\texteta}{\9037\046} % ἦ +\DeclareTextCompositeCommand{\accdasiaperispomeni}{PU}{\texteta}{\9037\047} % ἧ +\DeclareTextCompositeCommand{\accpsili}{PU}{\textEta}{\9037\050} % Ἠ +\DeclareTextCompositeCommand{\accdasia}{PU}{\textEta}{\9037\051} % Ἡ +\DeclareTextCompositeCommand{\accpsilivaria}{PU}{\textEta}{\9037\052} % Ἢ +\DeclareTextCompositeCommand{\accdasiavaria}{PU}{\textEta}{\9037\053} % Ἣ +\DeclareTextCompositeCommand{\accpsilioxia}{PU}{\textEta}{\9037\054} % Ἤ +\DeclareTextCompositeCommand{\accdasiaoxia}{PU}{\textEta}{\9037\055} % Ἥ +\DeclareTextCompositeCommand{\accpsiliperispomeni}{PU}{\textEta}{\9037\056} % Ἦ +\DeclareTextCompositeCommand{\accdasiaperispomeni}{PU}{\textEta}{\9037\057} % Ἧ + +\DeclareTextCompositeCommand{\accpsili}{PU}{\textiota}{\9037\060} % ἰ +\DeclareTextCompositeCommand{\accdasia}{PU}{\textiota}{\9037\061} % ἱ +\DeclareTextCompositeCommand{\accpsilivaria}{PU}{\textiota}{\9037\062} % ἲ +\DeclareTextCompositeCommand{\accdasiavaria}{PU}{\textiota}{\9037\063} % ἳ +\DeclareTextCompositeCommand{\accpsilioxia}{PU}{\textiota}{\9037\064} % ἴ +\DeclareTextCompositeCommand{\accdasiaoxia}{PU}{\textiota}{\9037\065} % ἵ +\DeclareTextCompositeCommand{\accpsiliperispomeni}{PU}{\textiota}{\9037\066} % ἶ +\DeclareTextCompositeCommand{\accdasiaperispomeni}{PU}{\textiota}{\9037\067} % ἷ +\DeclareTextCompositeCommand{\accpsili}{PU}{\textIota}{\9037\070} % Ἰ +\DeclareTextCompositeCommand{\accdasia}{PU}{\textIota}{\9037\071} % Ἱ +\DeclareTextCompositeCommand{\accpsilivaria}{PU}{\textIota}{\9037\072} % Ἲ +\DeclareTextCompositeCommand{\accdasiavaria}{PU}{\textIota}{\9037\073} % Ἳ +\DeclareTextCompositeCommand{\accpsilioxia}{PU}{\textIota}{\9037\074} % Ἴ +\DeclareTextCompositeCommand{\accdasiaoxia}{PU}{\textIota}{\9037\075} % Ἵ +\DeclareTextCompositeCommand{\accpsiliperispomeni}{PU}{\textIota}{\9037\076} % Ἶ +\DeclareTextCompositeCommand{\accdasiaperispomeni}{PU}{\textIota}{\9037\077} % Ἷ + +\DeclareTextCompositeCommand{\accpsili}{PU}{\textomicron}{\9037\100} % ὀ +\DeclareTextCompositeCommand{\accdasia}{PU}{\textomicron}{\9037\101} % ὁ +\DeclareTextCompositeCommand{\accpsilivaria}{PU}{\textomicron}{\9037\102} % ὂ +\DeclareTextCompositeCommand{\accdasiavaria}{PU}{\textomicron}{\9037\103} % ὃ +\DeclareTextCompositeCommand{\accpsilioxia}{PU}{\textomicron}{\9037\104} % ὄ +\DeclareTextCompositeCommand{\accdasiaoxia}{PU}{\textomicron}{\9037\105} % ὅ +\DeclareTextCompositeCommand{\accpsili}{PU}{\textOmicron}{\9037\110} % Ὀ +\DeclareTextCompositeCommand{\accdasia}{PU}{\textOmicron}{\9037\111} % Ὁ +\DeclareTextCompositeCommand{\accpsilivaria}{PU}{\textOmicron}{\9037\112} % Ὂ +\DeclareTextCompositeCommand{\accdasiavaria}{PU}{\textOmicron}{\9037\113} % Ὃ +\DeclareTextCompositeCommand{\accpsilioxia}{PU}{\textOmicron}{\9037\114} % Ὄ +\DeclareTextCompositeCommand{\accdasiaoxia}{PU}{\textOmicron}{\9037\115} % Ὅ + +\DeclareTextCompositeCommand{\accpsili}{PU}{\textupsilon}{\9037\120} % ὐ +\DeclareTextCompositeCommand{\accdasia}{PU}{\textupsilon}{\9037\121} % ὑ +\DeclareTextCompositeCommand{\accpsilivaria}{PU}{\textupsilon}{\9037\122} % ὒ +\DeclareTextCompositeCommand{\accdasiavaria}{PU}{\textupsilon}{\9037\123} % ὓ +\DeclareTextCompositeCommand{\accpsilioxia}{PU}{\textupsilon}{\9037\124} % ὔ +\DeclareTextCompositeCommand{\accdasiaoxia}{PU}{\textupsilon}{\9037\125} % ὕ +\DeclareTextCompositeCommand{\accpsiliperispomeni}{PU}{\textupsilon}{\9037\126} % ὖ +\DeclareTextCompositeCommand{\accdasiaperispomeni}{PU}{\textupsilon}{\9037\127} % ὗ +\DeclareTextCompositeCommand{\accdasia}{PU}{\textUpsilon}{\9037\131} % Ὑ +\DeclareTextCompositeCommand{\accdasiavaria}{PU}{\textUpsilon}{\9037\133} % Ὓ +\DeclareTextCompositeCommand{\accdasiaoxia}{PU}{\textUpsilon}{\9037\135} % Ὕ +\DeclareTextCompositeCommand{\accdasiaperispomeni}{PU}{\textUpsilon}{\9037\137} % Ὗ + +\DeclareTextCompositeCommand{\accpsili}{PU}{\textomega}{\9037\140} % ὠ +\DeclareTextCompositeCommand{\accdasia}{PU}{\textomega}{\9037\141} % ὡ +\DeclareTextCompositeCommand{\accpsilivaria}{PU}{\textomega}{\9037\142} % ὢ +\DeclareTextCompositeCommand{\accdasiavaria}{PU}{\textomega}{\9037\143} % ὣ +\DeclareTextCompositeCommand{\accpsilioxia}{PU}{\textomega}{\9037\144} % ὤ +\DeclareTextCompositeCommand{\accdasiaoxia}{PU}{\textomega}{\9037\145} % ὥ +\DeclareTextCompositeCommand{\accpsiliperispomeni}{PU}{\textomega}{\9037\146} % ὦ +\DeclareTextCompositeCommand{\accdasiaperispomeni}{PU}{\textomega}{\9037\147} % ὧ +\DeclareTextCompositeCommand{\accpsili}{PU}{\textOmega}{\9037\150} % Ὠ +\DeclareTextCompositeCommand{\accdasia}{PU}{\textOmega}{\9037\151} % Ὡ +\DeclareTextCompositeCommand{\accpsilivaria}{PU}{\textOmega}{\9037\152} % Ὢ +\DeclareTextCompositeCommand{\accdasiavaria}{PU}{\textOmega}{\9037\153} % Ὣ +\DeclareTextCompositeCommand{\accpsilioxia}{PU}{\textOmega}{\9037\154} % Ὤ +\DeclareTextCompositeCommand{\accdasiaoxia}{PU}{\textOmega}{\9037\155} % Ὥ +\DeclareTextCompositeCommand{\accpsiliperispomeni}{PU}{\textOmega}{\9037\156} % Ὦ +\DeclareTextCompositeCommand{\accdasiaperispomeni}{PU}{\textOmega}{\9037\157} % Ὧ + +\DeclareTextCompositeCommand{\`}{PU}{\textalpha}{\9037\160} % ὰ +\DeclareTextCompositeCommand{\`}{PU}{\textepsilon}{\9037\162} % ὲ +\DeclareTextCompositeCommand{\`}{PU}{\texteta}{\9037\164} % ὴ +\DeclareTextCompositeCommand{\`}{PU}{\textiota}{\9037\166} % ὶ +\DeclareTextCompositeCommand{\`}{PU}{\textomicron}{\9037\170} % ὸ +\DeclareTextCompositeCommand{\`}{PU}{\textupsilon}{\9037\172} % ὺ +\DeclareTextCompositeCommand{\`}{PU}{\textomega}{\9037\174} % ὼ + +\DeclareTextCompositeCommand{\u}{PU}{\textalpha}{\9037\260} % ᾰ +\DeclareTextCompositeCommand{\=}{PU}{\textalpha}{\9037\261} % ᾱ +% ᾲ +% ᾳ +% ᾴ +\DeclareTextCompositeCommand{\~}{PU}{\textalpha}{\9037\266} % ᾶ +\DeclareTextCompositeCommand{\accperispomeni}{PU}{\textalpha}{\9037\267} % ᾶ +% ᾷ +\DeclareTextCompositeCommand{\u}{PU}{\textAlpha}{\9037\270} % Ᾰ +\DeclareTextCompositeCommand{\=}{PU}{\textAlpha}{\9037\271} % Ᾱ +\DeclareTextCompositeCommand{\`}{PU}{\textAlpha}{\9037\272} % Ὰ +% Ά +% ᾼ +\DeclareTextCompositeCommand{\accpsili}{PU}{\@empty}{\9037\275} % ᾽ +\DeclareTextCompositeCommand{\accpsili}{PU}{\ }{\9037\275} % ᾽ +\DeclareTextCommand{\prosgegrammeni}{PU}{\9037\276} % ι +\DeclareTextCompositeCommand{\accpsili}{PU}{\@empty}{\9037\277} % ᾿ +\DeclareTextCompositeCommand{\accpsili}{PU}{\ }{\9037\277} % ᾿ + +\DeclareTextCompositeCommand{\accperispomeni}{PU}{\@empty}{\9037\300} % ῀ +\DeclareTextCompositeCommand{\accperispomeni}{PU}{\ }{\9037\300} % ῀ +\DeclareTextCompositeCommand{\accdialytikaperispomeni}{PU}{\@empty}{\9037\301} % ῁ +\DeclareTextCompositeCommand{\accdialytikaperispomeni}{PU}{\ }{\9037\301} % ῁ +% ῂ +% ῃ +% ῄ +\DeclareTextCompositeCommand{\~}{PU}{\texteta}{\9037\307} % ῆ +\DeclareTextCompositeCommand{\accperispomeni}{PU}{\texteta}{\9037\307} % ῆ +% ῇ +\DeclareTextCompositeCommand{\`}{PU}{\textEpsilon}{\9037\310} % Ὲ +\DeclareTextCompositeCommand{\`}{PU}{\textEta}{\9037\312} % Ὴ +% ῌ +\DeclareTextCompositeCommand{\accpsilivaria}{PU}{\@empty}{\9037\315} % ῍ +\DeclareTextCompositeCommand{\accpsilivaria}{PU}{\ }{\9037\315} % ῍ +\DeclareTextCompositeCommand{\accpsilioxia}{PU}{\@empty}{\9037\316} % ῎ +\DeclareTextCompositeCommand{\accpsilioxia}{PU}{\ }{\9037\316} % ῎ +\DeclareTextCompositeCommand{\accpsiliperispomeni}{PU}{\@empty}{\9037\317} % ῏ +\DeclareTextCompositeCommand{\accpsiliperispomeni}{PU}{\ }{\9037\317} % ῏ + +\DeclareTextCompositeCommand{\u}{PU}{\textiota}{\9037\320} % ῐ +\DeclareTextCompositeCommand{\=}{PU}{\textiota}{\9037\321} % ῑ +\DeclareTextCompositeCommand{\accdialytikavaria}{PU}{\textiota}{\9037\322} % ῒ +\DeclareTextCompositeCommand{\accdialytikaoxia}{PU}{\textiota}{\9037\323} % ΐ +\DeclareTextCompositeCommand{\~}{PU}{\textiota}{\9037\326} % ῖ +\DeclareTextCompositeCommand{\accperispomeni}{PU}{\textiota}{\9037\326} % ῖ +\DeclareTextCompositeCommand{\accdialytikaperispomeni}{PU}{\textiota}{\9037\327} % ῗ +\DeclareTextCompositeCommand{\u}{PU}{\textIota}{\9037\330} % Ῐ +\DeclareTextCompositeCommand{\=}{PU}{\textIota}{\9037\331} % Ῑ +\DeclareTextCompositeCommand{\`}{PU}{\textIota}{\9037\332} % Ὶ +\DeclareTextCompositeCommand{\accdasiavaria}{PU}{\@empty}{\9037\335} % ῝ +\DeclareTextCompositeCommand{\accdasiavaria}{PU}{\ }{\9037\335} % ῝ +\DeclareTextCompositeCommand{\accdasiaoxia}{PU}{\@empty}{\9037\336} % ῞ +\DeclareTextCompositeCommand{\accdasiaoxia}{PU}{\ }{\9037\336} % ῞ +\DeclareTextCompositeCommand{\accdasiaperispomeni}{PU}{\@empty}{\9037\337} % ῟ +\DeclareTextCompositeCommand{\accdasiaperispomeni}{PU}{\ }{\9037\337} % ῟ + +\DeclareTextCompositeCommand{\u}{PU}{\textupsilon}{\9037\340} % ῠ +\DeclareTextCompositeCommand{\=}{PU}{\textupsilon}{\9037\341} % ῡ +\DeclareTextCompositeCommand{\accdialytikavaria}{PU}{\textupsilon}{\9037\342} % ῢ +\DeclareTextCompositeCommand{\accdialytikaoxia}{PU}{\textupsilon}{\9037\343} % ΰ +\DeclareTextCompositeCommand{\accpsili}{PU}{\textrho}{\9037\344} % ῤ +\DeclareTextCompositeCommand{\accdasia}{PU}{\textrho}{\9037\345} % ῥ +\DeclareTextCompositeCommand{\~}{PU}{\textupsilon}{\9037\346} % ῦ +\DeclareTextCompositeCommand{\accperispomeni}{PU}{\textupsilon}{\9037\346} % ῦ +\DeclareTextCompositeCommand{\accdialytikaperispomeni}{PU}{\textupsilon}{\9037\347} % ῧ +\DeclareTextCompositeCommand{\u}{PU}{\textUpsilon}{\9037\350} % Ῠ +\DeclareTextCompositeCommand{\=}{PU}{\textUpsilon}{\9037\351} % Ῡ +\DeclareTextCompositeCommand{\`}{PU}{\textUpsilon}{\9037\352} % Ὺ +\DeclareTextCompositeCommand{\accdasia}{PU}{\textRho}{\9037\354} % Ῥ +\DeclareTextCompositeCommand{\accdialytikavaria}{PU}{\@empty}{\9037\355} % ῭ +\DeclareTextCompositeCommand{\accdialytikavaria}{PU}{\ }{\9037\355} % ῭ +\DeclareTextCompositeCommand{\accdialytikaoxia}{PU}{\@empty}{\9037\356} % ΅ +\DeclareTextCompositeCommand{\accdialytikaoxia}{PU}{\ }{\9037\356} % ΅ +% ` + +% ῲ +% ῳ +% ῴ +\DeclareTextCompositeCommand{\~}{PU}{\textomega}{\9037\366} % ῶ +\DeclareTextCompositeCommand{\accperispomeni}{PU}{\textomega}{\9037\366} % ῶ +% ῷ +\DeclareTextCompositeCommand{\`}{PU}{\textOmicron}{\9037\370} % Ὸ +\DeclareTextCompositeCommand{\`}{PU}{\textOmega}{\9037\372} % Ὼ +% ῼ +\DeclareTextCompositeCommand{\accoxia}{PU}{\@empty}{\9037\375} % ´ +\DeclareTextCompositeCommand{\accoxia}{PU}{\ }{\9037\375} % ´ +\DeclareTextCompositeCommand{\accdasia}{PU}{\@empty}{\9037\376} % ῾ +\DeclareTextCompositeCommand{\accdasia}{PU}{\ }{\9037\376} % ῾ + +% Letterlike Symbols +% ------------------ +% :: + +\DeclareTextCommand{\textohm}{PU}{\83\251} % "03A9 OHM SIGN, use 03A9 Omega + +% 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}{PU}{𐅄} % "10144 GREEK ACROPHONIC ATTIC FIFTY +\DeclareTextCommand{\textpentehekaton}{PU}{𐅅} % "10145 GREEK ACROPHONIC ATTIC FIVE HUNDRED +\DeclareTextCommand{\textpenteqilioi}{PU}{𐅆} % "10146 GREEK ACROPHONIC ATTIC FIVE THOUSAND +\DeclareTextCommand{\textpentemuria}{PU}{𐅇} % "10147 GREEK ACROPHONIC ATTIC FIFTY THOUSAND diff --git a/Master/texmf-dist/tex/latex/greek-fontenc/textalpha.sty b/Master/texmf-dist/tex/latex/greek-fontenc/textalpha.sty index 9bf8fa2a12c..e7ac61e763b 100644 --- a/Master/texmf-dist/tex/latex/greek-fontenc/textalpha.sty +++ b/Master/texmf-dist/tex/latex/greek-fontenc/textalpha.sty @@ -16,7 +16,7 @@ \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{textalpha} -[2020/09/25 1.0 macros for Greek letters in text] +[2020/10/30 2.0 macros for Greek letters in text] % .. note:: % @@ -47,6 +47,8 @@ % Rename ``greek-euenc`` to ``tuenc-greek``. % Don't use ``\LastDeclaredEncoding``. % 1.0 2020-09-25 Also set ``\encodingdefault`` with ``\greekscript``. +% 2.0 2020-10-30 Load ``tuenc-greek.def`` with Xe/LuaTeX by default. +% .. Load ``puenc-greek.def`` if used with `hyperref`_. % ====== ========== ========================================================= % % .. contents:: @@ -85,7 +87,7 @@ % % If 8-bit font encodings like LGR are used alongside Unicode fonts, text % input can be done via the Latin transcription or LICR but *not via -% literal Unicode characters* (see tuenc-greek-doc.tex_). +% literal Unicode characters* (see test-tuenc-greek.tex_). % % .. Attention:: The macros work well in any font encoding for single symbols. % However, with 8-bit TeX engines, the automatic font-encoding switches @@ -127,11 +129,11 @@ % % For detailled examples see ``_ and ``_ % (8-bit TeX and XeTeX/LuaTeX in 8-bit compatibility mode) as well as -% ``_ and ``_ (XeTeX/LuaTeX with +% ``_ and ``_ (XeTeX/LuaTeX with % Unicode fonts). % % With XeTeX or LuaTex, Unicode fonts and LGR encoded 8-bit fonts can be used -% in the same document (see tuenc-greek-doc.tex_). +% in the same document (see test-tuenc-greek.tex_). % % % Implementation @@ -191,18 +193,36 @@ % .. _font encoding: % +% Symbol macros for breathings +% ---------------------------- +% +% In the Latin transcription provided by LGR, breathing accents (Dasia and +% Psili) are input as < and >. Provide the corresponding NFSS macro accents. +% (Used below for LGR, TU, and PU, if these font encodings are defined):: + +\newcommand{\textalpha@define@breathings}[1]{ + \DeclareTextCommand{\<}{#1}{\accdasia} + \DeclareTextCommand{\>}{#1}{\accpsili} + % Composite accents starting with the new-defined shortcuts: + \DeclareTextCompositeCommand{\>}{#1}{'}{\accpsilioxia} + \DeclareTextCompositeCommand{\>}{#1}{`}{\accpsilivaria} + \DeclareTextCompositeCommand{\>}{#1}{~}{\accpsiliperispomeni} + \DeclareTextCompositeCommand{\<}{#1}{'}{\accdasiaoxia} + \DeclareTextCompositeCommand{\<}{#1}{`}{\accdasiavaria} + \DeclareTextCompositeCommand{\<}{#1}{~}{\accdasiaperispomeni} +} + % Font encodings % -------------- % % With 8-bit LaTeX, the `LGR font encoding`_ is used for Greek characters. If -% no Greek-supporting font encoding (TU, EU1, EU2, or LGR) is declared, LGR is +% no Greek-supporting font encoding (TU or LGR) is declared, LGR is % loaded and set up as default Greek font encoding by this package. % % With XeTeX or LuaTeX, there is one common input and font encoding -- % Unicode. 8-bit TeX font encodings are only used in compatibility mode or for % fonts not available otherwise. For compatibility with the LaTeX font -% selection system, fontspec_ defines the TU font encoding or the (pseudo) -% font encodings EU1 and EU2 for XeTeX and LuaTeX respectively. However +% selection system, fontspec_ defines the TU font encoding. However % `fontspec` does not define Greek LICR macros. We therefore explicitely % load Greek LICR definitions for XeTeX/LuaTeX from `tuenc-greek.def % `_ which in turn includes `greek-fontenc.def @@ -213,55 +233,29 @@ % Ensure a Greek-supporting font encoding exists and supports Greek LICR % macros: % -% * Load the Greek LICR definitions for Unicode if the font encoding TU, EU1, -% or EU2 is detected. -% * If none of TU, EU1, EU2, or LGR is declared, load ``lgrenc.def``. +% * Load the Greek LICR definitions for Unicode if the font encoding TU +% is detected. +% * If none of TU or LGR is declared, load ``tuenc.def`` with +% Xe/LuaTeX and ``lgrenc.def`` else. % % :: -\ifdefined \UTFencname % set by "fontspec.sty" +\ifdefined \UnicodeEncodingName % set by LaTeX for Unicode-aware engines \input{tuenc-greek.def} + \textalpha@define@breathings{\UnicodeEncodingName} \else - \@ifl@aded{def}{lgrenc}{ - % LGR already declared and set up - }{ + \@ifl@aded{def}{lgrenc}{}{% else \input{lgrenc.def} } + \textalpha@define@breathings{LGR} + % Hiatus feature (see greek-fontenc.def and babel-greek (greek.ldf)) + \DeclareTextCompositeCommand{\<}{LGR}{^^9f}{\LGR@hiatus} + \DeclareTextCompositeCommand{\>}{LGR}{^^9f}{\LGR@hiatus} \fi -% The package hyperref_ defines the PU font encoding which also supports -% (monotonic) Greek. It currently misses polytonic greek and the -% ``\greekscript`` and ``\ensuregreek`` TextCommands:: - -\@ifl@aded{def}{puenc} - {\ProvideTextCommand{\greekscript}{PU}{} - \ProvideTextCommand{\ensuregreek}{PU}[1]{#1} - \pdfstringdefDisableCommands{\let\TextOrMath\@firstoftwo} - } - {} - - -% Symbol macros for breathings -% ---------------------------- -% -% In the Latin transcription provided by LGR, breathing accents (Dasia and -% Psili) are input as < and >. We provide the corresponding NFSS macro accents -% (moved here from `greek-fontenc.def`_). -% -% As Xe/LuaTeX may use LGR in combination with TU, we define the -% macros twice, for LGR and Unicode font encodings (if they are defined):: - -\newcommand{\textalpha@define@breathings}[1]{ - \DeclareTextCommand{\<}{#1}{\accdasia} - \DeclareTextCommand{\>}{#1}{\accpsili} - % Composite accents starting with the new-defined shortcuts: - \DeclareTextCompositeCommand{\>}{#1}{'}{\accpsilioxia} - \DeclareTextCompositeCommand{\>}{#1}{`}{\accpsilivaria} - \DeclareTextCompositeCommand{\>}{#1}{~}{\accpsiliperispomeni} - \DeclareTextCompositeCommand{\<}{#1}{'}{\accdasiaoxia} - \DeclareTextCompositeCommand{\<}{#1}{`}{\accdasiavaria} - \DeclareTextCompositeCommand{\<}{#1}{~}{\accdasiaperispomeni} -} +% LGR may also be used in a document compiled with Xe/LuaTeX +% (enables use of 8-bit TeX fonts and input via the Latin transcription). +% Add setup for breathings:: \@ifl@aded{def}{lgrenc}{ \textalpha@define@breathings{LGR} @@ -270,10 +264,29 @@ \DeclareTextCompositeCommand{\>}{LGR}{^^9f}{\LGR@hiatus} }{} -\@ifl@aded{def}{tuenc-greek}{ % XeTeX or LuaTeX with Unicode fonts - \textalpha@define@breathings{\UTFencname} -}{} +% The package hyperref_ defines the PU font encoding which also supports +% (monotonic) Greek. It currently misses polytonic greek, archaic symbols, +% and the ``\greekscript`` and ``\ensuregreek`` TextCommands:: + +\AtBeginDocument{ + \@ifl@aded{def}{puenc}{ + \makeatletter % required inside \AtBeginDocument + \input{puenc-greek.def} + \textalpha@define@breathings{PU} + \pdfstringdefDisableCommands{\let\TextOrMath\@firstoftwo} + \makeatother + }{} +} +% The package textcomp defines the TS1 font encoding with the MICRO SIGN +% named ``\texmu``. Provide the alias ``\textmicro``:: + +\AtBeginDocument{ + \@ifl@aded{def}{ts1enc}{ + \DeclareTextSymbol{\textmicro}{TS1}{181} % micro sign + \DeclareTextSymbolDefault{\textmicro}{TS1} + }{} +} % Default declarations % -------------------- @@ -282,10 +295,9 @@ % anywhere in the document also with 8-bit TeX by declaring LGR as their % default font encoding. Abort here, if the LGR font encoding is not defined:: -\@ifl@aded{def}{lgrenc} - {} -% else return: - {\expandafter\endinput} +\@ifl@aded{def}{lgrenc}{}{ % else return: + \expandafter\endinput +} % greekscript, ensuregreek @@ -322,8 +334,8 @@ % % ``! You can't use a prefix with `end-group character }'.`` % -% Eventually, all font encodings supporting Greek script (e.g. LGI, PU, TU, -% EU1, EU2) will declare ``\ensuregreek`` as text command that passes the +% Eventually, all font encodings supporting Greek script (e.g. LGI, PU, TU) +% will declare ``\ensuregreek`` as text command that passes the % argument unchanged. This way, kerning and selection of precomposed glyphs % would work also for cases like ``\ensuregreek{\'A}U``. % @@ -402,9 +414,10 @@ \DeclareTextSymbolDefault{\textstigma}{LGR} % ϛ \DeclareTextSymbolDefault{\textstigmagreek}{LGR} % ϛ (puenc.def) -\DeclareTextSymbolDefault{\textvarstigma}{LGR} % stigma variant -\DeclareTextSymbolDefault{\textkoppa}{LGR} % ϟ (greek small letter koppa) +\DeclareTextSymbolDefault{\textvarstigma}{LGR} % stigma variant (no separate Unicode character) +\DeclareTextSymbolDefault{\textkoppa}{LGR} % ϟ Greek small letter koppa \DeclareTextSymbolDefault{\textkoppagreek}{LGR} % ϟ (puenc.def) +\DeclareTextSymbolDefault{\textKoppa}{LGR} % ϟ Greek letter koppa (numeral koppa) \DeclareTextSymbolDefault{\textqoppa}{LGR} % ϙ (archaic koppa) \DeclareTextSymbolDefault{\textQoppa}{LGR} % Ϙ (archaic Koppa) \DeclareTextSymbolDefault{\textStigma}{LGR} % Ϛ ϹΤ ligature in some fonts diff --git a/Master/texmf-dist/tex/latex/greek-fontenc/tuenc-greek.def b/Master/texmf-dist/tex/latex/greek-fontenc/tuenc-greek.def index dcc9b0b672b..5e2967c2d78 100644 --- a/Master/texmf-dist/tex/latex/greek-fontenc/tuenc-greek.def +++ b/Master/texmf-dist/tex/latex/greek-fontenc/tuenc-greek.def @@ -11,11 +11,12 @@ % :: \ProvidesFile{tuenc-greek.def} -[2020/09/25 1.0 Greek LICRs for XeTeX and LuaTeX] +[2020/10/13 2.0 Greek LICRs for XeTeX and LuaTeX] % :abstract: -% Experimental support for Greek LICR macros with XeTeX and LuaTeX. -% Extends tuenc_. Used by babel-greek_ and textalpha_. +% Support for Greek LICR macros and upcasing of text +% with XeTeX and LuaTeX. Extends tuenc.def_. +% Used by babel-greek_ and textalpha_. % % **History**: % .. class:: borderless @@ -36,7 +37,12 @@ % .. LICR macros for symbol variants. % 0.13.3 2018-01-06 Documentation update. % 0.14 2020-02-28 Rename to ``tuenc-greek.def``. Use ``\UTFencname``. -% 1.0 2020/09/25 ``\textKoppa`` as alias for ``\textkoppa`` in LGR. +% 1.0 2020-09-25 New package version. No changes in this file. +% 2.0 2020-10-13 Move common alias definitions to ``greek-fontenc.def``. +% .. New compatiblity definitions. +% .. Use ``\UnicodeEncodingName`` instead of ``\UTFencname``. +% .. Make the file encoding-independent (required for input +% in other encodings with `luainputenc`). % ====== ========== ======================================================== % % .. contents:: @@ -44,7 +50,7 @@ % Motivation % ========== % -% LICR macro definitions for the Greek script are missing in tuenc_ (as well +% LICR macro definitions for the Greek script are missing in tuenc.def_ (as well % as the predecessors xunicode_, euenc_). % % This file defines `LaTeX Internal Character Representaction` (LICR) macros @@ -54,9 +60,11 @@ % Requirements % ============ % -% Requires XeTeX or LuaTeX, fontspec_, and a font with Greek characters. +% Requires XeTeX or LuaTeX (usually with fontspec_), the `LaTeX base`_ +% file _`tuenc.def` that sets up the `font encoding`_ TU, and a font with +% Greek characters. % -% See ``_ and ``_ for setup and +% See ``_ and ``_ for setup and % usage examples. % % @@ -73,44 +81,46 @@ % % Greek alias names for standard accents:: -\DeclareTextCommand{\acctonos}{\UTFencname}{\@tabacckludge'} -\DeclareTextCommand{\accvaria}{\UTFencname}{\@tabacckludge`} -\DeclareTextCommand{\accdialytika}{\UTFencname}{\@tabacckludge"} +\DeclareUnicodeAccent{\accvaria} \UnicodeEncodingName{"0300} +\DeclareUnicodeAccent{\acctonos} \UnicodeEncodingName{"0301} +\DeclareUnicodeAccent{\accdialytika}\UnicodeEncodingName{"0308} % The combining perispomeni character is normalized with Greek base letters, % while the (standard) combining tilde is not:: -\DeclareTextCommand{\accperispomeni}{\UTFencname}[1]{#1\char"0342 } +\DeclareUnicodeAccent{\accperispomeni}\UnicodeEncodingName{"0342} % COMBINING GREEK PERISPOMENI % Breathings: % -% (The COMBINING GREEK KORONIS is a legacy character, discarded in favour of -% COMBINING COMMA ABOVE) :: +% ``\accpsili = \acckoronis`` but the COMBINING GREEK KORONIS is a legacy +% character, discarded in favour of COMBINING COMMA ABOVE. :: -\DeclareTextCommand{\accpsili}{\UTFencname}[1]{#1\char"0313 } % ψιλή spiritus lenis (smooth breathing) -\DeclareTextCommand{\accdasia}{\UTFencname}[1]{#1\char"0314 } % δασεῖα spiritus asper (rough breathing) +\DeclareUnicodeAccent{\accpsili}\UnicodeEncodingName{"0313} % ψιλή spiritus lenis (smooth breathing) +\DeclareUnicodeAccent{\accdasia}\UnicodeEncodingName{"0314} % δασεῖα spiritus asper (rough breathing) - -% Sub-iota: +% Sub-iotas: % +% ``\prosgegrammeni`` is a standard character (see below). % ``\ypogegrammeni`` is a postfix accent (ligature in LGR) :: -\DeclareTextSymbol{\ypogegrammeni}{\UTFencname}{0837} % COMBINING GREEK YPOGEGRAMMENI +\DeclareTextSymbol{\ypogegrammeni}{\UnicodeEncodingName}{0837} % COMBINING GREEK YPOGEGRAMMENI -% Combined diacritics:: +% Combined diacritics: +% +% ``\DeclareUnicodeAccent`` does not work with more than one argument:: % The COMBINING DIALYTIKA TONOS is discarded and not well supported by fonts: -\DeclareTextCommand{\accdialytikatonos}{\UTFencname}[1]{#1\char"0308 \char"0301 } -\DeclareTextCommand{\accdialytikavaria}{\UTFencname}[1]{#1\char"0308 \char"0300 } -\DeclareTextCommand{\accdialytikaperispomeni}{\UTFencname}[1]{#1\char"0342 \char"0308 } +\DeclareTextCommand{\accdialytikatonos}{\UnicodeEncodingName}[1]{#1\char"0308\char"0301} +\DeclareTextCommand{\accdialytikavaria}{\UnicodeEncodingName}[1]{#1\char"0308\char"0300} +\DeclareTextCommand{\accdialytikaperispomeni}{\UnicodeEncodingName}[1]{#1\char"0342\char"0308} -\DeclareTextCommand{\accdasiaoxia}{\UTFencname}[1]{#1\char"0314 \char"0301 } -\DeclareTextCommand{\accdasiavaria}{\UTFencname}[1]{#1\char"0314 \char"0300 } -\DeclareTextCommand{\accdasiaperispomeni}{\UTFencname}[1]{#1\char"0314 \char"0342 } +\DeclareTextCommand{\accdasiaoxia}{\UnicodeEncodingName}[1]{#1\char"0314\char"0301} +\DeclareTextCommand{\accdasiavaria}{\UnicodeEncodingName}[1]{#1\char"0314\char"0300} +\DeclareTextCommand{\accdasiaperispomeni}{\UnicodeEncodingName}[1]{#1\char"0314\char"0342} -\DeclareTextCommand{\accpsilioxia}{\UTFencname}[1]{#1\char"0301 \char"0313 } -\DeclareTextCommand{\accpsilivaria}{\UTFencname}[1]{#1\char"0300 \char"0313 } -\DeclareTextCommand{\accpsiliperispomeni}{\UTFencname}[1]{#1\char"0342 \char"0313 } +\DeclareTextCommand{\accpsilioxia}{\UnicodeEncodingName}[1]{#1\char"0301\char"0313} +\DeclareTextCommand{\accpsilivaria}{\UnicodeEncodingName}[1]{#1\char"0300\char"0313} +\DeclareTextCommand{\accpsiliperispomeni}{\UnicodeEncodingName}[1]{#1\char"0342\char"0313} % Common Definitions @@ -118,359 +128,416 @@ % % Use the `common Greek font encoding definitions`_:: -\renewcommand*{\LastDeclaredEncoding}{\UTFencname} +\renewcommand*{\LastDeclaredEncoding}{\UnicodeEncodingName} \input{greek-fontenc.def} - % Character Definitions % ===================== % -% General Punctuation -% ~~~~~~~~~~~~~~~~~~~ +% Basic Latin +% ~~~~~~~~~~~ +% +% Compatibility def with LGR:: + +\DeclareTextSymbol{\textsemicolon}\UnicodeEncodingName{"003B} % ; + +% Latin 1 Supplement +% ~~~~~~~~~~~~~~~~~~ +% +% Distinguish MICRO SIGN from letter mu:: + +\DeclareTextSymbol{\textmicro}\UnicodeEncodingName{"00B5} % µ MICRO SIGN + +% IPA Extensions +% ~~~~~~~~~~~~~~ % -% Ligature break up with ZERO WIDTH NON-JOINER:: +% :: -\DeclareTextCommand{\textcompwordmark}{\UTFencname}{\char"200C} +\DeclareTextSymbol{\textschwa}\UnicodeEncodingName{"0259} % ə % 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}{\UTFencname}{ʹ} % \anwtonos, \textnumeralsigngreek -\DeclareTextCommand{\textaristerikeraia}{\UTFencname}{͵} % \katwtonos, \textnumeralsignlowergreek -% 0376 GREEK CAPITAL LETTER PAMPHYLIAN DIGAMMA % Ͷ -% 0377 GREEK SMALL LETTER PAMPHYLIAN DIGAMMA % ͷ - -% 037A GREEK YPOGEGRAMMENI (use \textcompwordmark\ypogegrammeni) % ͺ +% 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 % ͳ +\DeclareTextSymbol{\textdexiakeraia}\UnicodeEncodingName{"0374} % ʹ \anwtonos, \textnumeralsigngreek +\DeclareTextSymbol{\textaristerikeraia}\UnicodeEncodingName{"0375} % ͵\katwtonos, \textnumeralsignlowergreek +% 0376 GREEK CAPITAL LETTER PAMPHYLIAN DIGAMMA % Ͷ +% 0377 GREEK SMALL LETTER PAMPHYLIAN DIGAMMA % ͷ + +% \DeclareTextCompositeCommand{\@emty}\UnicodeEncodingName{\ypogegrammeni}{ͺ} % 037A GREEK YPOGEGRAMMENI +% \DeclareTextCompositeCommand{\textcompwordmark}\UnicodeEncodingName{\ypogegrammeni}{ͺ} % 037A GREEK 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}{\UTFencname}{;} % 037E GREEK QUESTION MARK - -\DeclareTextCompositeCommand{\'}{\UTFencname}{\textcompwordmark}{΄} -\DeclareTextCompositeCommand{\accdialytikatonos}{\UTFencname}{\textcompwordmark}{΅} -\DeclareTextCompositeCommand{\'}{\UTFencname}{\textAlpha}{Ά} -\DeclareTextCommand{\textanoteleia}{\UTFencname}{·} % \anoteleia -\DeclareTextCompositeCommand{\'}{\UTFencname}{\textEpsilon}{Έ} -\DeclareTextCompositeCommand{\'}{\UTFencname}{\textEta}{Ή} -\DeclareTextCompositeCommand{\'}{\UTFencname}{\textIota}{Ί} -\DeclareTextCompositeCommand{\'}{\UTFencname}{\textOmicron}{Ό} -\DeclareTextCompositeCommand{\'}{\UTFencname}{\textUpsilon}{Ύ} -\DeclareTextCompositeCommand{\'}{\UTFencname}{\textOmega}{Ώ} -\DeclareTextCompositeCommand{\accdialytikatonos}{\UTFencname}{\textiota}{ΐ} - -\DeclareTextCommand{\textAlpha}{\UTFencname}{Α} -\DeclareTextCommand{\textBeta}{\UTFencname}{Β} -\DeclareTextCommand{\textGamma}{\UTFencname}{Γ} -\DeclareTextCommand{\textDelta}{\UTFencname}{Δ} -\DeclareTextCommand{\textEpsilon}{\UTFencname}{Ε} -\DeclareTextCommand{\textZeta}{\UTFencname}{Ζ} -\DeclareTextCommand{\textEta}{\UTFencname}{Η} -\DeclareTextCommand{\textTheta}{\UTFencname}{Θ} -\DeclareTextCommand{\textIota}{\UTFencname}{Ι} -\DeclareTextCommand{\textKappa}{\UTFencname}{Κ} -\DeclareTextCommand{\textLambda}{\UTFencname}{Λ} -\DeclareTextCommand{\textMu}{\UTFencname}{Μ} -\DeclareTextCommand{\textNu}{\UTFencname}{Ν} -\DeclareTextCommand{\textXi}{\UTFencname}{Ξ} -\DeclareTextCommand{\textOmicron}{\UTFencname}{Ο} -\DeclareTextCommand{\textPi}{\UTFencname}{Π} -\DeclareTextCommand{\textRho}{\UTFencname}{Ρ} -\DeclareTextCommand{\textSigma}{\UTFencname}{Σ} -\DeclareTextCommand{\textTau}{\UTFencname}{Τ} -\DeclareTextCommand{\textUpsilon}{\UTFencname}{Υ} -\DeclareTextCommand{\textPhi}{\UTFencname}{Φ} -\DeclareTextCommand{\textChi}{\UTFencname}{Χ} -\DeclareTextCommand{\textPsi}{\UTFencname}{Ψ} -\DeclareTextCommand{\textOmega}{\UTFencname}{Ω} - -\DeclareTextCompositeCommand{\"}{\UTFencname}{\textIota}{Ϊ} -\DeclareTextCompositeCommand{\"}{\UTFencname}{\textUpsilon}{Ϋ} -\DeclareTextCompositeCommand{\'}{\UTFencname}{\textalpha}{ά} -\DeclareTextCompositeCommand{\'}{\UTFencname}{\textepsilon}{έ} -\DeclareTextCompositeCommand{\'}{\UTFencname}{\texteta}{ή} -\DeclareTextCompositeCommand{\'}{\UTFencname}{\textiota}{ί} -\DeclareTextCompositeCommand{\accdialytikatonos}{\UTFencname}{\textupsilon}{ΰ} - -\DeclareTextCommand{\textalpha}{\UTFencname}{α} -\DeclareTextCommand{\textbeta}{\UTFencname}{β} -\DeclareTextCommand{\textgamma}{\UTFencname}{γ} -\DeclareTextCommand{\textdelta}{\UTFencname}{δ} -\DeclareTextCommand{\textepsilon}{\UTFencname}{ε} -\DeclareTextCommand{\textvarepsilon}{\UTFencname}{ε} % cf. $\varepsiolon$ -\DeclareTextCommand{\textzeta}{\UTFencname}{ζ} -\DeclareTextCommand{\texteta}{\UTFencname}{η} -\DeclareTextCommand{\texttheta}{\UTFencname}{θ} -\DeclareTextCommand{\textiota}{\UTFencname}{ι} -\DeclareTextCommand{\textkappa}{\UTFencname}{κ} -\DeclareTextCommand{\textlambda}{\UTFencname}{λ} -\DeclareTextCommand{\textmu}{\UTFencname}{μ} % \textmugreek -\DeclareTextCommand{\textnu}{\UTFencname}{ν} -\DeclareTextCommand{\textxi}{\UTFencname}{ξ} -\DeclareTextCommand{\textomicron}{\UTFencname}{ο} -\DeclareTextCommand{\textpi}{\UTFencname}{π} -\DeclareTextCommand{\textrho}{\UTFencname}{ρ} -\DeclareTextCommand{\textvarsigma}{\UTFencname}{ς} % final sigma -\DeclareTextCommand{\textfinalsigma}{\UTFencname}{\textvarsigma} -\DeclareTextCommand{\textsigma}{\UTFencname}{σ} -% Dummy definition (\textautosigma is lowercase of \textSigma): -\ProvideTextCommand{\textautosigma}{\UTFencname}{\textsigma} -\DeclareTextCommand{\texttau}{\UTFencname}{τ} -\DeclareTextCommand{\textupsilon}{\UTFencname}{υ} -\DeclareTextCommand{\textphi}{\UTFencname}{φ} -\DeclareTextCommand{\textvarphi}{\UTFencname}{φ} % cf. $\varphi$ -\DeclareTextCommand{\textchi}{\UTFencname}{χ} -\DeclareTextCommand{\textpsi}{\UTFencname}{ψ} -\DeclareTextCommand{\textomega}{\UTFencname}{ω} - -\DeclareTextCompositeCommand{\"}{\UTFencname}{\textiota}{ϊ} -\DeclareTextCompositeCommand{\"}{\UTFencname}{\textupsilon}{ϋ} -\DeclareTextCompositeCommand{\'}{\UTFencname}{\textomicron}{ό} -\DeclareTextCompositeCommand{\'}{\UTFencname}{\textupsilon}{ύ} -\DeclareTextCompositeCommand{\'}{\UTFencname}{\textomega}{ώ} - -\DeclareTextCommand{\textQoppa}{\UTFencname}{Ϙ} -\DeclareTextCommand{\textqoppa}{\UTFencname}{ϙ} -\DeclareTextCommand{\textStigma}{\UTFencname}{Ϛ} -\DeclareTextCommand{\textstigma}{\UTFencname}{ϛ} -\DeclareTextCommand{\textDigamma}{\UTFencname}{Ϝ} -\DeclareTextCommand{\textdigamma}{\UTFencname}{ϝ} -\DeclareTextCommand{\textKoppa}{\UTFencname}{Ϟ} % in LGR identic to \textkoppa -\DeclareTextCommand{\textkoppa}{\UTFencname}{ϟ} % \koppa, \textqoppa [sic!] -\DeclareTextCommand{\textSampi}{\UTFencname}{Ϡ} -\DeclareTextCommand{\textsampi}{\UTFencname}{ϡ} - -% Symbol variants -\DeclareTextCommand{\textbetasymbol}{\UTFencname}{ϐ} -\DeclareTextCommand{\textkappasymbol}{\UTFencname}{ϰ} -\DeclareTextCommand{\textThetasymbol}{\UTFencname}{ϴ} -\DeclareTextCommand{\textthetasymbol}{\UTFencname}{ϑ} -\DeclareTextCommand{\textphisymbol}{\UTFencname}{ϕ} -\DeclareTextCommand{\textpisymbol}{\UTFencname}{ϖ} -\DeclareTextCommand{\textrhosymbol}{\UTFencname}{ϱ} -\DeclareTextCommand{\textepsilonsymbol}{\UTFencname}{ϵ} -% math compatibility aliases -% $\varphi$ and $\varepsilon$ refer to the letter characters (see above)! -\DeclareTextCommand{\textvarbeta}{\UTFencname}{\textbetasymbol} -\DeclareTextCommand{\textvarkappa}{\UTFencname}{ϰ} -\DeclareTextCommand{\textvarTheta}{\UTFencname}{ϴ} -\DeclareTextCommand{\textvartheta}{\UTFencname}{ϑ} -\DeclareTextCommand{\textvarpi}{\UTFencname}{ϖ} -\DeclareTextCommand{\textvarrho}{\UTFencname}{ϱ} +\DeclareTextSymbol{\texterotimatiko}\UnicodeEncodingName{"003B} % use SEMICOLON, not 037E GREEK QUESTION MARK + +\DeclareUnicodeComposite{\acctonos} {} {"0384} % ΄ GREEK TONOS +\DeclareUnicodeComposite{\accdialytikatonos}{} {"0385} % ΅ GREEK DIALYTIKA TONOS +\DeclareUnicodeComposite{\'} {\textAlpha} {"0386} % Ά +\DeclareTextSymbol{\textanoteleia} \UnicodeEncodingName{"00B7} % use MIDDLE DOT, not 0387 GREEK ANO TELEIA +\DeclareUnicodeComposite{\'} {\textEpsilon}{"0388} % Έ +\DeclareUnicodeComposite{\'} {\textEta} {"0389} % Ή +\DeclareUnicodeComposite{\'} {\textIota} {"038A} % Ί +\DeclareUnicodeComposite{\'} {\textOmicron}{"038C} % Ό +\DeclareUnicodeComposite{\'} {\textUpsilon}{"038E} % Ύ +\DeclareUnicodeComposite{\'} {\textOmega} {"038F} % Ώ +% repeat with named accents (LuaTeX does not normalize to pre-composed chars): +\DeclareUnicodeComposite{\acctonos} {\textAlpha} {"0386} % Ά +\DeclareUnicodeComposite{\acctonos} {\textEpsilon}{"0388} % Έ +\DeclareUnicodeComposite{\acctonos} {\textEta} {"0389} % Ή +\DeclareUnicodeComposite{\acctonos} {\textIota} {"038A} % Ί +\DeclareUnicodeComposite{\acctonos} {\textOmicron}{"038C} % Ό +\DeclareUnicodeComposite{\acctonos} {\textUpsilon}{"038E} % Ύ +\DeclareUnicodeComposite{\acctonos} {\textOmega} {"038F} % Ώ +\DeclareUnicodeComposite{\accdialytikatonos}{\textiota} {"0390} % ΐ + +\DeclareTextSymbol{\textAlpha }\UnicodeEncodingName{"0391} % Α +\DeclareTextSymbol{\textBeta }\UnicodeEncodingName{"0392} % Β +\DeclareTextSymbol{\textGamma }\UnicodeEncodingName{"0393} % Γ +\DeclareTextSymbol{\textDelta }\UnicodeEncodingName{"0394} % Δ +\DeclareTextSymbol{\textEpsilon}\UnicodeEncodingName{"0395} % Ε +\DeclareTextSymbol{\textZeta }\UnicodeEncodingName{"0396} % Ζ +\DeclareTextSymbol{\textEta }\UnicodeEncodingName{"0397} % Η +\DeclareTextSymbol{\textTheta }\UnicodeEncodingName{"0398} % Θ +\DeclareTextSymbol{\textIota }\UnicodeEncodingName{"0399} % Ι +\DeclareTextSymbol{\textKappa }\UnicodeEncodingName{"039A} % Κ +\DeclareTextSymbol{\textLambda }\UnicodeEncodingName{"039B} % Λ +\DeclareTextSymbol{\textMu }\UnicodeEncodingName{"039C} % Μ +\DeclareTextSymbol{\textNu }\UnicodeEncodingName{"039D} % Ν +\DeclareTextSymbol{\textXi }\UnicodeEncodingName{"039E} % Ξ +\DeclareTextSymbol{\textOmicron}\UnicodeEncodingName{"039F} % Ο +\DeclareTextSymbol{\textPi }\UnicodeEncodingName{"03A0} % Π +\DeclareTextSymbol{\textRho }\UnicodeEncodingName{"03A1} % Ρ +\DeclareTextSymbol{\textSigma }\UnicodeEncodingName{"03A3} % Σ +\DeclareTextSymbol{\textTau }\UnicodeEncodingName{"03A4} % Τ +\DeclareTextSymbol{\textUpsilon}\UnicodeEncodingName{"03A5} % Υ +\DeclareTextSymbol{\textPhi }\UnicodeEncodingName{"03A6} % Φ +\DeclareTextSymbol{\textChi }\UnicodeEncodingName{"03A7} % Χ +\DeclareTextSymbol{\textPsi }\UnicodeEncodingName{"03A8} % Ψ +\DeclareTextSymbol{\textOmega }\UnicodeEncodingName{"03A9} % Ω + +\DeclareUnicodeComposite{\"} {\textIota} {"03AA} % Ϊ +\DeclareUnicodeComposite{\"} {\textIota} {"03AA} % Ϊ +\DeclareUnicodeComposite{\"} {\textUpsilon}{"03AB} % Ϋ +\DeclareUnicodeComposite{\'} {\textalpha} {"03AC} % ά +\DeclareUnicodeComposite{\'} {\textepsilon}{"03AD} % έ +\DeclareUnicodeComposite{\'} {\texteta} {"03AE} % ή +\DeclareUnicodeComposite{\'} {\textiota} {"03AF} % ί +% repeat with named accents (LuaTeX does not normalize to pre-composed chars): +\DeclareUnicodeComposite{\accdialytika} {\textIota} {"03AA} % Ϊ +\DeclareUnicodeComposite{\accdialytika} {\textIota} {"03AA} % Ϊ +\DeclareUnicodeComposite{\accdialytika} {\textUpsilon}{"03AB} % Ϋ +\DeclareUnicodeComposite{\acctonos} {\textalpha} {"03AC} % ά +\DeclareUnicodeComposite{\acctonos} {\textepsilon}{"03AD} % έ +\DeclareUnicodeComposite{\acctonos} {\texteta} {"03AE} % ή +\DeclareUnicodeComposite{\acctonos} {\textiota} {"03AF} % ί +\DeclareUnicodeComposite{\accdialytikatonos}{\textupsilon}{"03B0} % ΰ + +\DeclareTextSymbol{\textalpha }\UnicodeEncodingName{"03B1} % α +\DeclareTextSymbol{\textbeta }\UnicodeEncodingName{"03B2} % β +\DeclareTextSymbol{\textgamma }\UnicodeEncodingName{"03B3} % γ +\DeclareTextSymbol{\textdelta }\UnicodeEncodingName{"03B4} % δ +\DeclareTextSymbol{\textepsilon }\UnicodeEncodingName{"03B5} % ε +\DeclareTextSymbol{\textzeta }\UnicodeEncodingName{"03B6} % ζ +\DeclareTextSymbol{\texteta }\UnicodeEncodingName{"03B7} % η +\DeclareTextSymbol{\texttheta }\UnicodeEncodingName{"03B8} % θ +\DeclareTextSymbol{\textiota }\UnicodeEncodingName{"03B9} % ι +\DeclareTextSymbol{\textkappa }\UnicodeEncodingName{"03BA} % κ +\DeclareTextSymbol{\textlambda }\UnicodeEncodingName{"03BB} % λ +\DeclareTextSymbol{\textmu }\UnicodeEncodingName{"03BC} % μ % \textmugreek +\DeclareTextSymbol{\textnu }\UnicodeEncodingName{"03BD} % ν +\DeclareTextSymbol{\textxi }\UnicodeEncodingName{"03BE} % ξ +\DeclareTextSymbol{\textomicron }\UnicodeEncodingName{"03BF} % ο +\DeclareTextSymbol{\textpi }\UnicodeEncodingName{"03C0} % π +\DeclareTextSymbol{\textrho }\UnicodeEncodingName{"03C1} % ρ +\DeclareTextSymbol{\textfinalsigma}\UnicodeEncodingName{"03C2} % ς % final sigma +\DeclareTextSymbol{\textsigma }\UnicodeEncodingName{"03C3} % σ +\DeclareTextSymbol{\texttau }\UnicodeEncodingName{"03C4} % τ +\DeclareTextSymbol{\textupsilon }\UnicodeEncodingName{"03C5} % υ +\DeclareTextSymbol{\textphi }\UnicodeEncodingName{"03C6} % φ +\DeclareTextSymbol{\textchi }\UnicodeEncodingName{"03C7} % χ +\DeclareTextSymbol{\textpsi }\UnicodeEncodingName{"03C8} % ψ +\DeclareTextSymbol{\textomega }\UnicodeEncodingName{"03C9} % ω + +\DeclareUnicodeComposite{\"}{\textiota}{"03CA} % ϊ +\DeclareUnicodeComposite{\"}{\textupsilon}{"03CB} % ϋ +\DeclareUnicodeComposite{\'}{\textomicron}{"03CC} % ό +\DeclareUnicodeComposite{\'}{\textupsilon}{"03CD} % ύ +\DeclareUnicodeComposite{\'}{\textomega}{"03CE} % ώ +\DeclareUnicodeComposite{\accdialytika}{\textiota}{"03CA} % ϊ +\DeclareUnicodeComposite{\accdialytika}{\textupsilon}{"03CB} % ϋ +\DeclareUnicodeComposite{\acctonos}{\textomicron}{"03CC} % ό +\DeclareUnicodeComposite{\acctonos}{\textupsilon}{"03CD} % ύ +\DeclareUnicodeComposite{\acctonos}{\textomega}{"03CE} % ώ + +% Archaic letters (still used in Greek numerals):: + +\DeclareTextSymbol{\textQoppa }\UnicodeEncodingName{"03D8} % Ϙ +\DeclareTextSymbol{\textqoppa }\UnicodeEncodingName{"03D9} % ϙ +\DeclareTextSymbol{\textStigma }\UnicodeEncodingName{"03DA} % Ϛ +\DeclareTextSymbol{\textstigma }\UnicodeEncodingName{"03DB} % ϛ +\DeclareTextSymbol{\textDigamma }\UnicodeEncodingName{"03DC} % Ϝ +\DeclareTextSymbol{\textdigamma }\UnicodeEncodingName{"03DD} % ϝ +\DeclareTextSymbol{\textKoppa }\UnicodeEncodingName{"03DE} % Ϟ in LGR identic to \textkoppa +\DeclareTextSymbol{\textkoppa }\UnicodeEncodingName{"03DF} % ϟ \koppa, \textqoppa [sic!] +\DeclareTextSymbol{\textSampi }\UnicodeEncodingName{"03E0} % Ϡ +\DeclareTextSymbol{\textsampi }\UnicodeEncodingName{"03E1} % ϡ + +% Symbol variants:: + +\DeclareTextSymbol{\textbetasymbol }\UnicodeEncodingName{"03D0} % ϐ +\DeclareTextSymbol{\textkappasymbol }\UnicodeEncodingName{"03F0} % ϰ +\DeclareTextSymbol{\textThetasymbol }\UnicodeEncodingName{"03F4} % ϴ +\DeclareTextSymbol{\textthetasymbol }\UnicodeEncodingName{"03D1} % ϑ +\DeclareTextSymbol{\textphisymbol }\UnicodeEncodingName{"03D5} % ϕ +\DeclareTextSymbol{\textpisymbol }\UnicodeEncodingName{"03D6} % ϖ +\DeclareTextSymbol{\textrhosymbol }\UnicodeEncodingName{"03F1} % ϱ +\DeclareTextSymbol{\textepsilonsymbol}\UnicodeEncodingName{"03F5} % ϵ + +% Dummy definition (\textautosigma is lowercase of \textSigma) +% TODO: implement autosigma for TU:: + +\ProvideTextCommand{\textautosigma }\UnicodeEncodingName{\textsigma} + % Greek Extended % ~~~~~~~~~~~~~~ % % We skip definitions for characters "... WITH OXIA", because they would -% overwrite the defintions for "... WITH TONOS" in the `Greek and Coptic` +% overwrite the definitions for "... WITH TONOS" in the `Greek and Coptic` % block. % % :: -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\textalpha}{ἀ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\textalpha}{ἁ} -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\textalpha}{ἂ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\textalpha}{ἃ} -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\textalpha}{ἄ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\textalpha}{ἅ} -\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UTFencname}{\textalpha}{ἆ} -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\textalpha}{ἇ} -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\textAlpha}{Ἀ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\textAlpha}{Ἁ} -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\textAlpha}{Ἂ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\textAlpha}{Ἃ} -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\textAlpha}{Ἄ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\textAlpha}{Ἅ} -\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UTFencname}{\textAlpha}{Ἆ} -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\textAlpha}{Ἇ} - -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\textepsilon}{ἐ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\textepsilon}{ἑ} -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\textepsilon}{ἒ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\textepsilon}{ἓ} -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\textepsilon}{ἔ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\textepsilon}{ἕ} -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\textEpsilon}{Ἐ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\textEpsilon}{Ἑ} -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\textEpsilon}{Ἒ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\textEpsilon}{Ἓ} -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\textEpsilon}{Ἔ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\textEpsilon}{Ἕ} - -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\texteta}{ἠ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\texteta}{ἡ} -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\texteta}{ἢ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\texteta}{ἣ} -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\texteta}{ἤ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\texteta}{ἥ} -\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UTFencname}{\texteta}{ἦ} -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\texteta}{ἧ} -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\textEta}{Ἠ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\textEta}{Ἡ} -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\textEta}{Ἢ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\textEta}{Ἣ} -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\textEta}{Ἤ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\textEta}{Ἥ} -\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UTFencname}{\textEta}{Ἦ} -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\textEta}{Ἧ} - -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\textiota}{ἰ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\textiota}{ἱ} -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\textiota}{ἲ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\textiota}{ἳ} -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\textiota}{ἴ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\textiota}{ἵ} -\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UTFencname}{\textiota}{ἶ} -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\textiota}{ἷ} -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\textIota}{Ἰ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\textIota}{Ἱ} -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\textIota}{Ἲ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\textIota}{Ἳ} -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\textIota}{Ἴ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\textIota}{Ἵ} -\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UTFencname}{\textIota}{Ἶ} -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\textIota}{Ἷ} - -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\textomicron}{ὀ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\textomicron}{ὁ} -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\textomicron}{ὂ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\textomicron}{ὃ} -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\textomicron}{ὄ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\textomicron}{ὅ} -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\textOmicron}{Ὀ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\textOmicron}{Ὁ} -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\textOmicron}{Ὂ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\textOmicron}{Ὃ} -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\textOmicron}{Ὄ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\textOmicron}{Ὅ} - -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\textupsilon}{ὐ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\textupsilon}{ὑ} -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\textupsilon}{ὒ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\textupsilon}{ὓ} -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\textupsilon}{ὔ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\textupsilon}{ὕ} -\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UTFencname}{\textupsilon}{ὖ} -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\textupsilon}{ὗ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\textUpsilon}{Ὑ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\textUpsilon}{Ὓ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\textUpsilon}{Ὕ} -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\textUpsilon}{Ὗ} - -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\textomega}{ὠ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\textomega}{ὡ} -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\textomega}{ὢ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\textomega}{ὣ} -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\textomega}{ὤ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\textomega}{ὥ} -\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UTFencname}{\textomega}{ὦ} -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\textomega}{ὧ} -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\textOmega}{Ὠ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\textOmega}{Ὡ} -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\textOmega}{Ὢ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\textOmega}{Ὣ} -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\textOmega}{Ὤ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\textOmega}{Ὥ} -\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UTFencname}{\textOmega}{Ὦ} -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\textOmega}{Ὧ} - -\DeclareTextCompositeCommand{\`}{\UTFencname}{\textalpha}{ὰ} -\DeclareTextCompositeCommand{\`}{\UTFencname}{\textepsilon}{ὲ} -\DeclareTextCompositeCommand{\`}{\UTFencname}{\texteta}{ὴ} -\DeclareTextCompositeCommand{\`}{\UTFencname}{\textiota}{ὶ} -\DeclareTextCompositeCommand{\`}{\UTFencname}{\textomicron}{ὸ} -\DeclareTextCompositeCommand{\`}{\UTFencname}{\textupsilon}{ὺ} -\DeclareTextCompositeCommand{\`}{\UTFencname}{\textomega}{ὼ} - -\DeclareTextCompositeCommand{\u}{\UTFencname}{\textalpha}{ᾰ} -\DeclareTextCompositeCommand{\=}{\UTFencname}{\textalpha}{ᾱ} +\DeclareUnicodeComposite{\accpsili }{\textalpha}{"1F00} % ἀ +\DeclareUnicodeComposite{\accdasia }{\textalpha}{"1F01} % ἁ +\DeclareUnicodeComposite{\accpsilivaria }{\textalpha}{"1F02} % ἂ +\DeclareUnicodeComposite{\accdasiavaria }{\textalpha}{"1F03} % ἃ +\DeclareUnicodeComposite{\accpsilioxia }{\textalpha}{"1F04} % ἄ +\DeclareUnicodeComposite{\accdasiaoxia }{\textalpha}{"1F05} % ἅ +\DeclareUnicodeComposite{\accpsiliperispomeni}{\textalpha}{"1F06} % ἆ +\DeclareUnicodeComposite{\accdasiaperispomeni}{\textalpha}{"1F07} % ἇ +\DeclareUnicodeComposite{\accpsili }{\textAlpha}{"1F08} % Ἀ +\DeclareUnicodeComposite{\accdasia }{\textAlpha}{"1F09} % Ἁ +\DeclareUnicodeComposite{\accpsilivaria }{\textAlpha}{"1F0A} % Ἂ +\DeclareUnicodeComposite{\accdasiavaria }{\textAlpha}{"1F0B} % Ἃ +\DeclareUnicodeComposite{\accpsilioxia }{\textAlpha}{"1F0C} % Ἄ +\DeclareUnicodeComposite{\accdasiaoxia }{\textAlpha}{"1F0D} % Ἅ +\DeclareUnicodeComposite{\accpsiliperispomeni}{\textAlpha}{"1F0E} % Ἆ +\DeclareUnicodeComposite{\accdasiaperispomeni}{\textAlpha}{"1F0F} % Ἇ + +\DeclareUnicodeComposite{\accpsili }{\textepsilon}{"1F10} % ἐ +\DeclareUnicodeComposite{\accdasia }{\textepsilon}{"1F11} % ἑ +\DeclareUnicodeComposite{\accpsilivaria }{\textepsilon}{"1F12} % ἒ +\DeclareUnicodeComposite{\accdasiavaria }{\textepsilon}{"1F13} % ἓ +\DeclareUnicodeComposite{\accpsilioxia }{\textepsilon}{"1F14} % ἔ +\DeclareUnicodeComposite{\accdasiaoxia }{\textepsilon}{"1F15} % ἕ +\DeclareUnicodeComposite{\accpsili }{\textEpsilon}{"1F18} % Ἐ +\DeclareUnicodeComposite{\accdasia }{\textEpsilon}{"1F19} % Ἑ +\DeclareUnicodeComposite{\accpsilivaria }{\textEpsilon}{"1F1A} % Ἒ +\DeclareUnicodeComposite{\accdasiavaria }{\textEpsilon}{"1F1B} % Ἓ +\DeclareUnicodeComposite{\accpsilioxia }{\textEpsilon}{"1F1C} % Ἔ +\DeclareUnicodeComposite{\accdasiaoxia }{\textEpsilon}{"1F1D} % Ἕ + +\DeclareUnicodeComposite{\accpsili }{\texteta}{"1F20} % ἠ +\DeclareUnicodeComposite{\accdasia }{\texteta}{"1F21} % ἡ +\DeclareUnicodeComposite{\accpsilivaria }{\texteta}{"1F22} % ἢ +\DeclareUnicodeComposite{\accdasiavaria }{\texteta}{"1F23} % ἣ +\DeclareUnicodeComposite{\accpsilioxia }{\texteta}{"1F24} % ἤ +\DeclareUnicodeComposite{\accdasiaoxia }{\texteta}{"1F25} % ἥ +\DeclareUnicodeComposite{\accpsiliperispomeni}{\texteta}{"1F26} % ἦ +\DeclareUnicodeComposite{\accdasiaperispomeni}{\texteta}{"1F27} % ἧ +\DeclareUnicodeComposite{\accpsili }{\textEta}{"1F28} % Ἠ +\DeclareUnicodeComposite{\accdasia }{\textEta}{"1F29} % Ἡ +\DeclareUnicodeComposite{\accpsilivaria }{\textEta}{"1F2A} % Ἢ +\DeclareUnicodeComposite{\accdasiavaria }{\textEta}{"1F2B} % Ἣ +\DeclareUnicodeComposite{\accpsilioxia }{\textEta}{"1F2C} % Ἤ +\DeclareUnicodeComposite{\accdasiaoxia }{\textEta}{"1F2D} % Ἥ +\DeclareUnicodeComposite{\accpsiliperispomeni}{\textEta}{"1F2E} % Ἦ +\DeclareUnicodeComposite{\accdasiaperispomeni}{\textEta}{"1F2F} % Ἧ + +\DeclareUnicodeComposite{\accpsili }{\textiota}{"1F30} % ἰ +\DeclareUnicodeComposite{\accdasia }{\textiota}{"1F31} % ἱ +\DeclareUnicodeComposite{\accpsilivaria }{\textiota}{"1F32} % ἲ +\DeclareUnicodeComposite{\accdasiavaria }{\textiota}{"1F33} % ἳ +\DeclareUnicodeComposite{\accpsilioxia }{\textiota}{"1F34} % ἴ +\DeclareUnicodeComposite{\accdasiaoxia }{\textiota}{"1F35} % ἵ +\DeclareUnicodeComposite{\accpsiliperispomeni}{\textiota}{"1F36} % ἶ +\DeclareUnicodeComposite{\accdasiaperispomeni}{\textiota}{"1F37} % ἷ +\DeclareUnicodeComposite{\accpsili }{\textIota}{"1F38} % Ἰ +\DeclareUnicodeComposite{\accdasia }{\textIota}{"1F39} % Ἱ +\DeclareUnicodeComposite{\accpsilivaria }{\textIota}{"1F3A} % Ἲ +\DeclareUnicodeComposite{\accdasiavaria }{\textIota}{"1F3B} % Ἳ +\DeclareUnicodeComposite{\accpsilioxia }{\textIota}{"1F3C} % Ἴ +\DeclareUnicodeComposite{\accdasiaoxia }{\textIota}{"1F3D} % Ἵ +\DeclareUnicodeComposite{\accpsiliperispomeni}{\textIota}{"1F3E} % Ἶ +\DeclareUnicodeComposite{\accdasiaperispomeni}{\textIota}{"1F3F} % Ἷ + +\DeclareUnicodeComposite{\accpsili }{\textomicron}{"1F40} % ὀ +\DeclareUnicodeComposite{\accdasia }{\textomicron}{"1F41} % ὁ +\DeclareUnicodeComposite{\accpsilivaria }{\textomicron}{"1F42} % ὂ +\DeclareUnicodeComposite{\accdasiavaria }{\textomicron}{"1F43} % ὃ +\DeclareUnicodeComposite{\accpsilioxia }{\textomicron}{"1F44} % ὄ +\DeclareUnicodeComposite{\accdasiaoxia }{\textomicron}{"1F45} % ὅ +\DeclareUnicodeComposite{\accpsili }{\textOmicron}{"1F48} % Ὀ +\DeclareUnicodeComposite{\accdasia }{\textOmicron}{"1F49} % Ὁ +\DeclareUnicodeComposite{\accpsilivaria }{\textOmicron}{"1F4A} % Ὂ +\DeclareUnicodeComposite{\accdasiavaria }{\textOmicron}{"1F4B} % Ὃ +\DeclareUnicodeComposite{\accpsilioxia }{\textOmicron}{"1F4C} % Ὄ +\DeclareUnicodeComposite{\accdasiaoxia }{\textOmicron}{"1F4D} % Ὅ + +\DeclareUnicodeComposite{\accpsili }{\textupsilon}{"1F50} % ὐ +\DeclareUnicodeComposite{\accdasia }{\textupsilon}{"1F51} % ὑ +\DeclareUnicodeComposite{\accpsilivaria }{\textupsilon}{"1F52} % ὒ +\DeclareUnicodeComposite{\accdasiavaria }{\textupsilon}{"1F53} % ὓ +\DeclareUnicodeComposite{\accpsilioxia }{\textupsilon}{"1F54} % ὔ +\DeclareUnicodeComposite{\accdasiaoxia }{\textupsilon}{"1F55} % ὕ +\DeclareUnicodeComposite{\accpsiliperispomeni}{\textupsilon}{"1F56} % ὖ +\DeclareUnicodeComposite{\accdasiaperispomeni}{\textupsilon}{"1F57} % ὗ +\DeclareUnicodeComposite{\accdasia }{\textUpsilon}{"1F59} % Ὑ +\DeclareUnicodeComposite{\accdasiavaria }{\textUpsilon}{"1F5B} % Ὓ +\DeclareUnicodeComposite{\accdasiaoxia }{\textUpsilon}{"1F5D} % Ὕ +\DeclareUnicodeComposite{\accdasiaperispomeni}{\textUpsilon}{"1F5F} % Ὗ + +\DeclareUnicodeComposite{\accpsili }{\textomega}{"1F60} % ὠ +\DeclareUnicodeComposite{\accdasia }{\textomega}{"1F61} % ὡ +\DeclareUnicodeComposite{\accpsilivaria }{\textomega}{"1F62} % ὢ +\DeclareUnicodeComposite{\accdasiavaria }{\textomega}{"1F63} % ὣ +\DeclareUnicodeComposite{\accpsilioxia }{\textomega}{"1F64} % ὤ +\DeclareUnicodeComposite{\accdasiaoxia }{\textomega}{"1F65} % ὥ +\DeclareUnicodeComposite{\accpsiliperispomeni}{\textomega}{"1F66} % ὦ +\DeclareUnicodeComposite{\accdasiaperispomeni}{\textomega}{"1F67} % ὧ +\DeclareUnicodeComposite{\accpsili }{\textOmega}{"1F68} % Ὠ +\DeclareUnicodeComposite{\accdasia }{\textOmega}{"1F69} % Ὡ +\DeclareUnicodeComposite{\accpsilivaria }{\textOmega}{"1F6A} % Ὢ +\DeclareUnicodeComposite{\accdasiavaria }{\textOmega}{"1F6B} % Ὣ +\DeclareUnicodeComposite{\accpsilioxia }{\textOmega}{"1F6C} % Ὤ +\DeclareUnicodeComposite{\accdasiaoxia }{\textOmega}{"1F6D} % Ὥ +\DeclareUnicodeComposite{\accpsiliperispomeni}{\textOmega}{"1F6E} % Ὦ +\DeclareUnicodeComposite{\accdasiaperispomeni}{\textOmega}{"1F6F} % Ὧ + +\DeclareUnicodeComposite{\`} {\textalpha} {"1F70} % ὰ +\DeclareUnicodeComposite{\`} {\textepsilon}{"1F72} % ὲ +\DeclareUnicodeComposite{\`} {\texteta} {"1F74} % ὴ +\DeclareUnicodeComposite{\`} {\textiota} {"1F76} % ὶ +\DeclareUnicodeComposite{\`} {\textomicron}{"1F78} % ὸ +\DeclareUnicodeComposite{\`} {\textupsilon}{"1F7A} % ὺ +\DeclareUnicodeComposite{\`} {\textomega} {"1F7C} % ὼ +% repeat with named accents (LuaTeX does not normalize to pre-composed chars): +\DeclareUnicodeComposite{\accvaria} {\textalpha} {"1F70} % ὰ +\DeclareUnicodeComposite{\accvaria} {\textepsilon}{"1F72} % ὲ +\DeclareUnicodeComposite{\accvaria} {\texteta} {"1F74} % ὴ +\DeclareUnicodeComposite{\accvaria} {\textiota} {"1F76} % ὶ +\DeclareUnicodeComposite{\accvaria} {\textomicron}{"1F78} % ὸ +\DeclareUnicodeComposite{\accvaria} {\textupsilon}{"1F7A} % ὺ +\DeclareUnicodeComposite{\accvaria} {\textomega} {"1F7C} % ὼ + + +% Skipping pre-composed characters with sub-iota (ypogegrammeni/prosgegrammeni). + +\DeclareUnicodeComposite{\u} {\textalpha}{"1FB0} % ᾰ +\DeclareUnicodeComposite{\=} {\textalpha}{"1FB1} % ᾱ % ᾲ % ᾳ % ᾴ -\DeclareTextCompositeCommand{\~}{\UTFencname}{\textalpha}{ᾶ} -\DeclareTextCompositeCommand{\~}{\UTFencname}{α}{ᾶ} -\DeclareTextCompositeCommand{\accperispomeni}{\UTFencname}{\textalpha}{ᾶ} +\DeclareUnicodeComposite{\accperispomeni} {\textalpha}{"1FB6} % ᾶ +\DeclareUnicodeComposite{\~} {\textalpha}{"1FB6} % ᾶ % ᾷ -\DeclareTextCompositeCommand{\u}{\UTFencname}{\textAlpha}{Ᾰ} -\DeclareTextCompositeCommand{\=}{\UTFencname}{\textAlpha}{Ᾱ} -\DeclareTextCompositeCommand{\`}{\UTFencname}{\textAlpha}{Ὰ} +\DeclareUnicodeComposite{\u} {\textAlpha}{"1FB8} % Ᾰ +\DeclareUnicodeComposite{\=} {\textAlpha}{"1FB9} % Ᾱ +\DeclareUnicodeComposite{\`} {\textAlpha}{"1FBA} % Ὰ +\DeclareUnicodeComposite{\accvaria} {\textAlpha}{"1FBA} % Ὰ % ᾼ -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\textcompwordmark}{᾽} -\DeclareTextCommand{\prosgegrammeni}{\UTFencname}{ι} -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\textcompwordmark}{᾿} +\DeclareUnicodeComposite{\accpsili} {} {"1FBD} % ᾽ +\DeclareTextSymbol{\prosgegrammeni}\UnicodeEncodingName {"1FBE} % ι +\DeclareUnicodeComposite{\accpsili} {} {"1FBF} % ᾿ -\DeclareTextCompositeCommand{\accperispomeni}{\UTFencname}{\textcompwordmark}{῀} -\DeclareTextCompositeCommand{\accdialytikaperispomeni}{\UTFencname}{\textcompwordmark}{῁} +\DeclareUnicodeComposite{\accperispomeni} {} {"1FC0} % ῀ +\DeclareUnicodeComposite{\accdialytikaperispomeni}{} {"1FC1} % ῁ % ῂ % ῃ % ῄ -\DeclareTextCompositeCommand{\~}{\UTFencname}{\texteta}{ῆ} -\DeclareTextCompositeCommand{\~}{\UTFencname}{η}{ῆ} -\DeclareTextCompositeCommand{\accperispomeni}{\UTFencname}{\texteta}{ῆ} +\DeclareUnicodeComposite{\accperispomeni} {\texteta} {"1FC6} % ῆ +\DeclareUnicodeComposite{\~} {\texteta} {"1FC6} % ῆ % ῇ -\DeclareTextCompositeCommand{\`}{\UTFencname}{\textEpsilon}{Ὲ} -\DeclareTextCompositeCommand{\`}{\UTFencname}{\textEta}{Ὴ} +\DeclareUnicodeComposite{\`} {\textEpsilon}{"1FC8} % Ὲ +\DeclareUnicodeComposite{\accvaria} {\textEpsilon}{"1FC8} % Ὲ +\DeclareUnicodeComposite{\`} {\textEta} {"1FCA} % Ὴ +\DeclareUnicodeComposite{\accvaria} {\textEta} {"1FCA} % Ὴ % ῌ -\DeclareTextCompositeCommand{\accpsilivaria}{\UTFencname}{\textcompwordmark}{῍} -\DeclareTextCompositeCommand{\accpsilioxia}{\UTFencname}{\textcompwordmark}{῎} -\DeclareTextCompositeCommand{\accpsiliperispomeni}{\UTFencname}{\textcompwordmark}{῏} - -\DeclareTextCompositeCommand{\u}{\UTFencname}{\textiota}{ῐ} -\DeclareTextCompositeCommand{\=}{\UTFencname}{\textiota}{ῑ} -\DeclareTextCompositeCommand{\accdialytikavaria}{\UTFencname}{\textiota}{ῒ} -\DeclareTextCompositeCommand{\accdialytikaoxia}{\UTFencname}{\textiota}{ΐ} -\DeclareTextCompositeCommand{\~}{\UTFencname}{\textiota}{ῖ} -\DeclareTextCompositeCommand{\~}{\UTFencname}{ι}{ῖ} -\DeclareTextCompositeCommand{\accperispomeni}{\UTFencname}{\textiota}{ῖ} -\DeclareTextCompositeCommand{\accdialytikaperispomeni}{\UTFencname}{\textiota}{ῗ} -\DeclareTextCompositeCommand{\u}{\UTFencname}{\textIota}{Ῐ} -\DeclareTextCompositeCommand{\=}{\UTFencname}{\textIota}{Ῑ} -\DeclareTextCompositeCommand{\`}{\UTFencname}{\textIota}{Ὶ} -\DeclareTextCompositeCommand{\accdasiavaria}{\UTFencname}{\textcompwordmark}{῝} -\DeclareTextCompositeCommand{\accdasiaoxia}{\UTFencname}{\textcompwordmark}{῞} -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\UTFencname}{\textcompwordmark}{῟} - -\DeclareTextCompositeCommand{\u}{\UTFencname}{\textupsilon}{ῠ} -\DeclareTextCompositeCommand{\=}{\UTFencname}{\textupsilon}{ῡ} -\DeclareTextCompositeCommand{\accdialytikavaria}{\UTFencname}{\textupsilon}{ῢ} -\DeclareTextCompositeCommand{\accdialytikaoxia}{\UTFencname}{\textupsilon}{ΰ} -\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\textrho}{ῤ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\textrho}{ῥ} -\DeclareTextCompositeCommand{\~}{\UTFencname}{\textupsilon}{ῦ} -\DeclareTextCompositeCommand{\~}{\UTFencname}{υ}{ῦ} -\DeclareTextCompositeCommand{\accperispomeni}{\UTFencname}{\textupsilon}{ῦ} -\DeclareTextCompositeCommand{\accdialytikaperispomeni}{\UTFencname}{\textupsilon}{ῧ} -\DeclareTextCompositeCommand{\u}{\UTFencname}{\textUpsilon}{Ῠ} -\DeclareTextCompositeCommand{\=}{\UTFencname}{\textUpsilon}{Ῡ} -\DeclareTextCompositeCommand{\`}{\UTFencname}{\textUpsilon}{Ὺ} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\textRho}{Ῥ} -\DeclareTextCompositeCommand{\accdialytikavaria}{\UTFencname}{\textcompwordmark}{῭} -\DeclareTextCompositeCommand{\accdialytikaoxia}{\UTFencname}{\textcompwordmark}{΅} +\DeclareUnicodeComposite{\accpsilivaria} {} {"1FCD} % ῍ +\DeclareUnicodeComposite{\accpsilioxia} {} {"1FCE} % ῎ +\DeclareUnicodeComposite{\accpsiliperispomeni} {} {"1FCF} % ῏ + +\DeclareUnicodeComposite{\u} {\textiota} {"1FD0} % ῐ +\DeclareUnicodeComposite{\=} {\textiota} {"1FD1} % ῑ +\DeclareUnicodeComposite{\accdialytikavaria} {\textiota} {"1FD2} % ῒ +\DeclareUnicodeComposite{\accdialytikaoxia} {\textiota} {"1FD3} % ΐ +\DeclareUnicodeComposite{\accperispomeni} {\textiota} {"1FD6} % ῖ +\DeclareUnicodeComposite{\~} {\textiota} {"1FD6} % ῖ +\DeclareUnicodeComposite{\~} {ι} {"1FD6} % ῖ +\DeclareUnicodeComposite{\accdialytikaperispomeni}{\textiota} {"1FD7} % ῗ +\DeclareUnicodeComposite{\u} {\textIota} {"1FD8} % Ῐ +\DeclareUnicodeComposite{\=} {\textIota} {"1FD9} % Ῑ +\DeclareUnicodeComposite{\`} {\textIota} {"1FDA} % Ὶ +\DeclareUnicodeComposite{\accvaria} {\textIota} {"1FDA} % Ὶ +\DeclareUnicodeComposite{\accdasiavaria} {} {"1FDD} % ῝ +\DeclareUnicodeComposite{\accdasiaoxia} {} {"1FDE} % ῞ +\DeclareUnicodeComposite{\accdasiaperispomeni} {} {"1FDF} % ῟ + +\DeclareUnicodeComposite{\u} {\textupsilon}{"1FE0} % ῠ +\DeclareUnicodeComposite{\=} {\textupsilon}{"1FE1} % ῡ +\DeclareUnicodeComposite{\accdialytikavaria} {\textupsilon}{"1FE2} % ῢ +\DeclareUnicodeComposite{\accdialytikaoxia} {\textupsilon}{"1FE3} % ΰ +\DeclareUnicodeComposite{\accpsili} {\textrho} {"1FE4} % ῤ +\DeclareUnicodeComposite{\accdasia} {\textrho} {"1FE5} % ῥ +\DeclareUnicodeComposite{\~} {\textupsilon}{"1FE6} % ῦ +\DeclareUnicodeComposite{\accperispomeni} {\textupsilon}{"1FE6} % ῦ +\DeclareUnicodeComposite{\accdialytikaperispomeni}{\textupsilon}{"1FE7} % ῧ +\DeclareUnicodeComposite{\u} {\textUpsilon}{"1FE8} % Ῠ +\DeclareUnicodeComposite{\=} {\textUpsilon}{"1FE9} % Ῡ +\DeclareUnicodeComposite{\`} {\textUpsilon}{"1FEA} % Ὺ +\DeclareUnicodeComposite{\accvaria} {\textUpsilon}{"1FEA} % Ὺ +% Ύ +\DeclareUnicodeComposite{\accdasia} {\textRho} {"1FEC} % Ῥ +\DeclareUnicodeComposite{\accdialytikavaria} {} {"1FED} % ῭ +\DeclareUnicodeComposite{\accdialytikaoxia} {} {"1FEE} % ΅ +% ` % ῲ % ῳ % ῴ -\DeclareTextCompositeCommand{\~}{\UTFencname}{\textomega}{ῶ} -\DeclareTextCompositeCommand{\~}{\UTFencname}{ω}{ῶ} -\DeclareTextCompositeCommand{\accperispomeni}{\UTFencname}{\textomega}{ῶ} +\DeclareUnicodeComposite{\accperispomeni} {\textomega} {"1FF6} % ῶ +\DeclareUnicodeComposite{\~} {\textomega} {"1FF6} % ῶ % ῷ -\DeclareTextCompositeCommand{\`}{\UTFencname}{\textOmicron}{Ὸ} -\DeclareTextCompositeCommand{\`}{\UTFencname}{\textOmega}{Ὼ} +\DeclareUnicodeComposite{\`} {\textOmicron}{"1FF8} % Ὸ +\DeclareUnicodeComposite{\accvaria} {\textOmicron}{"1FF8} % Ὸ +\DeclareUnicodeComposite{\`} {\textOmega} {"1FFA} % Ὼ +\DeclareUnicodeComposite{\accvaria} {\textOmega} {"1FFA} % Ὼ % ῼ -\DeclareTextCompositeCommand{\accoxia}{\UTFencname}{\textcompwordmark}{´} -\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\textcompwordmark}{῾} +\DeclareUnicodeComposite{\accoxia} {} {"1FFD} % ´ +\DeclareUnicodeComposite{\accdasia} {} {"1FFE} % ῾ + + +% Diacritics on literal Unicode characters:: + +% \DeclareUnicodeComposite{\~}{α}{"1FB6} % ᾶ +% \DeclareUnicodeComposite{\~}{η}{"1FC6} % ῆ +% \DeclareUnicodeComposite{\~}{υ}{"1FE6} % ῦ +% \DeclareUnicodeComposite{\~}{ω}{"1FF6} % ῶ + % Letterlike Symbols % ~~~~~~~~~~~~~~~~~~ % :: -\DeclareTextCommand{\textohm}{\UTFencname}{Ω} % OHM SIGN +\DeclareTextSymbol{\textohm}\UnicodeEncodingName{"03A9} % OHM SIGN, use 03A9 Omega % Ancient Greek Numbers % ~~~~~~~~~~~~~~~~~~~~~ @@ -482,10 +549,10 @@ % % :: -\DeclareTextCommand{\textpentedeka}{\UTFencname}{𐅄} % GREEK ACROPHONIC ATTIC FIFTY -\DeclareTextCommand{\textpentehekaton}{\UTFencname}{𐅅} % GREEK ACROPHONIC ATTIC FIVE HUNDRED -\DeclareTextCommand{\textpenteqilioi}{\UTFencname}{𐅆} % GREEK ACROPHONIC ATTIC FIVE THOUSAND -\DeclareTextCommand{\textpentemuria}{\UTFencname}{𐅇} % GREEK ACROPHONIC ATTIC FIFTY THOUSAND +\DeclareTextSymbol{\textpentedeka }\UnicodeEncodingName{"10144} % GREEK ACROPHONIC ATTIC FIFTY +\DeclareTextSymbol{\textpentehekaton}\UnicodeEncodingName{"10145} % GREEK ACROPHONIC ATTIC FIVE HUNDRED +\DeclareTextSymbol{\textpenteqilioi }\UnicodeEncodingName{"10146} % GREEK ACROPHONIC ATTIC FIVE THOUSAND +\DeclareTextSymbol{\textpentemuria }\UnicodeEncodingName{"10147} % GREEK ACROPHONIC ATTIC FIFTY THOUSAND % UPPERCASE @@ -822,13 +889,13 @@ % ~~~~~~~~ % % The common Greek font encoding definitions in greek-fontenc.def_ extend the -% `uclclist` with Greek LICR macros. Here, we add Unicode-specific "hiatus_" +% `uclclist` with Greek LICR macros. Here, we add Unicode-specific "hiatus_" % handling (copied from lgrenc.def_ and changed % Latin transcription to Unicode literals). -% +% % The hiatus definition modifications:: -\DeclareTextCommand{\LGR@A@hiatus}{\UTFencname}{% +\DeclareTextCommand{\LGR@A@hiatus}{\UnicodeEncodingName}{% \LGR@ifnextchar{Ι}{\textAlpha\"}{% \LGR@ifnextchar{Υ}{\textAlpha\"}{% \LGR@ifnextchar{\textIota}{\textAlpha\"}{% @@ -837,7 +904,7 @@ }% }% } -\DeclareTextCommand{\LGR@E@hiatus}{\UTFencname}{% +\DeclareTextCommand{\LGR@E@hiatus}{\UnicodeEncodingName}{% \LGR@ifnextchar{Ι}{\textEpsilon\"}{% \LGR@ifnextchar{Υ}{\textEpsilon\"}{% \LGR@ifnextchar{\textIota}{\textEpsilon\"}{% @@ -860,6 +927,8 @@ % .. _xgreek: http://ctan.org/pkg/xgreek % .. _xunicode: http://ctan.org/pkg/xunicode % +% .. _latex base: http://ctan.org/pkg/latex-base +% .. _font encoding: http://ctan.org/pkg/encguide % .. _LaTeX2e font selection: % http://mirror.ctan.org/macros/latex/base/fntguide.pdf % .. _common Greek font encoding definitions: -- cgit v1.2.3