texlive[66612] Master/texmf-dist: greek-fontenc (18mar23)

commits+karl at tug.org commits+karl at tug.org
Tue Mar 21 17:42:20 CET 2023


Revision: 66612
          http://tug.org/svn/texlive?view=revision&revision=66612
Author:   karl
Date:     2023-03-21 17:42:19 +0100 (Tue, 21 Mar 2023)
Log Message:
-----------
greek-fontenc (18mar23)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/greek-fontenc/README.md
    trunk/Master/texmf-dist/doc/latex/greek-fontenc/alphabeta-doc-tu.pdf
    trunk/Master/texmf-dist/doc/latex/greek-fontenc/alphabeta-doc.pdf
    trunk/Master/texmf-dist/doc/latex/greek-fontenc/greek-fontenc-doc.html
    trunk/Master/texmf-dist/doc/latex/greek-fontenc/greek-fontenc-doc.rst
    trunk/Master/texmf-dist/doc/latex/greek-fontenc/greek-fontenc.def.html
    trunk/Master/texmf-dist/doc/latex/greek-fontenc/hyperref-with-greek.pdf
    trunk/Master/texmf-dist/doc/latex/greek-fontenc/test-diacritics.tex
    trunk/Master/texmf-dist/doc/latex/greek-fontenc/test-lgrenc.pdf
    trunk/Master/texmf-dist/doc/latex/greek-fontenc/test-lgrenc.tex
    trunk/Master/texmf-dist/doc/latex/greek-fontenc/test-licr-input.pdf
    trunk/Master/texmf-dist/doc/latex/greek-fontenc/test-tuenc-greek.pdf
    trunk/Master/texmf-dist/doc/latex/greek-fontenc/textalpha-doc-tu.pdf
    trunk/Master/texmf-dist/doc/latex/greek-fontenc/textalpha-doc.pdf
    trunk/Master/texmf-dist/doc/latex/greek-fontenc/textalpha-doc.tex
    trunk/Master/texmf-dist/doc/latex/greek-fontenc/textalpha.sty.html
    trunk/Master/texmf-dist/tex/latex/greek-fontenc/greek-fontenc.def
    trunk/Master/texmf-dist/tex/latex/greek-fontenc/textalpha.sty

Modified: trunk/Master/texmf-dist/doc/latex/greek-fontenc/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/greek-fontenc/README.md	2023-03-21 16:41:53 UTC (rev 66611)
+++ trunk/Master/texmf-dist/doc/latex/greek-fontenc/README.md	2023-03-21 16:42:19 UTC (rev 66612)
@@ -5,10 +5,10 @@
 representation* (LICR) macros for letters and symbols from the Greek
 script.
 
-The included LaTeX packages [textalpha][1] and [alphabeta][2]
-facilitate the use of Greek symbols in text.
+The included LaTeX packages [textalpha][textalpha.sty] and
+[alphabeta][alphabeta.sty] facilitate the use of Greek symbols in text.
 
-**Version**: 2.2.1
+**Version**: 2.2.2
 
 **Copyright**: © 2010 – 2023 Günter Milde
 
@@ -24,12 +24,12 @@
 Usage
 -----
 
