summaryrefslogtreecommitdiff
path: root/language/greek/greek-fontenc/lgrenc.def
diff options
context:
space:
mode:
Diffstat (limited to 'language/greek/greek-fontenc/lgrenc.def')
-rw-r--r--language/greek/greek-fontenc/lgrenc.def51
1 files changed, 30 insertions, 21 deletions
diff --git a/language/greek/greek-fontenc/lgrenc.def b/language/greek/greek-fontenc/lgrenc.def
index 3834be2e55..a5a9e9d315 100644
--- a/language/greek/greek-fontenc/lgrenc.def
+++ b/language/greek/greek-fontenc/lgrenc.def
@@ -17,7 +17,6 @@
%
% .. contents::
%
-%
% Changelog
% ---------
%
@@ -55,8 +54,9 @@
% 0.13 2015-08-04 Support for symbol variants.
% 0.13.1 2015-12-07 Fix `rho with dasia bug` (Linus Romer).
% 0.13.3 2019-07-09 Drop error font declaration (cf. `ltxbugs 4399`_).
-% 1.0 2020/09/25 ``\textKoppa`` as alias for ``\textkoppa``
+% 1.0 2020-09-25 ``\textKoppa`` as alias for ``\textkoppa``
% (there is no capital Koppa in LGR).
+% 2.0 2020-10-13 Move common alias definitions to ``greek-fontenc.def``.
% ====== ============ ========================================================
%
% Usage
@@ -91,13 +91,12 @@
\expandafter\endinput % "return"
}
-
% Identification
% ~~~~~~~~~~~~~~
% ::
\ProvidesFile{lgrenc.def}
-[2020/09/25 1.0 LGR Greek font encoding definitions]
+[2020/10/13 2.0 LGR Greek font encoding definitions]
% Copyright © 2010 Günter Milde
% This file is part of the "greek-fontenc" package.
% It may be distributed and/or modified under the
@@ -182,8 +181,7 @@
\DeclareTextSymbol{\textpi}{LGR}{112}
\DeclareTextSymbol{\textrho}{LGR}{114}
\DeclareTextCommand{\textsigma}{LGR}{s\noboundary} % σ
-\DeclareTextSymbol{\textvarsigma}{LGR}{99} % ς final sigma
-\DeclareTextCommand{\textfinalsigma}{LGR}{\textvarsigma} % ς final sigma
+\DeclareTextSymbol{\textfinalsigma}{LGR}{99} % ς final sigma
\DeclareTextSymbol{\textautosigma}{LGR}{115} % σ (ς at end of word)
\DeclareTextSymbol{\texttau}{LGR}{116}
\DeclareTextSymbol{\textupsilon}{LGR}{117}
@@ -210,14 +208,19 @@
% Archaic letters
% '''''''''''''''
-% Names after teubner_ and ucs_::
+% Names after teubner_ and ucs_.
+%
+% ϟ (capital numeral koppa) not distinct in LGR but required for
+% ``\Greeknumeral`` in babel-greek_
+% (defining as alias command calling ``\textkoppa`` leads to an infinte loop
+% with ``\MakeUppercase``)::
\DeclareTextSymbol{\textstigma}{LGR}{6} % ϛ
\DeclareTextSymbol{\textvarstigma}{LGR}{7} % stigma variant (CB.enc, teubner)
-\DeclareTextSymbol{\textkoppa}{LGR}{18} % ϟ (greek small letter koppa)
-\DeclareTextSymbol{\textKoppa}{LGR}{18} % ϟ (capital numerical koppa) not distinct in LGR
-\DeclareTextSymbol{\textqoppa}{LGR}{19} % ϙ (archaic koppa)
-\DeclareTextSymbol{\textQoppa}{LGR}{21} % Ϙ (archaic Koppa)
+\DeclareTextSymbol{\textKoppa}{LGR}{18} % Ϟ Greek letter Koppa
+\DeclareTextSymbol{\textkoppa}{LGR}{18} % ϟ Greek small letter koppa
+\DeclareTextSymbol{\textqoppa}{LGR}{19} % ϙ archaic koppa
+\DeclareTextSymbol{\textQoppa}{LGR}{21} % Ϙ archaic Koppa
\DeclareTextSymbol{\textStigma}{LGR}{22} % Ϛ in some fonts ϹΤ ligature
\DeclareTextSymbol{\textSampi}{LGR}{23} % Ϡ
\DeclareTextSymbol{\textsampi}{LGR}{27} % ϡ
@@ -226,7 +229,6 @@
\DeclareTextSymbol{\textdigamma}{LGR}{147} % ϝ (ucs) \digamma used by amsmath for math-macro
\DeclareTextSymbol{\textDigamma}{LGR}{195} % Ϝ (ucs)
-
% Numeral signs
% '''''''''''''
% See also http://en.wikipedia.org/wiki/Greek_numerals
@@ -266,15 +268,15 @@
Press <return> to proceed (dropping the symbol from the document).}
}
-\ProvideTextCommand{\textbetasymbol} {LGR}{\LGR@TextSymbolUnavailable{ϐ beta symbol}}
-\ProvideTextCommand{\textkappasymbol}{LGR}{\LGR@TextSymbolUnavailable{ϰ kappa symbol}}
-\ProvideTextCommand{\textThetasymbol}{LGR}{\LGR@TextSymbolUnavailable{ϴ Theta symbol}}
+\ProvideTextCommand{\textbetasymbol} {LGR}{\LGR@TextSymbolUnavailable{beta symbol}} % ϐ
+\ProvideTextCommand{\textkappasymbol}{LGR}{\LGR@TextSymbolUnavailable{kappa symbol}} % ϰ
+\ProvideTextCommand{\textThetasymbol}{LGR}{\LGR@TextSymbolUnavailable{Theta symbol}} % ϴ
-\ProvideTextCommand{\textthetasymbol} {LGR}{\LGR@TextSymbolOnlyMath{ϑ theta symbol}{$\vartheta$}}
-\ProvideTextCommand{\textphisymbol} {LGR}{\LGR@TextSymbolOnlyMath{ϕ phi symbol}{$\phi$}}
-\ProvideTextCommand{\textpisymbol} {LGR}{\LGR@TextSymbolOnlyMath{ϖ pi symbol}{$\varpi$}}
-\ProvideTextCommand{\textrhosymbol} {LGR}{\LGR@TextSymbolOnlyMath{ϱ rho symbol}{$\varrho$}}
-\ProvideTextCommand{\textepsilonsymbol}{LGR}{\LGR@TextSymbolOnlyMath{ϵ lunate epsilon symbol}{$\epsilon$}}
+\ProvideTextCommand{\textthetasymbol} {LGR}{\LGR@TextSymbolOnlyMath{theta symbol}{$\vartheta$}} % ϑ
+\ProvideTextCommand{\textphisymbol} {LGR}{\LGR@TextSymbolOnlyMath{phi symbol}{$\phi$}} % ϕ
+\ProvideTextCommand{\textpisymbol} {LGR}{\LGR@TextSymbolOnlyMath{pi symbol}{$\varpi$}} % ϖ
+\ProvideTextCommand{\textrhosymbol} {LGR}{\LGR@TextSymbolOnlyMath{rho symbol}{$\varrho$}} % ϱ
+\ProvideTextCommand{\textepsilonsymbol}{LGR}{\LGR@TextSymbolOnlyMath{lunate epsilon symbol}{$\epsilon$}} % ϵ
% Other
% """""
@@ -312,6 +314,13 @@
\DeclareTextSymbol{\textpercent}{LGR}{37} % %
\DeclareTextSymbol{\textperthousand}{LGR}{25} % ‰ \permill in greek.ldf
+% The micro sign 00B5 is defined in TS1 (textcomp) and PU (hyperref)
+% as ``\textmu``. LGR uses ``\textmu`` for the similar looking
+% small Greek letter mu.
+% The alias ``\textmicro`` prints in a micro sign and does not upcase::
+
+\DeclareTextSymbol{\textmicro}{LGR}{109} % µ
+
% T3 (tipa)::
\DeclareTextSymbol{\textschwa}{LGR}{26} % ə
@@ -909,6 +918,7 @@
% .. _alphabeta: alphabeta.sty.html
% .. _athnum: http://ctan.org/pkg/athnum
% .. _Babel: http://ctan.org/pkg/babel
+% .. _babel-greek: http://ctan.org/pkg/babel-greek
% .. _babel patch: http://www.eutypon.gr/eutypon/pdf/e2008-20/e20-a03.pdf
% .. _fntguide: http://mirror.ctan.org/macros/latex/base/fntguide.pdf
% .. _fontenc: http://ctan.org/pkg/fontenc
@@ -925,4 +935,3 @@
% .. _xunicode: http://ctan.org/pkg/xunicode
% .. _ltxbugs 4399:
% https://www.latex-project.org/cgi-bin/ltxbugs2html?pr=latex%2F4399&search=
-%