summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2023-03-09 21:04:55 +0000
committerKarl Berry <karl@freefriends.org>2023-03-09 21:04:55 +0000
commit6d4065057e91bcdcaa22ea79197f8d645cc043be (patch)
tree2f54ac3c5be999e120b5af186999c67b85b82212 /Master/texmf-dist/tex/latex
parentd6db4de29587013fe415a32e0bd37e1afe2251e8 (diff)
greek-fontenc (9mar23)
git-svn-id: svn://tug.org/texlive/trunk@66489 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r--Master/texmf-dist/tex/latex/greek-fontenc/alphabeta-lgr.def2
-rw-r--r--Master/texmf-dist/tex/latex/greek-fontenc/alphabeta-tuenc.def2
-rw-r--r--Master/texmf-dist/tex/latex/greek-fontenc/alphabeta.sty69
-rw-r--r--Master/texmf-dist/tex/latex/greek-fontenc/greek-fontenc.def33
-rw-r--r--Master/texmf-dist/tex/latex/greek-fontenc/lgrenc.def4
-rw-r--r--Master/texmf-dist/tex/latex/greek-fontenc/puenc-greek.def36
-rw-r--r--Master/texmf-dist/tex/latex/greek-fontenc/textalpha.sty106
-rw-r--r--Master/texmf-dist/tex/latex/greek-fontenc/tuenc-greek.def112
8 files changed, 221 insertions, 143 deletions
diff --git a/Master/texmf-dist/tex/latex/greek-fontenc/alphabeta-lgr.def b/Master/texmf-dist/tex/latex/greek-fontenc/alphabeta-lgr.def
index e976eafd56b..1affabd2646 100644
--- a/Master/texmf-dist/tex/latex/greek-fontenc/alphabeta-lgr.def
+++ b/Master/texmf-dist/tex/latex/greek-fontenc/alphabeta-lgr.def
@@ -3,7 +3,7 @@
% Composite definitions for 8-bit TeX
% ******************************************
%
-% :Copyright: © 2014 Günter Milde
+% :Copyright: © 2014, 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.
diff --git a/Master/texmf-dist/tex/latex/greek-fontenc/alphabeta-tuenc.def b/Master/texmf-dist/tex/latex/greek-fontenc/alphabeta-tuenc.def
index cb2f621e543..897cd685160 100644
--- a/Master/texmf-dist/tex/latex/greek-fontenc/alphabeta-tuenc.def
+++ b/Master/texmf-dist/tex/latex/greek-fontenc/alphabeta-tuenc.def
@@ -3,7 +3,7 @@
% Composite definitions for XeTeX and LuaTeX
% ******************************************
%
-% :Copyright: © 2013 Günter Milde
+% :Copyright: © 2013, 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.
diff --git a/Master/texmf-dist/tex/latex/greek-fontenc/alphabeta.sty b/Master/texmf-dist/tex/latex/greek-fontenc/alphabeta.sty
index 09a1cf5c6ea..a0352815dbe 100644
--- a/Master/texmf-dist/tex/latex/greek-fontenc/alphabeta.sty
+++ b/Master/texmf-dist/tex/latex/greek-fontenc/alphabeta.sty
@@ -3,38 +3,17 @@
% Greek symbols in text and math
% ******************************
%
-% :Copyright: © 2010 Günter Milde
+% :Version: 2.2.1 (changelog_)
+%
+% :Copyright: © 2010, 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.
%
-% :Abstract: Use ``\alpha, \beta, ...`` for Greek letters in text and math
-% mode.
+% :Abstract: Use ``\alpha, \beta, ...`` for Greek letters in text and math
+% mode.
%
-% :Identification:
-% ::
-
-\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{alphabeta}
- [2020/10/13 2.0 macros for Greek letters in text and math]
-
-% Changelog:
-% .. class:: borderless
-%
-% ====== ========== =========================================================
-% 0.1 2012-06-26 initial version
-% 0.2 2013-05-03 new accent macro names with ``lgrxenc.def`` 0.7
-% 0.3 2013-05-28 use ``lgrenc.def`` from greek-fontenc,
-% .. enable Unicode input in math mode.
-% 0.4 2013-09-11 move to greek-fontenc_, support XeTeX/LuaTeX.
-% 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``.
-% 1.0 2020/09/25 New package version. No changes in this file.
-% 2.0 2020/10/13 Provide ``\Koppa``.
-% ====== ========== =========================================================
%
% .. contents::
%
@@ -91,6 +70,16 @@
% Implementation
% ==============
%
+% Identification
+% --------------
+%
+% ::
+
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{alphabeta}
+ [2023/03/08 2.2.1 macros for Greek letters in text and math]
+
+
% Requirements
% ------------
%
@@ -121,6 +110,7 @@
\AtBeginDocument{
+
% Save math macros
% ----------------
%
@@ -180,6 +170,7 @@
\let\mathvarkappa\varkappa
\fi
+
% Commands to access Greek letters by name
% ----------------------------------------
%
@@ -333,6 +324,7 @@
\input{alphabeta-lgr.def}
}{}
+
% Re-definition for Greek Unicode input in math mode
% --------------------------------------------------
%
@@ -395,6 +387,29 @@
} % close the \AtBeginDocument macro
+
+% Changelog
+% =========
+%
+% .. class:: borderless
+%
+% ====== =========== ========================================================
+% 0.1 2012-06-26 initial version
+% 0.2 2013-05-03 new accent macro names with ``lgrxenc.def`` 0.7
+% 0.3 2013-05-28 use ``lgrenc.def`` from greek-fontenc,
+% .. enable Unicode input in math mode.
+% 0.4 2013-09-11 move to greek-fontenc_, support XeTeX/LuaTeX.
+% 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``.
+% 1.0 2020/09/25 New package version. No changes in this file.
+% 2.0 2020/10/13 Provide ``\Koppa``.
+% 2.2.1 2023-03-08 Documentation update.
+% ====== =========== ========================================================
+%
+%
% .. References
% ----------
% .. _LaTeX Project Public License: http://www.latex-project.org/lppl.txt
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 d7db6ff2ceb..1e5d781b492 100644
--- a/Master/texmf-dist/tex/latex/greek-fontenc/greek-fontenc.def
+++ b/Master/texmf-dist/tex/latex/greek-fontenc/greek-fontenc.def
@@ -4,16 +4,14 @@
% Common Greek font encoding definitions
% ======================================
%
-% :Copyright: © 2013 Günter Milde
+% :Version: 2.2.1 (changelog_)
+%
+% :Copyright: © 2013 -- 2023 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-fontenc.def}
-[2023/02/28 2.2 Common Greek font encoding definitions]
-
+%
% :Abstract: This file provides definitions that are shared between
% font encodings providing Greek characters.
%
@@ -28,6 +26,13 @@
% Implementation
% --------------
%
+% Identification
+% ~~~~~~~~~~~~~~
+% ::
+
+\ProvidesFile{greek-fontenc.def}
+ [2023/03/08 2.2.1 Common Greek font encoding definitions]
+
% ensuregreek, greekscript
% ~~~~~~~~~~~~~~~~~~~~~~~~
%
@@ -290,6 +295,7 @@
\accpsilivaria\LGR@hiatus
\accpsiliperispomeni\LGR@accdropped
\acctonos\LGR@hiatus
+ \accoxia\LGR@hiatus
\accvaria\LGR@accdropped
\accdialytikatonos\LGR@accDialytika
\accdialytikavaria\LGR@accDialytika
@@ -324,7 +330,7 @@
\textomega \textOmega
\textkoppa \textKoppa
\textqoppa \textQoppa
- \textvarstigma \textStigma
+ \textvarstigma \LGR@Stigma
\textstigma \textStigma
\textsampi \textSampi
\textdigamma \textDigamma
@@ -357,6 +363,11 @@
\DeclareTextCommand{\LGR@ypogegrammeni}{\LastDeclaredEncoding}{\ypogegrammeni}
+% Prevent downcasing ``\textStigma`` to the stigma variant ``\textvarstigma``
+% (only available in LGR). This happened sometimes with the post-2022/06
+% ``\MakeLowercase``::
+
+\DeclareTextCommand{\LGR@Stigma}{\LastDeclaredEncoding}{\textStigma}
% Mark hiatus
% """""""""""
@@ -394,8 +405,8 @@
\reserved@b
}
-% Changes
-% -------
+% Changelog
+% ---------
%
% .. class:: borderless
%
@@ -409,6 +420,8 @@
% 1.0 2020-09-25 ``\textKoppagreek`` and ``\textstigmagreek`` aliases.
% 2.0 2020/10/30 Alias definitions matching mathematical variant symbols.
% 2.2 2023-02-28 Add missing accent composite commands.
+% 2.2.1 2023-03-08 ``@uclclist`` entry for ``\accoxia``, prevent
+% downcasing ``\textStigma`` to ``\textvarstigma``.
% ====== ============ ========================================================
%
%
diff --git a/Master/texmf-dist/tex/latex/greek-fontenc/lgrenc.def b/Master/texmf-dist/tex/latex/greek-fontenc/lgrenc.def
index d1c748b466d..7d60da1fd57 100644
--- a/Master/texmf-dist/tex/latex/greek-fontenc/lgrenc.def
+++ b/Master/texmf-dist/tex/latex/greek-fontenc/lgrenc.def
@@ -4,7 +4,7 @@
% LGR Greek font encoding definitions
% ===================================
%
-% :Copyright: © 2010 -- 2022 Günter Milde
+% :Copyright: © 2010 -- 2023 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.
@@ -100,7 +100,7 @@
\ProvidesFile{lgrenc.def}
[2023/02/28 2.2 LGR Greek font encoding definitions]
-% Copyright © 2010 Günter Milde
+% Copyright © 2010 -- 2023 Günter Milde
% This file is part of the "greek-fontenc" package.
% It may be distributed and/or modified under the
% conditions of the "LaTeX Project Public License", either
diff --git a/Master/texmf-dist/tex/latex/greek-fontenc/puenc-greek.def b/Master/texmf-dist/tex/latex/greek-fontenc/puenc-greek.def
index fdc51336b51..915725fdbf8 100644
--- a/Master/texmf-dist/tex/latex/greek-fontenc/puenc-greek.def
+++ b/Master/texmf-dist/tex/latex/greek-fontenc/puenc-greek.def
@@ -2,20 +2,16 @@
% puenc-greek.def
% +++++++++++++++
%
-% Greek LICR definitions for PDF strings (hyperref)
-% *************************************************
+% Greek LICR definitions for PDF strings
+% **************************************
%
% :Copyright: © 2020, 2023 Günter Milde
+%
% :Licence: This work may be distributed and/or modified under the
% conditions of the `LaTeX Project Public License`_, either
% version 1.3 of this license or any later version.
-% :Identification:
-% ::
-
-\ProvidesFile{puenc-greek.def}
-[2023/02/28 2.2 Greek LICRs for PDF strings]
-
-% :abstract:
+%
+% :Abstract:
% Support for Greek LICR macros in PDF bookmarks. Extends ``puenc.def``
% and supersedes ``puenc-greekbasic.def`` from the hyperref_ package.
% Used by babel-greek_ and textalpha_.
@@ -26,8 +22,20 @@
% ====== =========== =======================================================
% 2.0 2020-10-18 Initial version.
% 2.2 2023-02-28 Add compatibility definitions for hyperref.
+% 2.2.1 2023-03-08 Documentation update.
% ====== =========== =======================================================
%
+% .. contents::
+%
+%
+% Identification
+% ==============
+% ::
+
+\ProvidesFile{puenc-greek.def}
+ [2023/03/08 2.2.1 Greek LICRs for PDF strings]
+
+
% Diacritics
% ==========
%
@@ -63,6 +71,7 @@
\DeclareTextCommand{\accpsilioxia}{PU}[1]{#1\83\001\83\023}
\DeclareTextCommand{\accpsiliperispomeni}{PU}[1]{#1\83\102\83\023}
+
% Common Definitions
% ==================
%
@@ -74,6 +83,7 @@
\renewcommand*{\LastDeclaredEncoding}{PU}
\input{greek-fontenc.def}
+
% Character Definitions
% =====================
%
@@ -196,13 +206,13 @@
\DeclareTextCommand{\textQoppa}{PU}{\83\330} % Ϙ "03D8
\DeclareTextCommand{\textqoppa}{PU}{\83\331} % ϙ "03D9
\DeclareTextCommand{\textStigma}{PU}{\83\332} % Ϛ "03DA \textStigmagreek
-\DeclareTextCommand{\textstigma}{PU}{\83\333} % ϛ "03DB \textstigmagreek
+\DeclareTextCommand{\textstigma}{PU}{\83\333} % ϛ "03DB \textstigmagreek
\DeclareTextCommand{\textDigamma}{PU}{\83\334} % Ϝ "03DC \textDigammagreek
\DeclareTextCommand{\textdigamma}{PU}{\83\335} % ϝ "03DD \textdigammagreek
\DeclareTextCommand{\textKoppa}{PU}{\83\336} % Ϟ "03DE \textKoppagreek in LGR identic to \textkoppa
\DeclareTextCommand{\textkoppa}{PU}{\83\337} % ϟ "03DF \textkoppagreek
-\DeclareTextCommand{\textSampi}{PU}{\83\340} % Ϡ "03E0 \textSampigreek
-\DeclareTextCommand{\textsampi}{PU}{\83\341} % ϡ "03E1 \textsampigreek
+\DeclareTextCommand{\textSampi}{PU}{\83\340} % Ϡ "03E0 \textSampigreek
+\DeclareTextCommand{\textsampi}{PU}{\83\341} % ϡ "03E1 \textsampigreek
\DeclareTextCommand{\textkappasymbol}{PU}{\83\360} % ϰ "03F0
\DeclareTextCommand{\textrhosymbol}{PU}{\83\361} % ϱ "03F1
@@ -430,12 +440,14 @@
\DeclareTextCompositeCommand{\accdasia}{PU}{\@empty}{\9037\376} % ῾
\DeclareTextCompositeCommand{\accdasia}{PU}{\ }{\9037\376} % ῾
+
% Letterlike Symbols
% ------------------
% ::
\DeclareTextCommand{\textohm}{PU}{\83\251} % "03A9 OHM SIGN, use 03A9 Omega
+
% Ancient Greek Numbers
% ---------------------
% TODO: map other chars to corresponding Greek letters.
diff --git a/Master/texmf-dist/tex/latex/greek-fontenc/textalpha.sty b/Master/texmf-dist/tex/latex/greek-fontenc/textalpha.sty
index 851f39dc956..97b7423fc77 100644
--- a/Master/texmf-dist/tex/latex/greek-fontenc/textalpha.sty
+++ b/Master/texmf-dist/tex/latex/greek-fontenc/textalpha.sty
@@ -3,7 +3,10 @@
% Greek symbols in text
% *********************
%
-% :Copyright: © 2010 Günter Milde
+% :Version: 2.2.1 (changelog_)
+%
+% :Copyright: © 2010, 2023 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.
@@ -11,46 +14,6 @@
% :Abstract: Provide a set of ``\text*`` macros for Greek characters
% in text mode.
%
-% :Identification:
-% ::
-
-\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{textalpha}
-[2023/02/28 2.2 macros for Greek letters in text]
-
-% .. note::
-%
-% The package was renamed from `textgreek` to `textalpha` to prevent
-% confusion with the textgreek_ package by Leonard Michlmayr.
-%
-%
-% Changelog:
-% .. class:: borderless
-%
-% ====== =========== ========================================================
-% 0.1 2010-06-16 initial version
-% 0.2 2012-06-27 support for compound Unicode definitions outside LGR
-% 0.3 2013-05-03 new accent macro names with ``lgrxenc.def`` 0.7
-% 0.4 2013-05-28 use ``lgrenc.def`` from greek-fontenc.
-% 0.5 2013-09-11 move to greek-fontenc_,
-% .. support XeTeX/LuaTeX, add breve below accents.
-% 0.11 2013-11-28 compatibility with Xe/LuaTeX in 8-bit mode.
-% 0.12 2014-12-12 fix auxiliary macro names,
-% define symbol macros for breathing accents.
-% 0.13 2015-09-04 Option normalize-symbols_: support for symbol variants.
-% .. Option keep-semicolon_: use semicolon as erotimatiko
-% in LGR.
-% 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``.
-% 1.0 2020-09-25 Also set ``\encodingdefault`` with ``\greekscript``.
-% 2.0 2020-10-30 Load ``tuenc-greek.def`` with Xe/LuaTeX by default.
-% .. Load ``puenc-greek.def`` if used with `hyperref`_.
-% 2.2 2023-02-28 Don't use ``\makeatother`` in ``\AtBeginDocument``.
-% ====== =========== ========================================================
%
% .. contents::
%
@@ -112,13 +75,13 @@
%
% \usepackage{textalpha}
%
-% eventually with the options_ to normalize symbols variants
+% eventually with the options to `normalize symbols variants`_
%
% .. code:: latex
%
% \usepackage[normalize-symbols]{textalpha}
%
-% and/or to use the semicolon as erotimatiko_ also in 8-bit TeX
+% and/or to `use the semicolon as erotimatiko`_ also in 8-bit TeX
%
% .. code:: latex
%
@@ -142,9 +105,20 @@
% Implementation
% ==============
%
+% Identification
+% --------------
+% ::
+
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{textalpha}
+ [2023/03/08 2.2.1 macros for Greek letters in text]
+
+
% Options
% -------
%
+% .. _normalize symbols variants:
+%
% normalize-symbols
% """""""""""""""""
%
@@ -171,6 +145,9 @@
\newif\iftextalpha@normalizeSymbols
\DeclareOption{normalize-symbols}{\textalpha@normalizeSymbolstrue}
+
+% .. _use the semicolon as erotimatiko:
+%
% keep-semicolon
% """"""""""""""
%
@@ -194,8 +171,7 @@
\ProcessOptions\relax
-% .. _font encoding:
-%
+
% Symbol macros for breathings
% ----------------------------
%
@@ -215,6 +191,9 @@
\DeclareTextCompositeCommand{\<}{#1}{~}{\accdasiaperispomeni}
}
+
+% .. _font encoding:
+%
% Font encodings
% --------------
%
@@ -296,6 +275,7 @@
\DeclareTextSymbol{\textmicro}{TS1}{181} % micro sign
\DeclareTextSymbolDefault{\textmicro}{TS1}
+
% Default declarations
% --------------------
%
@@ -407,6 +387,7 @@
\DeclareTextSymbolDefault{\textpsi}{LGR}
\DeclareTextSymbolDefault{\textomega}{LGR}
+
% Additional Greek symbols
% """"""""""""""""""""""""
%
@@ -450,6 +431,7 @@
\DeclareTextSymbolDefault{\textaristerikeraia}{LGR} % ͵ (Aristeri keraia)
\DeclareTextSymbolDefault{\textnumeralsignlowergreek}{LGR} % (puenc.def)
+
% variant shape symbols
% '''''''''''''''''''''
%
@@ -564,7 +546,7 @@
% ...
%
% For the same reason default declarations should never come last since
-% they are implemented as a special encoding themselves (with the name ?).
+% they are implemented as a special encoding themselves (with the name "?").
% Specifying them last would simply mean to make those encoding-specific
% commands equally inefficient in all encodings.
%
@@ -572,6 +554,38 @@
% subsection "The order of declarations".
%
%
+% Changelog
+% =========
+%
+% .. class:: borderless
+%
+% ====== =========== ========================================================
+% 0.1 2010-06-16 initial version
+% 0.2 2012-06-27 support for compound Unicode definitions outside LGR
+% 0.3 2013-05-03 new accent macro names with ``lgrxenc.def`` 0.7
+% 0.4 2013-05-28 use ``lgrenc.def`` from greek-fontenc.
+% 0.5 2013-09-11 move to greek-fontenc_,
+% .. support XeTeX/LuaTeX, add breve below accents.
+% 0.11 2013-11-28 compatibility with Xe/LuaTeX in 8-bit mode.
+% 0.12 2014-12-12 fix auxiliary macro names,
+% define symbol macros for breathing accents.
+% 0.13 2015-09-04 Option normalize-symbols_: support for symbol variants.
+% .. Option keep-semicolon_: use semicolon as erotimatiko
+% in LGR.
+% 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``.
+% 1.0 2020-09-25 Also set ``\encodingdefault`` with ``\greekscript``.
+% 2.0 2020-10-30 Load ``tuenc-greek.def`` with Xe/LuaTeX by default.
+% .. Load ``puenc-greek.def`` if used with `hyperref`_.
+% 2.2 2023-02-28 Don't use ``\makeatother`` in ``\AtBeginDocument``.
+% 2.2.1 2023-03-08 Documentation update.
+% ====== =========== ========================================================
+%
+%
% .. References
% ----------
% .. _LaTeX Project Public License: http://www.latex-project.org/lppl.txt
diff --git a/Master/texmf-dist/tex/latex/greek-fontenc/tuenc-greek.def b/Master/texmf-dist/tex/latex/greek-fontenc/tuenc-greek.def
index 156f9892ff3..fc91f22b49b 100644
--- a/Master/texmf-dist/tex/latex/greek-fontenc/tuenc-greek.def
+++ b/Master/texmf-dist/tex/latex/greek-fontenc/tuenc-greek.def
@@ -3,56 +3,23 @@
% Greek LICR definitions for XeTeX and LuaTeX
% *******************************************
%
-% :Copyright: © 2013 Günter Milde
+% :Version: 2.2.1 (changelog_)
+%
+% :Copyright: © 2013 -- 2023 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}
-[2023/02/28 2.2 Greek LICRs for XeTeX and LuaTeX]
-
+%
% :abstract:
% Support for Greek LICR macros and upcasing of text
% with XeTeX and LuaTeX. Extends tuenc.def_.
% Used by babel-greek_ and textalpha_.
%
-% **History**:
-% .. class:: borderless
-%
-% ====== =========== ========================================================
-% 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``.
-% 1.0 2020-09-25 New package version. No changes in this file.
-% 2.0 2020-10-13 Move common alias definitions to ``greek-fontenc.def``.
-% .. New compatiblity definitions.
-% .. Use ``\UnicodeEncodingName`` instead of ``\UTFencname``.
-% .. Make the file encoding-independent (required for input
-% in other encodings with `luainputenc`).
-% 2.2 2023-02-28 Add composite definitions for ``\~`` + literal char.
-% .. Fix order in expansion of combined accent macros.
-% .. Let ``\textautosigma`` select sigma/finalsigma
-% depending on context (with LaTeX >= 2022/06/01).
-% .. Skip `uccode` fixes when ignored by ``\MakeUppercase``.
-% .. Add ``\textbackepsilon`` (defined by hyperref for PU).
-% ====== =========== ========================================================
%
% .. contents::
%
+%
% Motivation
% ==========
%
@@ -63,6 +30,7 @@
% for Greek letters and symbols. It works independed of xunicode_ using the
% standard commands for `LaTeX2e font selection`_.
%
+%
% Requirements
% ============
%
@@ -74,8 +42,20 @@
% usage examples.
%
%
+% Implementation
+% ==============
+%
+% Identification
+% --------------
+%
+% ::
+
+\ProvidesFile{tuenc-greek.def}
+ [2023/03/08 2.2.1 Greek LICRs for XeTeX and LuaTeX]
+
+
% Greek Diacritics
-% ================
+% ----------------
%
% Define "named macros" for simple and combined diacritics.
%
@@ -132,7 +112,7 @@
% Common Definitions
-% ==================
+% ------------------
%
% Use the `common Greek font encoding definitions`_::
@@ -140,7 +120,7 @@
\input{greek-fontenc.def}
% Character Definitions
-% =====================
+% ---------------------
%
% Basic Latin
% ~~~~~~~~~~~
@@ -545,7 +525,12 @@
% while the standard short accent macro ``\~`` uses the COMBINING TILDE.
% Only <Greek letter> + COMBINING GREEK PERISPOMENI is considered
% equivalent to the pre-composed <Greek letter> WITH PERISPOMENI.
-% Composite definitions for ``\~`` select the pre-composed character::
+% Composite definitions for ``\~`` select the pre-composed character
+%
+% TODO: don't use literal Unicode characters if ``\inputencodingname``
+% is defined and not "lutf8" to prevent errors with legacy 8-bit documents
+% read with "luainputenc.sty" (cf. test-licr-input.tex).
+% ::
\DeclareUnicodeComposite{\~}{α}{"1FB6} % ᾶ
\DeclareUnicodeComposite{\~}{η}{"1FC6} % ῆ
@@ -591,7 +576,7 @@
% UPPERCASE
-% =========
+% ---------
%
% Greek letters drop diacritics (eccept dialytika and sub-iota) in UPPERCASE.
%
@@ -953,7 +938,46 @@
}%
}
+
+% Changelog
+% =========
+%
+% .. 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``.
+% 1.0 2020-09-25 New package version. No changes in this file.
+% 2.0 2020-10-13 Move common alias definitions to ``greek-fontenc.def``.
+% .. New compatiblity definitions.
+% .. Use ``\UnicodeEncodingName`` instead of ``\UTFencname``.
+% .. Make the file encoding-independent (required for input
+% in other encodings with `luainputenc`).
+% 2.2 2023-02-28 Add composite definitions for ``\~`` + literal char.
+% .. Fix order in expansion of combined accent macros.
+% .. Let ``\textautosigma`` select sigma/finalsigma
+% depending on context (with LaTeX >= 2022/06/01).
+% .. Skip `uccode` fixes when ignored by ``\MakeUppercase``.
+% .. Add ``\textbackepsilon`` (defined by hyperref for PU).
+% 2.2.1 2023-03-08 Documentation update.
+% ====== =========== ========================================================
+%
+%
% .. References
+% ----------
%
% .. _LaTeX Project Public License: http://www.latex-project.org/lppl.txt
% .. _babel-greek: https://ctan.org/pkg/babel-greek