From f6cb3d263826846efe7b926e6ad2092198db0522 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Fri, 10 Mar 2023 03:04:05 +0000 Subject: CTAN sync 202303100304 --- language/greek/greek-fontenc/Makefile | 179 ------- language/greek/greek-fontenc/README.md | 52 +- language/greek/greek-fontenc/alphabeta-doc-tu.pdf | Bin 74857 -> 74857 bytes language/greek/greek-fontenc/alphabeta-doc.pdf | Bin 433268 -> 433268 bytes language/greek/greek-fontenc/alphabeta-doc.tex | 2 +- language/greek/greek-fontenc/alphabeta-lgr.def | 2 +- .../greek/greek-fontenc/alphabeta-lgr.def.html | 587 ++++++++++++++------- language/greek/greek-fontenc/alphabeta-tuenc.def | 2 +- .../greek/greek-fontenc/alphabeta-tuenc.def.html | 587 ++++++++++++++------- language/greek/greek-fontenc/alphabeta.sty | 69 ++- language/greek/greek-fontenc/alphabeta.sty.html | 158 +++--- .../greek/greek-fontenc/greek-fontenc-doc.html | 13 +- language/greek/greek-fontenc/greek-fontenc-doc.rst | 10 +- language/greek/greek-fontenc/greek-fontenc.def | 33 +- .../greek/greek-fontenc/greek-fontenc.def.html | 66 ++- .../greek/greek-fontenc/hyperref-with-greek.pdf | Bin 296813 -> 296813 bytes language/greek/greek-fontenc/lgrenc.def | 4 +- language/greek/greek-fontenc/lgrenc.def.html | 6 +- language/greek/greek-fontenc/puenc-greek.def | 36 +- language/greek/greek-fontenc/puenc-greek.def.html | 52 +- language/greek/greek-fontenc/test-diacritics.pdf | Bin 198977 -> 195502 bytes language/greek/greek-fontenc/test-diacritics.tex | 102 ++-- language/greek/greek-fontenc/test-lgrenc.pdf | Bin 326304 -> 326304 bytes language/greek/greek-fontenc/test-licr-input.pdf | Bin 397294 -> 398308 bytes language/greek/greek-fontenc/test-licr-input.tex | 24 +- language/greek/greek-fontenc/test-tuenc-greek.pdf | Bin 85973 -> 85979 bytes language/greek/greek-fontenc/test-utf8-input.pdf | Bin 127221 -> 0 bytes language/greek/greek-fontenc/test-utf8-input.tex | 87 --- language/greek/greek-fontenc/textalpha-doc-tu.pdf | Bin 83990 -> 83999 bytes language/greek/greek-fontenc/textalpha-doc.pdf | Bin 501358 -> 501358 bytes language/greek/greek-fontenc/textalpha.sty | 106 ++-- language/greek/greek-fontenc/textalpha.sty.html | 257 ++++----- language/greek/greek-fontenc/tuenc-greek.def | 112 ++-- language/greek/greek-fontenc/tuenc-greek.def.html | 321 +++++------ language/korean/kotex-oblivoir/README | 1 + language/korean/kotex-oblivoir/doc/ChangeLog | 7 + .../tex/memhangul-common/oblivoir-misc.sty | 39 ++ .../kotex-oblivoir/tex/memhangul-x/memhangul-x.sty | 93 +++- language/korean/kotex-oblivoir/tex/oblivoir-xl.cls | 9 +- language/korean/kotex-oblivoir/tex/oblivoir.cls | 3 +- 40 files changed, 1692 insertions(+), 1327 deletions(-) delete mode 100644 language/greek/greek-fontenc/Makefile delete mode 100644 language/greek/greek-fontenc/test-utf8-input.pdf delete mode 100644 language/greek/greek-fontenc/test-utf8-input.tex (limited to 'language') diff --git a/language/greek/greek-fontenc/Makefile b/language/greek/greek-fontenc/Makefile deleted file mode 100644 index e91e783830..0000000000 --- a/language/greek/greek-fontenc/Makefile +++ /dev/null @@ -1,179 +0,0 @@ -# This Makefile updates the source and documentation for the -# greek-fontenc 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/greek-fontenc -DOCDIR = ~/texmf/doc/latex/greek/greek-fontenc - -CHDIR = cd -COPY = cp -u -SH = sh - -# programs -PYLIT = pylit # text <-> source converter for literal programming -RST2HTML = rst2html5 # text -> HTML converter, see docutils.sf.net -RUBBER = rubber -f --pdf -m hyperref # wrapper around `latex`, run until references resolved -LATEX = pdflatex -interaction batchmode - -# LaTeX source files -# ================== - -.PHONY: all font-encodings packages - -all: font-encodings packages - -# font encoding definition files -font-encodings: greek-fontenc.def lgrenc.def tuenc-greek.def greek-euenc.def - -# tuenc-greek.def: tuenc-greek.def.txt -# $(PYLIT) $@.txt -# -# greek-fontenc.def: greek-fontenc.def.txt -# $(PYLIT) $@.txt -# -# lgrenc.def: lgrenc.def.txt -# $(PYLIT) $@.txt - -# LaTeX packages -packages: textalpha.sty alphabeta.sty alphabeta-tuenc.def alphabeta-lgr.def - -# textalpha.sty: textalpha.sty.txt -# $(PYLIT) $@.txt -# -# alphabeta.sty: alphabeta.sty.txt -# $(PYLIT) $@.txt -# -# alphabeta-tuenc.def: alphabeta-tuenc.def.txt -# $(PYLIT) $@.txt -# -# alphabeta-lgr.def: alphabeta-lgr.def.txt -# $(PYLIT) $@.txt -# -# # Experimental files -# lgr2licr.lua: lgr2licr.lua.txt -# $(PYLIT) $@.txt - -# Documentation -# ============= - -.PHONY: doc html pdf - -doc: html pdf - -html: greek-fontenc-doc.html lgrenc.def.html puenc-greek.def.html \ - tuenc-greek.def.html greek-fontenc.def.html \ - textalpha.sty.html alphabeta.sty.html \ - alphabeta-tuenc.def.html alphabeta-lgr.def.html lgr2licr.lua.html - -greek-fontenc-doc.html: greek-fontenc-doc.rst - $(RST2HTML) greek-fontenc-doc.rst > greek-fontenc-doc.html - -greek-fontenc.def.html: greek-fontenc.def - $(PYLIT) greek-fontenc.def - $(RST2HTML) greek-fontenc.def.txt > greek-fontenc.def.html - -lgrenc.def.html: lgrenc.def - $(PYLIT) lgrenc.def - $(RST2HTML) lgrenc.def.txt > lgrenc.def.html - -tuenc-greek.def.html: tuenc-greek.def - $(PYLIT) tuenc-greek.def - $(RST2HTML) tuenc-greek.def.txt > tuenc-greek.def.html - -puenc-greek.def.html: puenc-greek.def - $(PYLIT) puenc-greek.def - $(RST2HTML) puenc-greek.def.txt > puenc-greek.def.html - -textalpha.sty.html: textalpha.sty - $(PYLIT) textalpha.sty - $(RST2HTML) textalpha.sty.txt > textalpha.sty.html - -alphabeta.sty.html: alphabeta.sty - $(PYLIT) alphabeta.sty - $(RST2HTML) alphabeta.sty.txt > alphabeta.sty.html - -alphabeta-tuenc.def.html: alphabeta-tuenc.def - $(PYLIT) alphabeta-tuenc.def - $(RST2HTML) alphabeta-tuenc.def.txt > alphabeta-tuenc.def.html - -alphabeta-lgr.def.html: alphabeta-lgr.def - $(PYLIT) alphabeta-lgr.def - $(RST2HTML) alphabeta-lgr.def.txt > alphabeta-lgr.def.html - -lgr2licr.lua.html: lgr2licr.lua - $(PYLIT) lgr2licr.lua - $(RST2HTML) lgr2licr.lua.txt > lgr2licr.lua.html - -# User documentation -# ================== - -pdf: alphabeta-doc.pdf alphabeta-doc-tu.pdf \ - textalpha-doc.pdf textalpha-doc-tu.pdf hyperref-with-greek.pdf \ - test-licr-input.pdf test-lgrenc.pdf test-tuenc-greek.pdf - -TEXTALPHA = textalpha.sty greek-fontenc.def lgrenc.def tuenc-greek.def puenc-greek.def -ALPHABETA = $(TEXTALPHA) alphabeta.sty - -alphabeta-doc.pdf: alphabeta-doc.tex $(ALPHABETA) - $(RUBBER) alphabeta-doc.tex - -alphabeta-doc-tu.pdf: alphabeta-doc.tex $(ALPHABETA) - $(RUBBER) -m xelatex --jobname=alphabeta-doc-tu alphabeta-doc.tex - -textalpha-doc.pdf: textalpha-doc.tex $(TEXTALPHA) - $(RUBBER) textalpha-doc.tex - -textalpha-doc-tu.pdf: textalpha-doc.tex lgrenc.def $(TEXTALPHA) - $(RUBBER) -m xelatex --jobname=textalpha-doc-tu textalpha-doc.tex - -hyperref-with-greek.pdf: hyperref-with-greek.tex $(ALPHABETA) - $(RUBBER) hyperref-with-greek.tex - -test-lgrenc.pdf: test-lgrenc.tex lgrenc.def greek-fontenc.def - $(LATEX) test-lgrenc.tex - -test-tuenc-greek.pdf: test-tuenc-greek.tex tuenc-greek.def greek-fontenc.def - $(RUBBER) -m xelatex test-tuenc-greek.tex - -test-licr-input.pdf: test-licr-input.tex $(TEXTALPHA) - $(RUBBER) test-licr-input.tex - -test-licr-input-tu.pdf: test-licr-input.tex lgrenc.def $(TEXTALPHA) - $(RUBBER) -m lualatex --jobname=test-licr-input-tu test-licr-input.tex - - -# Installation -# ------------ - -update: packages - $(COPY) *.def $(DESTDIR) - $(COPY) *.sty $(DESTDIR) - -update-package: packages doc - $(COPY) README.md $(DOCDIR) - $(COPY) *.def $(DOCDIR) - $(COPY) *.sty $(DOCDIR) - $(COPY) *.tex $(DOCDIR) - $(COPY) *.lua $(DOCDIR) - $(COPY) *.rst $(DOCDIR) - $(COPY) *.html $(DOCDIR) - $(COPY) *.pdf $(DOCDIR) - $(COPY) Makefile $(DOCDIR) - -# Cleanup -# ------- - -.PHONY: clean - -clean: - rm -f *~ *.aux *.log *.out *.rubbercache *.toc diff --git a/language/greek/greek-fontenc/README.md b/language/greek/greek-fontenc/README.md index 8a6da67416..0b61d52f49 100644 --- a/language/greek/greek-fontenc/README.md +++ b/language/greek/greek-fontenc/README.md @@ -1,44 +1,50 @@ greek-fontenc ============= -Greek font encoding definition files ------------------------------------- Font encoding definition files with *LaTeX internal character representation* (LICR) macros for letters and symbols from the Greek script. -The included LaTeX packages [textalpha] and [alphabeta] facilitate the use -of Greek symbols in text. +The included LaTeX packages [textalpha][1] and [alphabeta][2] +facilitate the use of Greek symbols in text. -**Version**: 2.2 ([changelog]) +**Version**: 2.2.1 -**Copyright**: © 2010 - 2023 Günter Milde +**Copyright**: © 2010 – 2023 Günter Milde -**License**: - This work may be distributed and/or modified under the conditions of the - [LaTeX Project Public License](http://www.latex-project.org/lppl.txt), - either version 1.3 of this license or any later version. +This work may be distributed and/or modified under the conditions of the +[LaTeX Project Public License](http://www.latex-project.org/lppl.txt), +either version 1.3 of this license or any later version. **Home**: **Latest Release**: -**Requires**: text fonts supporting the Greek script -**Recommends**: [greek-inputenc] (when used with 8-bit TeX/pdfTeX) +Usage +----- -**Required by**: [babel-greek], [greek-inputenc] +Usually, the font 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. +Requires [text fonts supporting the Greek script][3]. +With 8-bit TeX/pdfTeX, [greek-inputenc](https://ctan.org/pkg/greek-inputenc) +is recommended. -See [greek-fontenc-doc.html] ([greek-fontenc-doc.rst]) for a detailed -overview. +Documentation +------------- +* [greek-fontenc-doc.html][4] (CTAN) -[Babel]: https://ctan.org/pkg/babel -[babel-greek]: https://ctan.org/pkg/babel-greek -[greek-inputenc]: https://ctan.org/pkg/greek-inputenc -[textalpha]: greek-fontenc-doc.html#textalpha -[alphabeta]: greek-fontenc-doc.html#alphabeta -[greek-fontenc-doc.html]: greek-fontenc-doc.html -[greek-fontenc-doc.rst]: greek-fontenc-doc.rst -[changelog]: greek-fontenc-doc.html#changelog +* [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 diff --git a/language/greek/greek-fontenc/alphabeta-doc-tu.pdf b/language/greek/greek-fontenc/alphabeta-doc-tu.pdf index 23d5dcfcb0..02bd042e9e 100644 Binary files a/language/greek/greek-fontenc/alphabeta-doc-tu.pdf and b/language/greek/greek-fontenc/alphabeta-doc-tu.pdf differ diff --git a/language/greek/greek-fontenc/alphabeta-doc.pdf b/language/greek/greek-fontenc/alphabeta-doc.pdf index 4b8d9aeefb..85a69a21af 100644 Binary files a/language/greek/greek-fontenc/alphabeta-doc.pdf and b/language/greek/greek-fontenc/alphabeta-doc.pdf differ diff --git a/language/greek/greek-fontenc/alphabeta-doc.tex b/language/greek/greek-fontenc/alphabeta-doc.tex index c149f517ba..4143da034b 100644 --- a/language/greek/greek-fontenc/alphabeta-doc.tex +++ b/language/greek/greek-fontenc/alphabeta-doc.tex @@ -1,7 +1,7 @@ % alphabeta-doc: Documentation and tests for alphabeta.sty % ******************************************************** % -% :Copyright: © 2010, 2015 Günter Milde +% :Copyright: © 2010, 2023 Günter Milde % :Licence: This work may be distributed and/or modified under the % conditions of the `LaTeX Project Public License`_, either % version 1.3 of this license or any later version. diff --git a/language/greek/greek-fontenc/alphabeta-lgr.def b/language/greek/greek-fontenc/alphabeta-lgr.def index e976eafd56..1affabd264 100644 --- a/language/greek/greek-fontenc/alphabeta-lgr.def +++ b/language/greek/greek-fontenc/alphabeta-lgr.def @@ -3,7 +3,7 @@ % Composite definitions for 8-bit TeX % ****************************************** % -% :Copyright: © 2014 Günter Milde +% :Copyright: © 2014, 2020 Günter Milde % :Licence: This work may be distributed and/or modified under the % conditions of the `LaTeX Project Public License`_, either % version 1.3 of this license or any later version. diff --git a/language/greek/greek-fontenc/alphabeta-lgr.def.html b/language/greek/greek-fontenc/alphabeta-lgr.def.html index a0d9674440..05af3f854e 100644 --- a/language/greek/greek-fontenc/alphabeta-lgr.def.html +++ b/language/greek/greek-fontenc/alphabeta-lgr.def.html @@ -4,7 +4,7 @@ - + alphabeta-lgr.def @@ -610,7 +793,7 @@ a { text-decoration: none; }

