summaryrefslogtreecommitdiff
path: root/language
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2023-03-22 03:01:52 +0000
committerNorbert Preining <norbert@preining.info>2023-03-22 03:01:52 +0000
commitcbbc6dbdbf08b70a7e7d8d184ca51c57c835415a (patch)
tree97ded8ca7095c54f6ff9b661be6b93f80bf792c4 /language
parentde9a0afa47c2ee09e1d4704821cad2b231d36b3f (diff)
CTAN sync 202303220301
Diffstat (limited to 'language')
-rw-r--r--language/greek/greek-inputenc/README.md37
-rw-r--r--language/greek/greek-inputenc/greek-inputenc-doc.html (renamed from language/greek/greek-inputenc/greek-inputenc.html)40
-rw-r--r--language/greek/greek-inputenc/greek-inputenc-doc.rst208
-rw-r--r--language/greek/greek-inputenc/greek-utf8.pdfbin457627 -> 436537 bytes
-rw-r--r--language/greek/greek-inputenc/greek-utf8.tex546
-rw-r--r--language/greek/greek-inputenc/inputenc-iso-8859-7.pdfbin200801 -> 200801 bytes
-rw-r--r--language/greek/greek-inputenc/iso-8859-7.def6
-rw-r--r--language/greek/greek-inputenc/lgrenc.dfu46
-rw-r--r--language/greek/greek-inputenc/lgrenc.dfu.html43
9 files changed, 480 insertions, 446 deletions
diff --git a/language/greek/greek-inputenc/README.md b/language/greek/greek-inputenc/README.md
index 57434e8308..8189655bf3 100644
--- a/language/greek/greek-inputenc/README.md
+++ b/language/greek/greek-inputenc/README.md
@@ -1,17 +1,19 @@
greek-inputenc
==============
-Input encoding definition files for the Greek script
-----------------------------------------------------
-This package extends *UTF-8* support for 8-bit TeX engines by [inputenc]
-to include Greek letters and symbols and also provides definitions for the
-legacy *iso-8859-7* and *macgreek* encodings.
+Input encoding definition files for the Greek script.
-**Version**: 1.8.2 ([changelog](greek-inputenc.html#changelog))
+This package extends *UTF-8* support for 8-bit TeX engines to include
+Greek letters and symbols.
+It also provides definitions for the legacy
+[iso-8859-7](https://en.wikipedia.org/wiki/ISO/IEC_8859-7) and
+[macgreek](https://en.wikipedia.org/wiki/MacGreek_encoding) encodings.
+
+**Version**: 1.9
**Copyright**: © 1999 Dimitrios Filippou,
© 2000 Apostolos Syropoulos,
- © 2013 - 2023 Günter Milde <milde@users.sf.net>
+ © 2013 - 2023 Günter Milde
**License**:
This work may be distributed and/or modified under the conditions of the
@@ -22,7 +24,22 @@ legacy *iso-8859-7* and *macgreek* encodings.
**Latest Release**: <https://ctan.org/pkg/greek-inputenc>
-**Requires**: [greek-fontenc](https://ctan.org/pkg/greek-fontenc)
-See [greek-inputenc.html](greek-inputenc.html)
-([greek-inputenc.rst](greek-inputenc.rst)) for a detailed overview.
+Usage
+-----
+
+Use [Babel's ``greek`` option](https://ctan.org/pkg/babel-greek),
+[textalpha][textalpha.sty], or [alphabeta][alphabeta.sty]
+to activate support for the Greek script in text. By default,
+this loads the definitions for UTF-8 encoded Greek characters.
+
+See the **documentation** for caveats, alternatives, and details:
+
+* [greek-inputenc-doc.html](http://mirrors.ctan.org/language/greek/greek-inputenc/greek-inputenc-doc.html)
+ (🡥CTAN)
+* [greek-inputenc-doc.rst](https://codeberg.org/milde/greek-tex/src/branch/master/greek-inputenc/greek-inputenc-doc.rst)
+ (🡥codeberg.org)
+* `texdoc greek-inputenc` (local TeXLive installation)
+
+[textalpha.sty]: http://mirrors.ctan.org/language/greek/greek-fontenc/textalpha.sty.html
+[alphabeta.sty]: http://mirrors.ctan.org/language/greek/greek-fontenc/alphabeta.sty.html
diff --git a/language/greek/greek-inputenc/greek-inputenc.html b/language/greek/greek-inputenc/greek-inputenc-doc.html
index 20afa23464..cd83555dcd 100644
--- a/language/greek/greek-inputenc/greek-inputenc.html
+++ b/language/greek/greek-inputenc/greek-inputenc-doc.html
@@ -792,7 +792,9 @@ mstyle.mathscr, mi.mathscr {
<main id="greek-inputenc">
<h1 class="title">greek-inputenc</h1>
<p class="subtitle" id="greek-input-encoding-definition-files">Greek input encoding definition files</p>
-<dl class="docinfo simple">
+<dl class="docinfo">
+<dt class="version">Version<span class="colon">:</span></dt>
+<dd class="version">1.9 (<a class="reference internal" href="#changelog">changelog</a>)</dd>
<dt class="author">Author<span class="colon">:</span></dt>
<dd class="author"><p>Apostolos Syropoulos, Dimitrios Filippou, Günter Milde</p></dd>
<dt class="copyright">Copyright<span class="colon">:</span></dt>
@@ -814,7 +816,7 @@ version 1.3 of this license or any later version.</p>
<div class="topic abstract" role="doc-abstract">
<p class="topic-title">Abstract</p>
<p>This package provides input encoding definition
-files for the <a class="reference external" href="https://en.wikipedia.org/wiki/Greek_alphabet">Greek script</a> for use with <a class="reference external" href="https://ctan.org/pkg/inputenc">inputenc</a>.</p>
+files for the <a class="reference external" href="https://en.wikipedia.org/wiki/Greek_alphabet">Greek script</a>.</p>
</div>
<nav class="contents" id="contents" role="doc-toc">
<p class="topic-title">Contents</p>
@@ -858,7 +860,7 @@ kerning between accented characters.</p>
<dd><p><a class="reference external" href="inputenc-iso-8859-7.pdf">inputenc-iso-8859-7.pdf</a> (basic test)</p>
</dd>
</dl>
-<p>HTML documentation was generated from the literate source with <a class="reference external" href="https://pypi.org/project/pylit/">PyLit</a>
+<p>HTML documentation is generated from the literate sources with <a class="reference external" href="https://pypi.org/project/pylit/">PyLit</a>
and from <a class="reference external" href="https://docutils.sourceforge.io/rst.html">reStructuredText</a> with <a class="reference external" href="https://docutils.sourceforge.io">Docutils</a>.</p>
</section>
<section id="installation">
@@ -877,13 +879,13 @@ working directory (e.g. for testing).</p></li>
<section id="usage">
<h2><a class="toc-backref" href="#toc-entry-3" role="doc-backlink">Usage</a></h2>
<p>The April 2018 LaTeX release changed the default encoding for 8-bit LaTeX
-from 7-bit ASCII to utf-8. Hence, the <span class="docutils literal"><span class="pre">\usepackage[&lt;encoding&gt;]{inputenc}</span></span>
+from 7-bit ASCII to UTF-8. Hence, the <span class="docutils literal"><span class="pre">\usepackage[&lt;encoding&gt;]{inputenc}</span></span>
command is only required with the legacy 8-bit encodings. <a class="citation-reference" href="#ltnews28" id="citation-reference-1" role="doc-biblioref">[ltnews28]</a></p>
<p>However, literal Unicode characters are only set up, if they are
supported by a declared font encoding. This package works with the LGR
font encoding (requires <a class="reference external" href="https://ctan.org/pkg/greek-fontenc">greek-fontenc</a>). Specify the LGR font encoding
with any combination of <a class="reference external" href="https://ctan.org/pkg/fontenc">fontenc</a>, the “greek” option for <a class="reference external" href="https://ctan.org/pkg/babel">Babel</a>, or the
-<a class="reference external" href="http://mirrors.ctan.org/language/greek/greek-fontenc/textalpha.sty.html">textalpha</a> or <a class="reference external" href="http://mirrors.ctan.org/language/greek/greek-fontenc/alphabeta.sty.html">alphabeta</a> packages, e.g.</p>
+<a class="reference external" href="https://mirrors.ctan.org/language/greek/greek-fontenc/textalpha.sty.html">textalpha</a> or <a class="reference external" href="https://mirrors.ctan.org/language/greek/greek-fontenc/alphabeta.sty.html">alphabeta</a> packages, e.g.</p>
<pre class="literal-block">\usepackage[LGR,T1]{fontenc}</pre>
<p>or</p>
<pre class="literal-block">\usepackage{textalpha}
@@ -898,14 +900,13 @@ e.g. by setting the <a class="reference external" href="https://ctan.org/pkg/bab
is the capital of Greece.</pre>
<p>This is a generic feature of 8-bit LaTeX – an equivalent restriction
holds for the Cyrillic script.</p>
-<p>With the <a class="reference external" href="http://mirrors.ctan.org/language/greek/greek-fontenc/textalpha.sty.html">textalpha</a> or <a class="reference external" href="http://mirrors.ctan.org/language/greek/greek-fontenc/alphabeta.sty.html">alphabeta</a> packages (provided as part of
+<p>With the <a class="reference external" href="https://mirrors.ctan.org/language/greek/greek-fontenc/textalpha.sty.html">textalpha</a> or <a class="reference external" href="https://mirrors.ctan.org/language/greek/greek-fontenc/alphabeta.sty.html">alphabeta</a> packages (provided as part of
<a class="reference external" href="https://ctan.org/pkg/greek-fontenc">greek-fontenc</a>), Greek Unicode literals can be used without special
markup also in non-Greek documents (with some <a class="reference external" href="https://mirrors.ctan.org/language/greek/greek-fontenc/textalpha.sty.html#limitations">limitations</a>).</p>
<section id="warning">
<h3><a class="toc-backref" href="#toc-entry-4" role="doc-backlink">Warning</a></h3>
<p>LGR is no “standard font encoding”. Latin characters and some other ASCII
-symbols are mapped to Greek equivalents if LGR is the active font encoding.
-(See <a class="reference external" href="https://mirrors.ctan.org/language/babel/contrib/greek/usage.pdf">usage.pdf</a> for a description of this Latin-Greek transliteration.)</p>
+symbols are <a class="reference external" href="https://ctan.org/tex-archive/macros/latex/contrib/babel-contrib/greek/babel-greek-doc.html#lgr-latin-transliteration">mapped to Greek equivalents</a> if LGR is the active font encoding.</p>
<p>This means you need an explicit font-encoding switch for Latin words and
abbreviations in Greek text, e.g., not:</p>
<pre class="literal-block">\foreignlanguage{greek}{ηία αντίσταση 750 kΩ}</pre>
@@ -914,14 +915,14 @@ abbreviations in Greek text, e.g., not:</p>
<p>Special care is also required with the <strong>question mark characters</strong>:</p>
<ul class="simple">
<li><p>The Unicode standard says character <span class="docutils literal">003B SEMICOLON</span> (and not 037E) is
-the preferred character for <cite>Greek question mark</cite>.</p></li>
-<li><p>The LGR font encoding maps the semicolon to a middle dot (ano teleia),
-while the Latin question mark is mapped to the erotimatiko.</p></li>
+the preferred character for a <em>Greek question mark</em> (<em>erotimatiko</em>).</p></li>
+<li><p>The LGR font encoding maps the semicolon to a middle dot (; → ·),
+while the Latin question mark is mapped to the <em>erotimatiko</em> (? → ;).</p></li>
</ul>
-<p>As a result, only the deprecated character <span class="docutils literal">037E GREEK QUESTION MARK</span>
-works with both, Xe/LuaTeX and 8-bit TeX.</p>
-<p>Alternatively, the <cite>textalpha</cite> and <cite>alphabeta</cite> packages from <a class="reference external" href="https://ctan.org/pkg/greek-fontenc">greek-fontenc</a>
-can be loaded with the “<a class="reference external" href="https://mirrors.ctan.org/language/greek/greek-fontenc/textalpha.sty.html#keep-semicolon">keep-semicolon</a>” option.</p>
+<p><a class="reference external" href="https://ctan.org/pkg/babel-greek">Babel-greek</a> provides the <a class="reference external" href="https://mirrors.ctan.org/macros/latex/contrib/babel-contrib/greek/babel-greek.pdf#page=3">“keep-semicolon” language attribute</a> and
+the <cite>textalpha</cite> and <cite>alphabeta</cite> packages from <a class="reference external" href="https://ctan.org/pkg/greek-fontenc">greek-fontenc</a>
+the <a class="reference external" href="https://mirrors.ctan.org/language/greek/greek-fontenc/textalpha.sty.html#keep-semicolon">“keep-semicolon” option</a> to allow the use of the ASCII-semicolon
+as <em>erotimatiko</em> (; → ;).</p>
</section>
</section>
<section id="changelog">
@@ -1008,6 +1009,15 @@ the Greek numeral signs.</p></td>
<td><p>2023-03-02</p></td>
<td><p>Next try to fix links.</p></td>
</tr>
+<tr><td><p>1.9</p></td>
+<td><p>2023-03-21</p></td>
+<td><p>Empty argument instead of space for “spacing accents”.</p></td>
+</tr>
+<tr><td><!-- -->
+</td>
+<td></td>
+<td><p>Documentation update.</p></td>
+</tr>
</tbody>
</table>
</section>
diff --git a/language/greek/greek-inputenc/greek-inputenc-doc.rst b/language/greek/greek-inputenc/greek-inputenc-doc.rst
new file mode 100644
index 0000000000..cf98b01091
--- /dev/null
+++ b/language/greek/greek-inputenc/greek-inputenc-doc.rst
@@ -0,0 +1,208 @@
+greek-inputenc
+##############
+Greek input encoding definition files
+*************************************
+
+:Version: 1.9 (changelog_)
+:Author: Apostolos Syropoulos, Dimitrios Filippou, Günter Milde
+:Copyright: © 1999 Dimitrios Filippou,
+ © 2000 Apostolos Syropoulos,
+ © 2013, 2023 Günter Milde <milde@users.sf.net>
+: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.
+:Homepage: https://codeberg.org/milde/greek-tex
+:Latest Release: https://ctan.org/pkg/greek-inputenc
+:Abstract: This package provides input encoding definition
+ files for the `Greek script`_.
+
+.. contents::
+
+
+Files
+=====
+
+Input encoding definitions:
+
+`<lgrenc.dfu>`_: `Greek UTF-8 support with inputenc <lgrenc.dfu.html>`_
+ Input encoding file for UTF-8 comprising Greek letters and other
+ symbols present in the LGR encoding.
+
+`<iso-8859-7.def>`_
+ Greek input encoding file for `ISO 8859-7`_ by Apostolos Syropoulos.
+
+`<macgreek.def>`_
+ Greek input encoding file for Macintosh (ELOT 823) by Dimitrios Filippou.
+
+ This file translates to a Latin transliteration particular to the LGR
+ font encoding. Drawbacks include: Latin characters in PDF strings
+ (hyperref_ bookmarks and TOC sidebar, cf. `Greek and hyperref`__), no
+ kerning between accented characters.
+
+Test examples and output:
+
+`<greek-utf8.tex>`_
+ `<greek-utf8.pdf>`_ (comprehensive example)
+`<inputenc-iso-8859-7.tex>`_
+ `<inputenc-iso-8859-7.pdf>`_ (basic test)
+
+__ https://mirrors.ctan.org/language/greek/greek-fontenc/hyperref-with-greek.pdf
+
+HTML documentation is generated from the literate sources with PyLit_
+and from reStructuredText_ with Docutils_.
+
+
+Installation
+============
+
+If possible, get this package from your distribution using its installation
+manager.
+
+Otherwise, make sure LaTeX can find the files ending in ``.def`` and
+``.dfu``:
+
+* Download and unpack the package or just the required file(s).
+
+* Copy, move, or link the files to a suitable place in the `TeX Directory
+ Structure` (TDS_) and run ``texhash``, or place them in the current
+ working directory (e.g. for testing).
+
+Usage
+=====
+
+The April 2018 LaTeX release changed the default encoding for 8-bit LaTeX
+from 7-bit ASCII to UTF-8. Hence, the ``\usepackage[<encoding>]{inputenc}``
+command is only required with the legacy 8-bit encodings. [ltnews28]_
+
+However, literal Unicode characters are only set up, if they are
+supported by a declared font encoding. This package works with the LGR
+font encoding (requires greek-fontenc_). Specify the LGR font encoding
+with any combination of fontenc_, the "greek" option for Babel_, or the
+textalpha_ or alphabeta_ packages, e.g. ::
+
+ \usepackage[LGR,T1]{fontenc}
+
+or ::
+
+ \usepackage{textalpha}
+ \usepackage[greek,english]{babel}
+
+See `<greek-utf8.tex>`_ for an example.
+
+-------------------------------------------------------------------------
+
+By default, text containing Greek Unicode characters must be marked up
+with a command that selects a font encoding supporting the Greek script,
+e.g. by setting the Babel_ language to ``greek`` or ``polutonikogreek`` ::
+
+ Athens (Greek: \foreignlanguage{greek}{Αθήνα};
+ Ancient Greek: \foreignlanguage{greek}{Ἀθῆναι})
+ is the capital of Greece.
+
+This is a generic feature of 8-bit LaTeX -- an equivalent restriction
+holds for the Cyrillic script.
+
+With the textalpha_ or alphabeta_ packages (provided as part of
+greek-fontenc_), Greek Unicode literals can be used without special
+markup also in non-Greek documents (with some limitations_).
+
+
+Warning
+-------
+
+LGR is no "standard font encoding". Latin characters and some other ASCII
+symbols are `mapped to Greek equivalents`__ if LGR is the active font encoding.
+
+This means you need an explicit font-encoding switch for Latin words and
+abbreviations in Greek text, e.g., not::
+
+ \foreignlanguage{greek}{ηία αντίσταση 750 kΩ}
+
+but ::
+
+ \foreignlanguage{greek}{ηία αντίσταση 750 \ensureascii{k}Ω}
+
+Special care is also required with the **question mark characters**:
+
+* The Unicode standard says character ``003B SEMICOLON`` (and not 037E) is
+ the preferred character for a *Greek question mark* (*erotimatiko*).
+* The LGR font encoding maps the semicolon to a middle dot (; → ·),
+ while the Latin question mark is mapped to the *erotimatiko* (? → ;).
+
+Babel-greek_ provides the `"keep-semicolon" language attribute`_ and
+the `textalpha` and `alphabeta` packages from greek-fontenc_
+the `"keep-semicolon" option`_ to allow the use of the ASCII-semicolon
+as *erotimatiko* (; → ;).
+
+__ https://ctan.org/tex-archive/macros/latex/contrib/babel-contrib/greek/
+ babel-greek-doc.html#lgr-latin-transliteration
+
+
+Changelog
+=========
+
+.. class:: borderless
+
+===== =========== =============================================================
+1.3 2013-05-17 New maintainer.
+.. Unicode support with the standard "utf8" option.
+1.4 2013-07-16 Bugfix for GREEK SMALL LETTER RHO WITH PSILI/DASIA.
+.. Drop "greek" from macro names for ancient characters.
+.. ``\ypogegrammeni`` and ``\prosgegrammeni`` instead of ``|``.
+1.4.1 2013-07-18 Bugfix: wrong breathings psilioxia -> dasiaoxia.
+1.5 2014-09-14 Use named accent macros for Greek accents.
+.. Documentation update (warn of ``;``-conversion).
+1.5.1 2015-06-04 Fix definition of spacing diacritical characters in utf8.dfu.
+1.6 2015-08-05 Fix output of accented characters with "textalpha" if the
+ current font encoding is not LGR (wrap in \ensuregreek).
+.. Map GREEK ... SYMBOL characters.
+1.7 2019-07-11 Use LICR macros instead of transliteration and remove
+ ``\textbullet`` substitution character from iso-8859-7.def.
+ (Missing characters will now result in the standard
+ ``inputenc`` error message.)
+1.8 2023-02-21 Add definition for capital koppa to ``lgrenc.dfu``.
+.. Use ``\ypogegrammeni`` for mute iota also with capitals.
+.. Use ``\textdexiakeraia`` and ``\textaristerikeraia`` for
+ the Greek numeral signs.
+1.8.1 2023-02-23 Fix broken links in the documentation.
+1.8.2 2023-03-02 Next try to fix links.
+1.9 2023-03-21 Empty argument instead of space for "spacing accents".
+.. Documentation update.
+===== =========== =============================================================
+
+
+References
+==========
+
+.. [ltnews28] LaTeX Project Team `LaTeX News 28`, April 2018.
+ https://www.latex-project.org/news/latex2e-news/ltnews28.pdf
+
+.. _ISO 8859-7: https://en.wikipedia.org/wiki/ISO/IEC_8859-7
+
+.. _LaTeX Project Public License: https://www.latex-project.org/lppl.txt
+.. _Greek script: https://en.wikipedia.org/wiki/Greek_alphabet
+.. _PyLit: https://pypi.org/project/pylit/
+.. _reStructuredText: https://docutils.sourceforge.io/rst.html
+.. _Docutils: https://docutils.sourceforge.io
+.. _TDS: https://www.tex.ac.uk/cgi-bin/texfaq2html?label=tds
+
+.. _babel: https://ctan.org/pkg/babel
+.. _babel-greek: https://ctan.org/pkg/babel-greek
+.. _fontenc: https://ctan.org/pkg/fontenc
+.. _greek-fontenc: https://ctan.org/pkg/greek-fontenc
+.. _hyperref: https://ctan.org/pkg/hyperref
+.. _ibycus-babel: https://ctan.org/pkg/ibycus-babel
+.. _inputenc: https://ctan.org/pkg/inputenc
+.. _"keep-semicolon" language attribute:
+ https://mirrors.ctan.org/macros/latex/contrib/babel-contrib/greek/
+ babel-greek.pdf#page=3
+.. _alphabeta:
+ https://mirrors.ctan.org/language/greek/greek-fontenc/alphabeta.sty.html
+.. _textalpha:
+ https://mirrors.ctan.org/language/greek/greek-fontenc/textalpha.sty.html
+.. _"keep-semicolon" option:
+ https://mirrors.ctan.org/language/greek/greek-fontenc/textalpha.sty.html
+ #keep-semicolon
+.. _limitations:
+ https://mirrors.ctan.org/language/greek/greek-fontenc/textalpha.sty.html
+ #limitations
diff --git a/language/greek/greek-inputenc/greek-utf8.pdf b/language/greek/greek-inputenc/greek-utf8.pdf
index 9fd9e19032..8a3de9436a 100644
--- a/language/greek/greek-inputenc/greek-utf8.pdf
+++ b/language/greek/greek-inputenc/greek-utf8.pdf
Binary files differ
diff --git a/language/greek/greek-inputenc/greek-utf8.tex b/language/greek/greek-inputenc/greek-utf8.tex
index b6977496ec..0e6248e588 100644
--- a/language/greek/greek-inputenc/greek-utf8.tex
+++ b/language/greek/greek-inputenc/greek-utf8.tex
@@ -32,30 +32,36 @@
\ProvideTextCommandDefault{\ensuregreek}[1]{\leavevmode{\greekscript #1}}
\providecommand{\ensureascii}[1]{{\fontencoding{T1}\selectfont #1}}
+
\begin{document}
-\title{Greek Unicode with 8-bit TeX and \emph{inputenc}}
+\title{Greek Unicode with 8-bit TeX}
\author{Günter Milde}
\maketitle
\begin{abstract}
-The definitions in \texttt{lgrenc.dfu} provide UTF-8 support for
-the Greek script based on \emph{inputenc} and the \emph{LaTeX internal
-character representation} macros (LICRs) defined in the \emph{greek-fontenc}
-package.
+\noindent
+The definitions in \texttt{lgrenc.dfu} provide UTF-8 support for the Greek
+script based on the \emph{LaTeX internal character representation} macros
+(LICRs) defined in the \emph{greek-fontenc} package.
\end{abstract}
-\section{Requirements}
+\tableofcontents
+
+\section{Introduction}
-The \href{https://ctan.org/pkg/inputenc}{\emph{inputenc}} standard
-package enables the use of non-ASCII characters with 8-bit TeX. However, it
-misses definitions for Greek characters. The \emph{greek-inputenc} package
-extends \emph{inputenc} to allow the use of Greek literals in the document
-source.
+The default input encoding for 8-bit LaTeX changed from 7-bit ASCII to UTF-8
+in April 2018.\footnote{%
+ The XeTeX and LuaTeX engines use UTF-8 as input, internal, and font
+ encoding. They do not require (and, except in 8-bit compatibility mode,
+ do not work with) the and \emph{greek-inputenc} package.}
+However, the standard setup misses definitions for Greek Unicode characters.
+\emph{Greek-inputenc} adds definitions to allow the use of
+literal characters for Greek letters and symbols in the document source.
-As with all \emph{inputenc} definitions, this only works if the active font
-encoding supports the characters. For the Greek script, this is usually the
-non-standard \emph{LGR} font encoding set up by
+As with all input encoding definitions, this only works if the active font
+encoding supports the characters.
+For the Greek script, this is usually the \emph{LGR} font encoding set up by
\href{https://ctan.org/pkg/greek-fontenc}{\emph{greek-fontenc}}.
% e.g. Π produces:
% ! LaTeX Error: Command \textPi unavailable in encoding T1.
@@ -64,99 +70,93 @@ non-standard \emph{LGR} font encoding set up by
\section{Usage}
-There are several alternatives to activate Greek Unicode input for 8-bit TeX%
-\footnote{
- The XeTeX and LuaTeX engines use utf8 as native input encoding. They do
- not require (and, except in 8-bit compatibility mode, do not work with)
- the \emph{inputenc} and \emph{greek-inputenc} packages.}
-%
-(see also the source document \url{greek-utf8.tex}):
-
+Since 2018, it is no longer necessary to load the \emph{inputenc} package
+for UTF-8 encoded sources.\footnote{%
+ The legacy input encodings \emph{iso-8859-7} and
+ \emph{macgreek} are selected by giving them as options to the
+ \href{https://ctan.org/pkg/inputenc}{\emph{inputenc}} package.}
+The character definitions in the file \texttt{lgrenc.dfu} are automatically
+loaded, if the LGR font encoding is loaded by one of the following
+alternatives:
\begin{itemize}
-\item
-Define the LGR font encoding and the UTF8 input encoding (the order does not
-matter), e.g.,
-%
-\begin{verbatim}
- \usepackage[T1,LGR]{fontenc}
- \usepackage[utf8]{inputenc}
+\item With \emph{fontenc}, e.g.,
+ %
+ \begin{verbatim}
+ \usepackage[LGR,T1]{fontenc}
\end{verbatim}
-%
-Ensure that LGR is the active font encoding whenever a Greek character is
-used in the text (see below).
-
-\item
-For text in the Greek language, it is recommended to use the
-\href{https://ctan.org/pkg/babel}{\emph{Babel}} package with the Greek
-language definitions in
-\href{https://ctan.org/pkg/babel-greek}{\emph{babel-greek}}. Babel sets
-the font encoding automatically to LGR and Greek Unicode characters work as
-expected. Write in the preamble, e.g.,
-%
-\begin{verbatim}
- \usepackage[utf8]{inputenc}
- \usepackage[LGR,T1]{fontenc}
- \usepackage[english,greek,german]{babel}
+ %
+ Ensure that LGR is the active font encoding whenever a Greek character is
+ used in the text (see fntguide.pdf for font encoding switching commands).
+ \begin{quote}
+ \greekscript
+ Τί φήις; Ἱδὼν ἐνθέδε παῖδ’ ἐλευθέραν
+ τὰς πλησίον Νύμφας στεφανοῦσαν, Σώστρατε,
+ ἐρῶν άπῆλθες εὐθύς;
+ \end{quote}
+
+\item For text in the Greek language, it is recommended to use the
+ \href{https://ctan.org/pkg/babel}{\emph{Babel}} package with the Greek
+ language definitions in
+ \href{https://ctan.org/pkg/babel-greek}{\emph{babel-greek}}.
+ Babel sets the font encoding automatically to LGR and Greek Unicode
+ characters work as expected. Write in the preamble, e.g.,
+ %
+ \begin{verbatim}
+ \usepackage[english,greek,german]{babel}
\end{verbatim}
-%
-and use \verb+\foreignlanguage+ or \verb+\selectlanguage+ to set the text
-language to Greek (see the
-\href{https://ctan.org/pkg/babel-greek}{\emph{babel-greek}} documentation
-for detailled examples).
-
-\begin{quote}
- \greekscript
- Τί φήις; Ἱδὼν ἐνθέδε παῖδ’ ἐλευθέραν
- τὰς πλησίον Νύμφας στεφανοῦσαν, Σώστρατε,
- ἐρῶν άπῆλθες εὐθύς;
-\end{quote}
-
-\item
-Greek literal characters can also be used in PDF-strings (bookmarks and
-ToC entries with \href{https://ctan.org/pkg/hyperref}{\emph{hyperref}}).
-See \href{https://ctan.org/pkg/greek-fontenc}{\emph{greek-fontenc}}
-for a
-\href{https://mirrors.ctan.org/language/greek/greek-fontenc/hyperref-with-greek.pdf}
-{hyperref test and usage example}.
-
-\item
-In combination with the \emph{textalpha} package from
-\href{https://ctan.org/pkg/greek-fontenc}{\emph{greek-fontenc}}, Greek Unicode
-characters can be used in text with any font encoding -- just like the
-symbols provided by the ``textcomp'' package (i.e. with some limitations
-described in
-\href{https://mirrors.ctan.org/language/greek/greek-fontenc/textalpha-doc.pdf}
-{textalpha-doc}).
+ %
+ and use \verb+\foreignlanguage+ or \verb+\selectlanguage+ to set the text
+ language to Greek (see the
+ \href{https://ctan.org/pkg/babel-greek}{\emph{babel-greek}} documentation
+ for detailed examples).
+
+\item In combination with the
+ \href{http://mirrors.ctan.org/language/greek/greek-fontenc/textalpha.sty.html}%
+ {\emph{textalpha}} package from \emph{greek-fontenc}, Greek Unicode
+ characters can be used in text with any font encoding -- just like the
+ symbols provided by the ``textcomp'' package (i.e. with some limitations
+ described in
+ \href{https://mirrors.ctan.org/language/greek/greek-fontenc/textalpha-doc.pdf}
+ {textalpha-doc}).
\makeatletter
-\ifdefined\textalpha@define@breathings
+\ifdefined\textalpha@define@breathings % textalpha package is loaded
With the preamble lines
\begin{verbatim}
- \usepackage[utf8]{inputenc}
\usepackage{textalpha}
- \end{verbatim}
+\end{verbatim}
it is straightforward to write about π-mesons, γ-radiation, or a 50\,kΩ
resistor.\footnote{%
- The MIKRO SIGN and OHM SIGN characters are set up by inputenc with
+ The MICRO SIGN and OHM SIGN characters are set up with
\emph{textcomp} characters for any font encoding while
GREEK CAPITAL LETTER OMEGA works only with the LGR font encoding.}
-
- \item
- In combination with the \emph{alphabeta} package (also from
- \href{https://ctan.org/pkg/greek-fontenc}{\emph{greek-fontenc}}),
+ Words and phrases should be wrapped in \verb|\ensuregreek| to preserve
+ kerning or the Babel command \verb|\foreignlanguage{greek}| to also
+ ensure correct hyphenation.
+
+\item \sloppy
+ In combination with the
+ \href{http://mirrors.ctan.org/language/greek/greek-fontenc/alphabeta.sty.html}%
+ {\emph{alphabeta}} package (also from \emph{greek-fontenc}),
Greek Unicode literals can also be used in math mode:
%
\begin{verbatim}
- \usepackage[utf8]{inputenc}
\usepackage{alphabeta}
- \end{verbatim}
- \[
- \tan β = \frac{\sin β}{\cos β}.
- \]
+\end{verbatim}
+ \[
+ \tan β = \frac{\sin β}{\cos β}.
+ \]
\fi
\makeatother
+\item Greek literal characters can also be used in PDF-strings (bookmarks and
+ ToC entries with \href{https://ctan.org/pkg/hyperref}{\emph{hyperref}}).
+ See \href{https://ctan.org/pkg/greek-fontenc}{\emph{greek-fontenc}}
+ for a
+ \href{https://mirrors.ctan.org/language/greek/greek-fontenc/hyperref-with-greek.pdf}
+ {hyperref test and usage example}.
+
\end{itemize}
@@ -165,8 +165,8 @@ described in
LGR is no ``standard font encoding''. Latin characters and some other ASCII
symbols are mapped to Greek equivalents if LGR is the active font encoding.
(See
-\href{https://mirrors.ctan.org/language/babel/contrib/greek/usage.pdf}{usage.pdf}
-for a description of this Latin-Greek transliteration.)
+\href{https://mirrors.ctan.org/language/babel/contrib/greek/usage.pdf}%
+{usage.pdf} for a description of this Latin-Greek transliteration.)
This means you need an explicit language and/or font-encoding switch for
Latin words and abbreviations in Greek text, e.g., not
@@ -175,32 +175,35 @@ Latin words and abbreviations in Greek text, e.g., not
Special care is also required with the question mark characters:
\begin{itemize}
- \item The Unicode standard says character 003B SEMICOLON and not
- 037E GREEK QUESTION MARK, is the preferred character for a
- `Greek question mark' (erotimatiko),
+ \item The Unicode standard says character U+003B SEMICOLON and not
+ U+037E GREEK QUESTION MARK, is the preferred character for a
+ ``Greek question mark'' (erotimatiko),
\item The LGR font encoding maps a SEMICOLON to a middle dot (ano teleia),
- while the Latin question mark ``?'' is mapped to the erotimatiko.
+ while the Latin question mark ``?'' is mapped to the erotimatiko.
\end{itemize}
-As a result, only the deprecated character 037E GREEK QUESTION MARK works
-with both, Xe/LuaTeX and 8-bit TeX.
+Only the deprecated character U+037E GREEK QUESTION MARK works with both,
+Xe/LuaTeX and 8-bit TeX. However, Unicode treats it as equivalent
+to U+003B SEMICOLON so a quote copy-pasted from a source using U+037E may
+end up with U+003B and middle dots instead of erotimatiko!
\makeatletter
\ifdefined\textalpha@define@breathings
-Compare the source \url{greek-utf8.tex} and the PDF output:
-
-\begin{center}
-\begin{tabular}{lll}
- Latin (T1) & Greek (LGR) & question mark character \\
- \midrule
- Τί φήις; & \foreignlanguage{greek}{Τί φήις;} & 037E GREEK QUESTION MARK \\
- Τί φήις; & \foreignlanguage{greek}{Τί φήις;} & 003B SEMICOLON \\
- Τί φήις? & \foreignlanguage{greek}{Τί φήις?} & 003F QUESTION MARK \\
-\end{tabular}
-\end{center}
+ Compare the source \url{greek-utf8.tex} and the PDF output:
+
+ \begin{tabular}{llc}
+ Input & \latinencoding{} & \greekfontencoding \\
+ \midrule
+ 003F QUESTION MARK & ? & \ensuregreek{?} \\
+ 037E GREEK QUESTION MARK & not defined & \ensuregreek{;} \\
+ 003B SEMICOLON & ; & \ensuregreek{;} \\
+ 00B7 MIDDLE DOT & · & \ensuregreek{·}
+ \end{tabular}
\fi
\makeatother
-With the \emph{textalpha} package's ``keep-semicolon'' option, the
-SEMICOLON character can be used for the erotimatiko also with LGR encoded
-fonts.
+\\
+With the \href{https://ctan.org/pkg/babel-greek}{babel-greek} language
+attribute ``keep-semicolon'' or the \emph{textalpha} package's
+``keep-semicolon'' option, the SEMICOLON character can be used for the
+erotimatiko also with LGR encoded fonts.
\section{Supported Characters}
@@ -212,69 +215,72 @@ with an LGR-encoded font.
\subsection{Greek and Coptic}
\greekscript
-\begin{tabular}{rrrrrrrrrrrrrrrrr}
+\begin{tabular}{ccccccccccccccccc}
\toprule
- & 0 & 1 & 2 & 3 & 4 & 5 & 6 & 7 & 8 & 9 & A & B & \latinscript C & D & E & F\\
+ 0 & 1 & 2 & 3 & 4 & 5 & 6 & 7 & 8 & 9 &
+ A & B & \latinscript C & \latinscript D & E & \latinscript F\\
\midrule
-\latinscript{370} & * & * & * & * & ʹ & ͵ & * & * & & & ͺ & * & * & * & ; & \\
-\latinscript{380} & & & & & ΄ & ΅ & Ά & · & Έ & Ή & Ί & & Ό & & Ύ & Ώ\\
-\latinscript{390} & ΐ & Α & Β & Γ & Δ & Ε & Ζ & Η & Θ & Ι & Κ & Λ & Μ & Ν & Ξ & Ο\\
-\latinscript{3A0} & Π & Ρ & & Σ & Τ & Υ & Φ & Χ & Ψ & Ω & Ϊ & Ϋ & ά & έ & ή & ί\\
-\latinscript{3B0} & ΰ & α & β & γ & δ & ε & ζ & η & θ & ι & κ & λ & μ & ν & ξ & ο\\
-\latinscript{3C0} & π & ρ & ς & σ & τ & υ & φ & χ & ψ & ω & ϊ & ϋ & ό & ύ & ώ & \\
-\latinscript{3D0} & * & * & * & * & * & * & * & * & Ϙ & ϙ & Ϛ & ϛ & Ϝ & ϝ & * & ϟ\\
-\latinscript{3E0} & Ϡ & ϡ & * & * & * & * & * & * & * & * & * & * & * & * & * & *\\
-\latinscript{3F0} & * & * & * & * & * & * & * & * & * & * & * & * & * & * & * & *\\
+ ␣ & ␣ & ␣ & ␣ & ʹ & ͵ & ␣ & ␣ & & & ͺ & ␣ & ␣ & ␣ & ; & \\
+ & & & & ΄ & ΅ & Ά & · & Έ & Ή & Ί & & Ό & & Ύ & Ώ\\
+ ΐ & Α & Β & Γ & Δ & Ε & Ζ & Η & Θ & Ι & Κ & Λ & Μ & Ν & Ξ & Ο\\
+ Π & Ρ & & Σ & Τ & Υ & Φ & Χ & Ψ & Ω & Ϊ & Ϋ & ά & έ & ή & ί\\
+ ΰ & α & β & γ & δ & ε & ζ & η & θ & ι & κ & λ & μ & ν & ξ & ο\\
+ π & ρ & ς & σ & τ & υ & φ & χ & ψ & ω & ϊ & ϋ & ό & ύ & ώ & \\
+ ␣ & ␣ & ␣ & ␣ & ␣ & ␣ & ␣ & ␣ & Ϙ & ϙ & Ϛ & ϛ & Ϝ & ϝ & ␣ & ϟ\\
+ Ϡ & ϡ & ␣ & ␣ & ␣ & ␣ & ␣ & ␣ & ␣ & ␣ & ␣ & ␣ & ␣ & ␣ & ␣ & ␣\\
+ ␣ & ␣ & ␣ & ␣ & ␣ & ␣ & ␣ & ␣ & ␣ & ␣ & ␣ & ␣ & ␣ & ␣ & ␣ & ␣\\
\bottomrule
\end{tabular}
\latinscript
-\noindent
-legend: * glyph missing in LGR, [space] Unicode point not defined
+\smallskip\noindent
+legend: ␣ glyph missing in LGR, <\emph{space}> Unicode point not defined
\subsection{Greek Extended}
\greekscript
-\begin{tabular}{rrrrrrrrrrrrrrrrr}
+\begin{tabular}{cccccccccccccccc}
\toprule
- & 0 & 1 & 2 & 3 & 4 & 5 & 6 & 7 & 8 & 9 & A & B & \latinscript C & D & E & F\\
+ 0 & 1 & 2 & 3 & 4 & 5 & 6 & 7 & 8 & 9 &
+ A & B & \latinscript C & \latinscript D & E & \latinscript F\\
\midrule
-\latinscript{1F00} & ἀ & ἁ & ἂ & ἃ & ἄ & ἅ & ἆ & ἇ & Ἀ & Ἁ & Ἂ & Ἃ & Ἄ & Ἅ & Ἆ & Ἇ\\
-\latinscript{1F10} & ἐ & ἑ & ἒ & ἓ & ἔ & ἕ & & & Ἐ & Ἑ & Ἒ & Ἓ & Ἔ & Ἕ & & \\
-\latinscript{1F20} & ἠ & ἡ & ἢ & ἣ & ἤ & ἥ & ἦ & ἧ & Ἠ & Ἡ & Ἢ & Ἣ & Ἤ & Ἥ & Ἦ & Ἧ\\
-\latinscript{1F30} & ἰ & ἱ & ἲ & ἳ & ἴ & ἵ & ἶ & ἷ & Ἰ & Ἱ & Ἲ & Ἳ & Ἴ & Ἵ & Ἶ & Ἷ\\
-\latinscript{1F40} & ὀ & ὁ & ὂ & ὃ & ὄ & ὅ & & & Ὀ & Ὁ & Ὂ & Ὃ & Ὄ & Ὅ & & \\
-\latinscript{1F50} & ὐ & ὑ & ὒ & ὓ & ὔ & ὕ & ὖ & ὗ & & Ὑ & & Ὓ & & Ὕ & & Ὗ\\
-\latinscript{1F60} & ὠ & ὡ & ὢ & ὣ & ὤ & ὥ & ὦ & ὧ & Ὠ & Ὡ & Ὢ & Ὣ & Ὤ & Ὥ & Ὦ & Ὧ\\
-\latinscript{1F70} & ὰ & ά & ὲ & έ & ὴ & ή & ὶ & ί & ὸ & ό & ὺ & ύ & ὼ & ώ & & \\
-\latinscript{1F80} & ᾀ & ᾁ & ᾂ & ᾃ & ᾄ & ᾅ & ᾆ & ᾇ & ᾈ & ᾉ & ᾊ & ᾋ & ᾌ & ᾍ & ᾎ & ᾏ\\
-\latinscript{1F90} & ᾐ & ᾑ & ᾒ & ᾓ & ᾔ & ᾕ & ᾖ & ᾗ & ᾘ & ᾙ & ᾚ & ᾛ & ᾜ & ᾝ & ᾞ & ᾟ\\
-\latinscript{1FA0} & ᾠ & ᾡ & ᾢ & ᾣ & ᾤ & ᾥ & ᾦ & ᾧ & ᾨ & ᾩ & ᾪ & ᾫ & ᾬ & ᾭ & ᾮ & ᾯ\\
-\latinscript{1FB0} & ᾰ & ᾱ & ᾲ & ᾳ & ᾴ & & ᾶ & ᾷ & Ᾰ & Ᾱ & Ὰ & Ά & ᾼ & ᾽ & ι & ᾿\\
-\latinscript{1FC0} & ῀ & ῁ & ῂ & ῃ & ῄ & & ῆ & ῇ & Ὲ & Έ & Ὴ & Ή & ῌ & ῍ & ῎ & ῏\\
-\latinscript{1FD0} & ῐ & ῑ & ῒ & ΐ & & & ῖ & ῗ & Ῐ & Ῑ & Ὶ & Ί & & ῝ & ῞ & ῟\\
-\latinscript{1FE0} & ῠ & ῡ & ῢ & ΰ & ῤ & ῥ & ῦ & ῧ & Ῠ & Ῡ & Ὺ & Ύ & Ῥ & ῭ & ΅ & `\\
-\latinscript{1FF0} & & & ῲ & ῳ & ῴ & & ῶ & ῷ & Ὸ & Ό & Ὼ & Ώ & ῼ & ´ & ῾ & \\
+ ἀ & ἁ & ἂ & ἃ & ἄ & ἅ & ἆ & ἇ & Ἀ & Ἁ & Ἂ & Ἃ & Ἄ & Ἅ & Ἆ & Ἇ\\
+ ἐ & ἑ & ἒ & ἓ & ἔ & ἕ & & & Ἐ & Ἑ & Ἒ & Ἓ & Ἔ & Ἕ & & \\
+ ἠ & ἡ & ἢ & ἣ & ἤ & ἥ & ἦ & ἧ & Ἠ & Ἡ & Ἢ & Ἣ & Ἤ & Ἥ & Ἦ & Ἧ\\
+ ἰ & ἱ & ἲ & ἳ & ἴ & ἵ & ἶ & ἷ & Ἰ & Ἱ & Ἲ & Ἳ & Ἴ & Ἵ & Ἶ & Ἷ\\
+ ὀ & ὁ & ὂ & ὃ & ὄ & ὅ & & & Ὀ & Ὁ & Ὂ & Ὃ & Ὄ & Ὅ & & \\
+ ὐ & ὑ & ὒ & ὓ & ὔ & ὕ & ὖ & ὗ & & Ὑ & & Ὓ & & Ὕ & & Ὗ\\
+ ὠ & ὡ & ὢ & ὣ & ὤ & ὥ & ὦ & ὧ & Ὠ & Ὡ & Ὢ & Ὣ & Ὤ & Ὥ & Ὦ & Ὧ\\
+ ὰ & ά & ὲ & έ & ὴ & ή & ὶ & ί & ὸ & ό & ὺ & ύ & ὼ & ώ & & \\
+ ᾀ & ᾁ & ᾂ & ᾃ & ᾄ & ᾅ & ᾆ & ᾇ & ᾈ & ᾉ & ᾊ & ᾋ & ᾌ & ᾍ & ᾎ & ᾏ\\
+ ᾐ & ᾑ & ᾒ & ᾓ & ᾔ & ᾕ & ᾖ & ᾗ & ᾘ & ᾙ & ᾚ & ᾛ & ᾜ & ᾝ & ᾞ & ᾟ\\
+ ᾠ & ᾡ & ᾢ & ᾣ & ᾤ & ᾥ & ᾦ & ᾧ & ᾨ & ᾩ & ᾪ & ᾫ & ᾬ & ᾭ & ᾮ & ᾯ\\
+ ᾰ & ᾱ & ᾲ & ᾳ & ᾴ & & ᾶ & ᾷ & Ᾰ & Ᾱ & Ὰ & Ά & ᾼ & ᾽ & ι & ᾿\\
+ ῀ & ῁ & ῂ & ῃ & ῄ & & ῆ & ῇ & Ὲ & Έ & Ὴ & Ή & ῌ & ῍ & ῎ & ῏\\
+ ῐ & ῑ & ῒ & ΐ & & & ῖ & ῗ & Ῐ & Ῑ & Ὶ & Ί & & ῝ & ῞ & ῟\\
+ ῠ & ῡ & ῢ & ΰ & ῤ & ῥ & ῦ & ῧ & Ῠ & Ῡ & Ὺ & Ύ & Ῥ & ῭ & ΅ & `\\
+ & & ῲ & ῳ & ῴ & & ῶ & ῷ & Ὸ & Ό & Ὼ & Ώ & ῼ & ´ & ῾ & \\
\bottomrule
\end{tabular}
\latinscript
+
\subsection{Other Unicode Blocks}
\begin{description}
-\item [Latin-1 Supplement]: \ensuregreek{¨ « ¯ ´ · »}
-\item [IPA Extensions]: \ensuregreek{ə} LATIN SMALL LETTER SCHWA
-\item [Spacing Modifier Letters]:
- \ensuregreek{˘a} (here followed by letter alpha)
-\item [General Punctuation]:
+\item [Latin-1 Supplement:] \ensuregreek{¨ « ¯ ´ · »}
+\item [IPA Extensions:] \ensuregreek{ə} LATIN SMALL LETTER SCHWA
+\item [Spacing Modifier Letters:]
+ \ensuregreek{˘α} (BREVE, here followed by letter alpha)
+\item [General Punctuation:]
\ensuregreek{– — ‘ ’ ‰} ZWNJ (zero width no joiner, prevents kerning
and ligatures, e.g. \ensuregreek{A‌‌U} vs. \ensuregreek{AU} and
\ensuregreek{'‌a} vs. \ensuregreek{'a})
-\item [Currency Symbols]: \ensuregreek{€}
-\item [Letter-like Symbols]: Ω % OHM SIGN, preferred representation is 03A9
-\item [Ancient Greek Numbers]: \ensuregreek{
+\item [Currency Symbols:] \ensuregreek{€}
+\item [Letter-like Symbols:] Ω % OHM SIGN, preferred representation is 03A9
+\item [Ancient Greek Numbers:] \ensuregreek{
𐅄 \textpentedeka{} % GREEK ACROPHONIC ATTIC FIFTY
𐅅 \textpentehekaton{} % GREEK ACROPHONIC ATTIC FIVE HUNDRED
𐅆 \textpenteqilioi{} % GREEK ACROPHONIC ATTIC FIVE THOUSAND
@@ -283,235 +289,23 @@ legend: * glyph missing in LGR, [space] Unicode point not defined
\end{description}
-\section{Test up/downcasing}
-
-\ifdefined\extrasgreek
-\else
- These tests require Babel
- (unless used with LaTeX versions older than 2022/06).
- \end{document}
-\fi
+\section{up/downcasing}
Capital Greek letters have diacritics (except the dialytika, macron, and
breve) to the left (instead of above) and drop them in uppercase, e.g.
-\ensuregreek{μαΐστρος $\mapsto$ \MakeUppercase{μαΐστρος}}.
-
-Tonos and dasia on the first vowel of a diphthong (\ensuregreek{άι, άυ, έι})
-imply a \emph{hiatus}. A dialytika must be placed on the second
-vowel if they are dropped (\ensuregreek{\MakeUppercase{\'ai, \'au, \'ei}}).
-
-The implementation of \verb|\MakeUppercase| changed in the 2022/06 LaTeX
-release (cf. LaTeX News 35). Since then, Greek uppercase rules are only
-applied if the text language is set to ``greek'' with Babel.
-
-With the ``old'' \verb|\MakeUppercase|, the auto-hiatus feature in LGR works
-with the Latin transliteration and LICR macros (%
-\ensuregreek{\MakeUppercase{%
- \'ai,
- \'\textalpha \textupsilon,
- \'\textepsilon \textiota
-}}) but not with literal Unicode
-characters.
-
-It works also if only the first character of the
-diphthong is wrapped in \verb|\ensuregreek| (as done by the lgrenc.dfu
-definition for accented characters)) or input as literal Unicode character
-(\ensuregreek{\MakeUppercase{%
- \ensuregreek{\'\textalpha}\textiota,
- ά\textupsilon,
- ά\textiota
-}})
-but not if the second character of the diphthong is a Unicode literal
-(\ensuregreek{\MakeUppercase{%
- \'\textalpha ι,
- άυ,
- \'\textepsilon ι
-}}).
-
-As an ugly workaround, use \verb|\textiota| resp. \verb|\textupsilon|
-for the character that should get the diaresis:
-\ensuregreek{ἀ\textupsilon{}πνία $\mapsto$ \MakeUppercase{ἀ\textupsilon{}πνία}}.
-
-
-With the ``new'' (post 2022/06) \verb|\MakeUppercase|, the auto-hiatus
-feature in LGR works with literals from the ``Greek and Coptic''
-Unicode block and some from ``Greek extended''.
-See the following examples:
-\ensuregreek{άυλος $\mapsto$ \MakeUppercase{άυλος},
- ἄυλος $\mapsto$ \MakeUppercase{ἄυλος},
- μάινα $\mapsto$ \MakeUppercase{μάινα},
- κέικ, $\mapsto$ \MakeUppercase{κέικ},
- ἀυπνία $\mapsto$ \MakeUppercase{ἀυπνία}}.
-
-
-The following subsections test MakeUppercase and MakeLowercase with all
-characters defined in lgrenc.dfu:
-
-\subsection{Greek and Coptic}
-
-\newcommand{\GreekAndCoptic}{ʹ͵ͺ; ΄ ΅Ά·ΈΉΊΌΎΏΐΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩΪΫϘϚϜϠ}
-\newcommand{\greekandcoptic}{άέήίΰαβγδεζηθικλμνξοπρςστυφχψωϊϋόύώϙϛϝϟϡ}
-
-Characters of the Greek and Coptic Unicode Block:
-\begin{quote}
- \selectlanguage{greek}
- \GreekAndCoptic\\
- \greekandcoptic
-\end{quote}
-MakeUppercase:
-\begin{quote}
- \selectlanguage{greek}
- \MakeUppercase{\GreekAndCoptic}\\
- \MakeUppercase{\greekandcoptic}
-\end{quote}
-Letters and ypogegrammeni upcased, tonos dropped, dialytika kept.
-
-There is no capital Koppa in LGR, therefore \ensuregreek{ϟ} is left unchanged
-with MakeUppercase.
-
+\ensuregreek{μαΐστρος → ΜΑΪΣΤΡΟΣ}.
-MakeLowercase:
+The implementation of \verb|\MakeUppercase| changed significantly in the
+2022/06 LaTeX release (cf. LaTeX News 35). Since then, Greek uppercase rules
+are only applied if the text language is set to ``greek'' with Babel.
+See \href{https://ctan.org/pkg/babel-greek}{\emph{babel-greek}} for details
+and a comprehensive test document.
-\begin{quote}
- \selectlanguage{greek}
- \MakeLowercase{\GreekAndCoptic}\\
- \MakeLowercase{\greekandcoptic}
-\end{quote}
-
-The lowercase of \ensuregreek{Σ} is the «auto-sigma» (\verb|\textautosigma|):
-\ensuregreek{ΣΣ $\mapsto$ \MakeLowercase{ΣΣ}}. Add a ZWNJ or use the
-\verb|\noboundary| macro to prevent conversion to final sigma:
-\ensuregreek{\MakeLowercase{ΣΣ‌}}. The lowercase of GREEK LETTER STIGMA
-\ensuregreek{Ϛ} is \ensuregreek{\MakeLowercase{Ϛ}}.
-
-
-\subsection{Greek extended}
-
-MakeUppercase:
-
-\begin{quote}
- \selectlanguage{greek}
- \MakeUppercase{ ἀ ἁ ἂ ἃ ἄ ἅ ἆ ἇ Ἀ Ἁ Ἂ Ἃ Ἄ Ἅ Ἆ Ἇ }\\
- \MakeUppercase{ ἐ ἑ ἒ ἓ ἔ ἕ Ἐ Ἑ Ἒ Ἓ Ἔ Ἕ }\\
- \MakeUppercase{ ἠ ἡ ἢ ἣ ἤ ἥ ἦ ἧ Ἠ Ἡ Ἢ Ἣ Ἤ Ἥ Ἦ Ἧ }\\
- \MakeUppercase{ ἰ ἱ ἲ ἳ ἴ ἵ ἶ ἷ Ἰ Ἱ Ἲ Ἳ Ἴ Ἵ Ἶ Ἷ }\\
- \MakeUppercase{ ὀ ὁ ὂ ὃ ὄ ὅ Ὀ Ὁ Ὂ Ὃ Ὄ Ὅ }\\
- \MakeUppercase{ ὐ ὑ ὒ ὓ ὔ ὕ ὖ ὗ Ὑ Ὓ Ὕ Ὗ }\\
- \MakeUppercase{ ὠ ὡ ὢ ὣ ὤ ὥ ὦ ὧ Ὠ Ὡ Ὢ Ὣ Ὤ Ὥ Ὦ Ὧ }\\
- \MakeUppercase{ ὰ ά ὲ έ ὴ ή ὶ ί ὸ ό ὺ ύ ὼ ώ }\\
- \MakeUppercase{ ᾀ ᾁ ᾂ ᾃ ᾄ ᾅ ᾆ ᾇ ᾈ ᾉ ᾊ ᾋ ᾌ ᾍ ᾎ ᾏ }\\
- \MakeUppercase{ ᾐ ᾑ ᾒ ᾓ ᾔ ᾕ ᾖ ᾗ ᾘ ᾙ ᾚ ᾛ ᾜ ᾝ ᾞ ᾟ }\\
- \MakeUppercase{ ᾠ ᾡ ᾢ ᾣ ᾤ ᾥ ᾦ ᾧ ᾨ ᾩ ᾪ ᾫ ᾬ ᾭ ᾮ ᾯ }\\
- \MakeUppercase{ ᾰ ᾱ ᾲ ᾳ ᾴ ᾶ ᾷ Ᾰ Ᾱ Ὰ Ά ᾼ ᾽ ι ᾿ }\\
- \MakeUppercase{ ῀ ῁ ῂ ῃ ῄ ῆ ῇ Ὲ Έ Ὴ Ή ῌ ῍ ῎ ῏ }\\
- \MakeUppercase{ ῐ ῑ ῒ ΐ ῖ ῗ Ῐ Ῑ Ὶ Ί ῝ ῞ ῟ }\\
- \MakeUppercase{ ῠ ῡ ῢ ΰ ῤ ῥ ῦ ῧ Ῠ Ῡ Ὺ Ύ Ῥ ῭ ΅ ` }\\
- \MakeUppercase{ ῲ ῳ ῴ ῶ ῷ Ὸ Ό Ὼ Ώ ῼ ´ ῾ }
- \selectlanguage{english}
-\end{quote}
-
-MakeLowercase:
-
-\begin{quote}
- \selectlanguage{greek}
- \MakeLowercase{ ἀ ἁ ἂ ἃ ἄ ἅ ἆ ἇ Ἀ Ἁ Ἂ Ἃ Ἄ Ἅ Ἆ Ἇ }\\
- \MakeLowercase{ ἐ ἑ ἒ ἓ ἔ ἕ Ἐ Ἑ Ἒ Ἓ Ἔ Ἕ }\\
- \MakeLowercase{ ἠ ἡ ἢ ἣ ἤ ἥ ἦ ἧ Ἠ Ἡ Ἢ Ἣ Ἤ Ἥ Ἦ Ἧ }\\
- \MakeLowercase{ ἰ ἱ ἲ ἳ ἴ ἵ ἶ ἷ Ἰ Ἱ Ἲ Ἳ Ἴ Ἵ Ἶ Ἷ }\\
- \MakeLowercase{ ὀ ὁ ὂ ὃ ὄ ὅ Ὀ Ὁ Ὂ Ὃ Ὄ Ὅ }\\
- \MakeLowercase{ ὐ ὑ ὒ ὓ ὔ ὕ ὖ ὗ Ὑ Ὓ Ὕ Ὗ }\\
- \MakeLowercase{ ὠ ὡ ὢ ὣ ὤ ὥ ὦ ὧ Ὠ Ὡ Ὢ Ὣ Ὤ Ὥ Ὦ Ὧ }\\
- \MakeLowercase{ ὰ ά ὲ έ ὴ ή ὶ ί ὸ ό ὺ ύ ὼ ώ }\\
- \MakeLowercase{ ᾀ ᾁ ᾂ ᾃ ᾄ ᾅ ᾆ ᾇ ᾈ ᾉ ᾊ ᾋ ᾌ ᾍ ᾎ ᾏ }\\
- \MakeLowercase{ ᾐ ᾑ ᾒ ᾓ ᾔ ᾕ ᾖ ᾗ ᾘ ᾙ ᾚ ᾛ ᾜ ᾝ ᾞ ᾟ }\\
- \MakeLowercase{ ᾠ ᾡ ᾢ ᾣ ᾤ ᾥ ᾦ ᾧ ᾨ ᾩ ᾪ ᾫ ᾬ ᾭ ᾮ ᾯ }\\
- \MakeLowercase{ ᾰ ᾱ ᾲ ᾳ ᾴ ᾶ ᾷ Ᾰ Ᾱ Ὰ Ά ᾼ ᾽ ι ᾿ }\\
- \MakeLowercase{ ῀ ῁ ῂ ῃ ῄ ῆ ῇ Ὲ Έ Ὴ Ή ῌ ῍ ῎ ῏ }\\
- \MakeLowercase{ ῐ ῑ ῒ ΐ ῖ ῗ Ῐ Ῑ Ὶ Ί ῝ ῞ ῟ }\\
- \MakeLowercase{ ῠ ῡ ῢ ΰ ῤ ῥ ῦ ῧ Ῠ Ῡ Ὺ Ύ Ῥ ῭ ΅ ` }\\
- \MakeLowercase{ ῲ ῳ ῴ ῶ ῷ Ὸ Ό Ὼ Ώ ῼ ´ ῾ }
-\end{quote}
-
-\subsubsection{Iota subscript vs. iota adscript}
-
-Pre-composed capital letters with \emph{mute iota} decompose to the base
-letter and COMBINING GREEK YPOGEGRAMMENI (U+0345) even if they are named
-... WITH [... AND] PROSGEGRAMMENI for ``historic reasons''.%
-\footnote{cf. \href{https://opoudjis.net/unicode/unicode_adscript.html}
- {Nick Nicholas `Titlecase and Adscripts'}}
-
-
-Accordingly, the ``canonical'' LICR for capital letters with mute iota
-is the base character LICR followed by \verb|\ypogegrammeni|.
-
-Compare letters followed by \verb|\prosgegrammeni| and
-\verb|\ypogegrammeni| with the pre-composed characters and with
-character + literal GREEK YPOGEGRAMMENI.
-
-\noindent\ensureascii{prosgegrammeni:}
-\newcommand{\alphapros}{\textalpha\prosgegrammeni α\prosgegrammeni{} ᾳαι /
- \textAlpha\prosgegrammeni Α\prosgegrammeni{} ᾼΑι /
- \accpsili\textAlpha\prosgegrammeni Ἀ\prosgegrammeni{} ᾈἈι}
-\ensuregreek\alphapros
-
-MakeUppercase \MakeUppercase{\ensuregreek{\alphapros}}
-
-MakeLowercase \MakeLowercase{\ensuregreek{\alphapros}}
-
-
-\noindent ypogegrammeni:
-\newcommand{\alphaypo}{\textalpha\ypogegrammeni α\ypogegrammeni{} ᾳαι /
- \textAlpha\ypogegrammeni Α\ypogegrammeni{} ᾼΑι /
- \accpsili\textAlpha\ypogegrammeni Ἀ\ypogegrammeni{} ᾈἈι}
-\ensuregreek\alphaypo
-
-MakeUppercase \MakeUppercase{\ensuregreek{\alphaypo}}
-
-MakeLowercase \MakeLowercase{\ensuregreek{\alphaypo}}
-
-\selectlanguage{english}
-
-
-\subsection{Other Unicode Blocks}
-
-MakeUppercase does not change non-letter symbols and the letter shwa
-(there is a capital Cyrillic schwa in T2A encoded fonts):
-\begin{quote}
- \greekscript
- \MakeUppercase{¨ « ¯ ´ · »}
- \MakeUppercase{ə}
- \MakeUppercase{˘a}
- \MakeUppercase{– — ‘ ’ ‰ a‌u}
- \MakeUppercase{€}
- % \MakeUppercase{Ω}
- \MakeUppercase{
- 𐅄 % GREEK ACROPHONIC ATTIC FIFTY
- 𐅅 % GREEK ACROPHONIC ATTIC FIVE HUNDRED
- 𐅆 % GREEK ACROPHONIC ATTIC FIVE THOUSAND
- 𐅇 % GREEK ACROPHONIC ATTIC FIFTY THOUSAND
- }
-\end{quote}
-MakeLowercase does not change non-letter symbols either:
-\begin{quote}
- \greekscript
- \MakeLowercase{¨ « ¯ ´ · »}
- \MakeLowercase{ə}
- \MakeLowercase{˘A}
- \MakeLowercase{– — ‘ ’ ‰ A‌‌U}
- \MakeLowercase{€}
- % \MakeLowercase{Ω}
- \MakeLowercase{
- 𐅄 % GREEK ACROPHONIC ATTIC FIFTY
- 𐅅 % GREEK ACROPHONIC ATTIC FIVE HUNDRED
- 𐅆 % GREEK ACROPHONIC ATTIC FIVE THOUSAND
- 𐅇 % GREEK ACROPHONIC ATTIC FIFTY THOUSAND
- }
-\end{quote}
\section{Test kerning/ligatures}
-check for kerning and unwanted ligatures:
+Check for kerning and unwanted ligatures:
\begin{quote}
\greekscript
@@ -556,15 +350,15 @@ check for kerning and unwanted ligatures:
Problems with text-extraction from PDF with Kerkis:
0 1 2 3 4 5 6 7 8 9 A B C D E F
-370 * * * * ΄ ͵ * * ι * * * ;
+370 ␣ ␣ ␣ ␣ ΄ ͵ ␣ ␣ ι ␣ ␣ ␣ ;
380 ΄ ΅ ΄Α ΄Ε ΄Η ΄Ι ΄Ο ΄Υ ΄Ω
390 ΐ Α Β Γ ∆ Ε Ζ Η Θ Ι Κ Λ Μ Ν Ξ Ο
3Α0 Π Ρ Σ Τ Υ Φ Χ Ψ Ω Ϊ Ϋ ά έ ή ί
3Β0 ΰ α ϐ γ δ ε Ϲ η ϑ ι κ λ µ ν ξ ο
3῝0 π ϱ ς σ τ υ ϕ χ ψ ω ϊ ϋ ό ύ ώ
-3∆0 * * * * * * * * Ϟ Ϝ ϝ Ϝ ϝ * ϟ
-3Ε0 ϡ * * * * * * * * * * * * * *
-3Φ0 * * * * * * * * * * * * * * * *
+3∆0 ␣ ␣ ␣ ␣ ␣ ␣ ␣ ␣ Ϟ Ϝ ϝ Ϝ ϝ ␣ ϟ
+3Ε0 ϡ ␣ ␣ ␣ ␣ ␣ ␣ ␣ ␣ ␣ ␣ ␣ ␣ ␣ ␣
+3Φ0 ␣ ␣ ␣ ␣ ␣ ␣ ␣ ␣ ␣ ␣ ␣ ␣ ␣ ␣ ␣ ␣
03B6 zeta replaced by 03F9 GREEK CAPITAL LUNATE SIGMA SYMBOL
03B8 GREEK SMALL LETTER THETA replaced by 03D1 GREEK THETA SYMBOL
@@ -575,7 +369,7 @@ Problems with text-extraction from PDF with Kerkis:
and GFS Didot:
0 1 2 3 4 5 6 7 8 9 A B C D E F
-370 * * * * ´ ͵ * * ι * * * ;
+370 ␣ ␣ ␣ ␣ ´ ͵ ␣ ␣ ι ␣ ␣ ␣ ;
380 ´ ῆ Α
´ ´ ´Ε ´Η ´Ι ´Ο ´Υ ´Ω
390 ῆ ´ι Α Β Γ ∆ Ε Ζ Η Θ Ι Κ Λ Μ Ν Ξ Ο
@@ -586,6 +380,6 @@ and GFS Didot:
3῝0 π ρ ς σ τ υ φ χ ψ ω ι
ῆ υ
ῆ ό ύ ώ
-3∆0 * * * * * * * * Ϛ Ϝ Ϝ * Ϟ
-3Ε0 * * * * * * * * * * * * * *
-3Φ0 * * * * * * * * * * * * * * * *
+3∆0 ␣ ␣ ␣ ␣ ␣ ␣ ␣ ␣ Ϛ Ϝ Ϝ ␣ Ϟ
+3Ε0 ␣ ␣ ␣ ␣ ␣ ␣ ␣ ␣ ␣ ␣ ␣ ␣ ␣ ␣
+3Φ0 ␣ ␣ ␣ ␣ ␣ ␣ ␣ ␣ ␣ ␣ ␣ ␣ ␣ ␣ ␣ ␣
diff --git a/language/greek/greek-inputenc/inputenc-iso-8859-7.pdf b/language/greek/greek-inputenc/inputenc-iso-8859-7.pdf
index 22371e1f60..99013e76ce 100644
--- a/language/greek/greek-inputenc/inputenc-iso-8859-7.pdf
+++ b/language/greek/greek-inputenc/inputenc-iso-8859-7.pdf
Binary files differ
diff --git a/language/greek/greek-inputenc/iso-8859-7.def b/language/greek/greek-inputenc/iso-8859-7.def
index 6b68e4ee1c..ea4b954415 100644
--- a/language/greek/greek-inputenc/iso-8859-7.def
+++ b/language/greek/greek-inputenc/iso-8859-7.def
@@ -1,5 +1,5 @@
\ProvidesFile{iso-8859-7.def}
- [2019/01/08 v1.7 Greek input encoding file]
+ [2023-03-21 1.9 Greek input encoding file]
%% iso-8859-7 input encoding file by Apostolos Syropoulos
%% with modifications by C.Beccari
%%
@@ -42,8 +42,8 @@
\DeclareInputMath{177}{\textplusminus}
\DeclareInputText{178}{\texttwosuperior}
\DeclareInputText{179}{\textthreesuperior}
-\DeclareInputText{180}{\acctonos{ }}
-\DeclareInputText{181}{\accdialytikatonos{ }}
+\DeclareInputText{180}{\acctonos{}}
+\DeclareInputText{181}{\accdialytikatonos{}}
\DeclareInputText{182}{\ensuregreek{\acctonos\textAlpha}}
\DeclareInputText{183}{\textperiodcentered}
\DeclareInputText{184}{\ensuregreek{\acctonos\textEpsilon}}
diff --git a/language/greek/greek-inputenc/lgrenc.dfu b/language/greek/greek-inputenc/lgrenc.dfu
index bea6333441..d7da1bb83d 100644
--- a/language/greek/greek-inputenc/lgrenc.dfu
+++ b/language/greek/greek-inputenc/lgrenc.dfu
@@ -18,15 +18,17 @@
% Usage
% -----
%
-% See the `greek-inputenc documentation`_
-% and `<greek-utf8.tex>`_ for an example.
+% See the `greek-inputenc documentation`__.
+%
+% __ greek-inputenc.html#usage
+%
%
% Implementation
% --------------
%
% Identification::
-\ProvidesFile{lgrenc.dfu}[2023/02/21 1.8 UTF-8 support for Greek]
+\ProvidesFile{lgrenc.dfu}[2023-03-21 1.9 UTF-8 support for Greek]
% Some characters exist in other font encodings too. Care has been taken
% to ensure the definitions match with other ``*.dfu`` and ``*enc.def``
@@ -81,8 +83,8 @@
% 037D GREEK SMALL REVERSED DOTTED LUNATE SIGMA SYMBOL %
\DeclareUnicodeCharacter{037E}{\texterotimatiko} % ; \textquestion
-\DeclareUnicodeCharacter{0384}{\acctonos{ }} % ΄
-\DeclareUnicodeCharacter{0385}{\accdialytikatonos{ }} % ΅ \textdialytikatonos
+\DeclareUnicodeCharacter{0384}{\acctonos{}} % ΄
+\DeclareUnicodeCharacter{0385}{\accdialytikatonos{}} % ΅ \textdialytikatonos
\DeclareUnicodeCharacter{0386}{\ensuregreek{\acctonos\textAlpha}} % Ά
\DeclareUnicodeCharacter{0387}{\textanoteleia} % · \anoteleia
\DeclareUnicodeCharacter{0388}{\ensuregreek{\acctonos\textEpsilon}} % Έ
@@ -383,12 +385,12 @@
\DeclareUnicodeCharacter{1FBA}{\ensuregreek{\accvaria\textAlpha}} % Ὰ
\DeclareUnicodeCharacter{1FBB}{\ensuregreek{\acctonos\textAlpha}} % Ά
\DeclareUnicodeCharacter{1FBC}{\ensuregreek{\textAlpha\ypogegrammeni}} % ᾼ
-\DeclareUnicodeCharacter{1FBD}{\accpsili{ }} % ᾽
+\DeclareUnicodeCharacter{1FBD}{\accpsili{}} % ᾽
\DeclareUnicodeCharacter{1FBE}{\textcompwordmark\prosgegrammeni} % ι
-\DeclareUnicodeCharacter{1FBF}{\accpsili{ }} % ᾿
+\DeclareUnicodeCharacter{1FBF}{\accpsili{}} % ᾿
-\DeclareUnicodeCharacter{1FC0}{\accperispomeni{ }} % ῀
-\DeclareUnicodeCharacter{1FC1}{\accdialytikaperispomeni{ }} % ῁
+\DeclareUnicodeCharacter{1FC0}{\accperispomeni{}} % ῀
+\DeclareUnicodeCharacter{1FC1}{\accdialytikaperispomeni{}} % ῁
\DeclareUnicodeCharacter{1FC2}{\ensuregreek{\accvaria\texteta\ypogegrammeni}} % ῂ
\DeclareUnicodeCharacter{1FC3}{\ensuregreek{\texteta\ypogegrammeni}} % ῃ
\DeclareUnicodeCharacter{1FC4}{\ensuregreek{\acctonos\texteta\ypogegrammeni}} % ῄ
@@ -399,9 +401,9 @@
\DeclareUnicodeCharacter{1FCA}{\ensuregreek{\accvaria\textEta}} % Ὴ
\DeclareUnicodeCharacter{1FCB}{\ensuregreek{\acctonos\textEta}} % Ή
\DeclareUnicodeCharacter{1FCC}{\ensuregreek{\textEta\ypogegrammeni}} % ῌ
-\DeclareUnicodeCharacter{1FCD}{\accpsilivaria{ }} % ῍
-\DeclareUnicodeCharacter{1FCE}{\accpsilioxia{ }} % ῎
-\DeclareUnicodeCharacter{1FCF}{\accpsiliperispomeni{ }} % ῏
+\DeclareUnicodeCharacter{1FCD}{\accpsilivaria{}} % ῍
+\DeclareUnicodeCharacter{1FCE}{\accpsilioxia{}} % ῎
+\DeclareUnicodeCharacter{1FCF}{\accpsiliperispomeni{}} % ῏
\DeclareUnicodeCharacter{1FD0}{\ensuregreek{\u\textiota}} % ῐ
\DeclareUnicodeCharacter{1FD1}{\ensuregreek{\@tabacckludge=\textiota}} % ῑ
@@ -413,9 +415,9 @@
\DeclareUnicodeCharacter{1FD9}{\ensuregreek{\@tabacckludge=\textIota}} % Ῑ
\DeclareUnicodeCharacter{1FDA}{\ensuregreek{\accvaria\textIota}} % Ὶ
\DeclareUnicodeCharacter{1FDB}{\ensuregreek{\acctonos\textIota}} % Ί
-\DeclareUnicodeCharacter{1FDD}{\accdasiavaria{ }} % ῝
-\DeclareUnicodeCharacter{1FDE}{\accdasiaoxia{ }} % ῞
-\DeclareUnicodeCharacter{1FDF}{\accdasiaperispomeni{ }} % ῟
+\DeclareUnicodeCharacter{1FDD}{\accdasiavaria{}} % ῝
+\DeclareUnicodeCharacter{1FDE}{\accdasiaoxia{}} % ῞
+\DeclareUnicodeCharacter{1FDF}{\accdasiaperispomeni{}} % ῟
\DeclareUnicodeCharacter{1FE0}{\ensuregreek{\u\textupsilon}} % ῠ
\DeclareUnicodeCharacter{1FE1}{\ensuregreek{\@tabacckludge=\textupsilon}} % ῡ
@@ -430,9 +432,9 @@
\DeclareUnicodeCharacter{1FEA}{\ensuregreek{\accvaria\textUpsilon}} % Ὺ
\DeclareUnicodeCharacter{1FEB}{\ensuregreek{\acctonos\textUpsilon}} % Ύ
\DeclareUnicodeCharacter{1FEC}{\ensuregreek{\accdasia\textRho}} % Ῥ
-\DeclareUnicodeCharacter{1FED}{\accdialytikavaria{ }} % ῭
-\DeclareUnicodeCharacter{1FEE}{\accdialytikatonos{ }} % ΅
-\DeclareUnicodeCharacter{1FEF}{\accvaria{ }} % `
+\DeclareUnicodeCharacter{1FED}{\accdialytikavaria{}} % ῭
+\DeclareUnicodeCharacter{1FEE}{\accdialytikatonos{}} % ΅
+\DeclareUnicodeCharacter{1FEF}{\accvaria{}} % `
\DeclareUnicodeCharacter{1FF2}{\ensuregreek{\accvaria\textomega\ypogegrammeni}} % ῲ
\DeclareUnicodeCharacter{1FF3}{\ensuregreek{\textomega\ypogegrammeni}} % ῳ
@@ -444,8 +446,8 @@
\DeclareUnicodeCharacter{1FFA}{\ensuregreek{\accvaria\textOmega}} % Ὼ
\DeclareUnicodeCharacter{1FFB}{\ensuregreek{\acctonos\textOmega}} % Ώ
\DeclareUnicodeCharacter{1FFC}{\ensuregreek{\textOmega\ypogegrammeni}} % ῼ
-\DeclareUnicodeCharacter{1FFD}{\acctonos{ }} % ´
-\DeclareUnicodeCharacter{1FFE}{\accdasia{ }} % ῾
+\DeclareUnicodeCharacter{1FFD}{\acctonos{}} % ´
+\DeclareUnicodeCharacter{1FFE}{\accdasia{}} % ῾
% General Punctuation
% ~~~~~~~~~~~~~~~~~~~
@@ -507,7 +509,8 @@
% Maps to small koppa as there is no capital koppa in LGR.)
% .. Use ``\ypogegrammeni`` for mute iota also with capitals.
% .. Use ``\textdexiakeraia`` and ``\textaristerikeraia`` for
-% the Greek numeral signs.
+% the Greek numeral signs.
+% 1.9 2023-03-21 Empty argument instead of space for "spacing accents".
% ===== =========== ===========================================================
%
%
@@ -525,7 +528,6 @@
% .. _babel: https://ctan.org/pkg/babel
% .. _babel-greek: https://ctan.org/pkg/babel-greek
% .. _greek-fontenc: https://ctan.org/pkg/greek-fontenc
-% .. _greek-inputenc documentation: greek-inputenc.html#usage
% .. _grnumalt: https://ctan.org/pkg/grnumalt
% .. _inputenc: https://ctan.org/pkg/inputenc
% .. _LaTeX Project Public License: http://www.latex-project.org/lppl.txt
diff --git a/language/greek/greek-inputenc/lgrenc.dfu.html b/language/greek/greek-inputenc/lgrenc.dfu.html
index ad039e5166..4ac5accb64 100644
--- a/language/greek/greek-inputenc/lgrenc.dfu.html
+++ b/language/greek/greek-inputenc/lgrenc.dfu.html
@@ -826,13 +826,12 @@ and <span class="docutils literal">CB.enc</span> by Apostolos Syropoulos.</p>
</nav>
<section id="usage">
<h2><a class="toc-backref" href="#toc-entry-1" role="doc-backlink">Usage</a></h2>
-<p>See the <a class="reference external" href="greek-inputenc.html#usage">greek-inputenc documentation</a>
-and <a class="reference external" href="greek-utf8.tex">greek-utf8.tex</a> for an example.</p>
+<p>See the <a class="reference external" href="greek-inputenc.html#usage">greek-inputenc documentation</a>.</p>
</section>
<section id="implementation">
<h2><a class="toc-backref" href="#toc-entry-2" role="doc-backlink">Implementation</a></h2>
<p>Identification:</p>
-<pre class="literal-block">\ProvidesFile{lgrenc.dfu}[2023/02/21 1.8 UTF-8 support for Greek]</pre>
+<pre class="literal-block">\ProvidesFile{lgrenc.dfu}[2023-03-21 1.9 UTF-8 support for Greek]</pre>
<p>Some characters exist in other font encodings too. Care has been taken
to ensure the definitions match with other <span class="docutils literal">*.dfu</span> and <span class="docutils literal">*enc.def</span>
files.</p>
@@ -875,8 +874,8 @@ used.</p>
% 037D GREEK SMALL REVERSED DOTTED LUNATE SIGMA SYMBOL %
\DeclareUnicodeCharacter{037E}{\texterotimatiko} % ; \textquestion
-\DeclareUnicodeCharacter{0384}{\acctonos{ }} % ΄
-\DeclareUnicodeCharacter{0385}{\accdialytikatonos{ }} % ΅ \textdialytikatonos
+\DeclareUnicodeCharacter{0384}{\acctonos{}} % ΄
+\DeclareUnicodeCharacter{0385}{\accdialytikatonos{}} % ΅ \textdialytikatonos
\DeclareUnicodeCharacter{0386}{\ensuregreek{\acctonos\textAlpha}} % Ά
\DeclareUnicodeCharacter{0387}{\textanoteleia} % · \anoteleia
\DeclareUnicodeCharacter{0388}{\ensuregreek{\acctonos\textEpsilon}} % Έ
@@ -1172,12 +1171,12 @@ correspongind pre-composed character if Alpha, Eta, or Omega
\DeclareUnicodeCharacter{1FBA}{\ensuregreek{\accvaria\textAlpha}} % Ὰ
\DeclareUnicodeCharacter{1FBB}{\ensuregreek{\acctonos\textAlpha}} % Ά
\DeclareUnicodeCharacter{1FBC}{\ensuregreek{\textAlpha\ypogegrammeni}} % ᾼ
-\DeclareUnicodeCharacter{1FBD}{\accpsili{ }} % ᾽
+\DeclareUnicodeCharacter{1FBD}{\accpsili{}} % ᾽
\DeclareUnicodeCharacter{1FBE}{\textcompwordmark\prosgegrammeni} % ι
-\DeclareUnicodeCharacter{1FBF}{\accpsili{ }} % ᾿
+\DeclareUnicodeCharacter{1FBF}{\accpsili{}} % ᾿
-\DeclareUnicodeCharacter{1FC0}{\accperispomeni{ }} % ῀
-\DeclareUnicodeCharacter{1FC1}{\accdialytikaperispomeni{ }} % ῁
+\DeclareUnicodeCharacter{1FC0}{\accperispomeni{}} % ῀
+\DeclareUnicodeCharacter{1FC1}{\accdialytikaperispomeni{}} % ῁
\DeclareUnicodeCharacter{1FC2}{\ensuregreek{\accvaria\texteta\ypogegrammeni}} % ῂ
\DeclareUnicodeCharacter{1FC3}{\ensuregreek{\texteta\ypogegrammeni}} % ῃ
\DeclareUnicodeCharacter{1FC4}{\ensuregreek{\acctonos\texteta\ypogegrammeni}} % ῄ
@@ -1188,9 +1187,9 @@ correspongind pre-composed character if Alpha, Eta, or Omega
\DeclareUnicodeCharacter{1FCA}{\ensuregreek{\accvaria\textEta}} % Ὴ
\DeclareUnicodeCharacter{1FCB}{\ensuregreek{\acctonos\textEta}} % Ή
\DeclareUnicodeCharacter{1FCC}{\ensuregreek{\textEta\ypogegrammeni}} % ῌ
-\DeclareUnicodeCharacter{1FCD}{\accpsilivaria{ }} % ῍
-\DeclareUnicodeCharacter{1FCE}{\accpsilioxia{ }} % ῎
-\DeclareUnicodeCharacter{1FCF}{\accpsiliperispomeni{ }} % ῏
+\DeclareUnicodeCharacter{1FCD}{\accpsilivaria{}} % ῍
+\DeclareUnicodeCharacter{1FCE}{\accpsilioxia{}} % ῎
+\DeclareUnicodeCharacter{1FCF}{\accpsiliperispomeni{}} % ῏
\DeclareUnicodeCharacter{1FD0}{\ensuregreek{\u\textiota}} % ῐ
\DeclareUnicodeCharacter{1FD1}{\ensuregreek{\&#64;tabacckludge=\textiota}} % ῑ
@@ -1202,9 +1201,9 @@ correspongind pre-composed character if Alpha, Eta, or Omega
\DeclareUnicodeCharacter{1FD9}{\ensuregreek{\&#64;tabacckludge=\textIota}} % Ῑ
\DeclareUnicodeCharacter{1FDA}{\ensuregreek{\accvaria\textIota}} % Ὶ
\DeclareUnicodeCharacter{1FDB}{\ensuregreek{\acctonos\textIota}} % Ί
-\DeclareUnicodeCharacter{1FDD}{\accdasiavaria{ }} % ῝
-\DeclareUnicodeCharacter{1FDE}{\accdasiaoxia{ }} % ῞
-\DeclareUnicodeCharacter{1FDF}{\accdasiaperispomeni{ }} % ῟
+\DeclareUnicodeCharacter{1FDD}{\accdasiavaria{}} % ῝
+\DeclareUnicodeCharacter{1FDE}{\accdasiaoxia{}} % ῞
+\DeclareUnicodeCharacter{1FDF}{\accdasiaperispomeni{}} % ῟
\DeclareUnicodeCharacter{1FE0}{\ensuregreek{\u\textupsilon}} % ῠ
\DeclareUnicodeCharacter{1FE1}{\ensuregreek{\&#64;tabacckludge=\textupsilon}} % ῡ
@@ -1219,9 +1218,9 @@ correspongind pre-composed character if Alpha, Eta, or Omega
\DeclareUnicodeCharacter{1FEA}{\ensuregreek{\accvaria\textUpsilon}} % Ὺ
\DeclareUnicodeCharacter{1FEB}{\ensuregreek{\acctonos\textUpsilon}} % Ύ
\DeclareUnicodeCharacter{1FEC}{\ensuregreek{\accdasia\textRho}} % Ῥ
-\DeclareUnicodeCharacter{1FED}{\accdialytikavaria{ }} % ῭
-\DeclareUnicodeCharacter{1FEE}{\accdialytikatonos{ }} % ΅
-\DeclareUnicodeCharacter{1FEF}{\accvaria{ }} % `
+\DeclareUnicodeCharacter{1FED}{\accdialytikavaria{}} % ῭
+\DeclareUnicodeCharacter{1FEE}{\accdialytikatonos{}} % ΅
+\DeclareUnicodeCharacter{1FEF}{\accvaria{}} % `
\DeclareUnicodeCharacter{1FF2}{\ensuregreek{\accvaria\textomega\ypogegrammeni}} % ῲ
\DeclareUnicodeCharacter{1FF3}{\ensuregreek{\textomega\ypogegrammeni}} % ῳ
@@ -1233,8 +1232,8 @@ correspongind pre-composed character if Alpha, Eta, or Omega
\DeclareUnicodeCharacter{1FFA}{\ensuregreek{\accvaria\textOmega}} % Ὼ
\DeclareUnicodeCharacter{1FFB}{\ensuregreek{\acctonos\textOmega}} % Ώ
\DeclareUnicodeCharacter{1FFC}{\ensuregreek{\textOmega\ypogegrammeni}} % ῼ
-\DeclareUnicodeCharacter{1FFD}{\acctonos{ }} % ´
-\DeclareUnicodeCharacter{1FFE}{\accdasia{ }} % ῾</pre>
+\DeclareUnicodeCharacter{1FFD}{\acctonos{}} % ´
+\DeclareUnicodeCharacter{1FFE}{\accdasia{}} % ῾</pre>
</section>
<section id="general-punctuation">
<h3><a class="toc-backref" href="#toc-entry-8" role="doc-backlink">General Punctuation</a></h3>
@@ -1339,6 +1338,10 @@ Maps to small koppa as there is no capital koppa in LGR.)</p></td>
<td><p>Use <span class="docutils literal">\textdexiakeraia</span> and <span class="docutils literal">\textaristerikeraia</span> for
the Greek numeral signs.</p></td>
</tr>
+<tr><td><p>1.9</p></td>
+<td><p>2023-03-21</p></td>
+<td><p>Empty argument instead of space for “spacing accents”.</p></td>
+</tr>
</tbody>
</table>
</section>