diff options
author | Karl Berry <karl@freefriends.org> | 2019-07-11 21:03:30 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2019-07-11 21:03:30 +0000 |
commit | 2fdd3758be5b24d0e74ee0ef3002f7bf4d311208 (patch) | |
tree | dbdd73b84554597b5b25499f924f950f8cbf26d2 | |
parent | 784231acc80e8b65f8172d658192bf35e2061fed (diff) |
greek-fontenc (11jul19)
git-svn-id: svn://tug.org/texlive/trunk@51616 c570f23f-e606-0410-a88d-b1316a301751
13 files changed, 195 insertions, 150 deletions
diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/README b/Master/texmf-dist/doc/latex/greek-fontenc/README index 9248c3204d1..871860a2f54 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/README +++ b/Master/texmf-dist/doc/latex/greek-fontenc/README @@ -64,8 +64,9 @@ Changelog 0.13.1 2015-12-07 Fix `rho with dasia bug`__ in lgrenc.def (Linus Romer). 0.13.2 2016-02-05 Support for standard Unicode text font encoding "TU" (new in fontspec v2.5a). -0.13.3 2019-07-10 Documentation update. -.. Drop error font declaration (cf. `ltxbugs 4399`_). +0.13.3 2019-07-10 Drop error font declaration (cf. `ltxbugs 4399`_). +0.13.4 2019-07-11 ``@uclclist`` entry for ``\prosgegrammeni``. +.. Documentation update. ====== =========== ========================================================== __ http://tex.stackexchange.com/questions/281631/greek-small-rho-with-dasia-and-also-psili-problem-with-accent-and-lgr-encodin @@ -504,7 +505,7 @@ as-is). http://mirror.ctan.org/macros/latex/doc/encguide.pdf .. [greek-usage] Apostolos Syropoulos, `Writing Greek with the greek option of the babel package`, 1997. - http://www.tug.org/texlive/Contents/live/texmf-dist/doc/generic/babel/greek-usage.pdf + http://mirrors.ctan.org/language/babel/contrib/greek/usage.pdf .. [cbfonts] Claudio Beccari, `The CB Greek fonts`, Εὔτυπον, τεῦχος № 21, 2008. http://www.eutypon.gr/eutypon/pdf/e2008-21/e21-a01.pdf .. [teubner-doc] Claudio Beccari, ``teubner.sty`` diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/README.html b/Master/texmf-dist/doc/latex/greek-fontenc/README.html index 288731b31bc..6f16d43aa67 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/README.html +++ b/Master/texmf-dist/doc/latex/greek-fontenc/README.html @@ -715,12 +715,16 @@ with <span class="docutils literal">\MakeUppercase</span>.</p></td> </tr> <tr><td><p>0.13.3</p></td> <td><p>2019-07-10</p></td> -<td><p>Documentation update.</p></td> +<td><p>Drop error font declaration (cf. <a class="reference external" href="https://www.latex-project.org/cgi-bin/ltxbugs2html?pr=latex%2F4399&search=">ltxbugs 4399</a>).</p></td> +</tr> +<tr><td><p>0.13.4</p></td> +<td><p>2019-07-11</p></td> +<td><p><span class="docutils literal">@uclclist</span> entry for <span class="docutils literal">\prosgegrammeni</span>.</p></td> </tr> <tr><td><!-- --> </td> <td></td> -<td><p>Drop error font declaration (cf. <a class="reference external" href="https://www.latex-project.org/cgi-bin/ltxbugs2html?pr=latex%2F4399&search=">ltxbugs 4399</a>).</p></td> +<td><p>Documentation update.</p></td> </tr> </tbody> </table> @@ -1106,7 +1110,7 @@ LaTeX3 Project Team, <cite>LaTeX font encodings</cite>, 2006. <dt class="label" id="greek-usage"><span class="brackets"><a class="fn-backref" href="#id13">greek-usage</a></span></dt> <dd><p>Apostolos Syropoulos, <cite>Writing Greek with the greek option of the babel package</cite>, 1997. -<a class="reference external" href="http://www.tug.org/texlive/Contents/live/texmf-dist/doc/generic/babel/greek-usage.pdf">http://www.tug.org/texlive/Contents/live/texmf-dist/doc/generic/babel/greek-usage.pdf</a></p> +<a class="reference external" href="http://mirrors.ctan.org/language/babel/contrib/greek/usage.pdf">http://mirrors.ctan.org/language/babel/contrib/greek/usage.pdf</a></p> </dd> <dt class="label" id="cbfonts"><span class="brackets"><a class="fn-backref" href="#id15">cbfonts</a></span></dt> <dd><p>Claudio Beccari, <cite>The CB Greek fonts</cite>, Εὔτυπον, τεῦχος № 21, 2008. diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/alphabeta-doc.pdf b/Master/texmf-dist/doc/latex/greek-fontenc/alphabeta-doc.pdf Binary files differindex d4dba0b7b5d..18c962f96f3 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/alphabeta-doc.pdf +++ b/Master/texmf-dist/doc/latex/greek-fontenc/alphabeta-doc.pdf diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/diacritics.pdf b/Master/texmf-dist/doc/latex/greek-fontenc/diacritics.pdf Binary files differindex 0229ff272cf..e49d902ef73 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/diacritics.pdf +++ b/Master/texmf-dist/doc/latex/greek-fontenc/diacritics.pdf diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/greek-euenc-doc.pdf b/Master/texmf-dist/doc/latex/greek-fontenc/greek-euenc-doc.pdf Binary files differindex b435c29e57b..4f43326dab5 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/greek-euenc-doc.pdf +++ b/Master/texmf-dist/doc/latex/greek-fontenc/greek-euenc-doc.pdf diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/greek-fontenc.def.html b/Master/texmf-dist/doc/latex/greek-fontenc/greek-fontenc.def.html index 68f51265dcf..a376e4fb864 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/greek-fontenc.def.html +++ b/Master/texmf-dist/doc/latex/greek-fontenc/greek-fontenc.def.html @@ -1,15 +1,17 @@ <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> -<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> -<meta name="generator" content="Docutils 0.13: http://docutils.sourceforge.net/" /> +<meta charset="utf-8"/> +<meta name="generator" content="Docutils 0.15b.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/"> <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: minimal.css 7893 2015-05-11 15:38:58Z milde $ */ +/* :Id: $Id$ */ /* :Copyright: © 2015 Günter Milde. */ /* :License: Released under the terms of the `2-Clause BSD license`_, */ /* in short: */ @@ -28,10 +30,13 @@ /* .. _CSS2.1: http://www.w3.org/TR/CSS2 */ /* .. _validates: http://jigsaw.w3.org/css-validator/validator$link */ -/* Figure/table alignment */ -.align-left { text-align: left; } -.align-right { text-align: right; } -.align-center { clear: both; text-align: center;} +/* 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 { @@ -99,9 +104,10 @@ dl.simple > dd, dl.compact > dd { /* Table of Contents */ div.topic.contents { margin: 0; } -ul.auto-toc { +div.topic.contents ul { list-style-type: none; - padding-left: 1.5em; } + padding-left: 1.5em; +} /* Enumerated Lists */ ol.arabic { list-style: decimal } @@ -161,8 +167,19 @@ 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; } -dt.label > span.fn-backref { margin: 0.2em; } +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 */ @@ -173,28 +190,34 @@ div.line-block div.line-block { margin-left: 40px; } -/* Images and Figures */ -img.align-left, +/* Figures, Images, and Tables */ .figure.align-left, -object.align-left { - display: block; +img.align-left, +object.align-left, +table.align-left { margin-right: auto; } -img.align-center, .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; } -img.align-right, .figure.align-right, -object.align-right { - display: block; +img.align-right, +object.align-right, +table.align-right { margin-left: auto; } -/* reset inner alignment in figures */ -div.align-right { text-align: inherit } +/* 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, @@ -215,13 +238,14 @@ div.sidebar { } /* Text Blocks */ +blockquote, div.topic, pre.literal-block, pre.doctest-block, pre.math, pre.code { - margin-right: 40px; - margin-left: 40px; + margin-left: 1.5em; + margin-right: 1.5em } pre.code .ln { color: gray; } /* line numbers */ @@ -254,7 +278,7 @@ table.borderless td, table.borderless th { /* Rules for easy reading and pre-defined style variants. */ /* */ /* :Author: Günter Milde, based on html4css1.css by David Goodger */ -/* :Id: $Id: plain.css 7893 2015-05-11 15:38:58Z milde $ */ +/* :Id: $Id$ */ /* :Copyright: © 2015 Günter Milde. */ /* :License: Released under the terms of the `2-Clause BSD license`_, */ /* in short: */ @@ -274,8 +298,8 @@ table.borderless td, table.borderless th { /* "page layout" */ body { - padding: 0 5%; - margin: 8px 0; + margin: 0; + background-color: #dbdbdb; } div.document { line-height:1.3; @@ -284,7 +308,9 @@ div.document { /* 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 */ @@ -318,9 +344,9 @@ dl > dd { /* Definition Lists */ -dl > dd p:first-child { margin-top: 0; } +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; } */ +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) */ @@ -376,19 +402,9 @@ span.fn-backref { /* ============ */ /* Literal Blocks */ -pre.literal-block, pre.doctest-block, -pre.math, pre.code { - margin-left: 1.5em; - margin-right: 1.5em -} /* Block Quotes */ -blockquote, -div.topic { - margin-left: 1.5em; - margin-right: 1.5em -} blockquote > table, div.topic > table { margin-top: 0; @@ -405,6 +421,8 @@ div.topic p.attribution { /* th { vertical-align: bottom; } */ +table tr { text-align: left; } + /* "booktabs" style (no vertical lines) */ table.booktabs { border: 0; @@ -417,7 +435,6 @@ table.booktabs * { } table.booktabs th { border-bottom: thin solid; - text-align: left; } /* numbered tables (counter defined in div.document) */ @@ -447,16 +464,20 @@ dl.footnote { /* ~~~~~~~~~~~~~ */ /* Images and Figures */ -img.align-left, + +/* 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 } -img.align-right, .figure.align-right, +img.align-right, object.align-right { + display: block; clear: right; float: right; margin-left: 1em @@ -478,6 +499,7 @@ div.sidebar { /* 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 */ @@ -539,7 +561,6 @@ a { text-decoration: none; } <body> <div class="document" id="greek-fontenc-def"> <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="copyright">Copyright</dt> @@ -551,7 +572,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 Common Greek font encoding definitions]</pre> +[2015/08/04 v0.13.4 Common Greek font encoding definitions]</pre> </dd> </dl> <div class="abstract topic"> @@ -563,9 +584,9 @@ font encodings providing Greek characters.</p> <dt>Changelog:</dt> <dd><table class="borderless"> <colgroup> -<col style="width: 7%" /> +<col style="width: 8%" /> <col style="width: 16%" /> -<col style="width: 77%" /> +<col style="width: 76%" /> </colgroup> <tbody> <tr><td><p>0.9</p></td> @@ -585,9 +606,13 @@ font encodings providing Greek characters.</p> <td><p>Remove symbol macros for breathing accents.</p></td> </tr> <tr><td><p>0.13</p></td> -<td><p>2015/08/04</p></td> +<td><p>2015-08-04</p></td> <td><p>No @uclclist entry for ypogegrammeni/prosgegrammeni.</p></td> </tr> +<tr><td><p>0.13.4</p></td> +<td><p>2019-07-10</p></td> +<td><p><span class="docutils literal">@uclclist</span> entry for <span class="docutils literal">\prosgegrammeni</span>.</p></td> +</tr> </tbody> </table> </dd> @@ -761,9 +786,9 @@ composite definitions starting with standard macros are requried:</p> <span id="uclclist"></span><h2>UPPERCASE</h2> <p>If UPPERCASE (all-caps) is generated with <span class="docutils literal">\MakeUppercase</span>, macro substitutions in the <span class="docutils literal">\@uclclist</span> apply. This can be used to drop the -diacritics (except dialytika and sub-iota). Different conventions exist for -the <a class="reference external" href="http://www.tlg.uci.edu/~opoudjis/unicode/unicode_adscript.html">treatment of sub-iota with uppercase letters</a>. In the CB Fonts, an -“index” iota is used.</p> +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> <div class="section" id="uclclist-extension"> <h3>@uclclist extension</h3> <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> @@ -787,7 +812,7 @@ The second and third lines are TeX’ way of writing <span class="docutils liter \accdialytikavaria\LGR@accDialytika \accdialytikaperispomeni\LGR@accDialytika \accperispomeni\LGR@accdropped - % \ypogegrammeni\prosgegrammeni + \LGR@ypogegrammeni\prosgegrammeni \textalpha \textAlpha \textbeta \textBeta \textgamma \textGamma @@ -834,6 +859,9 @@ The second and third lines are TeX’ way of writing <span class="docutils liter accent:</p> <pre class="literal-block">\DeclareTextCommand{\LGR@accDialytika}{\LastDeclaredEncoding}{\accdialytika} \DeclareTextCompositeCommand{\accdialytika}{\LastDeclaredEncoding}{\LGR@hiatus}{\accdialytika}</pre> +<p>Convert <span class="docutils literal">\prosgegrammeni</span> (adscript iota) to <span class="docutils literal">\ypogegrammeni</span> +(subscript iota) but not vice versa:</p> +<pre class="literal-block">\DeclareTextCommand{\LGR@ypogegrammeni}{\LastDeclaredEncoding}{\ypogegrammeni}</pre> </div> <div class="section" id="mark-hiatus"> <h3>Mark hiatus</h3> diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/greekhyperref.pdf b/Master/texmf-dist/doc/latex/greek-fontenc/greekhyperref.pdf Binary files differindex 44c0c98d43e..7b7ff164187 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/greekhyperref.pdf +++ b/Master/texmf-dist/doc/latex/greek-fontenc/greekhyperref.pdf diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/lgrenc-test.pdf b/Master/texmf-dist/doc/latex/greek-fontenc/lgrenc-test.pdf Binary files differindex 28dc75cc24b..1fa03ceb4e1 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/lgrenc-test.pdf +++ b/Master/texmf-dist/doc/latex/greek-fontenc/lgrenc-test.pdf diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/test-active-semicolon.pdf b/Master/texmf-dist/doc/latex/greek-fontenc/test-active-semicolon.pdf Binary files differindex 8d35f90ef98..2581d974e18 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/test-active-semicolon.pdf +++ b/Master/texmf-dist/doc/latex/greek-fontenc/test-active-semicolon.pdf diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/textalpha-doc.pdf b/Master/texmf-dist/doc/latex/greek-fontenc/textalpha-doc.pdf Binary files differindex 04ce9b39b78..4f935bd555b 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/textalpha-doc.pdf +++ b/Master/texmf-dist/doc/latex/greek-fontenc/textalpha-doc.pdf diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/textalpha.sty.html b/Master/texmf-dist/doc/latex/greek-fontenc/textalpha.sty.html index 39094e33156..514a7c82dbd 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/textalpha.sty.html +++ b/Master/texmf-dist/doc/latex/greek-fontenc/textalpha.sty.html @@ -573,7 +573,7 @@ version 1.3 of this license or any later version.</p> <dt class="identification">Identification</dt> <dd class="identification"><pre class="literal-block">\NeedsTeXFormat{LaTeX2e} \ProvidesPackage{textalpha} -[2016/02/05 v0.13.2 macros for Greek letters in text]</pre> +[2019/07/11 v0.13.4 macros for Greek letters in text]</pre> </dd> </dl> <div class="abstract topic"> @@ -638,6 +638,10 @@ in LGR.</p></td> <td><p>Support for standard Unicode text font encoding “TU” (new in fontspec v2.5a).</p></td> </tr> +<tr><td><p>0.13.4</p></td> +<td><p>2019-07-11</p></td> +<td><p>Auxiliary command for subscript iota.</p></td> +</tr> </tbody> </table> </dd> @@ -1051,10 +1055,11 @@ The variations have no syntactic meaning in Greek text.</p> </div> <div class="section" id="auxiliary-macros"> <h3><a class="toc-backref" href="#id15">Auxiliary macros</a></h3> -<p><span class="docutils literal">\MakeUppercase</span> requires three internal commands:</p> +<p><span class="docutils literal">\MakeUppercase</span> requires four internal commands:</p> <pre class="literal-block">\DeclareTextAccentDefault{\LGR@accdropped}{LGR} \DeclareTextAccentDefault{\LGR@accDialytika}{LGR} -\DeclareTextAccentDefault{\LGR@hiatus}{LGR}</pre> +\DeclareTextAccentDefault{\LGR@hiatus}{LGR} +\DeclareTextSymbolDefault{\LGR@ypogegrammeni}{LGR}</pre> </div> <div class="section" id="semicolon-as-erotimatiko"> <h3><a class="toc-backref" href="#id16">semicolon as erotimatiko</a></h3> diff --git a/Master/texmf-dist/tex/latex/greek-fontenc/greek-fontenc.def b/Master/texmf-dist/tex/latex/greek-fontenc/greek-fontenc.def index 14c4a449fdf..5b8d8013091 100644 --- a/Master/texmf-dist/tex/latex/greek-fontenc/greek-fontenc.def +++ b/Master/texmf-dist/tex/latex/greek-fontenc/greek-fontenc.def @@ -12,7 +12,7 @@ % :: \ProvidesFile{greek-fontenc.def} -[2015/08/04 v0.13 Common Greek font encoding definitions] +[2015/08/04 v0.13.4 Common Greek font encoding definitions] % :Abstract: This file provides definitions that are shared between % font encodings providing Greek characters. @@ -20,13 +20,14 @@ % Changelog: % .. class:: borderless % -% ===== ============ ======================================================== -% 0.9 2013-07-03 code "outsourced" from lgrxenc.def -% 0.9.1 2013-07-17 composite definitions starting with standard accent cmds -% 0.11 2013-11-28 ``\greekscript`` TextCommand -% 0.12 2014-12-12 Remove symbol macros for breathing accents. -% 0.13 2015/08/04 No @uclclist entry for ypogegrammeni/prosgegrammeni. -% ===== ============ ======================================================== +% ====== ============ ========================================================= +% 0.9 2013-07-03 code "outsourced" from lgrxenc.def +% 0.9.1 2013-07-17 composite definitions starting with standard accent cmds +% 0.11 2013-11-28 ``\greekscript`` TextCommand +% 0.12 2014-12-12 Remove symbol macros for breathing accents. +% 0.13 2015-08-04 No @uclclist entry for ypogegrammeni/prosgegrammeni. +% 0.13.4 2019-07-10 ``@uclclist`` entry for ``\prosgegrammeni``. +% ====== ============ ========================================================= % % Usage % ----- @@ -234,12 +235,12 @@ % % If UPPERCASE (all-caps) is generated with ``\MakeUppercase``, macro % substitutions in the ``\@uclclist`` apply. This can be used to drop the -% diacritics (except dialytika and sub-iota). Different conventions exist for -% the `treatment of sub-iota with uppercase letters`__. In the CB Fonts, an -% "index" iota is used. -% -% __ http://www.tlg.uci.edu/~opoudjis/unicode/unicode_adscript.html +% diacritics (except dialytika and `iota subscript`__). Different conventions +% exist for the `treatment of the iota subscript with uppercase letters`__. In +% the CB Fonts, a small capital adscript iota is used. % +% __ https://en.wikipedia.org/wiki/Iota_subscript +% __ https://opoudjis.net/unicode/unicode_adscript.html % % @uclclist extension % """"""""""""""""""" @@ -267,7 +268,7 @@ \accdialytikavaria\LGR@accDialytika \accdialytikaperispomeni\LGR@accDialytika \accperispomeni\LGR@accdropped - % \ypogegrammeni\prosgegrammeni + \LGR@ypogegrammeni\prosgegrammeni \textalpha \textAlpha \textbeta \textBeta \textgamma \textGamma @@ -323,6 +324,10 @@ \DeclareTextCommand{\LGR@accDialytika}{\LastDeclaredEncoding}{\accdialytika} \DeclareTextCompositeCommand{\accdialytika}{\LastDeclaredEncoding}{\LGR@hiatus}{\accdialytika} +% Convert ``\prosgegrammeni`` (adscript iota) to ``\ypogegrammeni`` +% (subscript iota) but not vice versa:: + +\DeclareTextCommand{\LGR@ypogegrammeni}{\LastDeclaredEncoding}{\ypogegrammeni} % Mark hiatus diff --git a/Master/texmf-dist/tex/latex/greek-fontenc/textalpha.sty b/Master/texmf-dist/tex/latex/greek-fontenc/textalpha.sty index 439e6c43dda..dda4d29ca1c 100644 --- a/Master/texmf-dist/tex/latex/greek-fontenc/textalpha.sty +++ b/Master/texmf-dist/tex/latex/greek-fontenc/textalpha.sty @@ -2,31 +2,31 @@ % +++++++++++++ % Greek symbols in text % ********************* -% +% % :Copyright: © 2010 Günter Milde % :Licence: This work may be distributed and/or modified under the % conditions of the `LaTeX Project Public License`_, either % version 1.3 of this license or any later version. -% +% % :Abstract: Provide a set of ``\text*`` macros for Greek characters % in text mode. -% +% % :Identification: % :: \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{textalpha} -[2016/02/05 v0.13.2 macros for Greek letters in text] +[2019/07/11 v0.13.4 macros for Greek letters in text] % .. note:: -% +% % The package was renamed from `textgreek` to `textalpha` to prevent % confusion with the textgreek_ package by Leonard Michlmayr. -% -% +% +% % Changelog: % .. class:: borderless -% +% % ====== ========== ========================================================= % 0.1 2010-06-16 initial version % 0.2 2012-06-27 support for compound Unicode definitions outside LGR @@ -42,119 +42,120 @@ % in LGR. % 0.13.2 2016-02-05 Support for standard Unicode text font encoding "TU" % (new in fontspec v2.5a). +% 0.13.4 2019-07-11 Auxiliary command for subscript iota. % ====== ========== ========================================================= -% +% % .. contents:: -% +% % Motivation % ========== -% +% % By default, TeX macros for Greek letters are only valid in mathematical % mode. This package sets up a suitable `font encoding`_ and `LaTeX internal % character representations` (LICR) definitions for Greek (``\textalpha`` -- % ``\textOmega``). -% +% % To allow documents using Greek LICR macros without worrying about the TeX % engine used to compile them, this package tests the declared font encodings % and does "the right thing" to set up Greek text font support: -% +% % * If the Unicode font encodings EU1 (XeTeX) or EU2 (LuaTeX) are declared, % before loading this package (e.g. via ``fontspec``) the package provides % Greek LICR definitions for them. -% +% % * Otherwise, the `LGR font encoding`_ is set as `default font encoding` % (cf. fntguide_ section 5.3) for Greek. -% +% % Advantages: -% +% % * Symbols from a Greek text font (e.g. the `CB fonts`_) can be accessed % without the need for an explicite font-encoding switch anywhere in the % text. -% +% % * Unicode input of Greek characters is supported -% +% % + via ``\usepackage[utf8]{inputenc}`` and ``lgrenc.dfu`` from % greek-inputenc_ for 8-bit TeX or XeTeX/LuaTeX in 8-bit compatibility % mode in any font encoding (see textalpha-doc.tex_). -% +% % + natively by XeTeX/LuaTeX for Unicode fonts. As inputenc_ does not work % with these engines, text input can be done via the Latin transcription % or LICR but *not via literal Unicode characters* for 8-bit font encodings % like LGR (see greek-euenc-doc.tex_). -% +% % .. Attention:: The macros work well in any font encoding for single symbols. % However, with 8-bit TeX engines, the automatic font-encoding switches % behind the doors interfere with kerning between letters and replacement % of accent+character with a pre-composed character. -% +% % Therefore, Greek text should be written with the help of babel_ or % polyglossia_ (setting the language to ``greek``) or wrapped in the % provided ``ensuregreek`` macro. Using babel_ or polyglossia_ also helps % to ensure correct hyphenation of Greek text. -% -% +% +% % Usage % ===== -% +% % Ensure support for Greek characters in text mode with -% +% % .. code:: latex -% +% % \usepackage{textalpha} -% +% % eventually with the options_ to normalize symbols variants -% +% % .. code:: latex -% +% % \usepackage[normalize-symbols]{textalpha} -% +% % and/or to use the semicolon as erotimatiko_ also in 8-bit TeX -% +% % .. code:: latex -% +% % \usepackage[normalize-symbols,keep-semicolon]{textalpha} -% -% +% +% % To give ``textalpha.sty`` a chance of finding out which `font encodings`_ % are used, load it after fontspec_ and/or fontenc_. -% -% -% +% +% +% % For detailled examples see `<textalpha-doc.tex>`_ and `<textalpha-doc.pdf>`_ % (8-bit TeX and XeTeX/LuaTeX in 8-bit compatibility mode) as well as % `<greek-euenc-doc.tex>`_ and `<greek-euenc-doc.pdf>`_ (XeTeX/LuaTeX with % Unicode fonts). -% +% % With XeTeX or LuaTex, Unicode fonts and LGR encoded 8-bit fonts can be used % in the same document (see greek-euenc-doc.tex_). -% -% +% +% % Implementation % ============== -% +% % Options % ------- -% +% % normalize-symbols % """"""""""""""""" -% +% % The "variant shape" symbol characters like ``03D1 GREEK THETA SYMBOL`` are % mathematical charcters for mathematical use % (similar to ``1D440 MATHEMATICAL ITALIC CAPITAL M``). % Unfortunately, some Greek texts sources in Unicode encoding mix letter and % symbol characters . -% +% % The "normalize-symbols" option controls the handling of `variant shape % symbols`_ under 8-bit TeX: -% +% % * The option activates a simple "folding" mechanism that merges ϰ and κ to % \textkappa etc. for text copied from external sources which may use the % GREEK SYMBOL characters in place of GREEK LETTERS, -% +% % * Without this option, variant shape symbols in the input are reported as % errors to prevent information loss in cases where the distinction between % ϰ and κ is intended (e.g. in mathematical or scientific context). -% +% % With XeTeX/LuaTeX and Unicode fonts, this option is ignored. % :: @@ -163,16 +164,16 @@ % keep-semicolon % """""""""""""" -% +% % The erotimatiko_ looks like a semicolon but is a % **Greek question mark**: -% +% % * The `LGR font encoding`_ uses the Latin question mark as input for the % `erotimatiko` and maps the semicolon to a middle dot (`ano teleia`). % * The Unicode standard provides the code point ``037E GREEK QUESTION MARK`` % but says: "character ``003B SEMICOLON`` (and not 037E) is the preferred % character for Greek question mark". -% +% % The ``keep-semicolon`` option allows to use the `semicolon as erotimatiko`_ % in both, Xe/LuaTeX and 8-bit TeX. (The `ano teleia` can be input as % ``\textanoteleia`` or using character ``00B7 MIDDLE DOT``.) @@ -185,14 +186,14 @@ \ProcessOptions\relax % .. _font encoding: -% +% % Font encodings % -------------- -% +% % With 8-bit LaTeX, the `LGR font encoding`_ is used for Greek characters. If % no Greek-supporting font encoding (TU, EU1, EU2, or LGR) is declared, LGR is % loaded and set up as default Greek font encoding by this package. -% +% % With XeTeX or LuaTeX, there is one common input and font encoding -- % Unicode. 8-bit TeX font encodings are only used in compatibility mode or for % fonts not available otherwise. For compatibility with the LaTeX font @@ -202,17 +203,17 @@ % load Greek LICR definitions for XeTeX/LuaTeX from `greek-euenc.def % <greek-euenc.def.html>`_ which in turn includes `greek-fontenc.def % <greek-fontenc.def.html>`_. -% +% % .. _LGR font encoding: README.html#lgr -% +% % Ensure a Greek-supporting font encoding exists and supports Greek LICR % macros: -% +% % * Load the Greek LICR definitions for Unicode if the font encoding TU, EU1 % (XeTeX) or EU2 (LuaTeX) is detected. % * Re-set ``\LastDeclaredEncoding`` (used in some included font-encoding files). % * If none of TU, EU1, EU2, or LGR is declared, load ``lgrenc.def``. -% +% % :: \@ifl@aded{def}{tuenc}{ @@ -249,11 +250,11 @@ % Symbol macros for breathings % ---------------------------- -% +% % In the Latin transcription provided by LGR, breathing accents (Dasia and % Psili) are input as < and >. We provide the corresponding NFSS macro accents % (moved here from `greek-fontenc.def`_). -% +% % As Xe/LuaTeX may use LGR in combination with EU1 or EU2, we define the % macros twice, for LGR and Unicode font encodings (if they are defined):: @@ -288,7 +289,7 @@ % Default declarations % -------------------- -% +% % The following definitions ensure that the Greek LICR macros can be used % anywhere in the document also with 8-bit TeX by declaring LGR as their % default font encoding. Abort here, if the LGR font encoding is not defined:: @@ -301,13 +302,13 @@ % greekscript, ensuregreek % """""""""""""""""""""""" -% +% % The ``\greekscript`` declaration ensures the current font encoding supports % the Greek script. ``greek-fontenc.def`` sets this to the empty declaration % for font encodings that do so. This is currently used by ``lgrenc.def`` % (LGR) and ``greek-euenc.def`` (Greek LICR macros for EU1 and EU2). -% -% +% +% % We define LGR as default encoding for Greek text. We use % ``\ProvideTextCommandDefault`` to enable the author or other packages to use % an alternative definition (see [fntguide_]):: @@ -320,26 +321,26 @@ \ProvideTextCommandDefault{\ensuregreek}[1]{\leavevmode{\greekscript #1}} % .. The [fntguide_] writes -% +% % Note that ``\DeclareTextAccentDefault`` can be used on any % one-argument encoding-specific command, not just those defined with % ``\DeclareTextAccent``. -% +% % However, the simpler alternative % ``\DeclareTextAccentDefault{\ensuregreek}{LGR}`` fails with the table of % Unicode characters in the test document `<textalpha-doc.tex>`__: -% +% % ``! You can't use a prefix with `end-group character }'.`` -% +% % Eventually, all font encodings supporting Greek script (e.g. LGI, PU, TU, % EU1, EU2) will declare ``\ensuregreek`` as text command that passes the % argument unchanged. This way, kerning and selection of precomposed glyphs % would work also for cases like ``\ensuregreek{\'A}U``. -% -% +% +% % Greek Alphabet % """""""""""""" -% +% % Define the ``text*`` marcos as default for all font encodings:: \DeclareTextSymbolDefault{\textAlpha}{LGR} @@ -397,9 +398,9 @@ % Additional Greek symbols % """""""""""""""""""""""" -% +% % Including alias names for compatibility with hyperref's puenc.def. -% +% % Ancient Greek Numbers (Athenian Numerals):: \DeclareTextSymbolDefault{\textpentedeka}{LGR} % GREEK ACROPHONIC ATTIC FIFTY @@ -436,7 +437,7 @@ % variant shape symbols % ''''''''''''''''''''' -% +% % Mathematical notation uses variant shapes of some Greek letters as % additional symbols. There are separate code points for the symbol variants % in Unicode but not in the LGR font encoding used for Greek in 8-bit TeX. @@ -467,7 +468,7 @@ % Diacritics % """""""""" -% +% % Greek diacritics via "named" macros:: \DeclareTextAccentDefault{\accdasia}{LGR} @@ -506,17 +507,18 @@ % Auxiliary macros % """""""""""""""" -% -% ``\MakeUppercase`` requires three internal commands:: +% +% ``\MakeUppercase`` requires four internal commands:: \DeclareTextAccentDefault{\LGR@accdropped}{LGR} \DeclareTextAccentDefault{\LGR@accDialytika}{LGR} \DeclareTextAccentDefault{\LGR@hiatus}{LGR} +\DeclareTextSymbolDefault{\LGR@ypogegrammeni}{LGR} % semicolon as erotimatiko % """""""""""""""""""""""" -% +% % The text command ``\textsemicolon`` inserts ``\texterotimatiko`` % in LGR font encoding and a "normal" semicolon else:: @@ -551,5 +553,5 @@ % .. _polyglossia: http://www.ctan.org/pkg/polyglossia % .. _textgreek: http://www.ctan.org/pkg/textgreek % .. _xunicode: http://www.ctan.org/pkg/xunicode -% +% % .. _erotimatiko: https://en.wikipedia.org/wiki/Question_mark#Erotimatiko |