Composite definitions for 8-bit TeX

- +
Licence:

This work may be distributed and/or modified under the conditions of the LaTeX Project Public License, either diff --git a/language/greek/greek-fontenc/alphabeta-tuenc.def b/language/greek/greek-fontenc/alphabeta-tuenc.def index cb2f621e54..897cd68516 100644 --- a/language/greek/greek-fontenc/alphabeta-tuenc.def +++ b/language/greek/greek-fontenc/alphabeta-tuenc.def @@ -3,7 +3,7 @@ % Composite definitions for XeTeX and LuaTeX % ****************************************** % -% :Copyright: © 2013 Günter Milde +% :Copyright: © 2013, 2020 Günter Milde % :Licence: This work may be distributed and/or modified under the % conditions of the `LaTeX Project Public License`_, either % version 1.3 of this license or any later version. diff --git a/language/greek/greek-fontenc/alphabeta-tuenc.def.html b/language/greek/greek-fontenc/alphabeta-tuenc.def.html index 308e0bef42..55e8042b22 100644 --- a/language/greek/greek-fontenc/alphabeta-tuenc.def.html +++ b/language/greek/greek-fontenc/alphabeta-tuenc.def.html @@ -5,7 +5,7 @@ - + alphabeta-tuenc.def @@ -611,7 +794,7 @@ a { text-decoration: none; }

