summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/babel-contrib
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2023-03-19 03:01:21 +0000
committerNorbert Preining <norbert@preining.info>2023-03-19 03:01:21 +0000
commit41b65de3ca404c665b94ea7716f036ce4f024619 (patch)
tree79b818f56264510a85b019c02e6d7b26238d9cfb /macros/latex/contrib/babel-contrib
parentb0cfbb3bcaeafdcb4da817c21937f10ce07f5dca (diff)
CTAN sync 202303190301
Diffstat (limited to 'macros/latex/contrib/babel-contrib')
-rw-r--r--macros/latex/contrib/babel-contrib/greek/Makefile145
-rw-r--r--macros/latex/contrib/babel-contrib/greek/README.md5
-rw-r--r--macros/latex/contrib/babel-contrib/greek/athnum.dtx68
-rw-r--r--macros/latex/contrib/babel-contrib/greek/athnum.pdfbin176139 -> 181371 bytes
-rw-r--r--macros/latex/contrib/babel-contrib/greek/babel-greek-doc.html8
-rw-r--r--macros/latex/contrib/babel-contrib/greek/babel-greek-doc.rst5
-rw-r--r--macros/latex/contrib/babel-contrib/greek/babel-greek.dtx8
-rw-r--r--macros/latex/contrib/babel-contrib/greek/babel-greek.pdfbin549394 -> 549488 bytes
-rw-r--r--macros/latex/contrib/babel-contrib/greek/test-athnum.pdfbin174634 -> 178616 bytes
-rw-r--r--macros/latex/contrib/babel-contrib/greek/test-athnum.tex2
-rw-r--r--macros/latex/contrib/babel-contrib/greek/test-case-changing-minimal.tex75
-rw-r--r--macros/latex/contrib/babel-contrib/greek/test-case-changing-varia-tu.tex41
-rw-r--r--macros/latex/contrib/babel-contrib/greek/test-case-changing.tex7
-rw-r--r--macros/latex/contrib/babel-contrib/greek/test-greek-8bitcompat.tex2
-rw-r--r--macros/latex/contrib/babel-contrib/greek/test-greek.pdfbin463797 -> 463920 bytes
-rw-r--r--macros/latex/contrib/babel-contrib/greek/test-tildeshorthand.tex106
-rw-r--r--macros/latex/contrib/babel-contrib/greek/unicode-examples.pdfbin15549 -> 0 bytes
-rw-r--r--macros/latex/contrib/babel-contrib/greek/unicode-examples.tex57
-rw-r--r--macros/latex/contrib/babel-contrib/greek/usage.pdfbin184955 -> 184955 bytes
19 files changed, 69 insertions, 460 deletions
diff --git a/macros/latex/contrib/babel-contrib/greek/Makefile b/macros/latex/contrib/babel-contrib/greek/Makefile
deleted file mode 100644
index c88acae1ef..0000000000
--- a/macros/latex/contrib/babel-contrib/greek/Makefile
+++ /dev/null
@@ -1,145 +0,0 @@
-# This Makefile updates the source and documentation for the
-# babel-greek LateX package
-#
-# © 2019 Günter Milde
-#
-# SRCDIR (and the other variables) can be easily modified as parameters
-# while calling `make', e.g.
-#
-# make install SRCDIR=~/texmf/tex/latex/
-
-# Global variables
-# =================
-
-# for installation into a users local texmf tree
-DESTDIR = ~/texmf/tex/latex/greek/babel-greek
-DOCDIR = ~/texmf/doc/latex/greek/babel-greek
-
-CHDIR = cd
-COPY = cp --update
-SH = sh
-
-# programs
-PYLIT = pylit # text <-> source converter for literal programming
-RST2HTML = rst2html5 # text -> HTML converter, see docutils.sf.net
-RUBBER = rubber --force --pdf # latex-wrapper running until refs are resolved
-LATEX = pdflatex -interaction batchmode # suppress logging to terminal
-
-
-.PHONY: all
-
-all: packages doc test
-
-# LaTeX source files
-# ==================
-
-.PHONY: packages
-
-packages: greek.ldf athnum.sty grmath.sty
-
-greek.ldf: babel-greek.dtx
- tex babel-greek.ins
-
-athnum.sty: athnum.dtx
- tex babel-greek.ins
-
-grmath.sty: athnum.dtx
- tex babel-greek.ins
-
-# Documentation
-# =============
-
-.PHONY: doc html pdf test
-
-doc: html pdf
-
-html: babel-greek-doc.html
-
-babel-greek-doc.html: babel-greek-doc.rst
- $(RST2HTML) babel-greek-doc.rst babel-greek-doc.html
-
-
-pdf: babel-greek.pdf athnum.pdf grmath.pdf usage.pdf
-
-test: test-greek.pdf test-greek-tu.pdf test-greek-8bitcompat.pdf \
- test-greek-ini.pdf \
- test-lgr-fixes.pdf test-case-changing.pdf\
- test-greeknum.pdf test-greeknum-tu.pdf \
- test-athnum.pdf test-athnum-tu.pdf
-
-babel-greek.pdf: babel-greek.dtx
- $(RUBBER) -m hyperref babel-greek.dtx
- makeindex -s gglo.ist -o babel-greek.gls babel-greek.glo
- $(RUBBER) -m hyperref babel-greek.dtx
-
-athnum.pdf: athnum.dtx
- $(RUBBER) athnum.dtx
-
-grmath.pdf: grmath.dtx
- $(RUBBER) grmath.dtx
-
-usage.pdf: usage.tex greek.ldf
- $(RUBBER) usage.tex
-
-test-greek.pdf: test-greek.tex greek.ldf
- $(RUBBER) -m hyperref test-greek.tex
-
-test-greek-tu.pdf: test-greek.tex greek.ldf
- $(RUBBER) -m xelatex --jobname=test-greek-tu test-greek.tex
-
-# requires rubber >= 1.6, otherwise `-m lualatex` is ignored.
-test-greek-8bitcompat.pdf: test-greek-8bitcompat.tex test-greek.tex greek.ldf
- $(RUBBER) -m hyperref -m lualatex test-greek-8bitcompat.tex
-
-test-greek-ini.pdf: test-greek-ini.tex test-greek.tex greek.ldf
- $(RUBBER) -m hyperref -m xelatex test-greek-ini.tex
-
-test-case-changing.pdf: test-case-changing.tex greek.ldf
- $(RUBBER) -m hyperref test-case-changing.tex
-
-test-athnum.pdf: test-athnum.tex greek.ldf athnum.sty
- $(RUBBER) test-athnum.tex
-
-test-athnum-tu.pdf: test-athnum.tex greek.ldf athnum.sty
- $(RUBBER) -m xelatex --jobname=test-athnum-tu test-athnum.tex
-
-test-greeknum.pdf: test-greeknum.tex greek.ldf
- $(RUBBER) test-greeknum.tex
-
-test-greeknum-tu.pdf: test-greeknum.tex greek.ldf
- $(RUBBER) -m xelatex --jobname=test-greeknum-tu test-greeknum.tex
-
-test-lgr-fixes.pdf: test-lgr-fixes.tex greek.ldf
- $(RUBBER) -m hyperref -m index test-lgr-fixes.tex
-
-
-# Installation/Update
-# ===================
-
-update: packages test
- $(COPY) *.ldf $(DESTDIR)
- $(COPY) *.sty $(DESTDIR)
-
-update-package: packages doc test
- $(COPY) README.md $(DOCDIR)
- $(COPY) babel-greek-doc.rst $(DOCDIR)
- $(COPY) babel-greek-doc.html $(DOCDIR)
- # selected PDFs
- $(COPY) [!t]*.pdf $(DOCDIR)
- $(COPY) test-greek.pdf $(DOCDIR)
- $(COPY) test-athnum.pdf $(DOCDIR)
- # also copy all sources
- $(COPY) *.dtx $(DOCDIR)
- $(COPY) *.ins $(DOCDIR)
- $(COPY) *.tex $(DOCDIR)
- $(COPY) Makefile $(DOCDIR)
-
-
-# Cleanup
-# =======
-
-.PHONY: clean
-
-clean:
- rm -f *~ *.aux *.bbl *.bcf *.blg *.run.xml *.glo *.gls \
- *.idx *.ilg *.ind *.log *.out *.rubbercache *.toc
diff --git a/macros/latex/contrib/babel-contrib/greek/README.md b/macros/latex/contrib/babel-contrib/greek/README.md
index c6a10c1292..ce85bc77bd 100644
--- a/macros/latex/contrib/babel-contrib/greek/README.md
+++ b/macros/latex/contrib/babel-contrib/greek/README.md
@@ -4,7 +4,7 @@ babel-greek
Comprehensive support for the Greek language and script with
[Babel](https://ctan.org/pkg/babel).
-**Version**: 1.13
+**Version**: 1.13.1
**Copyright**: © 1997 Apostolos Syropoulos, Claudio Beccari, Johannes Brahms,
© 2013 - 2023 Günter Milde.
@@ -32,4 +32,5 @@ See the **documentation** for options, peculiarities, and other details:
* [babel-greek-doc.rst](https://codeberg.org/milde/greek-tex/src/branch/master/babel-greek/babel-greek-doc.rst)
(🡥codeberg.org)
-or the shell command `texdoc babel-greek` to view local documentation.
+The shell command `texdoc babel-greek` displays documentation from a local
+TeXLive installation.
diff --git a/macros/latex/contrib/babel-contrib/greek/athnum.dtx b/macros/latex/contrib/babel-contrib/greek/athnum.dtx
index 3c1f3f4636..fc199a4896 100644
--- a/macros/latex/contrib/babel-contrib/greek/athnum.dtx
+++ b/macros/latex/contrib/babel-contrib/greek/athnum.dtx
@@ -16,12 +16,12 @@
% The Current Maintainer of this work is Günter Milde <milde@users.sf.net>.
%
% \fi
-%% \CheckSum{150}
+%% \CheckSum{146}
%\iffalse
%
%% This is file `athnum.dtx'
%% (c) 1997-2007 Apostolos Syropoulos.
-%% Changes in version 2.0 © 2022 Günter Milde
+%% Changes in version 2 © 2022, 2023 Günter Milde
%% All rights reserved.
%\fi
%
@@ -29,6 +29,9 @@
% \begin{macrocode}
%<*driver>
\documentclass{ltxdoc}
+\usepackage{hyperref}
+\hypersetup{colorlinks=true,linkcolor=blue,urlcolor=blue,citecolor=black}
+% auxiliary macro to keep the documentation independent of Greek text fonts
\def\PiIt#1{{%
\newdimen\boxW \newdimen\boxH
\settowidth{\boxW}{#1}%
@@ -45,9 +48,8 @@
%</driver>
% \end{macrocode}
% \fi
-%\title{Attic (or Athenian) Numerals}
-% \author{Apostolos Syropoulos\\366, 28th October Str.\\
-% GR-671 00 Xanthi, HELLAS\\ Email:\texttt{apostolo@platon.ee.duth.gr}}
+%%\title{Athenian (Attic) Numerals}
+% \author{Apostolos Syropoulos}
% \date{2003/08/24}
%\maketitle
%
@@ -57,10 +59,12 @@
%
% This \LaTeX\ package implements the macro
% \DescribeMacro{\athnum}
-% |\athnum|. The macro transforms an Arabic numeral, i.e., the kind
-% of numerals we all use (e.g., 1, 5, 789 etc), to the corresponding
-% {\itshape Athenian} (or \emph{Attic} numeral. Athenian numerals were in
-% use mainly in ancient Athens. The package requires a Greek text font and
+% |\athnum|.
+% The macro transforms an Arabic numeral, i.e., the kind of numerals
+% we all use (e.g., 1, 5, 789 etc), to the corresponding
+% \href{https://en.wikipedia.org/wiki/Attic_numerals}{\emph{Athenian} numeral}.
+% It can also be used to display counters.
+% The package requires a Greek text font and
% the |greek-fontenc| package.\footnote{%
% Up to version 1.1, `athnum' required that Babel was loaded with the
% |greek| option. Version 2.0 sets up Greek font support autonomously.}
@@ -93,23 +97,16 @@
%
% \section{The Code}
%
-% \changes{athnum-2.0}{2022/12/08}{%
-% Do not require Babel to be loaded with the |greek| option.\\
-% Use LICR macros instead of the Latin transliteration for Greek letters
-% to fix working with Unicode fonts.\\
-% Drop the backwards compatibility definitions for PiDelta, PiEta,
-% PiChi, and PiMu.}
-%
% Before we do anything further, we have to identify the package.
% \StopEventually
%
% \begin{macrocode}
%<*package>
\NeedsTeXFormat{LaTeX2e}[1996/01/01]
-\ProvidesPackage{athnum}[2022/12/08\space v2.0]
-\typeout{Package: `athnum' v2.0\space <2022/12/08> (A. Syropoulos)}
+\ProvidesPackage{athnum}[2023/03/17 v2.0.1 Athenian numerals]
% \end{macrocode}
-% \section{Font setup}
+%
+% \subsection{Font Setup}
%
% Typesetting Greek texts requires a font with Greek characters:
%
@@ -142,10 +139,9 @@
\InputIfFileExists{\athnum@greek@fontencdef .def}{}{% else
\PackageError{athnum}{Font support for the Greek script missing.\\
can't typeset Greek symbols.\\
- Install the "greek-fontenc" package\\
- or use XeTeX/LuaTeX.}
+ Install the "greek-fontenc" package.}
{I can't find the \athnum@greek@fontencdef .def file
- for the Greek fonts (encoding \greekfontencoding)}
+ for the Greek fonts (encoding \greekfontencoding).}
\@@end
}
}
@@ -160,6 +156,8 @@
% \end{macrocode}
% \end{macro}
%
+% \subsection{Transform Arabic Numeral to Athenian Numeral}
+%
%\begin{macro}{\@@athnum}
% Now, we turn our attention to the definition of the macro
% |\@@athnum|. This macro uses one integer variable (or counter in
@@ -272,20 +270,32 @@
% \end{macrocode}
%\end{macro}
%\begin{macro}{\athnum}
-% The command |\athnum| is a wrapper that declares
-% a new counter in a local scope, assigns to it the argument of the command
-% and calls the macro |\@athnum|. This way the command can process correctly
-% either a number or a counter.
+% The command |\athnum| is a wrapper that declares a new counter
+% in a local scope, assigns to it the argument of the command
+% and calls the macro |\@athnum|.
+% This way the command can process correctly either a number or a counter.
+% It also ensures that the argument is set with a Greek text font.
% \begin{macrocode}
\def\athnum#1{%
- \ensuregreek{%
+ \textrm{\ensuregreek{%
\@ath@num#1\relax
\@athnum{\@ath@num}}%
- }
+ }}
%</package>
% \end{macrocode}
%\end{macro}
%
+% \section{Changes}
+% \begin{description}
+% \item [athnum-2.0 2022/12/08]
+% Do not require Babel.
+% Support Unicode fonts.
+% Drop the backwards compatibility definitions
+% for |\PiDelta|, |\PiEta|, |\PiChi|, and |\PiMu|.
+% \item [athnum-2.0.1 2023/03/17]
+% Fix behaviour in math mode.
+% \end{description}
+%
% \section*{Acknowledgment}
% I would like to thank Claudio Beccari for reading the documentation
% and for his very helpful suggestions. In addition, Antonis Tsolomitis
@@ -294,6 +304,8 @@
% \section*{Dedication}
% I would like to dedicate this piece of work to my son
% \begin{center}Demetrios-Georgios.\end{center}
+%
+%
% \Finale
%
\endinput
diff --git a/macros/latex/contrib/babel-contrib/greek/athnum.pdf b/macros/latex/contrib/babel-contrib/greek/athnum.pdf
index 060d16210b..85ca90ad8b 100644
--- a/macros/latex/contrib/babel-contrib/greek/athnum.pdf
+++ b/macros/latex/contrib/babel-contrib/greek/athnum.pdf
Binary files differ
diff --git a/macros/latex/contrib/babel-contrib/greek/babel-greek-doc.html b/macros/latex/contrib/babel-contrib/greek/babel-greek-doc.html
index 395fe33fd2..26648f07c8 100644
--- a/macros/latex/contrib/babel-contrib/greek/babel-greek-doc.html
+++ b/macros/latex/contrib/babel-contrib/greek/babel-greek-doc.html
@@ -793,7 +793,7 @@ mstyle.mathscr, mi.mathscr {
<p class="subtitle" id="babel-support-for-the-greek-language-and-script">Babel support for the Greek language and script</p>
<dl class="docinfo">
<dt class="version">Version<span class="colon">:</span></dt>
-<dd class="version">1.13 (<a class="reference internal" href="#changelog">changelog</a>)</dd>
+<dd class="version">1.13.1 (<a class="reference internal" href="#changelog">changelog</a>)</dd>
<dt class="copyright">Copyright<span class="colon">:</span></dt>
<dd class="copyright">© 1997 Apostolos Syropoulos, Claudio Beccari, Johannes Brahms,
© 2013 – 2023 Günter Milde.</dd>
@@ -1383,6 +1383,12 @@ Use LICR macros instead of the Latin transliteration.</p></li>
<li><p>Fix links, update documentation.</p></li>
</ul>
</dd>
+<dt>1.13.1 (2023-03-17)</dt>
+<dd><ul class="simple">
+<li><p>Don’t use text command in math mode with “keep-semicolon”.</p></li>
+<li><p><a class="reference external" href="athnum.dtx">athnum.dtx</a> 2.0.1: Fix behaviour in math mode.</p></li>
+</ul>
+</dd>
</dl>
</section>
<section id="references">
diff --git a/macros/latex/contrib/babel-contrib/greek/babel-greek-doc.rst b/macros/latex/contrib/babel-contrib/greek/babel-greek-doc.rst
index 2c65158b9a..08bc93633b 100644
--- a/macros/latex/contrib/babel-contrib/greek/babel-greek-doc.rst
+++ b/macros/latex/contrib/babel-contrib/greek/babel-greek-doc.rst
@@ -3,7 +3,7 @@ babel-greek
Babel support for the Greek language and script
===============================================
-:Version: 1.13 (changelog_)
+:Version: 1.13.1 (changelog_)
:Copyright: © 1997 Apostolos Syropoulos, Claudio Beccari, Johannes Brahms,
© 2013 -- 2023 Günter Milde.
@@ -398,6 +398,9 @@ Changelog
- New language attribute "keep-semicolon_".
- Rename ``\greek@tilde`` to ``\bbl@greek@tilde``, simplify definition.
- Fix links, update documentation.
+1.13.1 (2023-03-17)
+ - Don't use text command in math mode with "keep-semicolon".
+ - `athnum.dtx`_ 2.0.1: Fix behaviour in math mode.
.. _babel/4303: http://www.latex-project.org/cgi-bin/ltxbugs2html?pr=babel/4303
.. _babel/4305: http://www.latex-project.org/cgi-bin/ltxbugs2html?pr=babel/4305
diff --git a/macros/latex/contrib/babel-contrib/greek/babel-greek.dtx b/macros/latex/contrib/babel-contrib/greek/babel-greek.dtx
index 3d75104121..0eb7071284 100644
--- a/macros/latex/contrib/babel-contrib/greek/babel-greek.dtx
+++ b/macros/latex/contrib/babel-contrib/greek/babel-greek.dtx
@@ -37,7 +37,7 @@
%<code>\ProvidesLanguage{greek}
%\fi
%\ProvidesFile{babel-greek.dtx}
- [2023/03/15 1.13 Greek support for the babel system]
+ [2023/03/17 1.13.1 Greek support for the babel system]
%\iffalse
%% File `babel-greek.dtx'
%% Greek language Definition File
@@ -600,6 +600,8 @@
%
% \changes{babel-greek-1.13}{2023/03/15}{
% New language attribute \Lopt{keep-semicolon}.}
+% \changes{babel-greek-1.13}{2023/03/15}{
+% Don't use text command in math mode.}
% The LGR font encoding uses the Latin question mark as input for
% the Greek question mark (\emph{erotimatiko}) and maps the semicolon
% to a middle dot (\emph{ano teleia}).
@@ -613,11 +615,11 @@
\def\bbl@tempa{LGR}
\ifx\greekfontencoding\bbl@tempa
\ProvideTextCommandDefault{\textsemicolon}{;}
- \ProvideTextCommand{\textsemicolon}{LGR}{\TextOrMath{\texterotimatiko}{;}}
+ \ProvideTextCommand{\textsemicolon}{LGR}{\texterotimatiko}
\initiate@active@char{;}
\addto\extrasgreek{\bbl@activate{;}}
\addto\noextrasgreek{\bbl@deactivate{;}}
- \declare@shorthand{greek}{;}{\textsemicolon}
+ \declare@shorthand{greek}{;}{\TextOrMath{\textsemicolon}{;}}
\fi
}
% \end{macrocode}
diff --git a/macros/latex/contrib/babel-contrib/greek/babel-greek.pdf b/macros/latex/contrib/babel-contrib/greek/babel-greek.pdf
index 8699cde837..3da9b8a926 100644
--- a/macros/latex/contrib/babel-contrib/greek/babel-greek.pdf
+++ b/macros/latex/contrib/babel-contrib/greek/babel-greek.pdf
Binary files differ
diff --git a/macros/latex/contrib/babel-contrib/greek/test-athnum.pdf b/macros/latex/contrib/babel-contrib/greek/test-athnum.pdf
index 4f1fd57796..f76f2c8e06 100644
--- a/macros/latex/contrib/babel-contrib/greek/test-athnum.pdf
+++ b/macros/latex/contrib/babel-contrib/greek/test-athnum.pdf
Binary files differ
diff --git a/macros/latex/contrib/babel-contrib/greek/test-athnum.tex b/macros/latex/contrib/babel-contrib/greek/test-athnum.tex
index 0d8a6bfb6b..4de8a01ff8 100644
--- a/macros/latex/contrib/babel-contrib/greek/test-athnum.tex
+++ b/macros/latex/contrib/babel-contrib/greek/test-athnum.tex
@@ -67,4 +67,6 @@ Largest allowed number: 249999 = \athnum{249999}
Hexadecimal input works, too: \texttt{"10} = \athnum{"10}
+Attic numerals in math mode: $a = \textrm{\athnum{678}}, b = \athnum{2022}$
+
\end{document}
diff --git a/macros/latex/contrib/babel-contrib/greek/test-case-changing-minimal.tex b/macros/latex/contrib/babel-contrib/greek/test-case-changing-minimal.tex
deleted file mode 100644
index f90e2e1e24..0000000000
--- a/macros/latex/contrib/babel-contrib/greek/test-case-changing-minimal.tex
+++ /dev/null
@@ -1,75 +0,0 @@
-\documentclass[a4paper]{article}
-% \usepackage[greek,english]{babel} % babel-greek
-\usepackage[greek,english,provide=*]{babel} % Babel's Greek "ini"
-
-\usepackage{parskip}
-\newcommand{\langGreek}{\foreignlanguage{greek}}
-% \renewcommand{\langGreek}{} % check without language change
-
-
-\ifdefined \UnicodeEncodingName
- \usepackage{fontspec}
- \setmainfont{FreeSerif}
- \newcommand*{\texengine}{Xe/LuaLaTeX}
-\else
- \usepackage{lmodern}
- \newcommand*{\texengine}{pdfLaTeX}
-\fi
-
-
-\begin{document}
-
-Greek question mark:
-\langGreek{; → \MakeUppercase{;}}
-
-Latin accents:
-\langGreek{ᾰ Ᾰ ῐ Ῐ ῠ ᾱ Ᾱ ῑ Ῑ ῡ → \MakeUppercase{ᾰ Ᾰ ῐ Ῐ ῠ ᾱ Ᾱ ῑ Ῑ ῡ}}
-
-hiatus:
-\newcommand*{\hiatest}{άι, άυ, έι, ἄι, ἄυ, ἔι, ἀυ}
-\langGreek{\hiatest{} → \MakeUppercase{\hiatest{}}}
-
-\langGreek{ἀυπνία → \MakeUppercase{ἀυπνία}}
-
-Spacing prosgegrammeni:
-\langGreek{ι → \MakeUppercase{ι}}
-
-Spacing accents:
-\langGreek{῀ ` ´ ῾ ᾽ ᾿ \quad ῍ ῎ ῝ ῞ ῟ ῏ ῭ ΅ ῁ →
- \MakeUppercase{῀ ` ´ ῾ ᾽ ᾿ \quad ῍ ῎ ῝ ῞ ῟ ῏ ῭ ΅ ῁}}
-
-Eta with tonos:
-\langGreek{ή, Ή → \MakeUppercase{ή, Ή}}.
-
-\end{document}
-
-Upcasing/downcasing literal chars of the "Greek and Coptic" and "Greek
-Extended" Unicode block now works without errors.
-
-Problems (in order of urgence):
-
-* Uppercase of character 0x37E GREEK QUESTION MARK is 0x3B SEMICOLON which is
- mapped to a middle dot (0x387 GREEK ANO TELEIA) by LGR:
-
-* The “educational”/“Latin” accents *macron* and *breve* (*vrachy*) should
- be kept (they stay above capital letters similar to the dialytika,
- they are kept by Apostolos Syropoulos' “xgreek” package and in babel-greek
- “since ages”):
-
-* Auto-Hiatus also required after
- 0x1F00 GREEK SMALL LETTER ALPHA WITH PSILI + iota or upsilon.
-
-* Spacing prosgegrammeni turned to capital Iota (kept as prosgegrammeni with
- old MakeUppercase).
-
-* Spacing 0x1FEF GREEK VARIA becomes 0x2018 LEFT SINGLE QUOTATION MARK
- (visible difference with XeTeX and DejaVu),
-
-* Non-uniform handling of spacing diacritics: Single diacritics are kept,
- combining diacritics are mapped to single diacritics.
- (The old implementation handled spacing diacritics similar to
- diacritics in accented letters.)
-
-* How to treat MakeUppercase of a single captial GREEK CAPITAL LETTER ETA
- WITH TONOS? Currently, it is treated differently from the small
- equivalent.
diff --git a/macros/latex/contrib/babel-contrib/greek/test-case-changing-varia-tu.tex b/macros/latex/contrib/babel-contrib/greek/test-case-changing-varia-tu.tex
deleted file mode 100644
index a70e127ffa..0000000000
--- a/macros/latex/contrib/babel-contrib/greek/test-case-changing-varia-tu.tex
+++ /dev/null
@@ -1,41 +0,0 @@
-\documentclass[a4paper]{article}
-\usepackage[greek,english,provide=*]{babel} % Babel's Greek "ini"
-\newcommand{\langGreek}{\foreignlanguage{greek}}
-
-\usepackage{fontspec}
-\setmainfont{FreeSerif}
-% \setmainfont{DejaVu Serif}
-% \setmainfont{Droid Sans}
-% \setmainfont{Linux Libertine O}
-% \setmainfont{Liberation Serif}
-% \setmainfont{cmunrm.otf}
-
-\begin{document}
-
-
-U+1FEF GREEK VARIA and U+1FFD GREEK OXIA
-
-English: ` ´ → \MakeUppercase{` ´}
-
-Greek: \langGreek{` ´ → \MakeUppercase{` ´}}
-
-
-U+0060 GRAVE ACCENT and U+00B4 ACUTE ACCENT
-
-English: ` ´ → \MakeUppercase{` ´}
-
-Greek: \langGreek{` ´ → \MakeUppercase{` ´}}
-
-
-\end{document}
-
-
-* Spacing U+1FEF GREEK VARIA becomes U+2018 LEFT SINGLE QUOTATION MARK
- (visible difference with XeTeX and DejaVu),
-
-With old MakeUppercase: Spacing accents: ῀ ` ´ ῾ ᾽ ᾿ → ῀ ` ´ ῾ ᾽ ᾿
-
-With new MakeUppercase: Spacing accents: ῀ ` ´ ῾ ᾽ ᾿ → ῀ ‘ ´ ῾ ᾽ ᾿
-
-U+0060 GRAVE ACCENT and U+00B4 ACUTE ACCENT
-English: ‘ ´ → ‘ ´
diff --git a/macros/latex/contrib/babel-contrib/greek/test-case-changing.tex b/macros/latex/contrib/babel-contrib/greek/test-case-changing.tex
index 053cfb7330..e5cc0d15e5 100644
--- a/macros/latex/contrib/babel-contrib/greek/test-case-changing.tex
+++ b/macros/latex/contrib/babel-contrib/greek/test-case-changing.tex
@@ -173,7 +173,12 @@ MakeLowercase:
% Accents dropped with MakeUppercase (not for single letter ή) :)
% TODO: how to treat MakeUppercase of a single captial «΄Η»?
%
-% The "Latin" accents macron and breve should be kept. (minor)
+% Should the “educational”/“Latin” accents *macron* and *breve* (*vrachy*)
+% be kept (they stay above capital letters similar to the dialytika,
+% they are kept by Apostolos Syropoulos' “xgreek” package and in babel-greek
+% “since ages”) or dropped (they are optional even in lowercase or titlecase
+% and dropped for the entry by the English wiktionary).
+% https://en.wiktionary.org/wiki/Wiktionary:About_Ancient_Greek#Diacritics_and_accentuation
%
% Spacing prosgegrammeni (ι) turned to capital Iota. (minor)
%
diff --git a/macros/latex/contrib/babel-contrib/greek/test-greek-8bitcompat.tex b/macros/latex/contrib/babel-contrib/greek/test-greek-8bitcompat.tex
index 5fba328dc6..2de0e68ed6 100644
--- a/macros/latex/contrib/babel-contrib/greek/test-greek-8bitcompat.tex
+++ b/macros/latex/contrib/babel-contrib/greek/test-greek-8bitcompat.tex
@@ -6,6 +6,8 @@
% LGR must be defined before loading "luainputenc" (bug in luainputenc?)
\usepackage[LGR,T1]{fontenc}
\usepackage{lmodern}
+ % \usepackage[largesc]{newtxtext}
+ % \DeclareFontFamilySubstitution{LGR}{ntxtlf}{NimbusSerif}
\usepackage[utf8]{luainputenc}
\newcommand*{\greekfontencoding}{LGR} % force LGR setup¹
diff --git a/macros/latex/contrib/babel-contrib/greek/test-greek.pdf b/macros/latex/contrib/babel-contrib/greek/test-greek.pdf
index 2f1b83bc17..0f4879f944 100644
--- a/macros/latex/contrib/babel-contrib/greek/test-greek.pdf
+++ b/macros/latex/contrib/babel-contrib/greek/test-greek.pdf
Binary files differ
diff --git a/macros/latex/contrib/babel-contrib/greek/test-tildeshorthand.tex b/macros/latex/contrib/babel-contrib/greek/test-tildeshorthand.tex
deleted file mode 100644
index 47bc628236..0000000000
--- a/macros/latex/contrib/babel-contrib/greek/test-tildeshorthand.tex
+++ /dev/null
@@ -1,106 +0,0 @@
-% Backrolling does not work for \MakeUppercase (cf. LaTeX News 35)
-% \RequirePackage{latexbug}
-%\RequirePackage[2022-05-01]{latexrelease}
-
-\documentclass[a4paper]{article}
-
-\usepackage[LGR,T1]{fontenc}
-\usepackage{lmodern}
-
-\ifdefined \UnicodeEncodingName
- \usepackage{fontspec}
- \setmainfont{FreeSerif}
- \newcommand*{\texengine}{Xe/LuaLaTeX}
-\else
- \usepackage{lmodern}
- \newcommand*{\texengine}{pdfLaTeX}
-\fi
-
-% Load encoding definitions
-\usepackage[normalize-symbols]{textalpha} % "Greek script everywhere"
-
-% With TL22, the special handling of Greek UPPERCASE is only triggered
-% if the text language is set to "greek" with Babel:
-%
-\usepackage[greek,english]{babel} % babel-greek
-% \usepackage[greek,english,provide=*]{babel} % Babel's Greek "ini"
-\languageattribute{greek}{polutoniko} % "modern" polytonic Greek
-
-
-\usepackage[unicode,colorlinks,linkcolor=blue]{hyperref}
-\usepackage{bookmark}
-
-% Auxiliary commands
-
-\newcommand{\langGreek}{\foreignlanguage{greek}}
-
-% print the selected language variant
-\newcommand{\GreekLanguageVariant}{%
- \ifx\captionsgreek\captionspolutonikogreek
- \ifx\captionsgreek\captionsancientgreek
- ancient%
- \else
- polutoniko%
- \fi
- \else
- monotoniko%
- \fi
-}
-
-% test effect of new implementations on compilation time:
-%
-% pdflatex from TL22 is about 7 times slower than the version from TL21
-% (7s vs. 1s for this document with 13 pages).
-% With the dummy definitons,
-% \renewcommand{\MakeUppercase}{}
-% \renewcommand{\MakeLowercase}{}
-% pdflatex from TL22 is a bit faster than before
-% (0.7s vs. 1s for this document),
-
-% -----------------------------------------------------------------------
-
-\begin{document}
-
- \selectlanguage{greek}
-
-
-\raggedright
- % ἀ ἁ ἂ ἃ ἄ ἅ ἆ ἇ Ἀ Ἁ Ἂ Ἃ Ἄ Ἅ Ἆ Ἇ \\
- % \lgrfont{>a <a >`a <`a >'a <'a >~a <~a >A <A >`A <`A >'A <'A >~A <~A } \\
- % ἐ ἑ ἒ ἓ ἔ ἕ ␣ ␣ Ἐ Ἑ Ἒ Ἓ Ἔ Ἕ \\
- % \lgrfont{>e <e >`e <`e >'e <'e \: \: >E <E >`E <`E >'E <'E } \\
- % ἠ ἡ ἢ ἣ ἤ ἥ ἦ ἧ Ἠ Ἡ Ἢ Ἣ Ἤ Ἥ Ἦ Ἧ \\
- % \lgrfont{>h <h >`h <`h >'h <'h >~h <~h >H <H >`H <`H >'H <'H >~H <~H } \\
- % ἰ ἱ ἲ ἳ ἴ ἵ ἶ ἷ Ἰ Ἱ Ἲ Ἳ Ἴ Ἵ Ἶ Ἷ \\
- % \lgrfont{>i <i >`i <`i >'i <'i >~i <~i >I <I >`I <`I >'I <'I >~I <~I } \\
- % ὀ ὁ ὂ ὃ ὄ ὅ ␣ ␣ Ὀ Ὁ Ὂ Ὃ Ὄ Ὅ \\
- % \lgrfont{>o <o >`o <`o >'o <'o \: \: >O <O >`O <`O >'O <'O } \\
- % ὐ ὑ ὒ ὓ ὔ ὕ ὖ ὗ ␣ Ὑ ␣ Ὓ ␣ Ὕ ␣ Ὗ \\
- % \lgrfont{>u <u >`u <`u >'u <'u >~u <~u \: <U \: <`U \: <'U \: <~U } \\
- % ὠ ὡ ὢ ὣ ὤ ὥ ὦ ὧ Ὠ Ὡ Ὢ Ὣ Ὤ Ὥ Ὦ Ὧ \\
- % \lgrfont{>w <w >`w <`w >'w <'w >~w <~w >W <W >`W <`W >'W <'W >~W <~W } \\
- % ὰ ά ὲ έ ὴ ή ὶ ί ὸ ό ὺ ύ ὼ ώ \\
- % \lgrfont{`a 'a `e 'e `h 'h `i 'i `o 'o `u 'u `w 'w } \\
- % ᾀ ᾁ ᾂ ᾃ ᾄ ᾅ ᾆ ᾇ ᾈ ᾉ ᾊ ᾋ ᾌ ᾍ ᾎ ᾏ \\
- % \lgrfont{>a| <a| >`a| <`a| >'a| <'a| >~a| <~a| >A| <A| >`A| <`A| >'A| <'A| >~A| <~A|} \\
- % ᾐ ᾑ ᾒ ᾓ ᾔ ᾕ ᾖ ᾗ ᾘ ᾙ ᾚ ᾛ ᾜ ᾝ ᾞ ᾟ \\
- % \lgrfont{>h| <h| >`h| <`h| >'h| <'h| >~h| <~h| >H| <H| >`H| <`H| >'H| <'H| >~H| <~H|} \\
- % ᾠ ᾡ ᾢ ᾣ ᾤ ᾦ ᾧ ᾥ ᾨ ᾩ ᾪ ᾫ ᾬ ᾭ ᾮ ᾯ \\
- % \lgrfont{>w| <w| >`w| <`w| >'w| <'w| >~w| <~w| >W| <W| >`W| <`W| >'W| <'W| >~W| <~W|} \\
- % ᾰ ᾱ ᾲ ᾳ ᾴ ␣ ᾶ ᾷ Ᾰ Ᾱ Ὰ Ά ᾼ ᾽ ι ᾿ \\
-% \lgrfont{\u{a} \=a `a| a| 'a| \: ~a ~a| \u{A} \=A `A 'A A| > | > } \\
- % ῀ ῁ ῂ ῃ ῄ ␣ ῆ ῇ Ὲ Έ Ὴ Ή ῌ ῍ ῎ ῏ \\
-\lgrfont{~ "~ `h| h| 'h|
- % \: ~h ~h| `E
- % 'E `H 'H H| >` >' ~>
- } \\
- % ῐ ῑ ῒ ΐ ␣ ␣ ῖ ῗ Ῐ Ῑ Ὶ Ί ␣ ῝ ῞ ῟ \\
-% \lgrfont{\u{i} \=i `"i '"i \: \: ~i ~"i \u{I} \=I `I 'I \: <` <' ~< } \\
- % ῠ ῡ ῢ ΰ ␣ ␣ ῤ ῥ ῦ ῧ Ὺ Ύ Ῥ ῭ ΅ ` \\
-% \lgrfont{\u{u} \=u `"u '"u \: \: >r <r ~u ~"u `U 'U <R `" '" ` } \\
- % ␣ ␣ ῲ ῳ ῴ ␣ ῶ ῷ Ὸ Ό Ὼ Ώ ῼ ´ ῾ \\
- % \lgrfont{ \: \: `w| w| 'w| \: ~w ~w| `O 'O `W 'W W| ' < }
-
-
-
-\end{document}
diff --git a/macros/latex/contrib/babel-contrib/greek/unicode-examples.pdf b/macros/latex/contrib/babel-contrib/greek/unicode-examples.pdf
deleted file mode 100644
index d9be7bf69e..0000000000
--- a/macros/latex/contrib/babel-contrib/greek/unicode-examples.pdf
+++ /dev/null
Binary files differ
diff --git a/macros/latex/contrib/babel-contrib/greek/unicode-examples.tex b/macros/latex/contrib/babel-contrib/greek/unicode-examples.tex
deleted file mode 100644
index 6a466c05dc..0000000000
--- a/macros/latex/contrib/babel-contrib/greek/unicode-examples.tex
+++ /dev/null
@@ -1,57 +0,0 @@
-\documentclass{article}
-
-\ifdefined \UnicodeEncodingName
- \usepackage{fontspec}
- \setmainfont[Scale=0.92]{DejaVu Serif}
-\fi
-
-% Babel is required for hyphenation and the post-2022/06 \MakeUppercase
-% \usepackage[greek]{babel}
-
-\usepackage{xgreek}
-
-\newcommand*\uppercasetest[1]{\noindent#1 →\par\MakeUppercase{#1}\par}
-
-\begin{document}
-
-% examples from https://icu.unicode.org/design/case/greek-upper
-% See there for the expected output
-\uppercasetest{άδικος, κείμενο, ίριδα}
-\uppercasetest{Πατάτα}
-\uppercasetest{Αέρας, Μυστήριο, Ωραίο}
-\uppercasetest{Μαΐου, Πόρος, Ρύθμιση}
-\uppercasetest{ΰ, Τηρώ, Μάιος}
-\uppercasetest{άυλος}
-\uppercasetest{ΑΫΛΟΣ}
-\uppercasetest{Άκλιτα ρήματα ή άκλιτες μετοχές}
-\uppercasetest{Επειδή η αναγνώριση της αξιοπρέπειας}
-\uppercasetest{νομικού ή διεθνούς}
-\uppercasetest{Ἐπειδὴ ἡ ἀναγνώριση}
-\uppercasetest{νομικοῦ ἢ διεθνοῦς} % I need to look at this one
-\uppercasetest{Νέο, Δημιουργία}
-\uppercasetest{Ελάτε να φάτε τα καλύτερα παϊδάκια!}
-\uppercasetest{Μαΐου, τρόλεϊ}
-\uppercasetest{Το ένα ή το άλλο.}
-\uppercasetest{ρωμέικα}
-
-\end{document}
-
-% from http://www.polytoniko.org/kano.php?newlang=en
-% Words with rough breathing
-αἷμα, Αἷμος, αἵρεση,
-εἱρμός, εὑρετήριο
-υἱός
-
-ρολόι → ΡΟΛΟΪ
-
-If a capitalized word begins with a diphthong, the breathing mark is still
-over the second vowel (Αἰτέω). If the word begins with two vowels that do
-not form a diphthong, the breathing mark stands in front of the capital (
-᾽Ιησοῦς).
-
-
-
-
-If placed over a DIPHTHONG, a breathing mark is always above the SECOND
-vowel (e.g. οἱ, εἰ, and Εὐρώπη).
-<https://pressbooks.pub/ancientgreek/chapter/3/>
diff --git a/macros/latex/contrib/babel-contrib/greek/usage.pdf b/macros/latex/contrib/babel-contrib/greek/usage.pdf
index b05188b9d6..83841db067 100644
--- a/macros/latex/contrib/babel-contrib/greek/usage.pdf
+++ b/macros/latex/contrib/babel-contrib/greek/usage.pdf
Binary files differ