summaryrefslogtreecommitdiff
path: root/language/greek/greek-fontenc/greek-fontenc.def.html
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2020-09-28 03:04:08 +0000
committerNorbert Preining <norbert@preining.info>2020-09-28 03:04:08 +0000
commit34310603e5253ef5742542e3f0123b341a70ee20 (patch)
tree51076d298e97a9c86619db3ada2af17e81c074d1 /language/greek/greek-fontenc/greek-fontenc.def.html
parentac0ae0fcbd5ee121e6b9134cced71d961e30ed68 (diff)
CTAN sync 202009280304
Diffstat (limited to 'language/greek/greek-fontenc/greek-fontenc.def.html')
-rw-r--r--language/greek/greek-fontenc/greek-fontenc.def.html154
1 files changed, 87 insertions, 67 deletions
diff --git a/language/greek/greek-fontenc/greek-fontenc.def.html b/language/greek/greek-fontenc/greek-fontenc.def.html
index 12bd86f74c..1cc5050126 100644
--- a/language/greek/greek-fontenc/greek-fontenc.def.html
+++ b/language/greek/greek-fontenc/greek-fontenc.def.html
@@ -5,7 +5,7 @@
<meta name="generator" content="Docutils 0.17b.dev: http://docutils.sourceforge.net/" />
<title>greek-fontenc.def</title>
<meta name="dcterms.rights" content="© 2013 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. */
@@ -50,33 +50,31 @@ p.system-message-title {
font-weight: bold;
}
h1 + p.subtitle,
-h1 + p.section-subtitle {
+h2 + p.section-subtitle {
font-size: 1.6em;
}
-h2 + p.section-subtitle { font-size: 1.28em; }
+h3 + 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.sidebar-title {
+ font-size: larger;
+}
p.rubric {
font-size: larger;
+ color: maroon;
}
-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,
+div.system-messages h2,
span.problematic,
p.system-message-title {
color: red;
@@ -213,8 +211,6 @@ object.align-right,
table.align-right {
margin-left: auto;
}
-.figure.align-center, .figure.align-right,
-figure.align-center, figure.align-right,
img.align-center, img.align-right,
object.align-center, object.align-right {
display: block;
@@ -226,18 +222,6 @@ table.align-left, table.align-center, table.align-right {
text-align: inherit;
}
-/* Admonitions and System Messages */
-div.admonition,
-div.system-message,
-aside.sidebar {
- margin: 1em 1.5em;
- border: medium outset;
- padding-top: 0.5em;
- padding-bottom: 0.5em;
- padding-right: 1em;
- padding-left: 1em;
-}
-
/* Sidebar */
aside.sidebar {
width: 30%;
@@ -249,6 +233,8 @@ aside.sidebar {
/* Text Blocks */
blockquote,
div.topic,
+div.admonition,
+div.system-message,
pre.literal-block,
pre.doctest-block,
pre.math,
@@ -322,11 +308,11 @@ body {
div.document,
main {
line-height:1.3;
- counter-reset: table;
- /* counter-reset: figure; */
+ counter-reset: table figure;
/* avoid long lines --> better reading */
+ /* optimum is 45…75 characters/line <http://webtypography.net/2.1.2> */
/* OTOH: lines should not be too short because of missing hyphenation, */
- max-width: 50em;
+ max-width: 50em;
padding: 1px 2%; /* 1px on top avoids grey bar above title (mozilla) */
margin: auto;
background-color: white;
@@ -514,7 +500,35 @@ object.align-right {
margin-left: 1em;
}
/* Stop floating sidebars, images and figures at section level 1,2,3 */
-h1, h2, h3 { clear: both; }
+h1, h2, h3, h4 { clear: both; }
+
+/* Numbered figures */
+figure.numbered > figcaption > p:before {
+ counter-increment: figure;
+ content: "Figure " counter(figure) ": ";
+ font-weight: bold;
+}
+
+
+/* Admonitions and System Messages */
+
+div.admonition,
+div.system-message,
+aside.sidebar {
+ border: medium outset;
+ margin: 1em 1.5em;
+ padding: 0.5em 1em;
+}
+
+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.error {
+ color: red;
+}
+
/* Sidebar */
@@ -606,7 +620,7 @@ 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{greek-fontenc.def}
-[2015/08/04 v0.13.4 Common Greek font encoding definitions]</pre>
+[2020/09/25 1.0 Common Greek font encoding definitions]</pre>
</dd>
</dl>
<div class="abstract topic">
@@ -647,19 +661,23 @@ font encodings providing Greek characters.</p>
<td><p>2019-07-10</p></td>
<td><p><span class="docutils literal">&#64;uclclist</span> entry for <span class="docutils literal">\prosgegrammeni</span>.</p></td>
</tr>
+<tr><td><p>1.0</p></td>
+<td><p>2020/09/25</p></td>
+<td><p><span class="docutils literal">\textKoppa</span> as alias for <span class="docutils literal">\textkoppa</span> in LGR.</p></td>
+</tr>
</tbody>
</table>
</dd>
</dl>
<section id="usage">
-<h1>Usage</h1>
+<h2>Usage</h2>
<p>This file is input by the font encoding definition files <a class="reference external" href="lgrenc.def.html">lgrenc.def</a>. and
<a class="reference external" href="tuenc-greek.def.html">tuenc-greek.def</a>.</p>
</section>
<section id="implementation">
-<h1>Implementation</h1>
+<h2>Implementation</h2>
<section id="ensuregreek-greekscript">
-<h2>ensuregreek, greekscript</h2>
+<h3>ensuregreek, greekscript</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
@@ -676,13 +694,14 @@ the Greek script, if required. The following definition announces the
<pre class="literal-block">\ProvideTextCommand{\greekscript}{\LastDeclaredEncoding}{}</pre>
</section>
<section id="aliases">
-<h2>Aliases</h2>
+<h3>Aliases</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>Compatibility aliases for <a class="reference external" href="http://www.ctan.org/pkg/hyperref">hyperref</a>’s puenc.def:</p>
-<pre class="literal-block">\DeclareTextCommand{\textstigmagreek}{\LastDeclaredEncoding}{\textstigma}
-\DeclareTextCommand{\textkoppagreek}{\LastDeclaredEncoding}{\textkoppa}
+<p>Compatibility aliases for <a class="reference external" href="http://ctan.org/pkg/hyperref">hyperref</a>’s puenc.def:</p>
+<pre class="literal-block">\DeclareTextCommand{\textkoppagreek}{\LastDeclaredEncoding}{\textkoppa}
+\DeclareTextCommand{\textKoppagreek}{\LastDeclaredEncoding}{\textKoppa}
\DeclareTextCommand{\textStigmagreek}{\LastDeclaredEncoding}{\textStigma}
+\DeclareTextCommand{\textstigmagreek}{\LastDeclaredEncoding}{\textstigma}
\DeclareTextCommand{\textSampigreek}{\LastDeclaredEncoding}{\textSampi}
\DeclareTextCommand{\textsampigreek}{\LastDeclaredEncoding}{\textsampi}
\DeclareTextCommand{\textdigammagreek}{\LastDeclaredEncoding}{\textdigamma}
@@ -690,7 +709,7 @@ without the need for additional <a class="reference internal" href="#uclclist">u
\DeclareTextCommand{\textnumeralsigngreek}{\LastDeclaredEncoding}{\textdexiakeraia}
\DeclareTextCommand{\textnumeralsignlowergreek}{\LastDeclaredEncoding}{\textaristerikeraia}</pre>
-<p>Names from <a class="reference external" href="http://www.ctan.org/pkg/babel">babel</a> and <a class="reference external" href="http://www.ctan.org/pkg/teubner">teubner</a> (do we want to define them here as alias?)</p>
+<p>Names from <a class="reference external" href="http://ctan.org/pkg/babel">babel</a> and <a class="reference external" href="http://ctan.org/pkg/teubner">teubner</a> (do we want to define them here as alias?)</p>
<pre class="code latex literal-block"><code><span class="keyword">\DeclareTextCommand</span><span class="name builtin">{</span><span class="keyword">\anwtonos</span><span class="name builtin">}{</span><span class="keyword">\LastDeclaredEncoding</span><span class="name builtin">}{</span><span class="keyword">\textdexiakeraia</span><span class="name builtin">}</span> <span class="comment">% ʹ
</span><span class="keyword">\DeclareTextCommand</span><span class="name builtin">{</span><span class="keyword">\katwtonos</span><span class="name builtin">}{</span><span class="keyword">\LastDeclaredEncoding</span><span class="name builtin">}{</span><span class="keyword">\textaristerikeraia</span><span class="name builtin">}</span> <span class="comment">% ͵</span></code></pre>
<p>Two Unicode code points and names for one character:</p>
@@ -715,7 +734,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">
-<h2>Composite diacritics</h2>
+<h3>Composite diacritics</h3>
<p>Composite accents can be input as sequence of simple diacritics (in
arbitrary order) via named macro, symbol macro and “transcription
characters”, e.g. one of</p>
@@ -817,14 +836,14 @@ composite definitions starting with standard macros are requried:</p>
\DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\~}{\accdasiaperispomeni}</pre>
</section>
<section id="uppercase">
-<span id="uclclist"></span><h2>UPPERCASE</h2>
+<span id="uclclist"></span><h3>UPPERCASE</h3>
<p>If UPPERCASE (all-caps) is generated with <span class="docutils literal">\MakeUppercase</span>, macro
substitutions in the <span class="docutils literal">\&#64;uclclist</span> apply. This can be used to drop the
diacritics (except dialytika and <a class="reference external" href="https://en.wikipedia.org/wiki/Iota_subscript">iota subscript</a>). Different conventions
exist for the <a class="reference external" href="https://opoudjis.net/unicode/unicode_adscript.html">treatment of the iota subscript with uppercase letters</a>. In
the CB Fonts, a small capital adscript iota is used.</p>
<section id="uclclist-extension">
-<h3>&#64;uclclist extension</h3>
+<h4>&#64;uclclist extension</h4>
<p>Based on the <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-restting macro makes this idempotent
(only the first use of this function will expand the <span class="docutils literal">&#64;uclclist</span>).
@@ -847,32 +866,33 @@ The second and third lines are TeX’ way of writing <span class="docutils liter
\accdialytikaperispomeni\LGR&#64;accDialytika
\accperispomeni\LGR&#64;accdropped
\LGR&#64;ypogegrammeni\prosgegrammeni
- \textalpha \textAlpha
- \textbeta \textBeta
- \textgamma \textGamma
- \textdelta \textDelta
- \textepsilon\textEpsilon
- \textzeta \textZeta
- \texteta \textEta
- \texttheta \textTheta
- \textiota \textIota
- \textkappa \textKappa
- \textlambda \textLambda
- \textmu \textMu
- \textnu \textNu
- \textxi \textXi
- \textomicron\textOmicron
- \textpi \textPi
- \textrho \textRho
+ \textalpha \textAlpha
+ \textbeta \textBeta
+ \textgamma \textGamma
+ \textdelta \textDelta
+ \textepsilon \textEpsilon
+ \textzeta \textZeta
+ \texteta \textEta
+ \texttheta \textTheta
+ \textiota \textIota
+ \textkappa \textKappa
+ \textlambda \textLambda
+ \textmu \textMu
+ \textnu \textNu
+ \textxi \textXi
+ \textomicron \textOmicron
+ \textpi \textPi
+ \textrho \textRho
\textvarsigma \textSigma
\textsigma \textSigma
\textautosigma \textSigma
- \texttau \textTau
- \textupsilon\textUpsilon
- \textphi \textPhi
- \textchi \textChi
- \textpsi \textPsi
- \textomega \textOmega
+ \texttau \textTau
+ \textupsilon \textUpsilon
+ \textphi \textPhi
+ \textchi \textChi
+ \textpsi \textPsi
+ \textomega \textOmega
+ \textkoppa \textKoppa
\textqoppa \textQoppa
\textvarstigma \textStigma
\textstigma \textStigma
@@ -885,7 +905,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">
-<h3>Substitution macros</h3>
+<h4>Substitution macros</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
@@ -898,7 +918,7 @@ accent:</p>
<pre class="literal-block">\DeclareTextCommand{\LGR&#64;ypogegrammeni}{\LastDeclaredEncoding}{\ypogegrammeni}</pre>
</section>
<section id="mark-hiatus">
-<h3>Mark hiatus</h3>
+<h4>Mark hiatus</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 (άυλος → ΑΫΛΟΣ, μάινα → ΜΑΪΝΑ, κέικ → ΚΕΪΚ,