Composite definitions for XeTeX and LuaTeX

- +
Licence:

This work may be distributed and/or modified under the conditions of the LaTeX Project Public License, either diff --git a/language/greek/greek-fontenc/alphabeta.sty b/language/greek/greek-fontenc/alphabeta.sty index 09a1cf5c6e..a0352815db 100644 --- a/language/greek/greek-fontenc/alphabeta.sty +++ b/language/greek/greek-fontenc/alphabeta.sty @@ -3,38 +3,17 @@ % Greek symbols in text and math % ****************************** % -% :Copyright: © 2010 Günter Milde +% :Version: 2.2.1 (changelog_) +% +% :Copyright: © 2010, 2020 Günter Milde +% % :Licence: This work may be distributed and/or modified under the % conditions of the `LaTeX Project Public License`_, either % version 1.3 of this license or any later version. % -% :Abstract: Use ``\alpha, \beta, ...`` for Greek letters in text and math -% mode. +% :Abstract: Use ``\alpha, \beta, ...`` for Greek letters in text and math +% mode. % -% :Identification: -% :: - -\NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{alphabeta} - [2020/10/13 2.0 macros for Greek letters in text and math] - -% Changelog: -% .. class:: borderless -% -% ====== ========== ========================================================= -% 0.1 2012-06-26 initial version -% 0.2 2013-05-03 new accent macro names with ``lgrxenc.def`` 0.7 -% 0.3 2013-05-28 use ``lgrenc.def`` from greek-fontenc, -% .. enable Unicode input in math mode. -% 0.4 2013-09-11 move to greek-fontenc_, support XeTeX/LuaTeX. -% 0.13 2015-09-04 Support for `variant symbols`. -% 0.13.2 2016-02-05 Support for standard Unicode text font encoding "TU" -% (new in fontspec v2.5a). -% 0.14 2020/02/28 rename ``alphabeta-euenc.def`` to -% ``alphabeta-tuenc.def``. -% 1.0 2020/09/25 New package version. No changes in this file. -% 2.0 2020/10/13 Provide ``\Koppa``. -% ====== ========== ========================================================= % % .. contents:: % @@ -91,6 +70,16 @@ % Implementation % ============== % +% Identification +% -------------- +% +% :: + +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{alphabeta} + [2023/03/08 2.2.1 macros for Greek letters in text and math] + + % Requirements % ------------ % @@ -121,6 +110,7 @@ \AtBeginDocument{ + % Save math macros % ---------------- % @@ -180,6 +170,7 @@ \let\mathvarkappa\varkappa \fi + % Commands to access Greek letters by name % ---------------------------------------- % @@ -333,6 +324,7 @@ \input{alphabeta-lgr.def} }{} + % Re-definition for Greek Unicode input in math mode % -------------------------------------------------- % @@ -395,6 +387,29 @@ } % close the \AtBeginDocument macro + +% Changelog +% ========= +% +% .. class:: borderless +% +% ====== =========== ======================================================== +% 0.1 2012-06-26 initial version +% 0.2 2013-05-03 new accent macro names with ``lgrxenc.def`` 0.7 +% 0.3 2013-05-28 use ``lgrenc.def`` from greek-fontenc, +% .. enable Unicode input in math mode. +% 0.4 2013-09-11 move to greek-fontenc_, support XeTeX/LuaTeX. +% 0.13 2015-09-04 Support for `variant symbols`. +% 0.13.2 2016-02-05 Support for standard Unicode text font encoding "TU" +% (new in fontspec v2.5a). +% 0.14 2020/02/28 rename ``alphabeta-euenc.def`` to +% ``alphabeta-tuenc.def``. +% 1.0 2020/09/25 New package version. No changes in this file. +% 2.0 2020/10/13 Provide ``\Koppa``. +% 2.2.1 2023-03-08 Documentation update. +% ====== =========== ======================================================== +% +% % .. References % ---------- % .. _LaTeX Project Public License: http://www.latex-project.org/lppl.txt diff --git a/language/greek/greek-fontenc/alphabeta.sty.html b/language/greek/greek-fontenc/alphabeta.sty.html index ba21b883b2..f6deffaf26 100644 --- a/language/greek/greek-fontenc/alphabeta.sty.html +++ b/language/greek/greek-fontenc/alphabeta.sty.html @@ -4,7 +4,7 @@ - + alphabeta.sty - +

