summaryrefslogtreecommitdiff
path: root/language
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2023-02-23 03:05:21 +0000
committerNorbert Preining <norbert@preining.info>2023-02-23 03:05:21 +0000
commitc777f2320db5eee966cbb30940cada6e5290ec03 (patch)
tree00fca2d7c363e93f4df7636f2fde416166bb63b8 /language
parent470678475288a244fd8a9af69f9abc9b46b2860f (diff)
CTAN sync 202302230305
Diffstat (limited to 'language')
-rw-r--r--language/greek/greek-inputenc/README157
-rw-r--r--language/greek/greek-inputenc/README.html747
-rw-r--r--language/greek/greek-inputenc/README.md28
-rw-r--r--language/greek/greek-inputenc/greek-inputenc.html1012
-rw-r--r--language/greek/greek-inputenc/greek-utf8-minimal.pdfbin279760 -> 0 bytes
-rw-r--r--language/greek/greek-inputenc/greek-utf8-minimal.tex439
-rw-r--r--language/greek/greek-inputenc/greek-utf8.pdfbin329701 -> 457952 bytes
-rw-r--r--language/greek/greek-inputenc/greek-utf8.tex380
-rw-r--r--language/greek/greek-inputenc/inputenc-iso-8859-7.pdfbin200825 -> 200801 bytes
-rw-r--r--language/greek/greek-inputenc/inputenc-iso-8859-7.tex8
-rw-r--r--language/greek/greek-inputenc/lgrenc.dfu224
-rw-r--r--language/greek/greek-inputenc/lgrenc.dfu.html1270
-rw-r--r--language/greek/greek-inputenc/unicode-licr.txt62
13 files changed, 2199 insertions, 2128 deletions
diff --git a/language/greek/greek-inputenc/README b/language/greek/greek-inputenc/README
deleted file mode 100644
index 0e78de83f7..0000000000
--- a/language/greek/greek-inputenc/README
+++ /dev/null
@@ -1,157 +0,0 @@
-greek-inputenc
-##############
-Greek input encoding definition files
-*************************************
-
-:Author: Apostolos Syropoulos, Dimitrios Filippou, Günter Milde
-:Date: 2019-07-11
-:Copyright: © 1999 Dimitrios Filippou,
- © 2000 Apostolos Syropoulos,
- © 2013 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.
-:Abstract: This package provides input encoding definition
- files for Greek for use with inputenc_.
-
-
-News
-====
-
-.. 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.)
-===== ============ =============================================================
-
-
-Files
-=====
-
-`<lgrenc.dfu>`_
- Greek input encoding file for UTF-8 comprising Greek letters and other
- symbols present in the LGR encoding.
-
- This file requires ``lgrenc.def`` version 0.8.2 or newer from the
- greek-fontenc_ package.
-
- The literate source was converted with PyLit_ to reStructuredText_ and
- with Docutils_ to `<lgrenc.dfu.html>`_.
-
-`<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.
- [#transliteration]_
-
-Test examples and output:
- :utf-8: `<greek-utf8.tex>`_, `<greek-utf8.pdf>`_
- (comprehensive example)
- :iso 8859-7: `<inputenc-iso-8859-7.tex>`_, `<inputenc-iso-8859-7.pdf>`_
- (basic test)
-
-.. [#transliteration] Currently, these files translate to a Latin
- transcription particular to the LGR font encoding. Drawbacks include:
- Latin characters in PDF strings (hyperref_ bookmarks and TOC sidebar, cf.
- greekhyperref.pdf__), no kerning between accented characters.
-
-__ http://mirrors.ctan.org/language/greek/greek-fontenc/greekhyperref.pdf
-
-
-Installation
-============
-
-If possible, get this package from your distribution using its installation
-manager.
-
-Otherwise, make sure LaTeX can find the files ending in ``.def``:
-
-* Download and unpack `greek-inputenc.zip` or just download 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
-=====
-
-Pass the encoding name as option to inputenc_.
-
-The "utf8" option only defines characters that are accessible in declared
-font encodings. In order to load the Greek definitions in ``lgrenc.dfu``,
-specify the LGR font encoding with fontenc_, the "greek" option for
-babel_, or both, e.g. ::
-
- \usepackage[LGR,T1]{fontenc}
- \usepackage[utf8]{inputenc}
-
-or ::
-
- \usepackage[greek,english]{babel}
- \usepackage[utf8]{inputenc}
-
-See `greek-utf8.tex`_ for an example.
-
-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.
-(See usage.pdf_ for a description of this Latin-Greek transliteration.)
-
-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-\textlatin{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 `Greek question mark`.
-* The LGR font encoding maps the semicolon to a middle dot (ano teleia), while the
- Latin question mark is mapped to the erotimatiko.
-
-As a result, only the deprecated character ``037E GREEK QUESTION MARK``
-works with both, Xe/LuaTeX and 8-bit TeX.
-
-Alternatively, the `textalpha` and `alphabeta` packages from greek-fontenc_
-can be loaded with the "keep-semicolon_" option.
-
-.. References
- ==========
-
-.. _ISO 8859-7: http://en.wikipedia.org/wiki/ISO/IEC_8859-7
-
-.. _LaTeX Project Public License: http://www.latex-project.org/lppl.txt
-.. _PyLit: http://repo.or.cz/pylit.git
-.. _reStructuredText: http://docutils.sourceforge.net/rst.html
-.. _Docutils: http://docutils.sourceforge.net/rst.html
-.. _TDS: http://www.tex.ac.uk/cgi-bin/texfaq2html?label=tds
-
-.. _babel: http://www.ctan.org/pkg/babel
-.. _fontenc: http://www.ctan.org/pkg/fontenc
-.. _greek-fontenc: http://www.ctan.org/pkg/greek-fontenc
-.. _hyperref: http://www.ctan.org/pkg/hyperref
-.. _ibycus-babel: http://www.ctan.org/pkg/ibycus-babel
-.. _inputenc: http://www.ctan.org/pkg/inputenc
-.. _lgrx: http://www.ctan.org/pkg/lgrx
-.. _usage.pdf: http://mirrors.ctan.org/language/babel/contrib/greek/usage.pdf
-.. _keep-semicolon:
- http://mirrors.ctan.org/language/greek/greek-fontenc/textalpha.sty.html#keep-semicolon
diff --git a/language/greek/greek-inputenc/README.html b/language/greek/greek-inputenc/README.html
deleted file mode 100644
index c2830e8971..0000000000
--- a/language/greek/greek-inputenc/README.html
+++ /dev/null
@@ -1,747 +0,0 @@
-<!DOCTYPE html>
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head>
-<meta charset="utf-8"/>
-<meta name="generator" content="Docutils 0.15b.dev: http://docutils.sourceforge.net/" />
-<title>greek-inputenc</title>
-<meta name="author" content="Apostolos Syropoulos, Dimitrios Filippou, Günter Milde" />
-<meta name="dcterms.date" content="2019-07-11" />
-<meta name="dcterms.rights" content="© 1999 Dimitrios Filippou, © 2000 Apostolos Syropoulos, © 2013 Günter Milde &lt;milde&#64;users.sf.net&gt;" />
-<link rel="schema.dcterms" href="http://purl.org/dc/terms/">
-<style type="text/css">
-
-/* Minimal style sheet for the HTML output of Docutils. */
-/* */
-/* :Author: Günter Milde, based on html4css1.css by David Goodger */
-/* :Id: $Id$ */
-/* :Copyright: © 2015 Günter Milde. */
-/* :License: Released under the terms of the `2-Clause BSD license`_, */
-/* in short: */
-/* */
-/* Copying and distribution of this file, with or without modification, */
-/* are permitted in any medium without royalty provided the copyright */
-/* notice and this notice are preserved. */
-/* */
-/* This file is offered as-is, without any warranty. */
-/* */
-/* .. _2-Clause BSD license: http://www.spdx.org/licenses/BSD-2-Clause */
-
-/* This CSS2.1_ stylesheet defines rules for Docutils elements without */
-/* HTML equivalent. It is required to make the document semantic visible. */
-/* */
-/* .. _CSS2.1: http://www.w3.org/TR/CSS2 */
-/* .. _validates: http://jigsaw.w3.org/css-validator/validator$link */
-
-/* alignment of text and inline objects inside block objects*/
-.align-left { text-align: left; }
-.align-right { text-align: right; }
-.align-center { clear: both; text-align: center; }
-.align-top { vertical-align: top; }
-.align-middle { vertical-align: middle; }
-.align-bottom { vertical-align: bottom; }
-
-/* titles */
-h1.title, p.subtitle {
- text-align: center;
-}
-p.admonition-title,
-p.topic-title,
-p.sidebar-title,
-p.rubric,
-p.system-message-title {
- font-weight: bold;
-}
-h1 + p.subtitle,
-h1 + p.section-subtitle {
- font-size: 1.6em;
-}
-h2 + p.section-subtitle { font-size: 1.28em; }
-p.subtitle,
-p.section-subtitle,
-p.sidebar-subtitle {
- font-weight: bold;
- margin-top: -0.5em;
-}
-p.sidebar-title,
-p.rubric {
- font-size: larger;
-}
-p.rubric { color: maroon; }
-a.toc-backref {
- color: black;
- text-decoration: none; }
-
-/* Warnings, Errors */
-div.caution p.admonition-title,
-div.attention p.admonition-title,
-div.danger p.admonition-title,
-div.error p.admonition-title,
-div.warning p.admonition-title,
-div.system-messages h1,
-div.error,
-span.problematic,
-p.system-message-title {
- color: red;
-}
-
-/* inline literals */
-span.docutils.literal {
- font-family: monospace;
- white-space: pre-wrap;
-}
-/* do not wraph at hyphens and similar: */
-.literal > span.pre { white-space: nowrap; }
-
-/* Lists */
-
-/* compact and simple lists: no margin between items */
-.simple li, .compact li,
-.simple ul, .compact ul,
-.simple ol, .compact ol,
-.simple > li p, .compact > li p,
-dl.simple > dd, dl.compact > dd {
- margin-top: 0;
- margin-bottom: 0;
-}
-
-/* Table of Contents */
-div.topic.contents { margin: 0; }
-div.topic.contents ul {
- list-style-type: none;
- padding-left: 1.5em;
-}
-
-/* Enumerated Lists */
-ol.arabic { list-style: decimal }
-ol.loweralpha { list-style: lower-alpha }
-ol.upperalpha { list-style: upper-alpha }
-ol.lowerroman { list-style: lower-roman }
-ol.upperroman { list-style: upper-roman }
-
-dt span.classifier { font-style: italic }
-dt span.classifier:before {
- font-style: normal;
- margin: 0.5em;
- content: ":";
-}
-
-/* Field Lists and drivatives */
-/* bold field name, content starts on the same line */
-dl.field-list > dt,
-dl.option-list > dt,
-dl.docinfo > dt,
-dl.footnote > dt,
-dl.citation > dt {
- font-weight: bold;
- clear: left;
- float: left;
- margin: 0;
- padding: 0;
- padding-right: 0.5em;
-}
-/* Offset for field content (corresponds to the --field-name-limit option) */
-dl.field-list > dd,
-dl.option-list > dd,
-dl.docinfo > dd {
- margin-left: 9em; /* ca. 14 chars in the test examples */
-}
-/* start field-body on a new line after long field names */
-dl.field-list > dd > *:first-child,
-dl.option-list > dd > *:first-child
-{
- display: inline-block;
- width: 100%;
- margin: 0;
-}
-/* field names followed by a colon */
-dl.field-list > dt:after,
-dl.docinfo > dt:after {
- content: ":";
-}
-
-/* Bibliographic Fields (docinfo) */
-pre.address { font: inherit; }
-dd.authors > p { margin: 0; }
-
-/* Option Lists */
-dl.option-list { margin-left: 40px; }
-dl.option-list > dt { font-weight: normal; }
-span.option { white-space: nowrap; }
-
-/* Footnotes and Citations */
-dl.footnote.superscript > dd {margin-left: 1em; }
-dl.footnote.brackets > dd {margin-left: 2em; }
-dl > dt.label { font-weight: normal; }
-a.footnote-reference.brackets:before,
-dt.label > span.brackets:before { content: "["; }
-a.footnote-reference.brackets:after,
-dt.label > span.brackets:after { content: "]"; }
-a.footnote-reference.superscript,
-dl.footnote.superscript > dt.label {
- vertical-align: super;
- font-size: smaller;
-}
-dt.label > span.fn-backref { margin-left: 0.2em; }
-dt.label > span.fn-backref > a { font-style: italic; }
-
-/* Line Blocks */
-div.line-block { display: block; }
-div.line-block div.line-block {
- margin-top: 0;
- margin-bottom: 0;
- margin-left: 40px;
-}
-
-/* Figures, Images, and Tables */
-.figure.align-left,
-img.align-left,
-object.align-left,
-table.align-left {
- margin-right: auto;
-}
-.figure.align-center,
-img.align-center,
-object.align-center {
- margin-left: auto;
- margin-right: auto;
- display: block;
-}
-table.align-center {
- margin-left: auto;
- margin-right: auto;
-}
-.figure.align-right,
-img.align-right,
-object.align-right,
-table.align-right {
- margin-left: auto;
-}
-/* reset inner alignment in figures and tables */
-/* div.align-left, div.align-center, div.align-right, */
-table.align-left, table.align-center, table.align-right
-{ text-align: inherit }
-
-/* Admonitions and System Messages */
-div.admonition,
-div.system-message,
-div.sidebar{
- margin: 40px;
- border: medium outset;
- padding-right: 1em;
- padding-left: 1em;
-}
-
-/* Sidebar */
-div.sidebar {
- width: 30%;
- max-width: 26em;
- float: right;
- clear: right;
-}
-
-/* Text Blocks */
-blockquote,
-div.topic,
-pre.literal-block,
-pre.doctest-block,
-pre.math,
-pre.code {
- margin-left: 1.5em;
- margin-right: 1.5em
-}
-pre.code .ln { color: gray; } /* line numbers */
-
-/* Tables */
-table { border-collapse: collapse; }
-td, th {
- border-style: solid;
- border-color: silver;
- padding: 0 1ex;
- border-width: thin;
-}
-td > p:first-child, th > p:first-child { margin-top: 0; }
-td > p, th > p { margin-bottom: 0; }
-
-table > caption {
- text-align: left;
- margin-bottom: 0.25em
-}
-
-table.borderless td, table.borderless th {
- border: 0;
- padding: 0;
- padding-right: 0.5em /* separate table cells */
-}
-
-</style>
-<style type="text/css">
-
-/* CSS31_ style sheet for the output of Docutils HTML writers. */
-/* Rules for easy reading and pre-defined style variants. */
-/* */
-/* :Author: Günter Milde, based on html4css1.css by David Goodger */
-/* :Id: $Id$ */
-/* :Copyright: © 2015 Günter Milde. */
-/* :License: Released under the terms of the `2-Clause BSD license`_, */
-/* in short: */
-/* */
-/* Copying and distribution of this file, with or without modification, */
-/* are permitted in any medium without royalty provided the copyright */
-/* notice and this notice are preserved. */
-/* */
-/* This file is offered as-is, without any warranty. */
-/* */
-/* .. _2-Clause BSD license: http://www.spdx.org/licenses/BSD-2-Clause */
-/* .. _CSS3: http://www.w3.org/TR/CSS3 */
-
-
-/* Document Structure */
-/* ****************** */
-
-/* "page layout" */
-body {
- margin: 0;
- background-color: #dbdbdb;
-}
-div.document {
- line-height:1.3;
- counter-reset: table;
- /* counter-reset: figure; */
- /* avoid long lines --> better reading */
- /* OTOH: lines should not be too short because of missing hyphenation, */
- max-width: 50em;
- padding: 1px 2%; /* 1px on top avoids grey bar above title (mozilla) */
- margin: auto;
- background-color: white;
-}
-
-/* Sections */
-
-/* Transitions */
-
-hr.docutils {
- width: 80%;
- margin-top: 1em;
- margin-bottom: 1em;
- clear: both;
-}
-
-/* Paragraphs */
-/* ========== */
-
-/* vertical space (parskip) */
-p, ol, ul, dl,
-div.line-block,
-table{
- margin-top: 0.5em;
- margin-bottom: 0.5em;
-}
-h1, h2, h3, h4, h5, h6,
-dl > dd {
- margin-bottom: 0.5em;
-}
-
-/* Lists */
-/* ========== */
-
-/* Definition Lists */
-
-dl > dd > p:first-child { margin-top: 0; }
-/* :last-child is not part of CSS 2.1 (introduced in CSS 3) */
-dl > dd > p:last-child { margin-bottom: 0; }
-
-/* lists nested in definition lists */
-/* :only-child is not part of CSS 2.1 (introduced in CSS 3) */
-dd > ul:only-child, dd > ol:only-child { padding-left: 1em; }
-
-/* Description Lists */
-/* styled like in most dictionaries, encyclopedias etc. */
-dl.description > dt {
- font-weight: bold;
- clear: left;
- float: left;
- margin: 0;
- padding: 0;
- padding-right: 0.5em;
-}
-
-/* Field Lists */
-
-/* example for custom field-name width */
-dl.field-list.narrow > dd {
- margin-left: 5em;
-}
-/* run-in: start field-body on same line after long field names */
-dl.field-list.run-in > dd p {
- display: block;
-}
-
-/* Bibliographic Fields */
-
-/* generally, bibliographic fields use special definition list dl.docinfo */
-/* but dedication and abstract are placed into "topic" divs */
-div.abstract p.topic-title {
- text-align: center;
-}
-div.dedication {
- margin: 2em 5em;
- text-align: center;
- font-style: italic;
-}
-div.dedication p.topic-title {
- font-style: normal;
-}
-
-/* Citations */
-dl.citation dt.label {
- font-weight: bold;
-}
-span.fn-backref {
- font-weight: normal;
-}
-
-/* Text Blocks */
-/* ============ */
-
-/* Literal Blocks */
-
-/* Block Quotes */
-
-blockquote > table,
-div.topic > table {
- margin-top: 0;
- margin-bottom: 0;
-}
-blockquote p.attribution,
-div.topic p.attribution {
- text-align: right;
- margin-left: 20%;
-}
-
-/* Tables */
-/* ====== */
-
-/* th { vertical-align: bottom; } */
-
-table tr { text-align: left; }
-
-/* "booktabs" style (no vertical lines) */
-table.booktabs {
- border: 0;
- border-top: 2px solid;
- border-bottom: 2px solid;
- border-collapse: collapse;
-}
-table.booktabs * {
- border: 0;
-}
-table.booktabs th {
- border-bottom: thin solid;
-}
-
-/* numbered tables (counter defined in div.document) */
-table.numbered > caption:before {
- counter-increment: table;
- content: "Table " counter(table) ": ";
- font-weight: bold;
-}
-
-/* Explicit Markup Blocks */
-/* ====================== */
-
-/* Footnotes and Citations */
-/* ----------------------- */
-
-/* line on the left */
-dl.footnote {
- padding-left: 1ex;
- border-left: solid;
- border-left-width: thin;
-}
-
-/* Directives */
-/* ---------- */
-
-/* Body Elements */
-/* ~~~~~~~~~~~~~ */
-
-/* Images and Figures */
-
-/* let content flow to the side of aligned images and figures */
-.figure.align-left,
-img.align-left,
-object.align-left {
- display: block;
- clear: left;
- float: left;
- margin-right: 1em
-}
-.figure.align-right,
-img.align-right,
-object.align-right {
- display: block;
- clear: right;
- float: right;
- margin-left: 1em
-}
-/* Stop floating sidebars, images and figures at section level 1,2,3 */
-h1, h2, h3 { clear: both; }
-
-/* Sidebar */
-
-/* Move into the margin. In a layout with fixed margins, */
-/* it can be moved into the margin completely. */
-div.sidebar {
- width: 30%;
- max-width: 26em;
- margin-left: 1em;
- margin-right: -5.5%;
- background-color: #ffffee ;
-}
-
-/* Code */
-
-pre.code { padding: 0.7ex }
-pre.code, code { background-color: #eeeeee }
-pre.code .ln { color: gray; } /* line numbers */
-/* basic highlighting: for a complete scheme, see */
-/* http://docutils.sourceforge.net/sandbox/stylesheets/ */
-pre.code .comment, code .comment { color: #5C6576 }
-pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold }
-pre.code .literal.string, code .literal.string { color: #0C5404 }
-pre.code .name.builtin, code .name.builtin { color: #352B84 }
-pre.code .deleted, code .deleted { background-color: #DEB0A1}
-pre.code .inserted, code .inserted { background-color: #A3D289}
-
-/* Math */
-/* styled separately (see math.css for math-output=HTML) */
-
-/* Epigraph */
-/* Highlights */
-/* Pull-Quote */
-/* Compound Paragraph */
-/* Container */
-
-/* can be styled in a custom stylesheet */
-
-/* Document Header and Footer */
-
-div.footer, div.header {
- clear: both;
- font-size: smaller;
-}
-
-/* Inline Markup */
-/* ============= */
-
-/* Emphasis */
-/* em */
-/* Strong Emphasis */
-/* strong */
-/* Interpreted Text */
-/* span.interpreted */
-/* Title Reference */
-/* cite */
-/* Inline Literals */
-/* possible values: normal, nowrap, pre, pre-wrap, pre-line */
-/* span.docutils.literal { white-space: pre-wrap; } */
-
-/* Hyperlink References */
-a { text-decoration: none; }
-
-/* External Targets */
-/* span.target.external */
-/* Internal Targets */
-/* span.target.internal */
-/* Footnote References */
-/* a.footnote-reference */
-/* Citation References */
-/* a.citation-reference */
-
-</style>
-</head>
-<body>
-<div class="document" 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">
-<dt class="author">Author</dt>
-<dd class="author"><p>Apostolos Syropoulos, Dimitrios Filippou, Günter Milde</p></dd>
-<dt class="date">Date</dt>
-<dd class="date">2019-07-11</dd>
-<dt class="copyright">Copyright</dt>
-<dd class="copyright">© 1999 Dimitrios Filippou,
-© 2000 Apostolos Syropoulos,
-© 2013 Günter Milde &lt;<a class="reference external" href="mailto:milde&#64;users.sf.net">milde&#64;users.sf.net</a>&gt;</dd>
-<dt class="licence">Licence</dt>
-<dd class="licence"><p>This work may be distributed and/or modified under the
-conditions of the <a class="reference external" href="http://www.latex-project.org/lppl.txt">LaTeX Project Public License</a>, either
-version 1.3 of this license or any later version.</p>
-</dd>
-</dl>
-<div class="abstract topic">
-<p class="topic-title first">Abstract</p>
-<p>This package provides input encoding definition
-files for Greek for use with <a class="reference external" href="http://www.ctan.org/pkg/inputenc">inputenc</a>.</p>
-</div>
-<div class="section" id="news">
-<h1>News</h1>
-<table class="borderless">
-<colgroup>
-<col style="width: 6%" />
-<col style="width: 15%" />
-<col style="width: 78%" />
-</colgroup>
-<tbody>
-<tr><td><p>1.3</p></td>
-<td><p>2013-05-17</p></td>
-<td><p>New maintainer.</p></td>
-</tr>
-<tr><td><!-- -->
-</td>
-<td></td>
-<td><p>Unicode support with the standard “utf8” option.</p></td>
-</tr>
-<tr><td><p>1.4</p></td>
-<td><p>2013-07-16</p></td>
-<td><p>bugfix for GREEK SMALL LETTER RHO WITH PSILI/DASIA,</p></td>
-</tr>
-<tr><td><!-- -->
-</td>
-<td></td>
-<td><p>drop “greek” from macro names for ancient characters,</p></td>
-</tr>
-<tr><td><!-- -->
-</td>
-<td></td>
-<td><p><span class="docutils literal">\ypogegrammeni</span> and <span class="docutils literal">\prosgegrammeni</span> instead of <span class="docutils literal">|</span></p></td>
-</tr>
-<tr><td><p>1.4.1</p></td>
-<td><p>2013-07-18</p></td>
-<td><p>bugfix: wrong breathings psilioxia -&gt; dasiaoxia</p></td>
-</tr>
-<tr><td><p>1.5</p></td>
-<td><p>2014-09-14</p></td>
-<td><p>Use named accent macros for Greek accents,</p></td>
-</tr>
-<tr><td><!-- -->
-</td>
-<td></td>
-<td><p>Documentation update (warn of <span class="docutils literal">;</span>-conversion!)</p></td>
-</tr>
-<tr><td><p>1.5.1</p></td>
-<td><p>2015-06-04</p></td>
-<td><p>Fix definition of spacing diacritical characters in utf8.dfu.</p></td>
-</tr>
-<tr><td><p>1.6</p></td>
-<td><p>2015-08-05</p></td>
-<td><p>Fix output of accented characters with “textalpha” if the
-current font encoding is not LGR (wrap in ensuregreek),</p></td>
-</tr>
-<tr><td><!-- -->
-</td>
-<td></td>
-<td><p>Map GREEK … SYMBOL characters.</p></td>
-</tr>
-<tr><td><p>1.7</p></td>
-<td><p>2019-07-11</p></td>
-<td><p>Use LICR macros instead of transliteration and remove
-<span class="docutils literal">\textbullet</span> substitution character from iso-8859-7.def.
-(Missing characters will now result in the standard
-<span class="docutils literal">inputenc</span> error message.)</p></td>
-</tr>
-</tbody>
-</table>
-</div>
-<div class="section" id="files">
-<h1>Files</h1>
-<dl>
-<dt><a class="reference external" href="lgrenc.dfu">lgrenc.dfu</a></dt>
-<dd><p>Greek input encoding file for UTF-8 comprising Greek letters and other
-symbols present in the LGR encoding.</p>
-<p>This file requires <span class="docutils literal">lgrenc.def</span> version 0.8.2 or newer from the
-<a class="reference external" href="http://www.ctan.org/pkg/greek-fontenc">greek-fontenc</a> package.</p>
-<p>The literate source was converted with <a class="reference external" href="http://repo.or.cz/pylit.git">PyLit</a> to <a class="reference external" href="http://docutils.sourceforge.net/rst.html">reStructuredText</a> and
-with <a class="reference external" href="http://docutils.sourceforge.net/rst.html">Docutils</a> to <a class="reference external" href="lgrenc.dfu.html">lgrenc.dfu.html</a>.</p>
-</dd>
-<dt><a class="reference external" href="iso-8859-7.def">iso-8859-7.def</a></dt>
-<dd><p>Greek input encoding file for <a class="reference external" href="http://en.wikipedia.org/wiki/ISO/IEC_8859-7">ISO 8859-7</a> by Apostolos Syropoulos.</p>
-</dd>
-<dt><a class="reference external" href="macgreek.def">macgreek.def</a></dt>
-<dd><p>Greek input encoding file for Macintosh (ELOT 823) by Dimitrios Filippou.<a class="footnote-reference superscript" href="#transliteration" id="id1">1</a></p>
-</dd>
-<dt>Test examples and output:</dt>
-<dd><dl class="field-list simple">
-<dt>utf-8</dt>
-<dd><p><a class="reference external" href="greek-utf8.tex">greek-utf8.tex</a>, <a class="reference external" href="greek-utf8.pdf">greek-utf8.pdf</a>
-(comprehensive example)</p>
-</dd>
-<dt>iso 8859-7</dt>
-<dd><p><a class="reference external" href="inputenc-iso-8859-7.tex">inputenc-iso-8859-7.tex</a>, <a class="reference external" href="inputenc-iso-8859-7.pdf">inputenc-iso-8859-7.pdf</a>
-(basic test)</p>
-</dd>
-</dl>
-</dd>
-</dl>
-<dl class="footnote superscript">
-<dt class="label" id="transliteration"><span class="superscript"><a class="fn-backref" href="#id1">1</a></span></dt>
-<dd><p>Currently, these files translate to a Latin
-transcription particular to the LGR font encoding. Drawbacks include:
-Latin characters in PDF strings (<a class="reference external" href="http://www.ctan.org/pkg/hyperref">hyperref</a> bookmarks and TOC sidebar, cf.
-<a class="reference external" href="http://mirrors.ctan.org/language/greek/greek-fontenc/greekhyperref.pdf">greekhyperref.pdf</a>), no kerning between accented characters.</p>
-</dd>
-</dl>
-</div>
-<div class="section" id="installation">
-<h1>Installation</h1>
-<p>If possible, get this package from your distribution using its installation
-manager.</p>
-<p>Otherwise, make sure LaTeX can find the files ending in <span class="docutils literal">.def</span>:</p>
-<ul class="simple">
-<li><p>Download and unpack <cite>greek-inputenc.zip</cite> or just download the required
-file(s).</p></li>
-<li><p>Copy, move, or link the files to a suitable place in the <cite>TeX Directory
-Structure</cite> (<a class="reference external" href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=tds">TDS</a>) and run <span class="docutils literal">texhash</span>, or place them in the current working
-directory (e.g. for testing).</p></li>
-</ul>
-</div>
-<div class="section" id="usage">
-<h1>Usage</h1>
-<p>Pass the encoding name as option to <a class="reference external" href="http://www.ctan.org/pkg/inputenc">inputenc</a>.</p>
-<p>The “utf8” option only defines characters that are accessible in declared
-font encodings. In order to load the Greek definitions in <span class="docutils literal">lgrenc.dfu</span>,
-specify the LGR font encoding with <a class="reference external" href="http://www.ctan.org/pkg/fontenc">fontenc</a>, the “greek” option for
-<a class="reference external" href="http://www.ctan.org/pkg/babel">babel</a>, or both, e.g.</p>
-<pre class="literal-block">\usepackage[LGR,T1]{fontenc}
-\usepackage[utf8]{inputenc}</pre>
-<p>or</p>
-<pre class="literal-block">\usepackage[greek,english]{babel}
-\usepackage[utf8]{inputenc}</pre>
-<p>See <a class="reference external" href="greek-utf8.tex">greek-utf8.tex</a> for an example.</p>
-<div class="section" id="warning">
-<h2>Warning</h2>
-<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="http://mirrors.ctan.org/language/babel/contrib/greek/usage.pdf">usage.pdf</a> for a description of this Latin-Greek transliteration.)</p>
-<p>This means you need an explicit font-encoding switch for Latin words and
-abbreviations in Greek text, e.g.,
-not <span class="docutils literal"><span class="pre">\foreignlanguage{greek}{((ηία</span> αντίσταση <span class="pre">750-kΩ))}</span></span>
-but <span class="docutils literal"><span class="pre">\foreignlanguage{greek}{((ηία</span> αντίσταση <span class="pre">750-\textlatin{k}Ω))}</span></span>.</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>
-</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="http://www.ctan.org/pkg/greek-fontenc">greek-fontenc</a>
-can be loaded with the “<a class="reference external" href="http://mirrors.ctan.org/language/greek/greek-fontenc/textalpha.sty.html#keep-semicolon">keep-semicolon</a>” option.</p>
-<!-- References
-========== -->
-</div>
-</div>
-</div>
-</body>
-</html>
diff --git a/language/greek/greek-inputenc/README.md b/language/greek/greek-inputenc/README.md
new file mode 100644
index 0000000000..8fa2f08917
--- /dev/null
+++ b/language/greek/greek-inputenc/README.md
@@ -0,0 +1,28 @@
+greek-inputenc
+==============
+Greek input encoding definition files
+-------------------------------------
+
+Copyright © 1999 Dimitrios Filippou,
+ © 2000 Apostolos Syropoulos,
+ © 2013 - 2023 Günter Milde <milde@users.sf.net>
+
+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.
+
+Homepage: <https://codeberg.org/milde/greek-tex>
+
+Latest Release: <https://ctan.org/pkg/greek-inputenc>
+
+This package provides input encoding definition
+files for Greek for use with [inputenc] and [greek-fontenc].
+
+See [greek-inputenc.html] for a detailled overview of the package.
+
+
+
+[greek-fontenc]: https://ctan.org/pkg/greek-fontenc
+[greek-inputenc]: https://ctan.org/pkg/greek-inputenc
+[greek-iputenc.html]: http://mirrors.ctan.org/language/greek/greek-inputenc/greek-inputenc.html
+[inputenc]: https://ctan.org/pkg/inputenc
diff --git a/language/greek/greek-inputenc/greek-inputenc.html b/language/greek/greek-inputenc/greek-inputenc.html
new file mode 100644
index 0000000000..65b6d75d52
--- /dev/null
+++ b/language/greek/greek-inputenc/greek-inputenc.html
@@ -0,0 +1,1012 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<meta charset="utf-8" />
+<meta name="generator" content="Docutils 0.20b.dev: https://docutils.sourceforge.io/" />
+<meta name="viewport" content="width=device-width, initial-scale=1" />
+<meta name="author" content="Apostolos Syropoulos, Dimitrios Filippou, Günter Milde" />
+<meta name="dcterms.rights" content="© 1999 Dimitrios Filippou, © 2000 Apostolos Syropoulos, © 2013, 2023 Günter Milde &lt;milde&#64;users.sf.net&gt;" />
+<title>greek-inputenc</title>
+<link rel="schema.dcterms" href="http://purl.org/dc/terms/"/>
+<style type="text/css">
+
+/* Minimal style sheet for the HTML output of Docutils. */
+/* */
+/* :Author: Günter Milde, based on html4css1.css by David Goodger */
+/* :Id: $Id$ */
+/* :Copyright: © 2015, 2021 Günter Milde. */
+/* :License: Released under the terms of the `2-Clause BSD license`_, */
+/* in short: */
+/* */
+/* Copying and distribution of this file, with or without modification, */
+/* are permitted in any medium without royalty provided the copyright */
+/* notice and this notice are preserved. */
+/* */
+/* This file is offered as-is, without any warranty. */
+/* */
+/* .. _2-Clause BSD license: http://www.spdx.org/licenses/BSD-2-Clause */
+
+/* This CSS3 stylesheet defines rules for Docutils elements without */
+/* HTML equivalent. It is required to make the document semantics visible. */
+/* */
+/* .. _validates: http://jigsaw.w3.org/css-validator/validator$link */
+
+/* titles */
+p.topic-title,
+p.admonition-title,
+p.system-message-title {
+ font-weight: bold;
+}
+p.sidebar-title,
+p.rubric {
+ font-weight: bold;
+ font-size: larger;
+}
+p.rubric {
+ color: maroon;
+}
+p.subtitle,
+p.section-subtitle,
+p.sidebar-subtitle {
+ font-weight: bold;
+ margin-top: -0.5em;
+}
+h1 + p.subtitle {
+ font-size: 1.6em;
+}
+a.toc-backref {
+ color: inherit;
+ text-decoration: none;
+}
+
+/* Warnings, Errors */
+.system-messages h2,
+.system-message-title,
+span.problematic {
+ color: red;
+}
+
+/* Inline Literals */
+.docutils.literal {
+ font-family: monospace;
+ white-space: pre-wrap;
+}
+/* do not wrap at hyphens and similar: */
+.literal > span.pre { white-space: nowrap; }
+
+/* Lists */
+
+/* compact and simple lists: no margin between items */
+.simple li, .simple ul, .simple ol,
+.compact li, .compact ul, .compact ol,
+.simple > li p, dl.simple > dd,
+.compact > li p, dl.compact > dd {
+ margin-top: 0;
+ margin-bottom: 0;
+}
+/* Nested Paragraphs */
+p:first-child { margin-top: 0; }
+p:last-child { margin-bottom: 0; }
+details > p:last-child { margin-bottom: 1em; }
+
+/* Table of Contents */
+.contents ul.auto-toc { /* section numbers present */
+ list-style-type: none;
+}
+
+/* Enumerated Lists */
+ol.arabic { list-style: decimal }
+ol.loweralpha { list-style: lower-alpha }
+ol.upperalpha { list-style: upper-alpha }
+ol.lowerroman { list-style: lower-roman }
+ol.upperroman { list-style: upper-roman }
+
+/* Definition Lists and Derivatives */
+dt .classifier { font-style: italic }
+dt .classifier:before {
+ font-style: normal;
+ margin: 0.5em;
+ content: ":";
+}
+/* Field Lists and similar */
+/* bold field name, content starts on the same line */
+dl.field-list,
+dl.option-list,
+dl.docinfo {
+ display: flow-root;
+}
+dl.field-list > dt,
+dl.option-list > dt,
+dl.docinfo > dt {
+ font-weight: bold;
+ clear: left;
+ float: left;
+ margin: 0;
+ padding: 0;
+ padding-right: 0.2em;
+}
+/* Offset for field content (corresponds to the --field-name-limit option) */
+dl.field-list > dd,
+dl.option-list > dd,
+dl.docinfo > dd {
+ margin-left: 9em; /* ca. 14 chars in the test examples, fit all Docinfo fields */
+}
+/* start nested lists on new line */
+dd > dl:first-child,
+dd > ul:first-child,
+dd > ol:first-child {
+ clear: left;
+}
+/* start field-body on a new line after long field names */
+dl.field-list > dd > *:first-child,
+dl.option-list > dd > *:first-child
+{
+ display: inline-block;
+ width: 100%;
+ margin: 0;
+}
+
+/* Bibliographic Fields (docinfo) */
+dl.docinfo pre.address {
+ font: inherit;
+ margin: 0.5em 0;
+}
+dl.docinfo > dd.authors > p { margin: 0; }
+
+/* Option Lists */
+dl.option-list > dt { font-weight: normal; }
+span.option { white-space: nowrap; }
+
+/* Footnotes and Citations */
+
+.footnote, .citation { margin: 1em 0; } /* default paragraph skip (Firefox) */
+/* hanging indent */
+.citation { padding-left: 2em; }
+.footnote { padding-left: 1.7em; }
+.footnote.superscript { padding-left: 1.0em; }
+.citation > .label { margin-left: -2em; }
+.footnote > .label { margin-left: -1.7em; }
+.footnote.superscript > .label { margin-left: -1.0em; }
+
+.footnote > .label + *,
+.citation > .label + * {
+ display: inline-block;
+ margin-top: 0;
+ vertical-align: top;
+}
+.footnote > .backrefs + *,
+.citation > .backrefs + * {
+ margin-top: 0;
+}
+.footnote > .label + p, .footnote > .backrefs + p,
+.citation > .label + p, .citation > .backrefs + p {
+ display: inline;
+ vertical-align: inherit;
+}
+
+.backrefs { user-select: none; }
+.backrefs > a { font-style: italic; }
+
+/* superscript footnotes */
+a[role="doc-noteref"].superscript,
+.footnote.superscript > .label,
+.footnote.superscript > .backrefs {
+ vertical-align: super;
+ font-size: smaller;
+ line-height: 1;
+}
+a[role="doc-noteref"].superscript > .fn-bracket,
+.footnote.superscript > .label > .fn-bracket {
+ /* hide brackets in display but leave for copy/paste */
+ display: inline-block;
+ width: 0;
+ overflow: hidden;
+}
+[role="doc-noteref"].superscript + [role="doc-noteref"].superscript {
+ padding-left: 0.15em; /* separate consecutive footnote references */
+ /* TODO: unfortunately, "+" also selects with text between the references. */
+}
+
+/* Alignment */
+.align-left {
+ text-align: left;
+ margin-right: auto;
+}
+.align-center {
+ text-align: center;
+ margin-left: auto;
+ margin-right: auto;
+}
+.align-right {
+ text-align: right;
+ margin-left: auto;
+}
+.align-top { vertical-align: top; }
+.align-middle { vertical-align: middle; }
+.align-bottom { vertical-align: bottom; }
+
+/* reset inner alignment in figures and tables */
+figure.align-left, figure.align-right,
+table.align-left, table.align-center, table.align-right {
+ text-align: inherit;
+}
+
+/* Text Blocks */
+.topic { margin: 1em 2em; }
+.sidebar,
+.admonition,
+.system-message {
+ margin: 1em 2em;
+ border: thin solid;
+ padding: 0.5em 1em;
+}
+div.line-block { display: block; }
+div.line-block div.line-block, pre { margin-left: 2em; }
+
+/* Code line numbers: dropped when copying text from the page */
+pre.code .ln { display: none; }
+pre.code code:before {
+ content: attr(data-lineno); /* …, none) fallback not supported by any browser */
+ color: gray;
+}
+
+/* Tables */
+table {
+ border-collapse: collapse;
+}
+td, th {
+ border: thin solid silver;
+ padding: 0 1ex;
+}
+.borderless td, .borderless th {
+ border: 0;
+ padding: 0;
+ padding-right: 0.5em /* separate table cells */
+}
+
+table > caption {
+ text-align: left;
+ margin-top: 0.2em;
+ margin-bottom: 0.2em;
+}
+table.captionbelow {
+ caption-side: bottom;
+}
+
+/* Document Header and Footer */
+header { border-bottom: 1px solid black; }
+footer { border-top: 1px solid black; }
+
+/* Images are block-level by default in Docutils */
+/* New HTML5 block elements: set display for older browsers */
+img, header, footer, main, aside, nav, section, figure, video, details {
+ display: block;
+}
+/* inline images */
+p img, p video, figure img, figure video {
+ display: inline;
+}
+
+</style>
+<style type="text/css">
+
+/* CSS3_ style sheet for the output of Docutils HTML5 writer. */
+/* Generic responsive design for all screen sizes. */
+/* */
+/* :Author: Günter Milde */
+/* */
+/* :Id: $Id$ */
+/* :Copyright: © 2021 Günter Milde. */
+/* :License: Released under the terms of the `2-Clause BSD license`_, */
+/* in short: */
+/* */
+/* Copying and distribution of this file, with or without modification, */
+/* are permitted in any medium without royalty provided the copyright */
+/* notice and this notice are preserved. */
+/* */
+/* This file is offered as-is, without any warranty. */
+/* */
+/* .. _2-Clause BSD license: http://www.spdx.org/licenses/BSD-2-Clause */
+/* .. _CSS3: https://www.w3.org/Style/CSS/ */
+
+/* Note: */
+/* This style sheet is provisional: */
+/* the API is not settled and may change with any minor Docutils version. */
+
+
+
+/* General Settings */
+/* ================ */
+
+
+* { box-sizing: border-box; }
+
+body {
+ background-color: #fafaf6;
+ margin: auto;
+ --field-indent: 6.6em; /* indent of fields in field lists */
+ --sidebar-margin-right: 0; /* adapted in media queries below */
+}
+main {
+ counter-reset: figure table;
+}
+body > * {
+ background-color: white;
+ line-height: 1.6;
+ padding: 0.5rem calc(29% - 7.2rem); /* go from 5% to 15% (8.15em/54em) */
+ margin: auto;
+ max-width: 100rem;
+}
+sup, sub { /* avoid additional inter-line space for lines with sup/sub */
+ line-height: 1;
+}
+
+/* Vertical Space (Parskip) */
+p, ol, ul, dl, li,
+div.line-block,
+.topic,
+.footnote, .citation,
+div > math,
+table {
+ margin-top: 0.5em;
+ margin-bottom: 0.5em;
+}
+h1, h2, h3, h4, h5, h6,
+dl > dd, details > p:last-child {
+ margin-bottom: 0.5em;
+}
+
+/* Indented Blocks */
+blockquote, figure, .topic {
+ margin: 1em 2%;
+ padding-left: 1em;
+}
+div.line-block div.line-block,
+pre, dd, dl.option-list {
+ margin-left: calc(2% + 1em);
+}
+
+/* Object styling */
+/* ============== */
+
+footer, header {
+ font-size: small;
+}
+
+/* Frontmatter */
+div.dedication {
+ padding: 0;
+ margin: 1.4em 0;
+ font-style: italic;
+ font-size: large;
+}
+.dedication p.topic-title {
+ display: none;
+}
+
+blockquote p.attribution,
+.topic p.attribution {
+ text-align: right;
+}
+
+/* Table of Contents */
+nav.contents ul {
+ padding-left: 1em;
+}
+ul.auto-toc > li > p { /* hanging indent */
+ padding-left: 1em;
+ text-indent: -1em;
+}
+main > nav.contents ul:not(.auto-toc) {
+ list-style-type: square;
+}
+main > nav.contents ul ul:not(.auto-toc) {
+ list-style-type: disc;
+}
+main > nav.contents ul ul ul:not(.auto-toc) {
+ list-style-type: '\2B29\ ';
+}
+main > nav.contents ul ul ul ul:not(.auto-toc) {
+ list-style-type: '\2B1D\ ';
+}
+main > nav.contents ul ul ul ul ul:not(.auto-toc) {
+ list-style-type: '\2B2A\ ';
+}
+nav.contents ul > li::marker {
+ color: grey;
+}
+
+/* Transitions */
+hr {
+ margin: 1em 10%;
+}
+
+/* Lists */
+
+ul, ol {
+ padding-left: 1.1em; /* indent by bullet width (Firefox, DejaVu fonts) */
+}
+dl.field-list > dd,
+dl.docinfo > dd {
+ margin-left: var(--field-indent); /* adapted in media queries or HTML */
+}
+dl.option-list > dd {
+ margin-left: 20%;
+}
+/* run-in: start field-body on same line after long field names */
+dl.field-list.run-in > dd p {
+ display: block;
+}
+/* "description style" like in most dictionaries, encyclopedias etc. */
+dl.description {
+ display: flow-root;
+}
+dl.description > dt {
+ clear: left;
+ float: left;
+ margin: 0;
+ padding: 0;
+ padding-right: 0.3em;
+ font-weight: bold;
+}
+dl.description > dd:after {
+ display: table;
+ content: "";
+ clear: left; /* clearfix for empty descriptions */
+}
+/* start lists nested in description/field lists on new line */
+dd > dl:first-child,
+dd > ul:first-child,
+dd > ol:first-child {
+ clear: left;
+}
+
+/* disclosures */
+details { padding-left: 1em; }
+summary { margin-left: -1em; }
+
+/* Footnotes and Citations */
+.footnote {
+ font-size: small;
+}
+
+/* Images, Figures, and Tables */
+img {
+ display: block;
+}
+p > img, p > a > img,
+figure > img, figure > a > img {
+ display: inline;
+}
+
+figcaption,
+table > caption {
+ /* font-size: small; */
+ font-style: italic;
+}
+figcaption > .legend {
+ font-size: small;
+ font-style: initial;
+}
+figure.numbered > figcaption > p:before {
+ counter-increment: figure;
+ content: "Figure " counter(figure) ": ";
+ font-weight: bold;
+ font-style: initial;
+}
+
+table tr {
+ text-align: left;
+ vertical-align: baseline;
+}
+table.booktabs { /* "booktabs" style (no vertical lines) */
+ border-top: 2px solid;
+ border-bottom: 2px solid;
+}
+table.booktabs * {
+ border: 0;
+}
+table.booktabs th {
+ border-bottom: thin solid;
+}
+table.numbered > caption:before {
+ counter-increment: table;
+ content: "Table " counter(table) ": ";
+ font-weight: bold;
+ font-style: initial;
+}
+
+/* Admonitions and System Messages */
+.admonition,
+div.system-message {
+ border: thin solid silver;
+ margin: 1em 2%;
+ padding: 0.5em 1em;
+}
+.caution p.admonition-title,
+.attention p.admonition-title,
+.danger p.admonition-title,
+.warning p.admonition-title,
+div.error {
+ color: maroon;
+}
+div.system-message > p > span.literal {
+ overflow-wrap: break-word;
+}
+
+/* Literal and Code */
+pre.literal-block, pre.doctest{
+ padding: 0.2em;
+ overflow-x: auto;
+}
+.literal-block, .doctest, span.literal {
+ background-color: #f6f9f8;
+}
+.system-message span.literal {
+ background-color: inherit;
+}
+
+/* basic highlighting: for a complete scheme, see */
+/* https://docutils.sourceforge.io/sandbox/stylesheets/ */
+pre.code .comment, code .comment { color: #5C6576 }
+pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold }
+pre.code .literal.string, code .literal.string { color: #0C5404 }
+pre.code .name.builtin, code .name.builtin { color: #352B84 }
+pre.code .deleted, code .deleted { background-color: #DEB0A1}
+pre.code .inserted, code .inserted { background-color: #A3D289}
+
+/* Hyperlink References */
+a {
+ text-decoration: none; /* for chromium */
+ /* Wrap links at any place, if this is the only way to prevent overflow */
+ overflow-wrap: break-word;
+}
+.contents a, a.toc-backref, a.citation-reference {
+ overflow-wrap: inherit;
+}
+/* Undecorated Links (see also minimal.css) */
+/* a.citation-reference, */
+.citation a.fn-backref {
+ color: inherit;
+}
+a:hover {
+ text-decoration: underline;
+}
+*:hover > a.toc-backref:after {
+ content: " \2191"; /* ↑ UPWARDS ARROW */
+ color: grey;
+}
+*:hover > a.self-link:after {
+ content: "\1F517"; /* LINK SYMBOL */
+ color: grey;
+ font-size: smaller;
+ margin-left: 0.2em;
+}
+/* highlight the target of the current URL */
+section:target > h2, section:target > h3, section:target > h4,
+section:target > h5, section:target > h6,
+.contents :target,
+.contents:target > .topic-title,
+[role="doc-biblioentry"]:target > .label,
+[role="doc-biblioref"]:target,
+[role="note"]:target, /* Docutils 0.18 ... 0.19 */
+[role="doc-footnote"]:target, /* Docutils >= 0.20 */
+[role="doc-noteref"]:target {
+ background-color: #d2e6ec;
+}
+
+/* Block Alignment */
+/* Let content flow to the side of aligned images and figures */
+
+/* no floats around this elements */
+footer, header, hr,
+h1, h2, h3 {
+ clear: both;
+}
+
+img.align-left,
+video.align-left,
+figure.align-left,
+table.align-left {
+ margin-left: 0;
+ padding-left: 0;
+ margin-right: 0.5em;
+ clear: left;
+ float: left;
+}
+img.align-right,
+video.align-right,
+figure.align-right,
+table.align-right {
+ margin-left: 0.5em;
+ margin-right: 0;
+ clear: right;
+ float: right;
+}
+
+/* Margin Elements */
+/* see below for screen size dependent rules */
+.sidebar,
+.marginal,
+.admonition.marginal {
+ max-width: 40%;
+ border: none;
+ background-color: #efefea;
+ margin: 0.5em var(--sidebar-margin-right) 0.5em 1em;
+ padding: 0.5em;
+ padding-left: 0.7em;
+ clear: right;
+ float: right;
+ font-size: small;
+}
+.sidebar {
+ width: 40%;
+}
+
+/* Math */
+/* for math-output=MathML (for math-output=HTML, see math.css) */
+math .boldsymbol {
+ font-weight: bold;
+}
+mstyle.mathscr, mi.mathscr {
+ font-family: STIX;
+}
+
+/* Adaptive page layout */
+/* ==================== */
+
+@media (max-width: 30em) {
+ /* Smaller margins and no floating elements for small screens */
+ /* (main text less than 40 characters/line) */
+ body > * {
+ padding: 0.5rem 5%;
+ line-height: 1.4
+ }
+ .sidebar,
+ .marginal,
+ .admonition.marginal {
+ width: auto;
+ max-width: 100%;
+ float: none;
+ }
+ dl.option-list,
+ pre {
+ margin-left: 0;
+ }
+ body {
+ --field-indent: 4em;
+ }
+ dl.field-list.narrow, dl.docinfo, dl.option-list {
+ --field-indent: 2.4em;
+ }
+ pre, pre * {
+ font-size: 0.9em;
+ /* overflow: auto; */
+ }
+}
+
+@media (min-width: 54em) {
+ /* Move ToC to the left */
+ /* Main text width before: 70% ≙ 35em ≙ 75…95 chrs (Dejavu/Times) */
+ /* after: ≳ 30em ≙ 54…70 chrs (Dejavu/Times) */
+ body.with-toc {
+ padding-left: 8%;
+ }
+ body.with-toc > * {
+ margin-left: 0;
+ padding-left: 22rem; /* fallback for webkit */
+ padding-left: min(22%, 22rem);
+ padding-right: 7%;
+ }
+ main > nav.contents { /* global ToC */
+ position: fixed;
+ top: 0;
+ left: 0;
+ width: min(25%, 25em);
+ height: 100vh;
+ margin: 0;
+ background-color: #fafaf6;
+ padding: 1em 2% 0 2%;
+ overflow: auto;
+ }
+ main > nav.contents > * {
+ padding-left: 0;
+ line-height: 1.4;
+ }
+ main > nav.contents a {
+ color: inherit;
+ }
+}
+
+@media (min-width: 70em) {
+ body {
+ --field-indent: 9em;
+ }
+}
+
+@media (min-width: 77em) {
+ /* Move marginalia to 6rem from right border */
+ /* .sidebar, */
+ /* .marginal, */
+ /* .admonition.marginal { */
+ /* margin-right: calc(6rem - 15%); */
+ /* } */
+ /* BUG: margin is calculated for break point width */
+ /* workaround: variable + many breakpoints */
+ body > * {
+ padding-left: 18%;
+ padding-right: 28%; /* fallback for webkit */
+ padding-right: min(28%, 28rem);
+ --sidebar-margin-right: -20rem;
+ }
+ /* limit main text to ~ 50em ≙ 85…100 characters DejaVu rsp. …120 Times */
+ body.with-toc > * {
+ padding-left: min(22%, 22rem);
+ padding-right: calc(78% - 50rem); /* fallback for webkit */
+ padding-right: min(78% - 50rem, 28rem);
+ --sidebar-margin-right: 0;
+ }
+}
+
+@media (min-width: 85em) {
+ body.with-toc > * {
+ --sidebar-margin-right: -9rem;
+ }
+}
+
+@media (min-width: 90em) {
+ /* move marginalia into the margin */
+ body > * {
+ padding-left: min(22%, 22rem);
+ --sidebar-margin-right: -23rem;
+ }
+ body.with-toc > * {
+ --sidebar-margin-right: -14rem;
+ }
+}
+
+@media (min-width: 99em) {
+ /* move marginalia out of main text area */
+ body.with-toc > * {
+ --sidebar-margin-right: -20rem;
+ }
+ body > *, body.with-toc > * { /* for webkit */
+ padding-left: 22rem;
+ padding-right: 28rem;
+ }
+ .admonition.marginal,
+ .marginal {
+ width: 40%; /* make marginal figures, ... "full width" */
+ }
+}
+
+@media (min-width: 104em) {
+ body.with-toc > * {
+ --sidebar-margin-right: -23rem;
+ }
+}
+
+</style>
+</head>
+<body class="with-toc">
+<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">
+<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>
+<dd class="copyright">© 1999 Dimitrios Filippou,
+© 2000 Apostolos Syropoulos,
+© 2013, 2023 Günter Milde &lt;<a class="reference external" href="mailto:milde&#64;users.sf.net">milde&#64;users.sf.net</a>&gt;</dd>
+<dt class="licence">Licence<span class="colon">:</span></dt>
+<dd class="licence"><p>This work may be distributed and/or modified under the
+conditions of the <a class="reference external" href="https://www.latex-project.org/lppl.txt">LaTeX Project Public License</a>, either
+version 1.3 of this license or any later version.</p>
+</dd>
+</dl>
+<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>
+</div>
+<nav class="contents" id="contents" role="doc-toc">
+<p class="topic-title">Contents</p>
+<ul class="simple">
+<li><p><a class="reference internal" href="#files" id="toc-entry-1">Files</a></p></li>
+<li><p><a class="reference internal" href="#installation" id="toc-entry-2">Installation</a></p></li>
+<li><p><a class="reference internal" href="#usage" id="toc-entry-3">Usage</a></p>
+<ul>
+<li><p><a class="reference internal" href="#warning" id="toc-entry-4">Warning</a></p></li>
+</ul>
+</li>
+<li><p><a class="reference internal" href="#changelog" id="toc-entry-5">Changelog</a></p></li>
+<li><p><a class="reference internal" href="#references" id="toc-entry-6">References</a></p></li>
+</ul>
+</nav>
+<section id="files">
+<h2><a class="toc-backref" href="#toc-entry-1" role="doc-backlink">Files</a></h2>
+<p>Input encoding definitions:</p>
+<dl>
+<dt><a class="reference external" href="lgrenc.dfu">lgrenc.dfu</a>: <a class="reference external" href="lgrenc.dfu.html">Greek UTF-8 support with inputenc</a></dt>
+<dd><p>Input encoding file for UTF-8 comprising Greek letters and other
+symbols present in the LGR encoding.</p>
+</dd>
+<dt><a class="reference external" href="iso-8859-7.def">iso-8859-7.def</a></dt>
+<dd><p>Greek input encoding file for <a class="reference external" href="https://en.wikipedia.org/wiki/ISO/IEC_8859-7">ISO 8859-7</a> by Apostolos Syropoulos.</p>
+</dd>
+<dt><a class="reference external" href="macgreek.def">macgreek.def</a></dt>
+<dd><p>Greek input encoding file for Macintosh (ELOT 823) by Dimitrios Filippou.</p>
+<p>This file translates to a Latin transliteration particular to the LGR
+font encoding. Drawbacks include: Latin characters in PDF strings
+(<a class="reference external" href="https://ctan.org/pkg/hyperref">hyperref</a> bookmarks and TOC sidebar, cf. <a class="reference external" href="https://mirrors.ctan.org/language/greek/greek-fontenc/greekhyperref.pdf">greekhyperref.pdf</a>), no
+kerning between accented characters.</p>
+</dd>
+</dl>
+<p>Test examples and output:</p>
+<dl class="simple">
+<dt><a class="reference external" href="greek-utf8.tex">greek-utf8.tex</a></dt>
+<dd><p><a class="reference external" href="greek-utf8.pdf">greek-utf8.pdf</a> (comprehensive example)</p>
+</dd>
+<dt><a class="reference external" href="inputenc-iso-8859-7.tex">inputenc-iso-8859-7.tex</a></dt>
+<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>
+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">
+<h2><a class="toc-backref" href="#toc-entry-2" role="doc-backlink">Installation</a></h2>
+<p>If possible, get this package from your distribution using its installation
+manager.</p>
+<p>Otherwise, make sure LaTeX can find the files ending in <span class="docutils literal">.def</span> and
+<span class="docutils literal">.dfu</span>:</p>
+<ul class="simple">
+<li><p>Download and unpack the package or just the required file(s).</p></li>
+<li><p>Copy, move, or link the files to a suitable place in the <cite>TeX Directory
+Structure</cite> (<a class="reference external" href="https://www.tex.ac.uk/cgi-bin/texfaq2html?label=tds">TDS</a>) and run <span class="docutils literal">texhash</span>, or place them in the current
+working directory (e.g. for testing).</p></li>
+</ul>
+</section>
+<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>
+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>
+<pre class="literal-block">\usepackage[LGR,T1]{fontenc}</pre>
+<p>or</p>
+<pre class="literal-block">\usepackage{textalpha}
+\usepackage[greek,english]{babel}</pre>
+<p>See <a class="reference external" href="greek-utf8.tex">greek-utf8.tex</a> for an example.</p>
+<hr class="docutils" />
+<p>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 <a class="reference external" href="https://ctan.org/pkg/babel">Babel</a> language to <span class="docutils literal">greek</span> or <span class="docutils literal">polutonikogreek</span></p>
+<pre class="literal-block">Athens (Greek: \foreignlanguage{greek}{Αθήνα};
+ Ancient Greek: \foreignlanguage{greek}{Ἀθῆναι})
+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
+<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>
+<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>
+<p>but</p>
+<pre class="literal-block">\foreignlanguage{greek}{ηία αντίσταση 750 \ensureascii{k}Ω}</pre>
+<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>
+</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>
+</section>
+</section>
+<section id="changelog">
+<h2><a class="toc-backref" href="#toc-entry-5" role="doc-backlink">Changelog</a></h2>
+<table class="borderless">
+<tbody>
+<tr><td><p>1.3</p></td>
+<td><p>2013-05-17</p></td>
+<td><p>New maintainer.</p></td>
+</tr>
+<tr><td><!-- -->
+</td>
+<td></td>
+<td><p>Unicode support with the standard “utf8” option.</p></td>
+</tr>
+<tr><td><p>1.4</p></td>
+<td><p>2013-07-16</p></td>
+<td><p>Bugfix for GREEK SMALL LETTER RHO WITH PSILI/DASIA.</p></td>
+</tr>
+<tr><td><!-- -->
+</td>
+<td></td>
+<td><p>Drop “greek” from macro names for ancient characters.</p></td>
+</tr>
+<tr><td><!-- -->
+</td>
+<td></td>
+<td><p><span class="docutils literal">\ypogegrammeni</span> and <span class="docutils literal">\prosgegrammeni</span> instead of <span class="docutils literal">|</span>.</p></td>
+</tr>
+<tr><td><p>1.4.1</p></td>
+<td><p>2013-07-18</p></td>
+<td><p>Bugfix: wrong breathings psilioxia -&gt; dasiaoxia.</p></td>
+</tr>
+<tr><td><p>1.5</p></td>
+<td><p>2014-09-14</p></td>
+<td><p>Use named accent macros for Greek accents.</p></td>
+</tr>
+<tr><td><!-- -->
+</td>
+<td></td>
+<td><p>Documentation update (warn of <span class="docutils literal">;</span>-conversion).</p></td>
+</tr>
+<tr><td><p>1.5.1</p></td>
+<td><p>2015-06-04</p></td>
+<td><p>Fix definition of spacing diacritical characters in utf8.dfu.</p></td>
+</tr>
+<tr><td><p>1.6</p></td>
+<td><p>2015-08-05</p></td>
+<td><p>Fix output of accented characters with “textalpha” if the
+current font encoding is not LGR (wrap in ensuregreek).</p></td>
+</tr>
+<tr><td><!-- -->
+</td>
+<td></td>
+<td><p>Map GREEK … SYMBOL characters.</p></td>
+</tr>
+<tr><td><p>1.7</p></td>
+<td><p>2019-07-11</p></td>
+<td><p>Use LICR macros instead of transliteration and remove
+<span class="docutils literal">\textbullet</span> substitution character from iso-8859-7.def.
+(Missing characters will now result in the standard
+<span class="docutils literal">inputenc</span> error message.)</p></td>
+</tr>
+<tr><td><p>1.8</p></td>
+<td><p>2023-02-21</p></td>
+<td><p>Add definition for capital koppa to <span class="docutils literal">lgrenc.dfu</span>.</p></td>
+</tr>
+<tr><td><!-- -->
+</td>
+<td></td>
+<td><p>Use <span class="docutils literal">\ypogegrammeni</span> for mute iota also with capitals.</p></td>
+</tr>
+<tr><td><!-- -->
+</td>
+<td></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>
+</tbody>
+</table>
+</section>
+<section id="references">
+<h2><a class="toc-backref" href="#toc-entry-6" role="doc-backlink">References</a></h2>
+<div role="list" class="citation-list">
+<div class="citation" id="ltnews28" role="doc-biblioentry">
+<span class="label"><span class="fn-bracket">[</span><a role="doc-backlink" href="#citation-reference-1">ltnews28</a><span class="fn-bracket">]</span></span>
+<p>LaTeX Project Team <cite>LaTeX News 28</cite>, April 2018.
+<a class="reference external" href="https://www.latex-project.org/news/latex2e-news/ltnews28.pdf">https://www.latex-project.org/news/latex2e-news/ltnews28.pdf</a></p>
+</div>
+</div>
+</section>
+</main>
+</body>
+</html>
diff --git a/language/greek/greek-inputenc/greek-utf8-minimal.pdf b/language/greek/greek-inputenc/greek-utf8-minimal.pdf
deleted file mode 100644
index 0f98820e98..0000000000
--- a/language/greek/greek-inputenc/greek-utf8-minimal.pdf
+++ /dev/null
Binary files differ
diff --git a/language/greek/greek-inputenc/greek-utf8-minimal.tex b/language/greek/greek-inputenc/greek-utf8-minimal.tex
index f1cf51add5..fe5904bb31 100644
--- a/language/greek/greek-inputenc/greek-utf8-minimal.tex
+++ b/language/greek/greek-inputenc/greek-utf8-minimal.tex
@@ -1,434 +1,5 @@
-\documentclass[a4paper]{article}
-\usepackage[LGR,T1]{fontenc}
-\usepackage[utf8]{inputenc}
-% \usepackage{textalpha}
-% \usepackage{alphabeta}
-\usepackage{textcomp}
-\usepackage[colorlinks]{hyperref}
-\usepackage{bookmark}
-% \usepackage{parskip}
-\usepackage{booktabs}
-
-\usepackage{lmodern}
-% \usepackage{kerkis}
-% \usepackage{gfsdidot}
-
-% Greek utf8 definitions work with and without "Babel",
-% with monotonic, polytonic, and ancient Greek variants.
-% However, this document uses babel language switches, so it requires Babel:
-\usepackage[greek,english]{babel}
-% \languageattribute{greek}{polutoniko}
-% \languageattribute{greek}{ancient}
-
-\begin{document}
-
-\section*{Greek Unicode with 8-bit TeX and \emph{inputenc}}
-
-\begin{abstract}
- Small test of Unicode input for Greek letters.
-\end{abstract}
-
-Without the "textalpha" or "alphabeta" packages, Greek Unicode characters
-must be wrapped in \verb+\ensuregreek{}+, \verb+\textgreek{}+, or\\
-\verb+\foreignlanguage{greek}{}+ or follow the declarations
-\verb+\greekscript+, \verb+\greektext+, or \verb+\setlanguage{greek}+ to set
-the correct font encoding (LGR).
-
-\begin{quote}
- \greekscript
- Τί φήις; Ἱδὼν ἐνθέδε παῖδ’ ἐλευθέραν
- τὰς πλησίον Νύμφας στεφανοῦσαν, Σώστρατε,
- ἐρῶν άπῆλθες εὐθύς;
-\end{quote}
-
-The MIKRO SIGN and OHM SIGN characters are set up by textcomp for
-any font encoding:
-\begin{quote}
- With a a 50\,kΩ resistor, the current is 20\,µA.
-\end{quote}
-However, if the similar looking Greek Unicode characters are used, LGR is
-required for GREEK CAPITAL LETTER OMEGA. On the other hand, GREEK SMALL
-LETTER MU works in any font encoding because it translates to
-\verb+\textmu+, the LICR also used by textcomp for the MICRO SIGN.
-\begin{quote}
- With a a 50\,k\ensuregreek{Ω} resistor, the current is 20\,μA.
-\end{quote}
-
-
-\section{Warning: unsafe ASCII input}
-
-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{http://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
-\foreignlanguage{greek}{((ηία αντίσταση 750-kΩ))} but
-\foreignlanguage{greek}{((ηία αντίσταση 750-\textlatin{k}Ω))}
-
-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 LGR font encoding maps a SEMICOLON to a middle dot (ano teleia),
- 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.
-
-With 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}
-
-Unicode definitions exist for all non-ASCII characters that can be rendered
-with an LGR-encoded font.
-
-
-\subsection{Greek and Coptic}
-
-\greekscript
-\begin{tabular}{rrrrrrrrrrrrrrrrr}
-\toprule
- & 0 & 1 & 2 & 3 & 4 & 5 & 6 & 7 & 8 & 9 & A & B & \textlatin C & D & E & F\\
-\midrule
-\textlatin{370} & * & * & * & * & ʹ & ͵ & * & * & & & ͺ & * & * & * & ; & \\
-\textlatin{380} & & & & & ΄ & ΅ & Ά & · & Έ & Ή & Ί & & Ό & & Ύ & Ώ\\
-\textlatin{390} & ΐ & Α & Β & Γ & Δ & Ε & Ζ & Η & Θ & Ι & Κ & Λ & Μ & Ν & Ξ & Ο\\
-\textlatin{3A0} & Π & Ρ & & Σ & Τ & Υ & Φ & Χ & Ψ & Ω & Ϊ & Ϋ & ά & έ & ή & ί\\
-\textlatin{3B0} & ΰ & α & β & γ & δ & ε & ζ & η & θ & ι & κ & λ & μ & ν & ξ & ο\\
-\textlatin{3C0} & π & ρ & ς & σ & τ & υ & φ & χ & ψ & ω & ϊ & ϋ & ό & ύ & ώ & \\
-\textlatin{3D0} & * & * & * & * & * & * & * & * & Ϙ & ϙ & Ϛ & ϛ & Ϝ & ϝ & * & ϟ\\
-\textlatin{3E0} & Ϡ & ϡ & * & * & * & * & * & * & * & * & * & * & * & * & * & *\\
-\textlatin{3F0} & * & * & * & * & * & * & * & * & * & * & * & * & * & * & * & *\\
-\bottomrule
-\end{tabular}
-\latintext
-
-\noindent
-legend: * glyph missing in LGR, [space] Unicode point not defined
-
-
-\subsection{Greek Extended}
-
-\greekscript
-\begin{tabular}{rrrrrrrrrrrrrrrrr}
-\toprule
- & 0 & 1 & 2 & 3 & 4 & 5 & 6 & 7 & 8 & 9 & A & B & \textlatin C & D & E & F\\
-\midrule
-\textlatin{1F00} & ἀ & ἁ & ἂ & ἃ & ἄ & ἅ & ἆ & ἇ & Ἀ & Ἁ & Ἂ & Ἃ & Ἄ & Ἅ & Ἆ & Ἇ\\
-\textlatin{1F10} & ἐ & ἑ & ἒ & ἓ & ἔ & ἕ & & & Ἐ & Ἑ & Ἒ & Ἓ & Ἔ & Ἕ & & \\
-\textlatin{1F20} & ἠ & ἡ & ἢ & ἣ & ἤ & ἥ & ἦ & ἧ & Ἠ & Ἡ & Ἢ & Ἣ & Ἤ & Ἥ & Ἦ & Ἧ\\
-\textlatin{1F30} & ἰ & ἱ & ἲ & ἳ & ἴ & ἵ & ἶ & ἷ & Ἰ & Ἱ & Ἲ & Ἳ & Ἴ & Ἵ & Ἶ & Ἷ\\
-\textlatin{1F40} & ὀ & ὁ & ὂ & ὃ & ὄ & ὅ & & & Ὀ & Ὁ & Ὂ & Ὃ & Ὄ & Ὅ & & \\
-\textlatin{1F50} & ὐ & ὑ & ὒ & ὓ & ὔ & ὕ & ὖ & ὗ & & Ὑ & & Ὓ & & Ὕ & & Ὗ\\
-\textlatin{1F60} & ὠ & ὡ & ὢ & ὣ & ὤ & ὥ & ὦ & ὧ & Ὠ & Ὡ & Ὢ & Ὣ & Ὤ & Ὥ & Ὦ & Ὧ\\
-\textlatin{1F70} & ὰ & ά & ὲ & έ & ὴ & ή & ὶ & ί & ὸ & ό & ὺ & ύ & ὼ & ώ & & \\
-\textlatin{1F80} & ᾀ & ᾁ & ᾂ & ᾃ & ᾄ & ᾅ & ᾆ & ᾇ & ᾈ & ᾉ & ᾊ & ᾋ & ᾌ & ᾍ & ᾎ & ᾏ\\
-\textlatin{1F90} & ᾐ & ᾑ & ᾒ & ᾓ & ᾔ & ᾕ & ᾖ & ᾗ & ᾘ & ᾙ & ᾚ & ᾛ & ᾜ & ᾝ & ᾞ & ᾟ\\
-\textlatin{1FA0} & ᾠ & ᾡ & ᾢ & ᾣ & ᾤ & ᾥ & ᾦ & ᾧ & ᾨ & ᾩ & ᾪ & ᾫ & ᾬ & ᾭ & ᾮ & ᾯ\\
-\textlatin{1FB0} & ᾰ & ᾱ & ᾲ & ᾳ & ᾴ & & ᾶ & ᾷ & Ᾰ & Ᾱ & Ὰ & Ά & ᾼ & ᾽ & ι & ᾿\\
-\textlatin{1FC0} & ῀ & ῁ & ῂ & ῃ & ῄ & & ῆ & ῇ & Ὲ & Έ & Ὴ & Ή & ῌ & ῍ & ῎ & ῏\\
-\textlatin{1FD0} & ῐ & ῑ & ῒ & ΐ & & & ῖ & ῗ & Ῐ & Ῑ & Ὶ & Ί & & ῝ & ῞ & ῟\\
-\textlatin{1FE0} & ῠ & ῡ & ῢ & ΰ & ῤ & ῥ & ῦ & ῧ & Ῠ & Ῡ & Ὺ & Ύ & Ῥ & ῭ & ΅ & `\\
-\textlatin{1FF0} & & & ῲ & ῳ & ῴ & & ῶ & ῷ & Ὸ & Ό & Ὼ & Ώ & ῼ & ´ & ῾ & \\
-\bottomrule
-\end{tabular}
-\latintext
-
-\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]:
- \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{
- 𐅄 % \textPiDelta{} % GREEK ACROPHONIC ATTIC FIFTY
- 𐅅 % \textPiEta{} % GREEK ACROPHONIC ATTIC FIVE HUNDRED
- 𐅆 % \textPiChi{} % GREEK ACROPHONIC ATTIC FIVE THOUSAND
- 𐅇 % \textPiMu{} % GREEK ACROPHONIC ATTIC FIFTY THOUSAND
- }
-\end{description}
-
-\newpage
-
-\section{Test up/downcasing}
-
-Capital Greek letters have diacritics (except the dialytika) to the left
-(instead of above) and drop them in uppercase, e.g.
-\foreignlanguage{greek}{μαΐστρος $\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 auto-hiatus feature in lgrxenc.def works with the Latin
-transcription and with character-macros (%
-\ensuregreek{\MakeUppercase{%
- \'ai,
- \'\textalpha \textupsilon,
- \'\textepsilon \textiota
-}})
-and also if the first character is wrapped in \verb+\ensuregreek+ (as done by
-the lgrenc.dfu definition for accented characters) or a 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 ι
-}}).
-
-Therefore, the diaresis is missing in the following examples:
-\ensuregreek{άυλος $\mapsto$ \MakeUppercase{άυλος},
- ἄυλος $\mapsto$ \MakeUppercase{ἄυλος},
- μάινα $\mapsto$ \MakeUppercase{μάινα},
- κέικ, $\mapsto$ \MakeUppercase{κέικ},
- ἀυπνία $\mapsto$ \MakeUppercase{ἀυπνία}}.
-
-Fixing this shortcoming requires knowledge of what
-\verb+\LGR@ifnextchar+ ``sees'' when the next character is an upcased
-Unicode literal.
-
-As an ugly workaround, use \verb+\textiota+ resp. \verb+\textupsilon+
-for the character that should get the diaresis:
-\ensuregreek{ἀ\textupsilon{}πνία $\mapsto$ \MakeUppercase{ἀ\textupsilon{}πνία}}.
-
-
-
-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.
-
-
-MakeLowercase:
-
-\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:
-
-\selectlanguage{greek}
-
-\MakeUppercase{ ἀ ἁ ἂ ἃ ἄ ἅ ἆ ἇ Ἀ Ἁ Ἂ Ἃ Ἄ Ἅ Ἆ Ἇ }\\
-\MakeUppercase{ ἐ ἑ ἒ ἓ ἔ ἕ Ἐ Ἑ Ἒ Ἓ Ἔ Ἕ }\\
-\MakeUppercase{ ἠ ἡ ἢ ἣ ἤ ἥ ἦ ἧ Ἠ Ἡ Ἢ Ἣ Ἤ Ἥ Ἦ Ἧ }\\
-\MakeUppercase{ ἰ ἱ ἲ ἳ ἴ ἵ ἶ ἷ Ἰ Ἱ Ἲ Ἳ Ἴ Ἵ Ἶ Ἷ }\\
-\MakeUppercase{ ὀ ὁ ὂ ὃ ὄ ὅ Ὀ Ὁ Ὂ Ὃ Ὄ Ὅ }\\
-\MakeUppercase{ ὐ ὑ ὒ ὓ ὔ ὕ ὖ ὗ Ὑ Ὓ Ὕ Ὗ }\\
-\MakeUppercase{ ὠ ὡ ὢ ὣ ὤ ὥ ὦ ὧ Ὠ Ὡ Ὢ Ὣ Ὤ Ὥ Ὦ Ὧ }\\
-\MakeUppercase{ ὰ ά ὲ έ ὴ ή ὶ ί ὸ ό ὺ ύ ὼ ώ }\\
-\MakeUppercase{ ᾀ ᾁ ᾂ ᾃ ᾄ ᾅ ᾆ ᾇ ᾈ ᾉ ᾊ ᾋ ᾌ ᾍ ᾎ ᾏ }\\
-\MakeUppercase{ ᾐ ᾑ ᾒ ᾓ ᾔ ᾕ ᾖ ᾗ ᾘ ᾙ ᾚ ᾛ ᾜ ᾝ ᾞ ᾟ }\\
-\MakeUppercase{ ᾠ ᾡ ᾢ ᾣ ᾤ ᾥ ᾦ ᾧ ᾨ ᾩ ᾪ ᾫ ᾬ ᾭ ᾮ ᾯ }\\
-\MakeUppercase{ ᾰ ᾱ ᾲ ᾳ ᾴ ᾶ ᾷ Ᾰ Ᾱ Ὰ Ά ᾼ ᾽ ι ᾿ }\\
-\MakeUppercase{ ῀ ῁ ῂ ῃ ῄ ῆ ῇ Ὲ Έ Ὴ Ή ῌ ῍ ῎ ῏ }\\
-\MakeUppercase{ ῐ ῑ ῒ ΐ ῖ ῗ Ῐ Ῑ Ὶ Ί ῝ ῞ ῟ }\\
-\MakeUppercase{ ῠ ῡ ῢ ΰ ῤ ῥ ῦ ῧ Ῠ Ῡ Ὺ Ύ Ῥ ῭ ΅ ` }\\
-\MakeUppercase{ ῲ ῳ ῴ ῶ ῷ Ὸ Ό Ὼ Ώ ῼ ´ ῾ }
-\selectlanguage{english}
-
-MakeLowercase:
-
-\selectlanguage{greek}
-\MakeLowercase{ ἀ ἁ ἂ ἃ ἄ ἅ ἆ ἇ Ἀ Ἁ Ἂ Ἃ Ἄ Ἅ Ἆ Ἇ }\\
-\MakeLowercase{ ἐ ἑ ἒ ἓ ἔ ἕ Ἐ Ἑ Ἒ Ἓ Ἔ Ἕ }\\
-\MakeLowercase{ ἠ ἡ ἢ ἣ ἤ ἥ ἦ ἧ Ἠ Ἡ Ἢ Ἣ Ἤ Ἥ Ἦ Ἧ }\\
-\MakeLowercase{ ἰ ἱ ἲ ἳ ἴ ἵ ἶ ἷ Ἰ Ἱ Ἲ Ἳ Ἴ Ἵ Ἶ Ἷ }\\
-\MakeLowercase{ ὀ ὁ ὂ ὃ ὄ ὅ Ὀ Ὁ Ὂ Ὃ Ὄ Ὅ }\\
-\MakeLowercase{ ὐ ὑ ὒ ὓ ὔ ὕ ὖ ὗ Ὑ Ὓ Ὕ Ὗ }\\
-\MakeLowercase{ ὠ ὡ ὢ ὣ ὤ ὥ ὦ ὧ Ὠ Ὡ Ὢ Ὣ Ὤ Ὥ Ὦ Ὧ }\\
-\MakeLowercase{ ὰ ά ὲ έ ὴ ή ὶ ί ὸ ό ὺ ύ ὼ ώ }\\
-\MakeLowercase{ ᾀ ᾁ ᾂ ᾃ ᾄ ᾅ ᾆ ᾇ ᾈ ᾉ ᾊ ᾋ ᾌ ᾍ ᾎ ᾏ }\\
-\MakeLowercase{ ᾐ ᾑ ᾒ ᾓ ᾔ ᾕ ᾖ ᾗ ᾘ ᾙ ᾚ ᾛ ᾜ ᾝ ᾞ ᾟ }\\
-\MakeLowercase{ ᾠ ᾡ ᾢ ᾣ ᾤ ᾥ ᾦ ᾧ ᾨ ᾩ ᾪ ᾫ ᾬ ᾭ ᾮ ᾯ }\\
-\MakeLowercase{ ᾰ ᾱ ᾲ ᾳ ᾴ ᾶ ᾷ Ᾰ Ᾱ Ὰ Ά ᾼ ᾽ ι ᾿ }\\
-\MakeLowercase{ ῀ ῁ ῂ ῃ ῄ ῆ ῇ Ὲ Έ Ὴ Ή ῌ ῍ ῎ ῏ }\\
-\MakeLowercase{ ῐ ῑ ῒ ΐ ῖ ῗ Ῐ Ῑ Ὶ Ί ῝ ῞ ῟ }\\
-\MakeLowercase{ ῠ ῡ ῢ ΰ ῤ ῥ ῦ ῧ Ῠ Ῡ Ὺ Ύ Ῥ ῭ ΅ ` }\\
-\MakeLowercase{ ῲ ῳ ῴ ῶ ῷ Ὸ Ό Ὼ Ώ ῼ ´ ῾ }
-
-\textlatin{Test the iota subscript:}
-\textAlpha\prosgegrammeni ᾼ Α\prosgegrammeni ᾈ Ἀ\prosgegrammeni
-\MakeLowercase{\textAlpha\prosgegrammeni ᾼ Α\prosgegrammeni ᾈ
- Ἀ\prosgegrammeni}
-
-\textAlpha\ypogegrammeni ᾼ Α\ypogegrammeni ᾈ Ἀ\ypogegrammeni
-\MakeLowercase{\textAlpha\ypogegrammeni ᾼ Α\ypogegrammeni ᾈ
- Ἀ\ypogegrammeni}
-\MakeUppercase{\textAlpha\ypogegrammeni ᾼ Α\ypogegrammeni ᾈ
- Ἀ\ypogegrammeni}
-
-\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:
-
-\begin{quote}
- \greekscript
-
-Αἀα Αἁα Αἂα Αἃα Αἄα Αἅα Αἆα Αἇα ΑἈα ΑἉα ΑἊα ΑἋα ΑἌα ΑἍα ΑἎα ΑἏα
-
-Αἐα Αἑα Αἒα Αἓα Αἔα Αἕα ΑἘα ΑἙα ΑἚα ΑἛα ΑἜα ΑἝα
-
-Αἠα Αἡα Αἢα Αἣα Αἤα Αἥα Αἦα Αἧα ΑἨα ΑἩα ΑἪα ΑἫα ΑἬα ΑἭα ΑἮα ΑἯα
-
-Αἰα Αἱα Αἲα Αἳα Αἴα Αἵα Αἶα Αἷα ΑἸα ΑἹα ΑἺα ΑἻα ΑἼα ΑἽα ΑἾα ΑἿα
-
-Αὀα Αὁα Αὂα Αὃα Αὄα Αὅα ΑὈα ΑὉα ΑὊα ΑὋα ΑὌα ΑὍα
-
-Αὐα Αὑα Αὒα Αὓα Αὔα Αὕα Αὖα Αὗα ΑὙα ΑὛα ΑὝα ΑὟα
-
-Αὠα Αὡα Αὢα Αὣα Αὤα Αὥα Αὦα Αὧα ΑὨα ΑὩα ΑὪα ΑὫα ΑὬα ΑὭα ΑὮα ΑὯα
-
-Αὰα Αάα Αὲα Αέα Αὴα Αήα Αὶα Αία Αὸα Αόα Αὺα Αύα Αὼα Αώα
-
-Αᾀα Αᾁα Αᾂα Αᾃα Αᾄα Αᾅα Αᾆα Αᾇα Αᾈα Αᾉα Αᾊα Αᾋα Αᾌα Αᾍα Αᾎα Αᾏα
-
-Αᾐα Αᾑα Αᾒα Αᾓα Αᾔα Αᾕα Αᾖα Αᾗα Αᾘα Αᾙα Αᾚα Αᾛα Αᾜα Αᾝα Αᾞα Αᾟα
-
-Αᾠα Αᾡα Αᾢα Αᾣα Αᾤα Αᾥα Αᾦα Αᾧα Αᾨα Αᾩα Αᾪα Αᾫα Αᾬα Αᾭα Αᾮα Αᾯα
-
-Αᾰα Αᾱα Αᾲα Αᾳα Αᾴα Αᾶα Αᾷα ΑᾸα ΑᾹα ΑᾺα ΑΆα Αᾼα Α᾽α Αια Α᾿α
-
-Α῀α Α῁α Αῂα Αῃα Αῄα Αῆα Αῇα ΑῈα ΑΈα ΑῊα ΑΉα Αῌα Α῍α Α῎α Α῏α
-
-Αῐα Αῑα Αῒα Αΐα Αῖα Αῗα ΑῘα ΑῙα ΑῚα ΑΊα Α῝α Α῞α Α῟α
-
-Αῠα Αῡα Αῢα Αΰα Αῤα Αῥα Αῦα Αῧα ΑῨα ΑῩα ΑῪα ΑΎα ΑῬα Α῭α Α΅α Α`α
-
-Αῲα Αῳα Αῴα Αῶα Αῷα ΑῸα ΑΌα ΑῺα ΑΏα Αῼα Α´α Α῾α
-
-\end{quote}
-
-\end{document}
-
-
-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 * * * * ΄ ͵ * * ι * * * ;
-380 ΄ ΅ ΄Α ΄Ε ΄Η ΄Ι ΄Ο ΄Υ ΄Ω
-390 ΐ Α Β Γ ∆ Ε Ζ Η Θ Ι Κ Λ Μ Ν Ξ Ο
-3Α0 Π Ρ Σ Τ Υ Φ Χ Ψ Ω Ϊ Ϋ ά έ ή ί
-3Β0 ΰ α ϐ γ δ ε Ϲ η ϑ ι κ λ µ ν ξ ο
-3῝0 π ϱ ς σ τ υ ϕ χ ψ ω ϊ ϋ ό ύ ώ
-3∆0 * * * * * * * * Ϟ Ϝ ϝ Ϝ ϝ * ϟ
-3Ε0 ϡ * * * * * * * * * * * * * *
-3Φ0 * * * * * * * * * * * * * * * *
-
-
-0387 GREEK ANO TELEIA missing
-03B6 zeta replaced by 03F9 GREEK CAPITAL LUNATE SIGMA SYMBOL
-03B8 GREEK SMALL LETTER THETA replaced by 03D1 GREEK THETA SYMBOL
-03C1 GREEK SMALL LETTER RHO replaced by 03F1 GREEK RHO SYMBOL
-03C6 GREEK SMALL LETTER PHI replaced by 03D5 GREEK PHI SYMBOL
-
-
-and GFS Didot:
-
- 0 1 2 3 4 5 6 7 8 9 A B C D E F
-370 * * * * ´ ͵ * * ι * * * ;
-380 ´ ῆ Α
- ´ ´ ´Ε ´Η ´Ι ´Ο ´Υ ´Ω
-390 ῆ ´ι Α Β Γ ∆ Ε Ζ Η Θ Ι Κ Λ Μ Ν Ξ Ο
-3Α0 Π Ρ Σ Τ Υ Φ Χ Ψ Ω ῆ
- Ι ῆ
- Υ ά έ ή ί
-3Β0 ῆ ´υ α β γ δ ε ζ η ϑ ι κ λ μ ν ξ ο
- 3῝0 π ρ ς σ τ υ φ χ ψ ω ι
- ῆ υ
- ῆ ό ύ ώ
-3∆0 * * * * * * * * Ϛ Ϝ Ϝ * Ϟ
-3Ε0 * * * * * * * * * * * * * *
-3Φ0 * * * * * * * * * * * * * * * *
+% Minimal setup required for Greek script on 8-bit TeX
+\providecommand{\greeksetup}{
+ \usepackage[LGR,T1]{fontenc}
+}
+\input{greek-utf8.tex}
diff --git a/language/greek/greek-inputenc/greek-utf8.pdf b/language/greek/greek-inputenc/greek-utf8.pdf
index 60ed586228..e571265dd1 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 e5c454e8f8..795473fa92 100644
--- a/language/greek/greek-inputenc/greek-utf8.tex
+++ b/language/greek/greek-inputenc/greek-utf8.tex
@@ -1,25 +1,36 @@
-\documentclass[a4paper]{scrartcl}
-\usepackage{cmap} % fix search and cut-and-paste in Acrobat Reader
-\usepackage[LGR,T1]{fontenc}
-\usepackage[utf8]{inputenc}
-\usepackage{textalpha}
-\usepackage{alphabeta}
-\usepackage{textcomp}
+\documentclass[a4paper]{article}
+
\usepackage[colorlinks]{hyperref}
\usepackage{bookmark}
-% \usepackage{parskip}
\usepackage{booktabs}
\usepackage{lmodern}
% \usepackage{kerkis}
% \usepackage{gfsdidot}
-% Greek utf8 definitions work with and without "Babel",
-% with monotonic, polytonic, and ancient Greek variants.
-% However, this document uses babel language switches, so it requires Babel:
-\usepackage[greek,english]{babel}
-% \languageattribute{greek}{polutoniko}
-\languageattribute{greek}{ancient}
+% allow other files to load this file with different setup
+\providecommand{\greeksetup}{
+ \usepackage[LGR,T1]{fontenc}
+ \usepackage{textalpha}
+ \usepackage{alphabeta}
+
+ % Greek utf8 definitions work with and without "Babel",
+ % with monotonic, polytonic, and ancient Greek variants.
+ % The new implementation of \MakeUppercase requires Babel
+ % for the Greek localisation
+ \usepackage[greek,english]{babel}
+ % \languageattribute{greek}{polutoniko}
+ % \languageattribute{greek}{ancient}
+}
+\greeksetup
+
+% Fallbacks:
+\ProvideTextCommandDefault{\greekscript}{\fontencoding{LGR}\selectfont
+ \def\encodingdefault{LGR}}
+\providecommand{\latinscript}{\fontencoding{T1}\selectfont
+ \def\encodingdefault{T1}}
+\ProvideTextCommandDefault{\ensuregreek}[1]{\leavevmode{\greekscript #1}}
+\providecommand{\ensureascii}[1]{{\fontencoding{T1}\selectfont #1}}
\begin{document}
@@ -36,7 +47,7 @@ package.
\section{Requirements}
-The \href{http://www.ctan.org/pkg/inputenc}{\emph{inputenc}} standard
+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
@@ -45,7 +56,7 @@ 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
-\href{http://www.ctan.org/pkg/greek-fontenc}{\emph{greek-fontenc}}.
+\href{https://ctan.org/pkg/greek-fontenc}{\emph{greek-fontenc}}.
% e.g. Π produces:
% ! LaTeX Error: Command \textPi unavailable in encoding T1.
% just like Ж produces:
@@ -78,9 +89,9 @@ used in the text (see below).
\item
For text in the Greek language, it is recommended to use the
-\href{http://www.ctan.org/pkg/babel}{\emph{Babel}} package with the Greek
+\href{https://ctan.org/pkg/babel}{\emph{Babel}} package with the Greek
language definitions in
-\href{http://www.ctan.org/pkg/babel-greek}{\emph{babel-greek}}. Babel sets
+\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.,
%
@@ -92,7 +103,7 @@ expected. Write in the preamble, e.g.,
%
and use \verb+\foreignlanguage+ or \verb+\selectlanguage+ to set the text
language to Greek (see the
-\href{http://www.ctan.org/pkg/babel-greek}{\emph{babel-greek}} documentation
+\href{https://ctan.org/pkg/babel-greek}{\emph{babel-greek}} documentation
for detailled examples).
\begin{quote}
@@ -103,61 +114,78 @@ for detailled examples).
\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{http://www.ctan.org/pkg/greek-fontenc}{\emph{greek-fontenc}}, Greek Unicode
+\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{http://mirrors.ctan.org/language/greek/greek-fontenc/textalpha-doc.pdf}%
-{textalpha-doc}). With the preamble lines
-%
-\begin{verbatim}
- \usepackage[utf8]{inputenc}
- \usepackage{textalpha}
-\end{verbatim}
-%
-it is straightforward to write about π-mesons, γ-radiation, or a 50\,kΩ
-resistor.
-
-\item
-In combination with the \emph{alphabeta} package (also from
-\href{http://www.ctan.org/pkg/greek-fontenc}{\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 β}.
-\]
+\href{https://mirrors.ctan.org/language/greek/greek-fontenc/textalpha-doc.pdf}
+{textalpha-doc}).
+\makeatletter
+\ifdefined\textalpha@define@breathings
+ With the preamble lines
+ \begin{verbatim}
+ \usepackage[utf8]{inputenc}
+ \usepackage{textalpha}
+ \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
+ \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}}),
+ Greek Unicode literals can also be used in math mode:
+ %
+ \begin{verbatim}
+ \usepackage[utf8]{inputenc}
+ \usepackage{alphabeta}
+ \end{verbatim}
+ \[
+ \tan β = \frac{\sin β}{\cos β}.
+ \]
+\fi
+\makeatother
\end{itemize}
+
\section{Warning: unsafe ASCII input}
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{http://mirrors.ctan.org/language/babel/contrib/greek/usage.pdf}{usage.pdf}
+\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
-\foreignlanguage{greek}{((ηία αντίσταση 750-kΩ))} but
-\foreignlanguage{greek}{((ηία αντίσταση 750-\textlatin{k}Ω))}
+\ensuregreek{((ηία αντίσταση 750-kΩ))} but
+\ensuregreek{((ηία αντίσταση 750-\ensureascii{k}Ω))}
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 003B SEMICOLON and not
+ 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.
\end{itemize}
As a result, only the deprecated character 037E GREEK QUESTION MARK works
-with both, Xe/LuaTeX and 8-bit TeX. Compare the source \url{greek-utf8.tex}
-and the PDF output:
+with both, Xe/LuaTeX and 8-bit TeX.
+\makeatletter
+\ifdefined\textalpha@define@breathings
+Compare the source \url{greek-utf8.tex} and the PDF output:
\begin{center}
\begin{tabular}{lll}
@@ -168,6 +196,11 @@ and the PDF output:
Τί φήις? & \foreignlanguage{greek}{Τί φήις?} & 003F QUESTION MARK \\
\end{tabular}
\end{center}
+\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.
\section{Supported Characters}
@@ -178,51 +211,54 @@ with an LGR-encoded font.
\subsection{Greek and Coptic}
+\greekscript
\begin{tabular}{rrrrrrrrrrrrrrrrr}
\toprule
- & 0 & 1 & 2 & 3 & 4 & 5 & 6 & 7 & 8 & 9 & A & B & \textlatin C & D & E & F\\
+ & 0 & 1 & 2 & 3 & 4 & 5 & 6 & 7 & 8 & 9 & A & B & \latinscript C & D & E & F\\
\midrule
-\textlatin{370} & * & * & * & * & ʹ & ͵ & * & * & & & ͺ & * & * & * & ; & \\
-\textlatin{380} & & & & & ΄ & ΅ & Ά & · & Έ & Ή & Ί & & Ό & & Ύ & Ώ\\
-\textlatin{390} & ΐ & Α & Β & Γ & Δ & Ε & Ζ & Η & Θ & Ι & Κ & Λ & Μ & Ν & Ξ & Ο\\
-\textlatin{3A0} & Π & Ρ & & Σ & Τ & Υ & Φ & Χ & Ψ & Ω & Ϊ & Ϋ & ά & έ & ή & ί\\
-\textlatin{3B0} & ΰ & α & β & γ & δ & ε & ζ & η & θ & ι & κ & λ & μ & ν & ξ & ο\\
-\textlatin{3C0} & π & ρ & ς & σ & τ & υ & φ & χ & ψ & ω & ϊ & ϋ & ό & ύ & ώ & \\
-\textlatin{3D0} & * & * & * & * & * & * & * & * & Ϙ & ϙ & Ϛ & ϛ & Ϝ & ϝ & * & ϟ\\
-\textlatin{3E0} & Ϡ & ϡ & * & * & * & * & * & * & * & * & * & * & * & * & * & *\\
-\textlatin{3F0} & * & * & * & * & * & * & * & * & * & * & * & * & * & * & * & *\\
+\latinscript{370} & * & * & * & * & ʹ & ͵ & * & * & & & ͺ & * & * & * & ; & \\
+\latinscript{380} & & & & & ΄ & ΅ & Ά & · & Έ & Ή & Ί & & Ό & & Ύ & Ώ\\
+\latinscript{390} & ΐ & Α & Β & Γ & Δ & Ε & Ζ & Η & Θ & Ι & Κ & Λ & Μ & Ν & Ξ & Ο\\
+\latinscript{3A0} & Π & Ρ & & Σ & Τ & Υ & Φ & Χ & Ψ & Ω & Ϊ & Ϋ & ά & έ & ή & ί\\
+\latinscript{3B0} & ΰ & α & β & γ & δ & ε & ζ & η & θ & ι & κ & λ & μ & ν & ξ & ο\\
+\latinscript{3C0} & π & ρ & ς & σ & τ & υ & φ & χ & ψ & ω & ϊ & ϋ & ό & ύ & ώ & \\
+\latinscript{3D0} & * & * & * & * & * & * & * & * & Ϙ & ϙ & Ϛ & ϛ & Ϝ & ϝ & * & ϟ\\
+\latinscript{3E0} & Ϡ & ϡ & * & * & * & * & * & * & * & * & * & * & * & * & * & *\\
+\latinscript{3F0} & * & * & * & * & * & * & * & * & * & * & * & * & * & * & * & *\\
\bottomrule
\end{tabular}
+\latinscript
- \noindent
+\noindent
legend: * glyph missing in LGR, [space] Unicode point not defined
\subsection{Greek Extended}
+\greekscript
\begin{tabular}{rrrrrrrrrrrrrrrrr}
\toprule
- & 0 & 1 & 2 & 3 & 4 & 5 & 6 & 7 & 8 & 9 & A & B & \textlatin C & D & E & F\\
+ & 0 & 1 & 2 & 3 & 4 & 5 & 6 & 7 & 8 & 9 & A & B & \latinscript C & D & E & F\\
\midrule
-\textlatin{1F00} & ἀ & ἁ & ἂ & ἃ & ἄ & ἅ & ἆ & ἇ & Ἀ & Ἁ & Ἂ & Ἃ & Ἄ & Ἅ & Ἆ & Ἇ\\
-\textlatin{1F10} & ἐ & ἑ & ἒ & ἓ & ἔ & ἕ & & & Ἐ & Ἑ & Ἒ & Ἓ & Ἔ & Ἕ & & \\
-\textlatin{1F20} & ἠ & ἡ & ἢ & ἣ & ἤ & ἥ & ἦ & ἧ & Ἠ & Ἡ & Ἢ & Ἣ & Ἤ & Ἥ & Ἦ & Ἧ\\
-\textlatin{1F30} & ἰ & ἱ & ἲ & ἳ & ἴ & ἵ & ἶ & ἷ & Ἰ & Ἱ & Ἲ & Ἳ & Ἴ & Ἵ & Ἶ & Ἷ\\
-\textlatin{1F40} & ὀ & ὁ & ὂ & ὃ & ὄ & ὅ & & & Ὀ & Ὁ & Ὂ & Ὃ & Ὄ & Ὅ & & \\
-\textlatin{1F50} & ὐ & ὑ & ὒ & ὓ & ὔ & ὕ & ὖ & ὗ & & Ὑ & & Ὓ & & Ὕ & & Ὗ\\
-\textlatin{1F60} & ὠ & ὡ & ὢ & ὣ & ὤ & ὥ & ὦ & ὧ & Ὠ & Ὡ & Ὢ & Ὣ & Ὤ & Ὥ & Ὦ & Ὧ\\
-\textlatin{1F70} & ὰ & ά & ὲ & έ & ὴ & ή & ὶ & ί & ὸ & ό & ὺ & ύ & ὼ & ώ & & \\
-\textlatin{1F80} & ᾀ & ᾁ & ᾂ & ᾃ & ᾄ & ᾅ & ᾆ & ᾇ & ᾈ & ᾉ & ᾊ & ᾋ & ᾌ & ᾍ & ᾎ & ᾏ\\
-\textlatin{1F90} & ᾐ & ᾑ & ᾒ & ᾓ & ᾔ & ᾕ & ᾖ & ᾗ & ᾘ & ᾙ & ᾚ & ᾛ & ᾜ & ᾝ & ᾞ & ᾟ\\
-\textlatin{1FA0} & ᾠ & ᾡ & ᾢ & ᾣ & ᾤ & ᾥ & ᾦ & ᾧ & ᾨ & ᾩ & ᾪ & ᾫ & ᾬ & ᾭ & ᾮ & ᾯ\\
-\textlatin{1FB0} & ᾰ & ᾱ & ᾲ & ᾳ & ᾴ & & ᾶ & ᾷ & Ᾰ & Ᾱ & Ὰ & Ά & ᾼ & ᾽ & ι & ᾿\\
-\textlatin{1FC0} & ῀ & ῁ & ῂ & ῃ & ῄ & & ῆ & ῇ & Ὲ & Έ & Ὴ & Ή & ῌ & ῍ & ῎ & ῏\\
-\textlatin{1FD0} & ῐ & ῑ & ῒ & ΐ & & & ῖ & ῗ & Ῐ & Ῑ & Ὶ & Ί & & ῝ & ῞ & ῟\\
-\textlatin{1FE0} & ῠ & ῡ & ῢ & ΰ & ῤ & ῥ & ῦ & ῧ & Ῠ & Ῡ & Ὺ & Ύ & Ῥ & ῭ & ΅ & `\\
-\textlatin{1FF0} & & & ῲ & ῳ & ῴ & & ῶ & ῷ & Ὸ & Ό & Ὼ & Ώ & ῼ & ´ & ῾ & \\
+\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}
@@ -239,35 +275,47 @@ legend: * glyph missing in LGR, [space] Unicode point not defined
\item [Currency Symbols]: \ensuregreek{€}
\item [Letter-like Symbols]: Ω % OHM SIGN, preferred representation is 03A9
\item [Ancient Greek Numbers]: \ensuregreek{
- 𐅄 % \textPiDelta{} % GREEK ACROPHONIC ATTIC FIFTY
- 𐅅 % \textPiEta{} % GREEK ACROPHONIC ATTIC FIVE HUNDRED
- 𐅆 % \textPiChi{} % GREEK ACROPHONIC ATTIC FIVE THOUSAND
- 𐅇 % \textPiMu{} % GREEK ACROPHONIC ATTIC FIFTY THOUSAND
+ 𐅄 \textpentedeka{} % GREEK ACROPHONIC ATTIC FIFTY
+ 𐅅 \textpentehekaton{} % GREEK ACROPHONIC ATTIC FIVE HUNDRED
+ 𐅆 \textpenteqilioi{} % GREEK ACROPHONIC ATTIC FIVE THOUSAND
+ 𐅇 \textpentemuria{} % GREEK ACROPHONIC ATTIC FIFTY THOUSAND
}
\end{description}
-\newpage
\section{Test up/downcasing}
-Capital Greek letters have diacritics (except the dialytika) to the left
-(instead of above) and drop them in uppercase, e.g.
-\foreignlanguage{greek}{μαΐστρος $\mapsto$ \MakeUppercase{μαΐστρος}}.
+\ifdefined\extrasgreek
+\else
+ These tests require Babel
+ (unless used with LaTeX versions older than 2022/06).
+ \end{document}
+\fi
+
+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 auto-hiatus feature in lgrxenc.def works with the Latin
-transcription and with character-macros (%
+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 transcription and LICR macros (%
\ensuregreek{\MakeUppercase{%
\'ai,
\'\textalpha \textupsilon,
\'\textepsilon \textiota
-}})
-and also if the first character is wrapped in \verb+\ensuregreek+ (as done by
-the lgrenc.dfu definition for accented characters) or a literal Unicode
-character
+}}) 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,
@@ -280,22 +328,21 @@ but not if the second character of the diphthong is a Unicode literal
\'\textepsilon ι
}}).
-Therefore, the diaresis is missing in the following examples:
+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{ἀυπνία}}.
-Fixing this shortcoming requires knowledge of what
-\verb+\LGR@ifnextchar+ ``sees'' when the next character is an upcased
-Unicode literal.
-
-As an ugly workaround, use \verb+\textiota+ resp. \verb+\textupsilon+
-for the character that should get the diaresis:
-\ensuregreek{ἀ\textupsilon{}πνία $\mapsto$ \MakeUppercase{ἀ\textupsilon{}πνία}}.
-
-
The following subsections test MakeUppercase and MakeLowercase with all
characters defined in lgrenc.dfu:
@@ -331,9 +378,9 @@ MakeLowercase:
\MakeLowercase{\greekandcoptic}
\end{quote}
-The lowercase of \ensuregreek{Σ} is the «auto-sigma» (\verb+\textautosigma+):
+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:
+\verb|\noboundary| macro to prevent conversion to final sigma:
\ensuregreek{\MakeLowercase{ΣΣ‌}}. The lowercase of GREEK LETTER STIGMA
\ensuregreek{Ϛ} is \ensuregreek{\MakeLowercase{Ϛ}}.
@@ -342,50 +389,93 @@ The lowercase of \ensuregreek{Σ} is the «auto-sigma» (\verb+\textautosigma+):
MakeUppercase:
-% \selectlanguage{greek}
-
-\MakeUppercase{ ἀ ἁ ἂ ἃ ἄ ἅ ἆ ἇ Ἀ Ἁ Ἂ Ἃ Ἄ Ἅ Ἆ Ἇ }\\
-\MakeUppercase{ ἐ ἑ ἒ ἓ ἔ ἕ Ἐ Ἑ Ἒ Ἓ Ἔ Ἕ }\\
-\MakeUppercase{ ἠ ἡ ἢ ἣ ἤ ἥ ἦ ἧ Ἠ Ἡ Ἢ Ἣ Ἤ Ἥ Ἦ Ἧ }\\
-\MakeUppercase{ ἰ ἱ ἲ ἳ ἴ ἵ ἶ ἷ Ἰ Ἱ Ἲ Ἳ Ἴ Ἵ Ἶ Ἷ }\\
-\MakeUppercase{ ὀ ὁ ὂ ὃ ὄ ὅ Ὀ Ὁ Ὂ Ὃ Ὄ Ὅ }\\
-\MakeUppercase{ ὐ ὑ ὒ ὓ ὔ ὕ ὖ ὗ Ὑ Ὓ Ὕ Ὗ }\\
-\MakeUppercase{ ὠ ὡ ὢ ὣ ὤ ὥ ὦ ὧ Ὠ Ὡ Ὢ Ὣ Ὤ Ὥ Ὦ Ὧ }\\
-\MakeUppercase{ ὰ ά ὲ έ ὴ ή ὶ ί ὸ ό ὺ ύ ὼ ώ }\\
-\MakeUppercase{ ᾀ ᾁ ᾂ ᾃ ᾄ ᾅ ᾆ ᾇ ᾈ ᾉ ᾊ ᾋ ᾌ ᾍ ᾎ ᾏ }\\
-\MakeUppercase{ ᾐ ᾑ ᾒ ᾓ ᾔ ᾕ ᾖ ᾗ ᾘ ᾙ ᾚ ᾛ ᾜ ᾝ ᾞ ᾟ }\\
-\MakeUppercase{ ᾠ ᾡ ᾢ ᾣ ᾤ ᾥ ᾦ ᾧ ᾨ ᾩ ᾪ ᾫ ᾬ ᾭ ᾮ ᾯ }\\
-\MakeUppercase{ ᾰ ᾱ ᾲ ᾳ ᾴ ᾶ ᾷ Ᾰ Ᾱ Ὰ Ά ᾼ ᾽ ι ᾿ }\\
-\MakeUppercase{ ῀ ῁ ῂ ῃ ῄ ῆ ῇ Ὲ Έ Ὴ Ή ῌ ῍ ῎ ῏ }\\
-\MakeUppercase{ ῐ ῑ ῒ ΐ ῖ ῗ Ῐ Ῑ Ὶ Ί ῝ ῞ ῟ }\\
-\MakeUppercase{ ῠ ῡ ῢ ΰ ῤ ῥ ῦ ῧ Ῠ Ῡ Ὺ Ύ Ῥ ῭ ΅ ` }\\
-\MakeUppercase{ ῲ ῳ ῴ ῶ ῷ Ὸ Ό Ὼ Ώ ῼ ´ ῾ }
-\selectlanguage{english}
+\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:
-% \selectlanguage{greek}
-\MakeLowercase{ ἀ ἁ ἂ ἃ ἄ ἅ ἆ ἇ Ἀ Ἁ Ἂ Ἃ Ἄ Ἅ Ἆ Ἇ }\\
-\MakeLowercase{ ἐ ἑ ἒ ἓ ἔ ἕ Ἐ Ἑ Ἒ Ἓ Ἔ Ἕ }\\
-\MakeLowercase{ ἠ ἡ ἢ ἣ ἤ ἥ ἦ ἧ Ἠ Ἡ Ἢ Ἣ Ἤ Ἥ Ἦ Ἧ }\\
-\MakeLowercase{ ἰ ἱ ἲ ἳ ἴ ἵ ἶ ἷ Ἰ Ἱ Ἲ Ἳ Ἴ Ἵ Ἶ Ἷ }\\
-\MakeLowercase{ ὀ ὁ ὂ ὃ ὄ ὅ Ὀ Ὁ Ὂ Ὃ Ὄ Ὅ }\\
-\MakeLowercase{ ὐ ὑ ὒ ὓ ὔ ὕ ὖ ὗ Ὑ Ὓ Ὕ Ὗ }\\
-\MakeLowercase{ ὠ ὡ ὢ ὣ ὤ ὥ ὦ ὧ Ὠ Ὡ Ὢ Ὣ Ὤ Ὥ Ὦ Ὧ }\\
-\MakeLowercase{ ὰ ά ὲ έ ὴ ή ὶ ί ὸ ό ὺ ύ ὼ ώ }\\
-\MakeLowercase{ ᾀ ᾁ ᾂ ᾃ ᾄ ᾅ ᾆ ᾇ ᾈ ᾉ ᾊ ᾋ ᾌ ᾍ ᾎ ᾏ }\\
-\MakeLowercase{ ᾐ ᾑ ᾒ ᾓ ᾔ ᾕ ᾖ ᾗ ᾘ ᾙ ᾚ ᾛ ᾜ ᾝ ᾞ ᾟ }\\
-\MakeLowercase{ ᾠ ᾡ ᾢ ᾣ ᾤ ᾥ ᾦ ᾧ ᾨ ᾩ ᾪ ᾫ ᾬ ᾭ ᾮ ᾯ }\\
-\MakeLowercase{ ᾰ ᾱ ᾲ ᾳ ᾴ ᾶ ᾷ Ᾰ Ᾱ Ὰ Ά ᾼ ᾽ ι ᾿ }\\
-\MakeLowercase{ ῀ ῁ ῂ ῃ ῄ ῆ ῇ Ὲ Έ Ὴ Ή ῌ ῍ ῎ ῏ }\\
-\MakeLowercase{ ῐ ῑ ῒ ΐ ῖ ῗ Ῐ Ῑ Ὶ Ί ῝ ῞ ῟ }\\
-\MakeLowercase{ ῠ ῡ ῢ ΰ ῤ ῥ ῦ ῧ Ῠ Ῡ Ὺ Ύ Ῥ ῭ ΅ ` }\\
-\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:
+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{¨ « ¯ ´ · »}
@@ -401,7 +491,7 @@ MakeUppercase does not change non-letter symbols and the letter shwa:
𐅇 % GREEK ACROPHONIC ATTIC FIFTY THOUSAND
}
\end{quote}
-MakeLowercase does not change non-letter symbols, either:
+MakeLowercase does not change non-letter symbols either:
\begin{quote}
\greekscript
\MakeLowercase{¨ « ¯ ´ · »}
@@ -476,8 +566,6 @@ Problems with text-extraction from PDF with Kerkis:
3Ε0 ϡ * * * * * * * * * * * * * *
3Φ0 * * * * * * * * * * * * * * * *
-
-0387 GREEK ANO TELEIA missing
03B6 zeta replaced by 03F9 GREEK CAPITAL LUNATE SIGMA SYMBOL
03B8 GREEK SMALL LETTER THETA replaced by 03D1 GREEK THETA SYMBOL
03C1 GREEK SMALL LETTER RHO replaced by 03F1 GREEK RHO SYMBOL
diff --git a/language/greek/greek-inputenc/inputenc-iso-8859-7.pdf b/language/greek/greek-inputenc/inputenc-iso-8859-7.pdf
index 2e1ecf4946..22371e1f60 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/inputenc-iso-8859-7.tex b/language/greek/greek-inputenc/inputenc-iso-8859-7.tex
index bf45f09ec1..dae3035557 100644
--- a/language/greek/greek-inputenc/inputenc-iso-8859-7.tex
+++ b/language/greek/greek-inputenc/inputenc-iso-8859-7.tex
@@ -59,9 +59,9 @@ F: { \nd}
Legend:
SHY: Soft Hyphen
-
+
NBSP: No Break Space
-
+
\nd: not defined in LGR font encoding
}
@@ -71,11 +71,11 @@ NBSP: No Break Space
\begin{description}
\item[|] \hfill $\leftarrow$ margins $\rightarrow$ \hfill |
-\item[NBSP:]
+\item[NBSP:]
\begin{flushleft} (flush left) NoBreakSpace NoBreakSpace
NoBreakSpace NoBreakSpace NoBreakSpace
\end{flushleft}
-
+
\item[SHY:] \ldots{} SoftHyphen SoftHyphen SoftHyphen
SoftHyphen SoftHyphen SoftHyphen
\item[|] \hfill $\leftarrow$ margins $\rightarrow$ \hfill |
diff --git a/language/greek/greek-inputenc/lgrenc.dfu b/language/greek/greek-inputenc/lgrenc.dfu
index 386539dfd8..bea6333441 100644
--- a/language/greek/greek-inputenc/lgrenc.dfu
+++ b/language/greek/greek-inputenc/lgrenc.dfu
@@ -1,87 +1,42 @@
% lgrenc.dfu
% **********
-% Greek Unicode support with inputenc
-% ===================================
+% Greek UTF-8 support with inputenc
+% =================================
%
-% :Copyright: © 2010 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.
-% :Identification:
-% ::
-
-\ProvidesFile{lgrenc.dfu}[2019/07/11 1.7 UTF-8 support for Greek]
-
-% Based on a `babel patch`_ by Werner Lemberg, with input from the ucs_
-% package (``ucsencs.def``) by Dominique Unruh and ``CB.enc`` by
-% Apostolos Syropoulos.
%
-% Changelog:
-% .. class:: borderless
+% Based on a `babel patch`_ by Werner Lemberg, with input from
+% the ucs_ package (``ucsencs.def``) by Dominique Unruh
+% and ``CB.enc`` by Apostolos Syropoulos.
+%
+% .. contents::
%
-% ===== =========== ===========================================================
-% 0.1 2010-06-16 initial version
-% 0.2 2012-06-27 support for accented Greek characters with textalpha_
-% 0.3 2013-05-03 new accent macro names with lgrxenc.def 0.7
-% 1.3 2013-05-24 moved to greek-inputenc.
-% 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
-% 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 Remove some duplicate definitions (punctuation, Euro).
-% ===== =========== ===========================================================
%
% Usage
% -----
%
-% Requires comprehensive LGR font encoding definitions from greek-fontenc_:
-%
-% .. code:: latex
-%
-% \usepackage[LGR,T1]{fontenc} % define LGR and T1 encodings
-% \usepackage[utf8]{inputenc} % standard UTF-8 input encoding
-%
-% By default, text containing Greek Unicode characters must be marked as
-% requiring a font encoding that supports Greek script, e.g. by setting the
-% language to ``greek`` or ``polutonikogreek``. This is a generic feature of
-% inputenc_'s `utf8` option (an equivalent restriction holds for the Cyrillic
-% script).
-%
-% With the textalpha_ or alphabeta_ packages of the greek-fontenc_ package,
-% Greek Unicode literals can be used without special markup also in non-Greek
-% documents:
-%
-% .. code:: latex
+% See the `greek-inputenc documentation`_
+% and `<greek-utf8.tex>`_ for an example.
%
-% \usepackage[utf8]{inputenc} % standard UTF-8 input encoding
-% \usepackage[T1]{fontenc} % use T1 font encoding as default
-% \usepackage{textalpha} % define LGR font encoding as Greek default
-%
-% With the ``normalize-symbols`` option to textalpha_ or alphabeta_,
-% GREEK ... SYMBOL characters are mapped to the corresponding letters
-% (requires greek-fontenc_ >= 0.13):
-%
-% .. code:: latex
-%
-% \usepackage[utf8]{inputenc}
-% \usepackage[T1]{fontenc}
-% \usepackage[normalize-symbols]{textalpha}
-%
-%
-% Character Declarations
-% ----------------------
+% Implementation
+% --------------
%
+% Identification::
+
+\ProvidesFile{lgrenc.dfu}[2023/02/21 1.8 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``
% files.
%
-% Wrap definition in ``\ensuregreek`` if a Unicode character is mapped to two
-% characters (letter+sub-iota) or with non-Greek accents to make sure these
-% characters work in any font encoding if the textalpha_ package is used.
+% If a Unicode character is mapped to two macros (accent+letter or
+% letter+sub-iota), we wrap the definition in ``\ensuregreek`` to make sure
+% these characters work in any font encoding if the textalpha_ package is
+% used.
+%
%
% Latin-1 Supplement (T1)
% ~~~~~~~~~~~~~~~~~~~~~~~
@@ -108,7 +63,6 @@
% Greek and Coptic
% ~~~~~~~~~~~~~~~~
-%
% ::
% NR Unicode Name % babel name, PU name
@@ -116,11 +70,8 @@
% 0371 GREEK SMALL LETTER HETA % ͱ
% 0372 GREEK CAPITAL LETTER ARCHAIC SAMPI % Ͳ
% 0373 GREEK SMALL LETTER ARCHAIC SAMPI % Ͳ
-% TODO: replace PU names by ucs names in next version:
-\DeclareUnicodeCharacter{0374}{\textnumeralsigngreek} % ʹ \anwtonos
-\DeclareUnicodeCharacter{0375}{\textnumeralsignlowergreek} % ͵ \katwtonos
-% \DeclareUnicodeCharacter{0374}{\textdexiakeraia} % ʹ \anwtonos, \textnumeralsigngreek
-% \DeclareUnicodeCharacter{0375}{\textaristerikeraia} % ͵ \katwtonos, \textnumeralsignlowergreek
+\DeclareUnicodeCharacter{0374}{\textdexiakeraia} % ʹ \anwtonos, \textnumeralsigngreek
+\DeclareUnicodeCharacter{0375}{\textaristerikeraia} % ͵ \katwtonos, \textnumeralsignlowergreek
% 0376 GREEK CAPITAL LETTER PAMPHYLIAN DIGAMMA % Ͷ
% 0377 GREEK SMALL LETTER PAMPHYLIAN DIGAMMA % ͷ
@@ -218,7 +169,7 @@
\DeclareUnicodeCharacter{03DB}{\textstigma} % ϛ \stigma
\DeclareUnicodeCharacter{03DC}{\textDigamma} % Ϝ \Digamma
\DeclareUnicodeCharacter{03DD}{\textdigamma} % ϝ \ddigamma
-%03DE GREEK LETTER KOPPA % Ϟ \textKoppagreek
+\DeclareUnicodeCharacter{03DE}{\textKoppa} % Ϟ \textKoppagreek
\DeclareUnicodeCharacter{03DF}{\textkoppa} % ϟ \koppa, \textqoppa [sic!]
\DeclareUnicodeCharacter{03E0}{\textSampi} % Ϡ \Sampi
\DeclareUnicodeCharacter{03E1}{\textsampi} % ϡ \sampi
@@ -231,6 +182,20 @@
% Greek Extended
% ~~~~~~~~~~~~~~
+%
+% Different conventions exist for the treatment of the mute iota with
+% uppercase letters. The traditional typographic form and the most common
+% used in Greece is a subscript.
+%
+% Pre-composed capital letters with `mute iota`_ decompose to the base letter
+% and COMBINING GREEK YPOGEGRAMMENI (U+0345) even if they are named
+% ... WITH [... AND] PROSGEGRAMMENI for "historic reasons"
+% [Nicholas-03]_ [Haralambous-98]_.
+%
+% Upper case glyphs with adscript are a stylistic choice, to be provided
+% by the font. LGR encoded fonts provide a ligature mechanism to select the
+% correspongind pre-composed character if Alpha, Eta, or Omega
+% (with or without other diacritics) are followed by ``\ypogegrammeni``.
% ::
\DeclareUnicodeCharacter{1F00}{\ensuregreek{\accpsili\textalpha}} % ἀ
@@ -363,14 +328,14 @@
\DeclareUnicodeCharacter{1F85}{\ensuregreek{\accdasiaoxia\textalpha\ypogegrammeni}} % ᾅ
\DeclareUnicodeCharacter{1F86}{\ensuregreek{\accpsiliperispomeni\textalpha\ypogegrammeni}} % ᾆ
\DeclareUnicodeCharacter{1F87}{\ensuregreek{\accdasiaperispomeni\textalpha\ypogegrammeni}} % ᾇ
-\DeclareUnicodeCharacter{1F88}{\ensuregreek{\accpsili\textAlpha\prosgegrammeni}} % ᾈ
-\DeclareUnicodeCharacter{1F89}{\ensuregreek{\accdasia\textAlpha\prosgegrammeni}} % ᾉ
-\DeclareUnicodeCharacter{1F8A}{\ensuregreek{\accpsilivaria\textAlpha\prosgegrammeni}} % ᾊ
-\DeclareUnicodeCharacter{1F8B}{\ensuregreek{\accdasiavaria\textAlpha\prosgegrammeni}} % ᾋ
-\DeclareUnicodeCharacter{1F8C}{\ensuregreek{\accpsilioxia\textAlpha\prosgegrammeni}} % ᾌ
-\DeclareUnicodeCharacter{1F8D}{\ensuregreek{\accdasiaoxia\textAlpha\prosgegrammeni}} % ᾍ
-\DeclareUnicodeCharacter{1F8E}{\ensuregreek{\accpsiliperispomeni\textAlpha\prosgegrammeni}} % ᾎ
-\DeclareUnicodeCharacter{1F8F}{\ensuregreek{\accdasiaperispomeni\textAlpha\prosgegrammeni}} % ᾏ
+\DeclareUnicodeCharacter{1F88}{\ensuregreek{\accpsili\textAlpha\ypogegrammeni}} % ᾈ
+\DeclareUnicodeCharacter{1F89}{\ensuregreek{\accdasia\textAlpha\ypogegrammeni}} % ᾉ
+\DeclareUnicodeCharacter{1F8A}{\ensuregreek{\accpsilivaria\textAlpha\ypogegrammeni}} % ᾊ
+\DeclareUnicodeCharacter{1F8B}{\ensuregreek{\accdasiavaria\textAlpha\ypogegrammeni}} % ᾋ
+\DeclareUnicodeCharacter{1F8C}{\ensuregreek{\accpsilioxia\textAlpha\ypogegrammeni}} % ᾌ
+\DeclareUnicodeCharacter{1F8D}{\ensuregreek{\accdasiaoxia\textAlpha\ypogegrammeni}} % ᾍ
+\DeclareUnicodeCharacter{1F8E}{\ensuregreek{\accpsiliperispomeni\textAlpha\ypogegrammeni}} % ᾎ
+\DeclareUnicodeCharacter{1F8F}{\ensuregreek{\accdasiaperispomeni\textAlpha\ypogegrammeni}} % ᾏ
\DeclareUnicodeCharacter{1F90}{\ensuregreek{\accpsili\texteta\ypogegrammeni}} % ᾐ
\DeclareUnicodeCharacter{1F91}{\ensuregreek{\accdasia\texteta\ypogegrammeni}} % ᾑ
@@ -380,14 +345,14 @@
\DeclareUnicodeCharacter{1F95}{\ensuregreek{\accdasiaoxia\texteta\ypogegrammeni}} % ᾕ
\DeclareUnicodeCharacter{1F96}{\ensuregreek{\accpsiliperispomeni\texteta\ypogegrammeni}} % ᾖ
\DeclareUnicodeCharacter{1F97}{\ensuregreek{\accdasiaperispomeni\texteta\ypogegrammeni}} % ᾗ
-\DeclareUnicodeCharacter{1F98}{\ensuregreek{\accpsili\textEta\prosgegrammeni}} % ᾘ
-\DeclareUnicodeCharacter{1F99}{\ensuregreek{\accdasia\textEta\prosgegrammeni}} % ᾙ
-\DeclareUnicodeCharacter{1F9A}{\ensuregreek{\accpsilivaria\textEta\prosgegrammeni}} % ᾚ
-\DeclareUnicodeCharacter{1F9B}{\ensuregreek{\accdasiavaria\textEta\prosgegrammeni}} % ᾛ
-\DeclareUnicodeCharacter{1F9C}{\ensuregreek{\accpsilioxia\textEta\prosgegrammeni}} % ᾜ
-\DeclareUnicodeCharacter{1F9D}{\ensuregreek{\accdasiaoxia\textEta\prosgegrammeni}} % ᾝ
-\DeclareUnicodeCharacter{1F9E}{\ensuregreek{\accpsiliperispomeni\textEta\prosgegrammeni}} % ᾞ
-\DeclareUnicodeCharacter{1F9F}{\ensuregreek{\accdasiaperispomeni\textEta\prosgegrammeni}} % ᾟ
+\DeclareUnicodeCharacter{1F98}{\ensuregreek{\accpsili\textEta\ypogegrammeni}} % ᾘ
+\DeclareUnicodeCharacter{1F99}{\ensuregreek{\accdasia\textEta\ypogegrammeni}} % ᾙ
+\DeclareUnicodeCharacter{1F9A}{\ensuregreek{\accpsilivaria\textEta\ypogegrammeni}} % ᾚ
+\DeclareUnicodeCharacter{1F9B}{\ensuregreek{\accdasiavaria\textEta\ypogegrammeni}} % ᾛ
+\DeclareUnicodeCharacter{1F9C}{\ensuregreek{\accpsilioxia\textEta\ypogegrammeni}} % ᾜ
+\DeclareUnicodeCharacter{1F9D}{\ensuregreek{\accdasiaoxia\textEta\ypogegrammeni}} % ᾝ
+\DeclareUnicodeCharacter{1F9E}{\ensuregreek{\accpsiliperispomeni\textEta\ypogegrammeni}} % ᾞ
+\DeclareUnicodeCharacter{1F9F}{\ensuregreek{\accdasiaperispomeni\textEta\ypogegrammeni}} % ᾟ
\DeclareUnicodeCharacter{1FA0}{\ensuregreek{\accpsili\textomega\ypogegrammeni}} % ᾠ
\DeclareUnicodeCharacter{1FA1}{\ensuregreek{\accdasia\textomega\ypogegrammeni}} % ᾡ
@@ -397,14 +362,14 @@
\DeclareUnicodeCharacter{1FA5}{\ensuregreek{\accdasiaoxia\textomega\ypogegrammeni}} % ᾥ
\DeclareUnicodeCharacter{1FA6}{\ensuregreek{\accpsiliperispomeni\textomega\ypogegrammeni}} % ᾦ
\DeclareUnicodeCharacter{1FA7}{\ensuregreek{\accdasiaperispomeni\textomega\ypogegrammeni}} % ᾧ
-\DeclareUnicodeCharacter{1FA8}{\ensuregreek{\accpsili\textOmega\prosgegrammeni}} % ᾨ
-\DeclareUnicodeCharacter{1FA9}{\ensuregreek{\accdasia\textOmega\prosgegrammeni}} % ᾩ
-\DeclareUnicodeCharacter{1FAA}{\ensuregreek{\accpsilivaria\textOmega\prosgegrammeni}} % ᾪ
-\DeclareUnicodeCharacter{1FAB}{\ensuregreek{\accdasiavaria\textOmega\prosgegrammeni}} % ᾫ
-\DeclareUnicodeCharacter{1FAC}{\ensuregreek{\accpsilioxia\textOmega\prosgegrammeni}} % ᾬ
-\DeclareUnicodeCharacter{1FAD}{\ensuregreek{\accdasiaoxia\textOmega\prosgegrammeni}} % ᾭ
-\DeclareUnicodeCharacter{1FAE}{\ensuregreek{\accpsiliperispomeni\textOmega\prosgegrammeni}} % ᾮ
-\DeclareUnicodeCharacter{1FAF}{\ensuregreek{\accdasiaperispomeni\textOmega\prosgegrammeni}} % ᾯ
+\DeclareUnicodeCharacter{1FA8}{\ensuregreek{\accpsili\textOmega\ypogegrammeni}} % ᾨ
+\DeclareUnicodeCharacter{1FA9}{\ensuregreek{\accdasia\textOmega\ypogegrammeni}} % ᾩ
+\DeclareUnicodeCharacter{1FAA}{\ensuregreek{\accpsilivaria\textOmega\ypogegrammeni}} % ᾪ
+\DeclareUnicodeCharacter{1FAB}{\ensuregreek{\accdasiavaria\textOmega\ypogegrammeni}} % ᾫ
+\DeclareUnicodeCharacter{1FAC}{\ensuregreek{\accpsilioxia\textOmega\ypogegrammeni}} % ᾬ
+\DeclareUnicodeCharacter{1FAD}{\ensuregreek{\accdasiaoxia\textOmega\ypogegrammeni}} % ᾭ
+\DeclareUnicodeCharacter{1FAE}{\ensuregreek{\accpsiliperispomeni\textOmega\ypogegrammeni}} % ᾮ
+\DeclareUnicodeCharacter{1FAF}{\ensuregreek{\accdasiaperispomeni\textOmega\ypogegrammeni}} % ᾯ
\DeclareUnicodeCharacter{1FB0}{\ensuregreek{\u\textalpha}} % ᾰ
\DeclareUnicodeCharacter{1FB1}{\ensuregreek{\@tabacckludge=\textalpha}} % ᾱ
@@ -417,7 +382,7 @@
\DeclareUnicodeCharacter{1FB9}{\ensuregreek{\@tabacckludge=\textAlpha}} % Ᾱ
\DeclareUnicodeCharacter{1FBA}{\ensuregreek{\accvaria\textAlpha}} % Ὰ
\DeclareUnicodeCharacter{1FBB}{\ensuregreek{\acctonos\textAlpha}} % Ά
-\DeclareUnicodeCharacter{1FBC}{\ensuregreek{\textAlpha\prosgegrammeni}} % ᾼ
+\DeclareUnicodeCharacter{1FBC}{\ensuregreek{\textAlpha\ypogegrammeni}} % ᾼ
\DeclareUnicodeCharacter{1FBD}{\accpsili{ }} % ᾽
\DeclareUnicodeCharacter{1FBE}{\textcompwordmark\prosgegrammeni} % ι
\DeclareUnicodeCharacter{1FBF}{\accpsili{ }} % ᾿
@@ -433,7 +398,7 @@
\DeclareUnicodeCharacter{1FC9}{\ensuregreek{\acctonos\textEpsilon}} % Έ
\DeclareUnicodeCharacter{1FCA}{\ensuregreek{\accvaria\textEta}} % Ὴ
\DeclareUnicodeCharacter{1FCB}{\ensuregreek{\acctonos\textEta}} % Ή
-\DeclareUnicodeCharacter{1FCC}{\ensuregreek{\textEta\prosgegrammeni}} % ῌ
+\DeclareUnicodeCharacter{1FCC}{\ensuregreek{\textEta\ypogegrammeni}} % ῌ
\DeclareUnicodeCharacter{1FCD}{\accpsilivaria{ }} % ῍
\DeclareUnicodeCharacter{1FCE}{\accpsilioxia{ }} % ῎
\DeclareUnicodeCharacter{1FCF}{\accpsiliperispomeni{ }} % ῏
@@ -478,7 +443,7 @@
\DeclareUnicodeCharacter{1FF9}{\ensuregreek{\acctonos\textOmicron}} % Ό
\DeclareUnicodeCharacter{1FFA}{\ensuregreek{\accvaria\textOmega}} % Ὼ
\DeclareUnicodeCharacter{1FFB}{\ensuregreek{\acctonos\textOmega}} % Ώ
-\DeclareUnicodeCharacter{1FFC}{\ensuregreek{\textOmega\prosgegrammeni}} % ῼ
+\DeclareUnicodeCharacter{1FFC}{\ensuregreek{\textOmega\ypogegrammeni}} % ῼ
\DeclareUnicodeCharacter{1FFD}{\acctonos{ }} % ´
\DeclareUnicodeCharacter{1FFE}{\accdasia{ }} % ῾
@@ -517,12 +482,55 @@
\DeclareUnicodeCharacter{10146}{\textpenteqilioi} % GREEK ACROPHONIC ATTIC FIVE THOUSAND
\DeclareUnicodeCharacter{10147}{\textpentemuria} % GREEK ACROPHONIC ATTIC FIFTY THOUSAND
-% .. _LaTeX Project Public License: http://www.latex-project.org/lppl.txt
-% .. _lgrx: http://www.ctan.org/pkg/lgrx
+% Changelog
+% ---------
+%
+% .. class:: borderless
+%
+% ===== =========== ===========================================================
+% 0.1 2010-06-16 Initial version.
+% 0.2 2012-06-27 Support for accented Greek characters with textalpha_.
+% 0.3 2013-05-03 New accent macro names with lgrxenc.def 0.7.
+% 1.3 2013-05-24 Moved to greek-inputenc.
+% 1.4 2013-07-16 Bugfix for GREEK SMALL LETTER RHO WITH PSILI/DASIA.
+% .. Drop "greek" from macro names for ancient characters.
+% .. Use ``\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.
+% 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 Remove some duplicate definitions (punctuation, Euro).
+% 1.8 2023-02-21 Add ``\textKoppa`` (mapped to ``\textkoppa`` in LGR).
+% (Required by the new ``\MakeUppercase`` implementation.
+% 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.
+% ===== =========== ===========================================================
+%
+%
+% References
+% ----------
+%
+% .. [Haralambous-98] Yannis Haralambous
+% `From Unicode to Typography, a Case Study: the Greek Script`, 1998.
+% https://hal.science/hal-02101618
+% .. [Nicholas-03] Nick Nicholas `Titlecase and Adscripts` 2003.
+% https://opoudjis.net/unicode/unicode_adscript.html
+%
+% .. _alphabeta: https://mirrors.ctan.org/macros/latex/contrib/lgrx/alphabeta.sty.html
% .. _babel patch: http://www.eutypon.gr/eutypon/pdf/e2008-20/e20-a03.pdf
-% .. _ucs: http://www.ctan.org/pkg/ucs
-% .. _inputenc: http://www.ctan.org/pkg/inputenc
-% .. _greek-fontenc: http://www.ctan.org/pkg/greek-fontenc
-% .. _textalpha: http://mirrors.ctan.org/macros/latex/contrib/lgrx/textalpha.sty.html
-% .. _alphabeta: http://mirrors.ctan.org/macros/latex/contrib/lgrx/alphabeta.sty.html
-% .. _grnumalt: http://www.ctan.org/pkg/grnumalt
+% .. _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
+% .. _lgrx: https://ctan.org/pkg/lgrx
+% .. _mute iota: https://en.wikipedia.org/wiki/Iota_subscript
+% .. _textalpha: https://mirrors.ctan.org/macros/latex/contrib/lgrx/textalpha.sty.html
+% .. _ucs: https://ctan.org/pkg/ucs
+%
diff --git a/language/greek/greek-inputenc/lgrenc.dfu.html b/language/greek/greek-inputenc/lgrenc.dfu.html
index 142eb93ce9..ad039e5166 100644
--- a/language/greek/greek-inputenc/lgrenc.dfu.html
+++ b/language/greek/greek-inputenc/lgrenc.dfu.html
@@ -1,18 +1,19 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
-<meta charset="utf-8"/>
-<meta name="generator" content="Docutils 0.15b.dev: http://docutils.sourceforge.net/" />
+<meta charset="utf-8" />
+<meta name="generator" content="Docutils 0.20b.dev: https://docutils.sourceforge.io/" />
+<meta name="viewport" content="width=device-width, initial-scale=1" />
+<meta name="dcterms.rights" content="© 2010 … 2023 Günter Milde" />
<title>lgrenc.dfu</title>
-<meta name="dcterms.rights" content="© 2010 Günter Milde" />
-<link rel="schema.dcterms" href="http://purl.org/dc/terms/">
+<link rel="schema.dcterms" href="http://purl.org/dc/terms/"/>
<style type="text/css">
/* Minimal style sheet for the HTML output of Docutils. */
/* */
/* :Author: Günter Milde, based on html4css1.css by David Goodger */
-/* :Id: $Id$ */
-/* :Copyright: © 2015 Günter Milde. */
+/* :Id: $Id$ */
+/* :Copyright: © 2015, 2021 Günter Milde. */
/* :License: Released under the terms of the `2-Clause BSD license`_, */
/* in short: */
/* */
@@ -24,89 +25,72 @@
/* */
/* .. _2-Clause BSD license: http://www.spdx.org/licenses/BSD-2-Clause */
-/* This CSS2.1_ stylesheet defines rules for Docutils elements without */
-/* HTML equivalent. It is required to make the document semantic visible. */
-/* */
-/* .. _CSS2.1: http://www.w3.org/TR/CSS2 */
-/* .. _validates: http://jigsaw.w3.org/css-validator/validator$link */
-
-/* alignment of text and inline objects inside block objects*/
-.align-left { text-align: left; }
-.align-right { text-align: right; }
-.align-center { clear: both; text-align: center; }
-.align-top { vertical-align: top; }
-.align-middle { vertical-align: middle; }
-.align-bottom { vertical-align: bottom; }
+/* This CSS3 stylesheet defines rules for Docutils elements without */
+/* HTML equivalent. It is required to make the document semantics visible. */
+/* */
+/* .. _validates: http://jigsaw.w3.org/css-validator/validator$link */
/* titles */
-h1.title, p.subtitle {
- text-align: center;
-}
-p.admonition-title,
p.topic-title,
-p.sidebar-title,
-p.rubric,
+p.admonition-title,
p.system-message-title {
font-weight: bold;
}
-h1 + p.subtitle,
-h1 + p.section-subtitle {
- font-size: 1.6em;
+p.sidebar-title,
+p.rubric {
+ font-weight: bold;
+ font-size: larger;
+}
+p.rubric {
+ color: maroon;
}
-h2 + p.section-subtitle { font-size: 1.28em; }
p.subtitle,
p.section-subtitle,
p.sidebar-subtitle {
font-weight: bold;
margin-top: -0.5em;
}
-p.sidebar-title,
-p.rubric {
- font-size: larger;
+h1 + p.subtitle {
+ font-size: 1.6em;
}
-p.rubric { color: maroon; }
a.toc-backref {
- color: black;
- text-decoration: none; }
+ color: inherit;
+ text-decoration: none;
+}
/* Warnings, Errors */
-div.caution p.admonition-title,
-div.attention p.admonition-title,
-div.danger p.admonition-title,
-div.error p.admonition-title,
-div.warning p.admonition-title,
-div.system-messages h1,
-div.error,
-span.problematic,
-p.system-message-title {
+.system-messages h2,
+.system-message-title,
+span.problematic {
color: red;
}
-/* inline literals */
-span.docutils.literal {
+/* Inline Literals */
+.docutils.literal {
font-family: monospace;
white-space: pre-wrap;
}
-/* do not wraph at hyphens and similar: */
+/* do not wrap at hyphens and similar: */
.literal > span.pre { white-space: nowrap; }
/* Lists */
/* compact and simple lists: no margin between items */
-.simple li, .compact li,
-.simple ul, .compact ul,
-.simple ol, .compact ol,
-.simple > li p, .compact > li p,
-dl.simple > dd, dl.compact > dd {
+.simple li, .simple ul, .simple ol,
+.compact li, .compact ul, .compact ol,
+.simple > li p, dl.simple > dd,
+.compact > li p, dl.compact > dd {
margin-top: 0;
margin-bottom: 0;
}
+/* Nested Paragraphs */
+p:first-child { margin-top: 0; }
+p:last-child { margin-bottom: 0; }
+details > p:last-child { margin-bottom: 1em; }
/* Table of Contents */
-div.topic.contents { margin: 0; }
-div.topic.contents ul {
+.contents ul.auto-toc { /* section numbers present */
list-style-type: none;
- padding-left: 1.5em;
}
/* Enumerated Lists */
@@ -116,32 +100,41 @@ ol.upperalpha { list-style: upper-alpha }
ol.lowerroman { list-style: lower-roman }
ol.upperroman { list-style: upper-roman }
-dt span.classifier { font-style: italic }
-dt span.classifier:before {
+/* Definition Lists and Derivatives */
+dt .classifier { font-style: italic }
+dt .classifier:before {
font-style: normal;
margin: 0.5em;
content: ":";
}
-
-/* Field Lists and drivatives */
+/* Field Lists and similar */
/* bold field name, content starts on the same line */
+dl.field-list,
+dl.option-list,
+dl.docinfo {
+ display: flow-root;
+}
dl.field-list > dt,
dl.option-list > dt,
-dl.docinfo > dt,
-dl.footnote > dt,
-dl.citation > dt {
+dl.docinfo > dt {
font-weight: bold;
clear: left;
float: left;
margin: 0;
padding: 0;
- padding-right: 0.5em;
+ padding-right: 0.2em;
}
/* Offset for field content (corresponds to the --field-name-limit option) */
dl.field-list > dd,
dl.option-list > dd,
dl.docinfo > dd {
- margin-left: 9em; /* ca. 14 chars in the test examples */
+ margin-left: 9em; /* ca. 14 chars in the test examples, fit all Docinfo fields */
+}
+/* start nested lists on new line */
+dd > dl:first-child,
+dd > ul:first-child,
+dd > ol:first-child {
+ clear: left;
}
/* start field-body on a new line after long field names */
dl.field-list > dd > *:first-child,
@@ -151,284 +144,363 @@ dl.option-list > dd > *:first-child
width: 100%;
margin: 0;
}
-/* field names followed by a colon */
-dl.field-list > dt:after,
-dl.docinfo > dt:after {
- content: ":";
-}
/* Bibliographic Fields (docinfo) */
-pre.address { font: inherit; }
-dd.authors > p { margin: 0; }
+dl.docinfo pre.address {
+ font: inherit;
+ margin: 0.5em 0;
+}
+dl.docinfo > dd.authors > p { margin: 0; }
/* Option Lists */
-dl.option-list { margin-left: 40px; }
dl.option-list > dt { font-weight: normal; }
span.option { white-space: nowrap; }
/* Footnotes and Citations */
-dl.footnote.superscript > dd {margin-left: 1em; }
-dl.footnote.brackets > dd {margin-left: 2em; }
-dl > dt.label { font-weight: normal; }
-a.footnote-reference.brackets:before,
-dt.label > span.brackets:before { content: "["; }
-a.footnote-reference.brackets:after,
-dt.label > span.brackets:after { content: "]"; }
-a.footnote-reference.superscript,
-dl.footnote.superscript > dt.label {
- vertical-align: super;
- font-size: smaller;
-}
-dt.label > span.fn-backref { margin-left: 0.2em; }
-dt.label > span.fn-backref > a { font-style: italic; }
-/* Line Blocks */
-div.line-block { display: block; }
-div.line-block div.line-block {
+.footnote, .citation { margin: 1em 0; } /* default paragraph skip (Firefox) */
+/* hanging indent */
+.citation { padding-left: 2em; }
+.footnote { padding-left: 1.7em; }
+.footnote.superscript { padding-left: 1.0em; }
+.citation > .label { margin-left: -2em; }
+.footnote > .label { margin-left: -1.7em; }
+.footnote.superscript > .label { margin-left: -1.0em; }
+
+.footnote > .label + *,
+.citation > .label + * {
+ display: inline-block;
+ margin-top: 0;
+ vertical-align: top;
+}
+.footnote > .backrefs + *,
+.citation > .backrefs + * {
margin-top: 0;
- margin-bottom: 0;
- margin-left: 40px;
+}
+.footnote > .label + p, .footnote > .backrefs + p,
+.citation > .label + p, .citation > .backrefs + p {
+ display: inline;
+ vertical-align: inherit;
}
-/* Figures, Images, and Tables */
-.figure.align-left,
-img.align-left,
-object.align-left,
-table.align-left {
- margin-right: auto;
+.backrefs { user-select: none; }
+.backrefs > a { font-style: italic; }
+
+/* superscript footnotes */
+a[role="doc-noteref"].superscript,
+.footnote.superscript > .label,
+.footnote.superscript > .backrefs {
+ vertical-align: super;
+ font-size: smaller;
+ line-height: 1;
}
-.figure.align-center,
-img.align-center,
-object.align-center {
- margin-left: auto;
+a[role="doc-noteref"].superscript > .fn-bracket,
+.footnote.superscript > .label > .fn-bracket {
+ /* hide brackets in display but leave for copy/paste */
+ display: inline-block;
+ width: 0;
+ overflow: hidden;
+}
+[role="doc-noteref"].superscript + [role="doc-noteref"].superscript {
+ padding-left: 0.15em; /* separate consecutive footnote references */
+ /* TODO: unfortunately, "+" also selects with text between the references. */
+}
+
+/* Alignment */
+.align-left {
+ text-align: left;
margin-right: auto;
- display: block;
}
-table.align-center {
+.align-center {
+ text-align: center;
margin-left: auto;
margin-right: auto;
}
-.figure.align-right,
-img.align-right,
-object.align-right,
-table.align-right {
+.align-right {
+ text-align: right;
margin-left: auto;
}
-/* reset inner alignment in figures and tables */
-/* div.align-left, div.align-center, div.align-right, */
-table.align-left, table.align-center, table.align-right
-{ text-align: inherit }
+.align-top { vertical-align: top; }
+.align-middle { vertical-align: middle; }
+.align-bottom { vertical-align: bottom; }
-/* Admonitions and System Messages */
-div.admonition,
-div.system-message,
-div.sidebar{
- margin: 40px;
- border: medium outset;
- padding-right: 1em;
- padding-left: 1em;
+/* reset inner alignment in figures and tables */
+figure.align-left, figure.align-right,
+table.align-left, table.align-center, table.align-right {
+ text-align: inherit;
}
-/* Sidebar */
-div.sidebar {
- width: 30%;
- max-width: 26em;
- float: right;
- clear: right;
+/* Text Blocks */
+.topic { margin: 1em 2em; }
+.sidebar,
+.admonition,
+.system-message {
+ margin: 1em 2em;
+ border: thin solid;
+ padding: 0.5em 1em;
}
+div.line-block { display: block; }
+div.line-block div.line-block, pre { margin-left: 2em; }
-/* Text Blocks */
-blockquote,
-div.topic,
-pre.literal-block,
-pre.doctest-block,
-pre.math,
-pre.code {
- margin-left: 1.5em;
- margin-right: 1.5em
+/* Code line numbers: dropped when copying text from the page */
+pre.code .ln { display: none; }
+pre.code code:before {
+ content: attr(data-lineno); /* …, none) fallback not supported by any browser */
+ color: gray;
}
-pre.code .ln { color: gray; } /* line numbers */
/* Tables */
-table { border-collapse: collapse; }
+table {
+ border-collapse: collapse;
+}
td, th {
- border-style: solid;
- border-color: silver;
+ border: thin solid silver;
padding: 0 1ex;
- border-width: thin;
}
-td > p:first-child, th > p:first-child { margin-top: 0; }
-td > p, th > p { margin-bottom: 0; }
+.borderless td, .borderless th {
+ border: 0;
+ padding: 0;
+ padding-right: 0.5em /* separate table cells */
+}
table > caption {
text-align: left;
- margin-bottom: 0.25em
+ margin-top: 0.2em;
+ margin-bottom: 0.2em;
+}
+table.captionbelow {
+ caption-side: bottom;
}
-table.borderless td, table.borderless th {
- border: 0;
- padding: 0;
- padding-right: 0.5em /* separate table cells */
+/* Document Header and Footer */
+header { border-bottom: 1px solid black; }
+footer { border-top: 1px solid black; }
+
+/* Images are block-level by default in Docutils */
+/* New HTML5 block elements: set display for older browsers */
+img, header, footer, main, aside, nav, section, figure, video, details {
+ display: block;
+}
+/* inline images */
+p img, p video, figure img, figure video {
+ display: inline;
}
</style>
<style type="text/css">
-/* CSS31_ style sheet for the output of Docutils HTML writers. */
-/* Rules for easy reading and pre-defined style variants. */
+/* CSS3_ style sheet for the output of Docutils HTML5 writer. */
+/* Generic responsive design for all screen sizes. */
/* */
-/* :Author: Günter Milde, based on html4css1.css by David Goodger */
-/* :Id: $Id$ */
-/* :Copyright: © 2015 Günter Milde. */
+/* :Author: Günter Milde */
+/* */
+/* :Id: $Id$ */
+/* :Copyright: © 2021 Günter Milde. */
/* :License: Released under the terms of the `2-Clause BSD license`_, */
/* in short: */
/* */
/* Copying and distribution of this file, with or without modification, */
/* are permitted in any medium without royalty provided the copyright */
/* notice and this notice are preserved. */
-/* */
+/* */
/* This file is offered as-is, without any warranty. */
/* */
/* .. _2-Clause BSD license: http://www.spdx.org/licenses/BSD-2-Clause */
-/* .. _CSS3: http://www.w3.org/TR/CSS3 */
+/* .. _CSS3: https://www.w3.org/Style/CSS/ */
+/* Note: */
+/* This style sheet is provisional: */
+/* the API is not settled and may change with any minor Docutils version. */
-/* Document Structure */
-/* ****************** */
-/* "page layout" */
+
+/* General Settings */
+/* ================ */
+
+
+* { box-sizing: border-box; }
+
body {
- margin: 0;
- background-color: #dbdbdb;
-}
-div.document {
- line-height:1.3;
- counter-reset: table;
- /* counter-reset: figure; */
- /* avoid long lines --> better reading */
- /* OTOH: lines should not be too short because of missing hyphenation, */
- max-width: 50em;
- padding: 1px 2%; /* 1px on top avoids grey bar above title (mozilla) */
+ background-color: #fafaf6;
margin: auto;
+ --field-indent: 6.6em; /* indent of fields in field lists */
+ --sidebar-margin-right: 0; /* adapted in media queries below */
+}
+main {
+ counter-reset: figure table;
+}
+body > * {
background-color: white;
+ line-height: 1.6;
+ padding: 0.5rem calc(29% - 7.2rem); /* go from 5% to 15% (8.15em/54em) */
+ margin: auto;
+ max-width: 100rem;
}
-
-/* Sections */
-
-/* Transitions */
-
-hr.docutils {
- width: 80%;
- margin-top: 1em;
- margin-bottom: 1em;
- clear: both;
+sup, sub { /* avoid additional inter-line space for lines with sup/sub */
+ line-height: 1;
}
-/* Paragraphs */
-/* ========== */
-
-/* vertical space (parskip) */
-p, ol, ul, dl,
+/* Vertical Space (Parskip) */
+p, ol, ul, dl, li,
div.line-block,
-table{
+.topic,
+.footnote, .citation,
+div > math,
+table {
margin-top: 0.5em;
margin-bottom: 0.5em;
}
h1, h2, h3, h4, h5, h6,
-dl > dd {
+dl > dd, details > p:last-child {
margin-bottom: 0.5em;
}
-/* Lists */
-/* ========== */
-
-/* Definition Lists */
+/* Indented Blocks */
+blockquote, figure, .topic {
+ margin: 1em 2%;
+ padding-left: 1em;
+}
+div.line-block div.line-block,
+pre, dd, dl.option-list {
+ margin-left: calc(2% + 1em);
+}
-dl > dd > p:first-child { margin-top: 0; }
-/* :last-child is not part of CSS 2.1 (introduced in CSS 3) */
-dl > dd > p:last-child { margin-bottom: 0; }
+/* Object styling */
+/* ============== */
-/* lists nested in definition lists */
-/* :only-child is not part of CSS 2.1 (introduced in CSS 3) */
-dd > ul:only-child, dd > ol:only-child { padding-left: 1em; }
+footer, header {
+ font-size: small;
+}
-/* Description Lists */
-/* styled like in most dictionaries, encyclopedias etc. */
-dl.description > dt {
- font-weight: bold;
- clear: left;
- float: left;
- margin: 0;
+/* Frontmatter */
+div.dedication {
padding: 0;
- padding-right: 0.5em;
+ margin: 1.4em 0;
+ font-style: italic;
+ font-size: large;
+}
+.dedication p.topic-title {
+ display: none;
}
-/* Field Lists */
+blockquote p.attribution,
+.topic p.attribution {
+ text-align: right;
+}
-/* example for custom field-name width */
-dl.field-list.narrow > dd {
- margin-left: 5em;
+/* Table of Contents */
+nav.contents ul {
+ padding-left: 1em;
}
-/* run-in: start field-body on same line after long field names */
-dl.field-list.run-in > dd p {
- display: block;
+ul.auto-toc > li > p { /* hanging indent */
+ padding-left: 1em;
+ text-indent: -1em;
}
-
-/* Bibliographic Fields */
-
-/* generally, bibliographic fields use special definition list dl.docinfo */
-/* but dedication and abstract are placed into "topic" divs */
-div.abstract p.topic-title {
- text-align: center;
+main > nav.contents ul:not(.auto-toc) {
+ list-style-type: square;
}
-div.dedication {
- margin: 2em 5em;
- text-align: center;
- font-style: italic;
+main > nav.contents ul ul:not(.auto-toc) {
+ list-style-type: disc;
}
-div.dedication p.topic-title {
- font-style: normal;
+main > nav.contents ul ul ul:not(.auto-toc) {
+ list-style-type: '\2B29\ ';
}
-
-/* Citations */
-dl.citation dt.label {
- font-weight: bold;
+main > nav.contents ul ul ul ul:not(.auto-toc) {
+ list-style-type: '\2B1D\ ';
}
-span.fn-backref {
- font-weight: normal;
+main > nav.contents ul ul ul ul ul:not(.auto-toc) {
+ list-style-type: '\2B2A\ ';
+}
+nav.contents ul > li::marker {
+ color: grey;
}
-/* Text Blocks */
-/* ============ */
-
-/* Literal Blocks */
+/* Transitions */
+hr {
+ margin: 1em 10%;
+}
-/* Block Quotes */
+/* Lists */
-blockquote > table,
-div.topic > table {
- margin-top: 0;
- margin-bottom: 0;
+ul, ol {
+ padding-left: 1.1em; /* indent by bullet width (Firefox, DejaVu fonts) */
}
-blockquote p.attribution,
-div.topic p.attribution {
- text-align: right;
+dl.field-list > dd,
+dl.docinfo > dd {
+ margin-left: var(--field-indent); /* adapted in media queries or HTML */
+}
+dl.option-list > dd {
margin-left: 20%;
}
+/* run-in: start field-body on same line after long field names */
+dl.field-list.run-in > dd p {
+ display: block;
+}
+/* "description style" like in most dictionaries, encyclopedias etc. */
+dl.description {
+ display: flow-root;
+}
+dl.description > dt {
+ clear: left;
+ float: left;
+ margin: 0;
+ padding: 0;
+ padding-right: 0.3em;
+ font-weight: bold;
+}
+dl.description > dd:after {
+ display: table;
+ content: "";
+ clear: left; /* clearfix for empty descriptions */
+}
+/* start lists nested in description/field lists on new line */
+dd > dl:first-child,
+dd > ul:first-child,
+dd > ol:first-child {
+ clear: left;
+}
-/* Tables */
-/* ====== */
+/* disclosures */
+details { padding-left: 1em; }
+summary { margin-left: -1em; }
-/* th { vertical-align: bottom; } */
+/* Footnotes and Citations */
+.footnote {
+ font-size: small;
+}
-table tr { text-align: left; }
+/* Images, Figures, and Tables */
+img {
+ display: block;
+}
+p > img, p > a > img,
+figure > img, figure > a > img {
+ display: inline;
+}
-/* "booktabs" style (no vertical lines) */
-table.booktabs {
- border: 0;
+figcaption,
+table > caption {
+ /* font-size: small; */
+ font-style: italic;
+}
+figcaption > .legend {
+ font-size: small;
+ font-style: initial;
+}
+figure.numbered > figcaption > p:before {
+ counter-increment: figure;
+ content: "Figure " counter(figure) ": ";
+ font-weight: bold;
+ font-style: initial;
+}
+
+table tr {
+ text-align: left;
+ vertical-align: baseline;
+}
+table.booktabs { /* "booktabs" style (no vertical lines) */
border-top: 2px solid;
border-bottom: 2px solid;
- border-collapse: collapse;
}
table.booktabs * {
border: 0;
@@ -436,272 +508,364 @@ table.booktabs * {
table.booktabs th {
border-bottom: thin solid;
}
-
-/* numbered tables (counter defined in div.document) */
table.numbered > caption:before {
counter-increment: table;
content: "Table " counter(table) ": ";
font-weight: bold;
+ font-style: initial;
}
-/* Explicit Markup Blocks */
-/* ====================== */
-
-/* Footnotes and Citations */
-/* ----------------------- */
+/* Admonitions and System Messages */
+.admonition,
+div.system-message {
+ border: thin solid silver;
+ margin: 1em 2%;
+ padding: 0.5em 1em;
+}
+.caution p.admonition-title,
+.attention p.admonition-title,
+.danger p.admonition-title,
+.warning p.admonition-title,
+div.error {
+ color: maroon;
+}
+div.system-message > p > span.literal {
+ overflow-wrap: break-word;
+}
-/* line on the left */
-dl.footnote {
- padding-left: 1ex;
- border-left: solid;
- border-left-width: thin;
+/* Literal and Code */
+pre.literal-block, pre.doctest{
+ padding: 0.2em;
+ overflow-x: auto;
+}
+.literal-block, .doctest, span.literal {
+ background-color: #f6f9f8;
}
+.system-message span.literal {
+ background-color: inherit;
+}
+
+/* basic highlighting: for a complete scheme, see */
+/* https://docutils.sourceforge.io/sandbox/stylesheets/ */
+pre.code .comment, code .comment { color: #5C6576 }
+pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold }
+pre.code .literal.string, code .literal.string { color: #0C5404 }
+pre.code .name.builtin, code .name.builtin { color: #352B84 }
+pre.code .deleted, code .deleted { background-color: #DEB0A1}
+pre.code .inserted, code .inserted { background-color: #A3D289}
-/* Directives */
-/* ---------- */
+/* Hyperlink References */
+a {
+ text-decoration: none; /* for chromium */
+ /* Wrap links at any place, if this is the only way to prevent overflow */
+ overflow-wrap: break-word;
+}
+.contents a, a.toc-backref, a.citation-reference {
+ overflow-wrap: inherit;
+}
+/* Undecorated Links (see also minimal.css) */
+/* a.citation-reference, */
+.citation a.fn-backref {
+ color: inherit;
+}
+a:hover {
+ text-decoration: underline;
+}
+*:hover > a.toc-backref:after {
+ content: " \2191"; /* ↑ UPWARDS ARROW */
+ color: grey;
+}
+*:hover > a.self-link:after {
+ content: "\1F517"; /* LINK SYMBOL */
+ color: grey;
+ font-size: smaller;
+ margin-left: 0.2em;
+}
+/* highlight the target of the current URL */
+section:target > h2, section:target > h3, section:target > h4,
+section:target > h5, section:target > h6,
+.contents :target,
+.contents:target > .topic-title,
+[role="doc-biblioentry"]:target > .label,
+[role="doc-biblioref"]:target,
+[role="note"]:target, /* Docutils 0.18 ... 0.19 */
+[role="doc-footnote"]:target, /* Docutils >= 0.20 */
+[role="doc-noteref"]:target {
+ background-color: #d2e6ec;
+}
-/* Body Elements */
-/* ~~~~~~~~~~~~~ */
+/* Block Alignment */
+/* Let content flow to the side of aligned images and figures */
-/* Images and Figures */
+/* no floats around this elements */
+footer, header, hr,
+h1, h2, h3 {
+ clear: both;
+}
-/* let content flow to the side of aligned images and figures */
-.figure.align-left,
img.align-left,
-object.align-left {
- display: block;
+video.align-left,
+figure.align-left,
+table.align-left {
+ margin-left: 0;
+ padding-left: 0;
+ margin-right: 0.5em;
clear: left;
float: left;
- margin-right: 1em
}
-.figure.align-right,
img.align-right,
-object.align-right {
- display: block;
+video.align-right,
+figure.align-right,
+table.align-right {
+ margin-left: 0.5em;
+ margin-right: 0;
clear: right;
float: right;
- margin-left: 1em
}
-/* Stop floating sidebars, images and figures at section level 1,2,3 */
-h1, h2, h3 { clear: both; }
-/* Sidebar */
+/* Margin Elements */
+/* see below for screen size dependent rules */
+.sidebar,
+.marginal,
+.admonition.marginal {
+ max-width: 40%;
+ border: none;
+ background-color: #efefea;
+ margin: 0.5em var(--sidebar-margin-right) 0.5em 1em;
+ padding: 0.5em;
+ padding-left: 0.7em;
+ clear: right;
+ float: right;
+ font-size: small;
+}
+.sidebar {
+ width: 40%;
+}
-/* Move into the margin. In a layout with fixed margins, */
-/* it can be moved into the margin completely. */
-div.sidebar {
- width: 30%;
- max-width: 26em;
- margin-left: 1em;
- margin-right: -5.5%;
- background-color: #ffffee ;
+/* Math */
+/* for math-output=MathML (for math-output=HTML, see math.css) */
+math .boldsymbol {
+ font-weight: bold;
+}
+mstyle.mathscr, mi.mathscr {
+ font-family: STIX;
}
-/* Code */
+/* Adaptive page layout */
+/* ==================== */
+
+@media (max-width: 30em) {
+ /* Smaller margins and no floating elements for small screens */
+ /* (main text less than 40 characters/line) */
+ body > * {
+ padding: 0.5rem 5%;
+ line-height: 1.4
+ }
+ .sidebar,
+ .marginal,
+ .admonition.marginal {
+ width: auto;
+ max-width: 100%;
+ float: none;
+ }
+ dl.option-list,
+ pre {
+ margin-left: 0;
+ }
+ body {
+ --field-indent: 4em;
+ }
+ dl.field-list.narrow, dl.docinfo, dl.option-list {
+ --field-indent: 2.4em;
+ }
+ pre, pre * {
+ font-size: 0.9em;
+ /* overflow: auto; */
+ }
+}
-pre.code { padding: 0.7ex }
-pre.code, code { background-color: #eeeeee }
-pre.code .ln { color: gray; } /* line numbers */
-/* basic highlighting: for a complete scheme, see */
-/* http://docutils.sourceforge.net/sandbox/stylesheets/ */
-pre.code .comment, code .comment { color: #5C6576 }
-pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold }
-pre.code .literal.string, code .literal.string { color: #0C5404 }
-pre.code .name.builtin, code .name.builtin { color: #352B84 }
-pre.code .deleted, code .deleted { background-color: #DEB0A1}
-pre.code .inserted, code .inserted { background-color: #A3D289}
+@media (min-width: 54em) {
+ /* Move ToC to the left */
+ /* Main text width before: 70% ≙ 35em ≙ 75…95 chrs (Dejavu/Times) */
+ /* after: ≳ 30em ≙ 54…70 chrs (Dejavu/Times) */
+ body.with-toc {
+ padding-left: 8%;
+ }
+ body.with-toc > * {
+ margin-left: 0;
+ padding-left: 22rem; /* fallback for webkit */
+ padding-left: min(22%, 22rem);
+ padding-right: 7%;
+ }
+ main > nav.contents { /* global ToC */
+ position: fixed;
+ top: 0;
+ left: 0;
+ width: min(25%, 25em);
+ height: 100vh;
+ margin: 0;
+ background-color: #fafaf6;
+ padding: 1em 2% 0 2%;
+ overflow: auto;
+ }
+ main > nav.contents > * {
+ padding-left: 0;
+ line-height: 1.4;
+ }
+ main > nav.contents a {
+ color: inherit;
+ }
+}
-/* Math */
-/* styled separately (see math.css for math-output=HTML) */
+@media (min-width: 70em) {
+ body {
+ --field-indent: 9em;
+ }
+}
-/* Epigraph */
-/* Highlights */
-/* Pull-Quote */
-/* Compound Paragraph */
-/* Container */
+@media (min-width: 77em) {
+ /* Move marginalia to 6rem from right border */
+ /* .sidebar, */
+ /* .marginal, */
+ /* .admonition.marginal { */
+ /* margin-right: calc(6rem - 15%); */
+ /* } */
+ /* BUG: margin is calculated for break point width */
+ /* workaround: variable + many breakpoints */
+ body > * {
+ padding-left: 18%;
+ padding-right: 28%; /* fallback for webkit */
+ padding-right: min(28%, 28rem);
+ --sidebar-margin-right: -20rem;
+ }
+ /* limit main text to ~ 50em ≙ 85…100 characters DejaVu rsp. …120 Times */
+ body.with-toc > * {
+ padding-left: min(22%, 22rem);
+ padding-right: calc(78% - 50rem); /* fallback for webkit */
+ padding-right: min(78% - 50rem, 28rem);
+ --sidebar-margin-right: 0;
+ }
+}
-/* can be styled in a custom stylesheet */
+@media (min-width: 85em) {
+ body.with-toc > * {
+ --sidebar-margin-right: -9rem;
+ }
+}
-/* Document Header and Footer */
+@media (min-width: 90em) {
+ /* move marginalia into the margin */
+ body > * {
+ padding-left: min(22%, 22rem);
+ --sidebar-margin-right: -23rem;
+ }
+ body.with-toc > * {
+ --sidebar-margin-right: -14rem;
+ }
+}
-div.footer, div.header {
- clear: both;
- font-size: smaller;
+@media (min-width: 99em) {
+ /* move marginalia out of main text area */
+ body.with-toc > * {
+ --sidebar-margin-right: -20rem;
+ }
+ body > *, body.with-toc > * { /* for webkit */
+ padding-left: 22rem;
+ padding-right: 28rem;
+ }
+ .admonition.marginal,
+ .marginal {
+ width: 40%; /* make marginal figures, ... "full width" */
+ }
}
-/* Inline Markup */
-/* ============= */
-
-/* Emphasis */
-/* em */
-/* Strong Emphasis */
-/* strong */
-/* Interpreted Text */
-/* span.interpreted */
-/* Title Reference */
-/* cite */
-/* Inline Literals */
-/* possible values: normal, nowrap, pre, pre-wrap, pre-line */
-/* span.docutils.literal { white-space: pre-wrap; } */
-
-/* Hyperlink References */
-a { text-decoration: none; }
-
-/* External Targets */
-/* span.target.external */
-/* Internal Targets */
-/* span.target.internal */
-/* Footnote References */
-/* a.footnote-reference */
-/* Citation References */
-/* a.citation-reference */
+@media (min-width: 104em) {
+ body.with-toc > * {
+ --sidebar-margin-right: -23rem;
+ }
+}
</style>
</head>
-<body>
-<div class="document" id="lgrenc-dfu">
+<body class="with-toc">
+<main id="lgrenc-dfu">
<h1 class="title">lgrenc.dfu</h1>
-<p class="subtitle" id="greek-unicode-support-with-inputenc">Greek Unicode support with inputenc</p>
-<dl class="docinfo">
-<dt class="copyright">Copyright</dt>
-<dd class="copyright">© 2010 Günter Milde</dd>
-<dt class="licence">Licence</dt>
+<p class="subtitle" id="greek-utf-8-support-with-inputenc">Greek UTF-8 support with inputenc</p>
+<dl class="docinfo simple">
+<dt class="copyright">Copyright<span class="colon">:</span></dt>
+<dd class="copyright">© 2010 … 2023 Günter Milde</dd>
+<dt class="licence">Licence<span class="colon">:</span></dt>
<dd class="licence"><p>This work may be distributed and/or modified under the
conditions of the <a class="reference external" href="http://www.latex-project.org/lppl.txt">LaTeX Project Public License</a>, either
version 1.3 of this license or any later version.</p>
</dd>
-<dt class="identification">Identification</dt>
-<dd class="identification"><pre class="literal-block">\ProvidesFile{lgrenc.dfu}[2019/07/11 1.7 UTF-8 support for Greek]</pre>
-</dd>
-</dl>
-<p>Based on a <a class="reference external" href="http://www.eutypon.gr/eutypon/pdf/e2008-20/e20-a03.pdf">babel patch</a> by Werner Lemberg, with input from the <a class="reference external" href="http://www.ctan.org/pkg/ucs">ucs</a>
-package (<span class="docutils literal">ucsencs.def</span>) by Dominique Unruh and <span class="docutils literal">CB.enc</span> by
-Apostolos Syropoulos.</p>
-<dl>
-<dt>Changelog:</dt>
-<dd><table class="borderless">
-<colgroup>
-<col style="width: 7%" />
-<col style="width: 15%" />
-<col style="width: 79%" />
-</colgroup>
-<tbody>
-<tr><td><p>0.1</p></td>
-<td><p>2010-06-16</p></td>
-<td><p>initial version</p></td>
-</tr>
-<tr><td><p>0.2</p></td>
-<td><p>2012-06-27</p></td>
-<td><p>support for accented Greek characters with <a class="reference external" href="http://mirrors.ctan.org/macros/latex/contrib/lgrx/textalpha.sty.html">textalpha</a></p></td>
-</tr>
-<tr><td><p>0.3</p></td>
-<td><p>2013-05-03</p></td>
-<td><p>new accent macro names with lgrxenc.def 0.7</p></td>
-</tr>
-<tr><td><p>1.3</p></td>
-<td><p>2013-05-24</p></td>
-<td><p>moved to greek-inputenc.</p></td>
-</tr>
-<tr><td><p>1.4</p></td>
-<td><p>2013-07-16</p></td>
-<td><p>bugfix for GREEK SMALL LETTER RHO WITH PSILI/DASIA,</p></td>
-</tr>
-<tr><td><!-- -->
-</td>
-<td></td>
-<td><p>drop “greek” from macro names for ancient characters,</p></td>
-</tr>
-<tr><td><!-- -->
-</td>
-<td></td>
-<td><p><span class="docutils literal">\ypogegrammeni</span> and <span class="docutils literal">\prosgegrammeni</span> instead of <span class="docutils literal">|</span></p></td>
-</tr>
-<tr><td><p>1.4.1</p></td>
-<td><p>2013-07-18</p></td>
-<td><p>bugfix: wrong breathings psilioxia -&gt; dasiaoxia</p></td>
-</tr>
-<tr><td><p>1.5</p></td>
-<td><p>2014-09-14</p></td>
-<td><p>Use named accent macros for Greek accents</p></td>
-</tr>
-<tr><td><p>1.6</p></td>
-<td><p>2015-08-05</p></td>
-<td><p>Fix output of accented characters with “textalpha” if the
-current font encoding is not LGR (wrap in ensuregreek),</p></td>
-</tr>
-<tr><td><!-- -->
-</td>
-<td></td>
-<td><p>Map GREEK … SYMBOL characters.</p></td>
-</tr>
-<tr><td><p>1.7</p></td>
-<td><p>2019-07-11</p></td>
-<td><p>Remove some duplicate definitions (punctuation, Euro).</p></td>
-</tr>
-</tbody>
-</table>
-</dd>
</dl>
-<div class="section" id="usage">
-<h1>Usage</h1>
-<p>Requires comprehensive LGR font encoding definitions from <a class="reference external" href="http://www.ctan.org/pkg/greek-fontenc">greek-fontenc</a>:</p>
-<pre class="code latex literal-block"><code><span class="keyword">\usepackage</span><span class="name attribute">[LGR,T1]</span><span class="name builtin">{</span>fontenc<span class="name builtin">}</span> <span class="comment">% define LGR and T1 encodings
-</span><span class="keyword">\usepackage</span><span class="name attribute">[utf8]</span><span class="name builtin">{</span>inputenc<span class="name builtin">}</span> <span class="comment">% standard UTF-8 input encoding</span></code></pre>
-<p>By default, text containing Greek Unicode characters must be marked as
-requiring a font encoding that supports Greek script, e.g. by setting the
-language to <span class="docutils literal">greek</span> or <span class="docutils literal">polutonikogreek</span>. This is a generic feature of
-<a class="reference external" href="http://www.ctan.org/pkg/inputenc">inputenc</a>’s <cite>utf8</cite> option (an equivalent restriction holds for the Cyrillic
-script).</p>
-<p>With the <a class="reference external" href="http://mirrors.ctan.org/macros/latex/contrib/lgrx/textalpha.sty.html">textalpha</a> or <a class="reference external" href="http://mirrors.ctan.org/macros/latex/contrib/lgrx/alphabeta.sty.html">alphabeta</a> packages of the <a class="reference external" href="http://www.ctan.org/pkg/greek-fontenc">greek-fontenc</a> package,
-Greek Unicode literals can be used without special markup also in non-Greek
-documents:</p>
-<pre class="code latex literal-block"><code><span class="keyword">\usepackage</span><span class="name attribute">[utf8]</span><span class="name builtin">{</span>inputenc<span class="name builtin">}</span> <span class="comment">% standard UTF-8 input encoding
-</span><span class="keyword">\usepackage</span><span class="name attribute">[T1]</span><span class="name builtin">{</span>fontenc<span class="name builtin">}</span> <span class="comment">% use T1 font encoding as default
-</span><span class="keyword">\usepackage</span><span class="name builtin">{</span>textalpha<span class="name builtin">}</span> <span class="comment">% define LGR font encoding as Greek default</span></code></pre>
-<p>With the <span class="docutils literal"><span class="pre">normalize-symbols</span></span> option to <a class="reference external" href="http://mirrors.ctan.org/macros/latex/contrib/lgrx/textalpha.sty.html">textalpha</a> or <a class="reference external" href="http://mirrors.ctan.org/macros/latex/contrib/lgrx/alphabeta.sty.html">alphabeta</a>,
-GREEK … SYMBOL characters are mapped to the corresponding letters
-(requires <a class="reference external" href="http://www.ctan.org/pkg/greek-fontenc">greek-fontenc</a> &gt;= 0.13):</p>
-<pre class="code latex literal-block"><code><span class="keyword">\usepackage</span><span class="name attribute">[utf8]</span><span class="name builtin">{</span>inputenc<span class="name builtin">}</span>
-<span class="keyword">\usepackage</span><span class="name attribute">[T1]</span><span class="name builtin">{</span>fontenc<span class="name builtin">}</span>
-<span class="keyword">\usepackage</span><span class="name attribute">[normalize-symbols]</span><span class="name builtin">{</span>textalpha<span class="name builtin">}</span></code></pre>
-</div>
-<div class="section" id="character-declarations">
-<h1>Character Declarations</h1>
+<p>Based on a <a class="reference external" href="http://www.eutypon.gr/eutypon/pdf/e2008-20/e20-a03.pdf">babel patch</a> by Werner Lemberg, with input from
+the <a class="reference external" href="https://ctan.org/pkg/ucs">ucs</a> package (<span class="docutils literal">ucsencs.def</span>) by Dominique Unruh
+and <span class="docutils literal">CB.enc</span> by Apostolos Syropoulos.</p>
+<nav class="contents" id="contents" role="doc-toc">
+<p class="topic-title">Contents</p>
+<ul class="simple">
+<li><p><a class="reference internal" href="#usage" id="toc-entry-1">Usage</a></p></li>
+<li><p><a class="reference internal" href="#implementation" id="toc-entry-2">Implementation</a></p>
+<ul>
+<li><p><a class="reference internal" href="#latin-1-supplement-t1" id="toc-entry-3">Latin-1 Supplement (T1)</a></p></li>
+<li><p><a class="reference internal" href="#ipa-extensions-t3" id="toc-entry-4">IPA Extensions (T3)</a></p></li>
+<li><p><a class="reference internal" href="#spacing-modifier-letters" id="toc-entry-5">Spacing Modifier Letters</a></p></li>
+<li><p><a class="reference internal" href="#greek-and-coptic" id="toc-entry-6">Greek and Coptic</a></p></li>
+<li><p><a class="reference internal" href="#greek-extended" id="toc-entry-7">Greek Extended</a></p></li>
+<li><p><a class="reference internal" href="#general-punctuation" id="toc-entry-8">General Punctuation</a></p></li>
+<li><p><a class="reference internal" href="#currency-symbols" id="toc-entry-9">Currency Symbols</a></p></li>
+<li><p><a class="reference internal" href="#letterlike-symbols" id="toc-entry-10">Letterlike Symbols</a></p></li>
+<li><p><a class="reference internal" href="#ancient-greek-numbers" id="toc-entry-11">Ancient Greek Numbers</a></p></li>
+</ul>
+</li>
+<li><p><a class="reference internal" href="#changelog" id="toc-entry-12">Changelog</a></p></li>
+<li><p><a class="reference internal" href="#references" id="toc-entry-13">References</a></p></li>
+</ul>
+</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>
+</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>
<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>
-<p>Wrap definition in <span class="docutils literal">\ensuregreek</span> if a Unicode character is mapped to two
-characters (letter+sub-iota) or with non-Greek accents to make sure these
-characters work in any font encoding if the <a class="reference external" href="http://mirrors.ctan.org/macros/latex/contrib/lgrx/textalpha.sty.html">textalpha</a> package is used.</p>
-<div class="section" id="latin-1-supplement-t1">
-<h2>Latin-1 Supplement (T1)</h2>
+<p>If a Unicode character is mapped to two macros (accent+letter or
+letter+sub-iota), we wrap the definition in <span class="docutils literal">\ensuregreek</span> to make sure
+these characters work in any font encoding if the <a class="reference external" href="https://mirrors.ctan.org/macros/latex/contrib/lgrx/textalpha.sty.html">textalpha</a> package is
+used.</p>
+<section id="latin-1-supplement-t1">
+<h3><a class="toc-backref" href="#toc-entry-3" role="doc-backlink">Latin-1 Supplement (T1)</a></h3>
<pre class="literal-block">\DeclareUnicodeCharacter{00A8}{\textasciidieresis} % ¨
\DeclareUnicodeCharacter{00AB}{\guillemotleft} % «
\DeclareUnicodeCharacter{00AF}{\textasciimacron} % ¯
\DeclareUnicodeCharacter{00B4}{\textasciiacute} % ´
\DeclareUnicodeCharacter{00B7}{\textperiodcentered} % · = ano teleia
\DeclareUnicodeCharacter{00BB}{\guillemotright} % »</pre>
-</div>
-<div class="section" id="ipa-extensions-t3">
-<h2>IPA Extensions (T3)</h2>
+</section>
+<section id="ipa-extensions-t3">
+<h3><a class="toc-backref" href="#toc-entry-4" role="doc-backlink">IPA Extensions (T3)</a></h3>
<pre class="literal-block">\DeclareUnicodeCharacter{0259}{\textschwa} % ə</pre>
-</div>
-<div class="section" id="spacing-modifier-letters">
-<h2>Spacing Modifier Letters</h2>
+</section>
+<section id="spacing-modifier-letters">
+<h3><a class="toc-backref" href="#toc-entry-5" role="doc-backlink">Spacing Modifier Letters</a></h3>
<pre class="literal-block">\DeclareUnicodeCharacter{02D8}{\textasciibreve} % ˘</pre>
-</div>
-<div class="section" id="greek-and-coptic">
-<h2>Greek and Coptic</h2>
+</section>
+<section id="greek-and-coptic">
+<h3><a class="toc-backref" href="#toc-entry-6" role="doc-backlink">Greek and Coptic</a></h3>
<pre class="literal-block">% NR Unicode Name % babel name, PU name
% 0370 GREEK CAPITAL LETTER HETA % Ͱ
% 0371 GREEK SMALL LETTER HETA % ͱ
% 0372 GREEK CAPITAL LETTER ARCHAIC SAMPI % Ͳ
% 0373 GREEK SMALL LETTER ARCHAIC SAMPI % Ͳ
-% TODO: replace PU names by ucs names in next version:
-\DeclareUnicodeCharacter{0374}{\textnumeralsigngreek} % ʹ \anwtonos
-\DeclareUnicodeCharacter{0375}{\textnumeralsignlowergreek} % ͵ \katwtonos
-% \DeclareUnicodeCharacter{0374}{\textdexiakeraia} % ʹ \anwtonos, \textnumeralsigngreek
-% \DeclareUnicodeCharacter{0375}{\textaristerikeraia} % ͵ \katwtonos, \textnumeralsignlowergreek
+\DeclareUnicodeCharacter{0374}{\textdexiakeraia} % ʹ \anwtonos, \textnumeralsigngreek
+\DeclareUnicodeCharacter{0375}{\textaristerikeraia} % ͵ \katwtonos, \textnumeralsignlowergreek
% 0376 GREEK CAPITAL LETTER PAMPHYLIAN DIGAMMA % Ͷ
% 0377 GREEK SMALL LETTER PAMPHYLIAN DIGAMMA % ͷ
@@ -799,7 +963,7 @@ characters work in any font encoding if the <a class="reference external" href="
\DeclareUnicodeCharacter{03DB}{\textstigma} % ϛ \stigma
\DeclareUnicodeCharacter{03DC}{\textDigamma} % Ϝ \Digamma
\DeclareUnicodeCharacter{03DD}{\textdigamma} % ϝ \ddigamma
-%03DE GREEK LETTER KOPPA % Ϟ \textKoppagreek
+\DeclareUnicodeCharacter{03DE}{\textKoppa} % Ϟ \textKoppagreek
\DeclareUnicodeCharacter{03DF}{\textkoppa} % ϟ \koppa, \textqoppa [sic!]
\DeclareUnicodeCharacter{03E0}{\textSampi} % Ϡ \Sampi
\DeclareUnicodeCharacter{03E1}{\textsampi} % ϡ \sampi
@@ -809,9 +973,20 @@ characters work in any font encoding if the <a class="reference external" href="
\DeclareUnicodeCharacter{03F1}{\textrhosymbol} % ϱ $\varrho$ GREEK RHO SYMBOL
\DeclareUnicodeCharacter{03F4}{\textThetasymbol} % ϴ GREEK CAPITAL THETA SYMBOL
\DeclareUnicodeCharacter{03F5}{\textepsilonsymbol} % ϵ $\epsilon$ GREEK LUNATE EPSILON SYMBOL</pre>
-</div>
-<div class="section" id="greek-extended">
-<h2>Greek Extended</h2>
+</section>
+<section id="greek-extended">
+<h3><a class="toc-backref" href="#toc-entry-7" role="doc-backlink">Greek Extended</a></h3>
+<p>Different conventions exist for the treatment of the mute iota with
+uppercase letters. The traditional typographic form and the most common
+used in Greece is a subscript.</p>
+<p>Pre-composed capital letters with <a class="reference external" href="https://en.wikipedia.org/wiki/Iota_subscript">mute iota</a> decompose to the base letter
+and COMBINING GREEK YPOGEGRAMMENI (U+0345) even if they are named
+… WITH [… AND] PROSGEGRAMMENI for “historic reasons”
+<a class="citation-reference" href="#nicholas-03" id="citation-reference-1" role="doc-biblioref">[Nicholas-03]</a> <a class="citation-reference" href="#haralambous-98" id="citation-reference-2" role="doc-biblioref">[Haralambous-98]</a>.</p>
+<p>Upper case glyphs with adscript are a stylistic choice, to be provided
+by the font. LGR encoded fonts provide a ligature mechanism to select the
+correspongind pre-composed character if Alpha, Eta, or Omega
+(with or without other diacritics) are followed by <span class="docutils literal">\ypogegrammeni</span>.</p>
<pre class="literal-block">\DeclareUnicodeCharacter{1F00}{\ensuregreek{\accpsili\textalpha}} % ἀ
\DeclareUnicodeCharacter{1F01}{\ensuregreek{\accdasia\textalpha}} % ἁ
\DeclareUnicodeCharacter{1F02}{\ensuregreek{\accpsilivaria\textalpha}} % ἂ
@@ -942,14 +1117,14 @@ characters work in any font encoding if the <a class="reference external" href="
\DeclareUnicodeCharacter{1F85}{\ensuregreek{\accdasiaoxia\textalpha\ypogegrammeni}} % ᾅ
\DeclareUnicodeCharacter{1F86}{\ensuregreek{\accpsiliperispomeni\textalpha\ypogegrammeni}} % ᾆ
\DeclareUnicodeCharacter{1F87}{\ensuregreek{\accdasiaperispomeni\textalpha\ypogegrammeni}} % ᾇ
-\DeclareUnicodeCharacter{1F88}{\ensuregreek{\accpsili\textAlpha\prosgegrammeni}} % ᾈ
-\DeclareUnicodeCharacter{1F89}{\ensuregreek{\accdasia\textAlpha\prosgegrammeni}} % ᾉ
-\DeclareUnicodeCharacter{1F8A}{\ensuregreek{\accpsilivaria\textAlpha\prosgegrammeni}} % ᾊ
-\DeclareUnicodeCharacter{1F8B}{\ensuregreek{\accdasiavaria\textAlpha\prosgegrammeni}} % ᾋ
-\DeclareUnicodeCharacter{1F8C}{\ensuregreek{\accpsilioxia\textAlpha\prosgegrammeni}} % ᾌ
-\DeclareUnicodeCharacter{1F8D}{\ensuregreek{\accdasiaoxia\textAlpha\prosgegrammeni}} % ᾍ
-\DeclareUnicodeCharacter{1F8E}{\ensuregreek{\accpsiliperispomeni\textAlpha\prosgegrammeni}} % ᾎ
-\DeclareUnicodeCharacter{1F8F}{\ensuregreek{\accdasiaperispomeni\textAlpha\prosgegrammeni}} % ᾏ
+\DeclareUnicodeCharacter{1F88}{\ensuregreek{\accpsili\textAlpha\ypogegrammeni}} % ᾈ
+\DeclareUnicodeCharacter{1F89}{\ensuregreek{\accdasia\textAlpha\ypogegrammeni}} % ᾉ
+\DeclareUnicodeCharacter{1F8A}{\ensuregreek{\accpsilivaria\textAlpha\ypogegrammeni}} % ᾊ
+\DeclareUnicodeCharacter{1F8B}{\ensuregreek{\accdasiavaria\textAlpha\ypogegrammeni}} % ᾋ
+\DeclareUnicodeCharacter{1F8C}{\ensuregreek{\accpsilioxia\textAlpha\ypogegrammeni}} % ᾌ
+\DeclareUnicodeCharacter{1F8D}{\ensuregreek{\accdasiaoxia\textAlpha\ypogegrammeni}} % ᾍ
+\DeclareUnicodeCharacter{1F8E}{\ensuregreek{\accpsiliperispomeni\textAlpha\ypogegrammeni}} % ᾎ
+\DeclareUnicodeCharacter{1F8F}{\ensuregreek{\accdasiaperispomeni\textAlpha\ypogegrammeni}} % ᾏ
\DeclareUnicodeCharacter{1F90}{\ensuregreek{\accpsili\texteta\ypogegrammeni}} % ᾐ
\DeclareUnicodeCharacter{1F91}{\ensuregreek{\accdasia\texteta\ypogegrammeni}} % ᾑ
@@ -959,14 +1134,14 @@ characters work in any font encoding if the <a class="reference external" href="
\DeclareUnicodeCharacter{1F95}{\ensuregreek{\accdasiaoxia\texteta\ypogegrammeni}} % ᾕ
\DeclareUnicodeCharacter{1F96}{\ensuregreek{\accpsiliperispomeni\texteta\ypogegrammeni}} % ᾖ
\DeclareUnicodeCharacter{1F97}{\ensuregreek{\accdasiaperispomeni\texteta\ypogegrammeni}} % ᾗ
-\DeclareUnicodeCharacter{1F98}{\ensuregreek{\accpsili\textEta\prosgegrammeni}} % ᾘ
-\DeclareUnicodeCharacter{1F99}{\ensuregreek{\accdasia\textEta\prosgegrammeni}} % ᾙ
-\DeclareUnicodeCharacter{1F9A}{\ensuregreek{\accpsilivaria\textEta\prosgegrammeni}} % ᾚ
-\DeclareUnicodeCharacter{1F9B}{\ensuregreek{\accdasiavaria\textEta\prosgegrammeni}} % ᾛ
-\DeclareUnicodeCharacter{1F9C}{\ensuregreek{\accpsilioxia\textEta\prosgegrammeni}} % ᾜ
-\DeclareUnicodeCharacter{1F9D}{\ensuregreek{\accdasiaoxia\textEta\prosgegrammeni}} % ᾝ
-\DeclareUnicodeCharacter{1F9E}{\ensuregreek{\accpsiliperispomeni\textEta\prosgegrammeni}} % ᾞ
-\DeclareUnicodeCharacter{1F9F}{\ensuregreek{\accdasiaperispomeni\textEta\prosgegrammeni}} % ᾟ
+\DeclareUnicodeCharacter{1F98}{\ensuregreek{\accpsili\textEta\ypogegrammeni}} % ᾘ
+\DeclareUnicodeCharacter{1F99}{\ensuregreek{\accdasia\textEta\ypogegrammeni}} % ᾙ
+\DeclareUnicodeCharacter{1F9A}{\ensuregreek{\accpsilivaria\textEta\ypogegrammeni}} % ᾚ
+\DeclareUnicodeCharacter{1F9B}{\ensuregreek{\accdasiavaria\textEta\ypogegrammeni}} % ᾛ
+\DeclareUnicodeCharacter{1F9C}{\ensuregreek{\accpsilioxia\textEta\ypogegrammeni}} % ᾜ
+\DeclareUnicodeCharacter{1F9D}{\ensuregreek{\accdasiaoxia\textEta\ypogegrammeni}} % ᾝ
+\DeclareUnicodeCharacter{1F9E}{\ensuregreek{\accpsiliperispomeni\textEta\ypogegrammeni}} % ᾞ
+\DeclareUnicodeCharacter{1F9F}{\ensuregreek{\accdasiaperispomeni\textEta\ypogegrammeni}} % ᾟ
\DeclareUnicodeCharacter{1FA0}{\ensuregreek{\accpsili\textomega\ypogegrammeni}} % ᾠ
\DeclareUnicodeCharacter{1FA1}{\ensuregreek{\accdasia\textomega\ypogegrammeni}} % ᾡ
@@ -976,14 +1151,14 @@ characters work in any font encoding if the <a class="reference external" href="
\DeclareUnicodeCharacter{1FA5}{\ensuregreek{\accdasiaoxia\textomega\ypogegrammeni}} % ᾥ
\DeclareUnicodeCharacter{1FA6}{\ensuregreek{\accpsiliperispomeni\textomega\ypogegrammeni}} % ᾦ
\DeclareUnicodeCharacter{1FA7}{\ensuregreek{\accdasiaperispomeni\textomega\ypogegrammeni}} % ᾧ
-\DeclareUnicodeCharacter{1FA8}{\ensuregreek{\accpsili\textOmega\prosgegrammeni}} % ᾨ
-\DeclareUnicodeCharacter{1FA9}{\ensuregreek{\accdasia\textOmega\prosgegrammeni}} % ᾩ
-\DeclareUnicodeCharacter{1FAA}{\ensuregreek{\accpsilivaria\textOmega\prosgegrammeni}} % ᾪ
-\DeclareUnicodeCharacter{1FAB}{\ensuregreek{\accdasiavaria\textOmega\prosgegrammeni}} % ᾫ
-\DeclareUnicodeCharacter{1FAC}{\ensuregreek{\accpsilioxia\textOmega\prosgegrammeni}} % ᾬ
-\DeclareUnicodeCharacter{1FAD}{\ensuregreek{\accdasiaoxia\textOmega\prosgegrammeni}} % ᾭ
-\DeclareUnicodeCharacter{1FAE}{\ensuregreek{\accpsiliperispomeni\textOmega\prosgegrammeni}} % ᾮ
-\DeclareUnicodeCharacter{1FAF}{\ensuregreek{\accdasiaperispomeni\textOmega\prosgegrammeni}} % ᾯ
+\DeclareUnicodeCharacter{1FA8}{\ensuregreek{\accpsili\textOmega\ypogegrammeni}} % ᾨ
+\DeclareUnicodeCharacter{1FA9}{\ensuregreek{\accdasia\textOmega\ypogegrammeni}} % ᾩ
+\DeclareUnicodeCharacter{1FAA}{\ensuregreek{\accpsilivaria\textOmega\ypogegrammeni}} % ᾪ
+\DeclareUnicodeCharacter{1FAB}{\ensuregreek{\accdasiavaria\textOmega\ypogegrammeni}} % ᾫ
+\DeclareUnicodeCharacter{1FAC}{\ensuregreek{\accpsilioxia\textOmega\ypogegrammeni}} % ᾬ
+\DeclareUnicodeCharacter{1FAD}{\ensuregreek{\accdasiaoxia\textOmega\ypogegrammeni}} % ᾭ
+\DeclareUnicodeCharacter{1FAE}{\ensuregreek{\accpsiliperispomeni\textOmega\ypogegrammeni}} % ᾮ
+\DeclareUnicodeCharacter{1FAF}{\ensuregreek{\accdasiaperispomeni\textOmega\ypogegrammeni}} % ᾯ
\DeclareUnicodeCharacter{1FB0}{\ensuregreek{\u\textalpha}} % ᾰ
\DeclareUnicodeCharacter{1FB1}{\ensuregreek{\&#64;tabacckludge=\textalpha}} % ᾱ
@@ -996,7 +1171,7 @@ characters work in any font encoding if the <a class="reference external" href="
\DeclareUnicodeCharacter{1FB9}{\ensuregreek{\&#64;tabacckludge=\textAlpha}} % Ᾱ
\DeclareUnicodeCharacter{1FBA}{\ensuregreek{\accvaria\textAlpha}} % Ὰ
\DeclareUnicodeCharacter{1FBB}{\ensuregreek{\acctonos\textAlpha}} % Ά
-\DeclareUnicodeCharacter{1FBC}{\ensuregreek{\textAlpha\prosgegrammeni}} % ᾼ
+\DeclareUnicodeCharacter{1FBC}{\ensuregreek{\textAlpha\ypogegrammeni}} % ᾼ
\DeclareUnicodeCharacter{1FBD}{\accpsili{ }} % ᾽
\DeclareUnicodeCharacter{1FBE}{\textcompwordmark\prosgegrammeni} % ι
\DeclareUnicodeCharacter{1FBF}{\accpsili{ }} % ᾿
@@ -1012,7 +1187,7 @@ characters work in any font encoding if the <a class="reference external" href="
\DeclareUnicodeCharacter{1FC9}{\ensuregreek{\acctonos\textEpsilon}} % Έ
\DeclareUnicodeCharacter{1FCA}{\ensuregreek{\accvaria\textEta}} % Ὴ
\DeclareUnicodeCharacter{1FCB}{\ensuregreek{\acctonos\textEta}} % Ή
-\DeclareUnicodeCharacter{1FCC}{\ensuregreek{\textEta\prosgegrammeni}} % ῌ
+\DeclareUnicodeCharacter{1FCC}{\ensuregreek{\textEta\ypogegrammeni}} % ῌ
\DeclareUnicodeCharacter{1FCD}{\accpsilivaria{ }} % ῍
\DeclareUnicodeCharacter{1FCE}{\accpsilioxia{ }} % ῎
\DeclareUnicodeCharacter{1FCF}{\accpsiliperispomeni{ }} % ῏
@@ -1057,12 +1232,12 @@ characters work in any font encoding if the <a class="reference external" href="
\DeclareUnicodeCharacter{1FF9}{\ensuregreek{\acctonos\textOmicron}} % Ό
\DeclareUnicodeCharacter{1FFA}{\ensuregreek{\accvaria\textOmega}} % Ὼ
\DeclareUnicodeCharacter{1FFB}{\ensuregreek{\acctonos\textOmega}} % Ώ
-\DeclareUnicodeCharacter{1FFC}{\ensuregreek{\textOmega\prosgegrammeni}} % ῼ
+\DeclareUnicodeCharacter{1FFC}{\ensuregreek{\textOmega\ypogegrammeni}} % ῼ
\DeclareUnicodeCharacter{1FFD}{\acctonos{ }} % ´
\DeclareUnicodeCharacter{1FFE}{\accdasia{ }} % ῾</pre>
-</div>
-<div class="section" id="general-punctuation">
-<h2>General Punctuation</h2>
+</section>
+<section id="general-punctuation">
+<h3><a class="toc-backref" href="#toc-entry-8" role="doc-backlink">General Punctuation</a></h3>
<pre class="literal-block">\DeclareUnicodeCharacter{2013}{\textendash} % –
\DeclareUnicodeCharacter{2014}{\textemdash} % —
\DeclareUnicodeCharacter{2018}{\textquoteleft} % ‘
@@ -1071,25 +1246,118 @@ characters work in any font encoding if the <a class="reference external" href="
\DeclareUnicodeCharacter{2030}{\textperthousand} % ‰
\DeclareUnicodeCharacter{2039}{\guilsinglleft} % ‹
\DeclareUnicodeCharacter{203A}{\guilsinglright} % ›</pre>
-</div>
-<div class="section" id="currency-symbols">
-<h2>Currency Symbols</h2>
+</section>
+<section id="currency-symbols">
+<h3><a class="toc-backref" href="#toc-entry-9" role="doc-backlink">Currency Symbols</a></h3>
<pre class="literal-block">\DeclareUnicodeCharacter{20AC}{\texteuro} % €</pre>
-</div>
-<div class="section" id="letterlike-symbols">
-<h2>Letterlike Symbols</h2>
+</section>
+<section id="letterlike-symbols">
+<h3><a class="toc-backref" href="#toc-entry-10" role="doc-backlink">Letterlike Symbols</a></h3>
<pre class="literal-block">\DeclareUnicodeCharacter{2126}{\textohm} % Ω OHM SIGN</pre>
-</div>
-<div class="section" id="ancient-greek-numbers">
-<h2>Ancient Greek Numbers</h2>
+</section>
+<section id="ancient-greek-numbers">
+<h3><a class="toc-backref" href="#toc-entry-11" role="doc-backlink">Ancient Greek Numbers</a></h3>
<p>TODO: map also other number characters to corresponding Greek letters?
-See also the <a class="reference external" href="http://www.ctan.org/pkg/grnumalt">grnumalt</a> package:</p>
+See also the <a class="reference external" href="https://ctan.org/pkg/grnumalt">grnumalt</a> package:</p>
<pre class="literal-block">\DeclareUnicodeCharacter{10144}{\textpentedeka} % GREEK ACROPHONIC ATTIC FIFTY
\DeclareUnicodeCharacter{10145}{\textpentehekaton} % GREEK ACROPHONIC ATTIC FIVE HUNDRED
\DeclareUnicodeCharacter{10146}{\textpenteqilioi} % GREEK ACROPHONIC ATTIC FIVE THOUSAND
\DeclareUnicodeCharacter{10147}{\textpentemuria} % GREEK ACROPHONIC ATTIC FIFTY THOUSAND</pre>
+</section>
+</section>
+<section id="changelog">
+<h2><a class="toc-backref" href="#toc-entry-12" role="doc-backlink">Changelog</a></h2>
+<table class="borderless">
+<tbody>
+<tr><td><p>0.1</p></td>
+<td><p>2010-06-16</p></td>
+<td><p>Initial version.</p></td>
+</tr>
+<tr><td><p>0.2</p></td>
+<td><p>2012-06-27</p></td>
+<td><p>Support for accented Greek characters with <a class="reference external" href="https://mirrors.ctan.org/macros/latex/contrib/lgrx/textalpha.sty.html">textalpha</a>.</p></td>
+</tr>
+<tr><td><p>0.3</p></td>
+<td><p>2013-05-03</p></td>
+<td><p>New accent macro names with lgrxenc.def 0.7.</p></td>
+</tr>
+<tr><td><p>1.3</p></td>
+<td><p>2013-05-24</p></td>
+<td><p>Moved to greek-inputenc.</p></td>
+</tr>
+<tr><td><p>1.4</p></td>
+<td><p>2013-07-16</p></td>
+<td><p>Bugfix for GREEK SMALL LETTER RHO WITH PSILI/DASIA.</p></td>
+</tr>
+<tr><td><!-- -->
+</td>
+<td></td>
+<td><p>Drop “greek” from macro names for ancient characters.</p></td>
+</tr>
+<tr><td><!-- -->
+</td>
+<td></td>
+<td><p>Use <span class="docutils literal">\ypogegrammeni</span> and <span class="docutils literal">\prosgegrammeni</span>
+instead of <span class="docutils literal">|</span>.</p></td>
+</tr>
+<tr><td><p>1.4.1</p></td>
+<td><p>2013-07-18</p></td>
+<td><p>Bugfix: wrong breathings psilioxia -&gt; dasiaoxia.</p></td>
+</tr>
+<tr><td><p>1.5</p></td>
+<td><p>2014-09-14</p></td>
+<td><p>Use named accent macros for Greek accents.</p></td>
+</tr>
+<tr><td><p>1.6</p></td>
+<td><p>2015-08-05</p></td>
+<td><p>Fix output of accented characters with “textalpha” if the
+current font encoding is not LGR (wrap in ensuregreek).</p></td>
+</tr>
+<tr><td><!-- -->
+</td>
+<td></td>
+<td><p>Map GREEK … SYMBOL characters.</p></td>
+</tr>
+<tr><td><p>1.7</p></td>
+<td><p>2019-07-11</p></td>
+<td><p>Remove some duplicate definitions (punctuation, Euro).</p></td>
+</tr>
+<tr><td><p>1.8</p></td>
+<td><p>2023-02-21</p></td>
+<td><p>Add <span class="docutils literal">\textKoppa</span> (mapped to <span class="docutils literal">\textkoppa</span> in LGR).
+(Required by the new <span class="docutils literal">\MakeUppercase</span> implementation.
+Maps to small koppa as there is no capital koppa in LGR.)</p></td>
+</tr>
+<tr><td><!-- -->
+</td>
+<td></td>
+<td><p>Use <span class="docutils literal">\ypogegrammeni</span> for mute iota also with capitals.</p></td>
+</tr>
+<tr><td><!-- -->
+</td>
+<td></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>
+</tbody>
+</table>
+</section>
+<section id="references">
+<h2><a class="toc-backref" href="#toc-entry-13" role="doc-backlink">References</a></h2>
+<div role="list" class="citation-list">
+<div class="citation" id="haralambous-98" role="doc-biblioentry">
+<span class="label"><span class="fn-bracket">[</span><a role="doc-backlink" href="#citation-reference-2">Haralambous-98</a><span class="fn-bracket">]</span></span>
+<p>Yannis Haralambous
+<cite>From Unicode to Typography, a Case Study: the Greek Script</cite>, 1998.
+<a class="reference external" href="https://hal.science/hal-02101618">https://hal.science/hal-02101618</a></p>
</div>
+<div class="citation" id="nicholas-03" role="doc-biblioentry">
+<span class="label"><span class="fn-bracket">[</span><a role="doc-backlink" href="#citation-reference-1">Nicholas-03</a><span class="fn-bracket">]</span></span>
+<p>Nick Nicholas <cite>Titlecase and Adscripts</cite> 2003.
+<a class="reference external" href="https://opoudjis.net/unicode/unicode_adscript.html">https://opoudjis.net/unicode/unicode_adscript.html</a></p>
</div>
</div>
+</section>
+</main>
</body>
</html>
diff --git a/language/greek/greek-inputenc/unicode-licr.txt b/language/greek/greek-inputenc/unicode-licr.txt
index 45540a3000..ef5d9d043e 100644
--- a/language/greek/greek-inputenc/unicode-licr.txt
+++ b/language/greek/greek-inputenc/unicode-licr.txt
@@ -104,7 +104,7 @@
03DB \textstigma % ϛ \stigma
03DC \textDigamma % Ϝ \Digamma
03DD \textdigamma % ϝ \ddigamma
-%03DE GREEK LETTER KOPPA % Ϟ \textKoppagreek
+03DE \textKoppa % Ϟ \textKoppagreek
03DF \textkoppa % ϟ \koppa, \textqoppa [sic!]
03E0 \textSampi % Ϡ \Sampi
03E1 \textsampi % ϡ \sampi
@@ -237,14 +237,14 @@
1F85 \<'\textalpha\ypogegrammeni % ᾅ
1F86 \~>\textalpha\ypogegrammeni % ᾆ
1F87 \~<\textalpha\ypogegrammeni % ᾇ
-1F88 \>\textAlpha\prosgegrammeni % ᾈ
-1F89 \<\textAlpha\prosgegrammeni % ᾉ
-1F8A \>`\textAlpha\prosgegrammeni % ᾊ
-1F8B \<`\textAlpha\prosgegrammeni % ᾋ
-1F8C \>'\textAlpha\prosgegrammeni % ᾌ
-1F8D \<'\textAlpha\prosgegrammeni % ᾍ
-1F8E \~>\textAlpha\prosgegrammeni % ᾎ
-1F8F \~<\textAlpha\prosgegrammeni % ᾏ
+1F88 \>\textAlpha\ypogegrammeni % ᾈ
+1F89 \<\textAlpha\ypogegrammeni % ᾉ
+1F8A \>`\textAlpha\ypogegrammeni % ᾊ
+1F8B \<`\textAlpha\ypogegrammeni % ᾋ
+1F8C \>'\textAlpha\ypogegrammeni % ᾌ
+1F8D \<'\textAlpha\ypogegrammeni % ᾍ
+1F8E \~>\textAlpha\ypogegrammeni % ᾎ
+1F8F \~<\textAlpha\ypogegrammeni % ᾏ
1F90 \>\texteta\ypogegrammeni % ᾐ
1F91 \<\texteta\ypogegrammeni % ᾑ
1F92 \>`\texteta\ypogegrammeni % ᾒ
@@ -253,14 +253,14 @@
1F95 \<'\texteta\ypogegrammeni % ᾕ
1F96 \~>\texteta\ypogegrammeni % ᾖ
1F97 \~<\texteta\ypogegrammeni % ᾗ
-1F98 \>\textEta\prosgegrammeni % ᾘ
-1F99 \<\textEta\prosgegrammeni % ᾙ
-1F9A \>`\textEta\prosgegrammeni % ᾚ
-1F9B \<`\textEta\prosgegrammeni % ᾛ
-1F9C \>'\textEta\prosgegrammeni % ᾜ
-1F9D \<'\textEta\prosgegrammeni % ᾝ
-1F9E \~>\textEta\prosgegrammeni % ᾞ
-1F9F \~<\textEta\prosgegrammeni % ᾟ
+1F98 \>\textEta\ypogegrammeni % ᾘ
+1F99 \<\textEta\ypogegrammeni % ᾙ
+1F9A \>`\textEta\ypogegrammeni % ᾚ
+1F9B \<`\textEta\ypogegrammeni % ᾛ
+1F9C \>'\textEta\ypogegrammeni % ᾜ
+1F9D \<'\textEta\ypogegrammeni % ᾝ
+1F9E \~>\textEta\ypogegrammeni % ᾞ
+1F9F \~<\textEta\ypogegrammeni % ᾟ
1FA0 \>\textomega\ypogegrammeni % ᾠ
1FA1 \<\textomega\ypogegrammeni % ᾡ
1FA2 \>`\textomega\ypogegrammeni % ᾢ
@@ -269,14 +269,14 @@
1FA5 \<'\textomega\ypogegrammeni % ᾥ
1FA6 \~>\textomega\ypogegrammeni % ᾦ
1FA7 \~<\textomega\ypogegrammeni % ᾧ
-1FA8 \>\textOmega\prosgegrammeni % ᾨ
-1FA9 \<\textOmega\prosgegrammeni % ᾩ
-1FAA \>`\textOmega\prosgegrammeni % ᾪ
-1FAB \<`\textOmega\prosgegrammeni % ᾫ
-1FAC \>'\textOmega\prosgegrammeni % ᾬ
-1FAD \<'\textOmega\prosgegrammeni % ᾭ
-1FAE \~>\textOmega\prosgegrammeni % ᾮ
-1FAF \~<\textOmega\prosgegrammeni % ᾯ
+1FA8 \>\textOmega\ypogegrammeni % ᾨ
+1FA9 \<\textOmega\ypogegrammeni % ᾩ
+1FAA \>`\textOmega\ypogegrammeni % ᾪ
+1FAB \<`\textOmega\ypogegrammeni % ᾫ
+1FAC \>'\textOmega\ypogegrammeni % ᾬ
+1FAD \<'\textOmega\ypogegrammeni % ᾭ
+1FAE \~>\textOmega\ypogegrammeni % ᾮ
+1FAF \~<\textOmega\ypogegrammeni % ᾯ
1FB0 \u\textalpha % ᾰ
1FB1 \=\textalpha % ᾱ
1FB2 \`\textalpha\ypogegrammeni % ᾲ
@@ -288,7 +288,7 @@
1FB9 \=\textAlpha % Ᾱ
1FBA \`\textAlpha % Ὰ
1FBB \'\textAlpha % Ά
-1FBC \textAlpha\prosgegrammeni % ᾼ
+1FBC \textAlpha\ypogegrammeni % ᾼ
1FBD \>{} % ᾽
1FBE \textcompwordmark\prosgegrammeni % ι
1FBF \>{} % ᾿
@@ -303,7 +303,7 @@
1FC9 \'\textEpsilon % Έ
1FCA \`\textEta % Ὴ
1FCB \'\textEta % Ή
-1FCC \textEta\prosgegrammeni % ῌ
+1FCC \textEta\ypogegrammeni % ῌ
1FCD \>`{} % ῍
1FCE \>'{} % ῎
1FCF \~>{} % ῏
@@ -345,7 +345,7 @@
1FF9 \'\textOmicron % Ό
1FFA \`\textOmega % Ὼ
1FFB \'\textOmega % Ώ
-1FFC \textOmega\prosgegrammeni % ῼ
+1FFC \textOmega\ypogegrammeni % ῼ
1FFD \'{} % ´
1FFE \<{} % ῾
@@ -377,6 +377,6 @@
10147 \textpentemuria % GREEK ACROPHONIC ATTIC FIFTY THOUSAND
% .. _LaTeX Project Public License: http://www.latex-project.org/lppl.txt
-% .. _greek-inputenc: http://www.ctan.org/pkg/greek-inputenc
-% .. _greek-fontenc: http://www.ctan.org/pkg/greek-fontenc
-% .. _grnumalt: http://www.ctan.org/pkg/grnumalt
+% .. _greek-inputenc: https://ctan.org/pkg/greek-inputenc
+% .. _greek-fontenc: https://ctan.org/pkg/greek-fontenc
+% .. _grnumalt: https://ctan.org/pkg/grnumalt