summaryrefslogtreecommitdiff
path: root/language/greek/greek-fontenc/greek-fontenc.def.html
diff options
context:
space:
mode:
Diffstat (limited to 'language/greek/greek-fontenc/greek-fontenc.def.html')
-rw-r--r--language/greek/greek-fontenc/greek-fontenc.def.html66
1 files changed, 40 insertions, 26 deletions
diff --git a/language/greek/greek-fontenc/greek-fontenc.def.html b/language/greek/greek-fontenc/greek-fontenc.def.html
index 488bee24e9..68d93d25d0 100644
--- a/language/greek/greek-fontenc/greek-fontenc.def.html
+++ b/language/greek/greek-fontenc/greek-fontenc.def.html
@@ -4,7 +4,7 @@
<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="© 2013 Günter Milde" />
+<meta name="dcterms.rights" content="© 2013 – 2023 Günter Milde" />
<title>greek-fontenc.def</title>
<link rel="schema.dcterms" href="http://purl.org/dc/terms/"/>
<style type="text/css">
@@ -792,17 +792,15 @@ mstyle.mathscr, mi.mathscr {
<h1 class="title">greek-fontenc.def</h1>
<p class="subtitle" id="common-greek-font-encoding-definitions">Common Greek font encoding definitions</p>
<dl class="docinfo">
+<dt class="version">Version<span class="colon">:</span></dt>
+<dd class="version">2.2.1 (<a class="reference internal" href="#changelog">changelog</a>)</dd>
<dt class="copyright">Copyright<span class="colon">:</span></dt>
-<dd class="copyright">© 2013 Günter Milde</dd>
+<dd class="copyright">© 2013 – 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<span class="colon">:</span></dt>
-<dd class="identification"><pre class="literal-block">\ProvidesFile{greek-fontenc.def}
-[2023/02/28 2.2 Common Greek font encoding definitions]</pre>
-</dd>
</dl>
<div class="topic abstract" role="doc-abstract">
<p class="topic-title">Abstract</p>
@@ -815,20 +813,21 @@ font encodings providing Greek characters.</p>
<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="#ensuregreek-greekscript" id="toc-entry-3">ensuregreek, greekscript</a></p></li>
-<li><p><a class="reference internal" href="#aliases" id="toc-entry-4">Aliases</a></p></li>
-<li><p><a class="reference internal" href="#composite-diacritics" id="toc-entry-5">Composite diacritics</a></p></li>
-<li><p><a class="reference internal" href="#uppercase" id="toc-entry-6">UPPERCASE</a></p>
+<li><p><a class="reference internal" href="#identification" id="toc-entry-3">Identification</a></p></li>
+<li><p><a class="reference internal" href="#ensuregreek-greekscript" id="toc-entry-4">ensuregreek, greekscript</a></p></li>
+<li><p><a class="reference internal" href="#aliases" id="toc-entry-5">Aliases</a></p></li>
+<li><p><a class="reference internal" href="#composite-diacritics" id="toc-entry-6">Composite diacritics</a></p></li>
+<li><p><a class="reference internal" href="#uppercase" id="toc-entry-7">UPPERCASE</a></p>
<ul>
-<li><p><a class="reference internal" href="#uclclist-extension" id="toc-entry-7">&#64;uclclist extension</a></p></li>
-<li><p><a class="reference internal" href="#substitution-macros" id="toc-entry-8">Substitution macros</a></p></li>
-<li><p><a class="reference internal" href="#mark-hiatus" id="toc-entry-9">Mark hiatus</a></p></li>
+<li><p><a class="reference internal" href="#uclclist-extension" id="toc-entry-8">&#64;uclclist extension</a></p></li>
+<li><p><a class="reference internal" href="#substitution-macros" id="toc-entry-9">Substitution macros</a></p></li>
+<li><p><a class="reference internal" href="#mark-hiatus" id="toc-entry-10">Mark hiatus</a></p></li>
</ul>
</li>
</ul>
</li>
-<li><p><a class="reference internal" href="#changes" id="toc-entry-10">Changes</a></p></li>
-<li><p><a class="reference internal" href="#references" id="toc-entry-11">References</a></p></li>
+<li><p><a class="reference internal" href="#changelog" id="toc-entry-11">Changelog</a></p></li>
+<li><p><a class="reference internal" href="#references" id="toc-entry-12">References</a></p></li>
</ul>
</nav>
<section id="usage">
@@ -838,8 +837,13 @@ font encodings providing Greek characters.</p>
</section>
<section id="implementation">
<h2><a class="toc-backref" href="#toc-entry-2" role="doc-backlink">Implementation</a></h2>
+<section id="identification">
+<h3><a class="toc-backref" href="#toc-entry-3" role="doc-backlink">Identification</a></h3>
+<pre class="literal-block">\ProvidesFile{greek-fontenc.def}
+ [2023/03/08 2.2.1 Common Greek font encoding definitions]</pre>
+</section>
<section id="ensuregreek-greekscript">
-<h3><a class="toc-backref" href="#toc-entry-3" role="doc-backlink">ensuregreek, greekscript</a></h3>
+<h3><a class="toc-backref" href="#toc-entry-4" role="doc-backlink">ensuregreek, greekscript</a></h3>
<p>Provide “empty” encoding-specific definitions for <span class="docutils literal">\ensuregreek</span> and
<span class="docutils literal">\greekscript</span>. The definitions in this file make the font encoding fit
for use with the Greek script. (See <span class="docutils literal">textalpha.sty</span> for default
@@ -856,7 +860,7 @@ the Greek script, if required. The following definition announces the
<pre class="literal-block">\ProvideTextCommand{\greekscript}{\LastDeclaredEncoding}{}</pre>
</section>
<section id="aliases">
-<h3><a class="toc-backref" href="#toc-entry-4" role="doc-backlink">Aliases</a></h3>
+<h3><a class="toc-backref" href="#toc-entry-5" role="doc-backlink">Aliases</a></h3>
<p>Aliases are defined via <cite>DeclareTextCommand</cite> so that up/downcasing works
without the need for additional <a class="reference internal" href="#uclclist">uclclist</a> entries.</p>
<p>Names matching mathematical variant symbols:</p>
@@ -910,7 +914,7 @@ table, LCI encoding)?</p>
</span><span class="name variable">\DeclareTextCommand</span><span class="name builtin">{</span><span class="literal string">\)</span><span class="name builtin">}{</span><span class="keyword">\LastDeclaredEncoding</span><span class="name builtin">}{</span><span class="keyword">\accpsili</span><span class="name builtin">}</span></code></pre>
</section>
<section id="composite-diacritics">
-<h3><a class="toc-backref" href="#toc-entry-5" role="doc-backlink">Composite diacritics</a></h3>
+<h3><a class="toc-backref" href="#toc-entry-6" role="doc-backlink">Composite diacritics</a></h3>
<p>Composite accents can be input as sequence of simple diacritics (in
arbitrary order) via named macro, symbol macro and “transliteration
characters”, e.g. one of</p>
@@ -1016,7 +1020,7 @@ composite definitions starting with standard macros are requried:</p>
\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\~}{\accdasiaperispomeni}</pre>
</section>
<section id="uppercase">
-<span id="uclclist"></span><h3><a class="toc-backref" href="#toc-entry-6" role="doc-backlink">UPPERCASE</a></h3>
+<span id="uclclist"></span><h3><a class="toc-backref" href="#toc-entry-7" role="doc-backlink">UPPERCASE</a></h3>
<p>UPPERCASE (all-caps) is generated with <span class="docutils literal">\MakeUppercase</span>. The
implementation of this command changed in June 2022 <a class="citation-reference" href="#ltnews35" id="citation-reference-1" role="doc-biblioref">[ltnews35]</a>.</p>
<p>According to Greek typographical tradition, diacritics (except dialytika,
@@ -1033,7 +1037,7 @@ CB Fonts, a small capital adscript iota is used.</p>
<p>Up to 2022/06, macro substitutions in the <span class="docutils literal">\&#64;uclclist</span> could be used to
get the expected behaviour:</p>
<section id="uclclist-extension">
-<h4><a class="toc-backref" href="#toc-entry-7" role="doc-backlink">&#64;uclclist extension</a></h4>
+<h4><a class="toc-backref" href="#toc-entry-8" role="doc-backlink">&#64;uclclist extension</a></h4>
<p>Based on Werner Lemberg’s 2008 <a class="reference external" href="http://www.eutypon.gr/eutypon/pdf/e2008-20/e20-a03.pdf">babel patch</a> and <span class="docutils literal">fontenc.sty</span>.</p>
<p>The definition of an auxiliary, self-resetting macro makes this idempotent
(only the first use of this function will expand the <span class="docutils literal">&#64;uclclist</span>).
@@ -1051,6 +1055,7 @@ The second and third lines are TeX’ way of writing <span class="docutils liter
\accpsilivaria\LGR&#64;hiatus
\accpsiliperispomeni\LGR&#64;accdropped
\acctonos\LGR&#64;hiatus
+ \accoxia\LGR&#64;hiatus
\accvaria\LGR&#64;accdropped
\accdialytikatonos\LGR&#64;accDialytika
\accdialytikavaria\LGR&#64;accDialytika
@@ -1085,7 +1090,7 @@ The second and third lines are TeX’ way of writing <span class="docutils liter
\textomega \textOmega
\textkoppa \textKoppa
\textqoppa \textQoppa
- \textvarstigma \textStigma
+ \textvarstigma \LGR&#64;Stigma
\textstigma \textStigma
\textsampi \textSampi
\textdigamma \textDigamma
@@ -1096,7 +1101,7 @@ The second and third lines are TeX’ way of writing <span class="docutils liter
<pre class="literal-block">\update&#64;uclc&#64;with&#64;greek</pre>
</section>
<section id="substitution-macros">
-<h4><a class="toc-backref" href="#toc-entry-8" role="doc-backlink">Substitution macros</a></h4>
+<h4><a class="toc-backref" href="#toc-entry-9" role="doc-backlink">Substitution macros</a></h4>
<p>Drop diacritics (The argument passing ensures that kerning is preserved)</p>
<pre class="literal-block">\DeclareTextCommand{\LGR&#64;accdropped}{\LastDeclaredEncoding}[1]{#1}</pre>
<p>Keep dialytika: Define a dummy alias so that downcasing with
@@ -1109,9 +1114,13 @@ accent:</p>
We define a dummy macro to enable the conversion of <span class="docutils literal">\prosgegrammeni</span>
to <span class="docutils literal">\ypogegrammeni</span> (subscript iota) but not vice versa:</p>
<pre class="literal-block">\DeclareTextCommand{\LGR&#64;ypogegrammeni}{\LastDeclaredEncoding}{\ypogegrammeni}</pre>
+<p>Prevent downcasing <span class="docutils literal">\textStigma</span> to the stigma variant <span class="docutils literal">\textvarstigma</span>
+(only available in LGR). This happened sometimes with the post-2022/06
+<span class="docutils literal">\MakeLowercase</span>:</p>
+<pre class="literal-block">\DeclareTextCommand{\LGR&#64;Stigma}{\LastDeclaredEncoding}{\textStigma}</pre>
</section>
<section id="mark-hiatus">
-<h4><a class="toc-backref" href="#toc-entry-9" role="doc-backlink">Mark hiatus</a></h4>
+<h4><a class="toc-backref" href="#toc-entry-10" role="doc-backlink">Mark hiatus</a></h4>
<p>Tonos and dasia mark a hiatus if placed on the
first vowel of a diphthong (ΑΙ, ΑΥ, ΕΙ). A dialytika must be placed on the
second vowel if they are dropped (άυλος → ΑΫΛΟΣ, μάινα → ΜΑΪΝΑ, κέικ → ΚΕΪΚ,
@@ -1140,8 +1149,8 @@ that does not skip over spaces.</p>
</section>
</section>
</section>
-<section id="changes">
-<h2><a class="toc-backref" href="#toc-entry-10" role="doc-backlink">Changes</a></h2>
+<section id="changelog">
+<h2><a class="toc-backref" href="#toc-entry-11" role="doc-backlink">Changelog</a></h2>
<table class="borderless">
<tbody>
<tr><td><p>0.9</p></td>
@@ -1180,11 +1189,16 @@ that does not skip over spaces.</p>
<td><p>2023-02-28</p></td>
<td><p>Add missing accent composite commands.</p></td>
</tr>
+<tr><td><p>2.2.1</p></td>
+<td><p>2023-03-08</p></td>
+<td><p><span class="docutils literal">&#64;uclclist</span> entry for <span class="docutils literal">\accoxia</span>, prevent
+downcasing <span class="docutils literal">\textStigma</span> to <span class="docutils literal">\textvarstigma</span>.</p></td>
+</tr>
</tbody>
</table>
</section>
<section id="references">
-<h2><a class="toc-backref" href="#toc-entry-11" role="doc-backlink">References</a></h2>
+<h2><a class="toc-backref" href="#toc-entry-12" 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-3">Haralambous-98</a><span class="fn-bracket">]</span></span>