summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/greek-fontenc/lgrenc.def
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/greek-fontenc/lgrenc.def')
-rw-r--r--Master/texmf-dist/tex/latex/greek-fontenc/lgrenc.def21
1 files changed, 16 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/greek-fontenc/lgrenc.def b/Master/texmf-dist/tex/latex/greek-fontenc/lgrenc.def
index 0d7ae1c7058..8ff80d1d1bd 100644
--- a/Master/texmf-dist/tex/latex/greek-fontenc/lgrenc.def
+++ b/Master/texmf-dist/tex/latex/greek-fontenc/lgrenc.def
@@ -60,7 +60,9 @@
% 2.1 2022-06-14 Support the correct spelling ``\guillemet…`` for « ».
% 2.2 2023-02-28 Fix character used for ano ``\textanoteleia`` and
% ``\textperiodcentered``.
-% 2.2.1 2023-06-01 Fix Unicode errors with "new" ``\MakeUppercase``.
+% 2.3 2023-06-01 Fix Unicode errors with "new" ``\MakeUppercase``.
+% 2.4 2023-08-15 Add LGR-specific definitions for "capital" accent
+% for the ``\MakeUppercase`` fix in babel-greek_.
% ====== ============ ========================================================
%
% Usage
@@ -100,7 +102,7 @@
% ::
\ProvidesFile{lgrenc.def}
-[2023/02/28 2.2 LGR Greek font encoding definitions]
+[2023-08-15 2.4 LGR Greek font encoding definitions]
% Copyright © 2010 -- 2023 Günter Milde
% This file is part of the "greek-fontenc" package.
% It may be distributed and/or modified under the
@@ -472,8 +474,8 @@
\DeclareTextAccent{\u}{LGR}{30} % BREVE (Greek vrachy)
\DeclareTextAccent{\=}{LGR}{31} % MACRON
-% Aliases
-% """""""
+% Symbol Macros
+% """""""""""""
%
% The standard _`symbol macros` are exclusively used for Greek diacritics
% in LGR::
@@ -483,6 +485,15 @@
\DeclareTextCommand{\`}{LGR}{\accvaria}
\DeclareTextCommand{\~}{LGR}{\accperispomeni}
+% The ``\uclclist`` extension in `babel-greek`_ converts standard symbol
+% macros to "capital accents". In Greek typographic tradition they are
+% dropped::
+
+\ProvideTextCommand{\accACUTE}{LGR}{\LGR@hiatus}
+\ProvideTextCommand{\accGRAVE}{LGR}{\@firstofone}
+\ProvideTextCommand{\accTILDE}{LGR}{\@firstofone}
+
+
% Common Greek font encoding definitions
% ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
%
@@ -857,7 +868,7 @@
%
% The default \MakeUppercase (2022-version) emits "composing" Unicode in
% characters for letters with diacriticals but no matching pre-composed
-% capital equivalent. The fix requires a LaTeX version >= 37 (2023)::
+% capital equivalent. The fix requires a LaTeX version 2023 or later::
\ifdefined\DeclareUppercaseMapping
\DeclareUppercaseMapping{"0390}{\accdialytikatonos{\textiota}} % ΐ