From 423f813bfe7f7b6f234d4484c70207c5c3c82822 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 28 Feb 2020 22:22:26 +0000 Subject: greek-fontenc (28feb20) git-svn-id: svn://tug.org/texlive/trunk@53955 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/greek-fontenc/README | 36 +- .../texmf-dist/doc/latex/greek-fontenc/README.html | 326 +++-- .../doc/latex/greek-fontenc/alphabeta-doc.pdf | Bin 431630 -> 429772 bytes .../doc/latex/greek-fontenc/alphabeta-doc.tex | 78 +- .../latex/greek-fontenc/alphabeta-euenc.def.html | 788 ----------- .../latex/greek-fontenc/alphabeta-tuenc.def.html | 843 +++++++++++ .../doc/latex/greek-fontenc/alphabeta-tuenc.html | 848 +++++++++++ .../doc/latex/greek-fontenc/alphabeta.sty.html | 307 ++-- .../doc/latex/greek-fontenc/diacritics.pdf | Bin 307358 -> 307222 bytes .../doc/latex/greek-fontenc/diacritics.tex | 41 +- .../doc/latex/greek-fontenc/greek-euenc-doc.pdf | Bin 78434 -> 0 bytes .../doc/latex/greek-fontenc/greek-euenc-doc.tex | 852 ----------- .../doc/latex/greek-fontenc/greek-euenc.def.html | 1454 ------------------- .../doc/latex/greek-fontenc/greek-euenc.def.txt | 881 ------------ .../doc/latex/greek-fontenc/greek-fontenc.def.html | 252 ++-- .../doc/latex/greek-fontenc/greekhyperref.pdf | Bin 220646 -> 220718 bytes .../doc/latex/greek-fontenc/lgrenc-test.pdf | Bin 307461 -> 306863 bytes .../doc/latex/greek-fontenc/lgrenc-test.tex | 84 +- .../latex/greek-fontenc/test-active-semicolon.pdf | Bin 61231 -> 0 bytes .../doc/latex/greek-fontenc/test-nameclashes.pdf | Bin 130123 -> 116316 bytes .../doc/latex/greek-fontenc/test-nameclashes.tex | 66 + .../doc/latex/greek-fontenc/textalpha-doc.pdf | Bin 470981 -> 470128 bytes .../doc/latex/greek-fontenc/textalpha-doc.tex | 146 +- .../doc/latex/greek-fontenc/textalpha.sty.html | 390 ++--- .../doc/latex/greek-fontenc/tuenc-greek-doc.pdf | Bin 0 -> 84395 bytes .../doc/latex/greek-fontenc/tuenc-greek-doc.tex | 869 ++++++++++++ .../doc/latex/greek-fontenc/tuenc-greek.def.html | 1496 ++++++++++++++++++++ .../texmf-dist/source/latex/greek-fontenc/Makefile | 169 +++ .../tex/latex/greek-fontenc/alphabeta-euenc.def | 241 ---- .../tex/latex/greek-fontenc/alphabeta-tuenc.def | 243 ++++ .../tex/latex/greek-fontenc/alphabeta.sty | 16 +- .../tex/latex/greek-fontenc/greek-euenc.def | 879 +----------- .../tex/latex/greek-fontenc/greek-fontenc.def | 4 +- .../tex/latex/greek-fontenc/textalpha.sty | 106 +- .../tex/latex/greek-fontenc/tuenc-greek.def | 881 ++++++++++++ 35 files changed, 6421 insertions(+), 5875 deletions(-) delete mode 100644 Master/texmf-dist/doc/latex/greek-fontenc/alphabeta-euenc.def.html create mode 100644 Master/texmf-dist/doc/latex/greek-fontenc/alphabeta-tuenc.def.html create mode 100644 Master/texmf-dist/doc/latex/greek-fontenc/alphabeta-tuenc.html delete mode 100644 Master/texmf-dist/doc/latex/greek-fontenc/greek-euenc-doc.pdf delete mode 100644 Master/texmf-dist/doc/latex/greek-fontenc/greek-euenc-doc.tex delete mode 100644 Master/texmf-dist/doc/latex/greek-fontenc/greek-euenc.def.html delete mode 100644 Master/texmf-dist/doc/latex/greek-fontenc/greek-euenc.def.txt delete mode 100644 Master/texmf-dist/doc/latex/greek-fontenc/test-active-semicolon.pdf create mode 100644 Master/texmf-dist/doc/latex/greek-fontenc/test-nameclashes.tex create mode 100644 Master/texmf-dist/doc/latex/greek-fontenc/tuenc-greek-doc.pdf create mode 100644 Master/texmf-dist/doc/latex/greek-fontenc/tuenc-greek-doc.tex create mode 100644 Master/texmf-dist/doc/latex/greek-fontenc/tuenc-greek.def.html create mode 100644 Master/texmf-dist/source/latex/greek-fontenc/Makefile delete mode 100644 Master/texmf-dist/tex/latex/greek-fontenc/alphabeta-euenc.def create mode 100644 Master/texmf-dist/tex/latex/greek-fontenc/alphabeta-tuenc.def create mode 100644 Master/texmf-dist/tex/latex/greek-fontenc/tuenc-greek.def diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/README b/Master/texmf-dist/doc/latex/greek-fontenc/README index 871860a2f54..d6488da1972 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/README +++ b/Master/texmf-dist/doc/latex/greek-fontenc/README @@ -35,7 +35,7 @@ Changelog ====== =========== ========================================================== 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. + greek-euenc.def: LICRs for XeTeX/LuaTeX. 0.9.1 2013-07-18 Bugfix: wrong breathings psilioxia -> dasiaoxia. 0.9.2 2013-07-19 Bugfix: Disable composite defs starting with char macro, .. fix "hiatus" handling. @@ -45,7 +45,7 @@ Changelog 0.10 2013-09-13 textalpha.sty_ and alphabeta.sty_ moved here from lgrx and updated to work with XeTeX/LuaTeX. .. greek-fontenc.sty removed (obsoleted by textalpha.sty). -0.10.1 2013-10-01 Bugfix in greek-euenc.def_ and alphabeta-euenc.def_. +0.10.1 2013-10-01 Bugfix in greek-euenc.def and alphabeta-euenc.def. 0.11 2013-11-28 Compatibility with Xe/LuaTeX in 8-bit mode, .. ``\greekscript`` TextCommand. 0.11.1 2013-12-01 Fix identification of ``greek-euenc.def``. @@ -58,7 +58,7 @@ Changelog 0.13 2015-09-04 Support for `symbol variants`_, .. ``keep-semicolon`` option in textalpha_, .. ``\lccode``/``\uccode`` corrections for Unicode - (from Apostolos Syropoulos’ xgreek_) in greek-euenc_, + (from Apostolos Syropoulos’ xgreek_) in greek-euenc, .. Do not convert ``\ypogegrammeni`` to ``\prosgegrammeni`` with ``\MakeUppercase``. 0.13.1 2015-12-07 Fix `rho with dasia bug`__ in lgrenc.def (Linus Romer). @@ -66,7 +66,10 @@ Changelog (new in fontspec v2.5a). 0.13.3 2019-07-10 Drop error font declaration (cf. `ltxbugs 4399`_). 0.13.4 2019-07-11 ``@uclclist`` entry for ``\prosgegrammeni``. -.. Documentation update. +.. Documentation update. +0.14 2020-02-28 Update test for Unicode fonts. + Rename ``greek-euenc`` to ``tuenc-greek``. +.. Use ``\UTFencoding`` instead of ``\LastDeclaredEncoding``. ====== =========== ========================================================== __ http://tex.stackexchange.com/questions/281631/greek-small-rho-with-dasia-and-also-psili-problem-with-accent-and-lgr-encodin @@ -80,6 +83,9 @@ TeX files ``_ `Common Greek font encoding definitions `_. +``_ + Backwards compatibility file loading tuenc-greek_. + .. _LGR font encoding definition file: ``_ @@ -100,14 +106,13 @@ TeX files ``_ Generic macros for `Greek symbols in text and math `_. -``_ - `Composite definitions with XeTeX/LuaTeX. `_. +``_ + `Composite definitions with XeTeX/LuaTeX. `_. - .. _greek-euenc: + .. _tuenc-greek: -``_ - `Font setup for Greek with XeTeX/LuaTeX `_. - Requires euenc_. +``_ + `Font setup for Greek with XeTeX/LuaTeX `_. Literate source files were converted with PyLit_ to reStructuredText_ and with Docutils_ to the HTML documentation. @@ -125,7 +130,7 @@ Documentation and test documents ``_, ``_ Test and usage example. -``_, ``_ +``_, ``_ Example for use of the Greek LICR definitions with XeTeX or LuaTeX. @@ -194,7 +199,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 @@ -215,7 +220,7 @@ Babel: \usepackage[greek]{babel} This automatically loads ``lgrenc.def`` with 8-bit TeX and - ``greek-euenc.def`` with XeTeX/LuaTeX and provides localized auto-strings, + ``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_. @@ -240,7 +245,7 @@ fontenc: \setsansfont{Linux Biolinum O} \usepackage{textalpha} - See ``_, ``_ and + See ``_, ``_ and ``_, ``_. .. _arabi workaround: @@ -321,7 +326,7 @@ TU Standard Unicode font encoding for XeTeX and LuaTeX loaded by fontspec_ (since v2.5a). `greek-fontenc` adds support for the Greek script (see -greek-euenc_). +tuenc-greek_). Xe/LuaTeX works with any system-wide installed `OpenType font`_. Suitable fonts supporting Greek include `CM Unicode`_, `Deja Vu`_, `EB Garamond`_, @@ -547,7 +552,6 @@ as-is). .. _babel-greek: http://www.ctan.org/pkg/babel-greek .. _babel: http://www.ctan.org/pkg/babel .. _dejavu: https://www.ctan.org/pkg/dejavu -.. _euenc: http://www.ctan.org/pkg/euenc .. _fontenc: http://www.ctan.org/pkg/fontenc .. _fontspec: http://www.ctan.org/pkg/fontspec .. _greek-fontenc.zip: http://mirrors.ctan.org/language/greek/greek-fontenc.zip diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/README.html b/Master/texmf-dist/doc/latex/greek-fontenc/README.html index 6f16d43aa67..b326583200f 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/README.html +++ b/Master/texmf-dist/doc/latex/greek-fontenc/README.html @@ -2,7 +2,7 @@ - + greek-fontenc @@ -44,10 +44,10 @@ h1.title, p.subtitle { text-align: center; } -p.admonition-title, p.topic-title, p.sidebar-title, p.rubric, +p.admonition-title, p.system-message-title { font-weight: bold; } @@ -105,7 +105,7 @@ dl.simple > dd, dl.compact > dd { } /* Table of Contents */ -div.topic.contents { margin: 0; } +div.topic.contents { margin: 0.5em 0; } div.topic.contents ul { list-style-type: none; padding-left: 1.5em; @@ -164,7 +164,7 @@ pre.address { font: inherit; } dd.authors > p { margin: 0; } /* Option Lists */ -dl.option-list { margin-left: 40px; } +dl.option-list { margin-left: 1.5em; } dl.option-list > dt { font-weight: normal; } span.option { white-space: nowrap; } @@ -194,45 +194,54 @@ div.line-block div.line-block { /* Figures, Images, and Tables */ .figure.align-left, +figure.align-left, img.align-left, object.align-left, table.align-left { margin-right: auto; } .figure.align-center, +figure.align-center, img.align-center, -object.align-center { - margin-left: auto; - margin-right: auto; - display: block; -} +object.align-center, table.align-center { margin-left: auto; margin-right: auto; } .figure.align-right, +figure.align-right, img.align-right, object.align-right, table.align-right { margin-left: auto; } +.figure.align-center, .figure.align-right, +figure.align-center, figure.align-right, +img.align-center, img.align-right, +object.align-center, object.align-right { + display: block; +} /* reset inner alignment in figures and tables */ -/* div.align-left, div.align-center, div.align-right, */ -table.align-left, table.align-center, table.align-right -{ text-align: inherit } +.figure.align-left, .figure.align-right, +figure.align-left, figure.align-right, +table.align-left, table.align-center, table.align-right { + text-align: inherit; +} /* Admonitions and System Messages */ div.admonition, div.system-message, -div.sidebar{ - margin: 40px; +aside.sidebar { + margin: 1em 1.5em; border: medium outset; + padding-top: 0.5em; + padding-bottom: 0.5em; padding-right: 1em; padding-left: 1em; } /* Sidebar */ -div.sidebar { +aside.sidebar { width: 30%; max-width: 26em; float: right; @@ -247,7 +256,7 @@ pre.doctest-block, pre.math, pre.code { margin-left: 1.5em; - margin-right: 1.5em + margin-right: 1.5em; } pre.code .ln { color: gray; } /* line numbers */ @@ -273,14 +282,23 @@ table.borderless td, table.borderless th { padding-right: 0.5em /* separate table cells */ } +/* Document Header and Footer */ +header { border-bottom: 1px solid black; } +footer { border-top: 1px solid black; } + +/* new HTML5 block elements: set display for older browsers */ +header, section, footer, aside, nav, main, article, figure { + display: block; +} + -
+

greek-fontenc

Greek font encoding definition files

@@ -578,7 +612,7 @@ version 1.3 of this license or any later version.

-

Abstract

+

Abstract

LaTeX internal character representation (LICR) macros are a verbose but failsafe 7-bit ASCII encoding that works unaltered under both, 8-bit TeX and XeTeX/LuaTeX. Use cases are macro @@ -595,7 +629,7 @@ endorsement by the TeX community and related packages.

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

-
+

Changelog

@@ -612,7 +646,7 @@ punctuation may change in future versions.

+greek-euenc.def: LICRs for XeTeX/LuaTeX.

@@ -652,7 +686,7 @@ updated to work with XeTeX/LuaTeX.

- + @@ -696,7 +730,7 @@ Documentation update.

+(from Apostolos Syropoulos’ xgreek) in greek-euenc,

@@ -726,15 +760,28 @@ with \MakeUppercase.

+ + + + + + + +

experimental files xunicode-greek.sty and -greek-euenc.def: LICRs for XeTeX/LuaTeX.

0.9.1

2013-07-18

0.10.1

2013-10-01

Bugfix in greek-euenc.def and alphabeta-euenc.def.

Bugfix in greek-euenc.def and alphabeta-euenc.def.

0.11

2013-11-28

\lccode/\uccode corrections for Unicode -(from Apostolos Syropoulos’ xgreek) in greek-euenc,

Documentation update.

0.14

2020-02-28

Update test for Unicode fonts. +Rename greek-euenc to tuenc-greek.

+

Use \UTFencoding instead of \LastDeclaredEncoding.

-
-
+ +

TeX files

greek-fontenc.def

Common Greek font encoding definitions.

+
greek-euenc.def
+

Backwards compatibility file loading tuenc-greek.

+
lgrenc.def
@@ -750,18 +797,17 @@ independent of font encoding and TeX engine.

alphabeta.sty

Generic macros for Greek symbols in text and math.

-
alphabeta-euenc.def
-

Composite definitions with XeTeX/LuaTeX..

+
alphabeta-tuenc.def
+

Composite definitions with XeTeX/LuaTeX..

-
greek-euenc.def
-

Font setup for Greek with XeTeX/LuaTeX. -Requires euenc.

+
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-doc.tex, textalpha-doc.pdf
@@ -773,7 +819,7 @@ with lgrenc-test.tex, lgrenc-test.pdf

Test and usage example.

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

Example for use of the Greek LICR definitions with XeTeX or LuaTeX.

@@ -783,8 +829,8 @@ LuaTeX.

(monotonic) Greek.

-
-
+ +

Experimental files

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

@@ -793,8 +839,8 @@ with other packages or removed in future versions:

LGR Transcription to Greek LICR transformation

-
-
+ +

Installation

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

@@ -805,15 +851,15 @@ manager.

the “TeX Directory Structure” (TDS) and run texhash, or place them in the current working directory (e.g. for testing).

-
-
+ +

Conflicts

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

-
-
+ +

Usage

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

@@ -830,7 +876,7 @@ also in LGR

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 greek-euenc-doc.tex and greek-euenc-doc.pdf +TeX) as well as tuenc-greek-doc.tex and tuenc-greek-doc.pdf (XeTeX/LuaTeX).

alphabeta:
@@ -843,7 +889,7 @@ mode in both, text and math mode, write

Use the greek option with Babel:

\usepackage[greek]{babel}

This automatically loads lgrenc.def with 8-bit TeX and -greek-euenc.def with XeTeX/LuaTeX and provides localized auto-strings, +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.

@@ -862,7 +908,7 @@ also with XeTeX/LuaTeX, if the greek-euenc-doc.tex, greek-euenc-doc.pdf and +

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

@@ -880,20 +926,20 @@ is loaded after arabic:

% fix arabtex: \DeclareTextSymbol{\textomega}{LGR}{119} \renewcommand{\omega}{\mathomega} -
-
+ +

Greek text font encodings

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

-
+

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

The LGR font encoding is the de-facto standard for typesetting Greek with (8-bit) LaTeX. greek-fontenc provides a comprehensive LGR font @@ -913,38 +959,38 @@ This means that for every Latin-written word or acronym an explicit language-switch is required. This problem can only be solved via a font-encoding comprising Latin and Greek like the envisaged T7 or Unicode (with XeTeX or LuaTeX).

-
-
+ +

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.

The font encoding file lgienc.def from ibycus-babel provides a basic setup (without any LICR macros or composite definitions).

-
-
+ +

TU

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

+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.

-
-
+ +

EU1, EU2

Legacy Unicode font encodings for XeTeX and LuaTeX respectively.

-
-
-
+ + +

Greek LICR macros

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

-
+

letters and symbols

  • The fntguide (section 6.4 Naming conventions) recommends:

    @@ -1031,8 +1077,8 @@ Aliases (short forms, compatibility defs, etc.) are defined in additional packages (e.g. alphabeta.sty, babel-greek, or teubner)

-
-
+
+

accent macros

  • standard accent macros (\DeclareTextAccent definitions in @@ -1055,8 +1101,8 @@ the risc of name clashes (cf. \@tabacckludge<

    For the end-user “symbol macros” (\~ \' \` \" \< \> \"' ...) are provided. (The non-standard macros \< and \> only with textalpha or alphabeta.)

    -
-
+ +

symbol variants

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

Mathematical notation distinguishes variant shapes for beta (β|ϐ), theta @@ -1083,8 +1129,8 @@ the corresponding letter with the textalpha and alphabeta (loosing the distinction between the shape variants).

-
-
+ +

References

An alternative, more complete set of short mnemonic character names is the XML Entity Definitions for Characters W3C Recommendation from @@ -1127,8 +1173,8 @@ encoding Εὔτυπον, τεῦχος № 20, 2008. http://www.eutypon.gr/eutypon/pdf/e2008-20/e20-a03.pdf

-
- - + + + 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 18c962f96f3..4bfc21010e0 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 e9daa7c5f1d..4a69d5a4644 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/alphabeta-doc.tex +++ b/Master/texmf-dist/doc/latex/greek-fontenc/alphabeta-doc.tex @@ -27,6 +27,7 @@ \setmonofont{Liberation Mono}[Scale=MatchLowercase] \usepackage[libertine,slantedGreek]{newtxmath} % \usepackage{unicode-math} % package conflict + \newcommand{\fontset}{fontspec with Unicode fonts} } \newcommand{\setupTeXFonts}{ \usepackage[LGR,T1]{fontenc} @@ -39,6 +40,7 @@ % \usepackage{substitutefont} % \substitutefont{LGR}{\rmdefault}{artemisia} \usepackage{isomath} + \newcommand{\fontset}{fontenc with TeX fonts} } \ifdefined\XeTeXrevision \newcommand{\engine}{XeTeX} @@ -58,10 +60,6 @@ % Fallback macros: -% Avoid warnigns with PDF string generation for "alphabeta" commands: -% let \TextOrMath (from fixltx2e) return the "text" argument: -\pdfstringdefDisableCommands{\let\TextOrMath\@firstoftwo} - % varstigma only defined with 8-bit LGR fonts \providecommand*{\varstigma}{$\oslash$} % varkappa, only defined with newtxmath, other var... only with unicode-math @@ -97,9 +95,9 @@ literal Unicode charactes can also be used in mathematical mode. The \emph{alphabeta} package depends on \emph{\href{textalpha-doc.pdf}{textalpha}} (both are part of -\emph{\href{http://www.ctan.org/pkg/greek-fontenc}{greek-fontenc}}). -It can be used under 8-bit TeX as well as XeTeX/LuaTeX (this document is -typeset with \engine). Depending on the converter and fonts, different +\emph{\href{http://www.ctan.org/pkg/greek-fontenc}{greek-fontenc}}). It can +be used under 8-bit TeX as well as XeTeX/LuaTeX (this document is typeset +with \engine{} and \fontset). Depending on the converter and fonts, different \hyperref[sec:limitations]{limitations} apply. The package conflicts with @@ -181,10 +179,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{greek-euenc-doc.pdf}{greek-euenc-doc}. +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{greek-euenc.def}: +are short forms of the set defined in \texttt{tuenc-greek.def}: \begin{quote} \verb|\| selects the Unicode GREEK LETTER ... variant, @@ -203,12 +201,11 @@ With 8-bit TeX, the limitations described in the in section \hyperref[sec:8-bit-limitations]{8 bit limitations}. With XeTeX/LuaTeX and Unicode fonts, literal Unicode characters cannot be -used in formulas (the log file reports missing characters) -This is a generic TeX limitation which \emph{alphabeta} overcomes if used -under 8-bit TeX. Under XeTeX/LuaTeX it may be lifted using the -\href{http://www.ctan.org/pkg/unicode-math}{\emph{unicode-math}} -package, but unfortunately, \emph{alphabeta} conflicts -with \emph{unicode-math}. +used in formulas (the log file reports missing characters) This is a generic +TeX limitation which \emph{alphabeta} overcomes if used under 8-bit TeX. +Under XeTeX/LuaTeX it may be lifted using the +\href{http://www.ctan.org/pkg/unicode-math}{\emph{unicode-math}} package. +However, \emph{unicode-math} conflicts with \emph{alphabeta}. \section{Tests and examples} @@ -234,7 +231,7 @@ switch: \koppa{} \qoppa{} \Qoppa{} \Stigma{} \Sampi{} \sampi{} \end{quote} - +% Greek letters via Unicode input without language/font-encoding switch: \begin{quote} @@ -293,17 +290,6 @@ 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.) -Warnings like -\begin{verbatim} - Token not allowed in a PDF string (Unicode): - removing `\textbackslash TextOrMath ' on input line 145. -\end{verbatim} -can be ignored or avoided with the preamble code: - -\begin{verbatim} - \pdfstringdefDisableCommands{\let\TextOrMath\@firstoftwo} -\end{verbatim} - \subsection{Greek in math $\Gamma = \sin\alpha / \cos{\beta}$} @@ -354,20 +340,22 @@ 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: -\[ - Γ = \frac{\sin α}{\cos β}. -\] -Greek letters and symbols in math input as Unicode literals: -\begin{align*} - \ifdefined\DeclareUnicodeCharacter - & Γ ΔΘΛΞΠΣΥ ΦΨ Ω \\ - & αβγδεζηθικλμνξπρσςτυφχψω \\ - & ϑϕϖϝϱϵ - \else - \text{This does not work with XeTeX/LuaTeX (unless in 8-bit emulation - mode).} - \fi -\end{align*} + +\ifdefined\DeclareUnicodeCharacter + \[ + Γ = \frac{\sin α}{\cos β}. + \] + 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 @@ -400,10 +388,10 @@ 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. + 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} diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/alphabeta-euenc.def.html b/Master/texmf-dist/doc/latex/greek-fontenc/alphabeta-euenc.def.html deleted file mode 100644 index 099cd4ad011..00000000000 --- a/Master/texmf-dist/doc/latex/greek-fontenc/alphabeta-euenc.def.html +++ /dev/null @@ -1,788 +0,0 @@ - - - - - -alphabeta-euenc.def - - - - -
-

alphabeta-euenc.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-euenc}
-[2014/09/04 0.11.2 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

-
-
-

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 greek-euenc.def with -composite commands for use with Unicode fonts. It is sourced by alphabeta -under XeTeX/LuaTeX.

-
-

Greek and Coptic

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

Greek Extended

-

Postfix ypogegrammeni cannot be second part of composite defs.

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

alphabeta-euenc.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-euenc}
+[2014/09/04 0.11.2 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

+
+
+

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 greek-euenc.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-tuenc.html b/Master/texmf-dist/doc/latex/greek-fontenc/alphabeta-tuenc.html new file mode 100644 index 00000000000..569c2f99cf1 --- /dev/null +++ b/Master/texmf-dist/doc/latex/greek-fontenc/alphabeta-tuenc.html @@ -0,0 +1,848 @@ + + + + + +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 3bd9daef0ee..e5277b4d441 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/alphabeta.sty.html +++ b/Master/texmf-dist/doc/latex/greek-fontenc/alphabeta.sty.html @@ -2,7 +2,7 @@ - + alphabeta: Greek symbols in text and math @@ -11,7 +11,7 @@ /* Minimal style sheet for the HTML output of Docutils. */ /* */ /* :Author: Günter Milde, based on html4css1.css by David Goodger */ -/* :Id: $Id: minimal.css 8036 2017-02-14 13:05:46Z milde $ */ +/* :Id: $Id$ */ /* :Copyright: © 2015 Günter Milde. */ /* :License: Released under the terms of the `2-Clause BSD license`_, */ /* in short: */ @@ -42,10 +42,10 @@ h1.title, p.subtitle { text-align: center; } -p.admonition-title, p.topic-title, p.sidebar-title, p.rubric, +p.admonition-title, p.system-message-title { font-weight: bold; } @@ -103,10 +103,11 @@ dl.simple > dd, dl.compact > dd { } /* Table of Contents */ -div.topic.contents { margin: 0; } -ul.auto-toc { +div.topic.contents { margin: 0.5em 0; } +div.topic.contents ul { list-style-type: none; - padding-left: 1.5em; } + padding-left: 1.5em; +} /* Enumerated Lists */ ol.arabic { list-style: decimal } @@ -161,7 +162,7 @@ pre.address { font: inherit; } dd.authors > p { margin: 0; } /* Option Lists */ -dl.option-list { margin-left: 40px; } +dl.option-list { margin-left: 1.5em; } dl.option-list > dt { font-weight: normal; } span.option { white-space: nowrap; } @@ -191,45 +192,54 @@ div.line-block div.line-block { /* Figures, Images, and Tables */ .figure.align-left, +figure.align-left, img.align-left, object.align-left, table.align-left { margin-right: auto; } .figure.align-center, +figure.align-center, img.align-center, -object.align-center { - margin-left: auto; - margin-right: auto; - display: block; -} +object.align-center, table.align-center { margin-left: auto; margin-right: auto; } .figure.align-right, +figure.align-right, img.align-right, object.align-right, table.align-right { margin-left: auto; } +.figure.align-center, .figure.align-right, +figure.align-center, figure.align-right, +img.align-center, img.align-right, +object.align-center, object.align-right { + display: block; +} /* reset inner alignment in figures and tables */ -/* div.align-left, div.align-center, div.align-right, */ -table.align-left, table.align-center, table.align-right -{ text-align: inherit } +.figure.align-left, .figure.align-right, +figure.align-left, figure.align-right, +table.align-left, table.align-center, table.align-right { + text-align: inherit; +} /* Admonitions and System Messages */ div.admonition, div.system-message, -div.sidebar{ - margin: 40px; +aside.sidebar { + margin: 1em 1.5em; border: medium outset; + padding-top: 0.5em; + padding-bottom: 0.5em; padding-right: 1em; padding-left: 1em; } /* Sidebar */ -div.sidebar { +aside.sidebar { width: 30%; max-width: 26em; float: right; @@ -237,13 +247,14 @@ div.sidebar { } /* Text Blocks */ +blockquote, div.topic, pre.literal-block, pre.doctest-block, pre.math, pre.code { - margin-right: 40px; - margin-left: 40px; + margin-left: 1.5em; + margin-right: 1.5em; } pre.code .ln { color: gray; } /* line numbers */ @@ -269,14 +280,23 @@ table.borderless td, table.borderless th { padding-right: 0.5em /* separate table cells */ } +/* Document Header and Footer */ +header { border-bottom: 1px solid black; } +footer { border-top: 1px solid black; } + +/* new HTML5 block elements: set display for older browsers */ +header, section, footer, aside, nav, main, article, figure { + display: block; +} + -
+

alphabeta: Greek symbols in text and math

-
@@ -578,11 +606,11 @@ version 1.3 of this license or any later version.

Identification
\NeedsTeXFormat{LaTeX2e}
 \ProvidesPackage{alphabeta}
-[2016/02/05 v0.13.2 macros for Greek letters in text and math]
+ [2020/02/28 v0.14 macros for Greek letters in text and math]
-

Abstract

+

Abstract

Use \alpha, \beta, ... for Greek letters in text and math mode.

@@ -625,11 +653,16 @@ mode.

Support for standard Unicode text font encoding “TU” (new in fontspec v2.5a).

+

0.14

+

2020/02/28

+

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

+ -
+

Motivation

By default, the \alpha, \beta, ... macros for Greek letters are only valid in mathematical mode.

@@ -649,25 +682,25 @@ accent+character with a pre-composed character.

provided ensuregreek macro. Using babel or polyglossia also helps to ensure proper hyphenation.

-
-
+ +

Usage

\usepackage{alphabeta}

The greek-inputenc package provides support for Unicode (utf-8) input of Greek characters with 8-bit TeX and the inputenc package:

\usepackage[utf-8]{inputenc}
 \usepackage{alphabeta}
-
+

Conflicts

alphabeta does not work if the utf8x input encoding is selected. (utf8x is an interface to the ucs package which uses a non-compatible definition of \DeclareUnicodeCharacter.)

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

-
-
-
+ + +

Implementation

-
+

Requirements

This package extends the textalpha package. Package options are passed on to textalpha:

@@ -679,14 +712,14 @@ distribution) for the \ifdefined test.

fixltx2e is loaded by default since TeXLive 2015. In case of an \TextOrMath undefined error, load it in the document preamble via

\usepackage{fixltx2e}
-
-
+
+

Postpone the re-definitions

To prevent other packages overwriting the re-defined commands we postpone the next steps until the start of the document body:

\AtBeginDocument{
-
-
+ +

Save math macros

Provide an alias for the standard math commands:

\let\mathGamma\Gamma
@@ -742,8 +775,8 @@ the next steps until the start of the document body:

\ifdefined\varkappa % e.g. with newtxmath \let\mathvarkappa\varkappa \fi
-
-
+ +

Commands to access Greek letters by name

For letters defined in math mode, the commands work in both, text and math.

Some Greek letters look identical to Latin letters and can therefore not be @@ -813,7 +846,7 @@ in both, text and math mode.

\renewcommand*{\chi}{\TextOrMath{\textchi}{\mathchi}} \renewcommand*{\psi}{\TextOrMath{\textpsi}{\mathpsi}} \renewcommand*{\omega}{\TextOrMath{\textomega}{\mathomega}} -
+

Archaic letters

\renewcommand*{\digamma}{\TextOrMath{\textdigamma}{\mathdigamma}} % ϝ
 \providecommand*{\Digamma}{\textDigamma}     % Ϝ
@@ -825,12 +858,12 @@ in both, text and math mode.

\providecommand*{\Stigma}{\textStigma} % Ϛ (in some fonts ϹΤ ligature) \providecommand*{\Sampi}{\textSampi} % Ϡ \providecommand*{\sampi}{\textsampi} % ϡ
-
-
+
+

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 greek-euenc-doc.pdf).

+standard (see tuenc-greek-doc.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 @@ -862,26 +895,22 @@ math (or, if not supported, the SYMBOL shape):

\providecommand*{\kappasymbol}{\varkappa} % \Theta/\varTheta are not a symbol variants but upright/italic shape of Theta \providecommand*{\Thetasymbol}{\textThetasymbol} % ϴ -
- -
+ + +

TextCompositeCommands for the generic macros

The NFSS TextComposite mechanism looks for the next token without expanding it. In order to let compositions like \ensuregreek{\'\Alpha} or \ensuregreek{\>"\alpha} work as expected we define TextComposites with the letter name commands. (Composition only works if the active font encoding is LGR).

-
\ifdefined\XeTeXrevision
-  \input{alphabeta-euenc.def}
-  % \expandafter\endinput % "return"
-\else\ifdefined\luatexversion
-  \input{alphabeta-euenc.def}
-  % \expandafter\endinput % "return"
+
\ifdefined\UTFencname
+  \input{alphabeta-tuenc.def}
 \else % 8-bit TeX
   \input{alphabeta-lgr.def}
-\fi\fi
-
-
+\fi + +

Re-definition for Greek Unicode input in math mode

Check with \ifdefined for the definition of \DeclareUnicodeCharacter. In contrast to \@ifdefined, this works @@ -938,8 +967,8 @@ macros:

} % close the \AtBeginDocument macro
-
- - + + + diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/diacritics.pdf b/Master/texmf-dist/doc/latex/greek-fontenc/diacritics.pdf index e49d902ef73..7826d708930 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 4a6f89d0787..b885c948f57 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/diacritics.tex +++ b/Master/texmf-dist/doc/latex/greek-fontenc/diacritics.tex @@ -1,7 +1,7 @@ % Test definitions for accents and composite accents in Greek -\documentclass[a4paper,british,polutonikogreek]{article} +\documentclass[a4paper,polutonikogreek,british]{article} \pagestyle{empty} -\usepackage[margin=2.5cm]{geometry} +\usepackage[margin=2.9cm]{geometry} \usepackage{cmap} % fix search and cut-and-paste in Acrobat Reader \usepackage% @@ -43,9 +43,11 @@ \begin{document} -\selectlanguage{british} +% \selectlanguage{british} -\section*{Greek diacritics with standard accent macros} +\title{Greek diacritics with standard accent macros} +\author{G\"unter Milde} +\maketitle The font encoding definition file \texttt{lgrenc.def} defines LICR macros for all non-ASCII characters in the LGR font encoding. Greek accent macros @@ -55,22 +57,22 @@ accents \verb|\' \` \~| behave according to Greek typography if used in the LGR font encoding. The \emph{textalpha} or \emph{alphabeta} packages define the symbol macros -\verb|\<| and \verb|\>| as alias for the breathings (Dasia and Psili). With -this, all diacritics can be input as backslash followed -by the LGR transliteration. % -\footnote{This makes it easy to follow the advise in - \emph{teubner-doc}: ``typeset your paper with the regular - accent vowel ligatures and [{\ldots}] substitute them in the - final revision with the accented vowel macros only in those - instances where the lack of kerning is disturbing''.} +\verb|\<| and \verb|\>| as alias for the breathings (Dasia and Psili).% \footnote{The definition of the macros \texttt{\textbackslash<} and \texttt{\textbackslash>} was moved from the font definition file \texttt{greek-fontenc.def} to \texttt{textalpha.sty} in order to avoid clashes with local definitions of this macros in documents using the LGR font encoding via \emph{fontenc} or \emph{babel}.} +With these packages, all Greek diacritics can be input as backslash followed +by the LGR transliteration.% +\footnote{This makes it easy to follow the advise in + \emph{teubner-doc}: ``typeset your paper with the regular + accent vowel ligatures and [{\ldots}] substitute them in the + final revision with the accented vowel macros only in those + instances where the lack of kerning is disturbing''.} -The example in greek-usage.pdf: +The example in babel/contrib/greek/usage.pdf: % \begin{quote} \selectlanguage{greek} T\'i f\'hic? \enj\'ede pa\~id'' @@ -110,8 +112,8 @@ Improvements over the ligature-based approach in LGR: \end{tabular} \selectlanguage{british} - Like in any font encoding, kerning only works with pre-composed glyphs: - \textgreek{A\"UA $\ne$ A\~UA}, AVA $\ne$ A\~VA. + Like in any font encoding, kerning only works with pre-composed glyphs:\\ + \textgreek{A\"UA $\ne$ A\~UA}, AVA $\ne$ A\'VA. \item Compatible with hyperref (see greekhyperref.pdf). @@ -154,11 +156,12 @@ lead to errors. \verb+\MakeUppercase+ works with most input variants but fails with a tilde in a document which does \textbf{not} define the \texttt{greek} or -\texttt{polutonikogreek} language (where the tilde is an active character -denoting a \verb|\nobreakspace|). +\texttt{polutonikogreek} language with Babel (which fixes the uccode for +characters used in the LGR transliteration). Combining ``symbol macros'' (\verb+\>\~+) or reversing the order -(\verb+\~>+) is safe: -\foreignlanguage{greek}{\~>a $\mapsto$ \MakeUppercase{\~>a}}. +(\verb+\~>+) is safe. +% \foreignlanguage{greek}{\~>a \>~a \>\~a \~\>a $\mapsto$ +% \MakeUppercase{\~>a \>~a \>\~a \~\>a}}. Accent macros can start with \verb|\a| instead of \verb|\| when the short form is redefined, e.\,g. inside a \emph{tabbing} environment. diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/greek-euenc-doc.pdf b/Master/texmf-dist/doc/latex/greek-fontenc/greek-euenc-doc.pdf deleted file mode 100644 index 4f43326dab5..00000000000 Binary files a/Master/texmf-dist/doc/latex/greek-fontenc/greek-euenc-doc.pdf and /dev/null differ diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/greek-euenc-doc.tex b/Master/texmf-dist/doc/latex/greek-fontenc/greek-euenc-doc.tex deleted file mode 100644 index 78ed736ef13..00000000000 --- a/Master/texmf-dist/doc/latex/greek-fontenc/greek-euenc-doc.tex +++ /dev/null @@ -1,852 +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{greek-euenc.def.html}{greek-euenc.def} provides support for -Greek 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}} if the font -encoding is set to the Unicode font encoding TU (usually via -the \href{http://www.ctan.org/pkg/fontspec}{\emph{fontspec}} package for -font setup with LuaTeX and XeTeX). - -\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 - include support for the Greek script. - -\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{greek-euenc.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} - -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{greek-euenc-doc.tex}{\texttt{greek-euenc-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 the real world, as -pre-composed characters exist in Unicode for all letters that are actually -used in (ancient, polytonic or monotonoc) Greek. - - -\subsubsection{sub-iota} - -The sub-iota (ypogegrammeni/prosgegrammeni) is input after the base letter. - - -\begin{quote} -\verb|\prosgegrammeni| sets a spacing GREEK PROSGEGRAMMENI: - \textAlpha\prosgegrammeni{} K\prosgegrammeni{}. - -\verb|\ypogegrammeni| sets a COMBINING GREEK 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{} k\ypogegrammeni{} \textAlpha\ypogegrammeni{} -K\ypogegrammeni{}. -\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{greek-euenc.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{greek-euenc-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 ώ - -ϐ ϑ ϒ ϓ ϔ ϕ ϖ %ϗ -\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 \MakeLowercase{Ϛ}. - - - -\subsection{Greek Extended Unicode block} - -There are no LICR definitions for spacing diacritical characters. - -% \accvaria\textalpha ὰ -% \accoxia\textalpha ά - - -\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/greek-euenc.def.html b/Master/texmf-dist/doc/latex/greek-fontenc/greek-euenc.def.html deleted file mode 100644 index 70f720ebae4..00000000000 --- a/Master/texmf-dist/doc/latex/greek-fontenc/greek-euenc.def.html +++ /dev/null @@ -1,1454 +0,0 @@ - - - - - -greek-euenc.def - - - - - - -
-

greek-euenc.def

- -

Greek LICR 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{greek-euenc.def}
-[2018/01/06 0.13.3 Greek LICRs for XeTeX and LuaTeX]
-
-
-
-

Abstract

-

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

-
-
-
History:
-
----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

0.1

2013-07-16

initial version

0.1.1

2013-07-18

bugfix: wrong breathings psilioxia -> dasiaoxia

0.1.2

2013-07-19 -..

bugfix: Disable composite defs starting with char macro, -fix “hiatus” handling.

0.1.3

2013-07-24

fix “input” path.

0.1.4

2013-10-01 -..

remove clashing defs for legacy characters with oxia, -fix upcasing of \finalsigma.

0.11.1

2013-12-01

fix identification.

0.11.2

2014-09-08

\textKoppa macro

-

(Capital Koppa is not defined in LGR but Unicode).

0.12

2014-12-12

Remove symbol macros for breathing accents.

0.13

2015-08-07

\lccode/\uccode corrections from xgreek.

-

LICR macros for symbol variants.

0.13.3

2018-01-06

Documentation update.

-
-
- -
-

Motivation

-

LICR macro definitions for the Greek script are missing in both, xunicode -and euenc.

-

This file expands the font encoding definition files eu1enc.def rsp. -eu2enc.def from euenc defining LaTeX Internal Character -Representaction (LICR) macros for Greek letters and symbols. It works -independed of xunicode using the standard commands for LaTeX2e font -selection.

-
-
-

Requirements

-

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

-

See greek-euenc-doc.tex and greek-euenc-doc.pdf for setup and -usage examples.

-
-
-

Greek Diacritics

-

Define “named macros” for simple and combined diacritics.

-
    -
  • Named accent macros can be used instead of the \@tabacckludge by -to-LaTeX converters to ensure working also inside the tabbing environment.

  • -
  • Named macros are required for upcasing according to Greek typesetting -conventions and in the definition of composite commands.

  • -
-

Greek alias names for standard accents:

-
\DeclareTextCommand{\acctonos}{\LastDeclaredEncoding}{\@tabacckludge'}
-\DeclareTextCommand{\accvaria}{\LastDeclaredEncoding}{\@tabacckludge`}
-\DeclareTextCommand{\accdialytika}{\LastDeclaredEncoding}{\@tabacckludge"}
-

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

-
\DeclareTextCommand{\accperispomeni}{\LastDeclaredEncoding}[1]{#1\char"0342 }
-

Breathings:

-

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

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

Sub-iota:

-

\ypogegrammeni is a postfix accent (ligature in LGR)

-
\DeclareTextSymbol{\ypogegrammeni}{\LastDeclaredEncoding}{0837} % COMBINING GREEK YPOGEGRAMMENI
-

Combined diacritics:

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

Common Definitions

-

Use the common Greek font encoding definitions:

-
\input{greek-fontenc.def}
-
-
-

Character Definitions

-
-

General Punctuation

-

Ligature break up with ZERO WIDTH NON-JOINER:

-
\DeclareTextCommand{\textcompwordmark}{\LastDeclaredEncoding}{\char"200C}
-
-
-

Greek and Coptic

-
% NR    Unicode Name                                       %   babel name, % PU name
-% 0370  GREEK CAPITAL LETTER HETA                          % Ͱ
-% 0371  GREEK SMALL LETTER HETA                            % ͱ
-% 0372  GREEK CAPITAL LETTER ARCHAIC SAMPI                 % Ͳ
-% 0373  GREEK SMALL LETTER ARCHAIC SAMPI                   % ͳ
-\DeclareTextCommand{\textdexiakeraia}{\LastDeclaredEncoding}{ʹ} % \anwtonos, \textnumeralsigngreek
-\DeclareTextCommand{\textaristerikeraia}{\LastDeclaredEncoding}{͵} % \katwtonos, \textnumeralsignlowergreek
-% 0376  GREEK CAPITAL LETTER PAMPHYLIAN DIGAMMA            % Ͷ
-% 0377  GREEK SMALL LETTER PAMPHYLIAN DIGAMMA              % ͷ
-
-% 037A  GREEK YPOGEGRAMMENI (use \textcompwordmark\ypogegrammeni) % ͺ
-% 037B  GREEK SMALL REVERSED LUNATE SIGMA SYMBOL
-% 037C  GREEK SMALL DOTTED LUNATE SIGMA SYMBOL
-% 037D  GREEK SMALL REVERSED DOTTED LUNATE SIGMA SYMBOL
-\DeclareTextCommand{\texterotimatiko}{\LastDeclaredEncoding}{;} % 037E GREEK QUESTION MARK
-
-\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textcompwordmark}{΄}
-\DeclareTextCompositeCommand{\accdialytikatonos}{\LastDeclaredEncoding}{\textcompwordmark}{΅}
-\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textAlpha}{Ά}
-\DeclareTextCommand{\textanoteleia}{\LastDeclaredEncoding}{·} % \anoteleia
-\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textEpsilon}{Έ}
-\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textEta}{Ή}
-\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textIota}{Ί}
-\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textOmicron}{Ό}
-\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textUpsilon}{Ύ}
-\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textOmega}{Ώ}
-\DeclareTextCompositeCommand{\accdialytikatonos}{\LastDeclaredEncoding}{\textiota}{ΐ}
-
-\DeclareTextCommand{\textAlpha}{\LastDeclaredEncoding}{Α}
-\DeclareTextCommand{\textBeta}{\LastDeclaredEncoding}{Β}
-\DeclareTextCommand{\textGamma}{\LastDeclaredEncoding}{Γ}
-\DeclareTextCommand{\textDelta}{\LastDeclaredEncoding}{Δ}
-\DeclareTextCommand{\textEpsilon}{\LastDeclaredEncoding}{Ε}
-\DeclareTextCommand{\textZeta}{\LastDeclaredEncoding}{Ζ}
-\DeclareTextCommand{\textEta}{\LastDeclaredEncoding}{Η}
-\DeclareTextCommand{\textTheta}{\LastDeclaredEncoding}{Θ}
-\DeclareTextCommand{\textIota}{\LastDeclaredEncoding}{Ι}
-\DeclareTextCommand{\textKappa}{\LastDeclaredEncoding}{Κ}
-\DeclareTextCommand{\textLambda}{\LastDeclaredEncoding}{Λ}
-\DeclareTextCommand{\textMu}{\LastDeclaredEncoding}{Μ}
-\DeclareTextCommand{\textNu}{\LastDeclaredEncoding}{Ν}
-\DeclareTextCommand{\textXi}{\LastDeclaredEncoding}{Ξ}
-\DeclareTextCommand{\textOmicron}{\LastDeclaredEncoding}{Ο}
-\DeclareTextCommand{\textPi}{\LastDeclaredEncoding}{Π}
-\DeclareTextCommand{\textRho}{\LastDeclaredEncoding}{Ρ}
-\DeclareTextCommand{\textSigma}{\LastDeclaredEncoding}{Σ}
-\DeclareTextCommand{\textTau}{\LastDeclaredEncoding}{Τ}
-\DeclareTextCommand{\textUpsilon}{\LastDeclaredEncoding}{Υ}
-\DeclareTextCommand{\textPhi}{\LastDeclaredEncoding}{Φ}
-\DeclareTextCommand{\textChi}{\LastDeclaredEncoding}{Χ}
-\DeclareTextCommand{\textPsi}{\LastDeclaredEncoding}{Ψ}
-\DeclareTextCommand{\textOmega}{\LastDeclaredEncoding}{Ω}
-
-\DeclareTextCompositeCommand{\"}{\LastDeclaredEncoding}{\textIota}{Ϊ}
-\DeclareTextCompositeCommand{\"}{\LastDeclaredEncoding}{\textUpsilon}{Ϋ}
-\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textalpha}{ά}
-\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textepsilon}{έ}
-\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\texteta}{ή}
-\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textiota}{ί}
-\DeclareTextCompositeCommand{\accdialytikatonos}{\LastDeclaredEncoding}{\textupsilon}{ΰ}
-
-\DeclareTextCommand{\textalpha}{\LastDeclaredEncoding}{α}
-\DeclareTextCommand{\textbeta}{\LastDeclaredEncoding}{β}
-\DeclareTextCommand{\textgamma}{\LastDeclaredEncoding}{γ}
-\DeclareTextCommand{\textdelta}{\LastDeclaredEncoding}{δ}
-\DeclareTextCommand{\textepsilon}{\LastDeclaredEncoding}{ε}
-\DeclareTextCommand{\textvarepsilon}{\LastDeclaredEncoding}{ε} % cf. $\varepsiolon$
-\DeclareTextCommand{\textzeta}{\LastDeclaredEncoding}{ζ}
-\DeclareTextCommand{\texteta}{\LastDeclaredEncoding}{η}
-\DeclareTextCommand{\texttheta}{\LastDeclaredEncoding}{θ}
-\DeclareTextCommand{\textiota}{\LastDeclaredEncoding}{ι}
-\DeclareTextCommand{\textkappa}{\LastDeclaredEncoding}{κ}
-\DeclareTextCommand{\textlambda}{\LastDeclaredEncoding}{λ}
-\DeclareTextCommand{\textmu}{\LastDeclaredEncoding}{μ} % \textmugreek
-\DeclareTextCommand{\textnu}{\LastDeclaredEncoding}{ν}
-\DeclareTextCommand{\textxi}{\LastDeclaredEncoding}{ξ}
-\DeclareTextCommand{\textomicron}{\LastDeclaredEncoding}{ο}
-\DeclareTextCommand{\textpi}{\LastDeclaredEncoding}{π}
-\DeclareTextCommand{\textrho}{\LastDeclaredEncoding}{ρ}
-\DeclareTextCommand{\textvarsigma}{\LastDeclaredEncoding}{ς} % final sigma
-\DeclareTextCommand{\textfinalsigma}{\LastDeclaredEncoding}{\textvarsigma}
-\DeclareTextCommand{\textsigma}{\LastDeclaredEncoding}{σ}
-% Dummy definition (\textautosigma is lowercase of \textSigma):
-\ProvideTextCommand{\textautosigma}{\LastDeclaredEncoding}{\textsigma}
-\DeclareTextCommand{\texttau}{\LastDeclaredEncoding}{τ}
-\DeclareTextCommand{\textupsilon}{\LastDeclaredEncoding}{υ}
-\DeclareTextCommand{\textphi}{\LastDeclaredEncoding}{φ}
-\DeclareTextCommand{\textvarphi}{\LastDeclaredEncoding}{φ} % cf. $\varphi$
-\DeclareTextCommand{\textchi}{\LastDeclaredEncoding}{χ}
-\DeclareTextCommand{\textpsi}{\LastDeclaredEncoding}{ψ}
-\DeclareTextCommand{\textomega}{\LastDeclaredEncoding}{ω}
-
-\DeclareTextCompositeCommand{\"}{\LastDeclaredEncoding}{\textiota}{ϊ}
-\DeclareTextCompositeCommand{\"}{\LastDeclaredEncoding}{\textupsilon}{ϋ}
-\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textomicron}{ό}
-\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textupsilon}{ύ}
-\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textomega}{ώ}
-
-\DeclareTextCommand{\textQoppa}{\LastDeclaredEncoding}{Ϙ}
-\DeclareTextCommand{\textqoppa}{\LastDeclaredEncoding}{ϙ}
-\DeclareTextCommand{\textStigma}{\LastDeclaredEncoding}{Ϛ}
-\DeclareTextCommand{\textstigma}{\LastDeclaredEncoding}{ϛ}
-\DeclareTextCommand{\textDigamma}{\LastDeclaredEncoding}{Ϝ}
-\DeclareTextCommand{\textdigamma}{\LastDeclaredEncoding}{ϝ}
-\DeclareTextCommand{\textKoppa}{\LastDeclaredEncoding}{Ϟ} % not defined in LGR
-\DeclareTextCommand{\textkoppa}{\LastDeclaredEncoding}{ϟ} % \koppa, \textqoppa [sic!]
-\DeclareTextCommand{\textSampi}{\LastDeclaredEncoding}{Ϡ}
-\DeclareTextCommand{\textsampi}{\LastDeclaredEncoding}{ϡ}
-
-% Symbol variants
-\DeclareTextCommand{\textbetasymbol}{\LastDeclaredEncoding}{ϐ}
-\DeclareTextCommand{\textkappasymbol}{\LastDeclaredEncoding}{ϰ}
-\DeclareTextCommand{\textThetasymbol}{\LastDeclaredEncoding}{ϴ}
-\DeclareTextCommand{\textthetasymbol}{\LastDeclaredEncoding}{ϑ}
-\DeclareTextCommand{\textphisymbol}{\LastDeclaredEncoding}{ϕ}
-\DeclareTextCommand{\textpisymbol}{\LastDeclaredEncoding}{ϖ}
-\DeclareTextCommand{\textrhosymbol}{\LastDeclaredEncoding}{ϱ}
-\DeclareTextCommand{\textepsilonsymbol}{\LastDeclaredEncoding}{ϵ}
-% math compatibility aliases
-% $\varphi$ and $\varepsilon$ refer to the letter characters (see above)!
-\DeclareTextCommand{\textvarbeta}{\LastDeclaredEncoding}{\textbetasymbol}
-\DeclareTextCommand{\textvarkappa}{\LastDeclaredEncoding}{ϰ}
-\DeclareTextCommand{\textvarTheta}{\LastDeclaredEncoding}{ϴ}
-\DeclareTextCommand{\textvartheta}{\LastDeclaredEncoding}{ϑ}
-\DeclareTextCommand{\textvarpi}{\LastDeclaredEncoding}{ϖ}
-\DeclareTextCommand{\textvarrho}{\LastDeclaredEncoding}{ϱ}
-
-
-

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}{\LastDeclaredEncoding}{\textalpha}{ἀ}
-\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textalpha}{ἁ}
-\DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\textalpha}{ἂ}
-\DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\textalpha}{ἃ}
-\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textalpha}{ἄ}
-\DeclareTextCompositeCommand{\accdasiaoxia}{\LastDeclaredEncoding}{\textalpha}{ἅ}
-\DeclareTextCompositeCommand{\accpsiliperispomeni}{\LastDeclaredEncoding}{\textalpha}{ἆ}
-\DeclareTextCompositeCommand{\accdasiaperispomeni}{\LastDeclaredEncoding}{\textalpha}{ἇ}
-\DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textAlpha}{Ἀ}
-\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textAlpha}{Ἁ}
-\DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\textAlpha}{Ἂ}
-\DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\textAlpha}{Ἃ}
-\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textAlpha}{Ἄ}
-\DeclareTextCompositeCommand{\accdasiaoxia}{\LastDeclaredEncoding}{\textAlpha}{Ἅ}
-\DeclareTextCompositeCommand{\accpsiliperispomeni}{\LastDeclaredEncoding}{\textAlpha}{Ἆ}
-\DeclareTextCompositeCommand{\accdasiaperispomeni}{\LastDeclaredEncoding}{\textAlpha}{Ἇ}
-
-\DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textepsilon}{ἐ}
-\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textepsilon}{ἑ}
-\DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\textepsilon}{ἒ}
-\DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\textepsilon}{ἓ}
-\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textepsilon}{ἔ}
-\DeclareTextCompositeCommand{\accdasiaoxia}{\LastDeclaredEncoding}{\textepsilon}{ἕ}
-\DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textEpsilon}{Ἐ}
-\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textEpsilon}{Ἑ}
-\DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\textEpsilon}{Ἒ}
-\DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\textEpsilon}{Ἓ}
-\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textEpsilon}{Ἔ}
-\DeclareTextCompositeCommand{\accdasiaoxia}{\LastDeclaredEncoding}{\textEpsilon}{Ἕ}
-
-\DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\texteta}{ἠ}
-\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\texteta}{ἡ}
-\DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\texteta}{ἢ}
-\DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\texteta}{ἣ}
-\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\texteta}{ἤ}
-\DeclareTextCompositeCommand{\accdasiaoxia}{\LastDeclaredEncoding}{\texteta}{ἥ}
-\DeclareTextCompositeCommand{\accpsiliperispomeni}{\LastDeclaredEncoding}{\texteta}{ἦ}
-\DeclareTextCompositeCommand{\accdasiaperispomeni}{\LastDeclaredEncoding}{\texteta}{ἧ}
-\DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textEta}{Ἠ}
-\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textEta}{Ἡ}
-\DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\textEta}{Ἢ}
-\DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\textEta}{Ἣ}
-\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textEta}{Ἤ}
-\DeclareTextCompositeCommand{\accdasiaoxia}{\LastDeclaredEncoding}{\textEta}{Ἥ}
-\DeclareTextCompositeCommand{\accpsiliperispomeni}{\LastDeclaredEncoding}{\textEta}{Ἦ}
-\DeclareTextCompositeCommand{\accdasiaperispomeni}{\LastDeclaredEncoding}{\textEta}{Ἧ}
-
-\DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textiota}{ἰ}
-\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textiota}{ἱ}
-\DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\textiota}{ἲ}
-\DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\textiota}{ἳ}
-\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textiota}{ἴ}
-\DeclareTextCompositeCommand{\accdasiaoxia}{\LastDeclaredEncoding}{\textiota}{ἵ}
-\DeclareTextCompositeCommand{\accpsiliperispomeni}{\LastDeclaredEncoding}{\textiota}{ἶ}
-\DeclareTextCompositeCommand{\accdasiaperispomeni}{\LastDeclaredEncoding}{\textiota}{ἷ}
-\DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textIota}{Ἰ}
-\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textIota}{Ἱ}
-\DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\textIota}{Ἲ}
-\DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\textIota}{Ἳ}
-\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textIota}{Ἴ}
-\DeclareTextCompositeCommand{\accdasiaoxia}{\LastDeclaredEncoding}{\textIota}{Ἵ}
-\DeclareTextCompositeCommand{\accpsiliperispomeni}{\LastDeclaredEncoding}{\textIota}{Ἶ}
-\DeclareTextCompositeCommand{\accdasiaperispomeni}{\LastDeclaredEncoding}{\textIota}{Ἷ}
-
-\DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textomicron}{ὀ}
-\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textomicron}{ὁ}
-\DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\textomicron}{ὂ}
-\DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\textomicron}{ὃ}
-\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textomicron}{ὄ}
-\DeclareTextCompositeCommand{\accdasiaoxia}{\LastDeclaredEncoding}{\textomicron}{ὅ}
-\DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textOmicron}{Ὀ}
-\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textOmicron}{Ὁ}
-\DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\textOmicron}{Ὂ}
-\DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\textOmicron}{Ὃ}
-\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textOmicron}{Ὄ}
-\DeclareTextCompositeCommand{\accdasiaoxia}{\LastDeclaredEncoding}{\textOmicron}{Ὅ}
-
-\DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textupsilon}{ὐ}
-\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textupsilon}{ὑ}
-\DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\textupsilon}{ὒ}
-\DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\textupsilon}{ὓ}
-\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textupsilon}{ὔ}
-\DeclareTextCompositeCommand{\accdasiaoxia}{\LastDeclaredEncoding}{\textupsilon}{ὕ}
-\DeclareTextCompositeCommand{\accpsiliperispomeni}{\LastDeclaredEncoding}{\textupsilon}{ὖ}
-\DeclareTextCompositeCommand{\accdasiaperispomeni}{\LastDeclaredEncoding}{\textupsilon}{ὗ}
-\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textUpsilon}{Ὑ}
-\DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\textUpsilon}{Ὓ}
-\DeclareTextCompositeCommand{\accdasiaoxia}{\LastDeclaredEncoding}{\textUpsilon}{Ὕ}
-\DeclareTextCompositeCommand{\accdasiaperispomeni}{\LastDeclaredEncoding}{\textUpsilon}{Ὗ}
-
-\DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textomega}{ὠ}
-\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textomega}{ὡ}
-\DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\textomega}{ὢ}
-\DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\textomega}{ὣ}
-\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textomega}{ὤ}
-\DeclareTextCompositeCommand{\accdasiaoxia}{\LastDeclaredEncoding}{\textomega}{ὥ}
-\DeclareTextCompositeCommand{\accpsiliperispomeni}{\LastDeclaredEncoding}{\textomega}{ὦ}
-\DeclareTextCompositeCommand{\accdasiaperispomeni}{\LastDeclaredEncoding}{\textomega}{ὧ}
-\DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textOmega}{Ὠ}
-\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textOmega}{Ὡ}
-\DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\textOmega}{Ὢ}
-\DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\textOmega}{Ὣ}
-\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textOmega}{Ὤ}
-\DeclareTextCompositeCommand{\accdasiaoxia}{\LastDeclaredEncoding}{\textOmega}{Ὥ}
-\DeclareTextCompositeCommand{\accpsiliperispomeni}{\LastDeclaredEncoding}{\textOmega}{Ὦ}
-\DeclareTextCompositeCommand{\accdasiaperispomeni}{\LastDeclaredEncoding}{\textOmega}{Ὧ}
-
-\DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\textalpha}{ὰ}
-\DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\textepsilon}{ὲ}
-\DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\texteta}{ὴ}
-\DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\textiota}{ὶ}
-\DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\textomicron}{ὸ}
-\DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\textupsilon}{ὺ}
-\DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\textomega}{ὼ}
-
-\DeclareTextCompositeCommand{\u}{\LastDeclaredEncoding}{\textalpha}{ᾰ}
-\DeclareTextCompositeCommand{\=}{\LastDeclaredEncoding}{\textalpha}{ᾱ}
-% ᾲ
-% ᾳ
-% ᾴ
-\DeclareTextCompositeCommand{\~}{\LastDeclaredEncoding}{\textalpha}{ᾶ}
-\DeclareTextCompositeCommand{\~}{\LastDeclaredEncoding}{α}{ᾶ}
-\DeclareTextCompositeCommand{\accperispomeni}{\LastDeclaredEncoding}{\textalpha}{ᾶ}
-% ᾷ
-\DeclareTextCompositeCommand{\u}{\LastDeclaredEncoding}{\textAlpha}{Ᾰ}
-\DeclareTextCompositeCommand{\=}{\LastDeclaredEncoding}{\textAlpha}{Ᾱ}
-\DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\textAlpha}{Ὰ}
-% ᾼ
-\DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textcompwordmark}{᾽}
-\DeclareTextCommand{\prosgegrammeni}{\LastDeclaredEncoding}{ι}
-\DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textcompwordmark}{᾿}
-
-\DeclareTextCompositeCommand{\accperispomeni}{\LastDeclaredEncoding}{\textcompwordmark}{῀}
-\DeclareTextCompositeCommand{\accdialytikaperispomeni}{\LastDeclaredEncoding}{\textcompwordmark}{῁}
-% ῂ
-% ῃ
-% ῄ
-\DeclareTextCompositeCommand{\~}{\LastDeclaredEncoding}{\texteta}{ῆ}
-\DeclareTextCompositeCommand{\~}{\LastDeclaredEncoding}{η}{ῆ}
-\DeclareTextCompositeCommand{\accperispomeni}{\LastDeclaredEncoding}{\texteta}{ῆ}
-% ῇ
-\DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\textEpsilon}{Ὲ}
-\DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\textEta}{Ὴ}
-% ῌ
-\DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\textcompwordmark}{῍}
-\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textcompwordmark}{῎}
-\DeclareTextCompositeCommand{\accpsiliperispomeni}{\LastDeclaredEncoding}{\textcompwordmark}{῏}
-
-\DeclareTextCompositeCommand{\u}{\LastDeclaredEncoding}{\textiota}{ῐ}
-\DeclareTextCompositeCommand{\=}{\LastDeclaredEncoding}{\textiota}{ῑ}
-\DeclareTextCompositeCommand{\accdialytikavaria}{\LastDeclaredEncoding}{\textiota}{ῒ}
-\DeclareTextCompositeCommand{\accdialytikaoxia}{\LastDeclaredEncoding}{\textiota}{ΐ}
-\DeclareTextCompositeCommand{\~}{\LastDeclaredEncoding}{\textiota}{ῖ}
-\DeclareTextCompositeCommand{\~}{\LastDeclaredEncoding}{ι}{ῖ}
-\DeclareTextCompositeCommand{\accperispomeni}{\LastDeclaredEncoding}{\textiota}{ῖ}
-\DeclareTextCompositeCommand{\accdialytikaperispomeni}{\LastDeclaredEncoding}{\textiota}{ῗ}
-\DeclareTextCompositeCommand{\u}{\LastDeclaredEncoding}{\textIota}{Ῐ}
-\DeclareTextCompositeCommand{\=}{\LastDeclaredEncoding}{\textIota}{Ῑ}
-\DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\textIota}{Ὶ}
-\DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\textcompwordmark}{῝}
-\DeclareTextCompositeCommand{\accdasiaoxia}{\LastDeclaredEncoding}{\textcompwordmark}{῞}
-\DeclareTextCompositeCommand{\accdasiaperispomeni}{\LastDeclaredEncoding}{\textcompwordmark}{῟}
-
-\DeclareTextCompositeCommand{\u}{\LastDeclaredEncoding}{\textupsilon}{ῠ}
-\DeclareTextCompositeCommand{\=}{\LastDeclaredEncoding}{\textupsilon}{ῡ}
-\DeclareTextCompositeCommand{\accdialytikavaria}{\LastDeclaredEncoding}{\textupsilon}{ῢ}
-\DeclareTextCompositeCommand{\accdialytikaoxia}{\LastDeclaredEncoding}{\textupsilon}{ΰ}
-\DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textrho}{ῤ}
-\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textrho}{ῥ}
-\DeclareTextCompositeCommand{\~}{\LastDeclaredEncoding}{\textupsilon}{ῦ}
-\DeclareTextCompositeCommand{\~}{\LastDeclaredEncoding}{υ}{ῦ}
-\DeclareTextCompositeCommand{\accperispomeni}{\LastDeclaredEncoding}{\textupsilon}{ῦ}
-\DeclareTextCompositeCommand{\accdialytikaperispomeni}{\LastDeclaredEncoding}{\textupsilon}{ῧ}
-\DeclareTextCompositeCommand{\u}{\LastDeclaredEncoding}{\textUpsilon}{Ῠ}
-\DeclareTextCompositeCommand{\=}{\LastDeclaredEncoding}{\textUpsilon}{Ῡ}
-\DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\textUpsilon}{Ὺ}
-\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textRho}{Ῥ}
-\DeclareTextCompositeCommand{\accdialytikavaria}{\LastDeclaredEncoding}{\textcompwordmark}{῭}
-\DeclareTextCompositeCommand{\accdialytikaoxia}{\LastDeclaredEncoding}{\textcompwordmark}{΅}
-
-% ῲ
-% ῳ
-% ῴ
-\DeclareTextCompositeCommand{\~}{\LastDeclaredEncoding}{\textomega}{ῶ}
-\DeclareTextCompositeCommand{\~}{\LastDeclaredEncoding}{ω}{ῶ}
-\DeclareTextCompositeCommand{\accperispomeni}{\LastDeclaredEncoding}{\textomega}{ῶ}
-% ῷ
-\DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\textOmicron}{Ὸ}
-\DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\textOmega}{Ὼ}
-% ῼ
-\DeclareTextCompositeCommand{\accoxia}{\LastDeclaredEncoding}{\textcompwordmark}{´}
-\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textcompwordmark}{῾}
-
-
-

Letterlike Symbols

-
\DeclareTextCommand{\textohm}{\LastDeclaredEncoding}{Ω} % OHM SIGN
-
-
-

Ancient Greek Numbers

-

TODO: map other chars to corresponding Greek letters. -See also the grnumalt package.

-

Definition with literal Unicode characters, because the code-point has 5 -hexadecimal digits:

-
\DeclareTextCommand{\textpentedeka}{\LastDeclaredEncoding}{𐅄}    % GREEK ACROPHONIC ATTIC FIFTY
-\DeclareTextCommand{\textpentehekaton}{\LastDeclaredEncoding}{𐅅} % GREEK ACROPHONIC ATTIC FIVE HUNDRED
-\DeclareTextCommand{\textpenteqilioi}{\LastDeclaredEncoding}{𐅆}  % GREEK ACROPHONIC ATTIC FIVE THOUSAND
-\DeclareTextCommand{\textpentemuria}{\LastDeclaredEncoding}{𐅇}   % GREEK ACROPHONIC ATTIC FIFTY THOUSAND
-
-
-
-

UPPERCASE

-

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

-
-

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
-\global\lccode"0372="0373 \global\uccode"0372="0372
-\global\lccode"0373="0373 \global\uccode"0373="0372
-\global\lccode"0376="0377 \global\uccode"0376="0376
-\global\lccode"0377="0377 \global\uccode"0377="0376
-\global\lccode"03FD="037B \global\uccode"03FD="03FD
-\global\lccode"037B="037B \global\uccode"037B="03FD
-\global\lccode"03FE="037C \global\uccode"03FE="03FE
-\global\lccode"037C="037C \global\uccode"037C="03FE
-\global\lccode"03FF="037D \global\uccode"03FF="03FF
-\global\lccode"037D="037D \global\uccode"037D="03FF
-\global\lccode"0386="03AC \global\uccode"0386="0391
-\global\lccode"0388="03AD \global\uccode"0388="0395
-\global\lccode"0389="03AC \global\uccode"0389="0397
-\global\lccode"038A="03AF \global\uccode"038A="0399
-\global\lccode"038C="03CC \global\uccode"038C="039F
-\global\lccode"038E="03CD \global\uccode"038E="03A5
-\global\lccode"038F="03CE \global\uccode"038F="03A9
-\global\lccode"0390="0390 \global\uccode"0390="03AA
-\global\lccode"0391="03B1 \global\uccode"0391="0391
-\global\lccode"0392="03B2 \global\uccode"0392="0392
-\global\lccode"0393="03B3 \global\uccode"0393="0393
-\global\lccode"0394="03B4 \global\uccode"0394="0394
-\global\lccode"0395="03B5 \global\uccode"0395="0395
-\global\lccode"0396="03B6 \global\uccode"0396="0396
-\global\lccode"0397="03B7 \global\uccode"0397="0397
-\global\lccode"0398="03B8 \global\uccode"0398="0398
-\global\lccode"0399="03B9 \global\uccode"0399="0399
-\global\lccode"039A="03BA \global\uccode"039A="039A
-\global\lccode"039B="03BB \global\uccode"039B="039B
-\global\lccode"039C="03BC \global\uccode"039C="039C
-\global\lccode"039D="03BD \global\uccode"039D="039D
-\global\lccode"039E="03BE \global\uccode"039E="039E
-\global\lccode"039F="03BF \global\uccode"039F="039F
-\global\lccode"03A0="03C0 \global\uccode"03A0="03A0
-\global\lccode"03A1="03C1 \global\uccode"03A1="03A1
-\global\lccode"03A3="03C3 \global\uccode"03A3="03A3
-\global\lccode"03A4="03C4 \global\uccode"03A4="03A4
-\global\lccode"03A5="03C5 \global\uccode"03A5="03A5
-\global\lccode"03A6="03C6 \global\uccode"03A6="03A6
-\global\lccode"03A7="03C7 \global\uccode"03A7="03A7
-\global\lccode"03A8="03C8 \global\uccode"03A8="03A8
-\global\lccode"03A9="03C9 \global\uccode"03A9="03A9
-\global\lccode"03AA="03CA \global\uccode"03AA="03AA
-\global\lccode"03AB="03CB \global\uccode"03AB="03AB
-\global\lccode"03AC="03AC \global\uccode"03AC="0391
-\global\lccode"03AD="03AD \global\uccode"03AD="0395
-\global\lccode"03AE="03AE \global\uccode"03AE="0397
-\global\lccode"03AF="03AF \global\uccode"03AF="0399
-\global\lccode"03B0="03B0 \global\uccode"03B0="03AB
-\global\lccode"03B1="03B1 \global\uccode"03B1="0391
-\global\lccode"03B2="03B2 \global\uccode"03B2="0392
-\global\lccode"03B3="03B3 \global\uccode"03B3="0393
-\global\lccode"03B4="03B4 \global\uccode"03B4="0394
-\global\lccode"03B5="03B5 \global\uccode"03B5="0395
-\global\lccode"03B6="03B6 \global\uccode"03B6="0396
-\global\lccode"03B7="03B7 \global\uccode"03B7="0397
-\global\lccode"03B8="03B8 \global\uccode"03B8="0398
-\global\lccode"03B9="03B9 \global\uccode"03B9="0399
-\global\lccode"03BA="03BA \global\uccode"03BA="039A
-\global\lccode"03BB="03BB \global\uccode"03BB="039B
-\global\lccode"03BC="03BC \global\uccode"03BC="039C
-\global\lccode"03BD="03BD \global\uccode"03BD="039D
-\global\lccode"03BE="03BE \global\uccode"03BE="039E
-\global\lccode"03BF="03BF \global\uccode"03BF="039F
-\global\lccode"03C0="03C0 \global\uccode"03C0="03A0
-\global\lccode"03C1="03C1 \global\uccode"03C1="03A1
-\global\lccode"03C2="03C2 \global\uccode"03C2="03A3
-\global\lccode"03C3="03C3 \global\uccode"03C3="03A3
-\global\lccode"03C4="03C4 \global\uccode"03C4="03A4
-\global\lccode"03C5="03C5 \global\uccode"03C5="03A5
-\global\lccode"03C6="03C6 \global\uccode"03C6="03A6
-\global\lccode"03C7="03C7 \global\uccode"03C7="03A7
-\global\lccode"03C8="03C8 \global\uccode"03C8="03A8
-\global\lccode"03C9="03C9 \global\uccode"03C9="03A9
-\global\lccode"03CA="03CA \global\uccode"03CA="03AA
-\global\lccode"03CB="03CB \global\uccode"03CB="03AB
-\global\lccode"03CC="03CC \global\uccode"03CC="039F
-\global\lccode"03CD="03CD \global\uccode"03CD="03A5
-\global\lccode"03CE="03CE \global\uccode"03CE="03A9
-\global\lccode"03D0="03D0 \global\uccode"03D0="0392
-\global\lccode"03D1="03D1 \global\uccode"03D1="0398
-\global\lccode"03D2="03C5 \global\uccode"03D2="03A5
-\global\lccode"03D3="03CD \global\uccode"03D3="03A5
-\global\lccode"03D4="03CB \global\uccode"03D4="03AB
-\global\lccode"03D5="03C6 \global\uccode"03D5="03A6
-\global\lccode"03D6="03C0 \global\uccode"03D6="03A0
-\global\lccode"03DA="03DB \global\uccode"03DA="03DA
-\global\lccode"03DB="03DB \global\uccode"03DB="03DA
-\global\lccode"03DC="03DD \global\uccode"03DC="03DC
-\global\lccode"03DD="03DD \global\uccode"03DD="03DC
-\global\lccode"03DE="03DF \global\uccode"03DE="03DE
-\global\lccode"03DF="03DF \global\uccode"03DF="03DE
-\global\lccode"03E0="03E1 \global\uccode"03E0="03E0
-\global\lccode"03E1="03E1 \global\uccode"03E1="03E0
-\global\lccode"03F0="03BA \global\uccode"03F0="039A
-\global\lccode"03F1="03C1 \global\uccode"03F1="03A1
-\global\lccode"03F2="03F2 \global\uccode"03F2="03F9
-\global\lccode"03F9="03F2 \global\uccode"03F9="03F9
-\global\lccode"1F00="1F00 \global\uccode"1F00="0391
-\global\lccode"1F01="1F01 \global\uccode"1F01="0391
-\global\lccode"1F02="1F02 \global\uccode"1F02="0391
-\global\lccode"1F03="1F03 \global\uccode"1F03="0391
-\global\lccode"1F04="1F04 \global\uccode"1F04="0391
-\global\lccode"1F05="1F05 \global\uccode"1F05="0391
-\global\lccode"1F06="1F06 \global\uccode"1F06="0391
-\global\lccode"1F07="1F07 \global\uccode"1F07="0391
-\global\lccode"1F08="1F00 \global\uccode"1F08="0391
-\global\lccode"1F09="1F01 \global\uccode"1F09="0391
-\global\lccode"1F0A="1F02 \global\uccode"1F0A="0391
-\global\lccode"1F0B="1F03 \global\uccode"1F0B="0391
-\global\lccode"1F0C="1F04 \global\uccode"1F0C="0391
-\global\lccode"1F0D="1F05 \global\uccode"1F0D="0391
-\global\lccode"1F0E="1F06 \global\uccode"1F0E="0391
-\global\lccode"1F0F="1F07 \global\uccode"1F0F="0391
-\global\lccode"1F10="1F10 \global\uccode"1F10="0395
-\global\lccode"1F11="1F11 \global\uccode"1F11="0395
-\global\lccode"1F12="1F12 \global\uccode"1F12="0395
-\global\lccode"1F13="1F13 \global\uccode"1F13="0395
-\global\lccode"1F14="1F14 \global\uccode"1F14="0395
-\global\lccode"1F15="1F15 \global\uccode"1F15="0395
-\global\lccode"1F18="1F10 \global\uccode"1F18="0395
-\global\lccode"1F19="1F11 \global\uccode"1F19="0395
-\global\lccode"1F1A="1F12 \global\uccode"1F1A="0395
-\global\lccode"1F1B="1F13 \global\uccode"1F1B="0395
-\global\lccode"1F1C="1F14 \global\uccode"1F1C="0395
-\global\lccode"1F1D="1F15 \global\uccode"1F1D="0395
-\global\lccode"1F20="1F20 \global\uccode"1F20="0397
-\global\lccode"1F21="1F21 \global\uccode"1F21="0397
-\global\lccode"1F22="1F22 \global\uccode"1F22="0397
-\global\lccode"1F23="1F23 \global\uccode"1F23="0397
-\global\lccode"1F24="1F24 \global\uccode"1F24="0397
-\global\lccode"1F25="1F25 \global\uccode"1F25="0397
-\global\lccode"1F26="1F26 \global\uccode"1F26="0397
-\global\lccode"1F27="1F27 \global\uccode"1F27="0397
-\global\lccode"1F28="1F20 \global\uccode"1F28="0397
-\global\lccode"1F29="1F21 \global\uccode"1F29="0397
-\global\lccode"1F2A="1F22 \global\uccode"1F2A="0397
-\global\lccode"1F2B="1F23 \global\uccode"1F2B="0397
-\global\lccode"1F2C="1F24 \global\uccode"1F2C="0397
-\global\lccode"1F2D="1F25 \global\uccode"1F2D="0397
-\global\lccode"1F2E="1F26 \global\uccode"1F2E="0397
-\global\lccode"1F2F="1F27 \global\uccode"1F2F="0397
-\global\lccode"1F30="1F30 \global\uccode"1F30="0399
-\global\lccode"1F31="1F31 \global\uccode"1F31="0399
-\global\lccode"1F32="1F32 \global\uccode"1F32="0399
-\global\lccode"1F33="1F33 \global\uccode"1F33="0399
-\global\lccode"1F34="1F34 \global\uccode"1F34="0399
-\global\lccode"1F35="1F35 \global\uccode"1F35="0399
-\global\lccode"1F36="1F36 \global\uccode"1F36="0399
-\global\lccode"1F37="1F37 \global\uccode"1F37="0399
-\global\lccode"1F38="1F30 \global\uccode"1F38="0399
-\global\lccode"1F39="1F31 \global\uccode"1F39="0399
-\global\lccode"1F3A="1F32 \global\uccode"1F3A="0399
-\global\lccode"1F3B="1F33 \global\uccode"1F3B="0399
-\global\lccode"1F3C="1F34 \global\uccode"1F3C="0399
-\global\lccode"1F3D="1F35 \global\uccode"1F3D="0399
-\global\lccode"1F3E="1F36 \global\uccode"1F3E="0399
-\global\lccode"1F3F="1F37 \global\uccode"1F3F="0399
-\global\lccode"1F40="1F40 \global\uccode"1F40="039F
-\global\lccode"1F41="1F41 \global\uccode"1F41="039F
-\global\lccode"1F42="1F42 \global\uccode"1F42="039F
-\global\lccode"1F43="1F43 \global\uccode"1F43="039F
-\global\lccode"1F44="1F44 \global\uccode"1F44="039F
-\global\lccode"1F45="1F45 \global\uccode"1F45="039F
-\global\lccode"1F48="1F40 \global\uccode"1F48="039F
-\global\lccode"1F49="1F41 \global\uccode"1F49="039F
-\global\lccode"1F4A="1F42 \global\uccode"1F4A="039F
-\global\lccode"1F4B="1F43 \global\uccode"1F4B="039F
-\global\lccode"1F4C="1F44 \global\uccode"1F4C="039F
-\global\lccode"1F4D="1F45 \global\uccode"1F4D="039F
-\global\lccode"1F50="1F50 \global\uccode"1F50="03A5
-\global\lccode"1F51="1F51 \global\uccode"1F51="03A5
-\global\lccode"1F52="1F52 \global\uccode"1F52="03A5
-\global\lccode"1F53="1F53 \global\uccode"1F53="03A5
-\global\lccode"1F54="1F54 \global\uccode"1F54="03A5
-\global\lccode"1F55="1F55 \global\uccode"1F55="03A5
-\global\lccode"1F56="1F56 \global\uccode"1F56="03A5
-\global\lccode"1F57="1F57 \global\uccode"1F57="03A5
-\global\lccode"1F59="1F51 \global\uccode"1F59="03A5
-\global\lccode"1F5B="1F53 \global\uccode"1F5B="03A5
-\global\lccode"1F5D="1F55 \global\uccode"1F5D="03A5
-\global\lccode"1F5F="1F57 \global\uccode"1F5F="03A5
-\global\lccode"1F60="1F60 \global\uccode"1F60="03A9
-\global\lccode"1F61="1F61 \global\uccode"1F61="03A9
-\global\lccode"1F62="1F62 \global\uccode"1F62="03A9
-\global\lccode"1F63="1F63 \global\uccode"1F63="03A9
-\global\lccode"1F64="1F64 \global\uccode"1F64="03A9
-\global\lccode"1F65="1F65 \global\uccode"1F65="03A9
-\global\lccode"1F66="1F66 \global\uccode"1F66="03A9
-\global\lccode"1F67="1F67 \global\uccode"1F67="03A9
-\global\lccode"1F68="1F60 \global\uccode"1F68="03A9
-\global\lccode"1F69="1F61 \global\uccode"1F69="03A9
-\global\lccode"1F6A="1F62 \global\uccode"1F6A="03A9
-\global\lccode"1F6B="1F63 \global\uccode"1F6B="03A9
-\global\lccode"1F6C="1F64 \global\uccode"1F6C="03A9
-\global\lccode"1F6D="1F65 \global\uccode"1F6D="03A9
-\global\lccode"1F6E="1F66 \global\uccode"1F6E="03A9
-\global\lccode"1F6F="1F67 \global\uccode"1F6F="03A9
-\global\lccode"1F70="1F70 \global\uccode"1F70="0391
-\global\lccode"1F71="1F71 \global\uccode"1F71="0391
-\global\lccode"1F72="1F72 \global\uccode"1F72="0395
-\global\lccode"1F73="1F73 \global\uccode"1F73="0395
-\global\lccode"1F74="1F74 \global\uccode"1F74="0397
-\global\lccode"1F75="1F75 \global\uccode"1F75="0397
-\global\lccode"1F76="1F76 \global\uccode"1F76="0399
-\global\lccode"1F77="1F77 \global\uccode"1F77="0399
-\global\lccode"1F78="1F78 \global\uccode"1F78="039F
-\global\lccode"1F79="1F79 \global\uccode"1F79="039F
-\global\lccode"1F7A="1F7A \global\uccode"1F7A="03A5
-\global\lccode"1F7B="1F7B \global\uccode"1F7B="03A5
-\global\lccode"1F7C="1F7C \global\uccode"1F7C="03A9
-\global\lccode"1F7D="1F7D \global\uccode"1F7D="03A9
-\global\lccode"1F80="1F80 \global\uccode"1F80="1FBC
-\global\lccode"1F81="1F81 \global\uccode"1F81="1FBC
-\global\lccode"1F82="1F82 \global\uccode"1F82="1FBC
-\global\lccode"1F83="1F83 \global\uccode"1F83="1FBC
-\global\lccode"1F84="1F84 \global\uccode"1F84="1FBC
-\global\lccode"1F85="1F85 \global\uccode"1F85="1FBC
-\global\lccode"1F86="1F86 \global\uccode"1F86="1FBC
-\global\lccode"1F87="1F87 \global\uccode"1F87="1FBC
-\global\lccode"1F88="1F80 \global\uccode"1F88="1FBC
-\global\lccode"1F89="1F81 \global\uccode"1F89="1FBC
-\global\lccode"1F8A="1F82 \global\uccode"1F8A="1FBC
-\global\lccode"1F8B="1F83 \global\uccode"1F8B="1FBC
-\global\lccode"1F8C="1F84 \global\uccode"1F8C="1FBC
-\global\lccode"1F8D="1F85 \global\uccode"1F8D="1FBC
-\global\lccode"1F8E="1F86 \global\uccode"1F8E="1FBC
-\global\lccode"1F8F="1F87 \global\uccode"1F8F="1FBC
-\global\lccode"1F90="1F90 \global\uccode"1F90="1FCC
-\global\lccode"1F91="1F91 \global\uccode"1F91="1FCC
-\global\lccode"1F92="1F92 \global\uccode"1F92="1FCC
-\global\lccode"1F93="1F93 \global\uccode"1F93="1FCC
-\global\lccode"1F94="1F94 \global\uccode"1F94="1FCC
-\global\lccode"1F95="1F95 \global\uccode"1F95="1FCC
-\global\lccode"1F96="1F96 \global\uccode"1F96="1FCC
-\global\lccode"1F97="1F97 \global\uccode"1F97="1FCC
-\global\lccode"1F98="1F90 \global\uccode"1F98="1FCC
-\global\lccode"1F99="1F91 \global\uccode"1F99="1FCC
-\global\lccode"1F9A="1F92 \global\uccode"1F9A="1FCC
-\global\lccode"1F9B="1F93 \global\uccode"1F9B="1FCC
-\global\lccode"1F9C="1F94 \global\uccode"1F9C="1FCC
-\global\lccode"1F9D="1F95 \global\uccode"1F9D="1FCC
-\global\lccode"1F9E="1F96 \global\uccode"1F9E="1FCC
-\global\lccode"1F9F="1F97 \global\uccode"1F9F="1FCC
-\global\lccode"1FA0="1FA0 \global\uccode"1FA0="1FFC
-\global\lccode"1FA1="1FA1 \global\uccode"1FA1="1FFC
-\global\lccode"1FA2="1FA2 \global\uccode"1FA2="1FFC
-\global\lccode"1FA3="1FA3 \global\uccode"1FA3="1FFC
-\global\lccode"1FA4="1FA4 \global\uccode"1FA4="1FFC
-\global\lccode"1FA5="1FA5 \global\uccode"1FA5="1FFC
-\global\lccode"1FA6="1FA6 \global\uccode"1FA6="1FFC
-\global\lccode"1FA7="1FA7 \global\uccode"1FA7="1FFC
-\global\lccode"1FA8="1FA0 \global\uccode"1FA8="1FFC
-\global\lccode"1FA9="1FA1 \global\uccode"1FA9="1FFC
-\global\lccode"1FAA="1FA2 \global\uccode"1FAA="1FFC
-\global\lccode"1FAB="1FA3 \global\uccode"1FAB="1FFC
-\global\lccode"1FAC="1FA4 \global\uccode"1FAC="1FFC
-\global\lccode"1FAD="1FA5 \global\uccode"1FAD="1FFC
-\global\lccode"1FAE="1FA6 \global\uccode"1FAE="1FFC
-\global\lccode"1FAF="1FA7 \global\uccode"1FAF="1FFC
-\global\lccode"1FB0="1FB0 \global\uccode"1FB0="1FB8
-\global\lccode"1FB1="1FB1 \global\uccode"1FB1="1FB9
-\global\lccode"1FB2="1FB2 \global\uccode"1FB2="1FBC
-\global\lccode"1FB3="1FB3 \global\uccode"1FB3="1FBC
-\global\lccode"1FB4="1FB4 \global\uccode"1FB4="1FBC
-\global\lccode"1FB6="1FB6 \global\uccode"1FB6="0391
-\global\lccode"1FB7="1FB7 \global\uccode"1FB7="1FBC
-\global\lccode"1FB8="1FB0 \global\uccode"1FB8="1FB8
-\global\lccode"1FB9="1FB1 \global\uccode"1FB9="1FB9
-\global\lccode"1FBA="1F70 \global\uccode"1FBA="0391
-\global\lccode"1FBB="1F71 \global\uccode"1FBB="0391
-\global\lccode"1FBC="1FB3 \global\uccode"1FBC="1FBC
-\global\lccode"1FBD="1FBD \global\uccode"1FBD="1FBD
-\global\lccode"1FC2="1FC2 \global\uccode"1FC2="1FCC
-\global\lccode"1FC3="1FC3 \global\uccode"1FC3="1FCC
-\global\lccode"1FC4="1FC4 \global\uccode"1FC4="1FCC
-\global\lccode"1FC6="1FC6 \global\uccode"1FC6="0397
-\global\lccode"1FC7="1FC7 \global\uccode"1FC7="1FCC
-\global\lccode"1FC8="1F72 \global\uccode"1FC8="0395
-\global\lccode"1FC9="1F73 \global\uccode"1FC9="0395
-\global\lccode"1FCA="1F74 \global\uccode"1FCA="0397
-\global\lccode"1FCB="1F75 \global\uccode"1FCB="0397
-\global\lccode"1FCC="1FC3 \global\uccode"1FCC="1FCC
-\global\lccode"1FD0="1FD0 \global\uccode"1FD0="1FD8
-\global\lccode"1FD1="1FD1 \global\uccode"1FD1="1FD9
-\global\lccode"1FD2="1FD2 \global\uccode"1FD2="03AA
-\global\lccode"1FD3="1FD3 \global\uccode"1FD3="03AA
-\global\lccode"1FD6="1FD6 \global\uccode"1FD6="0399
-\global\lccode"1FD7="1FD7 \global\uccode"1FD7="03AA
-\global\lccode"1FD8="1FD0 \global\uccode"1FD8="1FD8
-\global\lccode"1FD9="1FD1 \global\uccode"1FD9="1FD9
-\global\lccode"1FDA="1F76 \global\uccode"1FDA="0399
-\global\lccode"1FDB="1F77 \global\uccode"1FDB="0399
-\global\lccode"1FE0="1FE0 \global\uccode"1FE0="1FE8
-\global\lccode"1FE1="1FE1 \global\uccode"1FE1="1FE9
-\global\lccode"1FE2="1FE2 \global\uccode"1FE2="03AB
-\global\lccode"1FE3="1FE3 \global\uccode"1FE3="03AB
-\global\lccode"1FE4="1FE4 \global\uccode"1FE4="03A1
-\global\lccode"1FE5="1FE5 \global\uccode"1FE5="03A1
-\global\lccode"1FE6="1FE6 \global\uccode"1FE6="03A5
-\global\lccode"1FE7="1FE7 \global\uccode"1FE7="03AB
-\global\lccode"1FE8="1FE0 \global\uccode"1FE8="1FE8
-\global\lccode"1FE9="1FE1 \global\uccode"1FE9="1FE9
-\global\lccode"1FEA="1F7A \global\uccode"1FEA="03A5
-\global\lccode"1FEB="1F7B \global\uccode"1FEB="03A5
-\global\lccode"1FEC="1FE5 \global\uccode"1FEC="03A1
-\global\lccode"1FF2="1FF2 \global\uccode"1FF2="1FFC
-\global\lccode"1FF3="1FF3 \global\uccode"1FF3="1FFC
-\global\lccode"1FF4="1FF4 \global\uccode"1FF4="1FFC
-\global\lccode"1FF6="1FF6 \global\uccode"1FF6="03A9
-\global\lccode"1FF7="1FF7 \global\uccode"1FF7="1FFC
-\global\lccode"1FF8="1F78 \global\uccode"1FF8="039F
-\global\lccode"1FF9="1F79 \global\uccode"1FF9="039F
-\global\lccode"1FFA="1F7C \global\uccode"1FFA="03A9
-\global\lccode"1FFB="1F7D \global\uccode"1FFB="03A9
-\global\lccode"1FFC="1FF3 \global\uccode"1FFC="1FFC
-
-
-

uclclist

-

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

-

@uclclist extension (see also greek-fontenc.def):

-
\providecommand*\greek@euenc@update@uclclist{%
-  \expandafter\def\expandafter\@uclclist\expandafter{%
-    \@uclclist
-    \textkoppa \textKoppa
-  }%
-  \let\greek@euenc@update@uclclist\relax
-}
-

Expand the uclc list using the just defined macro:

-
\greek@euenc@update@uclclist
-

Now the hiatus definition modifications:

-
\DeclareTextCommand{\LGR@A@hiatus}{\LastDeclaredEncoding}{%
-  \LGR@ifnextchar{Ι}{\textAlpha\"}{%
-    \LGR@ifnextchar{Υ}{\textAlpha\"}{%
-      \LGR@ifnextchar{\textIota}{\textAlpha\"}{%
-        \LGR@ifnextchar{\textUpsilon}{\textAlpha\"}{\textAlpha}%
-      }%
-    }%
-  }%
-}
-\DeclareTextCommand{\LGR@E@hiatus}{\LastDeclaredEncoding}{%
-  \LGR@ifnextchar{Ι}{\textEpsilon\"}{%
-    \LGR@ifnextchar{Υ}{\textEpsilon\"}{%
-      \LGR@ifnextchar{\textIota}{\textEpsilon\"}{%
-        \LGR@ifnextchar{\textUpsilon}{\textEpsilon\"}{\textEpsilon}%
-      }%
-    }%
-  }%
-}
- -
-
-
- - diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/greek-euenc.def.txt b/Master/texmf-dist/doc/latex/greek-fontenc/greek-euenc.def.txt deleted file mode 100644 index c022f7f160a..00000000000 --- a/Master/texmf-dist/doc/latex/greek-fontenc/greek-euenc.def.txt +++ /dev/null @@ -1,881 +0,0 @@ -greek-euenc.def -+++++++++++++++ -Greek LICR definitions for XeTeX and LuaTeX -******************************************* - -:Copyright: © 2013 Günter Milde -:Licence: This work may be distributed and/or modified under the - conditions of the `LaTeX Project Public License`_, either - version 1.3 of this license or any later version. -:Identification: - :: - - \ProvidesFile{greek-euenc.def} - [2018/01/06 0.13.3 Greek LICRs for XeTeX and LuaTeX] - -:abstract: - Experimental support for Greek LICR macros with XeTeX and LuaTeX. - Extends euenc_. Used by babel-greek_ and textalpha_. - -**History**: - .. class:: borderless - - ====== ========== ======================================================== - 0.1 2013-07-16 initial version - 0.1.1 2013-07-18 bugfix: wrong breathings psilioxia -> dasiaoxia - 0.1.2 2013-07-19 bugfix: Disable composite defs starting with char macro, - .. fix "hiatus" handling. - 0.1.3 2013-07-24 fix "input" path. - 0.1.4 2013-10-01 remove clashing defs for legacy characters with oxia, - .. fix upcasing of ``\finalsigma``. - 0.11.1 2013-12-01 fix identification. - 0.11.2 2014-09-08 ``\textKoppa`` macro - .. (Capital Koppa is not defined in LGR but Unicode). - 0.12 2014-12-12 Remove symbol macros for breathing accents. - 0.13 2015-08-07 ``\lccode``/``\uccode`` corrections from xgreek_. - .. LICR macros for symbol variants. - 0.13.3 2018-01-06 Documentation update. - ====== ========== ======================================================== - -.. contents:: - -Motivation -========== - -LICR macro definitions for the Greek script are missing in both, xunicode_ -and euenc_. - -This file expands the font encoding definition files ``eu1enc.def`` rsp. -``eu2enc.def`` from euenc_ defining `LaTeX Internal Character -Representaction` (LICR) macros for Greek letters and symbols. It works -independed of xunicode_ using the standard commands for `LaTeX2e font -selection`_. - -Requirements -============ - -Requires XeTeX or LuaTeX, fontspec_, and a font with Greek characters. - -See ``_ and ``_ for setup and -usage examples. - - -Greek Diacritics -================ - -Define "named macros" for simple and combined diacritics. - -* Named accent macros can be used instead of the ``\@tabacckludge`` by - to-LaTeX converters to ensure working also inside the tabbing environment. - -* Named macros are required for upcasing according to Greek typesetting - conventions and in the definition of composite commands. - -Greek alias names for standard accents:: - - \DeclareTextCommand{\acctonos}{\LastDeclaredEncoding}{\@tabacckludge'} - \DeclareTextCommand{\accvaria}{\LastDeclaredEncoding}{\@tabacckludge`} - \DeclareTextCommand{\accdialytika}{\LastDeclaredEncoding}{\@tabacckludge"} - -The combining perispomeni character is normalized with Greek base letters, -while the (standard) combining tilde is not:: - - \DeclareTextCommand{\accperispomeni}{\LastDeclaredEncoding}[1]{#1\char"0342 } - -Breathings: - -(The COMBINING GREEK KORONIS is a legacy character, discarded in favour of -COMBINING COMMA ABOVE) :: - - \DeclareTextCommand{\accpsili}{\LastDeclaredEncoding}[1]{#1\char"0313 } % ψιλή spiritus lenis (smooth breathing) - \DeclareTextCommand{\accdasia}{\LastDeclaredEncoding}[1]{#1\char"0314 } % δασεῖα spiritus asper (rough breathing) - - -Sub-iota: - -``\ypogegrammeni`` is a postfix accent (ligature in LGR) :: - - \DeclareTextSymbol{\ypogegrammeni}{\LastDeclaredEncoding}{0837} % COMBINING GREEK YPOGEGRAMMENI - -Combined diacritics:: - - % The COMBINING DIALYTIKA TONOS is discarded and not well supported by fonts: - \DeclareTextCommand{\accdialytikatonos}{\LastDeclaredEncoding}[1]{#1\char"0308 \char"0301 } - \DeclareTextCommand{\accdialytikavaria}{\LastDeclaredEncoding}[1]{#1\char"0308 \char"0300 } - \DeclareTextCommand{\accdialytikaperispomeni}{\LastDeclaredEncoding}[1]{#1\char"0342 \char"0308 } - - \DeclareTextCommand{\accdasiaoxia}{\LastDeclaredEncoding}[1]{#1\char"0314 \char"0301 } - \DeclareTextCommand{\accdasiavaria}{\LastDeclaredEncoding}[1]{#1\char"0314 \char"0300 } - \DeclareTextCommand{\accdasiaperispomeni}{\LastDeclaredEncoding}[1]{#1\char"0314 \char"0342 } - - \DeclareTextCommand{\accpsilioxia}{\LastDeclaredEncoding}[1]{#1\char"0301 \char"0313 } - \DeclareTextCommand{\accpsilivaria}{\LastDeclaredEncoding}[1]{#1\char"0300 \char"0313 } - \DeclareTextCommand{\accpsiliperispomeni}{\LastDeclaredEncoding}[1]{#1\char"0342 \char"0313 } - - -Common Definitions -================== - -Use the `common Greek font encoding definitions`_:: - - \input{greek-fontenc.def} - - -Character Definitions -===================== - -General Punctuation -~~~~~~~~~~~~~~~~~~~ - -Ligature break up with ZERO WIDTH NON-JOINER:: - - \DeclareTextCommand{\textcompwordmark}{\LastDeclaredEncoding}{\char"200C} - -Greek and Coptic -~~~~~~~~~~~~~~~~ - -:: - - % NR Unicode Name % babel name, % PU name - % 0370 GREEK CAPITAL LETTER HETA % Ͱ - % 0371 GREEK SMALL LETTER HETA % ͱ - % 0372 GREEK CAPITAL LETTER ARCHAIC SAMPI % Ͳ - % 0373 GREEK SMALL LETTER ARCHAIC SAMPI % ͳ - \DeclareTextCommand{\textdexiakeraia}{\LastDeclaredEncoding}{ʹ} % \anwtonos, \textnumeralsigngreek - \DeclareTextCommand{\textaristerikeraia}{\LastDeclaredEncoding}{͵} % \katwtonos, \textnumeralsignlowergreek - % 0376 GREEK CAPITAL LETTER PAMPHYLIAN DIGAMMA % Ͷ - % 0377 GREEK SMALL LETTER PAMPHYLIAN DIGAMMA % ͷ - - % 037A GREEK YPOGEGRAMMENI (use \textcompwordmark\ypogegrammeni) % ͺ - % 037B GREEK SMALL REVERSED LUNATE SIGMA SYMBOL - % 037C GREEK SMALL DOTTED LUNATE SIGMA SYMBOL - % 037D GREEK SMALL REVERSED DOTTED LUNATE SIGMA SYMBOL - \DeclareTextCommand{\texterotimatiko}{\LastDeclaredEncoding}{;} % 037E GREEK QUESTION MARK - - \DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textcompwordmark}{΄} - \DeclareTextCompositeCommand{\accdialytikatonos}{\LastDeclaredEncoding}{\textcompwordmark}{΅} - \DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textAlpha}{Ά} - \DeclareTextCommand{\textanoteleia}{\LastDeclaredEncoding}{·} % \anoteleia - \DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textEpsilon}{Έ} - \DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textEta}{Ή} - \DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textIota}{Ί} - \DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textOmicron}{Ό} - \DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textUpsilon}{Ύ} - \DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textOmega}{Ώ} - \DeclareTextCompositeCommand{\accdialytikatonos}{\LastDeclaredEncoding}{\textiota}{ΐ} - - \DeclareTextCommand{\textAlpha}{\LastDeclaredEncoding}{Α} - \DeclareTextCommand{\textBeta}{\LastDeclaredEncoding}{Β} - \DeclareTextCommand{\textGamma}{\LastDeclaredEncoding}{Γ} - \DeclareTextCommand{\textDelta}{\LastDeclaredEncoding}{Δ} - \DeclareTextCommand{\textEpsilon}{\LastDeclaredEncoding}{Ε} - \DeclareTextCommand{\textZeta}{\LastDeclaredEncoding}{Ζ} - \DeclareTextCommand{\textEta}{\LastDeclaredEncoding}{Η} - \DeclareTextCommand{\textTheta}{\LastDeclaredEncoding}{Θ} - \DeclareTextCommand{\textIota}{\LastDeclaredEncoding}{Ι} - \DeclareTextCommand{\textKappa}{\LastDeclaredEncoding}{Κ} - \DeclareTextCommand{\textLambda}{\LastDeclaredEncoding}{Λ} - \DeclareTextCommand{\textMu}{\LastDeclaredEncoding}{Μ} - \DeclareTextCommand{\textNu}{\LastDeclaredEncoding}{Ν} - \DeclareTextCommand{\textXi}{\LastDeclaredEncoding}{Ξ} - \DeclareTextCommand{\textOmicron}{\LastDeclaredEncoding}{Ο} - \DeclareTextCommand{\textPi}{\LastDeclaredEncoding}{Π} - \DeclareTextCommand{\textRho}{\LastDeclaredEncoding}{Ρ} - \DeclareTextCommand{\textSigma}{\LastDeclaredEncoding}{Σ} - \DeclareTextCommand{\textTau}{\LastDeclaredEncoding}{Τ} - \DeclareTextCommand{\textUpsilon}{\LastDeclaredEncoding}{Υ} - \DeclareTextCommand{\textPhi}{\LastDeclaredEncoding}{Φ} - \DeclareTextCommand{\textChi}{\LastDeclaredEncoding}{Χ} - \DeclareTextCommand{\textPsi}{\LastDeclaredEncoding}{Ψ} - \DeclareTextCommand{\textOmega}{\LastDeclaredEncoding}{Ω} - - \DeclareTextCompositeCommand{\"}{\LastDeclaredEncoding}{\textIota}{Ϊ} - \DeclareTextCompositeCommand{\"}{\LastDeclaredEncoding}{\textUpsilon}{Ϋ} - \DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textalpha}{ά} - \DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textepsilon}{έ} - \DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\texteta}{ή} - \DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textiota}{ί} - \DeclareTextCompositeCommand{\accdialytikatonos}{\LastDeclaredEncoding}{\textupsilon}{ΰ} - - \DeclareTextCommand{\textalpha}{\LastDeclaredEncoding}{α} - \DeclareTextCommand{\textbeta}{\LastDeclaredEncoding}{β} - \DeclareTextCommand{\textgamma}{\LastDeclaredEncoding}{γ} - \DeclareTextCommand{\textdelta}{\LastDeclaredEncoding}{δ} - \DeclareTextCommand{\textepsilon}{\LastDeclaredEncoding}{ε} - \DeclareTextCommand{\textvarepsilon}{\LastDeclaredEncoding}{ε} % cf. $\varepsiolon$ - \DeclareTextCommand{\textzeta}{\LastDeclaredEncoding}{ζ} - \DeclareTextCommand{\texteta}{\LastDeclaredEncoding}{η} - \DeclareTextCommand{\texttheta}{\LastDeclaredEncoding}{θ} - \DeclareTextCommand{\textiota}{\LastDeclaredEncoding}{ι} - \DeclareTextCommand{\textkappa}{\LastDeclaredEncoding}{κ} - \DeclareTextCommand{\textlambda}{\LastDeclaredEncoding}{λ} - \DeclareTextCommand{\textmu}{\LastDeclaredEncoding}{μ} % \textmugreek - \DeclareTextCommand{\textnu}{\LastDeclaredEncoding}{ν} - \DeclareTextCommand{\textxi}{\LastDeclaredEncoding}{ξ} - \DeclareTextCommand{\textomicron}{\LastDeclaredEncoding}{ο} - \DeclareTextCommand{\textpi}{\LastDeclaredEncoding}{π} - \DeclareTextCommand{\textrho}{\LastDeclaredEncoding}{ρ} - \DeclareTextCommand{\textvarsigma}{\LastDeclaredEncoding}{ς} % final sigma - \DeclareTextCommand{\textfinalsigma}{\LastDeclaredEncoding}{\textvarsigma} - \DeclareTextCommand{\textsigma}{\LastDeclaredEncoding}{σ} - % Dummy definition (\textautosigma is lowercase of \textSigma): - \ProvideTextCommand{\textautosigma}{\LastDeclaredEncoding}{\textsigma} - \DeclareTextCommand{\texttau}{\LastDeclaredEncoding}{τ} - \DeclareTextCommand{\textupsilon}{\LastDeclaredEncoding}{υ} - \DeclareTextCommand{\textphi}{\LastDeclaredEncoding}{φ} - \DeclareTextCommand{\textvarphi}{\LastDeclaredEncoding}{φ} % cf. $\varphi$ - \DeclareTextCommand{\textchi}{\LastDeclaredEncoding}{χ} - \DeclareTextCommand{\textpsi}{\LastDeclaredEncoding}{ψ} - \DeclareTextCommand{\textomega}{\LastDeclaredEncoding}{ω} - - \DeclareTextCompositeCommand{\"}{\LastDeclaredEncoding}{\textiota}{ϊ} - \DeclareTextCompositeCommand{\"}{\LastDeclaredEncoding}{\textupsilon}{ϋ} - \DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textomicron}{ό} - \DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textupsilon}{ύ} - \DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textomega}{ώ} - - \DeclareTextCommand{\textQoppa}{\LastDeclaredEncoding}{Ϙ} - \DeclareTextCommand{\textqoppa}{\LastDeclaredEncoding}{ϙ} - \DeclareTextCommand{\textStigma}{\LastDeclaredEncoding}{Ϛ} - \DeclareTextCommand{\textstigma}{\LastDeclaredEncoding}{ϛ} - \DeclareTextCommand{\textDigamma}{\LastDeclaredEncoding}{Ϝ} - \DeclareTextCommand{\textdigamma}{\LastDeclaredEncoding}{ϝ} - \DeclareTextCommand{\textKoppa}{\LastDeclaredEncoding}{Ϟ} % not defined in LGR - \DeclareTextCommand{\textkoppa}{\LastDeclaredEncoding}{ϟ} % \koppa, \textqoppa [sic!] - \DeclareTextCommand{\textSampi}{\LastDeclaredEncoding}{Ϡ} - \DeclareTextCommand{\textsampi}{\LastDeclaredEncoding}{ϡ} - - % Symbol variants - \DeclareTextCommand{\textbetasymbol}{\LastDeclaredEncoding}{ϐ} - \DeclareTextCommand{\textkappasymbol}{\LastDeclaredEncoding}{ϰ} - \DeclareTextCommand{\textThetasymbol}{\LastDeclaredEncoding}{ϴ} - \DeclareTextCommand{\textthetasymbol}{\LastDeclaredEncoding}{ϑ} - \DeclareTextCommand{\textphisymbol}{\LastDeclaredEncoding}{ϕ} - \DeclareTextCommand{\textpisymbol}{\LastDeclaredEncoding}{ϖ} - \DeclareTextCommand{\textrhosymbol}{\LastDeclaredEncoding}{ϱ} - \DeclareTextCommand{\textepsilonsymbol}{\LastDeclaredEncoding}{ϵ} - % math compatibility aliases - % $\varphi$ and $\varepsilon$ refer to the letter characters (see above)! - \DeclareTextCommand{\textvarbeta}{\LastDeclaredEncoding}{\textbetasymbol} - \DeclareTextCommand{\textvarkappa}{\LastDeclaredEncoding}{ϰ} - \DeclareTextCommand{\textvarTheta}{\LastDeclaredEncoding}{ϴ} - \DeclareTextCommand{\textvartheta}{\LastDeclaredEncoding}{ϑ} - \DeclareTextCommand{\textvarpi}{\LastDeclaredEncoding}{ϖ} - \DeclareTextCommand{\textvarrho}{\LastDeclaredEncoding}{ϱ} - -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}{\LastDeclaredEncoding}{\textalpha}{ἀ} - \DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textalpha}{ἁ} - \DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\textalpha}{ἂ} - \DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\textalpha}{ἃ} - \DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textalpha}{ἄ} - \DeclareTextCompositeCommand{\accdasiaoxia}{\LastDeclaredEncoding}{\textalpha}{ἅ} - \DeclareTextCompositeCommand{\accpsiliperispomeni}{\LastDeclaredEncoding}{\textalpha}{ἆ} - \DeclareTextCompositeCommand{\accdasiaperispomeni}{\LastDeclaredEncoding}{\textalpha}{ἇ} - \DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textAlpha}{Ἀ} - \DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textAlpha}{Ἁ} - \DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\textAlpha}{Ἂ} - \DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\textAlpha}{Ἃ} - \DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textAlpha}{Ἄ} - \DeclareTextCompositeCommand{\accdasiaoxia}{\LastDeclaredEncoding}{\textAlpha}{Ἅ} - \DeclareTextCompositeCommand{\accpsiliperispomeni}{\LastDeclaredEncoding}{\textAlpha}{Ἆ} - \DeclareTextCompositeCommand{\accdasiaperispomeni}{\LastDeclaredEncoding}{\textAlpha}{Ἇ} - - \DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textepsilon}{ἐ} - \DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textepsilon}{ἑ} - \DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\textepsilon}{ἒ} - \DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\textepsilon}{ἓ} - \DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textepsilon}{ἔ} - \DeclareTextCompositeCommand{\accdasiaoxia}{\LastDeclaredEncoding}{\textepsilon}{ἕ} - \DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textEpsilon}{Ἐ} - \DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textEpsilon}{Ἑ} - \DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\textEpsilon}{Ἒ} - \DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\textEpsilon}{Ἓ} - \DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textEpsilon}{Ἔ} - \DeclareTextCompositeCommand{\accdasiaoxia}{\LastDeclaredEncoding}{\textEpsilon}{Ἕ} - - \DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\texteta}{ἠ} - \DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\texteta}{ἡ} - \DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\texteta}{ἢ} - \DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\texteta}{ἣ} - \DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\texteta}{ἤ} - \DeclareTextCompositeCommand{\accdasiaoxia}{\LastDeclaredEncoding}{\texteta}{ἥ} - \DeclareTextCompositeCommand{\accpsiliperispomeni}{\LastDeclaredEncoding}{\texteta}{ἦ} - \DeclareTextCompositeCommand{\accdasiaperispomeni}{\LastDeclaredEncoding}{\texteta}{ἧ} - \DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textEta}{Ἠ} - \DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textEta}{Ἡ} - \DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\textEta}{Ἢ} - \DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\textEta}{Ἣ} - \DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textEta}{Ἤ} - \DeclareTextCompositeCommand{\accdasiaoxia}{\LastDeclaredEncoding}{\textEta}{Ἥ} - \DeclareTextCompositeCommand{\accpsiliperispomeni}{\LastDeclaredEncoding}{\textEta}{Ἦ} - \DeclareTextCompositeCommand{\accdasiaperispomeni}{\LastDeclaredEncoding}{\textEta}{Ἧ} - - \DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textiota}{ἰ} - \DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textiota}{ἱ} - \DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\textiota}{ἲ} - \DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\textiota}{ἳ} - \DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textiota}{ἴ} - \DeclareTextCompositeCommand{\accdasiaoxia}{\LastDeclaredEncoding}{\textiota}{ἵ} - \DeclareTextCompositeCommand{\accpsiliperispomeni}{\LastDeclaredEncoding}{\textiota}{ἶ} - \DeclareTextCompositeCommand{\accdasiaperispomeni}{\LastDeclaredEncoding}{\textiota}{ἷ} - \DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textIota}{Ἰ} - \DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textIota}{Ἱ} - \DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\textIota}{Ἲ} - \DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\textIota}{Ἳ} - \DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textIota}{Ἴ} - \DeclareTextCompositeCommand{\accdasiaoxia}{\LastDeclaredEncoding}{\textIota}{Ἵ} - \DeclareTextCompositeCommand{\accpsiliperispomeni}{\LastDeclaredEncoding}{\textIota}{Ἶ} - \DeclareTextCompositeCommand{\accdasiaperispomeni}{\LastDeclaredEncoding}{\textIota}{Ἷ} - - \DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textomicron}{ὀ} - \DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textomicron}{ὁ} - \DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\textomicron}{ὂ} - \DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\textomicron}{ὃ} - \DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textomicron}{ὄ} - \DeclareTextCompositeCommand{\accdasiaoxia}{\LastDeclaredEncoding}{\textomicron}{ὅ} - \DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textOmicron}{Ὀ} - \DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textOmicron}{Ὁ} - \DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\textOmicron}{Ὂ} - \DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\textOmicron}{Ὃ} - \DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textOmicron}{Ὄ} - \DeclareTextCompositeCommand{\accdasiaoxia}{\LastDeclaredEncoding}{\textOmicron}{Ὅ} - - \DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textupsilon}{ὐ} - \DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textupsilon}{ὑ} - \DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\textupsilon}{ὒ} - \DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\textupsilon}{ὓ} - \DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textupsilon}{ὔ} - \DeclareTextCompositeCommand{\accdasiaoxia}{\LastDeclaredEncoding}{\textupsilon}{ὕ} - \DeclareTextCompositeCommand{\accpsiliperispomeni}{\LastDeclaredEncoding}{\textupsilon}{ὖ} - \DeclareTextCompositeCommand{\accdasiaperispomeni}{\LastDeclaredEncoding}{\textupsilon}{ὗ} - \DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textUpsilon}{Ὑ} - \DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\textUpsilon}{Ὓ} - \DeclareTextCompositeCommand{\accdasiaoxia}{\LastDeclaredEncoding}{\textUpsilon}{Ὕ} - \DeclareTextCompositeCommand{\accdasiaperispomeni}{\LastDeclaredEncoding}{\textUpsilon}{Ὗ} - - \DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textomega}{ὠ} - \DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textomega}{ὡ} - \DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\textomega}{ὢ} - \DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\textomega}{ὣ} - \DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textomega}{ὤ} - \DeclareTextCompositeCommand{\accdasiaoxia}{\LastDeclaredEncoding}{\textomega}{ὥ} - \DeclareTextCompositeCommand{\accpsiliperispomeni}{\LastDeclaredEncoding}{\textomega}{ὦ} - \DeclareTextCompositeCommand{\accdasiaperispomeni}{\LastDeclaredEncoding}{\textomega}{ὧ} - \DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textOmega}{Ὠ} - \DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textOmega}{Ὡ} - \DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\textOmega}{Ὢ} - \DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\textOmega}{Ὣ} - \DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textOmega}{Ὤ} - \DeclareTextCompositeCommand{\accdasiaoxia}{\LastDeclaredEncoding}{\textOmega}{Ὥ} - \DeclareTextCompositeCommand{\accpsiliperispomeni}{\LastDeclaredEncoding}{\textOmega}{Ὦ} - \DeclareTextCompositeCommand{\accdasiaperispomeni}{\LastDeclaredEncoding}{\textOmega}{Ὧ} - - \DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\textalpha}{ὰ} - \DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\textepsilon}{ὲ} - \DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\texteta}{ὴ} - \DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\textiota}{ὶ} - \DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\textomicron}{ὸ} - \DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\textupsilon}{ὺ} - \DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\textomega}{ὼ} - - \DeclareTextCompositeCommand{\u}{\LastDeclaredEncoding}{\textalpha}{ᾰ} - \DeclareTextCompositeCommand{\=}{\LastDeclaredEncoding}{\textalpha}{ᾱ} - % ᾲ - % ᾳ - % ᾴ - \DeclareTextCompositeCommand{\~}{\LastDeclaredEncoding}{\textalpha}{ᾶ} - \DeclareTextCompositeCommand{\~}{\LastDeclaredEncoding}{α}{ᾶ} - \DeclareTextCompositeCommand{\accperispomeni}{\LastDeclaredEncoding}{\textalpha}{ᾶ} - % ᾷ - \DeclareTextCompositeCommand{\u}{\LastDeclaredEncoding}{\textAlpha}{Ᾰ} - \DeclareTextCompositeCommand{\=}{\LastDeclaredEncoding}{\textAlpha}{Ᾱ} - \DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\textAlpha}{Ὰ} - % ᾼ - \DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textcompwordmark}{᾽} - \DeclareTextCommand{\prosgegrammeni}{\LastDeclaredEncoding}{ι} - \DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textcompwordmark}{᾿} - - \DeclareTextCompositeCommand{\accperispomeni}{\LastDeclaredEncoding}{\textcompwordmark}{῀} - \DeclareTextCompositeCommand{\accdialytikaperispomeni}{\LastDeclaredEncoding}{\textcompwordmark}{῁} - % ῂ - % ῃ - % ῄ - \DeclareTextCompositeCommand{\~}{\LastDeclaredEncoding}{\texteta}{ῆ} - \DeclareTextCompositeCommand{\~}{\LastDeclaredEncoding}{η}{ῆ} - \DeclareTextCompositeCommand{\accperispomeni}{\LastDeclaredEncoding}{\texteta}{ῆ} - % ῇ - \DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\textEpsilon}{Ὲ} - \DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\textEta}{Ὴ} - % ῌ - \DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\textcompwordmark}{῍} - \DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textcompwordmark}{῎} - \DeclareTextCompositeCommand{\accpsiliperispomeni}{\LastDeclaredEncoding}{\textcompwordmark}{῏} - - \DeclareTextCompositeCommand{\u}{\LastDeclaredEncoding}{\textiota}{ῐ} - \DeclareTextCompositeCommand{\=}{\LastDeclaredEncoding}{\textiota}{ῑ} - \DeclareTextCompositeCommand{\accdialytikavaria}{\LastDeclaredEncoding}{\textiota}{ῒ} - \DeclareTextCompositeCommand{\accdialytikaoxia}{\LastDeclaredEncoding}{\textiota}{ΐ} - \DeclareTextCompositeCommand{\~}{\LastDeclaredEncoding}{\textiota}{ῖ} - \DeclareTextCompositeCommand{\~}{\LastDeclaredEncoding}{ι}{ῖ} - \DeclareTextCompositeCommand{\accperispomeni}{\LastDeclaredEncoding}{\textiota}{ῖ} - \DeclareTextCompositeCommand{\accdialytikaperispomeni}{\LastDeclaredEncoding}{\textiota}{ῗ} - \DeclareTextCompositeCommand{\u}{\LastDeclaredEncoding}{\textIota}{Ῐ} - \DeclareTextCompositeCommand{\=}{\LastDeclaredEncoding}{\textIota}{Ῑ} - \DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\textIota}{Ὶ} - \DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\textcompwordmark}{῝} - \DeclareTextCompositeCommand{\accdasiaoxia}{\LastDeclaredEncoding}{\textcompwordmark}{῞} - \DeclareTextCompositeCommand{\accdasiaperispomeni}{\LastDeclaredEncoding}{\textcompwordmark}{῟} - - \DeclareTextCompositeCommand{\u}{\LastDeclaredEncoding}{\textupsilon}{ῠ} - \DeclareTextCompositeCommand{\=}{\LastDeclaredEncoding}{\textupsilon}{ῡ} - \DeclareTextCompositeCommand{\accdialytikavaria}{\LastDeclaredEncoding}{\textupsilon}{ῢ} - \DeclareTextCompositeCommand{\accdialytikaoxia}{\LastDeclaredEncoding}{\textupsilon}{ΰ} - \DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textrho}{ῤ} - \DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textrho}{ῥ} - \DeclareTextCompositeCommand{\~}{\LastDeclaredEncoding}{\textupsilon}{ῦ} - \DeclareTextCompositeCommand{\~}{\LastDeclaredEncoding}{υ}{ῦ} - \DeclareTextCompositeCommand{\accperispomeni}{\LastDeclaredEncoding}{\textupsilon}{ῦ} - \DeclareTextCompositeCommand{\accdialytikaperispomeni}{\LastDeclaredEncoding}{\textupsilon}{ῧ} - \DeclareTextCompositeCommand{\u}{\LastDeclaredEncoding}{\textUpsilon}{Ῠ} - \DeclareTextCompositeCommand{\=}{\LastDeclaredEncoding}{\textUpsilon}{Ῡ} - \DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\textUpsilon}{Ὺ} - \DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textRho}{Ῥ} - \DeclareTextCompositeCommand{\accdialytikavaria}{\LastDeclaredEncoding}{\textcompwordmark}{῭} - \DeclareTextCompositeCommand{\accdialytikaoxia}{\LastDeclaredEncoding}{\textcompwordmark}{΅} - - % ῲ - % ῳ - % ῴ - \DeclareTextCompositeCommand{\~}{\LastDeclaredEncoding}{\textomega}{ῶ} - \DeclareTextCompositeCommand{\~}{\LastDeclaredEncoding}{ω}{ῶ} - \DeclareTextCompositeCommand{\accperispomeni}{\LastDeclaredEncoding}{\textomega}{ῶ} - % ῷ - \DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\textOmicron}{Ὸ} - \DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\textOmega}{Ὼ} - % ῼ - \DeclareTextCompositeCommand{\accoxia}{\LastDeclaredEncoding}{\textcompwordmark}{´} - \DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textcompwordmark}{῾} - -Letterlike Symbols -~~~~~~~~~~~~~~~~~~ -:: - - \DeclareTextCommand{\textohm}{\LastDeclaredEncoding}{Ω} % OHM SIGN - -Ancient Greek Numbers -~~~~~~~~~~~~~~~~~~~~~ -TODO: map other chars to corresponding Greek letters. -See also the grnumalt_ package. - -Definition with literal Unicode characters, because the code-point has 5 -hexadecimal digits: - -:: - - \DeclareTextCommand{\textpentedeka}{\LastDeclaredEncoding}{𐅄} % GREEK ACROPHONIC ATTIC FIFTY - \DeclareTextCommand{\textpentehekaton}{\LastDeclaredEncoding}{𐅅} % GREEK ACROPHONIC ATTIC FIVE HUNDRED - \DeclareTextCommand{\textpenteqilioi}{\LastDeclaredEncoding}{𐅆} % GREEK ACROPHONIC ATTIC FIVE THOUSAND - \DeclareTextCommand{\textpentemuria}{\LastDeclaredEncoding}{𐅇} % GREEK ACROPHONIC ATTIC FIFTY THOUSAND - - -UPPERCASE -========= - -Greek letters drop diacritics (eccept dialytika and sub-iota) in UPPERCASE. - -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 - \global\lccode"0372="0373 \global\uccode"0372="0372 - \global\lccode"0373="0373 \global\uccode"0373="0372 - \global\lccode"0376="0377 \global\uccode"0376="0376 - \global\lccode"0377="0377 \global\uccode"0377="0376 - \global\lccode"03FD="037B \global\uccode"03FD="03FD - \global\lccode"037B="037B \global\uccode"037B="03FD - \global\lccode"03FE="037C \global\uccode"03FE="03FE - \global\lccode"037C="037C \global\uccode"037C="03FE - \global\lccode"03FF="037D \global\uccode"03FF="03FF - \global\lccode"037D="037D \global\uccode"037D="03FF - \global\lccode"0386="03AC \global\uccode"0386="0391 - \global\lccode"0388="03AD \global\uccode"0388="0395 - \global\lccode"0389="03AC \global\uccode"0389="0397 - \global\lccode"038A="03AF \global\uccode"038A="0399 - \global\lccode"038C="03CC \global\uccode"038C="039F - \global\lccode"038E="03CD \global\uccode"038E="03A5 - \global\lccode"038F="03CE \global\uccode"038F="03A9 - \global\lccode"0390="0390 \global\uccode"0390="03AA - \global\lccode"0391="03B1 \global\uccode"0391="0391 - \global\lccode"0392="03B2 \global\uccode"0392="0392 - \global\lccode"0393="03B3 \global\uccode"0393="0393 - \global\lccode"0394="03B4 \global\uccode"0394="0394 - \global\lccode"0395="03B5 \global\uccode"0395="0395 - \global\lccode"0396="03B6 \global\uccode"0396="0396 - \global\lccode"0397="03B7 \global\uccode"0397="0397 - \global\lccode"0398="03B8 \global\uccode"0398="0398 - \global\lccode"0399="03B9 \global\uccode"0399="0399 - \global\lccode"039A="03BA \global\uccode"039A="039A - \global\lccode"039B="03BB \global\uccode"039B="039B - \global\lccode"039C="03BC \global\uccode"039C="039C - \global\lccode"039D="03BD \global\uccode"039D="039D - \global\lccode"039E="03BE \global\uccode"039E="039E - \global\lccode"039F="03BF \global\uccode"039F="039F - \global\lccode"03A0="03C0 \global\uccode"03A0="03A0 - \global\lccode"03A1="03C1 \global\uccode"03A1="03A1 - \global\lccode"03A3="03C3 \global\uccode"03A3="03A3 - \global\lccode"03A4="03C4 \global\uccode"03A4="03A4 - \global\lccode"03A5="03C5 \global\uccode"03A5="03A5 - \global\lccode"03A6="03C6 \global\uccode"03A6="03A6 - \global\lccode"03A7="03C7 \global\uccode"03A7="03A7 - \global\lccode"03A8="03C8 \global\uccode"03A8="03A8 - \global\lccode"03A9="03C9 \global\uccode"03A9="03A9 - \global\lccode"03AA="03CA \global\uccode"03AA="03AA - \global\lccode"03AB="03CB \global\uccode"03AB="03AB - \global\lccode"03AC="03AC \global\uccode"03AC="0391 - \global\lccode"03AD="03AD \global\uccode"03AD="0395 - \global\lccode"03AE="03AE \global\uccode"03AE="0397 - \global\lccode"03AF="03AF \global\uccode"03AF="0399 - \global\lccode"03B0="03B0 \global\uccode"03B0="03AB - \global\lccode"03B1="03B1 \global\uccode"03B1="0391 - \global\lccode"03B2="03B2 \global\uccode"03B2="0392 - \global\lccode"03B3="03B3 \global\uccode"03B3="0393 - \global\lccode"03B4="03B4 \global\uccode"03B4="0394 - \global\lccode"03B5="03B5 \global\uccode"03B5="0395 - \global\lccode"03B6="03B6 \global\uccode"03B6="0396 - \global\lccode"03B7="03B7 \global\uccode"03B7="0397 - \global\lccode"03B8="03B8 \global\uccode"03B8="0398 - \global\lccode"03B9="03B9 \global\uccode"03B9="0399 - \global\lccode"03BA="03BA \global\uccode"03BA="039A - \global\lccode"03BB="03BB \global\uccode"03BB="039B - \global\lccode"03BC="03BC \global\uccode"03BC="039C - \global\lccode"03BD="03BD \global\uccode"03BD="039D - \global\lccode"03BE="03BE \global\uccode"03BE="039E - \global\lccode"03BF="03BF \global\uccode"03BF="039F - \global\lccode"03C0="03C0 \global\uccode"03C0="03A0 - \global\lccode"03C1="03C1 \global\uccode"03C1="03A1 - \global\lccode"03C2="03C2 \global\uccode"03C2="03A3 - \global\lccode"03C3="03C3 \global\uccode"03C3="03A3 - \global\lccode"03C4="03C4 \global\uccode"03C4="03A4 - \global\lccode"03C5="03C5 \global\uccode"03C5="03A5 - \global\lccode"03C6="03C6 \global\uccode"03C6="03A6 - \global\lccode"03C7="03C7 \global\uccode"03C7="03A7 - \global\lccode"03C8="03C8 \global\uccode"03C8="03A8 - \global\lccode"03C9="03C9 \global\uccode"03C9="03A9 - \global\lccode"03CA="03CA \global\uccode"03CA="03AA - \global\lccode"03CB="03CB \global\uccode"03CB="03AB - \global\lccode"03CC="03CC \global\uccode"03CC="039F - \global\lccode"03CD="03CD \global\uccode"03CD="03A5 - \global\lccode"03CE="03CE \global\uccode"03CE="03A9 - \global\lccode"03D0="03D0 \global\uccode"03D0="0392 - \global\lccode"03D1="03D1 \global\uccode"03D1="0398 - \global\lccode"03D2="03C5 \global\uccode"03D2="03A5 - \global\lccode"03D3="03CD \global\uccode"03D3="03A5 - \global\lccode"03D4="03CB \global\uccode"03D4="03AB - \global\lccode"03D5="03C6 \global\uccode"03D5="03A6 - \global\lccode"03D6="03C0 \global\uccode"03D6="03A0 - \global\lccode"03DA="03DB \global\uccode"03DA="03DA - \global\lccode"03DB="03DB \global\uccode"03DB="03DA - \global\lccode"03DC="03DD \global\uccode"03DC="03DC - \global\lccode"03DD="03DD \global\uccode"03DD="03DC - \global\lccode"03DE="03DF \global\uccode"03DE="03DE - \global\lccode"03DF="03DF \global\uccode"03DF="03DE - \global\lccode"03E0="03E1 \global\uccode"03E0="03E0 - \global\lccode"03E1="03E1 \global\uccode"03E1="03E0 - \global\lccode"03F0="03BA \global\uccode"03F0="039A - \global\lccode"03F1="03C1 \global\uccode"03F1="03A1 - \global\lccode"03F2="03F2 \global\uccode"03F2="03F9 - \global\lccode"03F9="03F2 \global\uccode"03F9="03F9 - \global\lccode"1F00="1F00 \global\uccode"1F00="0391 - \global\lccode"1F01="1F01 \global\uccode"1F01="0391 - \global\lccode"1F02="1F02 \global\uccode"1F02="0391 - \global\lccode"1F03="1F03 \global\uccode"1F03="0391 - \global\lccode"1F04="1F04 \global\uccode"1F04="0391 - \global\lccode"1F05="1F05 \global\uccode"1F05="0391 - \global\lccode"1F06="1F06 \global\uccode"1F06="0391 - \global\lccode"1F07="1F07 \global\uccode"1F07="0391 - \global\lccode"1F08="1F00 \global\uccode"1F08="0391 - \global\lccode"1F09="1F01 \global\uccode"1F09="0391 - \global\lccode"1F0A="1F02 \global\uccode"1F0A="0391 - \global\lccode"1F0B="1F03 \global\uccode"1F0B="0391 - \global\lccode"1F0C="1F04 \global\uccode"1F0C="0391 - \global\lccode"1F0D="1F05 \global\uccode"1F0D="0391 - \global\lccode"1F0E="1F06 \global\uccode"1F0E="0391 - \global\lccode"1F0F="1F07 \global\uccode"1F0F="0391 - \global\lccode"1F10="1F10 \global\uccode"1F10="0395 - \global\lccode"1F11="1F11 \global\uccode"1F11="0395 - \global\lccode"1F12="1F12 \global\uccode"1F12="0395 - \global\lccode"1F13="1F13 \global\uccode"1F13="0395 - \global\lccode"1F14="1F14 \global\uccode"1F14="0395 - \global\lccode"1F15="1F15 \global\uccode"1F15="0395 - \global\lccode"1F18="1F10 \global\uccode"1F18="0395 - \global\lccode"1F19="1F11 \global\uccode"1F19="0395 - \global\lccode"1F1A="1F12 \global\uccode"1F1A="0395 - \global\lccode"1F1B="1F13 \global\uccode"1F1B="0395 - \global\lccode"1F1C="1F14 \global\uccode"1F1C="0395 - \global\lccode"1F1D="1F15 \global\uccode"1F1D="0395 - \global\lccode"1F20="1F20 \global\uccode"1F20="0397 - \global\lccode"1F21="1F21 \global\uccode"1F21="0397 - \global\lccode"1F22="1F22 \global\uccode"1F22="0397 - \global\lccode"1F23="1F23 \global\uccode"1F23="0397 - \global\lccode"1F24="1F24 \global\uccode"1F24="0397 - \global\lccode"1F25="1F25 \global\uccode"1F25="0397 - \global\lccode"1F26="1F26 \global\uccode"1F26="0397 - \global\lccode"1F27="1F27 \global\uccode"1F27="0397 - \global\lccode"1F28="1F20 \global\uccode"1F28="0397 - \global\lccode"1F29="1F21 \global\uccode"1F29="0397 - \global\lccode"1F2A="1F22 \global\uccode"1F2A="0397 - \global\lccode"1F2B="1F23 \global\uccode"1F2B="0397 - \global\lccode"1F2C="1F24 \global\uccode"1F2C="0397 - \global\lccode"1F2D="1F25 \global\uccode"1F2D="0397 - \global\lccode"1F2E="1F26 \global\uccode"1F2E="0397 - \global\lccode"1F2F="1F27 \global\uccode"1F2F="0397 - \global\lccode"1F30="1F30 \global\uccode"1F30="0399 - \global\lccode"1F31="1F31 \global\uccode"1F31="0399 - \global\lccode"1F32="1F32 \global\uccode"1F32="0399 - \global\lccode"1F33="1F33 \global\uccode"1F33="0399 - \global\lccode"1F34="1F34 \global\uccode"1F34="0399 - \global\lccode"1F35="1F35 \global\uccode"1F35="0399 - \global\lccode"1F36="1F36 \global\uccode"1F36="0399 - \global\lccode"1F37="1F37 \global\uccode"1F37="0399 - \global\lccode"1F38="1F30 \global\uccode"1F38="0399 - \global\lccode"1F39="1F31 \global\uccode"1F39="0399 - \global\lccode"1F3A="1F32 \global\uccode"1F3A="0399 - \global\lccode"1F3B="1F33 \global\uccode"1F3B="0399 - \global\lccode"1F3C="1F34 \global\uccode"1F3C="0399 - \global\lccode"1F3D="1F35 \global\uccode"1F3D="0399 - \global\lccode"1F3E="1F36 \global\uccode"1F3E="0399 - \global\lccode"1F3F="1F37 \global\uccode"1F3F="0399 - \global\lccode"1F40="1F40 \global\uccode"1F40="039F - \global\lccode"1F41="1F41 \global\uccode"1F41="039F - \global\lccode"1F42="1F42 \global\uccode"1F42="039F - \global\lccode"1F43="1F43 \global\uccode"1F43="039F - \global\lccode"1F44="1F44 \global\uccode"1F44="039F - \global\lccode"1F45="1F45 \global\uccode"1F45="039F - \global\lccode"1F48="1F40 \global\uccode"1F48="039F - \global\lccode"1F49="1F41 \global\uccode"1F49="039F - \global\lccode"1F4A="1F42 \global\uccode"1F4A="039F - \global\lccode"1F4B="1F43 \global\uccode"1F4B="039F - \global\lccode"1F4C="1F44 \global\uccode"1F4C="039F - \global\lccode"1F4D="1F45 \global\uccode"1F4D="039F - \global\lccode"1F50="1F50 \global\uccode"1F50="03A5 - \global\lccode"1F51="1F51 \global\uccode"1F51="03A5 - \global\lccode"1F52="1F52 \global\uccode"1F52="03A5 - \global\lccode"1F53="1F53 \global\uccode"1F53="03A5 - \global\lccode"1F54="1F54 \global\uccode"1F54="03A5 - \global\lccode"1F55="1F55 \global\uccode"1F55="03A5 - \global\lccode"1F56="1F56 \global\uccode"1F56="03A5 - \global\lccode"1F57="1F57 \global\uccode"1F57="03A5 - \global\lccode"1F59="1F51 \global\uccode"1F59="03A5 - \global\lccode"1F5B="1F53 \global\uccode"1F5B="03A5 - \global\lccode"1F5D="1F55 \global\uccode"1F5D="03A5 - \global\lccode"1F5F="1F57 \global\uccode"1F5F="03A5 - \global\lccode"1F60="1F60 \global\uccode"1F60="03A9 - \global\lccode"1F61="1F61 \global\uccode"1F61="03A9 - \global\lccode"1F62="1F62 \global\uccode"1F62="03A9 - \global\lccode"1F63="1F63 \global\uccode"1F63="03A9 - \global\lccode"1F64="1F64 \global\uccode"1F64="03A9 - \global\lccode"1F65="1F65 \global\uccode"1F65="03A9 - \global\lccode"1F66="1F66 \global\uccode"1F66="03A9 - \global\lccode"1F67="1F67 \global\uccode"1F67="03A9 - \global\lccode"1F68="1F60 \global\uccode"1F68="03A9 - \global\lccode"1F69="1F61 \global\uccode"1F69="03A9 - \global\lccode"1F6A="1F62 \global\uccode"1F6A="03A9 - \global\lccode"1F6B="1F63 \global\uccode"1F6B="03A9 - \global\lccode"1F6C="1F64 \global\uccode"1F6C="03A9 - \global\lccode"1F6D="1F65 \global\uccode"1F6D="03A9 - \global\lccode"1F6E="1F66 \global\uccode"1F6E="03A9 - \global\lccode"1F6F="1F67 \global\uccode"1F6F="03A9 - \global\lccode"1F70="1F70 \global\uccode"1F70="0391 - \global\lccode"1F71="1F71 \global\uccode"1F71="0391 - \global\lccode"1F72="1F72 \global\uccode"1F72="0395 - \global\lccode"1F73="1F73 \global\uccode"1F73="0395 - \global\lccode"1F74="1F74 \global\uccode"1F74="0397 - \global\lccode"1F75="1F75 \global\uccode"1F75="0397 - \global\lccode"1F76="1F76 \global\uccode"1F76="0399 - \global\lccode"1F77="1F77 \global\uccode"1F77="0399 - \global\lccode"1F78="1F78 \global\uccode"1F78="039F - \global\lccode"1F79="1F79 \global\uccode"1F79="039F - \global\lccode"1F7A="1F7A \global\uccode"1F7A="03A5 - \global\lccode"1F7B="1F7B \global\uccode"1F7B="03A5 - \global\lccode"1F7C="1F7C \global\uccode"1F7C="03A9 - \global\lccode"1F7D="1F7D \global\uccode"1F7D="03A9 - \global\lccode"1F80="1F80 \global\uccode"1F80="1FBC - \global\lccode"1F81="1F81 \global\uccode"1F81="1FBC - \global\lccode"1F82="1F82 \global\uccode"1F82="1FBC - \global\lccode"1F83="1F83 \global\uccode"1F83="1FBC - \global\lccode"1F84="1F84 \global\uccode"1F84="1FBC - \global\lccode"1F85="1F85 \global\uccode"1F85="1FBC - \global\lccode"1F86="1F86 \global\uccode"1F86="1FBC - \global\lccode"1F87="1F87 \global\uccode"1F87="1FBC - \global\lccode"1F88="1F80 \global\uccode"1F88="1FBC - \global\lccode"1F89="1F81 \global\uccode"1F89="1FBC - \global\lccode"1F8A="1F82 \global\uccode"1F8A="1FBC - \global\lccode"1F8B="1F83 \global\uccode"1F8B="1FBC - \global\lccode"1F8C="1F84 \global\uccode"1F8C="1FBC - \global\lccode"1F8D="1F85 \global\uccode"1F8D="1FBC - \global\lccode"1F8E="1F86 \global\uccode"1F8E="1FBC - \global\lccode"1F8F="1F87 \global\uccode"1F8F="1FBC - \global\lccode"1F90="1F90 \global\uccode"1F90="1FCC - \global\lccode"1F91="1F91 \global\uccode"1F91="1FCC - \global\lccode"1F92="1F92 \global\uccode"1F92="1FCC - \global\lccode"1F93="1F93 \global\uccode"1F93="1FCC - \global\lccode"1F94="1F94 \global\uccode"1F94="1FCC - \global\lccode"1F95="1F95 \global\uccode"1F95="1FCC - \global\lccode"1F96="1F96 \global\uccode"1F96="1FCC - \global\lccode"1F97="1F97 \global\uccode"1F97="1FCC - \global\lccode"1F98="1F90 \global\uccode"1F98="1FCC - \global\lccode"1F99="1F91 \global\uccode"1F99="1FCC - \global\lccode"1F9A="1F92 \global\uccode"1F9A="1FCC - \global\lccode"1F9B="1F93 \global\uccode"1F9B="1FCC - \global\lccode"1F9C="1F94 \global\uccode"1F9C="1FCC - \global\lccode"1F9D="1F95 \global\uccode"1F9D="1FCC - \global\lccode"1F9E="1F96 \global\uccode"1F9E="1FCC - \global\lccode"1F9F="1F97 \global\uccode"1F9F="1FCC - \global\lccode"1FA0="1FA0 \global\uccode"1FA0="1FFC - \global\lccode"1FA1="1FA1 \global\uccode"1FA1="1FFC - \global\lccode"1FA2="1FA2 \global\uccode"1FA2="1FFC - \global\lccode"1FA3="1FA3 \global\uccode"1FA3="1FFC - \global\lccode"1FA4="1FA4 \global\uccode"1FA4="1FFC - \global\lccode"1FA5="1FA5 \global\uccode"1FA5="1FFC - \global\lccode"1FA6="1FA6 \global\uccode"1FA6="1FFC - \global\lccode"1FA7="1FA7 \global\uccode"1FA7="1FFC - \global\lccode"1FA8="1FA0 \global\uccode"1FA8="1FFC - \global\lccode"1FA9="1FA1 \global\uccode"1FA9="1FFC - \global\lccode"1FAA="1FA2 \global\uccode"1FAA="1FFC - \global\lccode"1FAB="1FA3 \global\uccode"1FAB="1FFC - \global\lccode"1FAC="1FA4 \global\uccode"1FAC="1FFC - \global\lccode"1FAD="1FA5 \global\uccode"1FAD="1FFC - \global\lccode"1FAE="1FA6 \global\uccode"1FAE="1FFC - \global\lccode"1FAF="1FA7 \global\uccode"1FAF="1FFC - \global\lccode"1FB0="1FB0 \global\uccode"1FB0="1FB8 - \global\lccode"1FB1="1FB1 \global\uccode"1FB1="1FB9 - \global\lccode"1FB2="1FB2 \global\uccode"1FB2="1FBC - \global\lccode"1FB3="1FB3 \global\uccode"1FB3="1FBC - \global\lccode"1FB4="1FB4 \global\uccode"1FB4="1FBC - \global\lccode"1FB6="1FB6 \global\uccode"1FB6="0391 - \global\lccode"1FB7="1FB7 \global\uccode"1FB7="1FBC - \global\lccode"1FB8="1FB0 \global\uccode"1FB8="1FB8 - \global\lccode"1FB9="1FB1 \global\uccode"1FB9="1FB9 - \global\lccode"1FBA="1F70 \global\uccode"1FBA="0391 - \global\lccode"1FBB="1F71 \global\uccode"1FBB="0391 - \global\lccode"1FBC="1FB3 \global\uccode"1FBC="1FBC - \global\lccode"1FBD="1FBD \global\uccode"1FBD="1FBD - \global\lccode"1FC2="1FC2 \global\uccode"1FC2="1FCC - \global\lccode"1FC3="1FC3 \global\uccode"1FC3="1FCC - \global\lccode"1FC4="1FC4 \global\uccode"1FC4="1FCC - \global\lccode"1FC6="1FC6 \global\uccode"1FC6="0397 - \global\lccode"1FC7="1FC7 \global\uccode"1FC7="1FCC - \global\lccode"1FC8="1F72 \global\uccode"1FC8="0395 - \global\lccode"1FC9="1F73 \global\uccode"1FC9="0395 - \global\lccode"1FCA="1F74 \global\uccode"1FCA="0397 - \global\lccode"1FCB="1F75 \global\uccode"1FCB="0397 - \global\lccode"1FCC="1FC3 \global\uccode"1FCC="1FCC - \global\lccode"1FD0="1FD0 \global\uccode"1FD0="1FD8 - \global\lccode"1FD1="1FD1 \global\uccode"1FD1="1FD9 - \global\lccode"1FD2="1FD2 \global\uccode"1FD2="03AA - \global\lccode"1FD3="1FD3 \global\uccode"1FD3="03AA - \global\lccode"1FD6="1FD6 \global\uccode"1FD6="0399 - \global\lccode"1FD7="1FD7 \global\uccode"1FD7="03AA - \global\lccode"1FD8="1FD0 \global\uccode"1FD8="1FD8 - \global\lccode"1FD9="1FD1 \global\uccode"1FD9="1FD9 - \global\lccode"1FDA="1F76 \global\uccode"1FDA="0399 - \global\lccode"1FDB="1F77 \global\uccode"1FDB="0399 - \global\lccode"1FE0="1FE0 \global\uccode"1FE0="1FE8 - \global\lccode"1FE1="1FE1 \global\uccode"1FE1="1FE9 - \global\lccode"1FE2="1FE2 \global\uccode"1FE2="03AB - \global\lccode"1FE3="1FE3 \global\uccode"1FE3="03AB - \global\lccode"1FE4="1FE4 \global\uccode"1FE4="03A1 - \global\lccode"1FE5="1FE5 \global\uccode"1FE5="03A1 - \global\lccode"1FE6="1FE6 \global\uccode"1FE6="03A5 - \global\lccode"1FE7="1FE7 \global\uccode"1FE7="03AB - \global\lccode"1FE8="1FE0 \global\uccode"1FE8="1FE8 - \global\lccode"1FE9="1FE1 \global\uccode"1FE9="1FE9 - \global\lccode"1FEA="1F7A \global\uccode"1FEA="03A5 - \global\lccode"1FEB="1F7B \global\uccode"1FEB="03A5 - \global\lccode"1FEC="1FE5 \global\uccode"1FEC="03A1 - \global\lccode"1FF2="1FF2 \global\uccode"1FF2="1FFC - \global\lccode"1FF3="1FF3 \global\uccode"1FF3="1FFC - \global\lccode"1FF4="1FF4 \global\uccode"1FF4="1FFC - \global\lccode"1FF6="1FF6 \global\uccode"1FF6="03A9 - \global\lccode"1FF7="1FF7 \global\uccode"1FF7="1FFC - \global\lccode"1FF8="1F78 \global\uccode"1FF8="039F - \global\lccode"1FF9="1F79 \global\uccode"1FF9="039F - \global\lccode"1FFA="1F7C \global\uccode"1FFA="03A9 - \global\lccode"1FFB="1F7D \global\uccode"1FFB="03A9 - \global\lccode"1FFC="1FF3 \global\uccode"1FFC="1FFC - - -uclclist -~~~~~~~~ - -The common Greek font encoding definitions in greek-fontenc.def_ extend the -`uclclist` with Greek LICR macros. Here, we add textkoppa/textKoppa and -Unicode-specific "hiatus_" handling (copied from lgrenc.def_ and changed -Latin transcription to Unicode literals). - -@uclclist extension (see also greek-fontenc.def_):: - - \providecommand*\greek@euenc@update@uclclist{% - \expandafter\def\expandafter\@uclclist\expandafter{% - \@uclclist - \textkoppa \textKoppa - }% - \let\greek@euenc@update@uclclist\relax - } - -Expand the uclc list using the just defined macro:: - - \greek@euenc@update@uclclist - -Now the hiatus definition modifications:: - - \DeclareTextCommand{\LGR@A@hiatus}{\LastDeclaredEncoding}{% - \LGR@ifnextchar{Ι}{\textAlpha\"}{% - \LGR@ifnextchar{Υ}{\textAlpha\"}{% - \LGR@ifnextchar{\textIota}{\textAlpha\"}{% - \LGR@ifnextchar{\textUpsilon}{\textAlpha\"}{\textAlpha}% - }% - }% - }% - } - \DeclareTextCommand{\LGR@E@hiatus}{\LastDeclaredEncoding}{% - \LGR@ifnextchar{Ι}{\textEpsilon\"}{% - \LGR@ifnextchar{Υ}{\textEpsilon\"}{% - \LGR@ifnextchar{\textIota}{\textEpsilon\"}{% - \LGR@ifnextchar{\textUpsilon}{\textEpsilon\"}{\textEpsilon}% - }% - }% - }% - } - -.. References - -.. _LaTeX Project Public License: http://www.latex-project.org/lppl.txt -.. _babel-greek: http://www.ctan.org/pkg/babel-greek -.. _euenc: http://www.ctan.org/pkg/euenc -.. _fontspec: http://www.ctan.org/pkg/fontspec -.. _greek-fontenc: http://www.ctan.org/pkg/greek-fontenc -.. _grnumalt: http://www.ctan.org/pkg/grnumalt -.. _inputenc: http://www.ctan.org/pkg/inputenc -.. _textalpha: textalpha.sty.html -.. _xgreek: http://www.ctan.org/pkg/xgreek -.. _xunicode: http://www.ctan.org/pkg/xunicode - -.. _LaTeX2e font selection: - http://mirror.ctan.org/macros/latex/doc/fntguide.pdf -.. _common Greek font encoding definitions: -.. _greek-fontenc.def: greek-fontenc.def.html -.. _lgrenc.def: lgrenc.def.html -.. _hiatus: greek-fontenc.def.html#mark-hiatus 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 a376e4fb864..12bd86f74c8 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 @@ -2,7 +2,7 @@ - + greek-fontenc.def @@ -42,10 +42,10 @@ h1.title, p.subtitle { text-align: center; } -p.admonition-title, p.topic-title, p.sidebar-title, p.rubric, +p.admonition-title, p.system-message-title { font-weight: bold; } @@ -103,7 +103,7 @@ dl.simple > dd, dl.compact > dd { } /* Table of Contents */ -div.topic.contents { margin: 0; } +div.topic.contents { margin: 0.5em 0; } div.topic.contents ul { list-style-type: none; padding-left: 1.5em; @@ -162,7 +162,7 @@ pre.address { font: inherit; } dd.authors > p { margin: 0; } /* Option Lists */ -dl.option-list { margin-left: 40px; } +dl.option-list { margin-left: 1.5em; } dl.option-list > dt { font-weight: normal; } span.option { white-space: nowrap; } @@ -192,45 +192,54 @@ div.line-block div.line-block { /* Figures, Images, and Tables */ .figure.align-left, +figure.align-left, img.align-left, object.align-left, table.align-left { margin-right: auto; } .figure.align-center, +figure.align-center, img.align-center, -object.align-center { - margin-left: auto; - margin-right: auto; - display: block; -} +object.align-center, table.align-center { margin-left: auto; margin-right: auto; } .figure.align-right, +figure.align-right, img.align-right, object.align-right, table.align-right { margin-left: auto; } +.figure.align-center, .figure.align-right, +figure.align-center, figure.align-right, +img.align-center, img.align-right, +object.align-center, object.align-right { + display: block; +} /* reset inner alignment in figures and tables */ -/* div.align-left, div.align-center, div.align-right, */ -table.align-left, table.align-center, table.align-right -{ text-align: inherit } +.figure.align-left, .figure.align-right, +figure.align-left, figure.align-right, +table.align-left, table.align-center, table.align-right { + text-align: inherit; +} /* Admonitions and System Messages */ div.admonition, div.system-message, -div.sidebar{ - margin: 40px; +aside.sidebar { + margin: 1em 1.5em; border: medium outset; + padding-top: 0.5em; + padding-bottom: 0.5em; padding-right: 1em; padding-left: 1em; } /* Sidebar */ -div.sidebar { +aside.sidebar { width: 30%; max-width: 26em; float: right; @@ -245,7 +254,7 @@ pre.doctest-block, pre.math, pre.code { margin-left: 1.5em; - margin-right: 1.5em + margin-right: 1.5em; } pre.code .ln { color: gray; } /* line numbers */ @@ -271,14 +280,23 @@ table.borderless td, table.borderless th { padding-right: 0.5em /* separate table cells */ } +/* Document Header and Footer */ +header { border-bottom: 1px solid black; } +footer { border-top: 1px solid black; } + +/* new HTML5 block elements: set display for older browsers */ +header, section, footer, aside, nav, main, article, figure { + display: block; +} + -
+

greek-fontenc.def

Common Greek font encoding definitions

@@ -576,7 +610,7 @@ version 1.3 of this license or any later version.

-

Abstract

+

Abstract

This file provides definitions that are shared between font encodings providing Greek characters.

@@ -617,14 +651,14 @@ font encodings providing Greek characters.

-
+

Usage

This file is input by the font encoding definition files lgrenc.def. and -greek-euenc.def.

-
-
+tuenc-greek.def.

+ +

Implementation

-
+

ensuregreek, greekscript

Provide “empty” encoding-specific definitions for \ensuregreek and \greekscript. The definitions in this file make the font encoding fit @@ -640,8 +674,8 @@ wrapping of compound Unicode character definitions.

the Greek script, if required. The following definition announces the \LastDeclaredEncoding as Greek-supporting:

\ProvideTextCommand{\greekscript}{\LastDeclaredEncoding}{}
-
-
+
+

Aliases

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

@@ -679,8 +713,8 @@ loading textalpha, you can define them in the document preamble lik table, LCI encoding)?

\DeclareTextCommand{\(}{\LastDeclaredEncoding}{\accdasia}
 \DeclareTextCommand{\)}{\LastDeclaredEncoding}{\accpsili}
-
-
+ +

Composite diacritics

Composite accents can be input as sequence of simple diacritics (in arbitrary order) via named macro, symbol macro and “transcription @@ -781,15 +815,15 @@ composite definitions starting with standard macros are requried:

\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{`}{\accdasiavaria} \DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\accperispomeni}{\accdasiaperispomeni} \DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\~}{\accdasiaperispomeni} -
-
+ +

UPPERCASE

If UPPERCASE (all-caps) is generated with \MakeUppercase, macro substitutions in the \@uclclist apply. This can be used to drop the diacritics (except dialytika and iota subscript). Different conventions exist for the treatment of the iota subscript with uppercase letters. In 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 @@ -849,8 +883,8 @@ The second and third lines are TeX’ way of writing \update@uclc@with@greek -

-
+
+

Substitution macros

Drop diacritics (The argument passing ensures that kerning is preserved)

\DeclareTextCommand{\LGR@accdropped}{\LastDeclaredEncoding}[1]{#1}
@@ -862,8 +896,8 @@ accent:

Convert \prosgegrammeni (adscript iota) to \ypogegrammeni (subscript iota) but not vice versa:

\DeclareTextCommand{\LGR@ypogegrammeni}{\LastDeclaredEncoding}{\ypogegrammeni}
-
-
+ +

Mark hiatus

Tonos and dasia mark a hiatus if placed on the first vowel of a diphthong (ΑΙ, ΑΥ, ΕΙ). A dialytika must be placed on the @@ -894,9 +928,9 @@ that does not skip over spaces.

} -
-
- - + + + + diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/greekhyperref.pdf b/Master/texmf-dist/doc/latex/greek-fontenc/greekhyperref.pdf index 7b7ff164187..00db9f151da 100644 Binary files a/Master/texmf-dist/doc/latex/greek-fontenc/greekhyperref.pdf and b/Master/texmf-dist/doc/latex/greek-fontenc/greekhyperref.pdf differ diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/lgrenc-test.pdf b/Master/texmf-dist/doc/latex/greek-fontenc/lgrenc-test.pdf index 1fa03ceb4e1..e288403d29b 100644 Binary files a/Master/texmf-dist/doc/latex/greek-fontenc/lgrenc-test.pdf and b/Master/texmf-dist/doc/latex/greek-fontenc/lgrenc-test.pdf differ diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/lgrenc-test.tex b/Master/texmf-dist/doc/latex/greek-fontenc/lgrenc-test.tex index e20786b0fdd..76425b1b1f1 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/lgrenc-test.tex +++ b/Master/texmf-dist/doc/latex/greek-fontenc/lgrenc-test.tex @@ -38,14 +38,21 @@ % With XeTeX/LuaTeX, use Unicode for Latin script: -\ifdefined\luatexversion \usepackage{fontspec}\else - \ifdefined\XeTeXrevision \usepackage{fontspec}\else +% 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 -% This is experimental. The general advise is not to mix fontenc and fontspec. -% One problem is that xunicode makes \nobreakspace font encoding specific -% We provide a default: \DeclareTextCommandDefault{\nobreakspace}{\leavevmode\nobreak\ } % PDF hyperlinks: @@ -336,7 +343,7 @@ $\mapsto$ UPPERCASE) \>\~i \~>i, \~\~u \~>u, \~w, \\~w \~>w, \~a \>\~a \~\>{a}, \~\~i \~>i, \~\~u \~>u, \~w, \\~w \~>w, \~{\textepsilon} \"'{\textiota} \`>\texteta{} \'<{\textomicron} \~<{\textupsilon} \~>{\textomega} \<{\textAlpha} \>{\textEpsilon} \"{\textIota} \`>\textEta{} -\'<{\textOmicron} \~<{\textUpsilon} \~>{\textOmega} +\'<{\textOmicron} \~<{\textUpsilon} \~>{\textOmega}, +\textalpha| \textalpha\ypogegrammeni{} \\ \MakeUppercase{% \<{\textalpha} \>{\textepsilon} \"'{\textiota} \`\>\texteta{} \'<{\textomicron} \~<{\textupsilon} \~>{\textomega} \<{\textAlpha} \>{\textEpsilon} \"{\textIota} \`>\textEta{} - \'<{\textOmicron} \~<{\textUpsilon} \~>{\textOmega} + \'<{\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 \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} + \Latin combined accent with tilde-accent macro:\\ + \LGR \"\~i \~"u $\mapsto$ \MakeUppercase{\"\~i \~"u}\\ + \LGR \"\~I \~"U $\mapsto$ \MakeLowercase{\"\~I \~"U} \end{quote} \Latin diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/test-active-semicolon.pdf b/Master/texmf-dist/doc/latex/greek-fontenc/test-active-semicolon.pdf deleted file mode 100644 index 2581d974e18..00000000000 Binary files a/Master/texmf-dist/doc/latex/greek-fontenc/test-active-semicolon.pdf and /dev/null differ diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/test-nameclashes.pdf b/Master/texmf-dist/doc/latex/greek-fontenc/test-nameclashes.pdf index e7ef112d3bd..f03cf0c9324 100644 Binary files a/Master/texmf-dist/doc/latex/greek-fontenc/test-nameclashes.pdf and b/Master/texmf-dist/doc/latex/greek-fontenc/test-nameclashes.pdf differ diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/test-nameclashes.tex b/Master/texmf-dist/doc/latex/greek-fontenc/test-nameclashes.tex new file mode 100644 index 00000000000..035a597f1cd --- /dev/null +++ b/Master/texmf-dist/doc/latex/greek-fontenc/test-nameclashes.tex @@ -0,0 +1,66 @@ +\documentclass[]{article} + +% PROBLEM +% \(re)newcommand gets overwritten for Accents \< and \>: + +\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/textalpha-doc.pdf b/Master/texmf-dist/doc/latex/greek-fontenc/textalpha-doc.pdf index 4f935bd555b..f7d3d021f9f 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 099bbc94cda..00163fdc15e 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/textalpha-doc.tex +++ b/Master/texmf-dist/doc/latex/greek-fontenc/textalpha-doc.tex @@ -7,17 +7,18 @@ \usepackage[LGR,T1]{fontenc} % 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) +% (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]{hyperref} +\usepackage[pdfencoding=auto,colorlinks=true,linkcolor=blue]{hyperref} \usepackage{bookmark} % hyperrefs PU encoding supports Greek LICR macros \DeclareTextCommand{\ensuregreek}{PU}[1]{#1} -\usepackage[normalize-symbols] % comment option out to test error reporting - {textalpha} +\usepackage[normalize-symbols, % comment option out to test error reporting + keep-semicolon% + ]{textalpha} \begin{document} @@ -25,20 +26,14 @@ \author{Günter Milde} \maketitle -Standard 8-bit TeX fonts do not support the Greek script. If Greek -characters shall be used with 8-bit TeX, setup of a Greek text font and an -explcit font-encoding switch is required. - -With the \emph{textalpha} package, you can easily write a single Greek -symbol (like \textPsi{} or \textmu{}) or a -\textlambda\textomicron\textgamma\textomicron\textvarsigma{} in non-Greek -text as well as ISO-conforming formulas with upright constants (like -\textpi): $A = \mbox{\textpi} r^2$ vs. $A = \pi r^2$. Input is possible via -LICR macros (\verb|\textalpha| \ldots \verb|\textOmega|) -or Unicode literals\footnote{% +\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 +\verb|\textOmega|) or Unicode literals\footnote{% Requires \emph{\href{http://www.ctan.org/pkg/greek-inputenc}{greek-inputenc}} -and the utf8 option or XeTeX/LuaTeX.}. - +or XeTeX/LuaTeX.}. +} \tableofcontents \section{Usage} @@ -47,48 +42,48 @@ Load this package in the preamble of your document with \begin{verbatim} \usepackage{textalpha} \end{verbatim} -If it is loaded after the setup of Unicode fonts with +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. -If you want to merge symbol variants, use the -\texttt{normalize-symbols} option:% -\footnote{This option is ignored with Unicode fonts.} -\begin{verbatim} - \usepackage[normalize-symbols]{textalpha} -\end{verbatim} 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 -\emph{Font setup for Greek with XeTeX/LuaTeX} -(\href{euenc-doc.pdf}{euenc-doc.pdf}) for special feature under XeTeX/LuaTeX. +\href{tuenc-greek-doc.pdf}{tuenc-greek-doc.pdf} for +\emph{Font setup for Greek with XeTeX/LuaTeX}. \subsection{option \texttt{normalize-symbols}} -This option is ignored with Unicode fonts. - Mathematical notation uses variant shapes of some Greek letters as additional symbols. There are separate code points for the symbol variants -in Unicode but not in the LGR font encoding used for Greek in 8-bit TeX. -TeX supports some of the variant shape symbols in mathematical mode -($\theta|\vartheta, \phi|\varphi, \pi|\varpi, \rho|\varrho, -\epsilon|\varepsilon$). +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. 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 in Unicode encoding use these GREEK -... SYMBOL characters in place of the corresponding GREEK LETTER ... -characters. +However, some Greek texts use these GREEK ... SYMBOL characters in place of +the corresponding GREEK LETTER ... characters. The \texttt{normalize-symbols} option merges letters and symbols to Greek -letters. This way, text copied from external sources can be compiled without +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. \end{quote} \textbf{Attention}: Do not use this option in cases where the distinction @@ -97,7 +92,51 @@ scientific context). Try the \emph{alphabeta} package with the respective characters in math mode or use XeTeX/LuaTeX with Unicode fonts in these cases. -\section{Limitations} +This option is ignored with Unicode fonts. + +\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 +\href{http://mirrors.ctan.org/language/babel/contrib/greek/usage.pdf}{usage.pdf} +for a description of this Latin-Greek transliteration.) + +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! +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 + character for a `Greek question mark' (erotimatiko).} +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} +\end{quote} + +With the \texttt{keep-semicolon} option, character 003B SEMICOLON can be used +for the \emph{erotimatiko} also with LGR encoded fonts: + +\begin{center} +\begin{tabular}{lll} + Latin (T1) & Greek (LGR) & question mark character \\ + \midrule + Τί φήις; & \ensuregreek{Τί φήις;} & 037E GREEK QUESTION MARK \\ + Τί φήις; & \ensuregreek{Τί φήις;} & 003B SEMICOLON \\ + Τί φήις? & \ensuregreek{Τί φήις?} & 003F QUESTION MARK \\ +\end{tabular} +\end{center} + +This option is ignored with Unicode fonts. + + +\section{Limitations \label{sec:limitations}} Because the internal font encoding switch interferes with other work behind the scenes, kerning, diacritics and up/down-casing show problems if Greek @@ -110,7 +149,7 @@ wrapping the Greek text in \verb|\ensuregreek|% is set in a font encoding supporting Greek. % This can be used to fix these % problems without adverse side-effects if the active font encoding is - % already LGR or Unicode. + % already LGR or TU. }, or XeTeX/LuaTeX with Unicode fonts. @@ -149,17 +188,20 @@ UPPERCASE: } \end{quote} % -This fails for accent macros if the active font encoding is not LGR or -Unicode. Pre-composed literal Unicode characters are handled correctly: +This fails for accent macros if the active font encoding does not support +Greek. Pre-composed literal Unicode characters are handled correctly: \begin{quote} - \ensuregreek{\'\textAlpha/Ά} (LICR/Unicode in LGR) vs. - \'\textAlpha/Ά (LICR/Unicode in T1). + \begin{tabular}{ccc} + & LICR & Unicode \\ \hline + LGR & \ensuregreek{\'\textAlpha} & \ensuregreek{Ά} \\ + T1 & \'\textAlpha & Ά \\ + \end{tabular} \end{quote} The dialytika marks a \emph{hiatus} (break-up of a diphthong). It must be present in UPPERCASE even where it is redundant in lowercase (the hiatus can also be marked by an accent on the first character of a diphthong). The -auto-hiatus feature works in LGR and Unicode font encodings only: +auto-hiatus feature works in LGR and TU font encodings only: \begin{quote} \acctonos\textalpha\textupsilon{}, \acctonos\textepsilon\textiota{} $\mapsto$ \MakeUppercase{\ensuregreek{ @@ -185,7 +227,7 @@ internal font encoding switch: compare \ensuregreek{\textAlpha\textUpsilon\textAlpha} (LGR) to \textAlpha\textUpsilon\textAlpha (T1). -Compiling with LuaTeX provides kerning also over font encoding boundaries. +Compiling with LuaTeX provides kerning also on font encoding boundaries. \section{Test and Examples} @@ -198,6 +240,7 @@ Greek letters via Latin transcription in LGR font encoding: \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): \begin{quote} @@ -214,6 +257,7 @@ Greek letters via default macros in other font encoding (here T1): \textphi{} \textchi{} \textpsi{} \textomega{} \end{quote} +\smallskip\noindent Archaic Greek letters and Greek punctuation \begin{quote} @@ -234,6 +278,7 @@ Archaic Greek letters and Greek punctuation \textvarstigma \end{quote} +\smallskip\noindent Diacritics \begin{quote} @@ -269,6 +314,7 @@ Diacritics \end{quote} +\medskip\noindent Accent macros can start with \verb|\a| instead of \verb|\| when the short form is redefined, e.\,g. inside a \emph{tabbing} environment. This also works for the new-defined Dasia and Psili shortcuts: @@ -299,20 +345,20 @@ Kerning is preserved if the font encoding is LGR: \ensuregreek{AΫA} \toprule & 0 & 1 & 2 & 3 & 4 & 5 & 6 & 7 & 8 & 9 & A & B & C & D & E & F\\ \midrule -370 & * & * & * & * & ʹ & ͵ & * & * & & & ͺ & * & * & * & ; & \\ +370 & ◦ & ◦ & ◦ & ◦ & ʹ & ͵ & ◦ & ◦ & & & ͺ & ◦ & ◦ & ◦ & ; & \\ 380 & & & & & ΄ & ΅ & Ά & · & Έ & Ή & Ί & & Ό & & Ύ & Ώ\\ 390 & ΐ & Α & Β & Γ & Δ & Ε & Ζ & Η & Θ & Ι & Κ & Λ & Μ & Ν & Ξ & Ο\\ 3A0 & Π & Ρ & & Σ & Τ & Υ & Φ & Χ & Ψ & Ω & Ϊ & Ϋ & ά & έ & ή & ί\\ 3B0 & ΰ & α & β & γ & δ & ε & ζ & η & θ & ι & κ & λ & μ & ν & ξ & ο\\ 3C0 & π & ρ & ς & σ & τ & υ & φ & χ & ψ & ω & ϊ & ϋ & ό & ύ & ώ & \\ -3D0 & * & * & * & * & * & * & * & * & Ϙ & ϙ & Ϛ & ϛ & Ϝ & ϝ & * & ϟ\\ -3E0 & Ϡ & ϡ & * & * & * & * & * & * & * & * & * & * & * & * & * & *\\ -3F0 & * & * & * & * & * & * & * & * & * & * & * & * & * & * & * & *\\ +3D0 & ◦ & ◦ & ◦ & ◦ & ◦ & ◦ & ◦ & ◦ & Ϙ & ϙ & Ϛ & ϛ & Ϝ & ϝ & ◦ & ϟ\\ +3E0 & Ϡ & ϡ & ◦ & ◦ & ◦ & ◦ & ◦ & ◦ & ◦ & ◦ & ◦ & ◦ & ◦ & ◦ & ◦ & ◦\\ +3F0 & ◦ & ◦ & ◦ & ◦ & ◦ & ◦ & ◦ & ◦ & ◦ & ◦ & ◦ & ◦ & ◦ & ◦ & ◦ & ◦\\ \bottomrule \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 T1 font encoding (legend: ◦ glyph missing in LGR).} \label{tab:greek-and-coptic} \end{table} 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 514a7c82dbd..6ad667468cd 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/textalpha.sty.html +++ b/Master/texmf-dist/doc/latex/greek-fontenc/textalpha.sty.html @@ -2,7 +2,7 @@ - + textalpha.sty @@ -42,10 +42,10 @@ h1.title, p.subtitle { text-align: center; } -p.admonition-title, p.topic-title, p.sidebar-title, p.rubric, +p.admonition-title, p.system-message-title { font-weight: bold; } @@ -103,7 +103,7 @@ dl.simple > dd, dl.compact > dd { } /* Table of Contents */ -div.topic.contents { margin: 0; } +div.topic.contents { margin: 0.5em 0; } div.topic.contents ul { list-style-type: none; padding-left: 1.5em; @@ -162,7 +162,7 @@ pre.address { font: inherit; } dd.authors > p { margin: 0; } /* Option Lists */ -dl.option-list { margin-left: 40px; } +dl.option-list { margin-left: 1.5em; } dl.option-list > dt { font-weight: normal; } span.option { white-space: nowrap; } @@ -192,45 +192,54 @@ div.line-block div.line-block { /* Figures, Images, and Tables */ .figure.align-left, +figure.align-left, img.align-left, object.align-left, table.align-left { margin-right: auto; } .figure.align-center, +figure.align-center, img.align-center, -object.align-center { - margin-left: auto; - margin-right: auto; - display: block; -} +object.align-center, table.align-center { margin-left: auto; margin-right: auto; } .figure.align-right, +figure.align-right, img.align-right, object.align-right, table.align-right { margin-left: auto; } +.figure.align-center, .figure.align-right, +figure.align-center, figure.align-right, +img.align-center, img.align-right, +object.align-center, object.align-right { + display: block; +} /* reset inner alignment in figures and tables */ -/* div.align-left, div.align-center, div.align-right, */ -table.align-left, table.align-center, table.align-right -{ text-align: inherit } +.figure.align-left, .figure.align-right, +figure.align-left, figure.align-right, +table.align-left, table.align-center, table.align-right { + text-align: inherit; +} /* Admonitions and System Messages */ div.admonition, div.system-message, -div.sidebar{ - margin: 40px; +aside.sidebar { + margin: 1em 1.5em; border: medium outset; + padding-top: 0.5em; + padding-bottom: 0.5em; padding-right: 1em; padding-left: 1em; } /* Sidebar */ -div.sidebar { +aside.sidebar { width: 30%; max-width: 26em; float: right; @@ -245,7 +254,7 @@ pre.doctest-block, pre.math, pre.code { margin-left: 1.5em; - margin-right: 1.5em + margin-right: 1.5em; } pre.code .ln { color: gray; } /* line numbers */ @@ -271,14 +280,23 @@ table.borderless td, table.borderless th { padding-right: 0.5em /* separate table cells */ } +/* Document Header and Footer */ +header { border-bottom: 1px solid black; } +footer { border-top: 1px solid black; } + +/* new HTML5 block elements: set display for older browsers */ +header, section, footer, aside, nav, main, article, figure { + display: block; +} + -
+

textalpha.sty

Greek symbols in text

@@ -573,11 +607,11 @@ version 1.3 of this license or any later version.

Identification
\NeedsTeXFormat{LaTeX2e}
 \ProvidesPackage{textalpha}
-[2019/07/11 v0.13.4 macros for Greek letters in text]
+[2020/02/28 v0.14 macros for Greek letters in text]
-

Abstract

+

Abstract

Provide a set of \text* macros for Greek characters in text mode.

@@ -642,12 +676,18 @@ in LGR.

2019-07-11

Auxiliary command for subscript iota.

+

0.14

+

2020-02-28

+

Update test for Unicode fonts. +Rename greek-euenc to tuenc-greek. +Don’t use \LastDeclaredEncoding.

+
-

Contents

+

Contents

-
+

Motivation

By default, TeX macros for Greek letters are only valid in mathematical mode. This package sets up a suitable font encoding and LaTeX internal @@ -689,14 +729,13 @@ character representations (LICR) definitions for Greek ( -

  • If the Unicode font encodings EU1 (XeTeX) or EU2 (LuaTeX) are declared, -before loading this package (e.g. via fontspec) the package provides -Greek LICR definitions for them.

  • +
  • If an Unicode font encoding is declared by fontspec, add Greek LICR +definitions.

  • Otherwise, the LGR font encoding is set as default font encoding (cf. fntguide section 5.3) for Greek.

  • Advantages:

    -
      +
      • Symbols from a Greek text font (e.g. the CB fonts) can be accessed without the need for an explicite font-encoding switch anywhere in the text.

      • @@ -705,10 +744,11 @@ text.

      • via \usepackage[utf8]{inputenc} and lgrenc.dfu from greek-inputenc for 8-bit TeX or XeTeX/LuaTeX in 8-bit compatibility mode in any font encoding (see textalpha-doc.tex).

      • -
      • natively by XeTeX/LuaTeX for Unicode fonts. As inputenc does not work -with these engines, text input can be done via the Latin transcription -or LICR but not via literal Unicode characters for 8-bit font encodings -like LGR (see greek-euenc-doc.tex).

      • +
      • natively by XeTeX/LuaTeX for Unicode fonts.

        +

        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).

        +
    @@ -723,8 +763,8 @@ of accent+character with a pre-composed character.

    provided ensuregreek macro. Using babel or polyglossia also helps to ensure correct hyphenation of Greek text.

    -
    -
    + +

    Usage

    Ensure support for Greek characters in text mode with

    \usepackage{textalpha}
    @@ -736,16 +776,16 @@ 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 -greek-euenc-doc.tex and greek-euenc-doc.pdf (XeTeX/LuaTeX with +tuenc-greek-doc.tex and tuenc-greek-doc.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 greek-euenc-doc.tex).

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

    + +

    Implementation

    -
    +

    Options

    -
    +

    normalize-symbols

    The “variant shape” symbol characters like 03D1 GREEK THETA SYMBOL are mathematical charcters for mathematical use @@ -765,8 +805,8 @@ errors to prevent information loss in cases where the distinction between

    With XeTeX/LuaTeX and Unicode fonts, this option is ignored.

    \newif\iftextalpha@normalizeSymbols
     \DeclareOption{normalize-symbols}{\textalpha@normalizeSymbolstrue}
    -
    -
    +
    +

    keep-semicolon

    The erotimatiko looks like a semicolon but is a Greek question mark:

    @@ -785,9 +825,9 @@ With XeTeX/LuaTeX and Unicode fonts, this option is ignored.

    \DeclareOption{keep-semicolon}{\textalpha@keepSemicolontrue} \ProcessOptions\relax -
    -
    -
    + + +

    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 @@ -797,81 +837,65 @@ 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 -fontspec does not (yet) define Greek LICR macros. We therefore explicitely -load Greek LICR definitions for XeTeX/LuaTeX from greek-euenc.def which in turn includes greek-fontenc.def.

    +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 -(XeTeX) or EU2 (LuaTeX) is detected.

    • -
    • Re-set \LastDeclaredEncoding (used in some included font-encoding files).

    • +
    • 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.

    -
    \@ifl@aded{def}{tuenc}{
    -  \renewcommand{\LastDeclaredEncoding}{TU}
    -  \input{greek-euenc.def}
    -}{% else
    -  \@ifl@aded{def}{eu1enc}{
    -    \renewcommand{\LastDeclaredEncoding}{EU1}
    -    \input{greek-euenc.def}
    -  }{% else
    -    \@ifl@aded{def}{eu2enc}{
    -      \renewcommand{\LastDeclaredEncoding}{EU2}
    -      \input{greek-euenc.def}
    -    }{% else
    -      \@ifl@aded{def}{lgrenc}{
    -        % LGR already declared and set up
    -        \renewcommand{\LastDeclaredEncoding}{LGR}
    -      }{
    -        \input{lgrenc.def}
    -      }
    -    }
    +
    \ifdefined \UTFencname % set by "fontspec.sty"
    +  \input{tuenc-greek.def}
    +\else
    +  \@ifl@aded{def}{lgrenc}{
    +    % LGR already declared and set up
    +  }{
    +    \input{lgrenc.def}
       }
    -}
    +\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}}
    +   \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 EU1 or EU2, we define the +

    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):

    -
    \@ifl@aded{def}{lgrenc}{
    -  \DeclareTextCommand{\<}{LGR}{\accdasia}
    -  \DeclareTextCommand{\>}{LGR}{\accpsili}
    +
    \newcommand{\textalpha@define@breathings}[1]{
    +  \DeclareTextCommand{\<}{#1}{\accdasia}
    +  \DeclareTextCommand{\>}{#1}{\accpsili}
       % Composite accents starting with the new-defined shortcuts:
    -  \DeclareTextCompositeCommand{\>}{LGR}{'}{\accpsilioxia}
    -  \DeclareTextCompositeCommand{\>}{LGR}{`}{\accpsilivaria}
    -  \DeclareTextCompositeCommand{\>}{LGR}{~}{\accpsiliperispomeni}
    -  \DeclareTextCompositeCommand{\<}{LGR}{'}{\accdasiaoxia}
    -  \DeclareTextCompositeCommand{\<}{LGR}{`}{\accdasiavaria}
    -  \DeclareTextCompositeCommand{\<}{LGR}{~}{\accdasiaperispomeni}
    +  \DeclareTextCompositeCommand{\>}{#1}{'}{\accpsilioxia}
    +  \DeclareTextCompositeCommand{\>}{#1}{`}{\accpsilivaria}
    +  \DeclareTextCompositeCommand{\>}{#1}{~}{\accpsiliperispomeni}
    +  \DeclareTextCompositeCommand{\<}{#1}{'}{\accdasiaoxia}
    +  \DeclareTextCompositeCommand{\<}{#1}{`}{\accdasiavaria}
    +  \DeclareTextCompositeCommand{\<}{#1}{~}{\accdasiaperispomeni}
    +}
    +
    +\@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}{greek-euenc}{ % XeTeX or LuaTeX with Unicode fonts
    -  \DeclareTextCommand{\<}{\LastDeclaredEncoding}{\accdasia}
    -  \DeclareTextCommand{\>}{\LastDeclaredEncoding}{\accpsili}
    -  % Composite accents starting with the new-defined shortcuts:
    -  \DeclareTextCompositeCommand{\>}{\LastDeclaredEncoding}{'}{\accpsilioxia}
    -  \DeclareTextCompositeCommand{\>}{\LastDeclaredEncoding}{`}{\accpsilivaria}
    -  \DeclareTextCompositeCommand{\>}{\LastDeclaredEncoding}{~}{\accpsiliperispomeni}
    -  \DeclareTextCompositeCommand{\<}{\LastDeclaredEncoding}{'}{\accdasiaoxia}
    -  \DeclareTextCompositeCommand{\<}{\LastDeclaredEncoding}{`}{\accdasiavaria}
    -  \DeclareTextCompositeCommand{\<}{\LastDeclaredEncoding}{~}{\accdasiaperispomeni}
    +\@ifl@aded{def}{tuenc-greek}{ % XeTeX or LuaTeX with Unicode fonts
    +  \textalpha@define@breathings{\UTFencname}
     }{}
    -
    -
    + +

    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 @@ -880,12 +904,12 @@ default font encoding. Abort here, if the LGR font encoding is not defined:

    {} % else return: {\expandafter\endinput} -
    +

    greekscript, ensuregreek

    The \greekscript declaration ensures the current font encoding supports the Greek script. greek-fontenc.def sets this to the empty declaration for font encodings that do so. This is currently used by lgrenc.def -(LGR) and greek-euenc.def (Greek LICR macros for EU1 and EU2).

    +(LGR) and tuenc-greek.def (Greek LICR macros for TU, EU1, or EU2).

    We define LGR as default encoding for Greek text. We use \ProvideTextCommandDefault to enable the author or other packages to use an alternative definition (see [fntguide]):

    @@ -908,8 +932,8 @@ Unicode characters in the test document ``__: EU1, EU2) 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.

    -
    -
    +
    +

    Greek Alphabet

    Define the text* marcos as default for all font encodings:

    \DeclareTextSymbolDefault{\textAlpha}{LGR}
    @@ -964,8 +988,8 @@ would work also for cases like 
     \DeclareTextSymbolDefault{\textchi}{LGR}
     \DeclareTextSymbolDefault{\textpsi}{LGR}
     \DeclareTextSymbolDefault{\textomega}{LGR}
    -
    -
    + +

    Additional Greek symbols

    Including alias names for compatibility with hyperref’s puenc.def.

    Ancient Greek Numbers (Athenian Numerals):

    @@ -996,7 +1020,7 @@ would work also for cases like

    numeral signs: http://en.wikipedia.org/wiki/Greek_numerals

    \DeclareTextSymbolDefault{\textnumeralsigngreek}{LGR}      % (puenc.def)
     \DeclareTextSymbolDefault{\textnumeralsignlowergreek}{LGR} % (puenc.def)
    -
    +

    variant shape symbols

    Mathematical notation uses variant shapes of some Greek letters as additional symbols. There are separate code points for the symbol variants @@ -1021,9 +1045,9 @@ The variations have no syntactic meaning in Greek text.

    \DeclareTextCommand{\textThetasymbol} {LGR}{\textTheta} \DeclareTextCommand{\textepsilonsymbol}{LGR}{\textepsilon} \fi -
    -
    -
    + + +

    Diacritics

    Greek diacritics via “named” macros:

    \DeclareTextAccentDefault{\accdasia}{LGR}
    @@ -1052,16 +1076,16 @@ The variations have no syntactic meaning in Greek text.

    \DeclareTextAccentDefault{\accinvertedbrevebelow}{LGR} % INVERTED BREVE BELOW
     \DeclareTextAccentDefault{\textsubarch}{LGR}           % tipa, Teubner name: ut
     \DeclareTextAccentDefault{\accbrevebelow}{LGR}         % BREVE BELOW
    -
    -
    + +

    Auxiliary macros

    \MakeUppercase requires four internal commands:

    \DeclareTextAccentDefault{\LGR@accdropped}{LGR}
     \DeclareTextAccentDefault{\LGR@accDialytika}{LGR}
     \DeclareTextAccentDefault{\LGR@hiatus}{LGR}
     \DeclareTextSymbolDefault{\LGR@ypogegrammeni}{LGR}
    -
    -
    + +

    semicolon as erotimatiko

    The text command \textsemicolon inserts \texterotimatiko in LGR font encoding and a “normal” semicolon else:

    @@ -1076,9 +1100,9 @@ in LGR font encoding and a “normal” semicolon else:

    \fi -
    - - - + + + + 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 new file mode 100644 index 00000000000..e8c8c9ed2c2 Binary files /dev/null and b/Master/texmf-dist/doc/latex/greek-fontenc/tuenc-greek-doc.pdf 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 new file mode 100644 index 00000000000..a00a1e1389f --- /dev/null +++ b/Master/texmf-dist/doc/latex/greek-fontenc/tuenc-greek-doc.tex @@ -0,0 +1,869 @@ +\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 new file mode 100644 index 00000000000..8af311a8ae3 --- /dev/null +++ b/Master/texmf-dist/doc/latex/greek-fontenc/tuenc-greek.def.html @@ -0,0 +1,1496 @@ + + + + + +tuenc-greek.def + + + + + + +
    +

    tuenc-greek.def

    +

    Greek LICR 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{tuenc-greek.def}
    +[2020/02/28 0.14 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.

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

    0.1

    2013-07-16

    initial version

    0.1.1

    2013-07-18

    bugfix: wrong breathings psilioxia -> dasiaoxia

    0.1.2

    2013-07-19 +..

    bugfix: Disable composite defs starting with char macro, +fix “hiatus” handling.

    0.1.3

    2013-07-24

    fix “input” path.

    0.1.4

    2013-10-01 +..

    remove clashing defs for legacy characters with oxia, +fix upcasing of \finalsigma.

    0.11.1

    2013-12-01

    fix identification.

    0.11.2

    2014-09-08

    \textKoppa macro

    +

    (Capital Koppa is not defined in LGR but Unicode).

    0.12

    2014-12-12

    Remove symbol macros for breathing accents.

    0.13

    2015-08-07

    \lccode/\uccode corrections from xgreek.

    +

    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.

    +
    +
    + +
    +

    Motivation

    +

    LICR macro definitions for the Greek script are missing in tuenc_ (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 +standard commands for LaTeX2e font selection.

    +
    +
    +

    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 +usage examples.

    +
    +
    +

    Greek Diacritics

    +

    Define “named macros” for simple and combined diacritics.

    +
      +
    • Named accent macros can be used instead of the \@tabacckludge by +to-LaTeX converters to ensure working also inside the tabbing environment.

    • +
    • Named macros are required for upcasing according to Greek typesetting +conventions and in the definition of composite commands.

    • +
    +

    Greek alias names for standard accents:

    +
    \DeclareTextCommand{\acctonos}{\UTFencname}{\@tabacckludge'}
    +\DeclareTextCommand{\accvaria}{\UTFencname}{\@tabacckludge`}
    +\DeclareTextCommand{\accdialytika}{\UTFencname}{\@tabacckludge"}
    +

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

    +
    \DeclareTextCommand{\accperispomeni}{\UTFencname}[1]{#1\char"0342 }
    +

    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
    +

    Combined diacritics:

    +
    % 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{\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{\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 }
    +
    +
    +

    Common Definitions

    +

    Use the common Greek font encoding definitions:

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

    Character Definitions

    +
    +

    General Punctuation

    +

    Ligature break up with ZERO WIDTH NON-JOINER:

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

    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) % ͺ
    +% 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}{Ϟ} % not defined in LGR
    +\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}{ϱ}
    +
    +
    +

    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}{\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}{ᾱ}
    +% ᾲ
    +% ᾳ
    +% ᾴ
    +\DeclareTextCompositeCommand{\~}{\UTFencname}{\textalpha}{ᾶ}
    +\DeclareTextCompositeCommand{\~}{\UTFencname}{α}{ᾶ}
    +\DeclareTextCompositeCommand{\accperispomeni}{\UTFencname}{\textalpha}{ᾶ}
    +% ᾷ
    +\DeclareTextCompositeCommand{\u}{\UTFencname}{\textAlpha}{Ᾰ}
    +\DeclareTextCompositeCommand{\=}{\UTFencname}{\textAlpha}{Ᾱ}
    +\DeclareTextCompositeCommand{\`}{\UTFencname}{\textAlpha}{Ὰ}
    +% ᾼ
    +\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\textcompwordmark}{᾽}
    +\DeclareTextCommand{\prosgegrammeni}{\UTFencname}{ι}
    +\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\textcompwordmark}{᾿}
    +
    +\DeclareTextCompositeCommand{\accperispomeni}{\UTFencname}{\textcompwordmark}{῀}
    +\DeclareTextCompositeCommand{\accdialytikaperispomeni}{\UTFencname}{\textcompwordmark}{῁}
    +% ῂ
    +% ῃ
    +% ῄ
    +\DeclareTextCompositeCommand{\~}{\UTFencname}{\texteta}{ῆ}
    +\DeclareTextCompositeCommand{\~}{\UTFencname}{η}{ῆ}
    +\DeclareTextCompositeCommand{\accperispomeni}{\UTFencname}{\texteta}{ῆ}
    +% ῇ
    +\DeclareTextCompositeCommand{\`}{\UTFencname}{\textEpsilon}{Ὲ}
    +\DeclareTextCompositeCommand{\`}{\UTFencname}{\textEta}{Ὴ}
    +% ῌ
    +\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}{΅}
    +
    +% ῲ
    +% ῳ
    +% ῴ
    +\DeclareTextCompositeCommand{\~}{\UTFencname}{\textomega}{ῶ}
    +\DeclareTextCompositeCommand{\~}{\UTFencname}{ω}{ῶ}
    +\DeclareTextCompositeCommand{\accperispomeni}{\UTFencname}{\textomega}{ῶ}
    +% ῷ
    +\DeclareTextCompositeCommand{\`}{\UTFencname}{\textOmicron}{Ὸ}
    +\DeclareTextCompositeCommand{\`}{\UTFencname}{\textOmega}{Ὼ}
    +% ῼ
    +\DeclareTextCompositeCommand{\accoxia}{\UTFencname}{\textcompwordmark}{´}
    +\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\textcompwordmark}{῾}
    +
    +
    +

    Letterlike Symbols

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

    Ancient Greek Numbers

    +

    TODO: map other chars to corresponding Greek letters. +See also the grnumalt package.

    +

    Definition with literal Unicode characters, because the code-point has 5 +hexadecimal digits:

    +
    \DeclareTextCommand{\textpentedeka}{\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
    +
    +
    +
    +

    UPPERCASE

    +

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

    +
    +

    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
    +\global\lccode"0372="0373 \global\uccode"0372="0372
    +\global\lccode"0373="0373 \global\uccode"0373="0372
    +\global\lccode"0376="0377 \global\uccode"0376="0376
    +\global\lccode"0377="0377 \global\uccode"0377="0376
    +\global\lccode"03FD="037B \global\uccode"03FD="03FD
    +\global\lccode"037B="037B \global\uccode"037B="03FD
    +\global\lccode"03FE="037C \global\uccode"03FE="03FE
    +\global\lccode"037C="037C \global\uccode"037C="03FE
    +\global\lccode"03FF="037D \global\uccode"03FF="03FF
    +\global\lccode"037D="037D \global\uccode"037D="03FF
    +\global\lccode"0386="03AC \global\uccode"0386="0391
    +\global\lccode"0388="03AD \global\uccode"0388="0395
    +\global\lccode"0389="03AC \global\uccode"0389="0397
    +\global\lccode"038A="03AF \global\uccode"038A="0399
    +\global\lccode"038C="03CC \global\uccode"038C="039F
    +\global\lccode"038E="03CD \global\uccode"038E="03A5
    +\global\lccode"038F="03CE \global\uccode"038F="03A9
    +\global\lccode"0390="0390 \global\uccode"0390="03AA
    +\global\lccode"0391="03B1 \global\uccode"0391="0391
    +\global\lccode"0392="03B2 \global\uccode"0392="0392
    +\global\lccode"0393="03B3 \global\uccode"0393="0393
    +\global\lccode"0394="03B4 \global\uccode"0394="0394
    +\global\lccode"0395="03B5 \global\uccode"0395="0395
    +\global\lccode"0396="03B6 \global\uccode"0396="0396
    +\global\lccode"0397="03B7 \global\uccode"0397="0397
    +\global\lccode"0398="03B8 \global\uccode"0398="0398
    +\global\lccode"0399="03B9 \global\uccode"0399="0399
    +\global\lccode"039A="03BA \global\uccode"039A="039A
    +\global\lccode"039B="03BB \global\uccode"039B="039B
    +\global\lccode"039C="03BC \global\uccode"039C="039C
    +\global\lccode"039D="03BD \global\uccode"039D="039D
    +\global\lccode"039E="03BE \global\uccode"039E="039E
    +\global\lccode"039F="03BF \global\uccode"039F="039F
    +\global\lccode"03A0="03C0 \global\uccode"03A0="03A0
    +\global\lccode"03A1="03C1 \global\uccode"03A1="03A1
    +\global\lccode"03A3="03C3 \global\uccode"03A3="03A3
    +\global\lccode"03A4="03C4 \global\uccode"03A4="03A4
    +\global\lccode"03A5="03C5 \global\uccode"03A5="03A5
    +\global\lccode"03A6="03C6 \global\uccode"03A6="03A6
    +\global\lccode"03A7="03C7 \global\uccode"03A7="03A7
    +\global\lccode"03A8="03C8 \global\uccode"03A8="03A8
    +\global\lccode"03A9="03C9 \global\uccode"03A9="03A9
    +\global\lccode"03AA="03CA \global\uccode"03AA="03AA
    +\global\lccode"03AB="03CB \global\uccode"03AB="03AB
    +\global\lccode"03AC="03AC \global\uccode"03AC="0391
    +\global\lccode"03AD="03AD \global\uccode"03AD="0395
    +\global\lccode"03AE="03AE \global\uccode"03AE="0397
    +\global\lccode"03AF="03AF \global\uccode"03AF="0399
    +\global\lccode"03B0="03B0 \global\uccode"03B0="03AB
    +\global\lccode"03B1="03B1 \global\uccode"03B1="0391
    +\global\lccode"03B2="03B2 \global\uccode"03B2="0392
    +\global\lccode"03B3="03B3 \global\uccode"03B3="0393
    +\global\lccode"03B4="03B4 \global\uccode"03B4="0394
    +\global\lccode"03B5="03B5 \global\uccode"03B5="0395
    +\global\lccode"03B6="03B6 \global\uccode"03B6="0396
    +\global\lccode"03B7="03B7 \global\uccode"03B7="0397
    +\global\lccode"03B8="03B8 \global\uccode"03B8="0398
    +\global\lccode"03B9="03B9 \global\uccode"03B9="0399
    +\global\lccode"03BA="03BA \global\uccode"03BA="039A
    +\global\lccode"03BB="03BB \global\uccode"03BB="039B
    +\global\lccode"03BC="03BC \global\uccode"03BC="039C
    +\global\lccode"03BD="03BD \global\uccode"03BD="039D
    +\global\lccode"03BE="03BE \global\uccode"03BE="039E
    +\global\lccode"03BF="03BF \global\uccode"03BF="039F
    +\global\lccode"03C0="03C0 \global\uccode"03C0="03A0
    +\global\lccode"03C1="03C1 \global\uccode"03C1="03A1
    +\global\lccode"03C2="03C2 \global\uccode"03C2="03A3
    +\global\lccode"03C3="03C3 \global\uccode"03C3="03A3
    +\global\lccode"03C4="03C4 \global\uccode"03C4="03A4
    +\global\lccode"03C5="03C5 \global\uccode"03C5="03A5
    +\global\lccode"03C6="03C6 \global\uccode"03C6="03A6
    +\global\lccode"03C7="03C7 \global\uccode"03C7="03A7
    +\global\lccode"03C8="03C8 \global\uccode"03C8="03A8
    +\global\lccode"03C9="03C9 \global\uccode"03C9="03A9
    +\global\lccode"03CA="03CA \global\uccode"03CA="03AA
    +\global\lccode"03CB="03CB \global\uccode"03CB="03AB
    +\global\lccode"03CC="03CC \global\uccode"03CC="039F
    +\global\lccode"03CD="03CD \global\uccode"03CD="03A5
    +\global\lccode"03CE="03CE \global\uccode"03CE="03A9
    +\global\lccode"03D0="03D0 \global\uccode"03D0="0392
    +\global\lccode"03D1="03D1 \global\uccode"03D1="0398
    +\global\lccode"03D2="03C5 \global\uccode"03D2="03A5
    +\global\lccode"03D3="03CD \global\uccode"03D3="03A5
    +\global\lccode"03D4="03CB \global\uccode"03D4="03AB
    +\global\lccode"03D5="03C6 \global\uccode"03D5="03A6
    +\global\lccode"03D6="03C0 \global\uccode"03D6="03A0
    +\global\lccode"03DA="03DB \global\uccode"03DA="03DA
    +\global\lccode"03DB="03DB \global\uccode"03DB="03DA
    +\global\lccode"03DC="03DD \global\uccode"03DC="03DC
    +\global\lccode"03DD="03DD \global\uccode"03DD="03DC
    +\global\lccode"03DE="03DF \global\uccode"03DE="03DE
    +\global\lccode"03DF="03DF \global\uccode"03DF="03DE
    +\global\lccode"03E0="03E1 \global\uccode"03E0="03E0
    +\global\lccode"03E1="03E1 \global\uccode"03E1="03E0
    +\global\lccode"03F0="03BA \global\uccode"03F0="039A
    +\global\lccode"03F1="03C1 \global\uccode"03F1="03A1
    +\global\lccode"03F2="03F2 \global\uccode"03F2="03F9
    +\global\lccode"03F9="03F2 \global\uccode"03F9="03F9
    +\global\lccode"1F00="1F00 \global\uccode"1F00="0391
    +\global\lccode"1F01="1F01 \global\uccode"1F01="0391
    +\global\lccode"1F02="1F02 \global\uccode"1F02="0391
    +\global\lccode"1F03="1F03 \global\uccode"1F03="0391
    +\global\lccode"1F04="1F04 \global\uccode"1F04="0391
    +\global\lccode"1F05="1F05 \global\uccode"1F05="0391
    +\global\lccode"1F06="1F06 \global\uccode"1F06="0391
    +\global\lccode"1F07="1F07 \global\uccode"1F07="0391
    +\global\lccode"1F08="1F00 \global\uccode"1F08="0391
    +\global\lccode"1F09="1F01 \global\uccode"1F09="0391
    +\global\lccode"1F0A="1F02 \global\uccode"1F0A="0391
    +\global\lccode"1F0B="1F03 \global\uccode"1F0B="0391
    +\global\lccode"1F0C="1F04 \global\uccode"1F0C="0391
    +\global\lccode"1F0D="1F05 \global\uccode"1F0D="0391
    +\global\lccode"1F0E="1F06 \global\uccode"1F0E="0391
    +\global\lccode"1F0F="1F07 \global\uccode"1F0F="0391
    +\global\lccode"1F10="1F10 \global\uccode"1F10="0395
    +\global\lccode"1F11="1F11 \global\uccode"1F11="0395
    +\global\lccode"1F12="1F12 \global\uccode"1F12="0395
    +\global\lccode"1F13="1F13 \global\uccode"1F13="0395
    +\global\lccode"1F14="1F14 \global\uccode"1F14="0395
    +\global\lccode"1F15="1F15 \global\uccode"1F15="0395
    +\global\lccode"1F18="1F10 \global\uccode"1F18="0395
    +\global\lccode"1F19="1F11 \global\uccode"1F19="0395
    +\global\lccode"1F1A="1F12 \global\uccode"1F1A="0395
    +\global\lccode"1F1B="1F13 \global\uccode"1F1B="0395
    +\global\lccode"1F1C="1F14 \global\uccode"1F1C="0395
    +\global\lccode"1F1D="1F15 \global\uccode"1F1D="0395
    +\global\lccode"1F20="1F20 \global\uccode"1F20="0397
    +\global\lccode"1F21="1F21 \global\uccode"1F21="0397
    +\global\lccode"1F22="1F22 \global\uccode"1F22="0397
    +\global\lccode"1F23="1F23 \global\uccode"1F23="0397
    +\global\lccode"1F24="1F24 \global\uccode"1F24="0397
    +\global\lccode"1F25="1F25 \global\uccode"1F25="0397
    +\global\lccode"1F26="1F26 \global\uccode"1F26="0397
    +\global\lccode"1F27="1F27 \global\uccode"1F27="0397
    +\global\lccode"1F28="1F20 \global\uccode"1F28="0397
    +\global\lccode"1F29="1F21 \global\uccode"1F29="0397
    +\global\lccode"1F2A="1F22 \global\uccode"1F2A="0397
    +\global\lccode"1F2B="1F23 \global\uccode"1F2B="0397
    +\global\lccode"1F2C="1F24 \global\uccode"1F2C="0397
    +\global\lccode"1F2D="1F25 \global\uccode"1F2D="0397
    +\global\lccode"1F2E="1F26 \global\uccode"1F2E="0397
    +\global\lccode"1F2F="1F27 \global\uccode"1F2F="0397
    +\global\lccode"1F30="1F30 \global\uccode"1F30="0399
    +\global\lccode"1F31="1F31 \global\uccode"1F31="0399
    +\global\lccode"1F32="1F32 \global\uccode"1F32="0399
    +\global\lccode"1F33="1F33 \global\uccode"1F33="0399
    +\global\lccode"1F34="1F34 \global\uccode"1F34="0399
    +\global\lccode"1F35="1F35 \global\uccode"1F35="0399
    +\global\lccode"1F36="1F36 \global\uccode"1F36="0399
    +\global\lccode"1F37="1F37 \global\uccode"1F37="0399
    +\global\lccode"1F38="1F30 \global\uccode"1F38="0399
    +\global\lccode"1F39="1F31 \global\uccode"1F39="0399
    +\global\lccode"1F3A="1F32 \global\uccode"1F3A="0399
    +\global\lccode"1F3B="1F33 \global\uccode"1F3B="0399
    +\global\lccode"1F3C="1F34 \global\uccode"1F3C="0399
    +\global\lccode"1F3D="1F35 \global\uccode"1F3D="0399
    +\global\lccode"1F3E="1F36 \global\uccode"1F3E="0399
    +\global\lccode"1F3F="1F37 \global\uccode"1F3F="0399
    +\global\lccode"1F40="1F40 \global\uccode"1F40="039F
    +\global\lccode"1F41="1F41 \global\uccode"1F41="039F
    +\global\lccode"1F42="1F42 \global\uccode"1F42="039F
    +\global\lccode"1F43="1F43 \global\uccode"1F43="039F
    +\global\lccode"1F44="1F44 \global\uccode"1F44="039F
    +\global\lccode"1F45="1F45 \global\uccode"1F45="039F
    +\global\lccode"1F48="1F40 \global\uccode"1F48="039F
    +\global\lccode"1F49="1F41 \global\uccode"1F49="039F
    +\global\lccode"1F4A="1F42 \global\uccode"1F4A="039F
    +\global\lccode"1F4B="1F43 \global\uccode"1F4B="039F
    +\global\lccode"1F4C="1F44 \global\uccode"1F4C="039F
    +\global\lccode"1F4D="1F45 \global\uccode"1F4D="039F
    +\global\lccode"1F50="1F50 \global\uccode"1F50="03A5
    +\global\lccode"1F51="1F51 \global\uccode"1F51="03A5
    +\global\lccode"1F52="1F52 \global\uccode"1F52="03A5
    +\global\lccode"1F53="1F53 \global\uccode"1F53="03A5
    +\global\lccode"1F54="1F54 \global\uccode"1F54="03A5
    +\global\lccode"1F55="1F55 \global\uccode"1F55="03A5
    +\global\lccode"1F56="1F56 \global\uccode"1F56="03A5
    +\global\lccode"1F57="1F57 \global\uccode"1F57="03A5
    +\global\lccode"1F59="1F51 \global\uccode"1F59="03A5
    +\global\lccode"1F5B="1F53 \global\uccode"1F5B="03A5
    +\global\lccode"1F5D="1F55 \global\uccode"1F5D="03A5
    +\global\lccode"1F5F="1F57 \global\uccode"1F5F="03A5
    +\global\lccode"1F60="1F60 \global\uccode"1F60="03A9
    +\global\lccode"1F61="1F61 \global\uccode"1F61="03A9
    +\global\lccode"1F62="1F62 \global\uccode"1F62="03A9
    +\global\lccode"1F63="1F63 \global\uccode"1F63="03A9
    +\global\lccode"1F64="1F64 \global\uccode"1F64="03A9
    +\global\lccode"1F65="1F65 \global\uccode"1F65="03A9
    +\global\lccode"1F66="1F66 \global\uccode"1F66="03A9
    +\global\lccode"1F67="1F67 \global\uccode"1F67="03A9
    +\global\lccode"1F68="1F60 \global\uccode"1F68="03A9
    +\global\lccode"1F69="1F61 \global\uccode"1F69="03A9
    +\global\lccode"1F6A="1F62 \global\uccode"1F6A="03A9
    +\global\lccode"1F6B="1F63 \global\uccode"1F6B="03A9
    +\global\lccode"1F6C="1F64 \global\uccode"1F6C="03A9
    +\global\lccode"1F6D="1F65 \global\uccode"1F6D="03A9
    +\global\lccode"1F6E="1F66 \global\uccode"1F6E="03A9
    +\global\lccode"1F6F="1F67 \global\uccode"1F6F="03A9
    +\global\lccode"1F70="1F70 \global\uccode"1F70="0391
    +\global\lccode"1F71="1F71 \global\uccode"1F71="0391
    +\global\lccode"1F72="1F72 \global\uccode"1F72="0395
    +\global\lccode"1F73="1F73 \global\uccode"1F73="0395
    +\global\lccode"1F74="1F74 \global\uccode"1F74="0397
    +\global\lccode"1F75="1F75 \global\uccode"1F75="0397
    +\global\lccode"1F76="1F76 \global\uccode"1F76="0399
    +\global\lccode"1F77="1F77 \global\uccode"1F77="0399
    +\global\lccode"1F78="1F78 \global\uccode"1F78="039F
    +\global\lccode"1F79="1F79 \global\uccode"1F79="039F
    +\global\lccode"1F7A="1F7A \global\uccode"1F7A="03A5
    +\global\lccode"1F7B="1F7B \global\uccode"1F7B="03A5
    +\global\lccode"1F7C="1F7C \global\uccode"1F7C="03A9
    +\global\lccode"1F7D="1F7D \global\uccode"1F7D="03A9
    +\global\lccode"1F80="1F80 \global\uccode"1F80="1FBC
    +\global\lccode"1F81="1F81 \global\uccode"1F81="1FBC
    +\global\lccode"1F82="1F82 \global\uccode"1F82="1FBC
    +\global\lccode"1F83="1F83 \global\uccode"1F83="1FBC
    +\global\lccode"1F84="1F84 \global\uccode"1F84="1FBC
    +\global\lccode"1F85="1F85 \global\uccode"1F85="1FBC
    +\global\lccode"1F86="1F86 \global\uccode"1F86="1FBC
    +\global\lccode"1F87="1F87 \global\uccode"1F87="1FBC
    +\global\lccode"1F88="1F80 \global\uccode"1F88="1FBC
    +\global\lccode"1F89="1F81 \global\uccode"1F89="1FBC
    +\global\lccode"1F8A="1F82 \global\uccode"1F8A="1FBC
    +\global\lccode"1F8B="1F83 \global\uccode"1F8B="1FBC
    +\global\lccode"1F8C="1F84 \global\uccode"1F8C="1FBC
    +\global\lccode"1F8D="1F85 \global\uccode"1F8D="1FBC
    +\global\lccode"1F8E="1F86 \global\uccode"1F8E="1FBC
    +\global\lccode"1F8F="1F87 \global\uccode"1F8F="1FBC
    +\global\lccode"1F90="1F90 \global\uccode"1F90="1FCC
    +\global\lccode"1F91="1F91 \global\uccode"1F91="1FCC
    +\global\lccode"1F92="1F92 \global\uccode"1F92="1FCC
    +\global\lccode"1F93="1F93 \global\uccode"1F93="1FCC
    +\global\lccode"1F94="1F94 \global\uccode"1F94="1FCC
    +\global\lccode"1F95="1F95 \global\uccode"1F95="1FCC
    +\global\lccode"1F96="1F96 \global\uccode"1F96="1FCC
    +\global\lccode"1F97="1F97 \global\uccode"1F97="1FCC
    +\global\lccode"1F98="1F90 \global\uccode"1F98="1FCC
    +\global\lccode"1F99="1F91 \global\uccode"1F99="1FCC
    +\global\lccode"1F9A="1F92 \global\uccode"1F9A="1FCC
    +\global\lccode"1F9B="1F93 \global\uccode"1F9B="1FCC
    +\global\lccode"1F9C="1F94 \global\uccode"1F9C="1FCC
    +\global\lccode"1F9D="1F95 \global\uccode"1F9D="1FCC
    +\global\lccode"1F9E="1F96 \global\uccode"1F9E="1FCC
    +\global\lccode"1F9F="1F97 \global\uccode"1F9F="1FCC
    +\global\lccode"1FA0="1FA0 \global\uccode"1FA0="1FFC
    +\global\lccode"1FA1="1FA1 \global\uccode"1FA1="1FFC
    +\global\lccode"1FA2="1FA2 \global\uccode"1FA2="1FFC
    +\global\lccode"1FA3="1FA3 \global\uccode"1FA3="1FFC
    +\global\lccode"1FA4="1FA4 \global\uccode"1FA4="1FFC
    +\global\lccode"1FA5="1FA5 \global\uccode"1FA5="1FFC
    +\global\lccode"1FA6="1FA6 \global\uccode"1FA6="1FFC
    +\global\lccode"1FA7="1FA7 \global\uccode"1FA7="1FFC
    +\global\lccode"1FA8="1FA0 \global\uccode"1FA8="1FFC
    +\global\lccode"1FA9="1FA1 \global\uccode"1FA9="1FFC
    +\global\lccode"1FAA="1FA2 \global\uccode"1FAA="1FFC
    +\global\lccode"1FAB="1FA3 \global\uccode"1FAB="1FFC
    +\global\lccode"1FAC="1FA4 \global\uccode"1FAC="1FFC
    +\global\lccode"1FAD="1FA5 \global\uccode"1FAD="1FFC
    +\global\lccode"1FAE="1FA6 \global\uccode"1FAE="1FFC
    +\global\lccode"1FAF="1FA7 \global\uccode"1FAF="1FFC
    +\global\lccode"1FB0="1FB0 \global\uccode"1FB0="1FB8
    +\global\lccode"1FB1="1FB1 \global\uccode"1FB1="1FB9
    +\global\lccode"1FB2="1FB2 \global\uccode"1FB2="1FBC
    +\global\lccode"1FB3="1FB3 \global\uccode"1FB3="1FBC
    +\global\lccode"1FB4="1FB4 \global\uccode"1FB4="1FBC
    +\global\lccode"1FB6="1FB6 \global\uccode"1FB6="0391
    +\global\lccode"1FB7="1FB7 \global\uccode"1FB7="1FBC
    +\global\lccode"1FB8="1FB0 \global\uccode"1FB8="1FB8
    +\global\lccode"1FB9="1FB1 \global\uccode"1FB9="1FB9
    +\global\lccode"1FBA="1F70 \global\uccode"1FBA="0391
    +\global\lccode"1FBB="1F71 \global\uccode"1FBB="0391
    +\global\lccode"1FBC="1FB3 \global\uccode"1FBC="1FBC
    +\global\lccode"1FBD="1FBD \global\uccode"1FBD="1FBD
    +\global\lccode"1FC2="1FC2 \global\uccode"1FC2="1FCC
    +\global\lccode"1FC3="1FC3 \global\uccode"1FC3="1FCC
    +\global\lccode"1FC4="1FC4 \global\uccode"1FC4="1FCC
    +\global\lccode"1FC6="1FC6 \global\uccode"1FC6="0397
    +\global\lccode"1FC7="1FC7 \global\uccode"1FC7="1FCC
    +\global\lccode"1FC8="1F72 \global\uccode"1FC8="0395
    +\global\lccode"1FC9="1F73 \global\uccode"1FC9="0395
    +\global\lccode"1FCA="1F74 \global\uccode"1FCA="0397
    +\global\lccode"1FCB="1F75 \global\uccode"1FCB="0397
    +\global\lccode"1FCC="1FC3 \global\uccode"1FCC="1FCC
    +\global\lccode"1FD0="1FD0 \global\uccode"1FD0="1FD8
    +\global\lccode"1FD1="1FD1 \global\uccode"1FD1="1FD9
    +\global\lccode"1FD2="1FD2 \global\uccode"1FD2="03AA
    +\global\lccode"1FD3="1FD3 \global\uccode"1FD3="03AA
    +\global\lccode"1FD6="1FD6 \global\uccode"1FD6="0399
    +\global\lccode"1FD7="1FD7 \global\uccode"1FD7="03AA
    +\global\lccode"1FD8="1FD0 \global\uccode"1FD8="1FD8
    +\global\lccode"1FD9="1FD1 \global\uccode"1FD9="1FD9
    +\global\lccode"1FDA="1F76 \global\uccode"1FDA="0399
    +\global\lccode"1FDB="1F77 \global\uccode"1FDB="0399
    +\global\lccode"1FE0="1FE0 \global\uccode"1FE0="1FE8
    +\global\lccode"1FE1="1FE1 \global\uccode"1FE1="1FE9
    +\global\lccode"1FE2="1FE2 \global\uccode"1FE2="03AB
    +\global\lccode"1FE3="1FE3 \global\uccode"1FE3="03AB
    +\global\lccode"1FE4="1FE4 \global\uccode"1FE4="03A1
    +\global\lccode"1FE5="1FE5 \global\uccode"1FE5="03A1
    +\global\lccode"1FE6="1FE6 \global\uccode"1FE6="03A5
    +\global\lccode"1FE7="1FE7 \global\uccode"1FE7="03AB
    +\global\lccode"1FE8="1FE0 \global\uccode"1FE8="1FE8
    +\global\lccode"1FE9="1FE1 \global\uccode"1FE9="1FE9
    +\global\lccode"1FEA="1F7A \global\uccode"1FEA="03A5
    +\global\lccode"1FEB="1F7B \global\uccode"1FEB="03A5
    +\global\lccode"1FEC="1FE5 \global\uccode"1FEC="03A1
    +\global\lccode"1FF2="1FF2 \global\uccode"1FF2="1FFC
    +\global\lccode"1FF3="1FF3 \global\uccode"1FF3="1FFC
    +\global\lccode"1FF4="1FF4 \global\uccode"1FF4="1FFC
    +\global\lccode"1FF6="1FF6 \global\uccode"1FF6="03A9
    +\global\lccode"1FF7="1FF7 \global\uccode"1FF7="1FFC
    +\global\lccode"1FF8="1F78 \global\uccode"1FF8="039F
    +\global\lccode"1FF9="1F79 \global\uccode"1FF9="039F
    +\global\lccode"1FFA="1F7C \global\uccode"1FFA="03A9
    +\global\lccode"1FFB="1F7D \global\uccode"1FFB="03A9
    +\global\lccode"1FFC="1FF3 \global\uccode"1FFC="1FFC
    +
    +
    +

    uclclist

    +

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

    +

    @uclclist extension (see also greek-fontenc.def):

    +
    \providecommand*\tuenc@greek@update@uclclist{%
    +  \expandafter\def\expandafter\@uclclist\expandafter{%
    +    \@uclclist
    +    \textkoppa \textKoppa
    +  }%
    +  \let\tuenc@greek@update@uclclist\relax
    +}
    +

    Expand the uclc list using the just defined macro:

    +
    \tuenc@greek@update@uclclist
    +

    Now the hiatus definition modifications:

    +
    \DeclareTextCommand{\LGR@A@hiatus}{\UTFencname}{%
    +  \LGR@ifnextchar{Ι}{\textAlpha\"}{%
    +    \LGR@ifnextchar{Υ}{\textAlpha\"}{%
    +      \LGR@ifnextchar{\textIota}{\textAlpha\"}{%
    +        \LGR@ifnextchar{\textUpsilon}{\textAlpha\"}{\textAlpha}%
    +      }%
    +    }%
    +  }%
    +}
    +\DeclareTextCommand{\LGR@E@hiatus}{\UTFencname}{%
    +  \LGR@ifnextchar{Ι}{\textEpsilon\"}{%
    +    \LGR@ifnextchar{Υ}{\textEpsilon\"}{%
    +      \LGR@ifnextchar{\textIota}{\textEpsilon\"}{%
    +        \LGR@ifnextchar{\textUpsilon}{\textEpsilon\"}{\textEpsilon}%
    +      }%
    +    }%
    +  }%
    +}
    + +
    +
    +
    +

    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 46); 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 new file mode 100644 index 00000000000..a784a805804 --- /dev/null +++ b/Master/texmf-dist/source/latex/greek-fontenc/Makefile @@ -0,0 +1,169 @@ +# This Makefile updates the source and documentation for the +# greek-fontenc LateX package +# +# © 2019 Günter Milde +# +# SRCDIR (and the other variables) can be easily modified as parameters +# while calling `make', e.g. +# +# make install SRCDIR=~/texmf/tex/latex/ + +# Global variables +# ================= + +# for installation into a users local texmf tree +DESTDIR = ~/texmf/tex/latex/greek/greek-fontenc +DOCDIR = ~/texmf/doc/latex/greek/greek-fontenc + +CHDIR = cd +COPY = cp -u +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 +LATEX = pdflatex -interaction batchmode + +# LaTeX source files +# ================== + +.PHONY: all font-encodings packages + +all: font-encodings packages + +# font encoding definition files +font-encodings: greek-fontenc.def lgrenc.def tuenc-greek.def greek-euenc.def + +tuenc-greek.def: tuenc-greek.def.txt + $(PYLIT) $@.txt + +greek-fontenc.def: greek-fontenc.def.txt + $(PYLIT) $@.txt + +lgrenc.def: lgrenc.def.txt + $(PYLIT) $@.txt + +# LaTeX packages +packages: textalpha.sty alphabeta.sty alphabeta-tuenc.def alphabeta-lgr.def + +textalpha.sty: textalpha.sty.txt + $(PYLIT) $@.txt + +alphabeta.sty: alphabeta.sty.txt + $(PYLIT) $@.txt + +alphabeta-tuenc.def: alphabeta-tuenc.def.txt + $(PYLIT) $@.txt + +alphabeta-lgr.def: alphabeta-lgr.def.txt + $(PYLIT) $@.txt + +# Experimental files +lgr2licr.lua: lgr2licr.lua.txt + $(PYLIT) $@.txt + +# Documentation +# ============= + +.PHONY: doc html pdf + +doc: html pdf + + +html: README.html tuenc-greek.def.html greek-fontenc.def.html lgrenc.def.html \ + textalpha.sty.html alphabeta.sty.html \ + alphabeta-tuenc.def.html alphabeta-lgr.def.html lgr2licr.lua.html + +README.html: README + $(RST2HTML) README README.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 + +lgrenc.def.html: lgrenc.def + $(PYLIT) lgrenc.def + $(RST2HTML) lgrenc.def.txt lgrenc.def.html + +textalpha.sty.html: textalpha.sty + $(PYLIT) textalpha.sty + $(RST2HTML) textalpha.sty.txt textalpha.sty.html + +alphabeta.sty.html: alphabeta.sty + $(PYLIT) alphabeta.sty + $(RST2HTML) alphabeta.sty.txt alphabeta.sty.html + +alphabeta-tuenc.def.html: alphabeta-tuenc.def + $(PYLIT) alphabeta-tuenc.def + $(RST2HTML) alphabeta-tuenc.def.txt alphabeta-tuenc.html + +alphabeta-lgr.def.html: alphabeta-lgr.def + $(PYLIT) alphabeta-lgr.def + $(RST2HTML) alphabeta-lgr.def.txt alphabeta-lgr.def.html + +lgr2licr.lua.html: lgr2licr.lua + $(PYLIT) lgr2licr.lua + $(RST2HTML) lgr2licr.lua.txt lgr2licr.lua.html + +# User documentation +# ================== + +pdf: alphabeta-doc.pdf diacritics.pdf tuenc-greek-doc.pdf greekhyperref.pdf \ + lgrenc-test.pdf textalpha-doc.pdf + +TEXTALPHA = textalpha.sty greek-fontenc.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 + +textalpha-doc.pdf: textalpha-doc.tex lgrenc.def $(TEXTALPHA) + $(LATEX) textalpha-doc.tex + +alphabeta-doc.pdf: alphabeta-doc.tex $(ALPHABETA) lgrenc.def + $(LATEX) alphabeta-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 + +diacritics.pdf: diacritics.tex lgrenc.def greek-fontenc.def + $(LATEX) diacritics.tex + + +# Installation +# ------------ + +install: all + $(COPY) *.def $(DESTDIR) + $(COPY) *.sty $(DESTDIR) + +install-doc: doc + $(COPY) README $(DOCDIR) + $(COPY) *.def $(DOCDIR) + $(COPY) *.sty $(DOCDIR) + $(COPY) *.lua $(DOCDIR) + $(COPY) *.html $(DOCDIR) + $(COPY) *.tex $(DOCDIR) + $(COPY) *.pdf $(DOCDIR) + $(COPY) Makefile $(DOCDIR) + +# Cleanup +# ------- + +.PHONY: clean + +clean: + rm -f *.aux *.log *.toc *~ + diff --git a/Master/texmf-dist/tex/latex/greek-fontenc/alphabeta-euenc.def b/Master/texmf-dist/tex/latex/greek-fontenc/alphabeta-euenc.def deleted file mode 100644 index 8b465eebe87..00000000000 --- a/Master/texmf-dist/tex/latex/greek-fontenc/alphabeta-euenc.def +++ /dev/null @@ -1,241 +0,0 @@ -% alphabeta-euenc.def -% =================== -% Composite definitions for XeTeX and LuaTeX -% ****************************************** -% -% :Copyright: © 2013 Günter Milde -% :Licence: This work may be distributed and/or modified under the -% conditions of the `LaTeX Project Public License`_, either -% version 1.3 of this license or any later version. -% :Identification: -% :: - -\ProvidesFile{alphabeta-euenc} -[2014/09/04 0.11.2 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 -% ========== ====== ======================================================== -% -% 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 greek-euenc.def_ with -% composite commands for use with Unicode fonts. It is sourced by alphabeta_ -% under XeTeX/LuaTeX. -% -% Greek and Coptic -% ~~~~~~~~~~~~~~~~ -% :: - -\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\Alpha}{Ά} -\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\Epsilon}{Έ} -\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\Eta}{Ή} -\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\Iota}{Ί} -\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\Omicron}{Ό} -\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\Upsilon}{Ύ} -\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\Omega}{Ώ} -\DeclareTextCompositeCommand{\accdialytikatonos}{\LastDeclaredEncoding}{\iota}{ΐ} - -\DeclareTextCompositeCommand{\"}{\LastDeclaredEncoding}{\Iota}{Ϊ} -\DeclareTextCompositeCommand{\"}{\LastDeclaredEncoding}{\Upsilon}{Ϋ} -\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\alpha}{ά} -\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\epsilon}{έ} -\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\eta}{ή} -\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\iota}{ί} -\DeclareTextCompositeCommand{\accdialytikatonos}{\LastDeclaredEncoding}{\upsilon}{ΰ} - -\DeclareTextCompositeCommand{\"}{\LastDeclaredEncoding}{\iota}{ϊ} -\DeclareTextCompositeCommand{\"}{\LastDeclaredEncoding}{\upsilon}{ϋ} -\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\omicron}{ό} -\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\upsilon}{ύ} -\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\omega}{ώ} - - -% Greek Extended -% ~~~~~~~~~~~~~~ -% Postfix ypogegrammeni cannot be second part of composite defs. -% :: - -\DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\alpha}{ἀ} -\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\alpha}{ἁ} -\DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\alpha}{ἂ} -\DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\alpha}{ἃ} -\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\alpha}{ἄ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\LastDeclaredEncoding}{\alpha}{ἅ} -\DeclareTextCompositeCommand{\accpsiliperispomeni}{\LastDeclaredEncoding}{\alpha}{ἆ} -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\LastDeclaredEncoding}{\alpha}{ἇ} -\DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\Alpha}{Ἀ} -\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\Alpha}{Ἁ} -\DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\Alpha}{Ἂ} -\DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\Alpha}{Ἃ} -\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\Alpha}{Ἄ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\LastDeclaredEncoding}{\Alpha}{Ἅ} -\DeclareTextCompositeCommand{\accpsiliperispomeni}{\LastDeclaredEncoding}{\Alpha}{Ἆ} -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\LastDeclaredEncoding}{\Alpha}{Ἇ} - -\DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\epsilon}{ἐ} -\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\epsilon}{ἑ} -\DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\epsilon}{ἒ} -\DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\epsilon}{ἓ} -\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\epsilon}{ἔ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\LastDeclaredEncoding}{\epsilon}{ἕ} -\DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\Epsilon}{Ἐ} -\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\Epsilon}{Ἑ} -\DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\Epsilon}{Ἒ} -\DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\Epsilon}{Ἓ} -\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\Epsilon}{Ἔ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\LastDeclaredEncoding}{\Epsilon}{Ἕ} - -\DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\eta}{ἠ} -\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\eta}{ἡ} -\DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\eta}{ἢ} -\DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\eta}{ἣ} -\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\eta}{ἤ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\LastDeclaredEncoding}{\eta}{ἥ} -\DeclareTextCompositeCommand{\accpsiliperispomeni}{\LastDeclaredEncoding}{\eta}{ἦ} -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\LastDeclaredEncoding}{\eta}{ἧ} -\DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\Eta}{Ἠ} -\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\Eta}{Ἡ} -\DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\Eta}{Ἢ} -\DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\Eta}{Ἣ} -\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\Eta}{Ἤ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\LastDeclaredEncoding}{\Eta}{Ἥ} -\DeclareTextCompositeCommand{\accpsiliperispomeni}{\LastDeclaredEncoding}{\Eta}{Ἦ} -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\LastDeclaredEncoding}{\Eta}{Ἧ} - -\DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\iota}{ἰ} -\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\iota}{ἱ} -\DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\iota}{ἲ} -\DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\iota}{ἳ} -\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\iota}{ἴ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\LastDeclaredEncoding}{\iota}{ἵ} -\DeclareTextCompositeCommand{\accpsiliperispomeni}{\LastDeclaredEncoding}{\iota}{ἶ} -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\LastDeclaredEncoding}{\iota}{ἷ} -\DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\Iota}{Ἰ} -\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\Iota}{Ἱ} -\DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\Iota}{Ἲ} -\DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\Iota}{Ἳ} -\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\Iota}{Ἴ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\LastDeclaredEncoding}{\Iota}{Ἵ} -\DeclareTextCompositeCommand{\accpsiliperispomeni}{\LastDeclaredEncoding}{\Iota}{Ἶ} -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\LastDeclaredEncoding}{\Iota}{Ἷ} - -\DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\omicron}{ὀ} -\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\omicron}{ὁ} -\DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\omicron}{ὂ} -\DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\omicron}{ὃ} -\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\omicron}{ὄ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\LastDeclaredEncoding}{\omicron}{ὅ} -\DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\Omicron}{Ὀ} -\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\Omicron}{Ὁ} -\DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\Omicron}{Ὂ} -\DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\Omicron}{Ὃ} -\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\Omicron}{Ὄ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\LastDeclaredEncoding}{\Omicron}{Ὅ} - -\DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\upsilon}{ὐ} -\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\upsilon}{ὑ} -\DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\upsilon}{ὒ} -\DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\upsilon}{ὓ} -\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\upsilon}{ὔ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\LastDeclaredEncoding}{\upsilon}{ὕ} -\DeclareTextCompositeCommand{\accpsiliperispomeni}{\LastDeclaredEncoding}{\upsilon}{ὖ} -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\LastDeclaredEncoding}{\upsilon}{ὗ} -\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\Upsilon}{Ὑ} -\DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\Upsilon}{Ὓ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\LastDeclaredEncoding}{\Upsilon}{Ὕ} -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\LastDeclaredEncoding}{\Upsilon}{Ὗ} - -\DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\omega}{ὠ} -\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\omega}{ὡ} -\DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\omega}{ὢ} -\DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\omega}{ὣ} -\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\omega}{ὤ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\LastDeclaredEncoding}{\omega}{ὥ} -\DeclareTextCompositeCommand{\accpsiliperispomeni}{\LastDeclaredEncoding}{\omega}{ὦ} -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\LastDeclaredEncoding}{\omega}{ὧ} -\DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\Omega}{Ὠ} -\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\Omega}{Ὡ} -\DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\Omega}{Ὢ} -\DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\Omega}{Ὣ} -\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\Omega}{Ὤ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\LastDeclaredEncoding}{\Omega}{Ὥ} -\DeclareTextCompositeCommand{\accpsiliperispomeni}{\LastDeclaredEncoding}{\Omega}{Ὦ} -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\LastDeclaredEncoding}{\Omega}{Ὧ} - -\DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\alpha}{ὰ} -\DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\epsilon}{ὲ} -\DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\eta}{ὴ} -\DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\iota}{ὶ} -\DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\omicron}{ὸ} -\DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\upsilon}{ὺ} -\DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\omega}{ὼ} - -\DeclareTextCompositeCommand{\u}{\LastDeclaredEncoding}{\alpha}{ᾰ} -\DeclareTextCompositeCommand{\=}{\LastDeclaredEncoding}{\alpha}{ᾱ} -\DeclareTextCompositeCommand{\~}{\LastDeclaredEncoding}{\alpha}{ᾶ} -\DeclareTextCompositeCommand{\accperispomeni}{\LastDeclaredEncoding}{\alpha}{ᾶ} -\DeclareTextCompositeCommand{\u}{\LastDeclaredEncoding}{\Alpha}{Ᾰ} -\DeclareTextCompositeCommand{\=}{\LastDeclaredEncoding}{\Alpha}{Ᾱ} -\DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\Alpha}{Ὰ} -\DeclareTextCompositeCommand{\accvaria}{\LastDeclaredEncoding}{\Alpha}{Ὰ} - -\DeclareTextCompositeCommand{\~}{\LastDeclaredEncoding}{\eta}{ῆ} -\DeclareTextCompositeCommand{\accperispomeni}{\LastDeclaredEncoding}{\eta}{ῆ} -\DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\Epsilon}{Ὲ} -\DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\Eta}{Ὴ} -\DeclareTextCompositeCommand{\accvaria}{\LastDeclaredEncoding}{\Epsilon}{Ὲ} -\DeclareTextCompositeCommand{\accvaria}{\LastDeclaredEncoding}{\Eta}{Ὴ} - -\DeclareTextCompositeCommand{\u}{\LastDeclaredEncoding}{\iota}{ῐ} -\DeclareTextCompositeCommand{\=}{\LastDeclaredEncoding}{\iota}{ῑ} -\DeclareTextCompositeCommand{\accdialytikavaria}{\LastDeclaredEncoding}{\iota}{ῒ} -\DeclareTextCompositeCommand{\accdialytikaoxia}{\LastDeclaredEncoding}{\iota}{ΐ} -\DeclareTextCompositeCommand{\~}{\LastDeclaredEncoding}{\iota}{ῖ} -\DeclareTextCompositeCommand{\accperispomeni}{\LastDeclaredEncoding}{\iota}{ῖ} -\DeclareTextCompositeCommand{\accdialytikaperispomeni}{\LastDeclaredEncoding}{\iota}{ῗ} -\DeclareTextCompositeCommand{\u}{\LastDeclaredEncoding}{\Iota}{Ῐ} -\DeclareTextCompositeCommand{\=}{\LastDeclaredEncoding}{\Iota}{Ῑ} -\DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\Iota}{Ὶ} -\DeclareTextCompositeCommand{\accvaria}{\LastDeclaredEncoding}{\Iota}{Ὶ} - -\DeclareTextCompositeCommand{\u}{\LastDeclaredEncoding}{\upsilon}{ῠ} -\DeclareTextCompositeCommand{\=}{\LastDeclaredEncoding}{\upsilon}{ῡ} -\DeclareTextCompositeCommand{\accdialytikavaria}{\LastDeclaredEncoding}{\upsilon}{ῢ} -\DeclareTextCompositeCommand{\accdialytikaoxia}{\LastDeclaredEncoding}{\upsilon}{ΰ} -\DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\rho}{ῤ} -\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\rho}{ῥ} -\DeclareTextCompositeCommand{\~}{\LastDeclaredEncoding}{\upsilon}{ῦ} -\DeclareTextCompositeCommand{\accperispomeni}{\LastDeclaredEncoding}{\upsilon}{ῦ} -\DeclareTextCompositeCommand{\accdialytikaperispomeni}{\LastDeclaredEncoding}{\upsilon}{ῧ} -\DeclareTextCompositeCommand{\u}{\LastDeclaredEncoding}{\Upsilon}{Ῠ} -\DeclareTextCompositeCommand{\=}{\LastDeclaredEncoding}{\Upsilon}{Ῡ} -\DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\Upsilon}{Ὺ} -\DeclareTextCompositeCommand{\accvaria}{\LastDeclaredEncoding}{\Upsilon}{Ὺ} -\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\Rho}{Ῥ} - -\DeclareTextCompositeCommand{\~}{\LastDeclaredEncoding}{\omega}{ῶ} -\DeclareTextCompositeCommand{\accperispomeni}{\LastDeclaredEncoding}{\omega}{ῶ} -\DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\Omicron}{Ὸ} -\DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\Omega}{Ὼ} -\DeclareTextCompositeCommand{\accvaria}{\LastDeclaredEncoding}{\Omicron}{Ὸ} -\DeclareTextCompositeCommand{\accvaria}{\LastDeclaredEncoding}{\Omega}{Ὼ} - -% .. References -% -% .. _LaTeX Project Public License: http://www.latex-project.org/lppl.txt -% .. _alphabeta: alphabeta.sty.html -% .. _greek-euenc.def: greek-euenc.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 new file mode 100644 index 00000000000..043afc86b0c --- /dev/null +++ b/Master/texmf-dist/tex/latex/greek-fontenc/alphabeta-tuenc.def @@ -0,0 +1,243 @@ +% alphabeta-tuenc.def +% =================== +% Composite definitions for XeTeX and LuaTeX +% ****************************************** +% +% :Copyright: © 2013 Günter Milde +% :Licence: This work may be distributed and/or modified under the +% conditions of the `LaTeX Project Public License`_, either +% version 1.3 of this license or any later version. +% :Identification: +% :: + +\ProvidesFile{alphabeta-tuenc} +[2020/02/28 0.14 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`` +% ========== ====== ======================================================== +% +% 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}{Ὼ} + +% .. References +% +% .. _LaTeX Project Public License: http://www.latex-project.org/lppl.txt +% .. _alphabeta: alphabeta.sty.html +% .. _tuenc-greek.def: tuenc-greek.def.html diff --git a/Master/texmf-dist/tex/latex/greek-fontenc/alphabeta.sty b/Master/texmf-dist/tex/latex/greek-fontenc/alphabeta.sty index a799a6cd90c..b4a4f94b69a 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} -[2016/02/05 v0.13.2 macros for Greek letters in text and math] + [2020/02/28 v0.14 macros for Greek letters in text and math] % Changelog: % .. class:: borderless @@ -28,6 +28,8 @@ % 0.13 2015-09-04 Support for `variant symbols`. % 0.13.2 2016-02-05 Support for standard Unicode text font encoding "TU" % (new in fontspec v2.5a). +% 0.14 2020/02/28 rename ``alphabeta-euenc.def`` to +% ``alphabeta-tuenc.def``. % ====== ========== ========================================================= % % Motivation @@ -272,7 +274,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 @@ -317,15 +319,11 @@ % `letter name commands`. (Composition only works if the active font encoding % is LGR). :: -\ifdefined\XeTeXrevision - \input{alphabeta-euenc.def} - % \expandafter\endinput % "return" -\else\ifdefined\luatexversion - \input{alphabeta-euenc.def} - % \expandafter\endinput % "return" +\ifdefined\UTFencname + \input{alphabeta-tuenc.def} \else % 8-bit TeX \input{alphabeta-lgr.def} -\fi\fi +\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 b48535fe30b..621e3b8f1d2 100644 --- a/Master/texmf-dist/tex/latex/greek-fontenc/greek-euenc.def +++ b/Master/texmf-dist/tex/latex/greek-fontenc/greek-euenc.def @@ -1,881 +1,14 @@ % greek-euenc.def % +++++++++++++++ -% Greek LICR definitions for XeTeX and LuaTeX -% ******************************************* -% -% :Copyright: © 2013 Günter Milde +% +% Backwards compatibility file loading tuenc-greek.def. +% +% :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{greek-euenc.def} -[2018/01/06 0.13.3 Greek LICRs for XeTeX and LuaTeX] +[2020/02/28 0.14 Greek LICRs for XeTeX and LuaTeX] -% :abstract: -% Experimental support for Greek LICR macros with XeTeX and LuaTeX. -% Extends euenc_. Used by babel-greek_ and textalpha_. -% -% **History**: -% .. class:: borderless -% -% ====== ========== ======================================================== -% 0.1 2013-07-16 initial version -% 0.1.1 2013-07-18 bugfix: wrong breathings psilioxia -> dasiaoxia -% 0.1.2 2013-07-19 bugfix: Disable composite defs starting with char macro, -% .. fix "hiatus" handling. -% 0.1.3 2013-07-24 fix "input" path. -% 0.1.4 2013-10-01 remove clashing defs for legacy characters with oxia, -% .. fix upcasing of ``\finalsigma``. -% 0.11.1 2013-12-01 fix identification. -% 0.11.2 2014-09-08 ``\textKoppa`` macro -% .. (Capital Koppa is not defined in LGR but Unicode). -% 0.12 2014-12-12 Remove symbol macros for breathing accents. -% 0.13 2015-08-07 ``\lccode``/``\uccode`` corrections from xgreek_. -% .. LICR macros for symbol variants. -% 0.13.3 2018-01-06 Documentation update. -% ====== ========== ======================================================== -% -% .. contents:: -% -% Motivation -% ========== -% -% LICR macro definitions for the Greek script are missing in both, xunicode_ -% and euenc_. -% -% This file expands the font encoding definition files ``eu1enc.def`` rsp. -% ``eu2enc.def`` from euenc_ defining `LaTeX Internal Character -% Representaction` (LICR) macros for Greek letters and symbols. It works -% independed of xunicode_ using the standard commands for `LaTeX2e font -% selection`_. -% -% Requirements -% ============ -% -% Requires XeTeX or LuaTeX, fontspec_, and a font with Greek characters. -% -% See ``_ and ``_ for setup and -% usage examples. -% -% -% Greek Diacritics -% ================ -% -% Define "named macros" for simple and combined diacritics. -% -% * Named accent macros can be used instead of the ``\@tabacckludge`` by -% to-LaTeX converters to ensure working also inside the tabbing environment. -% -% * Named macros are required for upcasing according to Greek typesetting -% conventions and in the definition of composite commands. -% -% Greek alias names for standard accents:: - -\DeclareTextCommand{\acctonos}{\LastDeclaredEncoding}{\@tabacckludge'} -\DeclareTextCommand{\accvaria}{\LastDeclaredEncoding}{\@tabacckludge`} -\DeclareTextCommand{\accdialytika}{\LastDeclaredEncoding}{\@tabacckludge"} - -% The combining perispomeni character is normalized with Greek base letters, -% while the (standard) combining tilde is not:: - -\DeclareTextCommand{\accperispomeni}{\LastDeclaredEncoding}[1]{#1\char"0342 } - -% Breathings: -% -% (The COMBINING GREEK KORONIS is a legacy character, discarded in favour of -% COMBINING COMMA ABOVE) :: - -\DeclareTextCommand{\accpsili}{\LastDeclaredEncoding}[1]{#1\char"0313 } % ψιλή spiritus lenis (smooth breathing) -\DeclareTextCommand{\accdasia}{\LastDeclaredEncoding}[1]{#1\char"0314 } % δασεῖα spiritus asper (rough breathing) - - -% Sub-iota: -% -% ``\ypogegrammeni`` is a postfix accent (ligature in LGR) :: - -\DeclareTextSymbol{\ypogegrammeni}{\LastDeclaredEncoding}{0837} % COMBINING GREEK YPOGEGRAMMENI - -% Combined diacritics:: - -% The COMBINING DIALYTIKA TONOS is discarded and not well supported by fonts: -\DeclareTextCommand{\accdialytikatonos}{\LastDeclaredEncoding}[1]{#1\char"0308 \char"0301 } -\DeclareTextCommand{\accdialytikavaria}{\LastDeclaredEncoding}[1]{#1\char"0308 \char"0300 } -\DeclareTextCommand{\accdialytikaperispomeni}{\LastDeclaredEncoding}[1]{#1\char"0342 \char"0308 } - -\DeclareTextCommand{\accdasiaoxia}{\LastDeclaredEncoding}[1]{#1\char"0314 \char"0301 } -\DeclareTextCommand{\accdasiavaria}{\LastDeclaredEncoding}[1]{#1\char"0314 \char"0300 } -\DeclareTextCommand{\accdasiaperispomeni}{\LastDeclaredEncoding}[1]{#1\char"0314 \char"0342 } - -\DeclareTextCommand{\accpsilioxia}{\LastDeclaredEncoding}[1]{#1\char"0301 \char"0313 } -\DeclareTextCommand{\accpsilivaria}{\LastDeclaredEncoding}[1]{#1\char"0300 \char"0313 } -\DeclareTextCommand{\accpsiliperispomeni}{\LastDeclaredEncoding}[1]{#1\char"0342 \char"0313 } - - -% Common Definitions -% ================== -% -% Use the `common Greek font encoding definitions`_:: - -\input{greek-fontenc.def} - - -% Character Definitions -% ===================== -% -% General Punctuation -% ~~~~~~~~~~~~~~~~~~~ -% -% Ligature break up with ZERO WIDTH NON-JOINER:: - -\DeclareTextCommand{\textcompwordmark}{\LastDeclaredEncoding}{\char"200C} - -% Greek and Coptic -% ~~~~~~~~~~~~~~~~ -% -% :: - -% NR Unicode Name % babel name, % PU name -% 0370 GREEK CAPITAL LETTER HETA % Ͱ -% 0371 GREEK SMALL LETTER HETA % ͱ -% 0372 GREEK CAPITAL LETTER ARCHAIC SAMPI % Ͳ -% 0373 GREEK SMALL LETTER ARCHAIC SAMPI % ͳ -\DeclareTextCommand{\textdexiakeraia}{\LastDeclaredEncoding}{ʹ} % \anwtonos, \textnumeralsigngreek -\DeclareTextCommand{\textaristerikeraia}{\LastDeclaredEncoding}{͵} % \katwtonos, \textnumeralsignlowergreek -% 0376 GREEK CAPITAL LETTER PAMPHYLIAN DIGAMMA % Ͷ -% 0377 GREEK SMALL LETTER PAMPHYLIAN DIGAMMA % ͷ - -% 037A GREEK YPOGEGRAMMENI (use \textcompwordmark\ypogegrammeni) % ͺ -% 037B GREEK SMALL REVERSED LUNATE SIGMA SYMBOL -% 037C GREEK SMALL DOTTED LUNATE SIGMA SYMBOL -% 037D GREEK SMALL REVERSED DOTTED LUNATE SIGMA SYMBOL -\DeclareTextCommand{\texterotimatiko}{\LastDeclaredEncoding}{;} % 037E GREEK QUESTION MARK - -\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textcompwordmark}{΄} -\DeclareTextCompositeCommand{\accdialytikatonos}{\LastDeclaredEncoding}{\textcompwordmark}{΅} -\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textAlpha}{Ά} -\DeclareTextCommand{\textanoteleia}{\LastDeclaredEncoding}{·} % \anoteleia -\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textEpsilon}{Έ} -\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textEta}{Ή} -\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textIota}{Ί} -\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textOmicron}{Ό} -\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textUpsilon}{Ύ} -\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textOmega}{Ώ} -\DeclareTextCompositeCommand{\accdialytikatonos}{\LastDeclaredEncoding}{\textiota}{ΐ} - -\DeclareTextCommand{\textAlpha}{\LastDeclaredEncoding}{Α} -\DeclareTextCommand{\textBeta}{\LastDeclaredEncoding}{Β} -\DeclareTextCommand{\textGamma}{\LastDeclaredEncoding}{Γ} -\DeclareTextCommand{\textDelta}{\LastDeclaredEncoding}{Δ} -\DeclareTextCommand{\textEpsilon}{\LastDeclaredEncoding}{Ε} -\DeclareTextCommand{\textZeta}{\LastDeclaredEncoding}{Ζ} -\DeclareTextCommand{\textEta}{\LastDeclaredEncoding}{Η} -\DeclareTextCommand{\textTheta}{\LastDeclaredEncoding}{Θ} -\DeclareTextCommand{\textIota}{\LastDeclaredEncoding}{Ι} -\DeclareTextCommand{\textKappa}{\LastDeclaredEncoding}{Κ} -\DeclareTextCommand{\textLambda}{\LastDeclaredEncoding}{Λ} -\DeclareTextCommand{\textMu}{\LastDeclaredEncoding}{Μ} -\DeclareTextCommand{\textNu}{\LastDeclaredEncoding}{Ν} -\DeclareTextCommand{\textXi}{\LastDeclaredEncoding}{Ξ} -\DeclareTextCommand{\textOmicron}{\LastDeclaredEncoding}{Ο} -\DeclareTextCommand{\textPi}{\LastDeclaredEncoding}{Π} -\DeclareTextCommand{\textRho}{\LastDeclaredEncoding}{Ρ} -\DeclareTextCommand{\textSigma}{\LastDeclaredEncoding}{Σ} -\DeclareTextCommand{\textTau}{\LastDeclaredEncoding}{Τ} -\DeclareTextCommand{\textUpsilon}{\LastDeclaredEncoding}{Υ} -\DeclareTextCommand{\textPhi}{\LastDeclaredEncoding}{Φ} -\DeclareTextCommand{\textChi}{\LastDeclaredEncoding}{Χ} -\DeclareTextCommand{\textPsi}{\LastDeclaredEncoding}{Ψ} -\DeclareTextCommand{\textOmega}{\LastDeclaredEncoding}{Ω} - -\DeclareTextCompositeCommand{\"}{\LastDeclaredEncoding}{\textIota}{Ϊ} -\DeclareTextCompositeCommand{\"}{\LastDeclaredEncoding}{\textUpsilon}{Ϋ} -\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textalpha}{ά} -\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textepsilon}{έ} -\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\texteta}{ή} -\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textiota}{ί} -\DeclareTextCompositeCommand{\accdialytikatonos}{\LastDeclaredEncoding}{\textupsilon}{ΰ} - -\DeclareTextCommand{\textalpha}{\LastDeclaredEncoding}{α} -\DeclareTextCommand{\textbeta}{\LastDeclaredEncoding}{β} -\DeclareTextCommand{\textgamma}{\LastDeclaredEncoding}{γ} -\DeclareTextCommand{\textdelta}{\LastDeclaredEncoding}{δ} -\DeclareTextCommand{\textepsilon}{\LastDeclaredEncoding}{ε} -\DeclareTextCommand{\textvarepsilon}{\LastDeclaredEncoding}{ε} % cf. $\varepsiolon$ -\DeclareTextCommand{\textzeta}{\LastDeclaredEncoding}{ζ} -\DeclareTextCommand{\texteta}{\LastDeclaredEncoding}{η} -\DeclareTextCommand{\texttheta}{\LastDeclaredEncoding}{θ} -\DeclareTextCommand{\textiota}{\LastDeclaredEncoding}{ι} -\DeclareTextCommand{\textkappa}{\LastDeclaredEncoding}{κ} -\DeclareTextCommand{\textlambda}{\LastDeclaredEncoding}{λ} -\DeclareTextCommand{\textmu}{\LastDeclaredEncoding}{μ} % \textmugreek -\DeclareTextCommand{\textnu}{\LastDeclaredEncoding}{ν} -\DeclareTextCommand{\textxi}{\LastDeclaredEncoding}{ξ} -\DeclareTextCommand{\textomicron}{\LastDeclaredEncoding}{ο} -\DeclareTextCommand{\textpi}{\LastDeclaredEncoding}{π} -\DeclareTextCommand{\textrho}{\LastDeclaredEncoding}{ρ} -\DeclareTextCommand{\textvarsigma}{\LastDeclaredEncoding}{ς} % final sigma -\DeclareTextCommand{\textfinalsigma}{\LastDeclaredEncoding}{\textvarsigma} -\DeclareTextCommand{\textsigma}{\LastDeclaredEncoding}{σ} -% Dummy definition (\textautosigma is lowercase of \textSigma): -\ProvideTextCommand{\textautosigma}{\LastDeclaredEncoding}{\textsigma} -\DeclareTextCommand{\texttau}{\LastDeclaredEncoding}{τ} -\DeclareTextCommand{\textupsilon}{\LastDeclaredEncoding}{υ} -\DeclareTextCommand{\textphi}{\LastDeclaredEncoding}{φ} -\DeclareTextCommand{\textvarphi}{\LastDeclaredEncoding}{φ} % cf. $\varphi$ -\DeclareTextCommand{\textchi}{\LastDeclaredEncoding}{χ} -\DeclareTextCommand{\textpsi}{\LastDeclaredEncoding}{ψ} -\DeclareTextCommand{\textomega}{\LastDeclaredEncoding}{ω} - -\DeclareTextCompositeCommand{\"}{\LastDeclaredEncoding}{\textiota}{ϊ} -\DeclareTextCompositeCommand{\"}{\LastDeclaredEncoding}{\textupsilon}{ϋ} -\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textomicron}{ό} -\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textupsilon}{ύ} -\DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textomega}{ώ} - -\DeclareTextCommand{\textQoppa}{\LastDeclaredEncoding}{Ϙ} -\DeclareTextCommand{\textqoppa}{\LastDeclaredEncoding}{ϙ} -\DeclareTextCommand{\textStigma}{\LastDeclaredEncoding}{Ϛ} -\DeclareTextCommand{\textstigma}{\LastDeclaredEncoding}{ϛ} -\DeclareTextCommand{\textDigamma}{\LastDeclaredEncoding}{Ϝ} -\DeclareTextCommand{\textdigamma}{\LastDeclaredEncoding}{ϝ} -\DeclareTextCommand{\textKoppa}{\LastDeclaredEncoding}{Ϟ} % not defined in LGR -\DeclareTextCommand{\textkoppa}{\LastDeclaredEncoding}{ϟ} % \koppa, \textqoppa [sic!] -\DeclareTextCommand{\textSampi}{\LastDeclaredEncoding}{Ϡ} -\DeclareTextCommand{\textsampi}{\LastDeclaredEncoding}{ϡ} - -% Symbol variants -\DeclareTextCommand{\textbetasymbol}{\LastDeclaredEncoding}{ϐ} -\DeclareTextCommand{\textkappasymbol}{\LastDeclaredEncoding}{ϰ} -\DeclareTextCommand{\textThetasymbol}{\LastDeclaredEncoding}{ϴ} -\DeclareTextCommand{\textthetasymbol}{\LastDeclaredEncoding}{ϑ} -\DeclareTextCommand{\textphisymbol}{\LastDeclaredEncoding}{ϕ} -\DeclareTextCommand{\textpisymbol}{\LastDeclaredEncoding}{ϖ} -\DeclareTextCommand{\textrhosymbol}{\LastDeclaredEncoding}{ϱ} -\DeclareTextCommand{\textepsilonsymbol}{\LastDeclaredEncoding}{ϵ} -% math compatibility aliases -% $\varphi$ and $\varepsilon$ refer to the letter characters (see above)! -\DeclareTextCommand{\textvarbeta}{\LastDeclaredEncoding}{\textbetasymbol} -\DeclareTextCommand{\textvarkappa}{\LastDeclaredEncoding}{ϰ} -\DeclareTextCommand{\textvarTheta}{\LastDeclaredEncoding}{ϴ} -\DeclareTextCommand{\textvartheta}{\LastDeclaredEncoding}{ϑ} -\DeclareTextCommand{\textvarpi}{\LastDeclaredEncoding}{ϖ} -\DeclareTextCommand{\textvarrho}{\LastDeclaredEncoding}{ϱ} - -% 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}{\LastDeclaredEncoding}{\textalpha}{ἀ} -\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textalpha}{ἁ} -\DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\textalpha}{ἂ} -\DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\textalpha}{ἃ} -\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textalpha}{ἄ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\LastDeclaredEncoding}{\textalpha}{ἅ} -\DeclareTextCompositeCommand{\accpsiliperispomeni}{\LastDeclaredEncoding}{\textalpha}{ἆ} -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\LastDeclaredEncoding}{\textalpha}{ἇ} -\DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textAlpha}{Ἀ} -\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textAlpha}{Ἁ} -\DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\textAlpha}{Ἂ} -\DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\textAlpha}{Ἃ} -\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textAlpha}{Ἄ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\LastDeclaredEncoding}{\textAlpha}{Ἅ} -\DeclareTextCompositeCommand{\accpsiliperispomeni}{\LastDeclaredEncoding}{\textAlpha}{Ἆ} -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\LastDeclaredEncoding}{\textAlpha}{Ἇ} - -\DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textepsilon}{ἐ} -\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textepsilon}{ἑ} -\DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\textepsilon}{ἒ} -\DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\textepsilon}{ἓ} -\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textepsilon}{ἔ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\LastDeclaredEncoding}{\textepsilon}{ἕ} -\DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textEpsilon}{Ἐ} -\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textEpsilon}{Ἑ} -\DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\textEpsilon}{Ἒ} -\DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\textEpsilon}{Ἓ} -\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textEpsilon}{Ἔ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\LastDeclaredEncoding}{\textEpsilon}{Ἕ} - -\DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\texteta}{ἠ} -\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\texteta}{ἡ} -\DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\texteta}{ἢ} -\DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\texteta}{ἣ} -\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\texteta}{ἤ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\LastDeclaredEncoding}{\texteta}{ἥ} -\DeclareTextCompositeCommand{\accpsiliperispomeni}{\LastDeclaredEncoding}{\texteta}{ἦ} -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\LastDeclaredEncoding}{\texteta}{ἧ} -\DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textEta}{Ἠ} -\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textEta}{Ἡ} -\DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\textEta}{Ἢ} -\DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\textEta}{Ἣ} -\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textEta}{Ἤ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\LastDeclaredEncoding}{\textEta}{Ἥ} -\DeclareTextCompositeCommand{\accpsiliperispomeni}{\LastDeclaredEncoding}{\textEta}{Ἦ} -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\LastDeclaredEncoding}{\textEta}{Ἧ} - -\DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textiota}{ἰ} -\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textiota}{ἱ} -\DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\textiota}{ἲ} -\DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\textiota}{ἳ} -\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textiota}{ἴ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\LastDeclaredEncoding}{\textiota}{ἵ} -\DeclareTextCompositeCommand{\accpsiliperispomeni}{\LastDeclaredEncoding}{\textiota}{ἶ} -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\LastDeclaredEncoding}{\textiota}{ἷ} -\DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textIota}{Ἰ} -\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textIota}{Ἱ} -\DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\textIota}{Ἲ} -\DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\textIota}{Ἳ} -\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textIota}{Ἴ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\LastDeclaredEncoding}{\textIota}{Ἵ} -\DeclareTextCompositeCommand{\accpsiliperispomeni}{\LastDeclaredEncoding}{\textIota}{Ἶ} -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\LastDeclaredEncoding}{\textIota}{Ἷ} - -\DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textomicron}{ὀ} -\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textomicron}{ὁ} -\DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\textomicron}{ὂ} -\DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\textomicron}{ὃ} -\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textomicron}{ὄ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\LastDeclaredEncoding}{\textomicron}{ὅ} -\DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textOmicron}{Ὀ} -\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textOmicron}{Ὁ} -\DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\textOmicron}{Ὂ} -\DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\textOmicron}{Ὃ} -\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textOmicron}{Ὄ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\LastDeclaredEncoding}{\textOmicron}{Ὅ} - -\DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textupsilon}{ὐ} -\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textupsilon}{ὑ} -\DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\textupsilon}{ὒ} -\DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\textupsilon}{ὓ} -\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textupsilon}{ὔ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\LastDeclaredEncoding}{\textupsilon}{ὕ} -\DeclareTextCompositeCommand{\accpsiliperispomeni}{\LastDeclaredEncoding}{\textupsilon}{ὖ} -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\LastDeclaredEncoding}{\textupsilon}{ὗ} -\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textUpsilon}{Ὑ} -\DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\textUpsilon}{Ὓ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\LastDeclaredEncoding}{\textUpsilon}{Ὕ} -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\LastDeclaredEncoding}{\textUpsilon}{Ὗ} - -\DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textomega}{ὠ} -\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textomega}{ὡ} -\DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\textomega}{ὢ} -\DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\textomega}{ὣ} -\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textomega}{ὤ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\LastDeclaredEncoding}{\textomega}{ὥ} -\DeclareTextCompositeCommand{\accpsiliperispomeni}{\LastDeclaredEncoding}{\textomega}{ὦ} -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\LastDeclaredEncoding}{\textomega}{ὧ} -\DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textOmega}{Ὠ} -\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textOmega}{Ὡ} -\DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\textOmega}{Ὢ} -\DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\textOmega}{Ὣ} -\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textOmega}{Ὤ} -\DeclareTextCompositeCommand{\accdasiaoxia}{\LastDeclaredEncoding}{\textOmega}{Ὥ} -\DeclareTextCompositeCommand{\accpsiliperispomeni}{\LastDeclaredEncoding}{\textOmega}{Ὦ} -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\LastDeclaredEncoding}{\textOmega}{Ὧ} - -\DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\textalpha}{ὰ} -\DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\textepsilon}{ὲ} -\DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\texteta}{ὴ} -\DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\textiota}{ὶ} -\DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\textomicron}{ὸ} -\DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\textupsilon}{ὺ} -\DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\textomega}{ὼ} - -\DeclareTextCompositeCommand{\u}{\LastDeclaredEncoding}{\textalpha}{ᾰ} -\DeclareTextCompositeCommand{\=}{\LastDeclaredEncoding}{\textalpha}{ᾱ} -% ᾲ -% ᾳ -% ᾴ -\DeclareTextCompositeCommand{\~}{\LastDeclaredEncoding}{\textalpha}{ᾶ} -\DeclareTextCompositeCommand{\~}{\LastDeclaredEncoding}{α}{ᾶ} -\DeclareTextCompositeCommand{\accperispomeni}{\LastDeclaredEncoding}{\textalpha}{ᾶ} -% ᾷ -\DeclareTextCompositeCommand{\u}{\LastDeclaredEncoding}{\textAlpha}{Ᾰ} -\DeclareTextCompositeCommand{\=}{\LastDeclaredEncoding}{\textAlpha}{Ᾱ} -\DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\textAlpha}{Ὰ} -% ᾼ -\DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textcompwordmark}{᾽} -\DeclareTextCommand{\prosgegrammeni}{\LastDeclaredEncoding}{ι} -\DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textcompwordmark}{᾿} - -\DeclareTextCompositeCommand{\accperispomeni}{\LastDeclaredEncoding}{\textcompwordmark}{῀} -\DeclareTextCompositeCommand{\accdialytikaperispomeni}{\LastDeclaredEncoding}{\textcompwordmark}{῁} -% ῂ -% ῃ -% ῄ -\DeclareTextCompositeCommand{\~}{\LastDeclaredEncoding}{\texteta}{ῆ} -\DeclareTextCompositeCommand{\~}{\LastDeclaredEncoding}{η}{ῆ} -\DeclareTextCompositeCommand{\accperispomeni}{\LastDeclaredEncoding}{\texteta}{ῆ} -% ῇ -\DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\textEpsilon}{Ὲ} -\DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\textEta}{Ὴ} -% ῌ -\DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\textcompwordmark}{῍} -\DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textcompwordmark}{῎} -\DeclareTextCompositeCommand{\accpsiliperispomeni}{\LastDeclaredEncoding}{\textcompwordmark}{῏} - -\DeclareTextCompositeCommand{\u}{\LastDeclaredEncoding}{\textiota}{ῐ} -\DeclareTextCompositeCommand{\=}{\LastDeclaredEncoding}{\textiota}{ῑ} -\DeclareTextCompositeCommand{\accdialytikavaria}{\LastDeclaredEncoding}{\textiota}{ῒ} -\DeclareTextCompositeCommand{\accdialytikaoxia}{\LastDeclaredEncoding}{\textiota}{ΐ} -\DeclareTextCompositeCommand{\~}{\LastDeclaredEncoding}{\textiota}{ῖ} -\DeclareTextCompositeCommand{\~}{\LastDeclaredEncoding}{ι}{ῖ} -\DeclareTextCompositeCommand{\accperispomeni}{\LastDeclaredEncoding}{\textiota}{ῖ} -\DeclareTextCompositeCommand{\accdialytikaperispomeni}{\LastDeclaredEncoding}{\textiota}{ῗ} -\DeclareTextCompositeCommand{\u}{\LastDeclaredEncoding}{\textIota}{Ῐ} -\DeclareTextCompositeCommand{\=}{\LastDeclaredEncoding}{\textIota}{Ῑ} -\DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\textIota}{Ὶ} -\DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\textcompwordmark}{῝} -\DeclareTextCompositeCommand{\accdasiaoxia}{\LastDeclaredEncoding}{\textcompwordmark}{῞} -\DeclareTextCompositeCommand{\accdasiaperispomeni}{\LastDeclaredEncoding}{\textcompwordmark}{῟} - -\DeclareTextCompositeCommand{\u}{\LastDeclaredEncoding}{\textupsilon}{ῠ} -\DeclareTextCompositeCommand{\=}{\LastDeclaredEncoding}{\textupsilon}{ῡ} -\DeclareTextCompositeCommand{\accdialytikavaria}{\LastDeclaredEncoding}{\textupsilon}{ῢ} -\DeclareTextCompositeCommand{\accdialytikaoxia}{\LastDeclaredEncoding}{\textupsilon}{ΰ} -\DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textrho}{ῤ} -\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textrho}{ῥ} -\DeclareTextCompositeCommand{\~}{\LastDeclaredEncoding}{\textupsilon}{ῦ} -\DeclareTextCompositeCommand{\~}{\LastDeclaredEncoding}{υ}{ῦ} -\DeclareTextCompositeCommand{\accperispomeni}{\LastDeclaredEncoding}{\textupsilon}{ῦ} -\DeclareTextCompositeCommand{\accdialytikaperispomeni}{\LastDeclaredEncoding}{\textupsilon}{ῧ} -\DeclareTextCompositeCommand{\u}{\LastDeclaredEncoding}{\textUpsilon}{Ῠ} -\DeclareTextCompositeCommand{\=}{\LastDeclaredEncoding}{\textUpsilon}{Ῡ} -\DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\textUpsilon}{Ὺ} -\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textRho}{Ῥ} -\DeclareTextCompositeCommand{\accdialytikavaria}{\LastDeclaredEncoding}{\textcompwordmark}{῭} -\DeclareTextCompositeCommand{\accdialytikaoxia}{\LastDeclaredEncoding}{\textcompwordmark}{΅} - -% ῲ -% ῳ -% ῴ -\DeclareTextCompositeCommand{\~}{\LastDeclaredEncoding}{\textomega}{ῶ} -\DeclareTextCompositeCommand{\~}{\LastDeclaredEncoding}{ω}{ῶ} -\DeclareTextCompositeCommand{\accperispomeni}{\LastDeclaredEncoding}{\textomega}{ῶ} -% ῷ -\DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\textOmicron}{Ὸ} -\DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\textOmega}{Ὼ} -% ῼ -\DeclareTextCompositeCommand{\accoxia}{\LastDeclaredEncoding}{\textcompwordmark}{´} -\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textcompwordmark}{῾} - -% Letterlike Symbols -% ~~~~~~~~~~~~~~~~~~ -% :: - -\DeclareTextCommand{\textohm}{\LastDeclaredEncoding}{Ω} % OHM SIGN - -% Ancient Greek Numbers -% ~~~~~~~~~~~~~~~~~~~~~ -% TODO: map other chars to corresponding Greek letters. -% See also the grnumalt_ package. -% -% Definition with literal Unicode characters, because the code-point has 5 -% hexadecimal digits: -% -% :: - -\DeclareTextCommand{\textpentedeka}{\LastDeclaredEncoding}{𐅄} % GREEK ACROPHONIC ATTIC FIFTY -\DeclareTextCommand{\textpentehekaton}{\LastDeclaredEncoding}{𐅅} % GREEK ACROPHONIC ATTIC FIVE HUNDRED -\DeclareTextCommand{\textpenteqilioi}{\LastDeclaredEncoding}{𐅆} % GREEK ACROPHONIC ATTIC FIVE THOUSAND -\DeclareTextCommand{\textpentemuria}{\LastDeclaredEncoding}{𐅇} % GREEK ACROPHONIC ATTIC FIFTY THOUSAND - - -% UPPERCASE -% ========= -% -% Greek letters drop diacritics (eccept dialytika and sub-iota) in UPPERCASE. -% -% 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 -\global\lccode"0372="0373 \global\uccode"0372="0372 -\global\lccode"0373="0373 \global\uccode"0373="0372 -\global\lccode"0376="0377 \global\uccode"0376="0376 -\global\lccode"0377="0377 \global\uccode"0377="0376 -\global\lccode"03FD="037B \global\uccode"03FD="03FD -\global\lccode"037B="037B \global\uccode"037B="03FD -\global\lccode"03FE="037C \global\uccode"03FE="03FE -\global\lccode"037C="037C \global\uccode"037C="03FE -\global\lccode"03FF="037D \global\uccode"03FF="03FF -\global\lccode"037D="037D \global\uccode"037D="03FF -\global\lccode"0386="03AC \global\uccode"0386="0391 -\global\lccode"0388="03AD \global\uccode"0388="0395 -\global\lccode"0389="03AC \global\uccode"0389="0397 -\global\lccode"038A="03AF \global\uccode"038A="0399 -\global\lccode"038C="03CC \global\uccode"038C="039F -\global\lccode"038E="03CD \global\uccode"038E="03A5 -\global\lccode"038F="03CE \global\uccode"038F="03A9 -\global\lccode"0390="0390 \global\uccode"0390="03AA -\global\lccode"0391="03B1 \global\uccode"0391="0391 -\global\lccode"0392="03B2 \global\uccode"0392="0392 -\global\lccode"0393="03B3 \global\uccode"0393="0393 -\global\lccode"0394="03B4 \global\uccode"0394="0394 -\global\lccode"0395="03B5 \global\uccode"0395="0395 -\global\lccode"0396="03B6 \global\uccode"0396="0396 -\global\lccode"0397="03B7 \global\uccode"0397="0397 -\global\lccode"0398="03B8 \global\uccode"0398="0398 -\global\lccode"0399="03B9 \global\uccode"0399="0399 -\global\lccode"039A="03BA \global\uccode"039A="039A -\global\lccode"039B="03BB \global\uccode"039B="039B -\global\lccode"039C="03BC \global\uccode"039C="039C -\global\lccode"039D="03BD \global\uccode"039D="039D -\global\lccode"039E="03BE \global\uccode"039E="039E -\global\lccode"039F="03BF \global\uccode"039F="039F -\global\lccode"03A0="03C0 \global\uccode"03A0="03A0 -\global\lccode"03A1="03C1 \global\uccode"03A1="03A1 -\global\lccode"03A3="03C3 \global\uccode"03A3="03A3 -\global\lccode"03A4="03C4 \global\uccode"03A4="03A4 -\global\lccode"03A5="03C5 \global\uccode"03A5="03A5 -\global\lccode"03A6="03C6 \global\uccode"03A6="03A6 -\global\lccode"03A7="03C7 \global\uccode"03A7="03A7 -\global\lccode"03A8="03C8 \global\uccode"03A8="03A8 -\global\lccode"03A9="03C9 \global\uccode"03A9="03A9 -\global\lccode"03AA="03CA \global\uccode"03AA="03AA -\global\lccode"03AB="03CB \global\uccode"03AB="03AB -\global\lccode"03AC="03AC \global\uccode"03AC="0391 -\global\lccode"03AD="03AD \global\uccode"03AD="0395 -\global\lccode"03AE="03AE \global\uccode"03AE="0397 -\global\lccode"03AF="03AF \global\uccode"03AF="0399 -\global\lccode"03B0="03B0 \global\uccode"03B0="03AB -\global\lccode"03B1="03B1 \global\uccode"03B1="0391 -\global\lccode"03B2="03B2 \global\uccode"03B2="0392 -\global\lccode"03B3="03B3 \global\uccode"03B3="0393 -\global\lccode"03B4="03B4 \global\uccode"03B4="0394 -\global\lccode"03B5="03B5 \global\uccode"03B5="0395 -\global\lccode"03B6="03B6 \global\uccode"03B6="0396 -\global\lccode"03B7="03B7 \global\uccode"03B7="0397 -\global\lccode"03B8="03B8 \global\uccode"03B8="0398 -\global\lccode"03B9="03B9 \global\uccode"03B9="0399 -\global\lccode"03BA="03BA \global\uccode"03BA="039A -\global\lccode"03BB="03BB \global\uccode"03BB="039B -\global\lccode"03BC="03BC \global\uccode"03BC="039C -\global\lccode"03BD="03BD \global\uccode"03BD="039D -\global\lccode"03BE="03BE \global\uccode"03BE="039E -\global\lccode"03BF="03BF \global\uccode"03BF="039F -\global\lccode"03C0="03C0 \global\uccode"03C0="03A0 -\global\lccode"03C1="03C1 \global\uccode"03C1="03A1 -\global\lccode"03C2="03C2 \global\uccode"03C2="03A3 -\global\lccode"03C3="03C3 \global\uccode"03C3="03A3 -\global\lccode"03C4="03C4 \global\uccode"03C4="03A4 -\global\lccode"03C5="03C5 \global\uccode"03C5="03A5 -\global\lccode"03C6="03C6 \global\uccode"03C6="03A6 -\global\lccode"03C7="03C7 \global\uccode"03C7="03A7 -\global\lccode"03C8="03C8 \global\uccode"03C8="03A8 -\global\lccode"03C9="03C9 \global\uccode"03C9="03A9 -\global\lccode"03CA="03CA \global\uccode"03CA="03AA -\global\lccode"03CB="03CB \global\uccode"03CB="03AB -\global\lccode"03CC="03CC \global\uccode"03CC="039F -\global\lccode"03CD="03CD \global\uccode"03CD="03A5 -\global\lccode"03CE="03CE \global\uccode"03CE="03A9 -\global\lccode"03D0="03D0 \global\uccode"03D0="0392 -\global\lccode"03D1="03D1 \global\uccode"03D1="0398 -\global\lccode"03D2="03C5 \global\uccode"03D2="03A5 -\global\lccode"03D3="03CD \global\uccode"03D3="03A5 -\global\lccode"03D4="03CB \global\uccode"03D4="03AB -\global\lccode"03D5="03C6 \global\uccode"03D5="03A6 -\global\lccode"03D6="03C0 \global\uccode"03D6="03A0 -\global\lccode"03DA="03DB \global\uccode"03DA="03DA -\global\lccode"03DB="03DB \global\uccode"03DB="03DA -\global\lccode"03DC="03DD \global\uccode"03DC="03DC -\global\lccode"03DD="03DD \global\uccode"03DD="03DC -\global\lccode"03DE="03DF \global\uccode"03DE="03DE -\global\lccode"03DF="03DF \global\uccode"03DF="03DE -\global\lccode"03E0="03E1 \global\uccode"03E0="03E0 -\global\lccode"03E1="03E1 \global\uccode"03E1="03E0 -\global\lccode"03F0="03BA \global\uccode"03F0="039A -\global\lccode"03F1="03C1 \global\uccode"03F1="03A1 -\global\lccode"03F2="03F2 \global\uccode"03F2="03F9 -\global\lccode"03F9="03F2 \global\uccode"03F9="03F9 -\global\lccode"1F00="1F00 \global\uccode"1F00="0391 -\global\lccode"1F01="1F01 \global\uccode"1F01="0391 -\global\lccode"1F02="1F02 \global\uccode"1F02="0391 -\global\lccode"1F03="1F03 \global\uccode"1F03="0391 -\global\lccode"1F04="1F04 \global\uccode"1F04="0391 -\global\lccode"1F05="1F05 \global\uccode"1F05="0391 -\global\lccode"1F06="1F06 \global\uccode"1F06="0391 -\global\lccode"1F07="1F07 \global\uccode"1F07="0391 -\global\lccode"1F08="1F00 \global\uccode"1F08="0391 -\global\lccode"1F09="1F01 \global\uccode"1F09="0391 -\global\lccode"1F0A="1F02 \global\uccode"1F0A="0391 -\global\lccode"1F0B="1F03 \global\uccode"1F0B="0391 -\global\lccode"1F0C="1F04 \global\uccode"1F0C="0391 -\global\lccode"1F0D="1F05 \global\uccode"1F0D="0391 -\global\lccode"1F0E="1F06 \global\uccode"1F0E="0391 -\global\lccode"1F0F="1F07 \global\uccode"1F0F="0391 -\global\lccode"1F10="1F10 \global\uccode"1F10="0395 -\global\lccode"1F11="1F11 \global\uccode"1F11="0395 -\global\lccode"1F12="1F12 \global\uccode"1F12="0395 -\global\lccode"1F13="1F13 \global\uccode"1F13="0395 -\global\lccode"1F14="1F14 \global\uccode"1F14="0395 -\global\lccode"1F15="1F15 \global\uccode"1F15="0395 -\global\lccode"1F18="1F10 \global\uccode"1F18="0395 -\global\lccode"1F19="1F11 \global\uccode"1F19="0395 -\global\lccode"1F1A="1F12 \global\uccode"1F1A="0395 -\global\lccode"1F1B="1F13 \global\uccode"1F1B="0395 -\global\lccode"1F1C="1F14 \global\uccode"1F1C="0395 -\global\lccode"1F1D="1F15 \global\uccode"1F1D="0395 -\global\lccode"1F20="1F20 \global\uccode"1F20="0397 -\global\lccode"1F21="1F21 \global\uccode"1F21="0397 -\global\lccode"1F22="1F22 \global\uccode"1F22="0397 -\global\lccode"1F23="1F23 \global\uccode"1F23="0397 -\global\lccode"1F24="1F24 \global\uccode"1F24="0397 -\global\lccode"1F25="1F25 \global\uccode"1F25="0397 -\global\lccode"1F26="1F26 \global\uccode"1F26="0397 -\global\lccode"1F27="1F27 \global\uccode"1F27="0397 -\global\lccode"1F28="1F20 \global\uccode"1F28="0397 -\global\lccode"1F29="1F21 \global\uccode"1F29="0397 -\global\lccode"1F2A="1F22 \global\uccode"1F2A="0397 -\global\lccode"1F2B="1F23 \global\uccode"1F2B="0397 -\global\lccode"1F2C="1F24 \global\uccode"1F2C="0397 -\global\lccode"1F2D="1F25 \global\uccode"1F2D="0397 -\global\lccode"1F2E="1F26 \global\uccode"1F2E="0397 -\global\lccode"1F2F="1F27 \global\uccode"1F2F="0397 -\global\lccode"1F30="1F30 \global\uccode"1F30="0399 -\global\lccode"1F31="1F31 \global\uccode"1F31="0399 -\global\lccode"1F32="1F32 \global\uccode"1F32="0399 -\global\lccode"1F33="1F33 \global\uccode"1F33="0399 -\global\lccode"1F34="1F34 \global\uccode"1F34="0399 -\global\lccode"1F35="1F35 \global\uccode"1F35="0399 -\global\lccode"1F36="1F36 \global\uccode"1F36="0399 -\global\lccode"1F37="1F37 \global\uccode"1F37="0399 -\global\lccode"1F38="1F30 \global\uccode"1F38="0399 -\global\lccode"1F39="1F31 \global\uccode"1F39="0399 -\global\lccode"1F3A="1F32 \global\uccode"1F3A="0399 -\global\lccode"1F3B="1F33 \global\uccode"1F3B="0399 -\global\lccode"1F3C="1F34 \global\uccode"1F3C="0399 -\global\lccode"1F3D="1F35 \global\uccode"1F3D="0399 -\global\lccode"1F3E="1F36 \global\uccode"1F3E="0399 -\global\lccode"1F3F="1F37 \global\uccode"1F3F="0399 -\global\lccode"1F40="1F40 \global\uccode"1F40="039F -\global\lccode"1F41="1F41 \global\uccode"1F41="039F -\global\lccode"1F42="1F42 \global\uccode"1F42="039F -\global\lccode"1F43="1F43 \global\uccode"1F43="039F -\global\lccode"1F44="1F44 \global\uccode"1F44="039F -\global\lccode"1F45="1F45 \global\uccode"1F45="039F -\global\lccode"1F48="1F40 \global\uccode"1F48="039F -\global\lccode"1F49="1F41 \global\uccode"1F49="039F -\global\lccode"1F4A="1F42 \global\uccode"1F4A="039F -\global\lccode"1F4B="1F43 \global\uccode"1F4B="039F -\global\lccode"1F4C="1F44 \global\uccode"1F4C="039F -\global\lccode"1F4D="1F45 \global\uccode"1F4D="039F -\global\lccode"1F50="1F50 \global\uccode"1F50="03A5 -\global\lccode"1F51="1F51 \global\uccode"1F51="03A5 -\global\lccode"1F52="1F52 \global\uccode"1F52="03A5 -\global\lccode"1F53="1F53 \global\uccode"1F53="03A5 -\global\lccode"1F54="1F54 \global\uccode"1F54="03A5 -\global\lccode"1F55="1F55 \global\uccode"1F55="03A5 -\global\lccode"1F56="1F56 \global\uccode"1F56="03A5 -\global\lccode"1F57="1F57 \global\uccode"1F57="03A5 -\global\lccode"1F59="1F51 \global\uccode"1F59="03A5 -\global\lccode"1F5B="1F53 \global\uccode"1F5B="03A5 -\global\lccode"1F5D="1F55 \global\uccode"1F5D="03A5 -\global\lccode"1F5F="1F57 \global\uccode"1F5F="03A5 -\global\lccode"1F60="1F60 \global\uccode"1F60="03A9 -\global\lccode"1F61="1F61 \global\uccode"1F61="03A9 -\global\lccode"1F62="1F62 \global\uccode"1F62="03A9 -\global\lccode"1F63="1F63 \global\uccode"1F63="03A9 -\global\lccode"1F64="1F64 \global\uccode"1F64="03A9 -\global\lccode"1F65="1F65 \global\uccode"1F65="03A9 -\global\lccode"1F66="1F66 \global\uccode"1F66="03A9 -\global\lccode"1F67="1F67 \global\uccode"1F67="03A9 -\global\lccode"1F68="1F60 \global\uccode"1F68="03A9 -\global\lccode"1F69="1F61 \global\uccode"1F69="03A9 -\global\lccode"1F6A="1F62 \global\uccode"1F6A="03A9 -\global\lccode"1F6B="1F63 \global\uccode"1F6B="03A9 -\global\lccode"1F6C="1F64 \global\uccode"1F6C="03A9 -\global\lccode"1F6D="1F65 \global\uccode"1F6D="03A9 -\global\lccode"1F6E="1F66 \global\uccode"1F6E="03A9 -\global\lccode"1F6F="1F67 \global\uccode"1F6F="03A9 -\global\lccode"1F70="1F70 \global\uccode"1F70="0391 -\global\lccode"1F71="1F71 \global\uccode"1F71="0391 -\global\lccode"1F72="1F72 \global\uccode"1F72="0395 -\global\lccode"1F73="1F73 \global\uccode"1F73="0395 -\global\lccode"1F74="1F74 \global\uccode"1F74="0397 -\global\lccode"1F75="1F75 \global\uccode"1F75="0397 -\global\lccode"1F76="1F76 \global\uccode"1F76="0399 -\global\lccode"1F77="1F77 \global\uccode"1F77="0399 -\global\lccode"1F78="1F78 \global\uccode"1F78="039F -\global\lccode"1F79="1F79 \global\uccode"1F79="039F -\global\lccode"1F7A="1F7A \global\uccode"1F7A="03A5 -\global\lccode"1F7B="1F7B \global\uccode"1F7B="03A5 -\global\lccode"1F7C="1F7C \global\uccode"1F7C="03A9 -\global\lccode"1F7D="1F7D \global\uccode"1F7D="03A9 -\global\lccode"1F80="1F80 \global\uccode"1F80="1FBC -\global\lccode"1F81="1F81 \global\uccode"1F81="1FBC -\global\lccode"1F82="1F82 \global\uccode"1F82="1FBC -\global\lccode"1F83="1F83 \global\uccode"1F83="1FBC -\global\lccode"1F84="1F84 \global\uccode"1F84="1FBC -\global\lccode"1F85="1F85 \global\uccode"1F85="1FBC -\global\lccode"1F86="1F86 \global\uccode"1F86="1FBC -\global\lccode"1F87="1F87 \global\uccode"1F87="1FBC -\global\lccode"1F88="1F80 \global\uccode"1F88="1FBC -\global\lccode"1F89="1F81 \global\uccode"1F89="1FBC -\global\lccode"1F8A="1F82 \global\uccode"1F8A="1FBC -\global\lccode"1F8B="1F83 \global\uccode"1F8B="1FBC -\global\lccode"1F8C="1F84 \global\uccode"1F8C="1FBC -\global\lccode"1F8D="1F85 \global\uccode"1F8D="1FBC -\global\lccode"1F8E="1F86 \global\uccode"1F8E="1FBC -\global\lccode"1F8F="1F87 \global\uccode"1F8F="1FBC -\global\lccode"1F90="1F90 \global\uccode"1F90="1FCC -\global\lccode"1F91="1F91 \global\uccode"1F91="1FCC -\global\lccode"1F92="1F92 \global\uccode"1F92="1FCC -\global\lccode"1F93="1F93 \global\uccode"1F93="1FCC -\global\lccode"1F94="1F94 \global\uccode"1F94="1FCC -\global\lccode"1F95="1F95 \global\uccode"1F95="1FCC -\global\lccode"1F96="1F96 \global\uccode"1F96="1FCC -\global\lccode"1F97="1F97 \global\uccode"1F97="1FCC -\global\lccode"1F98="1F90 \global\uccode"1F98="1FCC -\global\lccode"1F99="1F91 \global\uccode"1F99="1FCC -\global\lccode"1F9A="1F92 \global\uccode"1F9A="1FCC -\global\lccode"1F9B="1F93 \global\uccode"1F9B="1FCC -\global\lccode"1F9C="1F94 \global\uccode"1F9C="1FCC -\global\lccode"1F9D="1F95 \global\uccode"1F9D="1FCC -\global\lccode"1F9E="1F96 \global\uccode"1F9E="1FCC -\global\lccode"1F9F="1F97 \global\uccode"1F9F="1FCC -\global\lccode"1FA0="1FA0 \global\uccode"1FA0="1FFC -\global\lccode"1FA1="1FA1 \global\uccode"1FA1="1FFC -\global\lccode"1FA2="1FA2 \global\uccode"1FA2="1FFC -\global\lccode"1FA3="1FA3 \global\uccode"1FA3="1FFC -\global\lccode"1FA4="1FA4 \global\uccode"1FA4="1FFC -\global\lccode"1FA5="1FA5 \global\uccode"1FA5="1FFC -\global\lccode"1FA6="1FA6 \global\uccode"1FA6="1FFC -\global\lccode"1FA7="1FA7 \global\uccode"1FA7="1FFC -\global\lccode"1FA8="1FA0 \global\uccode"1FA8="1FFC -\global\lccode"1FA9="1FA1 \global\uccode"1FA9="1FFC -\global\lccode"1FAA="1FA2 \global\uccode"1FAA="1FFC -\global\lccode"1FAB="1FA3 \global\uccode"1FAB="1FFC -\global\lccode"1FAC="1FA4 \global\uccode"1FAC="1FFC -\global\lccode"1FAD="1FA5 \global\uccode"1FAD="1FFC -\global\lccode"1FAE="1FA6 \global\uccode"1FAE="1FFC -\global\lccode"1FAF="1FA7 \global\uccode"1FAF="1FFC -\global\lccode"1FB0="1FB0 \global\uccode"1FB0="1FB8 -\global\lccode"1FB1="1FB1 \global\uccode"1FB1="1FB9 -\global\lccode"1FB2="1FB2 \global\uccode"1FB2="1FBC -\global\lccode"1FB3="1FB3 \global\uccode"1FB3="1FBC -\global\lccode"1FB4="1FB4 \global\uccode"1FB4="1FBC -\global\lccode"1FB6="1FB6 \global\uccode"1FB6="0391 -\global\lccode"1FB7="1FB7 \global\uccode"1FB7="1FBC -\global\lccode"1FB8="1FB0 \global\uccode"1FB8="1FB8 -\global\lccode"1FB9="1FB1 \global\uccode"1FB9="1FB9 -\global\lccode"1FBA="1F70 \global\uccode"1FBA="0391 -\global\lccode"1FBB="1F71 \global\uccode"1FBB="0391 -\global\lccode"1FBC="1FB3 \global\uccode"1FBC="1FBC -\global\lccode"1FBD="1FBD \global\uccode"1FBD="1FBD -\global\lccode"1FC2="1FC2 \global\uccode"1FC2="1FCC -\global\lccode"1FC3="1FC3 \global\uccode"1FC3="1FCC -\global\lccode"1FC4="1FC4 \global\uccode"1FC4="1FCC -\global\lccode"1FC6="1FC6 \global\uccode"1FC6="0397 -\global\lccode"1FC7="1FC7 \global\uccode"1FC7="1FCC -\global\lccode"1FC8="1F72 \global\uccode"1FC8="0395 -\global\lccode"1FC9="1F73 \global\uccode"1FC9="0395 -\global\lccode"1FCA="1F74 \global\uccode"1FCA="0397 -\global\lccode"1FCB="1F75 \global\uccode"1FCB="0397 -\global\lccode"1FCC="1FC3 \global\uccode"1FCC="1FCC -\global\lccode"1FD0="1FD0 \global\uccode"1FD0="1FD8 -\global\lccode"1FD1="1FD1 \global\uccode"1FD1="1FD9 -\global\lccode"1FD2="1FD2 \global\uccode"1FD2="03AA -\global\lccode"1FD3="1FD3 \global\uccode"1FD3="03AA -\global\lccode"1FD6="1FD6 \global\uccode"1FD6="0399 -\global\lccode"1FD7="1FD7 \global\uccode"1FD7="03AA -\global\lccode"1FD8="1FD0 \global\uccode"1FD8="1FD8 -\global\lccode"1FD9="1FD1 \global\uccode"1FD9="1FD9 -\global\lccode"1FDA="1F76 \global\uccode"1FDA="0399 -\global\lccode"1FDB="1F77 \global\uccode"1FDB="0399 -\global\lccode"1FE0="1FE0 \global\uccode"1FE0="1FE8 -\global\lccode"1FE1="1FE1 \global\uccode"1FE1="1FE9 -\global\lccode"1FE2="1FE2 \global\uccode"1FE2="03AB -\global\lccode"1FE3="1FE3 \global\uccode"1FE3="03AB -\global\lccode"1FE4="1FE4 \global\uccode"1FE4="03A1 -\global\lccode"1FE5="1FE5 \global\uccode"1FE5="03A1 -\global\lccode"1FE6="1FE6 \global\uccode"1FE6="03A5 -\global\lccode"1FE7="1FE7 \global\uccode"1FE7="03AB -\global\lccode"1FE8="1FE0 \global\uccode"1FE8="1FE8 -\global\lccode"1FE9="1FE1 \global\uccode"1FE9="1FE9 -\global\lccode"1FEA="1F7A \global\uccode"1FEA="03A5 -\global\lccode"1FEB="1F7B \global\uccode"1FEB="03A5 -\global\lccode"1FEC="1FE5 \global\uccode"1FEC="03A1 -\global\lccode"1FF2="1FF2 \global\uccode"1FF2="1FFC -\global\lccode"1FF3="1FF3 \global\uccode"1FF3="1FFC -\global\lccode"1FF4="1FF4 \global\uccode"1FF4="1FFC -\global\lccode"1FF6="1FF6 \global\uccode"1FF6="03A9 -\global\lccode"1FF7="1FF7 \global\uccode"1FF7="1FFC -\global\lccode"1FF8="1F78 \global\uccode"1FF8="039F -\global\lccode"1FF9="1F79 \global\uccode"1FF9="039F -\global\lccode"1FFA="1F7C \global\uccode"1FFA="03A9 -\global\lccode"1FFB="1F7D \global\uccode"1FFB="03A9 -\global\lccode"1FFC="1FF3 \global\uccode"1FFC="1FFC - - -% uclclist -% ~~~~~~~~ -% -% The common Greek font encoding definitions in greek-fontenc.def_ extend the -% `uclclist` with Greek LICR macros. Here, we add textkoppa/textKoppa and -% Unicode-specific "hiatus_" handling (copied from lgrenc.def_ and changed -% Latin transcription to Unicode literals). -% -% @uclclist extension (see also greek-fontenc.def_):: - -\providecommand*\greek@euenc@update@uclclist{% - \expandafter\def\expandafter\@uclclist\expandafter{% - \@uclclist - \textkoppa \textKoppa - }% - \let\greek@euenc@update@uclclist\relax -} - -% Expand the uclc list using the just defined macro:: - -\greek@euenc@update@uclclist - -% Now the hiatus definition modifications:: - -\DeclareTextCommand{\LGR@A@hiatus}{\LastDeclaredEncoding}{% - \LGR@ifnextchar{Ι}{\textAlpha\"}{% - \LGR@ifnextchar{Υ}{\textAlpha\"}{% - \LGR@ifnextchar{\textIota}{\textAlpha\"}{% - \LGR@ifnextchar{\textUpsilon}{\textAlpha\"}{\textAlpha}% - }% - }% - }% -} -\DeclareTextCommand{\LGR@E@hiatus}{\LastDeclaredEncoding}{% - \LGR@ifnextchar{Ι}{\textEpsilon\"}{% - \LGR@ifnextchar{Υ}{\textEpsilon\"}{% - \LGR@ifnextchar{\textIota}{\textEpsilon\"}{% - \LGR@ifnextchar{\textUpsilon}{\textEpsilon\"}{\textEpsilon}% - }% - }% - }% -} - -% .. References -% -% .. _LaTeX Project Public License: http://www.latex-project.org/lppl.txt -% .. _babel-greek: http://www.ctan.org/pkg/babel-greek -% .. _euenc: http://www.ctan.org/pkg/euenc -% .. _fontspec: http://www.ctan.org/pkg/fontspec -% .. _greek-fontenc: http://www.ctan.org/pkg/greek-fontenc -% .. _grnumalt: http://www.ctan.org/pkg/grnumalt -% .. _inputenc: http://www.ctan.org/pkg/inputenc -% .. _textalpha: textalpha.sty.html -% .. _xgreek: http://www.ctan.org/pkg/xgreek -% .. _xunicode: http://www.ctan.org/pkg/xunicode -% -% .. _LaTeX2e font selection: -% http://mirror.ctan.org/macros/latex/doc/fntguide.pdf -% .. _common Greek font encoding definitions: -% .. _greek-fontenc.def: greek-fontenc.def.html -% .. _lgrenc.def: lgrenc.def.html -% .. _hiatus: greek-fontenc.def.html#mark-hiatus +\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 5b8d8013091..8d45b2508ce 100644 --- a/Master/texmf-dist/tex/latex/greek-fontenc/greek-fontenc.def +++ b/Master/texmf-dist/tex/latex/greek-fontenc/greek-fontenc.def @@ -33,7 +33,7 @@ % ----- % % This file is input by the font encoding definition files lgrenc.def_. and -% greek-euenc.def_. +% tuenc-greek.def_. % % Implementation % -------------- @@ -389,4 +389,4 @@ % .. _ucs: http://www.ctan.org/pkg/unicode % % .. _lgrenc.def: lgrenc.def.html -% .. _greek-euenc.def: greek-euenc.def.html +% .. _tuenc-greek.def: tuenc-greek.def.html diff --git a/Master/texmf-dist/tex/latex/greek-fontenc/textalpha.sty b/Master/texmf-dist/tex/latex/greek-fontenc/textalpha.sty index dda4d29ca1c..e99f65e666b 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} -[2019/07/11 v0.13.4 macros for Greek letters in text] +[2020/02/28 v0.14 macros for Greek letters in text] % .. note:: % @@ -43,6 +43,9 @@ % 0.13.2 2016-02-05 Support for standard Unicode text font encoding "TU" % (new in fontspec v2.5a). % 0.13.4 2019-07-11 Auxiliary command for subscript iota. +% 0.14 2020-02-28 Update test for Unicode fonts. +% Rename ``greek-euenc`` to ``tuenc-greek``. +% Don't use ``\LastDeclaredEncoding``. % ====== ========== ========================================================= % % .. contents:: @@ -59,9 +62,8 @@ % engine used to compile them, this package tests the declared font encodings % and does "the right thing" to set up Greek text font support: % -% * If the Unicode font encodings EU1 (XeTeX) or EU2 (LuaTeX) are declared, -% before loading this package (e.g. via ``fontspec``) the package provides -% Greek LICR definitions for them. +% * If an Unicode font encoding is declared by ``fontspec``, add Greek LICR +% definitions. % % * Otherwise, the `LGR font encoding`_ is set as `default font encoding` % (cf. fntguide_ section 5.3) for Greek. @@ -78,10 +80,11 @@ % greek-inputenc_ for 8-bit TeX or XeTeX/LuaTeX in 8-bit compatibility % mode in any font encoding (see textalpha-doc.tex_). % -% + natively by XeTeX/LuaTeX for Unicode fonts. As inputenc_ does not work -% with these engines, text input can be done via the Latin transcription -% or LICR but *not via literal Unicode characters* for 8-bit font encodings -% like LGR (see greek-euenc-doc.tex_). +% + natively by XeTeX/LuaTeX for Unicode fonts. +% +% 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_). % % .. Attention:: The macros work well in any font encoding for single symbols. % However, with 8-bit TeX engines, the automatic font-encoding switches @@ -123,11 +126,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 greek-euenc-doc.tex_). +% in the same document (see tuenc-greek-doc.tex_). % % % Implementation @@ -199,9 +202,9 @@ % 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 -% `fontspec` does not (yet) define Greek LICR macros. We therefore explicitely -% load Greek LICR definitions for XeTeX/LuaTeX from `greek-euenc.def -% `_ which in turn includes `greek-fontenc.def +% `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 % `_. % % .. _LGR font encoding: README.html#lgr @@ -209,34 +212,21 @@ % 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 -% (XeTeX) or EU2 (LuaTeX) is detected. -% * Re-set ``\LastDeclaredEncoding`` (used in some included font-encoding files). +% * 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``. % % :: -\@ifl@aded{def}{tuenc}{ - \renewcommand{\LastDeclaredEncoding}{TU} - \input{greek-euenc.def} -}{% else - \@ifl@aded{def}{eu1enc}{ - \renewcommand{\LastDeclaredEncoding}{EU1} - \input{greek-euenc.def} - }{% else - \@ifl@aded{def}{eu2enc}{ - \renewcommand{\LastDeclaredEncoding}{EU2} - \input{greek-euenc.def} - }{% else - \@ifl@aded{def}{lgrenc}{ - % LGR already declared and set up - \renewcommand{\LastDeclaredEncoding}{LGR} - }{ - \input{lgrenc.def} - } - } +\ifdefined \UTFencname % set by "fontspec.sty" + \input{tuenc-greek.def} +\else + \@ifl@aded{def}{lgrenc}{ + % LGR already declared and set up + }{ + \input{lgrenc.def} } -} +\fi % The package hyperref_ defines the PU font encoding which also supports % (monotonic) Greek. It currently misses polytonic greek and the @@ -244,7 +234,9 @@ \@ifl@aded{def}{puenc} {\ProvideTextCommand{\greekscript}{PU}{} - \ProvideTextCommand{\ensuregreek}{PU}[1]{#1}} + \ProvideTextCommand{\ensuregreek}{PU}[1]{#1} + \pdfstringdefDisableCommands{\let\TextOrMath\@firstoftwo} + } {} @@ -255,35 +247,30 @@ % 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 EU1 or EU2, we define the +% 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):: -\@ifl@aded{def}{lgrenc}{ - \DeclareTextCommand{\<}{LGR}{\accdasia} - \DeclareTextCommand{\>}{LGR}{\accpsili} +\newcommand{\textalpha@define@breathings}[1]{ + \DeclareTextCommand{\<}{#1}{\accdasia} + \DeclareTextCommand{\>}{#1}{\accpsili} % Composite accents starting with the new-defined shortcuts: - \DeclareTextCompositeCommand{\>}{LGR}{'}{\accpsilioxia} - \DeclareTextCompositeCommand{\>}{LGR}{`}{\accpsilivaria} - \DeclareTextCompositeCommand{\>}{LGR}{~}{\accpsiliperispomeni} - \DeclareTextCompositeCommand{\<}{LGR}{'}{\accdasiaoxia} - \DeclareTextCompositeCommand{\<}{LGR}{`}{\accdasiavaria} - \DeclareTextCompositeCommand{\<}{LGR}{~}{\accdasiaperispomeni} + \DeclareTextCompositeCommand{\>}{#1}{'}{\accpsilioxia} + \DeclareTextCompositeCommand{\>}{#1}{`}{\accpsilivaria} + \DeclareTextCompositeCommand{\>}{#1}{~}{\accpsiliperispomeni} + \DeclareTextCompositeCommand{\<}{#1}{'}{\accdasiaoxia} + \DeclareTextCompositeCommand{\<}{#1}{`}{\accdasiavaria} + \DeclareTextCompositeCommand{\<}{#1}{~}{\accdasiaperispomeni} +} + +\@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}{greek-euenc}{ % XeTeX or LuaTeX with Unicode fonts - \DeclareTextCommand{\<}{\LastDeclaredEncoding}{\accdasia} - \DeclareTextCommand{\>}{\LastDeclaredEncoding}{\accpsili} - % Composite accents starting with the new-defined shortcuts: - \DeclareTextCompositeCommand{\>}{\LastDeclaredEncoding}{'}{\accpsilioxia} - \DeclareTextCompositeCommand{\>}{\LastDeclaredEncoding}{`}{\accpsilivaria} - \DeclareTextCompositeCommand{\>}{\LastDeclaredEncoding}{~}{\accpsiliperispomeni} - \DeclareTextCompositeCommand{\<}{\LastDeclaredEncoding}{'}{\accdasiaoxia} - \DeclareTextCompositeCommand{\<}{\LastDeclaredEncoding}{`}{\accdasiavaria} - \DeclareTextCompositeCommand{\<}{\LastDeclaredEncoding}{~}{\accdasiaperispomeni} +\@ifl@aded{def}{tuenc-greek}{ % XeTeX or LuaTeX with Unicode fonts + \textalpha@define@breathings{\UTFencname} }{} @@ -306,7 +293,7 @@ % The ``\greekscript`` declaration ensures the current font encoding supports % the Greek script. ``greek-fontenc.def`` sets this to the empty declaration % for font encodings that do so. This is currently used by ``lgrenc.def`` -% (LGR) and ``greek-euenc.def`` (Greek LICR macros for EU1 and EU2). +% (LGR) and ``tuenc-greek.def`` (Greek LICR macros for TU, EU1, or EU2). % % % We define LGR as default encoding for Greek text. We use @@ -541,7 +528,6 @@ % .. _LaTeX Project Public License: http://www.latex-project.org/lppl.txt % .. _CB fonts: http://www.ctan.org/pkg/cbgreek-complete % .. _babel: http://www.ctan.org/pkg/babel -% .. _euenc: http://www.ctan.org/pkg/euenc % .. _e-TeX: http://www.tex.ac.uk/cgi-bin/texfaq2html?label=etex % .. _fontenc: http://www.ctan.org/pkg/fontenc % .. _fontspec: http://www.ctan.org/pkg/fontspec diff --git a/Master/texmf-dist/tex/latex/greek-fontenc/tuenc-greek.def b/Master/texmf-dist/tex/latex/greek-fontenc/tuenc-greek.def new file mode 100644 index 00000000000..ab1fd033f3f --- /dev/null +++ b/Master/texmf-dist/tex/latex/greek-fontenc/tuenc-greek.def @@ -0,0 +1,881 @@ +% tuenc-greek.def +% +++++++++++++++ +% Greek LICR definitions for XeTeX and LuaTeX +% ******************************************* +% +% :Copyright: © 2013 Günter Milde +% :Licence: This work may be distributed and/or modified under the +% conditions of the `LaTeX Project Public License`_, either +% version 1.3 of this license or any later version. +% :Identification: +% :: + +\ProvidesFile{tuenc-greek.def} +[2020/02/28 0.14 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_. +% +% **History**: +% .. class:: borderless +% +% ====== ========== ======================================================== +% 0.1 2013-07-16 initial version +% 0.1.1 2013-07-18 bugfix: wrong breathings psilioxia -> dasiaoxia +% 0.1.2 2013-07-19 bugfix: Disable composite defs starting with char macro, +% .. fix "hiatus" handling. +% 0.1.3 2013-07-24 fix "input" path. +% 0.1.4 2013-10-01 remove clashing defs for legacy characters with oxia, +% .. fix upcasing of ``\finalsigma``. +% 0.11.1 2013-12-01 fix identification. +% 0.11.2 2014-09-08 ``\textKoppa`` macro +% .. (Capital Koppa is not defined in LGR but Unicode). +% 0.12 2014-12-12 Remove symbol macros for breathing accents. +% 0.13 2015-08-07 ``\lccode``/``\uccode`` corrections from xgreek_. +% .. 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``. +% ====== ========== ======================================================== +% +% .. contents:: +% +% Motivation +% ========== +% +% LICR macro definitions for the Greek script are missing in tuenc_ (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 +% standard commands for `LaTeX2e font selection`_. +% +% Requirements +% ============ +% +% Requires XeTeX or LuaTeX, fontspec_, and a font with Greek characters. +% +% See ``_ and ``_ for setup and +% usage examples. +% +% +% Greek Diacritics +% ================ +% +% Define "named macros" for simple and combined diacritics. +% +% * Named accent macros can be used instead of the ``\@tabacckludge`` by +% to-LaTeX converters to ensure working also inside the tabbing environment. +% +% * Named macros are required for upcasing according to Greek typesetting +% conventions and in the definition of composite commands. +% +% Greek alias names for standard accents:: + +\DeclareTextCommand{\acctonos}{\UTFencname}{\@tabacckludge'} +\DeclareTextCommand{\accvaria}{\UTFencname}{\@tabacckludge`} +\DeclareTextCommand{\accdialytika}{\UTFencname}{\@tabacckludge"} + +% The combining perispomeni character is normalized with Greek base letters, +% while the (standard) combining tilde is not:: + +\DeclareTextCommand{\accperispomeni}{\UTFencname}[1]{#1\char"0342 } + +% 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 + +% Combined diacritics:: + +% 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{\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{\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 } + + +% Common Definitions +% ================== +% +% Use the `common Greek font encoding definitions`_:: + +\renewcommand*{\LastDeclaredEncoding}{\UTFencname} +\input{greek-fontenc.def} + + +% Character Definitions +% ===================== +% +% General Punctuation +% ~~~~~~~~~~~~~~~~~~~ +% +% Ligature break up with ZERO WIDTH NON-JOINER:: + +\DeclareTextCommand{\textcompwordmark}{\UTFencname}{\char"200C} + +% 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) % ͺ +% 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}{Ϟ} % not defined in LGR +\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}{ϱ} + +% 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}{\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}{ᾱ} +% ᾲ +% ᾳ +% ᾴ +\DeclareTextCompositeCommand{\~}{\UTFencname}{\textalpha}{ᾶ} +\DeclareTextCompositeCommand{\~}{\UTFencname}{α}{ᾶ} +\DeclareTextCompositeCommand{\accperispomeni}{\UTFencname}{\textalpha}{ᾶ} +% ᾷ +\DeclareTextCompositeCommand{\u}{\UTFencname}{\textAlpha}{Ᾰ} +\DeclareTextCompositeCommand{\=}{\UTFencname}{\textAlpha}{Ᾱ} +\DeclareTextCompositeCommand{\`}{\UTFencname}{\textAlpha}{Ὰ} +% ᾼ +\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\textcompwordmark}{᾽} +\DeclareTextCommand{\prosgegrammeni}{\UTFencname}{ι} +\DeclareTextCompositeCommand{\accpsili}{\UTFencname}{\textcompwordmark}{᾿} + +\DeclareTextCompositeCommand{\accperispomeni}{\UTFencname}{\textcompwordmark}{῀} +\DeclareTextCompositeCommand{\accdialytikaperispomeni}{\UTFencname}{\textcompwordmark}{῁} +% ῂ +% ῃ +% ῄ +\DeclareTextCompositeCommand{\~}{\UTFencname}{\texteta}{ῆ} +\DeclareTextCompositeCommand{\~}{\UTFencname}{η}{ῆ} +\DeclareTextCompositeCommand{\accperispomeni}{\UTFencname}{\texteta}{ῆ} +% ῇ +\DeclareTextCompositeCommand{\`}{\UTFencname}{\textEpsilon}{Ὲ} +\DeclareTextCompositeCommand{\`}{\UTFencname}{\textEta}{Ὴ} +% ῌ +\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}{΅} + +% ῲ +% ῳ +% ῴ +\DeclareTextCompositeCommand{\~}{\UTFencname}{\textomega}{ῶ} +\DeclareTextCompositeCommand{\~}{\UTFencname}{ω}{ῶ} +\DeclareTextCompositeCommand{\accperispomeni}{\UTFencname}{\textomega}{ῶ} +% ῷ +\DeclareTextCompositeCommand{\`}{\UTFencname}{\textOmicron}{Ὸ} +\DeclareTextCompositeCommand{\`}{\UTFencname}{\textOmega}{Ὼ} +% ῼ +\DeclareTextCompositeCommand{\accoxia}{\UTFencname}{\textcompwordmark}{´} +\DeclareTextCompositeCommand{\accdasia}{\UTFencname}{\textcompwordmark}{῾} + +% Letterlike Symbols +% ~~~~~~~~~~~~~~~~~~ +% :: + +\DeclareTextCommand{\textohm}{\UTFencname}{Ω} % OHM SIGN + +% Ancient Greek Numbers +% ~~~~~~~~~~~~~~~~~~~~~ +% TODO: map other chars to corresponding Greek letters. +% See also the grnumalt_ package. +% +% Definition with literal Unicode characters, because the code-point has 5 +% hexadecimal digits: +% +% :: + +\DeclareTextCommand{\textpentedeka}{\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 + + +% UPPERCASE +% ========= +% +% Greek letters drop diacritics (eccept dialytika and sub-iota) in UPPERCASE. +% +% 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 +\global\lccode"0372="0373 \global\uccode"0372="0372 +\global\lccode"0373="0373 \global\uccode"0373="0372 +\global\lccode"0376="0377 \global\uccode"0376="0376 +\global\lccode"0377="0377 \global\uccode"0377="0376 +\global\lccode"03FD="037B \global\uccode"03FD="03FD +\global\lccode"037B="037B \global\uccode"037B="03FD +\global\lccode"03FE="037C \global\uccode"03FE="03FE +\global\lccode"037C="037C \global\uccode"037C="03FE +\global\lccode"03FF="037D \global\uccode"03FF="03FF +\global\lccode"037D="037D \global\uccode"037D="03FF +\global\lccode"0386="03AC \global\uccode"0386="0391 +\global\lccode"0388="03AD \global\uccode"0388="0395 +\global\lccode"0389="03AC \global\uccode"0389="0397 +\global\lccode"038A="03AF \global\uccode"038A="0399 +\global\lccode"038C="03CC \global\uccode"038C="039F +\global\lccode"038E="03CD \global\uccode"038E="03A5 +\global\lccode"038F="03CE \global\uccode"038F="03A9 +\global\lccode"0390="0390 \global\uccode"0390="03AA +\global\lccode"0391="03B1 \global\uccode"0391="0391 +\global\lccode"0392="03B2 \global\uccode"0392="0392 +\global\lccode"0393="03B3 \global\uccode"0393="0393 +\global\lccode"0394="03B4 \global\uccode"0394="0394 +\global\lccode"0395="03B5 \global\uccode"0395="0395 +\global\lccode"0396="03B6 \global\uccode"0396="0396 +\global\lccode"0397="03B7 \global\uccode"0397="0397 +\global\lccode"0398="03B8 \global\uccode"0398="0398 +\global\lccode"0399="03B9 \global\uccode"0399="0399 +\global\lccode"039A="03BA \global\uccode"039A="039A +\global\lccode"039B="03BB \global\uccode"039B="039B +\global\lccode"039C="03BC \global\uccode"039C="039C +\global\lccode"039D="03BD \global\uccode"039D="039D +\global\lccode"039E="03BE \global\uccode"039E="039E +\global\lccode"039F="03BF \global\uccode"039F="039F +\global\lccode"03A0="03C0 \global\uccode"03A0="03A0 +\global\lccode"03A1="03C1 \global\uccode"03A1="03A1 +\global\lccode"03A3="03C3 \global\uccode"03A3="03A3 +\global\lccode"03A4="03C4 \global\uccode"03A4="03A4 +\global\lccode"03A5="03C5 \global\uccode"03A5="03A5 +\global\lccode"03A6="03C6 \global\uccode"03A6="03A6 +\global\lccode"03A7="03C7 \global\uccode"03A7="03A7 +\global\lccode"03A8="03C8 \global\uccode"03A8="03A8 +\global\lccode"03A9="03C9 \global\uccode"03A9="03A9 +\global\lccode"03AA="03CA \global\uccode"03AA="03AA +\global\lccode"03AB="03CB \global\uccode"03AB="03AB +\global\lccode"03AC="03AC \global\uccode"03AC="0391 +\global\lccode"03AD="03AD \global\uccode"03AD="0395 +\global\lccode"03AE="03AE \global\uccode"03AE="0397 +\global\lccode"03AF="03AF \global\uccode"03AF="0399 +\global\lccode"03B0="03B0 \global\uccode"03B0="03AB +\global\lccode"03B1="03B1 \global\uccode"03B1="0391 +\global\lccode"03B2="03B2 \global\uccode"03B2="0392 +\global\lccode"03B3="03B3 \global\uccode"03B3="0393 +\global\lccode"03B4="03B4 \global\uccode"03B4="0394 +\global\lccode"03B5="03B5 \global\uccode"03B5="0395 +\global\lccode"03B6="03B6 \global\uccode"03B6="0396 +\global\lccode"03B7="03B7 \global\uccode"03B7="0397 +\global\lccode"03B8="03B8 \global\uccode"03B8="0398 +\global\lccode"03B9="03B9 \global\uccode"03B9="0399 +\global\lccode"03BA="03BA \global\uccode"03BA="039A +\global\lccode"03BB="03BB \global\uccode"03BB="039B +\global\lccode"03BC="03BC \global\uccode"03BC="039C +\global\lccode"03BD="03BD \global\uccode"03BD="039D +\global\lccode"03BE="03BE \global\uccode"03BE="039E +\global\lccode"03BF="03BF \global\uccode"03BF="039F +\global\lccode"03C0="03C0 \global\uccode"03C0="03A0 +\global\lccode"03C1="03C1 \global\uccode"03C1="03A1 +\global\lccode"03C2="03C2 \global\uccode"03C2="03A3 +\global\lccode"03C3="03C3 \global\uccode"03C3="03A3 +\global\lccode"03C4="03C4 \global\uccode"03C4="03A4 +\global\lccode"03C5="03C5 \global\uccode"03C5="03A5 +\global\lccode"03C6="03C6 \global\uccode"03C6="03A6 +\global\lccode"03C7="03C7 \global\uccode"03C7="03A7 +\global\lccode"03C8="03C8 \global\uccode"03C8="03A8 +\global\lccode"03C9="03C9 \global\uccode"03C9="03A9 +\global\lccode"03CA="03CA \global\uccode"03CA="03AA +\global\lccode"03CB="03CB \global\uccode"03CB="03AB +\global\lccode"03CC="03CC \global\uccode"03CC="039F +\global\lccode"03CD="03CD \global\uccode"03CD="03A5 +\global\lccode"03CE="03CE \global\uccode"03CE="03A9 +\global\lccode"03D0="03D0 \global\uccode"03D0="0392 +\global\lccode"03D1="03D1 \global\uccode"03D1="0398 +\global\lccode"03D2="03C5 \global\uccode"03D2="03A5 +\global\lccode"03D3="03CD \global\uccode"03D3="03A5 +\global\lccode"03D4="03CB \global\uccode"03D4="03AB +\global\lccode"03D5="03C6 \global\uccode"03D5="03A6 +\global\lccode"03D6="03C0 \global\uccode"03D6="03A0 +\global\lccode"03DA="03DB \global\uccode"03DA="03DA +\global\lccode"03DB="03DB \global\uccode"03DB="03DA +\global\lccode"03DC="03DD \global\uccode"03DC="03DC +\global\lccode"03DD="03DD \global\uccode"03DD="03DC +\global\lccode"03DE="03DF \global\uccode"03DE="03DE +\global\lccode"03DF="03DF \global\uccode"03DF="03DE +\global\lccode"03E0="03E1 \global\uccode"03E0="03E0 +\global\lccode"03E1="03E1 \global\uccode"03E1="03E0 +\global\lccode"03F0="03BA \global\uccode"03F0="039A +\global\lccode"03F1="03C1 \global\uccode"03F1="03A1 +\global\lccode"03F2="03F2 \global\uccode"03F2="03F9 +\global\lccode"03F9="03F2 \global\uccode"03F9="03F9 +\global\lccode"1F00="1F00 \global\uccode"1F00="0391 +\global\lccode"1F01="1F01 \global\uccode"1F01="0391 +\global\lccode"1F02="1F02 \global\uccode"1F02="0391 +\global\lccode"1F03="1F03 \global\uccode"1F03="0391 +\global\lccode"1F04="1F04 \global\uccode"1F04="0391 +\global\lccode"1F05="1F05 \global\uccode"1F05="0391 +\global\lccode"1F06="1F06 \global\uccode"1F06="0391 +\global\lccode"1F07="1F07 \global\uccode"1F07="0391 +\global\lccode"1F08="1F00 \global\uccode"1F08="0391 +\global\lccode"1F09="1F01 \global\uccode"1F09="0391 +\global\lccode"1F0A="1F02 \global\uccode"1F0A="0391 +\global\lccode"1F0B="1F03 \global\uccode"1F0B="0391 +\global\lccode"1F0C="1F04 \global\uccode"1F0C="0391 +\global\lccode"1F0D="1F05 \global\uccode"1F0D="0391 +\global\lccode"1F0E="1F06 \global\uccode"1F0E="0391 +\global\lccode"1F0F="1F07 \global\uccode"1F0F="0391 +\global\lccode"1F10="1F10 \global\uccode"1F10="0395 +\global\lccode"1F11="1F11 \global\uccode"1F11="0395 +\global\lccode"1F12="1F12 \global\uccode"1F12="0395 +\global\lccode"1F13="1F13 \global\uccode"1F13="0395 +\global\lccode"1F14="1F14 \global\uccode"1F14="0395 +\global\lccode"1F15="1F15 \global\uccode"1F15="0395 +\global\lccode"1F18="1F10 \global\uccode"1F18="0395 +\global\lccode"1F19="1F11 \global\uccode"1F19="0395 +\global\lccode"1F1A="1F12 \global\uccode"1F1A="0395 +\global\lccode"1F1B="1F13 \global\uccode"1F1B="0395 +\global\lccode"1F1C="1F14 \global\uccode"1F1C="0395 +\global\lccode"1F1D="1F15 \global\uccode"1F1D="0395 +\global\lccode"1F20="1F20 \global\uccode"1F20="0397 +\global\lccode"1F21="1F21 \global\uccode"1F21="0397 +\global\lccode"1F22="1F22 \global\uccode"1F22="0397 +\global\lccode"1F23="1F23 \global\uccode"1F23="0397 +\global\lccode"1F24="1F24 \global\uccode"1F24="0397 +\global\lccode"1F25="1F25 \global\uccode"1F25="0397 +\global\lccode"1F26="1F26 \global\uccode"1F26="0397 +\global\lccode"1F27="1F27 \global\uccode"1F27="0397 +\global\lccode"1F28="1F20 \global\uccode"1F28="0397 +\global\lccode"1F29="1F21 \global\uccode"1F29="0397 +\global\lccode"1F2A="1F22 \global\uccode"1F2A="0397 +\global\lccode"1F2B="1F23 \global\uccode"1F2B="0397 +\global\lccode"1F2C="1F24 \global\uccode"1F2C="0397 +\global\lccode"1F2D="1F25 \global\uccode"1F2D="0397 +\global\lccode"1F2E="1F26 \global\uccode"1F2E="0397 +\global\lccode"1F2F="1F27 \global\uccode"1F2F="0397 +\global\lccode"1F30="1F30 \global\uccode"1F30="0399 +\global\lccode"1F31="1F31 \global\uccode"1F31="0399 +\global\lccode"1F32="1F32 \global\uccode"1F32="0399 +\global\lccode"1F33="1F33 \global\uccode"1F33="0399 +\global\lccode"1F34="1F34 \global\uccode"1F34="0399 +\global\lccode"1F35="1F35 \global\uccode"1F35="0399 +\global\lccode"1F36="1F36 \global\uccode"1F36="0399 +\global\lccode"1F37="1F37 \global\uccode"1F37="0399 +\global\lccode"1F38="1F30 \global\uccode"1F38="0399 +\global\lccode"1F39="1F31 \global\uccode"1F39="0399 +\global\lccode"1F3A="1F32 \global\uccode"1F3A="0399 +\global\lccode"1F3B="1F33 \global\uccode"1F3B="0399 +\global\lccode"1F3C="1F34 \global\uccode"1F3C="0399 +\global\lccode"1F3D="1F35 \global\uccode"1F3D="0399 +\global\lccode"1F3E="1F36 \global\uccode"1F3E="0399 +\global\lccode"1F3F="1F37 \global\uccode"1F3F="0399 +\global\lccode"1F40="1F40 \global\uccode"1F40="039F +\global\lccode"1F41="1F41 \global\uccode"1F41="039F +\global\lccode"1F42="1F42 \global\uccode"1F42="039F +\global\lccode"1F43="1F43 \global\uccode"1F43="039F +\global\lccode"1F44="1F44 \global\uccode"1F44="039F +\global\lccode"1F45="1F45 \global\uccode"1F45="039F +\global\lccode"1F48="1F40 \global\uccode"1F48="039F +\global\lccode"1F49="1F41 \global\uccode"1F49="039F +\global\lccode"1F4A="1F42 \global\uccode"1F4A="039F +\global\lccode"1F4B="1F43 \global\uccode"1F4B="039F +\global\lccode"1F4C="1F44 \global\uccode"1F4C="039F +\global\lccode"1F4D="1F45 \global\uccode"1F4D="039F +\global\lccode"1F50="1F50 \global\uccode"1F50="03A5 +\global\lccode"1F51="1F51 \global\uccode"1F51="03A5 +\global\lccode"1F52="1F52 \global\uccode"1F52="03A5 +\global\lccode"1F53="1F53 \global\uccode"1F53="03A5 +\global\lccode"1F54="1F54 \global\uccode"1F54="03A5 +\global\lccode"1F55="1F55 \global\uccode"1F55="03A5 +\global\lccode"1F56="1F56 \global\uccode"1F56="03A5 +\global\lccode"1F57="1F57 \global\uccode"1F57="03A5 +\global\lccode"1F59="1F51 \global\uccode"1F59="03A5 +\global\lccode"1F5B="1F53 \global\uccode"1F5B="03A5 +\global\lccode"1F5D="1F55 \global\uccode"1F5D="03A5 +\global\lccode"1F5F="1F57 \global\uccode"1F5F="03A5 +\global\lccode"1F60="1F60 \global\uccode"1F60="03A9 +\global\lccode"1F61="1F61 \global\uccode"1F61="03A9 +\global\lccode"1F62="1F62 \global\uccode"1F62="03A9 +\global\lccode"1F63="1F63 \global\uccode"1F63="03A9 +\global\lccode"1F64="1F64 \global\uccode"1F64="03A9 +\global\lccode"1F65="1F65 \global\uccode"1F65="03A9 +\global\lccode"1F66="1F66 \global\uccode"1F66="03A9 +\global\lccode"1F67="1F67 \global\uccode"1F67="03A9 +\global\lccode"1F68="1F60 \global\uccode"1F68="03A9 +\global\lccode"1F69="1F61 \global\uccode"1F69="03A9 +\global\lccode"1F6A="1F62 \global\uccode"1F6A="03A9 +\global\lccode"1F6B="1F63 \global\uccode"1F6B="03A9 +\global\lccode"1F6C="1F64 \global\uccode"1F6C="03A9 +\global\lccode"1F6D="1F65 \global\uccode"1F6D="03A9 +\global\lccode"1F6E="1F66 \global\uccode"1F6E="03A9 +\global\lccode"1F6F="1F67 \global\uccode"1F6F="03A9 +\global\lccode"1F70="1F70 \global\uccode"1F70="0391 +\global\lccode"1F71="1F71 \global\uccode"1F71="0391 +\global\lccode"1F72="1F72 \global\uccode"1F72="0395 +\global\lccode"1F73="1F73 \global\uccode"1F73="0395 +\global\lccode"1F74="1F74 \global\uccode"1F74="0397 +\global\lccode"1F75="1F75 \global\uccode"1F75="0397 +\global\lccode"1F76="1F76 \global\uccode"1F76="0399 +\global\lccode"1F77="1F77 \global\uccode"1F77="0399 +\global\lccode"1F78="1F78 \global\uccode"1F78="039F +\global\lccode"1F79="1F79 \global\uccode"1F79="039F +\global\lccode"1F7A="1F7A \global\uccode"1F7A="03A5 +\global\lccode"1F7B="1F7B \global\uccode"1F7B="03A5 +\global\lccode"1F7C="1F7C \global\uccode"1F7C="03A9 +\global\lccode"1F7D="1F7D \global\uccode"1F7D="03A9 +\global\lccode"1F80="1F80 \global\uccode"1F80="1FBC +\global\lccode"1F81="1F81 \global\uccode"1F81="1FBC +\global\lccode"1F82="1F82 \global\uccode"1F82="1FBC +\global\lccode"1F83="1F83 \global\uccode"1F83="1FBC +\global\lccode"1F84="1F84 \global\uccode"1F84="1FBC +\global\lccode"1F85="1F85 \global\uccode"1F85="1FBC +\global\lccode"1F86="1F86 \global\uccode"1F86="1FBC +\global\lccode"1F87="1F87 \global\uccode"1F87="1FBC +\global\lccode"1F88="1F80 \global\uccode"1F88="1FBC +\global\lccode"1F89="1F81 \global\uccode"1F89="1FBC +\global\lccode"1F8A="1F82 \global\uccode"1F8A="1FBC +\global\lccode"1F8B="1F83 \global\uccode"1F8B="1FBC +\global\lccode"1F8C="1F84 \global\uccode"1F8C="1FBC +\global\lccode"1F8D="1F85 \global\uccode"1F8D="1FBC +\global\lccode"1F8E="1F86 \global\uccode"1F8E="1FBC +\global\lccode"1F8F="1F87 \global\uccode"1F8F="1FBC +\global\lccode"1F90="1F90 \global\uccode"1F90="1FCC +\global\lccode"1F91="1F91 \global\uccode"1F91="1FCC +\global\lccode"1F92="1F92 \global\uccode"1F92="1FCC +\global\lccode"1F93="1F93 \global\uccode"1F93="1FCC +\global\lccode"1F94="1F94 \global\uccode"1F94="1FCC +\global\lccode"1F95="1F95 \global\uccode"1F95="1FCC +\global\lccode"1F96="1F96 \global\uccode"1F96="1FCC +\global\lccode"1F97="1F97 \global\uccode"1F97="1FCC +\global\lccode"1F98="1F90 \global\uccode"1F98="1FCC +\global\lccode"1F99="1F91 \global\uccode"1F99="1FCC +\global\lccode"1F9A="1F92 \global\uccode"1F9A="1FCC +\global\lccode"1F9B="1F93 \global\uccode"1F9B="1FCC +\global\lccode"1F9C="1F94 \global\uccode"1F9C="1FCC +\global\lccode"1F9D="1F95 \global\uccode"1F9D="1FCC +\global\lccode"1F9E="1F96 \global\uccode"1F9E="1FCC +\global\lccode"1F9F="1F97 \global\uccode"1F9F="1FCC +\global\lccode"1FA0="1FA0 \global\uccode"1FA0="1FFC +\global\lccode"1FA1="1FA1 \global\uccode"1FA1="1FFC +\global\lccode"1FA2="1FA2 \global\uccode"1FA2="1FFC +\global\lccode"1FA3="1FA3 \global\uccode"1FA3="1FFC +\global\lccode"1FA4="1FA4 \global\uccode"1FA4="1FFC +\global\lccode"1FA5="1FA5 \global\uccode"1FA5="1FFC +\global\lccode"1FA6="1FA6 \global\uccode"1FA6="1FFC +\global\lccode"1FA7="1FA7 \global\uccode"1FA7="1FFC +\global\lccode"1FA8="1FA0 \global\uccode"1FA8="1FFC +\global\lccode"1FA9="1FA1 \global\uccode"1FA9="1FFC +\global\lccode"1FAA="1FA2 \global\uccode"1FAA="1FFC +\global\lccode"1FAB="1FA3 \global\uccode"1FAB="1FFC +\global\lccode"1FAC="1FA4 \global\uccode"1FAC="1FFC +\global\lccode"1FAD="1FA5 \global\uccode"1FAD="1FFC +\global\lccode"1FAE="1FA6 \global\uccode"1FAE="1FFC +\global\lccode"1FAF="1FA7 \global\uccode"1FAF="1FFC +\global\lccode"1FB0="1FB0 \global\uccode"1FB0="1FB8 +\global\lccode"1FB1="1FB1 \global\uccode"1FB1="1FB9 +\global\lccode"1FB2="1FB2 \global\uccode"1FB2="1FBC +\global\lccode"1FB3="1FB3 \global\uccode"1FB3="1FBC +\global\lccode"1FB4="1FB4 \global\uccode"1FB4="1FBC +\global\lccode"1FB6="1FB6 \global\uccode"1FB6="0391 +\global\lccode"1FB7="1FB7 \global\uccode"1FB7="1FBC +\global\lccode"1FB8="1FB0 \global\uccode"1FB8="1FB8 +\global\lccode"1FB9="1FB1 \global\uccode"1FB9="1FB9 +\global\lccode"1FBA="1F70 \global\uccode"1FBA="0391 +\global\lccode"1FBB="1F71 \global\uccode"1FBB="0391 +\global\lccode"1FBC="1FB3 \global\uccode"1FBC="1FBC +\global\lccode"1FBD="1FBD \global\uccode"1FBD="1FBD +\global\lccode"1FC2="1FC2 \global\uccode"1FC2="1FCC +\global\lccode"1FC3="1FC3 \global\uccode"1FC3="1FCC +\global\lccode"1FC4="1FC4 \global\uccode"1FC4="1FCC +\global\lccode"1FC6="1FC6 \global\uccode"1FC6="0397 +\global\lccode"1FC7="1FC7 \global\uccode"1FC7="1FCC +\global\lccode"1FC8="1F72 \global\uccode"1FC8="0395 +\global\lccode"1FC9="1F73 \global\uccode"1FC9="0395 +\global\lccode"1FCA="1F74 \global\uccode"1FCA="0397 +\global\lccode"1FCB="1F75 \global\uccode"1FCB="0397 +\global\lccode"1FCC="1FC3 \global\uccode"1FCC="1FCC +\global\lccode"1FD0="1FD0 \global\uccode"1FD0="1FD8 +\global\lccode"1FD1="1FD1 \global\uccode"1FD1="1FD9 +\global\lccode"1FD2="1FD2 \global\uccode"1FD2="03AA +\global\lccode"1FD3="1FD3 \global\uccode"1FD3="03AA +\global\lccode"1FD6="1FD6 \global\uccode"1FD6="0399 +\global\lccode"1FD7="1FD7 \global\uccode"1FD7="03AA +\global\lccode"1FD8="1FD0 \global\uccode"1FD8="1FD8 +\global\lccode"1FD9="1FD1 \global\uccode"1FD9="1FD9 +\global\lccode"1FDA="1F76 \global\uccode"1FDA="0399 +\global\lccode"1FDB="1F77 \global\uccode"1FDB="0399 +\global\lccode"1FE0="1FE0 \global\uccode"1FE0="1FE8 +\global\lccode"1FE1="1FE1 \global\uccode"1FE1="1FE9 +\global\lccode"1FE2="1FE2 \global\uccode"1FE2="03AB +\global\lccode"1FE3="1FE3 \global\uccode"1FE3="03AB +\global\lccode"1FE4="1FE4 \global\uccode"1FE4="03A1 +\global\lccode"1FE5="1FE5 \global\uccode"1FE5="03A1 +\global\lccode"1FE6="1FE6 \global\uccode"1FE6="03A5 +\global\lccode"1FE7="1FE7 \global\uccode"1FE7="03AB +\global\lccode"1FE8="1FE0 \global\uccode"1FE8="1FE8 +\global\lccode"1FE9="1FE1 \global\uccode"1FE9="1FE9 +\global\lccode"1FEA="1F7A \global\uccode"1FEA="03A5 +\global\lccode"1FEB="1F7B \global\uccode"1FEB="03A5 +\global\lccode"1FEC="1FE5 \global\uccode"1FEC="03A1 +\global\lccode"1FF2="1FF2 \global\uccode"1FF2="1FFC +\global\lccode"1FF3="1FF3 \global\uccode"1FF3="1FFC +\global\lccode"1FF4="1FF4 \global\uccode"1FF4="1FFC +\global\lccode"1FF6="1FF6 \global\uccode"1FF6="03A9 +\global\lccode"1FF7="1FF7 \global\uccode"1FF7="1FFC +\global\lccode"1FF8="1F78 \global\uccode"1FF8="039F +\global\lccode"1FF9="1F79 \global\uccode"1FF9="039F +\global\lccode"1FFA="1F7C \global\uccode"1FFA="03A9 +\global\lccode"1FFB="1F7D \global\uccode"1FFB="03A9 +\global\lccode"1FFC="1FF3 \global\uccode"1FFC="1FFC + + +% uclclist +% ~~~~~~~~ +% +% The common Greek font encoding definitions in greek-fontenc.def_ extend the +% `uclclist` with Greek LICR macros. Here, we add textkoppa/textKoppa and +% Unicode-specific "hiatus_" handling (copied from lgrenc.def_ and changed +% Latin transcription to Unicode literals). +% +% @uclclist extension (see also greek-fontenc.def_):: + +\providecommand*\tuenc@greek@update@uclclist{% + \expandafter\def\expandafter\@uclclist\expandafter{% + \@uclclist + \textkoppa \textKoppa + }% + \let\tuenc@greek@update@uclclist\relax +} + +% Expand the uclc list using the just defined macro:: + +\tuenc@greek@update@uclclist + +% Now the hiatus definition modifications:: + +\DeclareTextCommand{\LGR@A@hiatus}{\UTFencname}{% + \LGR@ifnextchar{Ι}{\textAlpha\"}{% + \LGR@ifnextchar{Υ}{\textAlpha\"}{% + \LGR@ifnextchar{\textIota}{\textAlpha\"}{% + \LGR@ifnextchar{\textUpsilon}{\textAlpha\"}{\textAlpha}% + }% + }% + }% +} +\DeclareTextCommand{\LGR@E@hiatus}{\UTFencname}{% + \LGR@ifnextchar{Ι}{\textEpsilon\"}{% + \LGR@ifnextchar{Υ}{\textEpsilon\"}{% + \LGR@ifnextchar{\textIota}{\textEpsilon\"}{% + \LGR@ifnextchar{\textUpsilon}{\textEpsilon\"}{\textEpsilon}% + }% + }% + }% +} + +% .. References +% +% .. _LaTeX Project Public License: http://www.latex-project.org/lppl.txt +% .. _babel-greek: http://www.ctan.org/pkg/babel-greek +% .. _euenc: http://www.ctan.org/pkg/euenc +% .. _fontspec: http://www.ctan.org/pkg/fontspec +% .. _greek-fontenc: http://www.ctan.org/pkg/greek-fontenc +% .. _grnumalt: http://www.ctan.org/pkg/grnumalt +% .. _inputenc: http://www.ctan.org/pkg/inputenc +% .. _textalpha: textalpha.sty.html +% .. _xgreek: http://www.ctan.org/pkg/xgreek +% .. _xunicode: http://www.ctan.org/pkg/xunicode +% +% .. _LaTeX2e font selection: +% http://mirror.ctan.org/macros/latex/doc/fntguide.pdf +% .. _common Greek font encoding definitions: +% .. _greek-fontenc.def: greek-fontenc.def.html +% .. _lgrenc.def: lgrenc.def.html +% .. _hiatus: greek-fontenc.def.html#mark-hiatus -- cgit v1.2.3