-Usually, the font definition files are loaded via
+Usually, the font encoding definition files are loaded via
 [Babel's ``greek`` option](https://ctan.org/pkg/babel-greek),
-the [textalpha][1] or [textbeta][2] packages, or the
-[fontenc](https://ctan.org/pkg/fontenc) package.
+the [textalpha][textalpha.sty] or [textbeta][alphabeta.sty] packages,
+or the [fontenc](https://ctan.org/pkg/fontenc) package.
 
-Requires [text fonts supporting the Greek script][3].
+Requires [text fonts supporting the Greek script][greek fonts].
 With 8-bit TeX/pdfTeX, [greek-inputenc](https://ctan.org/pkg/greek-inputenc)
 is recommended.
 
@@ -36,15 +36,13 @@
 Documentation
 -------------
 
-* [greek-fontenc-doc.html][4] (CTAN)
+* [greek-fontenc-doc.html](https://mirrors.ctan.org/language/greek/greek-fontenc/greek-fontenc-doc.html)
+  (🡥CTAN)
+* [greek-fontenc-doc.rst](https://codeberg.org/milde/greek-tex/src/branch/master/greek-fontenc/greek-fontenc-doc.rst)
+  (🡥codeberg.org)
+* `texdoc greek-fontenc` (local TeXLive installation)
 
-* [greek-fontenc-doc.html](greek-fontenc-doc.html) (next to this file)
 
-* [greek-fontenc-doc.rst][5] (source repository)
-
-
-[1]: http://mirrors.ctan.org/language/greek/greek-fontenc/textalpha.sty.html
-[2]: http://mirrors.ctan.org/language/greek/greek-fontenc/alphabeta.sty.html
-[3]: https://ctan.org/tex-archive/macros/latex/contrib/babel-contrib/greek/babel-greek-doc.html#greek-text-fonts
-[4]: http://mirrors.ctan.org/language/greek/greek-fontenc/greek-fontenc-doc.html
-[5]: https://codeberg.org/milde/greek-tex/src/branch/master/greek-fontenc/greek-fontenc-doc.rst
+[textalpha.sty]: https://mirrors.ctan.org/language/greek/greek-fontenc/textalpha.sty.html
+[alphabeta.sty]: https://mirrors.ctan.org/language/greek/greek-fontenc/alphabeta.sty.html
+[greek fonts]: https://ctan.org/tex-archive/macros/latex/contrib/babel-contrib/greek/babel-greek-doc.html#greek-text-fonts

Modified: trunk/Master/texmf-dist/doc/latex/greek-fontenc/alphabeta-doc-tu.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/greek-fontenc/alphabeta-doc.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/greek-fontenc/greek-fontenc-doc.html
===================================================================
--- trunk/Master/texmf-dist/doc/latex/greek-fontenc/greek-fontenc-doc.html	2023-03-21 16:41:53 UTC (rev 66611)
+++ trunk/Master/texmf-dist/doc/latex/greek-fontenc/greek-fontenc-doc.html	2023-03-21 16:42:19 UTC (rev 66612)
@@ -793,7 +793,7 @@
 <p class="subtitle" id="greek-font-encoding-definition-files">Greek font encoding definition files</p>
 <dl class="docinfo">
 <dt class="version">Version<span class="colon">:</span></dt>
-<dd class="version">2.2.1 (<a class="reference internal" href="#changelog">changelog</a>)</dd>
+<dd class="version">2.2.2 (<a class="reference internal" href="#changelog">changelog</a>)</dd>
 <dt class="copyright">Copyright<span class="colon">:</span></dt>
 <dd class="copyright">© 2010 – 2023 Günter Milde <<a class="reference external" href="mailto:milde@users.sf.net">milde@users.sf.net</a>></dd>
 <dt class="licence">Licence<span class="colon">:</span></dt>
@@ -1393,6 +1393,11 @@
 downcasing <span class="docutils literal">\textStigma</span> to <span class="docutils literal">\textvarstigma</span>.</p></li>
 </ul>
 </dd>
+<dt>2.2.2 (2023-03-17)</dt>
+<dd><ul class="simple">
+<li><p>Don’t map active <span class="docutils literal">;</span> to <span class="docutils literal">\textsemicolon</span> in math mode.</p></li>
+</ul>
+</dd>
 </dl>
 </section>
 <section id="references">

Modified: trunk/Master/texmf-dist/doc/latex/greek-fontenc/greek-fontenc-doc.rst
===================================================================
--- trunk/Master/texmf-dist/doc/latex/greek-fontenc/greek-fontenc-doc.rst	2023-03-21 16:41:53 UTC (rev 66611)
+++ trunk/Master/texmf-dist/doc/latex/greek-fontenc/greek-fontenc-doc.rst	2023-03-21 16:42:19 UTC (rev 66612)
@@ -4,7 +4,7 @@
 Greek font encoding definition files
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
-:Version: 2.2.1 (changelog_)
+:Version: 2.2.2 (changelog_)
 
 :Copyright: © 2010 -- 2023 Günter Milde <milde at users.sf.net>
 :Licence:   This work may be distributed and/or modified under the
@@ -540,6 +540,8 @@
     - Fix broken links in README.md.
     - ``@uclclist`` entry for ``\accoxia``, prevent
       downcasing ``\textStigma`` to ``\textvarstigma``.
+2.2.2 (2023-03-17)
+    - Don't map active ``;`` to ``\textsemicolon`` in math mode.
 
 __ http://tex.stackexchange.com/questions/281631/greek-small-rho-with-dasia-and-also-psili-problem-with-accent-and-lgr-encodin
 .. _ltxbugs 4399:

Modified: trunk/Master/texmf-dist/doc/latex/greek-fontenc/greek-fontenc.def.html
===================================================================
--- trunk/Master/texmf-dist/doc/latex/greek-fontenc/greek-fontenc.def.html	2023-03-21 16:41:53 UTC (rev 66611)
+++ trunk/Master/texmf-dist/doc/latex/greek-fontenc/greek-fontenc.def.html	2023-03-21 16:42:19 UTC (rev 66612)
@@ -817,7 +817,7 @@
 <li><p><a class="reference internal" href="#ensuregreek-greekscript" id="toc-entry-4">ensuregreek, greekscript</a></p></li>
 <li><p><a class="reference internal" href="#aliases" id="toc-entry-5">Aliases</a></p></li>
 <li><p><a class="reference internal" href="#composite-diacritics" id="toc-entry-6">Composite diacritics</a></p></li>
-<li><p><a class="reference internal" href="#uppercase" id="toc-entry-7">UPPERCASE</a></p>
+<li><p><a class="reference internal" href="#case-changing" id="toc-entry-7">Case changing</a></p>
 <ul>
 <li><p><a class="reference internal" href="#uclclist-extension" id="toc-entry-8">@uclclist extension</a></p></li>
 <li><p><a class="reference internal" href="#substitution-macros" id="toc-entry-9">Substitution macros</a></p></li>
@@ -1019,13 +1019,12 @@
 \DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\accperispomeni}{\accdasiaperispomeni}
 \DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\~}{\accdasiaperispomeni}</pre>
 </section>
-<section id="uppercase">
-<span id="uclclist"></span><h3><a class="toc-backref" href="#toc-entry-7" role="doc-backlink">UPPERCASE</a></h3>
+<section id="case-changing">
+<span id="uclclist"></span><h3><a class="toc-backref" href="#toc-entry-7" role="doc-backlink">Case changing</a></h3>
 <p>UPPERCASE (all-caps) is generated with <span class="docutils literal">\MakeUppercase</span>. The
 implementation of this command changed in June 2022 <a class="citation-reference" href="#ltnews35" id="citation-reference-1" role="doc-biblioref">[ltnews35]</a>.</p>
-<p>According to Greek typographical tradition, diacritics (except dialytika,
-iota subscript, macron, and breve) are placed before capital letters in
-Titlecase and dropped in UPPERCASE.</p>
+<p>According to Greek typographical tradition, diacritics (except dialytika)
+are placed before capital letters in Titlecase and dropped in UPPERCASE.</p>
 <p>Different conventions exist for the treatment of the <a class="reference external" href="https://en.wikipedia.org/wiki/Iota_subscript">mute iota</a> with
 uppercase letters. The traditional typographic form and the most common
 used in Greece is a subscript, corresponding to the COMBINING GREEK
@@ -1034,6 +1033,11 @@
 PROSGEGRAMMENI (U+1FBE) <a class="citation-reference" href="#nicholas-03" id="citation-reference-2" role="doc-biblioref">[Nicholas-03]</a>, <a class="citation-reference" href="#haralambous-98" id="citation-reference-3" role="doc-biblioref">[Haralambous-98]</a>.  Upper case
 glyphs with adscript are a stylistic choice, provided by the font. In the
 CB Fonts, a small capital adscript iota is used.</p>
+<p>The “Latin” diacritics <em>macron</em> and <em>breve</em> are used to denote the
+length of vowels. They are sometimes used in dictionaries and textbooks
+but not part of the Greek orthography. There is no established rule
+regarding their handling in uppercase. LaTeX used to keep them but
+the <a class="reference external" href="https://icu.unicode.org/design/case/greek-upper">Unicode reference implementation</a> drops them.</p>
 <p>Up to 2022/06, macro substitutions in the <span class="docutils literal">\@uclclist</span> could be used to
 get the expected behaviour:</p>
 <section id="uclclist-extension">

Modified: trunk/Master/texmf-dist/doc/latex/greek-fontenc/hyperref-with-greek.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/greek-fontenc/test-diacritics.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/greek-fontenc/test-diacritics.tex	2023-03-21 16:41:53 UTC (rev 66611)
+++ trunk/Master/texmf-dist/doc/latex/greek-fontenc/test-diacritics.tex	2023-03-21 16:42:19 UTC (rev 66612)
@@ -43,7 +43,7 @@
 
 Apart from the diacritical marks native to Greek itself, linguists also
 regularly mark vowel length with macrons (¯) and breves (˘).
-Both keep the ``Latin'' behaviour also with capital Greek letters.
+There is no established praxis regarding their handling in uppercase.
 
 The \emph{textalpha} or \emph{alphabeta} packages define the symbol macros
 \verb|\<| and \verb|\>| as alias for the breathings (Dasia and Psili).

Modified: trunk/Master/texmf-dist/doc/latex/greek-fontenc/test-lgrenc.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/greek-fontenc/test-lgrenc.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/greek-fontenc/test-lgrenc.tex	2023-03-21 16:41:53 UTC (rev 66611)
+++ trunk/Master/texmf-dist/doc/latex/greek-fontenc/test-lgrenc.tex	2023-03-21 16:42:19 UTC (rev 66612)
@@ -57,7 +57,8 @@
 
 % font encoding switch declarations:
 \newcommand{\LGR}{\fontencoding{LGR}\selectfont}
-\newcommand{\Latin}{\fontencoding{\encodingdefault}\selectfont}
+\newcommand{\Latin}{\fontencoding{T1}\selectfont}
+\ProvideTextCommandDefault{\ensuregreek}[1]{\leavevmode{\LGR #1}}
 
 % Auxiliary macros:
 
@@ -381,16 +382,15 @@
 
 \section{Diacritics}
 
-Capital Greek letters have diacritics (except dialytika, breve, macron, and
-sub-iota) to the left (instead of above) and drop them if text is set in
-UPPERCASE. This is implemented for all combinations that are used in Greek
-texts (i.e. for which pre-composed Unicode character exist), but not for,
+Capital Greek letters have breathings and accents (except dialytika) to
+the left (instead of above) and drop them if text is set in UPPERCASE.%
+\footnote{The word \ensuregreek{Ἢ} (or), is an exception to this rule
+	  because of the need to distinguish it from the nominative
+	  feminine article \ensuregreek{Η}.}
+This is implemented for all combinations that are used in Greek texts 
+(i.e. for which pre-composed Unicode character exist), but not for, 
 e.g., \LGR\~W\Latin).
 
-% When a word is written entirely in capital letters, diacritics are
-% never used; the word Ἢ (or), is an exception to this rule because of
-% the need to distinguish it from the nominative feminine article Η.
-
 Different conventions exist for the treatment of the sub-iota with uppercase
 letters. The CB-Fonts use a capital Iota ``index'' (\LGR A|, H|, W|\Latin).
 

Modified: trunk/Master/texmf-dist/doc/latex/greek-fontenc/test-licr-input.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/greek-fontenc/test-tuenc-greek.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/greek-fontenc/textalpha-doc-tu.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/greek-fontenc/textalpha-doc.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/greek-fontenc/textalpha-doc.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/greek-fontenc/textalpha-doc.tex	2023-03-21 16:41:53 UTC (rev 66611)
+++ trunk/Master/texmf-dist/doc/latex/greek-fontenc/textalpha-doc.tex	2023-03-21 16:42:19 UTC (rev 66612)
@@ -1,4 +1,4 @@
-\documentclass{article}
+\documentclass[a4paper]{article}
 \usepackage{parskip}
 \usepackage{booktabs}
 \usepackage{cmap}
@@ -82,12 +82,6 @@
 \begin{verbatim}
   \usepackage[<options>]{textalpha}
 \end{verbatim}
-to get a unified interface for Greek letters and symbols that works in all
-text font encodings, with both, Unicode fonts and the
-\href{https://ctan.org/pkg/fontspec}{\emph{fontspec}} package or 8-bit
-fonts and the \href{https://ctan.org/pkg/fontenc}{\emph{fontenc}}
-package.
-
 See the source of this document \url{textalpha-doc.tex} for a setup and
 usage example, the literate source of the package
 \href{textalpha.sty.html}{textalpha.sty} for the implementation, and
@@ -110,7 +104,7 @@
 The \texttt{normalize-symbols} option merges letters and symbols to Greek
 letters.
 This way, text copied from external sources can be compiled without
-errors even if it contains a GREEK SYMBOL ... in place of a GREEK LETTER ...:
+errors even if it contains a GREEK SYMBOL … in place of a GREEK LETTER …
 \begin{quote}
   The source of this paragraph uses both variants for beta (β|ϐ),
   theta (θ|ϑ), phi (φ|ϕ), pi (π|ϖ), kappa (κ|ϰ), rho (ρ|ϱ), Theta (Θ|ϴ),
@@ -157,12 +151,12 @@
 for the \emph{erotimatiko} also with LGR encoded fonts:
 
 \begin{center}
-\begin{tabular}{lll}
+\begin{tabular}{ccl}
   Latin (\latinencoding) & Greek (\greekfontencoding) & question mark character \\
   \midrule
-  Τί φήις; & \ensuregreek{Τί φήις;} & 037E GREEK QUESTION MARK \\
-  Τί φήις; & \ensuregreek{Τί φήις;} & 003B SEMICOLON \\
-  Τί φήις? & \ensuregreek{Τί φήις?} & 003F QUESTION MARK \\
+  ; & \ensuregreek{;} & 037E GREEK QUESTION MARK \\
+  ; & \ensuregreek{;} & 003B SEMICOLON \\
+  ? & \ensuregreek{?} & 003F QUESTION MARK \\
 \end{tabular}
 \end{center}
 
@@ -169,7 +163,10 @@
 This option is ignored with Unicode fonts (where the SEMICOLON literal
 always prints a semicolon character).
 
+Test whether this works as expected in math mode:
+\ensuregreek{$a b; a\;b, (\mathrm{a;}\textrm{a;}2)$}.
 
+
 \section{Limitations \label{sec:limitations}}
 
 If compiling with 8-bit TeX, the internal font encoding switches interfere

Modified: trunk/Master/texmf-dist/doc/latex/greek-fontenc/textalpha.sty.html
===================================================================
--- trunk/Master/texmf-dist/doc/latex/greek-fontenc/textalpha.sty.html	2023-03-21 16:41:53 UTC (rev 66611)
+++ trunk/Master/texmf-dist/doc/latex/greek-fontenc/textalpha.sty.html	2023-03-21 16:42:19 UTC (rev 66612)
@@ -793,7 +793,7 @@
 <p class="subtitle" id="greek-symbols-in-text">Greek symbols in text</p>
 <dl class="docinfo">
 <dt class="version">Version<span class="colon">:</span></dt>
-<dd class="version">2.2.1 (<a class="reference internal" href="#changelog">changelog</a>)</dd>
+<dd class="version">2.2.2 (<a class="reference internal" href="#changelog">changelog</a>)</dd>
 <dt class="copyright">Copyright<span class="colon">:</span></dt>
 <dd class="copyright">© 2010, 2023 Günter Milde</dd>
 <dt class="licence">Licence<span class="colon">:</span></dt>
@@ -911,7 +911,7 @@
 <h3><a class="toc-backref" href="#toc-entry-4" role="doc-backlink">Identification</a></h3>
 <pre class="literal-block">\NeedsTeXFormat{LaTeX2e}
 \ProvidesPackage{textalpha}
-  [2023/03/08 2.2.1 macros for Greek letters in text]</pre>
+  [2023-03-17 2.2.2 macros for Greek letters in text]</pre>
 </section>
 <section id="options">
 <h3><a class="toc-backref" href="#toc-entry-5" role="doc-backlink">Options</a></h3>
@@ -1238,7 +1238,9 @@
 <section id="semicolon-as-erotimatiko">
 <h4><a class="toc-backref" href="#toc-entry-17" role="doc-backlink">semicolon as erotimatiko</a></h4>
 <p>The text command <span class="docutils literal">\textsemicolon</span> inserts <span class="docutils literal">\texterotimatiko</span>
-in LGR font encoding and a “normal” semicolon else:</p>
+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:</p>
 <pre class="literal-block">\ProvideTextCommandDefault{\textsemicolon}{;}
 \ProvideTextCommand{\textsemicolon}{LGR}{\texterotimatiko}</pre>
 <p>The LGR font encoding maps “;” to a middle dot (ano teleia). With the
@@ -1246,7 +1248,7 @@
 <span class="docutils literal">\textsemicolon</span>:</p>
 <pre class="literal-block">\iftextalpha@keepSemicolon
   \catcode`;=\active
-  \newcommand{;}{\textsemicolon}
+  \newcommand{;}{\TextOrMath{\textsemicolon}{\char59}}
 \fi</pre>
 </section>
 </section>
@@ -1356,6 +1358,10 @@
 <td><p>2023-03-08</p></td>
 <td><p>Documentation update.</p></td>
 </tr>
+<tr><td><p>2.2.2</p></td>
+<td><p>2023-03-17</p></td>
+<td><p>Don’t map active <cite>;</cite> to <span class="docutils literal">\textsemicolon</span> in math mode.</p></td>
+</tr>
 </tbody>
 </table>
 <!-- References

Modified: trunk/Master/texmf-dist/tex/latex/greek-fontenc/greek-fontenc.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/greek-fontenc/greek-fontenc.def	2023-03-21 16:41:53 UTC (rev 66611)
+++ trunk/Master/texmf-dist/tex/latex/greek-fontenc/greek-fontenc.def	2023-03-21 16:42:19 UTC (rev 66612)
@@ -248,15 +248,14 @@
 
 % .. _uclclist:
 %
-% UPPERCASE
-% ~~~~~~~~~
+% Case changing
+% ~~~~~~~~~~~~~
 %
 % UPPERCASE (all-caps) is generated with ``\MakeUppercase``. The
 % implementation of this command changed in June 2022 [ltnews35]_.
 %
-% According to Greek typographical tradition, diacritics (except dialytika,
-% iota subscript, macron, and breve) are placed before capital letters in
-% Titlecase and dropped in UPPERCASE.
+% According to Greek typographical tradition, diacritics (except dialytika)
+% are placed before capital letters in Titlecase and dropped in UPPERCASE.
 %
 % Different conventions exist for the treatment of the `mute iota`_ with
 % uppercase letters. The traditional typographic form and the most common
@@ -267,6 +266,14 @@
 % glyphs with adscript are a stylistic choice, provided by the font. In the
 % CB Fonts, a small capital adscript iota is used.
 %
+% The "Latin" diacritics *macron* and *breve* are used to denote the
+% length of vowels. They are sometimes used in dictionaries and textbooks
+% but not part of the Greek orthography. There is no established rule
+% regarding their handling in uppercase. LaTeX used to keep them but
+% the `Unicode reference implementation`__ drops them.
+%
+% __ https://icu.unicode.org/design/case/greek-upper
+%
 % Up to 2022/06, macro substitutions in the ``\@uclclist`` could be used to
 % get the expected behaviour:
 %

Modified: trunk/Master/texmf-dist/tex/latex/greek-fontenc/textalpha.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/greek-fontenc/textalpha.sty	2023-03-21 16:41:53 UTC (rev 66611)
+++ trunk/Master/texmf-dist/tex/latex/greek-fontenc/textalpha.sty	2023-03-21 16:42:19 UTC (rev 66612)
@@ -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 at 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.
 % ====== =========== ========================================================
 %
 %



More information about the tex-live-commits mailing list.