diff options
18 files changed, 82 insertions, 60 deletions
diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/README.md b/Master/texmf-dist/doc/latex/greek-fontenc/README.md index 0b61d52f491..ae5699585a3 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/README.md +++ b/Master/texmf-dist/doc/latex/greek-fontenc/README.md @@ -5,10 +5,10 @@ Font encoding definition files with *LaTeX internal character 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,27 +24,25 @@ either version 1.3 of this license or any later version. 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. 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 diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/alphabeta-doc-tu.pdf b/Master/texmf-dist/doc/latex/greek-fontenc/alphabeta-doc-tu.pdf Binary files differindex 02bd042e9e8..1377f45f362 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/alphabeta-doc-tu.pdf +++ b/Master/texmf-dist/doc/latex/greek-fontenc/alphabeta-doc-tu.pdf diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/alphabeta-doc.pdf b/Master/texmf-dist/doc/latex/greek-fontenc/alphabeta-doc.pdf Binary files differindex 85a69a21af9..6f8efd56d3b 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/alphabeta-doc.pdf +++ b/Master/texmf-dist/doc/latex/greek-fontenc/alphabeta-doc.pdf diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/greek-fontenc-doc.html b/Master/texmf-dist/doc/latex/greek-fontenc/greek-fontenc-doc.html index df2405c2dd9..bfdaf9b57ce 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/greek-fontenc-doc.html +++ b/Master/texmf-dist/doc/latex/greek-fontenc/greek-fontenc-doc.html @@ -793,7 +793,7 @@ mstyle.mathscr, mi.mathscr { <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 @@ converted to pre-composed characters.</p></li> 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"> diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/greek-fontenc-doc.rst b/Master/texmf-dist/doc/latex/greek-fontenc/greek-fontenc-doc.rst index 67a866da11a..a98f4b50a60 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/greek-fontenc-doc.rst +++ b/Master/texmf-dist/doc/latex/greek-fontenc/greek-fontenc-doc.rst @@ -4,7 +4,7 @@ greek-fontenc Greek font encoding definition files ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -:Version: 2.2.1 (changelog_) +:Version: 2.2.2 (changelog_) :Copyright: © 2010 -- 2023 Günter Milde <milde@users.sf.net> :Licence: This work may be distributed and/or modified under the @@ -540,6 +540,8 @@ Changelog - 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: diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/greek-fontenc.def.html b/Master/texmf-dist/doc/latex/greek-fontenc/greek-fontenc.def.html index 68d93d25d00..972de519d18 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/greek-fontenc.def.html +++ b/Master/texmf-dist/doc/latex/greek-fontenc/greek-fontenc.def.html @@ -817,7 +817,7 @@ font encodings providing Greek characters.</p> <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 @@ composite definitions starting with standard macros are requried:</p> \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 @@ WITH [… AND] PROSGEGRAMMENI, capitalization should not use the GREEK 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"> diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/hyperref-with-greek.pdf b/Master/texmf-dist/doc/latex/greek-fontenc/hyperref-with-greek.pdf Binary files differindex f59b95823b2..01f801cb887 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/hyperref-with-greek.pdf +++ b/Master/texmf-dist/doc/latex/greek-fontenc/hyperref-with-greek.pdf diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/test-diacritics.tex b/Master/texmf-dist/doc/latex/greek-fontenc/test-diacritics.tex index f1a6c36417e..c06a795dcaf 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/test-diacritics.tex +++ b/Master/texmf-dist/doc/latex/greek-fontenc/test-diacritics.tex @@ -43,7 +43,7 @@ Greek typography if used with Greek letters. 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). diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/test-lgrenc.pdf b/Master/texmf-dist/doc/latex/greek-fontenc/test-lgrenc.pdf Binary files differindex 2c4049d8be8..7106c1f30b6 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/test-lgrenc.pdf +++ b/Master/texmf-dist/doc/latex/greek-fontenc/test-lgrenc.pdf diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/test-lgrenc.tex b/Master/texmf-dist/doc/latex/greek-fontenc/test-lgrenc.tex index 4ba10eeb924..5db8e983968 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/test-lgrenc.tex +++ b/Master/texmf-dist/doc/latex/greek-fontenc/test-lgrenc.tex @@ -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 @@ interchangeably. \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). diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/test-licr-input.pdf b/Master/texmf-dist/doc/latex/greek-fontenc/test-licr-input.pdf Binary files differindex 5fdafab10a4..71a5417cda3 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/test-licr-input.pdf +++ b/Master/texmf-dist/doc/latex/greek-fontenc/test-licr-input.pdf diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/test-tuenc-greek.pdf b/Master/texmf-dist/doc/latex/greek-fontenc/test-tuenc-greek.pdf Binary files differindex 3a0837cdfca..d9f7002b131 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/test-tuenc-greek.pdf +++ b/Master/texmf-dist/doc/latex/greek-fontenc/test-tuenc-greek.pdf diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/textalpha-doc-tu.pdf b/Master/texmf-dist/doc/latex/greek-fontenc/textalpha-doc-tu.pdf Binary files differindex 5f2459b90c0..64976cb7979 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/textalpha-doc-tu.pdf +++ b/Master/texmf-dist/doc/latex/greek-fontenc/textalpha-doc-tu.pdf diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/textalpha-doc.pdf b/Master/texmf-dist/doc/latex/greek-fontenc/textalpha-doc.pdf Binary files differindex bbe6d827134..ef4e4c7b098 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/textalpha-doc.pdf +++ b/Master/texmf-dist/doc/latex/greek-fontenc/textalpha-doc.pdf diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/textalpha-doc.tex b/Master/texmf-dist/doc/latex/greek-fontenc/textalpha-doc.tex index 2f37d340a4c..7d1992c3469 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/textalpha-doc.tex +++ b/Master/texmf-dist/doc/latex/greek-fontenc/textalpha-doc.tex @@ -1,4 +1,4 @@ -\documentclass{article} +\documentclass[a4paper]{article} \usepackage{parskip} \usepackage{booktabs} \usepackage{cmap} @@ -82,12 +82,6 @@ Load this package in the preamble of your document with \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 @@ use the variant shapes in place of the “regular” ones as a stylistic choice. 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,18 +151,21 @@ With the \texttt{keep-semicolon} option, character 003B SEMICOLON can be used 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} 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}} diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/textalpha.sty.html b/Master/texmf-dist/doc/latex/greek-fontenc/textalpha.sty.html index dce522aadb7..e003701cb6c 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/textalpha.sty.html +++ b/Master/texmf-dist/doc/latex/greek-fontenc/textalpha.sty.html @@ -793,7 +793,7 @@ mstyle.mathscr, mi.mathscr { <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 @@ in the same document (see <a class="reference external" href="test-tuenc-greek.t <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 @@ The variations have no syntactic meaning in Greek text.</p> <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 @@ in LGR font encoding and a “normal” semicolon else:</p> <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 @@ Don’t use <span class="docutils literal">\LastDeclaredEncoding</span>.</p></td <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 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 1e5d781b492..0ebda570156 100644 --- a/Master/texmf-dist/tex/latex/greek-fontenc/greek-fontenc.def +++ b/Master/texmf-dist/tex/latex/greek-fontenc/greek-fontenc.def @@ -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: % diff --git a/Master/texmf-dist/tex/latex/greek-fontenc/textalpha.sty b/Master/texmf-dist/tex/latex/greek-fontenc/textalpha.sty index 97b7423fc77..20e40bec2b5 100644 --- a/Master/texmf-dist/tex/latex/greek-fontenc/textalpha.sty +++ b/Master/texmf-dist/tex/latex/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. % ====== =========== ======================================================== % % |