summaryrefslogtreecommitdiff
path: root/language/greek/greek-fontenc/textalpha.sty
diff options
context:
space:
mode:
Diffstat (limited to 'language/greek/greek-fontenc/textalpha.sty')
-rw-r--r--language/greek/greek-fontenc/textalpha.sty11
1 files changed, 7 insertions, 4 deletions
diff --git a/language/greek/greek-fontenc/textalpha.sty b/language/greek/greek-fontenc/textalpha.sty
index 97b7423fc7..20e40bec2b 100644
--- a/language/greek/greek-fontenc/textalpha.sty
+++ b/language/greek/greek-fontenc/textalpha.sty
@@ -3,7 +3,7 @@
% Greek symbols in text
% *********************
%
-% :Version: 2.2.1 (changelog_)
+% :Version: 2.2.2 (changelog_)
%
% :Copyright: © 2010, 2023 Günter Milde
%
@@ -111,7 +111,7 @@
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{textalpha}
- [2023/03/08 2.2.1 macros for Greek letters in text]
+ [2023-03-17 2.2.2 macros for Greek letters in text]
% Options
@@ -517,7 +517,9 @@
% """"""""""""""""""""""""
%
% The text command ``\textsemicolon`` inserts ``\texterotimatiko``
-% in LGR font encoding and a "normal" semicolon else::
+% in LGR font encoding and a "normal" semicolon else.
+% In math mode, it inserts the "normal" semicolon also if the text font
+% encoding is LGR::
\ProvideTextCommandDefault{\textsemicolon}{;}
\ProvideTextCommand{\textsemicolon}{LGR}{\texterotimatiko}
@@ -528,7 +530,7 @@
\iftextalpha@keepSemicolon
\catcode`;=\active
- \newcommand{;}{\textsemicolon}
+ \newcommand{;}{\TextOrMath{\textsemicolon}{\char59}}
\fi
@@ -583,6 +585,7 @@
% .. 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.
+% 2.2.2 2023-03-17 Don't map active `;` to ``\textsemicolon`` in math mode.
% ====== =========== ========================================================
%
%