puenc-greek.def

-

Greek LICR definitions for PDF strings (hyperref)

-
+

Greek LICR definitions for PDF strings

+
Licence:
@@ -799,10 +799,6 @@ mstyle.mathscr, mi.mathscr { conditions of the LaTeX Project Public License, either version 1.3 of this license or any later version.

-
Identification:
-
\ProvidesFile{puenc-greek.def}
-[2023/02/28 2.2 Greek LICRs for PDF strings]
-
+ +
+

Identification

+
\ProvidesFile{puenc-greek.def}
+  [2023/03/08 2.2.1 Greek LICRs for PDF strings]
+
-

Diacritics

+

Diacritics

Greek alias names for standard accents (without tabacckludge):

\DeclareTextCommand{\acctonos}{PU}{\'}
 \DeclareTextCommand{\accvaria}{PU}{\`}
@@ -853,7 +875,7 @@ Used by ba
 \DeclareTextCommand{\accpsiliperispomeni}{PU}[1]{#1\83\102\83\023}
-

Common Definitions

+

Common Definitions

Use the common Greek font encoding definitions.

Set the \LastDeclaredEncoding to PU and read definitions from greek-fontenc.def:

@@ -861,9 +883,9 @@ from greek-fontenc.d \input{greek-fontenc.def}
-

Character Definitions

+

Character Definitions

-

Compatibility defs with LGR

+

Compatibility defs with LGR

Basic Latin:

\DeclareTextCommand{\textsemicolon}{PU}{;} % "003B

Latin 1 Supplement: @@ -871,7 +893,7 @@ Distinguish MICRO SIGN from letter mu:

\DeclareTextCommand{\textmicro}{PU}{\83\274} % "00B5 MICRO SIGN
-

Greek and Coptic

+

Greek and Coptic

Without coptic and archaic letters (except the ones used in Greek numerals).

% NR    Unicode Name                               %   PU name (alias in greek-fontenc.def)
 \DeclareTextCommand{\textdexiakeraia}{PU}{\83\164} % ʹ  \textnumeralsigngreek
@@ -988,7 +1010,7 @@ and symbol variants:

\ProvideTextCommand{\textautosigma}{PU}{\MakeLowercase{\textSigma}}
-

Greek Extended

+

Greek Extended

We skip definitions for characters “… WITH OXIA”, because they would overwrite the defintions for “… WITH TONOS” in the Greek and Coptic block.

@@ -1197,11 +1219,11 @@ block.

\DeclareTextCompositeCommand{\accdasia}{PU}{\ }{\9037\376} % ῾
-

Letterlike Symbols

+

Letterlike Symbols

\DeclareTextCommand{\textohm}{PU}{\83\251} % "03A9 OHM SIGN, use 03A9 Omega
-

Ancient Greek Numbers

+

Ancient Greek Numbers

TODO: map other chars to corresponding Greek letters. See also the grnumalt package.

Definition with literal Unicode characters, because the code-point has 5 diff --git a/language/greek/greek-fontenc/test-diacritics.pdf b/language/greek/greek-fontenc/test-diacritics.pdf index bb990fdcc9..101d8efb5c 100644 Binary files a/language/greek/greek-fontenc/test-diacritics.pdf and b/language/greek/greek-fontenc/test-diacritics.pdf differ diff --git a/language/greek/greek-fontenc/test-diacritics.tex b/language/greek/greek-fontenc/test-diacritics.tex index a098793082..f1a6c36417 100644 --- a/language/greek/greek-fontenc/test-diacritics.tex +++ b/language/greek/greek-fontenc/test-diacritics.tex @@ -2,6 +2,7 @@ % \RequirePackage{latexbug} \documentclass[a4paper]{article} \usepackage{lmodern} +\usepackage{parskip} % Load encoding definitions % \usepackage[LGR,T1]{fontenc} @@ -12,12 +13,7 @@ % \usepackage[greek,english]{babel} % babel-greek % \usepackage[greek,english,provide=*]{babel} % Babel's Greek "ini" -% -% However, currently, with TL22 and Babel, we get -% ... -% (That makes 100 errors; please try again.) -% ... -% ==> Fatal error occurred, no output PDF file produced! + \IfFormatAtLeastTF{2022/06/01} {\newcommand*{\uppercaseversion}{new (post-2022/06/01)}} @@ -29,21 +25,21 @@ This document tests support for the Greek non-standard LGR fonts with the contributed packages \emph{greek-fontenc} and \emph{greek-inputenc}. -It is compiled with the -\textbf{\uppercaseversion{}} \verb|\MakeUppercase| version. - +It is compiled with the \textbf{\uppercaseversion{}} \verb|\MakeUppercase| +version. -The LGR font encoding definition file \texttt{lgrenc.def} defines LICR macros -for all non-ASCII characters in the LGR font encoding and loads definitions -shared with the TU font encoding from \texttt{greek-fontenc.def}. +The LGR font encoding definition file \texttt{lgrenc.def} defines LICR +macros for all non-ASCII characters in the LGR font encoding and loads +definitions shared with the TU font encoding from +\texttt{greek-fontenc.def}. In addition to the LICR, Greek letters can also be input via a Latin transliteration. Greek accent macros have names starting with \verb|\acc| followed by the Greek accent name as used in the Unicode standard (e.g. \verb|\acctonos|). -The standard symbol accents \verb|\' \` \~ \"| behave according to Greek -typography if used in the LGR font encoding. +The standard symbol accents \verb|\' \` \~ \"| should behave according to +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 (˘). @@ -68,7 +64,7 @@ literal tilde like \verb|\>~|. This can be fixed by using a tilde accent (even in text parts only changing the font encoding without selecting the Greek language). \begin{quote} - \ensuregreek{\accsample\ $\mapsto$ \MakeUppercase{\accsample}} + \ensuregreek{\accsample\ → \MakeUppercase{\accsample}} \end{quote} Test the upcasing of the different input methods: @@ -78,52 +74,52 @@ Test the upcasing of the different input methods: \begin{quotation} single accent (named, [alias], short) - \ensuregreek{\acctonos w \accoxia w \'w + \ensuregreek{\acctonos w \accoxia w \'w → \MakeUppercase{\acctonos w \accoxia w \'w}} - \ensuregreek{\accvaria w \`w \MakeUppercase{\accvaria w \`w}} + \ensuregreek{\accvaria w \`w → \MakeUppercase{\accvaria w \`w}} - \ensuregreek{\accperispomeni w \~w \MakeUppercase{\accperispomeni w \~w}} + \ensuregreek{\accperispomeni w \~w → \MakeUppercase{\accperispomeni w \~w}} - \ensuregreek{\accdasia w \w \MakeUppercase{\accpsili w \>w}} + \ensuregreek{\accpsili w \>w → \MakeUppercase{\accpsili w \>w}} - \ensuregreek{\accdialytika u \"u \MakeUppercase{\accdialytika u \"u}} + \ensuregreek{\accdialytika u \"u → \MakeUppercase{\accdialytika u \"u}} - \ensuregreek{w\ypogegrammeni{} w| \MakeUppercase{w\ypogegrammeni{} w|}} + \ensuregreek{w\ypogegrammeni{} w| → \MakeUppercase{w\ypogegrammeni{} w|}} combined accents (name, name+name, short+short, short+char) \ensuregreek{\accdasiaperispomeni w \accdasia\accperispomeni w \<\~w \~\~w \~>w - \MakeUppercase{\accpsiliperispomeni w \accpsili\accperispomeni w \>\~w \~>w}} + → \MakeUppercase{\accpsiliperispomeni w \accpsili\accperispomeni w \>\~w \~>w}} \ensuregreek{\accpsilioxia w \accpsili\accoxia w \>\'w \>'w - \MakeUppercase{\accpsilioxia w \accpsili\accoxia w \>\'w \>'w}} + → \MakeUppercase{\accpsilioxia w \accpsili\accoxia w \>\'w \>'w}} \ensuregreek{\accpsilivaria w \accpsili\accvaria w \>\`w \>`w - \MakeUppercase{\accpsilivaria w \accpsili\accvaria w \>\`w \>`w}} + → \MakeUppercase{\accpsilivaria w \accpsili\accvaria w \>\`w \>`w}} \ensuregreek{\accdialytikaperispomeni u \accdialytika\accperispomeni u \"\~u \~"u - \MakeUppercase{\accdialytikaperispomeni u \accdialytika\accperispomeni u \"\~u \~"u}} + → \MakeUppercase{\accdialytikaperispomeni u \accdialytika\accperispomeni u \"\~u \~"u}} \ensuregreek{\accdialytikatonos u \accdialytika\acctonos u \"\'u \"'u - \MakeUppercase{\accdialytikatonos u \accdialytika\acctonos u \"\'u \"'u}} + → \MakeUppercase{\accdialytikatonos u \accdialytika\acctonos u \"\'u \"'u}} \ensuregreek{\accdialytikavaria u \accdialytika\accvaria u \"\`u \"`u - \MakeUppercase{\accdialytikavaria u \accdialytika\accvaria u \"\`u \"`u}} + → \MakeUppercase{\accdialytikavaria u \accdialytika\accvaria u \"\`u \"`u}} \ensuregreek{\accpsilivaria w\ypogegrammeni{} \accpsili\accvaria w| \>\`w| \>`w| - \MakeUppercase{\accpsilivaria w\ypogegrammeni{} \accpsili\accvaria w| \>\`w| \>`w|}} + → \MakeUppercase{\accpsilivaria w\ypogegrammeni{} \accpsili\accvaria w| \>\`w| \>`w|}} \end{quotation} @@ -141,51 +137,51 @@ The mute iota is kept (as expected). single accent (named, [alias], short) \ensuregreek{\acctonos \textomega{} \accoxia \textomega{} \'\textomega{} - \MakeUppercase{\acctonos \textomega{} \accoxia \textomega{} \'\textomega{}}} + → \MakeUppercase{\acctonos \textomega{} \accoxia \textomega{} \'\textomega{}}} - \ensuregreek{\accvaria \textomega{} \`\textomega{} \MakeUppercase{\accvaria \textomega{} \`\textomega{}}} + \ensuregreek{\accvaria \textomega{} \`\textomega{} → \MakeUppercase{\accvaria \textomega{} \`\textomega{}}} - \ensuregreek{\accperispomeni \textomega{} \~\textomega{} \MakeUppercase{\accperispomeni \textomega{} \~\textomega{}}} + \ensuregreek{\accperispomeni \textomega{} \~\textomega{} → \MakeUppercase{\accperispomeni \textomega{} \~\textomega{}}} - \ensuregreek{\accdasia \textomega{} \<\textomega{} \MakeUppercase{\accdasia \textomega{} \<\textomega{}}} + \ensuregreek{\accdasia \textomega{} \<\textomega{} → \MakeUppercase{\accdasia \textomega{} \<\textomega{}}} - \ensuregreek{\accpsili \textomega{} \>\textomega{} \MakeUppercase{\accpsili \textomega{} \>\textomega{}}} + \ensuregreek{\accpsili \textomega{} \>\textomega{} → \MakeUppercase{\accpsili \textomega{} \>\textomega{}}} - \ensuregreek{\accdialytika \textupsilon{} \"\textupsilon{} \MakeUppercase{\accdialytika \textupsilon{} \"\textupsilon{}}} + \ensuregreek{\accdialytika \textupsilon{} \"\textupsilon{} → \MakeUppercase{\accdialytika \textupsilon{} \"\textupsilon{}}} - \ensuregreek{\textomega\ypogegrammeni{} \textomega| \MakeUppercase{\textomega\ypogegrammeni{} \textomega|}} + \ensuregreek{\textomega\ypogegrammeni{} \textomega| → \MakeUppercase{\textomega\ypogegrammeni{} \textomega|}} combined accents (name, name+name, short+short, short+char) \ensuregreek{\accdasiaperispomeni \textomega{} \accdasia\accperispomeni \textomega{} \<\~\textomega{} \~<\textomega{} - \MakeUppercase{\accdasiaperispomeni \textomega{} \accdasia\accperispomeni \textomega{} \<\~\textomega{} \~<\textomega{}}} + → \MakeUppercase{\accdasiaperispomeni \textomega{} \accdasia\accperispomeni \textomega{} \<\~\textomega{} \~<\textomega{}}} \ensuregreek{\accdasiavaria \textomega{} \accdasia\accvaria \textomega{} \<\`\textomega{} \<`\textomega{} - \MakeUppercase{\accdasiavaria \textomega{} \accdasia\accvaria \textomega{} \<\`\textomega{} \<`\textomega{}}} + → \MakeUppercase{\accdasiavaria \textomega{} \accdasia\accvaria \textomega{} \<\`\textomega{} \<`\textomega{}}} \ensuregreek{\accdasiaoxia \textomega{} \accdasia\accoxia \textomega{} \<\'\textomega{} \<'\textomega{} - \MakeUppercase{\accdasiaoxia \textomega{} \accdasia\accoxia \textomega{} \<\'\textomega{} \<'\textomega{}}} + → \MakeUppercase{\accdasiaoxia \textomega{} \accdasia\accoxia \textomega{} \<\'\textomega{} \<'\textomega{}}} \ensuregreek{\accpsiliperispomeni \textomega{} \accpsili\accperispomeni \textomega{} \>\~\textomega{} \~>\textomega{} - \MakeUppercase{\accpsiliperispomeni \textomega{} \accpsili\accperispomeni \textomega{} \>\~\textomega{} \~>\textomega{}}} + → \MakeUppercase{\accpsiliperispomeni \textomega{} \accpsili\accperispomeni \textomega{} \>\~\textomega{} \~>\textomega{}}} \ensuregreek{\accpsilioxia \textomega{} \accpsili\accoxia \textomega{} \>\'\textomega{} \>'\textomega{} - \MakeUppercase{\accpsilioxia \textomega{} \accpsili\accoxia \textomega{} \>\'\textomega{} \>'\textomega{}}} + → \MakeUppercase{\accpsilioxia \textomega{} \accpsili\accoxia \textomega{} \>\'\textomega{} \>'\textomega{}}} \ensuregreek{\accpsilivaria \textomega{} \accpsili\accvaria \textomega{} \>\`\textomega{} \>`\textomega{} - \MakeUppercase{\accpsilivaria \textomega{} \accpsili\accvaria \textomega{} \>\`\textomega{} \>`\textomega{}}} + → \MakeUppercase{\accpsilivaria \textomega{} \accpsili\accvaria \textomega{} \>\`\textomega{} \>`\textomega{}}} \ensuregreek{\accdialytikaperispomeni \textupsilon{} \accdialytika\accperispomeni \textupsilon{} \"\~\textupsilon{} \~"\textupsilon{} - \MakeUppercase{\accdialytikaperispomeni \textupsilon{} \accdialytika\accperispomeni \textupsilon{} \"\~\textupsilon{} \~"\textupsilon{}}} + → \MakeUppercase{\accdialytikaperispomeni \textupsilon{} \accdialytika\accperispomeni \textupsilon{} \"\~\textupsilon{} \~"\textupsilon{}}} \ensuregreek{\accdialytikatonos \textupsilon{} \accdialytika\acctonos \textupsilon{} \"\'\textupsilon{} \"'\textupsilon{} - \MakeUppercase{\accdialytikatonos \textupsilon{} \accdialytika\acctonos \textupsilon{} \"\'\textupsilon{} \"'\textupsilon{}}} + → \MakeUppercase{\accdialytikatonos \textupsilon{} \accdialytika\acctonos \textupsilon{} \"\'\textupsilon{} \"'\textupsilon{}}} \ensuregreek{\accdialytikavaria \textupsilon{} \accdialytika\accvaria \textupsilon{} \"\`\textupsilon{} \"`\textupsilon{} - \MakeUppercase{\accdialytikavaria \textupsilon{} \accdialytika\accvaria \textupsilon{} \"\`\textupsilon{} \"`\textupsilon{}}} + → \MakeUppercase{\accdialytikavaria \textupsilon{} \accdialytika\accvaria \textupsilon{} \"\`\textupsilon{} \"`\textupsilon{}}} \ensuregreek{\accpsilivaria \textomega\ypogegrammeni{} \accpsili\accvaria \textomega| \>\`\textomega| \>`\textomega| - \MakeUppercase{\accpsilivaria \textomega\ypogegrammeni{} \accpsili\accvaria \textomega| \>\`\textomega| \>`\textomega|}} + → \MakeUppercase{\accpsilivaria \textomega\ypogegrammeni{} \accpsili\accvaria \textomega| \>\`\textomega| \>`\textomega|}} \end{quotation} @@ -217,7 +213,7 @@ A dialytika must be placed on the second vowel if they are dropped: \accdasiaoxia\textalpha\textupsilon, \accdasiaoxia\textepsilon\textiota}% Named + LICR: -\ensuregreek{\Hiatus\ $\mapsto$ \MakeUppercase{\Hiatus}}. +\ensuregreek{\Hiatus\ → \MakeUppercase{\Hiatus}}. \renewcommand{\Hiatus}{\'\textalpha\textiota, \'\textalpha\textupsilon, @@ -226,7 +222,7 @@ Named + LICR: \'>\textalpha\textupsilon, \'>\textepsilon\textiota}% Short + LICR: -\ensuregreek{\Hiatus\ $\mapsto$ \MakeUppercase{\Hiatus}}. +\ensuregreek{\Hiatus\ → \MakeUppercase{\Hiatus}}. \renewcommand{\Hiatus}{\acctonos ai, \acctonos au, @@ -235,7 +231,7 @@ Short + LICR: \accdasiaoxia au, \accdasiaoxia ei}% Named + transliteration: -\ensuregreek{\Hiatus\ $\mapsto$ \MakeUppercase{\Hiatus}}. +\ensuregreek{\Hiatus\ → \MakeUppercase{\Hiatus}}. \renewcommand{\Hiatus}{\'ai, \'au, @@ -244,7 +240,7 @@ Named + transliteration: \'>au, \'>ei}% Short + transliteration: -\ensuregreek{\Hiatus\ $\mapsto$ \MakeUppercase{\Hiatus}}. +\ensuregreek{\Hiatus\ → \MakeUppercase{\Hiatus}}. In current TeXLive, the \emph{hiatus} feature keeps working with named accend macros but fails with short accent macros. diff --git a/language/greek/greek-fontenc/test-lgrenc.pdf b/language/greek/greek-fontenc/test-lgrenc.pdf index 6adb474ee8..2c4049d8be 100644 Binary files a/language/greek/greek-fontenc/test-lgrenc.pdf and b/language/greek/greek-fontenc/test-lgrenc.pdf differ diff --git a/language/greek/greek-fontenc/test-licr-input.pdf b/language/greek/greek-fontenc/test-licr-input.pdf index c9ac81f00d..5fdafab10a 100644 Binary files a/language/greek/greek-fontenc/test-licr-input.pdf and b/language/greek/greek-fontenc/test-licr-input.pdf differ diff --git a/language/greek/greek-fontenc/test-licr-input.tex b/language/greek/greek-fontenc/test-licr-input.tex index 4782f5146a..a1e6642630 100644 --- a/language/greek/greek-fontenc/test-licr-input.tex +++ b/language/greek/greek-fontenc/test-licr-input.tex @@ -57,22 +57,29 @@ \title{Test Greek LaTeX internal character representations (LICR macros)} \author{G\"unter Milde} -\date{2020/10/30} +\date{2023/03/08} \maketitle + +This document tests the compatibility of ``luainputenc'' and the Greek font +setup for TU and PU. It uses only ASCII input. + +See the source \texttt{test-inputenc.tex} for the input used in the examples. + +TODO: Compiling with LuaTeX fails: \texttt{tuenc-greek.def} uses +literal Unicode characters which is incompatible with legacy 8-bit encodings +defined via "luainputenc". + \tableofcontents \section{LICR input% \label{licr}} -The LaTeX internal character representation (LICR) is a verbose, -fail-safe 7-bit ASCII encoding that can be used unaltered under both, 8-bit -TeX and XeTeX/LuaTeX. Use cases are macro definitions and generated text. - -See the source of this document, -\texttt{test-inputenc.tex} for the input used -in the examples below. +The LaTeX internal character representation (LICR) is a verbose, fail-safe +7-bit ASCII encoding that can be used unaltered under both, 8-bit TeX (with +any ASCII-compatible input encoding) and XeTeX/LuaTeX. +Use cases are macro definitions and generated text. \subsection{Greek alphabet} @@ -689,5 +696,4 @@ non-standard accents or combined diacritics. \accdasia{ } }} - \end{document} diff --git a/language/greek/greek-fontenc/test-tuenc-greek.pdf b/language/greek/greek-fontenc/test-tuenc-greek.pdf index 9c46cbdb44..3a0837cdfc 100644 Binary files a/language/greek/greek-fontenc/test-tuenc-greek.pdf and b/language/greek/greek-fontenc/test-tuenc-greek.pdf differ diff --git a/language/greek/greek-fontenc/test-utf8-input.pdf b/language/greek/greek-fontenc/test-utf8-input.pdf deleted file mode 100644 index 46a3139369..0000000000 Binary files a/language/greek/greek-fontenc/test-utf8-input.pdf and /dev/null differ diff --git a/language/greek/greek-fontenc/test-utf8-input.tex b/language/greek/greek-fontenc/test-utf8-input.tex deleted file mode 100644 index 6e979fba2c..0000000000 --- a/language/greek/greek-fontenc/test-utf8-input.tex +++ /dev/null @@ -1,87 +0,0 @@ -% Test definitions for accents and composite accents in Greek -\RequirePackage{latexbug} -\documentclass[a4paper]{article} -% \pagestyle{empty} -\usepackage{lmodern} - -% Load encoding definitions (after font package) -\usepackage[LGR,T1]{fontenc} - - -% \usepackage{textalpha} % Greek script "everywhere"! -\usepackage[greek,english,provide=*]{babel} % Babel's Greek "ini" -% \usepackage[greek,english]{babel} % babel-greek - -\begin{document} - -\section*{Test upcasing of Greek characters with 8-bit TeX} - -The Greek and Coptic Unicode Block - -\newcommand{\GreekAndCoptic}{% - ͺ ; ΄ ΅ Ά · Έ Ή Ί Ό Ύ Ώ \\ - ΐ Α Β Γ Δ Ε Ζ Η Θ Ι Κ Λ Μ Ν Ξ Ο \\ - Π Ρ Σ Τ Υ Φ Χ Ψ Ω Ϊ Ϋ ά έ ή ί \\ - ΰ α β γ δ ε ζ η θ ι κ λ μ ν ξ ο \\ - π ρ ς σ τ υ φ χ ψ ω ϊ ϋ ό ύ ώ } -\begin{quote} - \selectlanguage{greek} - % \greekscript - \GreekAndCoptic -\end{quote} -% -MakeUppercase: -\begin{quote} - \selectlanguage{greek} - % \greekscript - \MakeUppercase{\GreekAndCoptic} -\end{quote} -% -% MakeLowercase: -% \begin{quote} -% \greekscript -% \MakeLowercase{\GreekAndCoptic} -% \end{quote} - - -Greek extended Unicode block - -\newcommand{\GreekExtended}{\raggedright - ἀ ἁ ἂ ἃ ἄ ἅ ἆ ἇ Ἀ Ἁ Ἂ Ἃ Ἄ Ἅ Ἆ Ἇ \\ - ἐ ἑ ἒ ἓ ἔ ἕ \ \ \ \ Ἐ Ἑ Ἒ Ἓ Ἔ Ἕ \\ - ἠ ἡ ἢ ἣ ἤ ἥ ἦ ἧ Ἠ Ἡ Ἢ Ἣ Ἤ Ἥ Ἦ Ἧ \\ - ἰ ἱ ἲ ἳ ἴ ἵ ἶ ἷ Ἰ Ἱ Ἲ Ἳ Ἴ Ἵ Ἶ Ἷ \\ - ὀ ὁ ὂ ὃ ὄ ὅ \ \ \ \ Ὀ Ὁ Ὂ Ὃ Ὄ Ὅ \\ - ὐ ὑ ὒ ὓ ὔ ὕ ὖ ὗ \ \ Ὑ \ \ Ὓ \ \ Ὕ \ \ Ὗ \\ - ὠ ὡ ὢ ὣ ὤ ὥ ὦ ὧ Ὠ Ὡ Ὢ Ὣ Ὤ Ὥ Ὦ Ὧ \\ - ὰ ά ὲ έ ὴ ή ὶ ί ὸ ό ὺ ύ ὼ ώ \\ - ᾀ ᾁ ᾂ ᾃ ᾄ ᾅ ᾆ ᾇ ᾈ ᾉ ᾊ ᾋ ᾌ ᾍ ᾎ ᾏ \\ - ᾐ ᾑ ᾒ ᾓ ᾔ ᾕ ᾖ ᾗ ᾘ ᾙ ᾚ ᾛ ᾜ ᾝ ᾞ ᾟ \\ - ᾠ ᾡ ᾢ ᾣ ᾤ ᾦ ᾧ ᾥ ᾨ ᾩ ᾪ ᾫ ᾬ ᾭ ᾮ ᾯ \\ - ᾰ ᾱ ᾲ ᾳ ᾴ \ \ ᾶ ᾷ Ᾰ Ᾱ Ὰ Ά ᾼ ᾽ ι ᾿ \\ - ῀ ῁ ῂ ῃ ῄ \ \ ῆ ῇ Ὲ Έ Ὴ Ή ῌ ῍ ῏ \\ - ῐ ῑ ῒ ΐ \ \ \ \ ῖ ῗ Ῐ Ῑ Ὶ Ί \ \ ῝ ῟ \\ - ῠ ῡ ῢ ΰ \ \ \ \ ῤ ῥ ῦ ῧ Ὺ Ύ Ῥ ῭ ` \\ - \ \ \ \ ῲ ῳ ῴ \ \ ῶ ῷ Ὸ Ό Ὼ Ώ ῼ ´ } - -\begin{quote} - \selectlanguage{greek} - \greekscript - \GreekExtended -\end{quote} -% -MakeUppercase: -\begin{quote} - \selectlanguage{greek} - \greekscript - \MakeUppercase{\GreekExtended} -\end{quote} - -% MakeLowercase: -% \begin{quote} -% % \selectlanguage{greek} -% \greekscript -% \MakeLowercase{\GreekExtended} -% \end{quote} - -\end{document} diff --git a/language/greek/greek-fontenc/textalpha-doc-tu.pdf b/language/greek/greek-fontenc/textalpha-doc-tu.pdf index 068a0005f3..5f2459b90c 100644 Binary files a/language/greek/greek-fontenc/textalpha-doc-tu.pdf and b/language/greek/greek-fontenc/textalpha-doc-tu.pdf differ diff --git a/language/greek/greek-fontenc/textalpha-doc.pdf b/language/greek/greek-fontenc/textalpha-doc.pdf index ee2aedd801..bbe6d82713 100644 Binary files a/language/greek/greek-fontenc/textalpha-doc.pdf and b/language/greek/greek-fontenc/textalpha-doc.pdf differ diff --git a/language/greek/greek-fontenc/textalpha.sty b/language/greek/greek-fontenc/textalpha.sty index 851f39dc95..97b7423fc7 100644 --- a/language/greek/greek-fontenc/textalpha.sty +++ b/language/greek/greek-fontenc/textalpha.sty @@ -3,7 +3,10 @@ % Greek symbols in text % ********************* % -% :Copyright: © 2010 Günter Milde +% :Version: 2.2.1 (changelog_) +% +% :Copyright: © 2010, 2023 Günter Milde +% % :Licence: This work may be distributed and/or modified under the % conditions of the `LaTeX Project Public License`_, either % version 1.3 of this license or any later version. @@ -11,46 +14,6 @@ % :Abstract: Provide a set of ``\text*`` macros for Greek characters % in text mode. % -% :Identification: -% :: - -\NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{textalpha} -[2023/02/28 2.2 macros for Greek letters in text] - -% .. note:: -% -% The package was renamed from `textgreek` to `textalpha` to prevent -% confusion with the textgreek_ package by Leonard Michlmayr. -% -% -% Changelog: -% .. class:: borderless -% -% ====== =========== ======================================================== -% 0.1 2010-06-16 initial version -% 0.2 2012-06-27 support for compound Unicode definitions outside LGR -% 0.3 2013-05-03 new accent macro names with ``lgrxenc.def`` 0.7 -% 0.4 2013-05-28 use ``lgrenc.def`` from greek-fontenc. -% 0.5 2013-09-11 move to greek-fontenc_, -% .. support XeTeX/LuaTeX, add breve below accents. -% 0.11 2013-11-28 compatibility with Xe/LuaTeX in 8-bit mode. -% 0.12 2014-12-12 fix auxiliary macro names, -% define symbol macros for breathing accents. -% 0.13 2015-09-04 Option normalize-symbols_: support for symbol variants. -% .. Option keep-semicolon_: use semicolon as erotimatiko -% in LGR. -% 0.13.2 2016-02-05 Support for standard Unicode text font encoding "TU" -% (new in fontspec v2.5a). -% 0.13.4 2019-07-11 Auxiliary command for subscript iota. -% 0.14 2020-02-28 Update test for Unicode fonts. -% Rename ``greek-euenc`` to ``tuenc-greek``. -% Don't use ``\LastDeclaredEncoding``. -% 1.0 2020-09-25 Also set ``\encodingdefault`` with ``\greekscript``. -% 2.0 2020-10-30 Load ``tuenc-greek.def`` with Xe/LuaTeX by default. -% .. Load ``puenc-greek.def`` if used with `hyperref`_. -% 2.2 2023-02-28 Don't use ``\makeatother`` in ``\AtBeginDocument``. -% ====== =========== ======================================================== % % .. contents:: % @@ -112,13 +75,13 @@ % % \usepackage{textalpha} % -% eventually with the options_ to normalize symbols variants +% eventually with the options to `normalize symbols variants`_ % % .. code:: latex % % \usepackage[normalize-symbols]{textalpha} % -% and/or to use the semicolon as erotimatiko_ also in 8-bit TeX +% and/or to `use the semicolon as erotimatiko`_ also in 8-bit TeX % % .. code:: latex % @@ -142,9 +105,20 @@ % Implementation % ============== % +% Identification +% -------------- +% :: + +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{textalpha} + [2023/03/08 2.2.1 macros for Greek letters in text] + + % Options % ------- % +% .. _normalize symbols variants: +% % normalize-symbols % """"""""""""""""" % @@ -171,6 +145,9 @@ \newif\iftextalpha@normalizeSymbols \DeclareOption{normalize-symbols}{\textalpha@normalizeSymbolstrue} + +% .. _use the semicolon as erotimatiko: +% % keep-semicolon % """""""""""""" % @@ -194,8 +171,7 @@ \ProcessOptions\relax -% .. _font encoding: -% + % Symbol macros for breathings % ---------------------------- % @@ -215,6 +191,9 @@ \DeclareTextCompositeCommand{\<}{#1}{~}{\accdasiaperispomeni} } + +% .. _font encoding: +% % Font encodings % -------------- % @@ -296,6 +275,7 @@ \DeclareTextSymbol{\textmicro}{TS1}{181} % micro sign \DeclareTextSymbolDefault{\textmicro}{TS1} + % Default declarations % -------------------- % @@ -407,6 +387,7 @@ \DeclareTextSymbolDefault{\textpsi}{LGR} \DeclareTextSymbolDefault{\textomega}{LGR} + % Additional Greek symbols % """""""""""""""""""""""" % @@ -450,6 +431,7 @@ \DeclareTextSymbolDefault{\textaristerikeraia}{LGR} % ͵ (Aristeri keraia) \DeclareTextSymbolDefault{\textnumeralsignlowergreek}{LGR} % (puenc.def) + % variant shape symbols % ''''''''''''''''''''' % @@ -564,7 +546,7 @@ % ... % % For the same reason default declarations should never come last since -% they are implemented as a special encoding themselves (with the name ?). +% they are implemented as a special encoding themselves (with the name "?"). % Specifying them last would simply mean to make those encoding-specific % commands equally inefficient in all encodings. % @@ -572,6 +554,38 @@ % subsection "The order of declarations". % % +% Changelog +% ========= +% +% .. class:: borderless +% +% ====== =========== ======================================================== +% 0.1 2010-06-16 initial version +% 0.2 2012-06-27 support for compound Unicode definitions outside LGR +% 0.3 2013-05-03 new accent macro names with ``lgrxenc.def`` 0.7 +% 0.4 2013-05-28 use ``lgrenc.def`` from greek-fontenc. +% 0.5 2013-09-11 move to greek-fontenc_, +% .. support XeTeX/LuaTeX, add breve below accents. +% 0.11 2013-11-28 compatibility with Xe/LuaTeX in 8-bit mode. +% 0.12 2014-12-12 fix auxiliary macro names, +% define symbol macros for breathing accents. +% 0.13 2015-09-04 Option normalize-symbols_: support for symbol variants. +% .. Option keep-semicolon_: use semicolon as erotimatiko +% in LGR. +% 0.13.2 2016-02-05 Support for standard Unicode text font encoding "TU" +% (new in fontspec v2.5a). +% 0.13.4 2019-07-11 Auxiliary command for subscript iota. +% 0.14 2020-02-28 Update test for Unicode fonts. +% Rename ``greek-euenc`` to ``tuenc-greek``. +% Don't use ``\LastDeclaredEncoding``. +% 1.0 2020-09-25 Also set ``\encodingdefault`` with ``\greekscript``. +% 2.0 2020-10-30 Load ``tuenc-greek.def`` with Xe/LuaTeX by default. +% .. 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. +% ====== =========== ======================================================== +% +% % .. References % ---------- % .. _LaTeX Project Public License: http://www.latex-project.org/lppl.txt diff --git a/language/greek/greek-fontenc/textalpha.sty.html b/language/greek/greek-fontenc/textalpha.sty.html index c54289ce83..dce522aadb 100644 --- a/language/greek/greek-fontenc/textalpha.sty.html +++ b/language/greek/greek-fontenc/textalpha.sty.html @@ -4,7 +4,7 @@ - + textalpha.sty