summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/greek-fontenc
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2023-06-01 19:59:38 +0000
committerKarl Berry <karl@freefriends.org>2023-06-01 19:59:38 +0000
commit0e3f97d48eba25ceb7cd0c51257d3a8db95f6e08 (patch)
tree1f9f825fe37dd9bca0fac6fef20c39012b3b3c84 /Master/texmf-dist/tex/latex/greek-fontenc
parenta3eedeef32bfd502e6c889296ceabbe7e9cc4d31 (diff)
greek-fontenc (1jun23)
git-svn-id: svn://tug.org/texlive/trunk@67261 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/greek-fontenc')
-rw-r--r--Master/texmf-dist/tex/latex/greek-fontenc/greek-fontenc.def21
-rw-r--r--Master/texmf-dist/tex/latex/greek-fontenc/lgrenc.def36
2 files changed, 55 insertions, 2 deletions
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 0ebda570156..23f21a93724 100644
--- a/Master/texmf-dist/tex/latex/greek-fontenc/greek-fontenc.def
+++ b/Master/texmf-dist/tex/latex/greek-fontenc/greek-fontenc.def
@@ -4,7 +4,7 @@
% Common Greek font encoding definitions
% ======================================
%
-% :Version: 2.2.1 (changelog_)
+% :Version: 2.3 (changelog_)
%
% :Copyright: © 2013 -- 2023 Günter Milde
%
@@ -31,7 +31,7 @@
% ::
\ProvidesFile{greek-fontenc.def}
- [2023/03/08 2.2.1 Common Greek font encoding definitions]
+ [2023-06-01 2.3 Common Greek font encoding definitions]
% ensuregreek, greekscript
% ~~~~~~~~~~~~~~~~~~~~~~~~
@@ -311,27 +311,43 @@
\LGR@ypogegrammeni\prosgegrammeni
\textalpha \textAlpha
\textbeta \textBeta
+ \textbetasymbol \textBeta
+ \textvarbeta \textBeta
\textgamma \textGamma
\textdelta \textDelta
\textepsilon \textEpsilon
+ \textepsilonsymbol \textEpsilon
+ \textvarepsilon \textEpsilon
\textzeta \textZeta
\texteta \textEta
\texttheta \textTheta
+ \texttheta \textThetasymbol
+ \texttheta \textvarTheta
+ \textthetasymbol \textTheta
+ \textvartheta \textTheta
\textiota \textIota
\textkappa \textKappa
+ \textkappasymbol \textKappa
+ \textvarkappa \textKappa
\textlambda \textLambda
\textmu \textMu
\textnu \textNu
\textxi \textXi
\textomicron \textOmicron
\textpi \textPi
+ \textpisymbol \textPi
+ \textvarpi \textPi
\textrho \textRho
+ \textvarrho \textRho
+ \textrhosymbol \textRho
\textfinalsigma \textSigma
\textsigma \textSigma
\textautosigma \textSigma
\texttau \textTau
\textupsilon \textUpsilon
\textphi \textPhi
+ \textphisymbol \textPhi
+ \textvarphi \textPhi
\textchi \textChi
\textpsi \textPsi
\textomega \textOmega
@@ -429,6 +445,7 @@
% 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``.
+% 2.3 2023-06-01 ``@uclclist`` entries for symbol variants.
% ====== ============ ========================================================
%
%
diff --git a/Master/texmf-dist/tex/latex/greek-fontenc/lgrenc.def b/Master/texmf-dist/tex/latex/greek-fontenc/lgrenc.def
index 7d60da1fd57..0d7ae1c7058 100644
--- a/Master/texmf-dist/tex/latex/greek-fontenc/lgrenc.def
+++ b/Master/texmf-dist/tex/latex/greek-fontenc/lgrenc.def
@@ -60,6 +60,7 @@
% 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``.
% ====== ============ ========================================================
%
% Usage
@@ -851,6 +852,41 @@
% UPPERCASE
% ~~~~~~~~~
%
+% letters without pre-composed uppercase version
+% """"""""""""""""""""""""""""""""""""""""""""""
+%
+% 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)::
+
+\ifdefined\DeclareUppercaseMapping
+ \DeclareUppercaseMapping{"0390}{\accdialytikatonos{\textiota}} % ΐ
+ \DeclareUppercaseMapping{"03B0}{\accdialytikatonos{\textupsilon}} % ΰ
+ \DeclareUppercaseMapping{"1F50}{\accpsili{\textupsilon}} % ὐ
+ \DeclareUppercaseMapping{"1F52}{\accpsilivaria{\textupsilon}} % ὒ
+ \DeclareUppercaseMapping{"1F54}{\accpsilioxia{\textupsilon}} % ὔ
+ \DeclareUppercaseMapping{"1F56}{\accpsiliperispomeni{\textupsilon}} % ὖ
+ \DeclareUppercaseMapping{"1FB6}{\accperispomeni{\textalpha}} % ᾶ
+ \DeclareUppercaseMapping{"1FB7}{\accperispomeni{\textalpha}\ypogegrammeni} % ᾷ
+ \DeclareUppercaseMapping{"1FC6}{\accperispomeni{\texteta}} % ῆ
+ \DeclareUppercaseMapping{"1FC7}{\accperispomeni{\texteta}\ypogegrammeni} % ῇ
+ \DeclareUppercaseMapping{"1FD2}{\accdialytikavaria{\textiota}} % ῒ
+ \DeclareUppercaseMapping{"1FD3}{\accdialytikatonos{\textiota}} % ΐ
+ \DeclareUppercaseMapping{"1FD6}{\accperispomeni{\textiota}} % ῖ
+ \DeclareUppercaseMapping{"1FD7}{\accdialytikaperispomeni{\textiota}} % ῗ
+ \DeclareUppercaseMapping{"1FE2}{\accdialytikavaria{\textupsilon}} % ῢ
+ \DeclareUppercaseMapping{"1FE3}{\accdialytikatonos{\textupsilon}} % ΰ
+ \DeclareUppercaseMapping{"1FE4}{\accpsili{\textrho}} % ῤ
+ \DeclareUppercaseMapping{"1FE6}{\accperispomeni{\textupsilon}} % ῦ
+ \DeclareUppercaseMapping{"1FE7}{\accdialytikaperispomeni{\textupsilon}} % ῧ
+ \DeclareUppercaseMapping{"1FF6}{\accperispomeni{\textomega}} % ῶ
+ \DeclareUppercaseMapping{"1FF7}{\accperispomeni{\textomega}\ypogegrammeni} % ῷ
+\fi
+
+
+% Hiatus
+% """"""
+%
% The `common Greek font encoding definitions`_ in ``greek-fontenc.def`` extend
% the `uclclist` with Greek LICR macros. Here, we add LGR specific "hiatus"
% handling.