diff options
author | Karl Berry <karl@freefriends.org> | 2019-07-10 20:28:23 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2019-07-10 20:28:23 +0000 |
commit | 93dc906dc01c75bdbe19ebd78c0a1538bfc25b53 (patch) | |
tree | 31f48869b8f24446b6778d464dc4bd5aa7b6ea03 /Master | |
parent | 38035d16f502e46fac8ff2451219410a87edf7e9 (diff) |
greek-fontenc (10jul19)
git-svn-id: svn://tug.org/texlive/trunk@51597 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
21 files changed, 1720 insertions, 548 deletions
diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/README b/Master/texmf-dist/doc/latex/greek-fontenc/README index c0eeded641c..9248c3204d1 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/README +++ b/Master/texmf-dist/doc/latex/greek-fontenc/README @@ -4,7 +4,7 @@ Greek font encoding definition files ************************************ :Author: Günter Milde -:Date: 2014-12-25 +:Date: 2019-07-10 :Copyright: © 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 @@ -18,7 +18,7 @@ Greek font encoding definition files This package provides `Greek LICR macros`_ and encoding definition files for `Greek text font encodings`_ for use with fontenc_ (8-bit TeX) or fontspec_ (XeTeX/LuaTeX). - + Included are also the LaTeX packages textalpha_ and alphabeta_. .. note:: The LICR macro names for Greek symbols are chosen pending @@ -27,8 +27,8 @@ Greek font encoding definition files Names for archaic characters, accents/diacritics, and punctuation may change in future versions. -News -==== +Changelog +========= .. class:: borderless @@ -58,15 +58,19 @@ News 0.13 2015-09-04 Support for `symbol variants`_, .. ``keep-semicolon`` option in textalpha_, .. ``\lccode``/``\uccode`` corrections for Unicode - (from Apostolos Syropoulos’ xgreek_) in greek-euenc_, + (from Apostolos Syropoulos’ xgreek_) in greek-euenc_, .. Do not convert ``\ypogegrammeni`` to ``\prosgegrammeni`` with ``\MakeUppercase``. 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`_). ====== =========== ========================================================== __ http://tex.stackexchange.com/questions/281631/greek-small-rho-with-dasia-and-also-psili-problem-with-accent-and-lgr-encodin +.. _ltxbugs 4399: + https://www.latex-project.org/cgi-bin/ltxbugs2html?pr=latex%2F4399&search= TeX files @@ -99,7 +103,7 @@ TeX files `Composite definitions with XeTeX/LuaTeX. <alphabeta-euenc.def.html>`_. .. _greek-euenc: - + `<greek-euenc.def>`_ `Font setup for Greek with XeTeX/LuaTeX <greek-euenc.def.html>`_. Requires euenc_. @@ -155,14 +159,24 @@ Otherwise, make sure LaTeX can find the package and definition files: the “TeX Directory Structure” (TDS_) and run ``texhash``, or place them in the current working directory (e.g. for testing). +Conflicts +========= + +The arabi_ package provides the Babel ``arabic`` option which loads +``arabicfnt.sty`` for font setup. This package overwrites the LICR macros +``\omega`` and ``\textomega`` with font selecting commands. See the report +for Debian `bug 858987`_ for details and the `arabi workaround`_ below. + +.. _bug 858987: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=858987 Usage ===== -There are many alternatives to use the Greek font encoding setup +There are many alternatives to set up the support for a Greek font encoding provided by this package, e.g.: -* Ensure support for Greek characters in text mode with textalpha_ :: +textalpha_: + Ensure support for Greek characters in text mode:: \usepackage{textalpha} @@ -170,7 +184,7 @@ provided by this package, e.g.: variants`_ :: \usepackage[normalize-symbols]{textalpha} - + and/or the keep-semicolon_ option to use the `semicolon as erotimatiko`_ also in LGR :: @@ -181,29 +195,32 @@ provided by this package, e.g.: For details see `<textalpha-doc.tex>`_ and `<textalpha-doc.pdf>`_ (8-bit TeX) as well as `<greek-euenc-doc.tex>`_ and `<greek-euenc-doc.pdf>`_ (XeTeX/LuaTeX). - + .. _normalize-symbols: textalpha.sty.html#normalize-symbols .. _keep-semicolon: textalpha.sty.html#keep-semicolon .. _semicolon as erotimatiko: textalpha.sty.html#semicolon-as-erotimatiko -* To use the short macro names (``\alpha`` ... ``\Omega``) known from math +alphabeta_: + To use the short macro names (``\alpha`` ... ``\Omega``) known from math mode in both, text and math mode, write :: \usepackage{alphabeta} For details see `<alphabeta-doc.tex>`_ and `<alphabeta-doc.pdf>`_. -* Use the ``greek`` option with Babel_:: +Babel: + Use the ``greek`` option with Babel_:: \usepackage[greek]{babel} This automatically loads ``lgrenc.def`` with 8-bit TeX and ``greek-euenc.def`` with XeTeX/LuaTeX and provides localized auto-strings, hyphenation and other localizations (see babel-greek_). - + Babel can be used together with textalpha_ or alphabeta_. -* Declare LGR via fontenc_. For example, specify T1 (8-bit +fontenc: + Declare LGR via fontenc_. For example, specify T1 (8-bit Latin) as default font encoding and LGR for Greek with :: \usepackage[LGR,T1]{fontenc} @@ -212,7 +229,7 @@ provided by this package, e.g.: only if the current font encoding supports Greek. See [fntguide]_ for details and `<lgrenc-test.tex>`_ for an example. -* It is possible to use 8-bit Greek text fonts in the LGR TeX font encoding + It is possible to use 8-bit Greek text fonts in the LGR TeX font encoding also with XeTeX/LuaTeX, if the fontenc_ package is loaded before fontspec_ and textalpha_ or alphabeta_, e.g. :: @@ -225,12 +242,33 @@ provided by this package, e.g.: See `<greek-euenc-doc.tex>`_, `<greek-euenc-doc.pdf>`_ and `<lgrenc-test.tex>`_, `<lgrenc-test.pdf>`_. +.. _arabi workaround: + +To work around the conflict with arabi_, it may suffice to ensure ``greek`` +is loaded after ``arabic``:: + + \usepackage[arabic,greek,english]{babel} + +More secure is an explicit reverse-definition, e.g. :: + + % save original \omega + \let\mathomega\omega + + \usepackage[utf8]{inputenc} + \usepackage[LAE,LGR,T1]{fontenc} + \usepackage[arabic,greek,english]{babel} + + % fix arabtex: + \DeclareTextSymbol{\textomega}{LGR}{119} + \renewcommand{\omega}{\mathomega} + + Greek text font encodings ========================= Greek TeX font encodings are the envisaged T7_, LGR_, and LGI_. Greek letters and symbols are also defined in the Unicode-based font -encodings EU1_ , EU2_ and PU (hyperref_). +encodings TU_, `EU1, EU2`_, and PU (hyperref_). T7 -- @@ -248,10 +286,10 @@ The LGR font encoding is the de-facto standard for typesetting Greek with (8-bit) LaTeX. `greek-fontenc` provides a comprehensive `LGR font encoding definition file`_. -Fonts in this encoding include the `CB fonts`_ (matching CM), -grtimes_ (Greek Times), Kerkis_ (matching URW Bookman), and the `GFS font -collection`_. Setup of these fonts as Greek variant to matching Latin fonts -is facilitated by the substitutefont_ package. +Fonts in this encoding include the `CB fonts`_ (matching CM), grtimes_ +(Greek Times), Kerkis_ (matching URW Bookman), DejaVu_, `Libertine GC`_, and +the `GFS fonts`_. Setup of these fonts as Greek variant to +matching Latin fonts is facilitated by the substitutefont_ package. The LGR font encoding allows to access Greek characters via an ASCII @@ -277,19 +315,25 @@ It is currently not supported by `greek-fontenc`. The font encoding file ``lgienc.def`` from ibycus-babel_ provides a basic setup (without any LICR macros or composite definitions). -EU1 ---- +TU +-- -Unicode font encoding set up by euenc_ for XeTeX and indirectly loaded by -fontspec_. `greek-fontenc` adds support for the Greek script (see +Standard Unicode font encoding for XeTeX and LuaTeX loaded by fontspec_ +(since v2.5a). `greek-fontenc` adds support for the Greek script (see greek-euenc_). -EU2 ---- +Xe/LuaTeX works with any system-wide installed `OpenType font`_. Suitable +fonts supporting Greek include `CM Unicode`_, `Deja Vu`_, `EB Garamond`_, +the `GFS fonts`_, `Libertine OTF`_, `Libertinus`_, `Old Standard`_, +Tempora_, and `UM Typewriter`_ (all available on CTAN) but also many commercial +fonts. Unfortunately, the fontspec_ default, `Latin Modern`_ misses most +Greek characters. + +EU1, EU2 +-------- + +Legacy Unicode font encodings for XeTeX and LuaTeX respectively. -Unicode font encoding set up by euenc_ for XeTeX and indirectly loaded by -fontspec_. `greek-fontenc` adds support for the Greek script (see -greek-euenc_). Greek LICR macros ================= @@ -484,12 +528,24 @@ as-is). .. _Unicode names list: http://www.unicode.org/Public/UNIDATA/NamesList.txt .. _XML Entity Definitions for Characters: http://www.w3.org/TR/xml-entity-names/ -.. _CB Fonts: http://www.ctan.org/pkg/cbgreek-complete -.. _GFS font collection: http://www.ctan.org/pkg/gfs +.. _CB fonts: http://www.ctan.org/pkg/cbgreek-complete +.. _CM Unicode: https://www.ctan.org/pkg/cm-unicode +.. _Deja Vu: http://dejavu-fonts.org +.. _EB Garamond: https://ctan.org/pkg/ebgaramond +.. _GFS fonts: http://www.ctan.org/pkg/gfs .. _Kerkis: http://www.ctan.org/pkg/kerkis +.. _Latin Modern: http://www.gust.org.pl/projects/e-foundry/latin-modern +.. _Libertine OTF: http://www.ctan.org/pkg/libertineotf +.. _Libertine GC: https://www.ctan.org/pkg/libertinegc +.. _Libertinus: https://ctan.org/pkg/libertinus +.. _Old Standard: https://ctan.org/pkg/oldstandard +.. _OpenType Font: https://ctan.org/topic/font-otf +.. _UM Typewriter: https://www.ctan.org/pkg/umtypewriter .. _amssymb: http://www.ctan.org/pkg/amsfonts -.. _babel: http://www.ctan.org/pkg/babel +.. _arabi: https://www.ctan.org/pkg/arabi .. _babel-greek: http://www.ctan.org/pkg/babel-greek +.. _babel: http://www.ctan.org/pkg/babel +.. _dejavu: https://www.ctan.org/pkg/dejavu .. _euenc: http://www.ctan.org/pkg/euenc .. _fontenc: http://www.ctan.org/pkg/fontenc .. _fontspec: http://www.ctan.org/pkg/fontspec @@ -501,8 +557,9 @@ as-is). .. _lgrx: http://www.ctan.org/pkg/lgrx .. _libertine: http://www.ctan.org/pkg/libertine-legacy .. _substitutefont: http://www.ctan.org/pkg/substitutefont +.. _tempora: https://www.ctan.org/pkg/tempora .. _teubner: http://www.ctan.org/pkg/teubner -.. _unicode-math: http://www.ctan.org/pkg/unicode-math .. _ucs: http://www.ctan.org/pkg/unicode +.. _unicode-math: http://www.ctan.org/pkg/unicode-math .. _xgreek: http://www.ctan.org/pkg/xgreek .. _xunicode: http://www.ctan.org/pkg/xunicode diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/README.html b/Master/texmf-dist/doc/latex/greek-fontenc/README.html index 98fbde24660..288731b31bc 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/README.html +++ b/Master/texmf-dist/doc/latex/greek-fontenc/README.html @@ -1,16 +1,19 @@ <!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</title> <meta name="author" content="Günter Milde" /> +<meta name="dcterms.date" content="2019-07-10" /> +<meta name="dcterms.rights" content="© 2013 Günter Milde <milde@users.sf.net>" /> +<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 7916 2015-09-11 15:20:14Z milde $ */ +/* :Id: $Id$ */ /* :Copyright: © 2015 Günter Milde. */ /* :License: Released under the terms of the `2-Clause BSD license`_, */ /* in short: */ @@ -29,10 +32,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 { @@ -100,9 +106,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 } @@ -185,28 +192,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, @@ -227,13 +240,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 */ @@ -266,7 +280,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: */ @@ -286,8 +300,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; @@ -296,7 +310,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 */ @@ -330,9 +346,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) */ @@ -388,19 +404,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; @@ -417,6 +423,8 @@ div.topic p.attribution { /* th { vertical-align: bottom; } */ +table tr { text-align: left; } + /* "booktabs" style (no vertical lines) */ table.booktabs { border: 0; @@ -429,7 +437,6 @@ table.booktabs * { } table.booktabs th { border-bottom: thin solid; - text-align: left; } /* numbered tables (counter defined in div.document) */ @@ -459,16 +466,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 @@ -490,6 +501,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 */ @@ -551,13 +563,12 @@ a { text-decoration: none; } <body> <div class="document" id="greek-fontenc"> <h1 class="title">greek-fontenc</h1> - <p class="subtitle" id="greek-font-encoding-definition-files">Greek font encoding definition files</p> <dl class="docinfo simple"> <dt class="author">Author</dt> <dd class="author"><p>Günter Milde</p></dd> <dt class="date">Date</dt> -<dd class="date">2014-12-25</dd> +<dd class="date">2019-07-10</dd> <dt class="copyright">Copyright</dt> <dd class="copyright">© 2013 Günter Milde <<a class="reference external" href="mailto:milde@users.sf.net">milde@users.sf.net</a>></dd> <dt class="licence">Licence</dt> @@ -584,8 +595,8 @@ endorsement by the TeX community and related packages.</p> <p>Names for archaic characters, accents/diacritics, and punctuation may change in future versions.</p> </div> -<div class="section" id="news"> -<h1>News</h1> +<div class="section" id="changelog"> +<h1>Changelog</h1> <table class="borderless"> <colgroup> <col style="width: 8%" /> @@ -702,6 +713,15 @@ with <span class="docutils literal">\MakeUppercase</span>.</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.3</p></td> +<td><p>2019-07-10</p></td> +<td><p>Documentation update.</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> +</tr> </tbody> </table> </div> @@ -782,12 +802,20 @@ the “TeX Directory Structure” (<a class="reference external" href="http://ww the current working directory (e.g. for testing).</p></li> </ul> </div> +<div class="section" id="conflicts"> +<h1>Conflicts</h1> +<p>The <a class="reference external" href="https://www.ctan.org/pkg/arabi">arabi</a> package provides the Babel <span class="docutils literal">arabic</span> option which loads +<span class="docutils literal">arabicfnt.sty</span> for font setup. This package overwrites the LICR macros +<span class="docutils literal">\omega</span> and <span class="docutils literal">\textomega</span> with font selecting commands. See the report +for Debian <a class="reference external" href="https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=858987">bug 858987</a> for details and the <a class="reference internal" href="#arabi-workaround">arabi workaround</a> below.</p> +</div> <div class="section" id="usage"> <h1>Usage</h1> -<p>There are many alternatives to use the Greek font encoding setup +<p>There are many alternatives to set up the support for a Greek font encoding provided by this package, e.g.:</p> -<ul> -<li><p>Ensure support for Greek characters in text mode with <a class="reference internal" href="#textalpha">textalpha</a></p> +<dl> +<dt><a class="reference internal" href="#textalpha">textalpha</a>:</dt> +<dd><p>Ensure support for Greek characters in text mode:</p> <pre class="literal-block">\usepackage{textalpha}</pre> <p>eventually with the <a class="reference external" href="textalpha.sty.html#normalize-symbols">normalize-symbols</a> option to handle <a class="reference internal" href="#symbol-variants">symbol variants</a></p> @@ -800,27 +828,29 @@ and Xe-/LuaTeX. For details see <a class="reference external" href="textalpha-doc.tex">textalpha-doc.tex</a> and <a class="reference external" href="textalpha-doc.pdf">textalpha-doc.pdf</a> (8-bit TeX) as well as <a class="reference external" href="greek-euenc-doc.tex">greek-euenc-doc.tex</a> and <a class="reference external" href="greek-euenc-doc.pdf">greek-euenc-doc.pdf</a> (XeTeX/LuaTeX).</p> -</li> -<li><p>To use the short macro names (<span class="docutils literal">\alpha</span> … <span class="docutils literal">\Omega</span>) known from math +</dd> +<dt><a class="reference internal" href="#alphabeta">alphabeta</a>:</dt> +<dd><p>To use the short macro names (<span class="docutils literal">\alpha</span> … <span class="docutils literal">\Omega</span>) known from math mode in both, text and math mode, write</p> <pre class="literal-block">\usepackage{alphabeta}</pre> <p>For details see <a class="reference external" href="alphabeta-doc.tex">alphabeta-doc.tex</a> and <a class="reference external" href="alphabeta-doc.pdf">alphabeta-doc.pdf</a>.</p> -</li> -<li><p>Use the <span class="docutils literal">greek</span> option with <a class="reference external" href="http://www.ctan.org/pkg/babel">Babel</a>:</p> +</dd> +<dt>Babel:</dt> +<dd><p>Use the <span class="docutils literal">greek</span> option with <a class="reference external" href="http://www.ctan.org/pkg/babel">Babel</a>:</p> <pre class="literal-block">\usepackage[greek]{babel}</pre> <p>This automatically loads <span class="docutils literal">lgrenc.def</span> with 8-bit TeX and <span class="docutils literal"><span class="pre">greek-euenc.def</span></span> with XeTeX/LuaTeX and provides localized auto-strings, hyphenation and other localizations (see <a class="reference external" href="http://www.ctan.org/pkg/babel-greek">babel-greek</a>).</p> <p>Babel can be used together with <a class="reference internal" href="#textalpha">textalpha</a> or <a class="reference internal" href="#alphabeta">alphabeta</a>.</p> -</li> -<li><p>Declare LGR via <a class="reference external" href="http://www.ctan.org/pkg/fontenc">fontenc</a>. For example, specify T1 (8-bit +</dd> +<dt>fontenc:</dt> +<dd><p>Declare LGR via <a class="reference external" href="http://www.ctan.org/pkg/fontenc">fontenc</a>. For example, specify T1 (8-bit Latin) as default font encoding and LGR for Greek with</p> <pre class="literal-block">\usepackage[LGR,T1]{fontenc}</pre> <p>Note that without <a class="reference internal" href="#textalpha">textalpha</a> or <a class="reference internal" href="#alphabeta">alphabeta</a>, Greek text macros work only if the current font encoding supports Greek. See <a class="citation-reference" href="#fntguide" id="id6">[fntguide]</a> for details and <a class="reference external" href="lgrenc-test.tex">lgrenc-test.tex</a> for an example.</p> -</li> -<li><p>It is possible to use 8-bit Greek text fonts in the LGR TeX font encoding +<p>It is possible to use 8-bit Greek text fonts in the LGR TeX font encoding also with XeTeX/LuaTeX, if the <a class="reference external" href="http://www.ctan.org/pkg/fontenc">fontenc</a> package is loaded before <a class="reference external" href="http://www.ctan.org/pkg/fontspec">fontspec</a> and <a class="reference internal" href="#textalpha">textalpha</a> or <a class="reference internal" href="#alphabeta">alphabeta</a>, e.g.</p> <pre class="literal-block">\usepackage[LGR]{fontenc} @@ -830,14 +860,28 @@ also with XeTeX/LuaTeX, if the <a class="reference external" href="http://www.ct \usepackage{textalpha}</pre> <p>See <a class="reference external" href="greek-euenc-doc.tex">greek-euenc-doc.tex</a>, <a class="reference external" href="greek-euenc-doc.pdf">greek-euenc-doc.pdf</a> and <a class="reference external" href="lgrenc-test.tex">lgrenc-test.tex</a>, <a class="reference external" href="lgrenc-test.pdf">lgrenc-test.pdf</a>.</p> -</li> -</ul> +</dd> +</dl> +<p id="arabi-workaround">To work around the conflict with <a class="reference external" href="https://www.ctan.org/pkg/arabi">arabi</a>, it may suffice to ensure <span class="docutils literal">greek</span> +is loaded after <span class="docutils literal">arabic</span>:</p> +<pre class="literal-block">\usepackage[arabic,greek,english]{babel}</pre> +<p>More secure is an explicit reverse-definition, e.g.</p> +<pre class="literal-block">% save original \omega +\let\mathomega\omega + +\usepackage[utf8]{inputenc} +\usepackage[LAE,LGR,T1]{fontenc} +\usepackage[arabic,greek,english]{babel} + +% fix arabtex: +\DeclareTextSymbol{\textomega}{LGR}{119} +\renewcommand{\omega}{\mathomega}</pre> </div> <div class="section" id="greek-text-font-encodings"> <h1>Greek text font encodings</h1> <p>Greek TeX font encodings are the envisaged <a class="reference internal" href="#t7">T7</a>, <a class="reference internal" href="#lgr">LGR</a>, and <a class="reference internal" href="#lgi">LGI</a>. Greek letters and symbols are also defined in the Unicode-based font -encodings <a class="reference internal" href="#eu1">EU1</a> , <a class="reference internal" href="#eu2">EU2</a> and PU (<a class="reference external" href="http://www.ctan.org/pkg/hyperref">hyperref</a>).</p> +encodings <a class="reference internal" href="#tu">TU</a>, <a class="reference internal" href="#eu1-eu2">EU1, EU2</a>, and PU (<a class="reference external" href="http://www.ctan.org/pkg/hyperref">hyperref</a>).</p> <div class="section" id="t7"> <h2>T7</h2> <p>The <a class="citation-reference" href="#encguide" id="id12">[encguide]</a> reserves the name T7 for a Greek <cite>standard font encoding</cite>. @@ -850,10 +894,10 @@ polytonic Greek.</p> <p>The LGR font encoding is the de-facto standard for typesetting Greek with (8-bit) LaTeX. <cite>greek-fontenc</cite> provides a comprehensive <a class="reference internal" href="#lgr-font-encoding-definition-file">LGR font encoding definition file</a>.</p> -<p>Fonts in this encoding include the <a class="reference external" href="http://www.ctan.org/pkg/cbgreek-complete">CB fonts</a> (matching CM), -<a class="reference external" href="http://www.ctan.org/pkg/grtimes">grtimes</a> (Greek Times), <a class="reference external" href="http://www.ctan.org/pkg/kerkis">Kerkis</a> (matching URW Bookman), and the <a class="reference external" href="http://www.ctan.org/pkg/gfs">GFS font -collection</a>. Setup of these fonts as Greek variant to matching Latin fonts -is facilitated by the <a class="reference external" href="http://www.ctan.org/pkg/substitutefont">substitutefont</a> package.</p> +<p>Fonts in this encoding include the <a class="reference external" href="http://www.ctan.org/pkg/cbgreek-complete">CB fonts</a> (matching CM), <a class="reference external" href="http://www.ctan.org/pkg/grtimes">grtimes</a> +(Greek Times), <a class="reference external" href="http://www.ctan.org/pkg/kerkis">Kerkis</a> (matching URW Bookman), <a class="reference external" href="https://www.ctan.org/pkg/dejavu">DejaVu</a>, <a class="reference external" href="https://www.ctan.org/pkg/libertinegc">Libertine GC</a>, and +the <a class="reference external" href="http://www.ctan.org/pkg/gfs">GFS fonts</a>. Setup of these fonts as Greek variant to +matching Latin fonts is facilitated by the <a class="reference external" href="http://www.ctan.org/pkg/substitutefont">substitutefont</a> package.</p> <p>The LGR font encoding allows to access Greek characters via an ASCII transliteration. This enables simple input with a Latin keyboard. Characters with diacritics can be selected by ligature definitions in the @@ -874,17 +918,21 @@ It is currently not supported by <cite>greek-fontenc</cite>.</p> <p>The font encoding file <span class="docutils literal">lgienc.def</span> from <a class="reference external" href="http://www.ctan.org/pkg/ibycus-babel">ibycus-babel</a> provides a basic setup (without any LICR macros or composite definitions).</p> </div> -<div class="section" id="eu1"> -<h2>EU1</h2> -<p>Unicode font encoding set up by <a class="reference external" href="http://www.ctan.org/pkg/euenc">euenc</a> for XeTeX and indirectly loaded by -<a class="reference external" href="http://www.ctan.org/pkg/fontspec">fontspec</a>. <cite>greek-fontenc</cite> adds support for the Greek script (see +<div class="section" id="tu"> +<h2>TU</h2> +<p>Standard Unicode font encoding for XeTeX and LuaTeX loaded by <a class="reference external" href="http://www.ctan.org/pkg/fontspec">fontspec</a> +(since v2.5a). <cite>greek-fontenc</cite> adds support for the Greek script (see <a class="reference internal" href="#greek-euenc">greek-euenc</a>).</p> +<p>Xe/LuaTeX works with any system-wide installed <a class="reference external" href="https://ctan.org/topic/font-otf">OpenType font</a>. Suitable +fonts supporting Greek include <a class="reference external" href="https://www.ctan.org/pkg/cm-unicode">CM Unicode</a>, <a class="reference external" href="http://dejavu-fonts.org">Deja Vu</a>, <a class="reference external" href="https://ctan.org/pkg/ebgaramond">EB Garamond</a>, +the <a class="reference external" href="http://www.ctan.org/pkg/gfs">GFS fonts</a>, <a class="reference external" href="http://www.ctan.org/pkg/libertineotf">Libertine OTF</a>, <a class="reference external" href="https://ctan.org/pkg/libertinus">Libertinus</a>, <a class="reference external" href="https://ctan.org/pkg/oldstandard">Old Standard</a>, +<a class="reference external" href="https://www.ctan.org/pkg/tempora">Tempora</a>, and <a class="reference external" href="https://www.ctan.org/pkg/umtypewriter">UM Typewriter</a> (all available on CTAN) but also many commercial +fonts. Unfortunately, the <a class="reference external" href="http://www.ctan.org/pkg/fontspec">fontspec</a> default, <a class="reference external" href="http://www.gust.org.pl/projects/e-foundry/latin-modern">Latin Modern</a> misses most +Greek characters.</p> </div> -<div class="section" id="eu2"> -<h2>EU2</h2> -<p>Unicode font encoding set up by <a class="reference external" href="http://www.ctan.org/pkg/euenc">euenc</a> for XeTeX and indirectly loaded by -<a class="reference external" href="http://www.ctan.org/pkg/fontspec">fontspec</a>. <cite>greek-fontenc</cite> adds support for the Greek script (see -<a class="reference internal" href="#greek-euenc">greek-euenc</a>).</p> +<div class="section" id="eu1-eu2"> +<h2>EU1, EU2</h2> +<p>Legacy Unicode font encodings for XeTeX and LuaTeX respectively.</p> </div> </div> <div class="section" id="greek-licr-macros"> @@ -1025,7 +1073,7 @@ packages (e.g. <a class="reference external" href="http://www.ctan.org/pkg/amsfo characters:</p> <ul class="simple"> <li><p>With Unicode fonts, the macros select the GREEK -<lettername> SYMBOL“.</p></li> +<lettername> SYMBOL``.</p></li> <li><p>With LGR encoded fonts, they report an error by default and are mapped to the corresponding letter with the <span class="docutils literal"><span class="pre">normalize-symbols</span></span> option of <a class="reference internal" href="#textalpha">textalpha</a> and <a class="reference internal" href="#alphabeta">alphabeta</a> (loosing the distinction between the shape @@ -1046,30 +1094,30 @@ from the <a class="reference external" href="http://www.ctan.org/pkg/unicode">uc Greek text in “LICR encoding” to a PDF-string (utf-8 encoded input is used as-is).</p> <dl class="citation"> -<dt class="label" id="fntguide"><span class="brackets"><a class="fn-backref" href="#id6">fntguide</span></a></dt> +<dt class="label" id="fntguide"><span class="brackets"><a class="fn-backref" href="#id6">fntguide</a></span></dt> <dd><p>LaTeX3 Project Team, <cite>LaTeX2ε font selection</cite>, 2005. <a class="reference external" href="http://mirror.ctan.org/macros/latex/doc/fntguide.pdf">http://mirror.ctan.org/macros/latex/doc/fntguide.pdf</a></p> </dd> -<dt class="label" id="encguide"><span class="brackets"><a class="fn-backref" href="#id12">encguide</span></a></dt> +<dt class="label" id="encguide"><span class="brackets"><a class="fn-backref" href="#id12">encguide</a></span></dt> <dd><p>Frank Mittelbach, Robin Fairbairns, Werner Lemberg, LaTeX3 Project Team, <cite>LaTeX font encodings</cite>, 2006. <a class="reference external" href="http://mirror.ctan.org/macros/latex/doc/encguide.pdf">http://mirror.ctan.org/macros/latex/doc/encguide.pdf</a></p> </dd> -<dt class="label" id="greek-usage"><span class="brackets"><a class="fn-backref" href="#id13">greek-usage</span></a></dt> +<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> </dd> -<dt class="label" id="cbfonts"><span class="brackets"><a class="fn-backref" href="#id15">cbfonts</span></a></dt> +<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. <a class="reference external" href="http://www.eutypon.gr/eutypon/pdf/e2008-21/e21-a01.pdf">http://www.eutypon.gr/eutypon/pdf/e2008-21/e21-a01.pdf</a></p> </dd> -<dt class="label" id="teubner-doc"><span class="brackets"><a class="fn-backref" href="#id14">teubner-doc</span></a></dt> +<dt class="label" id="teubner-doc"><span class="brackets"><a class="fn-backref" href="#id14">teubner-doc</a></span></dt> <dd><p>Claudio Beccari, <span class="docutils literal">teubner.sty</span> <cite>An extension to the greek option of the babel package</cite>, 2011. <a class="reference external" href="http://mirror.ctan.org/macros/latex/contrib/teubner/teubner-doc.pdf">http://mirror.ctan.org/macros/latex/contrib/teubner/teubner-doc.pdf</a></p> </dd> -<dt class="label" id="babel-patch"><span class="brackets"><a class="fn-backref" href="#id16">babel-patch</span></a></dt> +<dt class="label" id="babel-patch"><span class="brackets"><a class="fn-backref" href="#id16">babel-patch</a></span></dt> <dd><p>Werner Lemberg, <cite>Unicode support for the Greek LGR encoding</cite> Εὔτυπον, τεῦχος № 20, 2008. <a class="reference external" href="http://www.eutypon.gr/eutypon/pdf/e2008-20/e20-a03.pdf">http://www.eutypon.gr/eutypon/pdf/e2008-20/e20-a03.pdf</a></p> 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 c5001b6f695..d4dba0b7b5d 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/alphabeta-doc.tex b/Master/texmf-dist/doc/latex/greek-fontenc/alphabeta-doc.tex index d110bb65552..e9daa7c5f1d 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/alphabeta-doc.tex +++ b/Master/texmf-dist/doc/latex/greek-fontenc/alphabeta-doc.tex @@ -1,26 +1,34 @@ +% alphabeta-doc: Documentation and tests for alphabeta.sty +% ******************************************************** +% +% :Copyright: © 2010, 2015 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. +% +% This LaTeX document can be compiled with 8-bit TeX (latex or pdflatex), +% XeTeX (xelatex), or LuaTeX (lualatex). +% As it contains tests for the different limitations, there will be warnings +% in the log, which can be safely ignored. + \documentclass{article} \usepackage[unicode,colorlinks=true,linkcolor=blue]{hyperref} \usepackage{bookmark} \hypersetup{colorlinks=true,linkcolor=blue,urlcolor=blue,pdfencoding=auto} -\usepackage{parskip} +% \usepackage{parskip} \usepackage{amsmath} +\frenchspacing -\ifdefined\XeTeXrevision - \usepackage[no-math]{fontspec} - \setmainfont{Linux Libertine O} - \setsansfont{Linux Biolinum O} - \setmonofont{Inconsolata}[Scale=MatchLowercase] - \usepackage[libertine,slantedGreek]{newtxmath} - % \usepackage{unicode-math} -\else\ifdefined\luatexversion - \usepackage{fontspec} +\newcommand{\setupUnicodeFonts}{ + \usepackage[no-math,tuenc]{fontspec} \setmainfont{Linux Libertine O} \setsansfont{Linux Biolinum O} - \setmonofont{Inconsolata}[Scale=MatchLowercase] + \setmonofont{Liberation Mono}[Scale=MatchLowercase] \usepackage[libertine,slantedGreek]{newtxmath} -\else - \usepackage[utf8]{inputenc} + % \usepackage{unicode-math} % package conflict +} +\newcommand{\setupTeXFonts}{ \usepackage[LGR,T1]{fontenc} \usepackage{textcomp} \usepackage{lmodern} @@ -31,28 +39,40 @@ % \usepackage{substitutefont} % \substitutefont{LGR}{\rmdefault}{artemisia} \usepackage{isomath} +} +\ifdefined\XeTeXrevision + \newcommand{\engine}{XeTeX} + \setupUnicodeFonts +\else\ifdefined\luatexversion + \newcommand{\engine}{LuaTeX} + \setupUnicodeFonts +\else + \newcommand{\engine}{8-bit TeX} + \usepackage[utf8]{inputenc} + \setupTeXFonts \fi\fi -% No section numbers but PDF bookmarks for sections -% \setcounter{secnumdepth}{0} - % load alphabeta after math setup and encoding setup! -% \usepackage{alphabeta} -\usepackage[normalize-symbols]{alphabeta} +% \usepackage{alphabeta}[2015/08/08] +\usepackage[normalize-symbols]{alphabeta}[2015/08/08] -% Avoid warnigns with PDF string generation for "alphabeta" commands: +% Fallback macros: +% Avoid warnigns with PDF string generation for "alphabeta" commands: % let \TextOrMath (from fixltx2e) return the "text" argument: \pdfstringdefDisableCommands{\let\TextOrMath\@firstoftwo} % varstigma only defined with 8-bit LGR fonts \providecommand*{\varstigma}{$\oslash$} - % varkappa, only defined with newtxmath, other var... only with unicode-math \providecommand*{\varkappa}{\oslash} \providecommand*{\varbeta}{\oslash} \providecommand*{\varTheta}{\oslash} +% print current font encoding: +\makeatletter +\newcommand{\currentEncoding}{\f@encoding} +\makeatother \begin{document} @@ -60,60 +80,136 @@ \author{Günter Milde} \maketitle -With the \emph{alphabeta} package, you can write Greek letters ``by name'' -or as literal Unicode characters in both, ``text'' and ``math'' mode. The -mode determines whether the letters are taken from the text or math font. -Just like Latin letters, the Greek counterparts are by default italic in -math mode (capital letters upright without \emph{fixmath} or -\emph{\href{http://www.ctan.org/pkg/isomath}{isomath}}) and upright in text: +\begin{abstract}\noindent +The \emph{alphabeta} package makes the standard macros for Greek letters in +mathematical mode also available in text mode. This way, you can input Greek +letters ``by name'' everywhere in the document. The mode determines whether +the characters are taken from the text or math font. +With 8-bit TeX and +\emph{\href{http://www.ctan.org/pkg/greek-inputenc}{greek-inputenc}}, +literal Unicode charactes can also be used in mathematical mode. +\end{abstract} -\begin{quote} - Text: L \Gamma{} l \gamma, - emphasized text: \emph{L \Gamma{} l \gamma}, - mathematics: $ L \ \Gamma \ l \ \gamma $ -\end{quote} +% \tableofcontents -This makes it easy to write a single Greek symbol (like \Psi{} or \mu{}) or -a \lambda\omicron\gamma\omicron\varsigma{} in non-Greek text as well as -ISO-conforming formulas with upright symbols for constants like $A = -\text{\pi} r^2$ (instead of $A = \pi r^2$).\footnote{% - The \emph{\href{http://www.ctan.org/pkg/isomath}{isomath}} package - documentation describes more alternatives for upright Greek symbols in - math mode.} +\section{Requirements} + +The \emph{alphabeta} package depends on +\emph{\href{textalpha-doc.pdf}{textalpha}} (both are part of +\emph{\href{http://www.ctan.org/pkg/greek-fontenc}{greek-fontenc}}). +It can be used under 8-bit TeX as well as XeTeX/LuaTeX (this document is +typeset with \engine). Depending on the converter and fonts, different +\hyperref[sec:limitations]{limitations} apply. + +The package conflicts with +\href{http://www.ctan.org/pkg/unicode-math}{\emph{unicode-math}}. + +It also fails, if the \texttt{utf8x} input encoding is selected (interface +to the \href{http://www.ctan.org/pkg/ucs}{\emph{ucs}} package using a +non-compatible definition of \verb+\DeclareUnicodeCharacter+). \section{Usage} Load this package in the preamble of your document (after font and math setup) with \begin{verbatim} - \usepackage{alphabeta} -\end{verbatim} -or, if you want to merge symbol variants, with the -\texttt{normalize-symbols} option: -\begin{verbatim} - \usepackage[normalize-symbols]{alphabeta} + \usepackage{alphabeta} \end{verbatim} +% +Now you can write a single Greek symbol (like \Psi{} or \mu{}) or +a \lambda\omicron\gamma\omicron\varsigma{} in non-Greek text as well as +ISO-conforming formulas with upright symbols for constants +like $A = \text{\pi} r^2$ (instead of $A = \pi r^2$).% +\footnote{The + \href{http://mirrors.ctan.org/macros/latex/contrib/isomath/isomath.html}% + {\emph{isomath} documentation} describes more alternatives for upright + Greek symbols in math mode.} + +Just like Latin letters, the Greek counterparts are by default italic in +math mode% +\footnote{Capital Greek letters are upright in TeX unless a package selects +the ``ISO'' math-style. See the +\href{http://mirrors.ctan.org/macros/latex/contrib/isomath/isomath.html}% +{\emph{isomath} documentation} for a detailled discussion of math-styles.} +and upright in text: +\begin{quote} + Text: L \Gamma{} l \gamma, + mathematics: $ L \ \Gamma \ l \ \gamma $ +\end{quote} +% See the source of this document \url{alphabeta-doc.tex} for a setup and usage example. -\subsection{option normalize-symbols} -The \texttt{normalize-symbols} option is passed to the -\href{alphabeta-doc.pdf}{\emph{alphabeta}} package. It -merges ``letters'' and ``symbol`` variants of some Greek -letters to the ``letter'' character (but is ignored with Unicode fonts): -\begin{quote} - This text uses both variants for beta (β|ϐ), theta (θ|ϑ), phi (φ|ϕ), pi - (π|ϖ), kappa (κ|ϰ), rho (ρ|ϱ), Theta (Θ|ϴ), and epsilon (ε|ϵ) in the LaTeX - source. -\end{quote} +\subsection{options} +Package options are passed to the \href{alphabeta-doc.pdf}{\emph{alphabeta}} +package. Example call with options: + +\begin{verbatim} + \usepackage[normalize-symbols,keep-semicolon]{alphabeta} +\end{verbatim} + +\texttt{normalize-symbols} merges ``letters'' and ``symbol`` variants of +some Greek letters to the ``letter'' character: +\footnote{The normalize-symbols option was added in version 0.13 (2015-08-03). + Unicode input of the symbol variants requires at least version~1.6 + (2015-08-05) of + \emph{\href{http://www.ctan.org/pkg/greek-inputenc}{greek-inputenc}}.} +Without this option, the symbol variant characters cannot be used in text, +because they are not supported by 8-bit Greek fonts (LGR encoding). +The \texttt{normalize-symbols} option is ignored, if you compile the +document with XeTeX or LuaTeX using Unicode fonts. \textbf{Attention}: Be careful in cases where the distinction between the symbol variants may be important (e.g. in a mathematical or scientific context). Use XeTeX/LuaTeX with Unicode fonts or the respective characters -in math mode (e.g. $π$ vs. $ϖ$). +in mathematical mode (e.g. $\pi$ vs. $\varpi$). + +The option \texttt{keep-semicolon} prevents conversion of the semicolon to +an \emph{ano teleia} (see \emph{\href{textalpha-doc.pdf}{textalpha-doc}}). + +\subsection{symbol variants} + +Mathematical notation uses variant shapes of some Greek letters as +additional symbols. The variations have no syntactic meaning in Greek text +and text fonts may use the variant shapes in place of the “regular” ones as +a stylistic choice. + +Unicode defines separate code points for the symbol variants. TeX supports +some of the variant shape symbols in mathematical mode, but its concept of +“standard” vs. “variant” symbols differs from the distinction between +“GREEK LETTER ...” vs. “GREEK ... SYMBOL” in the Unicode standard. +See \href{greek-euenc-doc.pdf}{greek-euenc-doc}. + +The \emph{alphabeta} package defines generic macros for these variants that +are short forms of the set defined in \texttt{greek-euenc.def}: +\begin{quote} + \verb|\<name>| selects the Unicode GREEK LETTER ... variant, + + \verb|\<name>symbol| selects the Unicode + GREEK ... SYMBOL variant, + + \verb|\var<name>| selects the variant + shape according to TeX' mathematical mode +\end{quote} +See Table \ref{tab:symbol-variant-macros} for the full list. + +\section{Limitations \label{sec:limitations}} + +With 8-bit TeX, the limitations described in the +\href{textalpha-doc.pdf}{textalpha documentation} apply. See also the tests +in section \hyperref[sec:8-bit-limitations]{8 bit limitations}. + +With XeTeX/LuaTeX and Unicode fonts, literal Unicode characters cannot be +used in formulas (the log file reports missing characters) +This is a generic TeX limitation which \emph{alphabeta} overcomes if used +under 8-bit TeX. Under XeTeX/LuaTeX it may be lifted using the +\href{http://www.ctan.org/pkg/unicode-math}{\emph{unicode-math}} +package, but unfortunately, \emph{alphabeta} conflicts +with \emph{unicode-math}. + \section{Tests and examples} @@ -132,7 +228,8 @@ switch: \sigma{} \varsigma{} \tau{} \upsilon{} \phi{} \chi{} \psi{} \omega{} \\ \digamma{} \Digamma{} \stigma{} \varstigma{}% - \footnote{\texttt{\textbackslash varstigma} is not defined with + \footnote{There is no separate Unicode code point for a stigma variant + symbol, \texttt{\textbackslash varstigma} is not defined with Xe/LuaTeX and similar to \texttt{\textbackslash stigma} in some fonts.} \koppa{} \qoppa{} \Qoppa{} \Stigma{} \Sampi{} \sampi{} @@ -146,76 +243,40 @@ Greek letters via Unicode input without language/font-encoding switch: ϝ Ϝ ϛ ϟ ϙ Ϙ Ϛ Ϡ ϡ \end{quote} -\subsubsection{symbol variants} +\subsection{Diacritics} -Mathematical notation uses variant shapes of some Greek letters as -additional symbols. The variations have no syntactic meaning in Greek text -and text fonts may use the variant shapes in place of the “regular” ones as -a stylistic choice. +Accent macros are set up for use with the generic macros by definition of +``TextComposite'' commands. -Unicode defines separate code points for the symbol variants. TeX supports -some of the variant shape symbols in mathematical mode, but its concept of -“standard” vs. “variant” symbols differs from the distinction between -“GREEK LETTER ...” vs. “GREEK ... SYMBOL” in the Unicode standard -See \href{greek-euenc-doc.pdf}{greek-euenc-doc}. +Diacritics (except the dialytika) should placed +before capital letters and dropped with MakeUppercase: -The \emph{alphabeta} package defines generic macros for these variants that -are short forms of the set defined in \texttt{greek-euenc.def}: \begin{quote} - \verb|\<name>| selects the Unicode GREEK LETTER ... variant, +\ensuregreek{ +\<{\alpha} \>{\epsilon} \"'{\iota} \>`{\eta} +\'<{\omicron} \~<{\upsilon} \~>{\omega} +\\ +\<{\Alpha} \>{\Epsilon} \'{\Iota} \>`{\Eta} +\'<{\Omicron} \~<{\Upsilon} \~>{\Omega} +\\ +\MakeUppercase{% + \<{\alpha} \>{\epsilon} \"'{\iota} \>`\eta{} + \'<{\omicron} \~<{\upsilon} \~>{\omega} +}} +\end{quote} - \verb|\<name>symbol| selects the Unicode - GREEK ... SYMBOL variant, - \verb|\var<name>| selects the variant - shape according to TeX' mathematical mode -\end{quote} -See Table \ref{tab:symbol-variant-macros} for the full list. -\begin{table}[tbp] - \centering - \begin{tabular}{lcc} - \hline - macro & text & math \\ - \hline - \verb$\pi$ & \pi & $\pi$ \\ - \verb$\varpi$ & \varpi & $\varpi$ \\ - \verb$\pisymbol$ & \pisymbol & $\pisymbol$ \\ - \hline - \verb$\rho$ & \rho & $\rho$ \\ - \verb$\varrho$ & \varrho & $\varrho$ \\ - \verb$\rhosymbol$ & \rhosymbol & $\rhosymbol$ \\ - \hline - \verb$\theta$ & \theta & $\theta$ \\ - \verb$\vartheta$ & \vartheta & $\vartheta$ \\ - \verb$\thetasymbol$ & \thetasymbol & $\thetasymbol$ \\ - \hline - \verb$\epsilon$ & \epsilon & $\epsilon$ \\ - \verb$\varepsilon$ & \varepsilon & $\varepsilon$ \\ - \verb$\epsilonsymbol$ & \epsilonsymbol & $\epsilonsymbol$ \\ - \hline - \verb$\phi$ & \phi & $\phi$ \\ - \verb$\varphi$ & \varphi & $\varphi$ \\ - \verb$\phisymbol$ & \phisymbol & $\phisymbol$ \\ - \hline - \verb$\beta$ & \beta & $\beta$ \\ - \verb$\varbeta$ & \varbeta & $\varbeta$ \\ - \verb$\betasymbol$ & \betasymbol & $\betasymbol$ \\ - \hline - \verb$\kappa$ & \kappa & $\kappa$ \\ - \verb$\varkappa$ & \varkappa & $\varkappa$ \\ - \verb$\kappasymbol$ & \kappasymbol & $\kappasymbol$\\ - \hline - \verb$\Theta$ & \Theta & $\Theta$ \\ - \verb$\varTheta$ & & $\varTheta$ \\ - \verb$\Thetasymbol$ & \Thetasymbol & \\ - \hline - \end{tabular} - \caption{Macros for Greek symbol variants. With 8-bit TeX and the - \texttt{normalize-symbols} option, the output for both variants in text - mode is the same, as 8-bit Greek text fonts contain only one symbol - variant.} \label{tab:symbol-variant-macros} -\end{table} +\subsection{normalize-symbols} +The \texttt{normalize-symbols} option merges ``letters'' and ``symbol`` +variants of some Greek letters to the ``letter'' character. It is ignored, +if the document uses Unicode fonts and is compiled with XeTeX or LuaTeX. +(This document is compiled using \engine.) +\begin{quote} + This quote uses both variants for beta (β|ϐ), theta (θ|ϑ), phi (φ|ϕ), pi + (π|ϖ), kappa (κ|ϰ), rho (ρ|ϱ), Theta (Θ|ϴ), and epsilon (ε|ϵ) in the LaTeX + source.% +\end{quote} \subsection{\ensuregreek{% @@ -232,12 +293,15 @@ Greek. (Here, the dasia is dropped at the start of the word in parentheses in the PDF toc. The warning ``\texttt{Glyph not defined in PU encoding, removing `\textbackslash<' on input line 145.}'' is written to the log.) -Warnings like \texttt{Token not allowed in a PDF string -(Unicode): removing `\textbackslash TextOrMath ' on input line 145.} +Warnings like +\begin{verbatim} + Token not allowed in a PDF string (Unicode): + removing `\textbackslash TextOrMath ' on input line 145. +\end{verbatim} can be ignored or avoided with the preamble code: \begin{verbatim} - \pdfstringdefDisableCommands{\let\TextOrMath\@firstoftwo} + \pdfstringdefDisableCommands{\let\TextOrMath\@firstoftwo} \end{verbatim} @@ -248,17 +312,8 @@ In the main document, Greek in math mode should work as usual: \[\Gamma = \frac{\sin\alpha}{\cos{\beta}}. \] -With 8-bit TeX, literal Greek Unicode characters are supported also in -mathematical mode (for XeTeX/LuaTeX use unicode-math): - -\[ Γ = \frac{\sin α}{\cos{β}}. -\] - -Greek letters and symbols in math (there are no math macros for Greek letters wich exist -with similar shape in the Latin alphabet): - -Input as macro: - +Greek letters and symbols in math input as macro (there are no math macros +for Greek letters wich exist with similar shape in the Latin alphabet): \begin{align*} & % \Alpha{} \Beta{} @@ -287,78 +342,68 @@ Input as macro: \vartheta \varphi \varpi \digamma{} \varrho \varepsilon \end{align*} -Input as Unicode literals (with XeTeX/LuaTeX, this requires the unicode-math -package): - -\begin{align*} & Γ ΔΘΛΞΠΣΥ ΦΨ Ω \\ - & αβγδεζηθικλμνξπρσςτυφχψω \\ - & ϑϕϖϝϱϵ -\end{align*} - -The "normal" vs. "variant" shape of phi and epsilon is inverted when using -traditional makros or Unicode letter vs. symbol characters respectively. -This is to keep backwards compatibility of the math macros as well -as consistent input-output mapping for Unicode in text and math. - PDF strings do not know math mode. The content of a formula or equation is evaluated in text mode with non-valid commands discarded (and warnings written to the log). This works resonably well for simple formulas (but not, e.g., for super-/subscripts). With the \emph{alphabeta} package, it works also for Greek letters. +\subsection{Greek Unicode characters in math (only under 8-bit TeX)} -\subsection{Diacritics} - -Accent macros are set up for use with the generic macros by definition of -``TextComposite'' commands. - -Diacritics (except the dialytika) should placed -before capital letters and dropped with MakeUppercase: - -\begin{quote} -\ensuregreek{ -\<{\alpha} \>{\epsilon} \"'{\iota} \>`{\eta} -\'<{\omicron} \~<{\upsilon} \~>{\omega} -\\ -\<{\Alpha} \>{\Epsilon} \'{\Iota} \>`{\Eta} -\'<{\Omicron} \~<{\Upsilon} \~>{\Omega} -\\ -\MakeUppercase{% - \<{\alpha} \>{\epsilon} \"'{\iota} \>`\eta{} - \'<{\omicron} \~<{\upsilon} \~>{\omega} -}} -\end{quote} +With the \texttt{utf8} option of \emph{inputenc} and +\href{http://www.ctan.org/pkg/greek-inputenc}{\emph{greek-inputenc}}, +literal Greek Unicode characters are supported also in +mathematical mode: +\[ + Γ = \frac{\sin α}{\cos β}. +\] +Greek letters and symbols in math input as Unicode literals: +\begin{align*} + \ifdefined\DeclareUnicodeCharacter + & Γ ΔΘΛΞΠΣΥ ΦΨ Ω \\ + & αβγδεζηθικλμνξπρσςτυφχψω \\ + & ϑϕϖϝϱϵ + \else + \text{This does not work with XeTeX/LuaTeX (unless in 8-bit emulation + mode).} + \fi +\end{align*} +The ``normal'' vs. ``variant'' shape of phi and epsilon is inverted when using +traditional makros or Unicode letter vs. symbol characters respectively. +This is to keep backwards compatibility of the math macros as well +as consistent input-output mapping for Unicode in text and math. +It corresponds to the behaviour of +\href{http://www.ctan.org/pkg/unicode-math}{\emph{unicode-math}} +with the default option \texttt{vargreek-shape=TeX}. -\subsection{Limitations} +\subsection{8-bit limitations \label{sec:8-bit-limitations}} -With 8-bit TeX, the following limitations known from -\emph{\href{textalpha-doc.pdf}{textalpha}} apply if the current font -encoding is not LGR: +These limitations are lifted, if the document is compiled with XeTeX/LuaTeX. \begin{itemize} \item Composition of diacritics (like \verb+\>\'+) fails: - \<{\alpha} \>{\epsilon} \"'{\iota} \>`\eta{} \'<{\omicron} \~<{\upsilon} \~>{\omega} - Long names (like \verb+\accdasiaoxia+) work in any font encoding, - however they do not select precomposed characters (the difference - becomes obvious if you drag-and-drop text from the PDF version of this - document): + Simple diacritics and long names (like \verb+\accdasiaoxia+) work in + any font encoding, however they do not select precomposed characters + (the difference becomes obvious if you drag-and-drop text from the PDF + version of this document): % - \ensuregreek{\<'\alpha{} \accdasia\acctonos\alpha{} \accdasiaoxia\alpha{}} - (LGR) vs. \accdasiaoxia\alpha{} (T1) + \ensuregreek{\<'\alpha{} \accdasia\acctonos\alpha{} \accdasiaoxia\alpha{} + (\currentEncoding)} vs. \accdasiaoxia\alpha{} (\currentEncoding) \item MakeUppercase fails with composite diacritics in other font encodings. % \MakeUppercase{% % \<\alpha{} \>\epsilon{} \'\iota{} \`\eta{} \~\upsilon{} % } -\item There is no kerning between Greek letters, if the font encoding is not - LGR: compare \ensuregreek{\Alpha\Upsilon\Alpha} (LGR) to \Alpha\Upsilon\Alpha (T1). - Because of this (and for proper hyphenation), use of the Babel package - and correct language setting is recommended for Greek quotes. +\item There is no kerning between Greek letters, if the font encoding does not + support Greek: compare \ensuregreek{\Alpha\Upsilon\Alpha + (\currentEncoding)} to \Alpha\Upsilon\Alpha{} (\currentEncoding). Because + of this (and for proper hyphenation), use of the Babel package and + correct language setting is recommended for Greek quotes. \end{itemize} @@ -368,4 +413,49 @@ inside the argument, \ensuregreek{\Alpha\"\Upsilon\Alpha}), and allows combining of accent macros where pre-composed characters are selected (\ensuregreek{\<'\alpha}). +\begin{table}[bp] + \centering + \begin{tabular}{lcc} + \hline + macro & text & math \\ + \hline + \verb$\pi$ & \pi & $\pi$ \\ + \verb$\varpi$ & \varpi & $\varpi$ \\ + \verb$\pisymbol$ & \pisymbol & $\pisymbol$ \\ + \hline + \verb$\rho$ & \rho & $\rho$ \\ + \verb$\varrho$ & \varrho & $\varrho$ \\ + \verb$\rhosymbol$ & \rhosymbol & $\rhosymbol$ \\ + \hline + \verb$\theta$ & \theta & $\theta$ \\ + \verb$\vartheta$ & \vartheta & $\vartheta$ \\ + \verb$\thetasymbol$ & \thetasymbol & $\thetasymbol$ \\ + \hline + \verb$\epsilon$ & \epsilon & $\epsilon$ \\ + \verb$\varepsilon$ & \varepsilon & $\varepsilon$ \\ + \verb$\epsilonsymbol$ & \epsilonsymbol & $\epsilonsymbol$ \\ + \hline + \verb$\phi$ & \phi & $\phi$ \\ + \verb$\varphi$ & \varphi & $\varphi$ \\ + \verb$\phisymbol$ & \phisymbol & $\phisymbol$ \\ + \hline + \verb$\beta$ & \beta & $\beta$ \\ + \verb$\varbeta$ & \varbeta & $\varbeta$ \\ + \verb$\betasymbol$ & \betasymbol & $\betasymbol$ \\ + \hline + \verb$\kappa$ & \kappa & $\kappa$ \\ + \verb$\varkappa$ & \varkappa & $\varkappa$ \\ + \verb$\kappasymbol$ & \kappasymbol & $\kappasymbol$\\ + \hline + \verb$\Theta$ & \Theta & $\Theta$ \\ + \verb$\varTheta$ & & $\varTheta$ \\ + \verb$\Thetasymbol$ & \Thetasymbol & \\ + \hline + \end{tabular} + \caption{Macros for Greek symbol variants ($\oslash$ = symbol missing). + With 8-bit TeX and the \texttt{normalize-symbols} option, the output for + both variants in text mode is the same (8-bit Greek text fonts contain + only one symbol variant). \label{tab:symbol-variant-macros}} +\end{table} + \end{document} diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/alphabeta.sty.html b/Master/texmf-dist/doc/latex/greek-fontenc/alphabeta.sty.html index 9f6e4a234f0..3bd9daef0ee 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/alphabeta.sty.html +++ b/Master/texmf-dist/doc/latex/greek-fontenc/alphabeta.sty.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>alphabeta: Greek symbols in text and math</title> +<meta name="dcterms.rights" content="© 2010 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 7916 2015-09-11 15:20:14Z milde $ */ +/* :Id: $Id: minimal.css 8036 2017-02-14 13:05:46Z milde $ */ /* :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 { @@ -184,28 +189,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, @@ -265,7 +276,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: plain.css 8120 2017-06-22 21:02:40Z milde $ */ /* :Copyright: © 2015 Günter Milde. */ /* :License: Released under the terms of the `2-Clause BSD license`_, */ /* in short: */ @@ -329,9 +340,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) */ @@ -416,6 +427,8 @@ div.topic p.attribution { /* th { vertical-align: bottom; } */ +table tr { text-align: left; } + /* "booktabs" style (no vertical lines) */ table.booktabs { border: 0; @@ -428,7 +441,6 @@ table.booktabs * { } table.booktabs th { border-bottom: thin solid; - text-align: left; } /* numbered tables (counter defined in div.document) */ @@ -458,16 +470,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 @@ -641,8 +657,14 @@ to ensure proper hyphenation.</p> of Greek characters with 8-bit TeX and the <a class="reference external" href="http://www.ctan.org/pkg/inputenc">inputenc</a> package:</p> <pre class="code latex literal-block"><code><span class="keyword">\usepackage</span><span class="name attribute">[utf-8]</span><span class="name builtin">{</span>inputenc<span class="name builtin">}</span> <span class="keyword">\usepackage</span><span class="name builtin">{</span>alphabeta<span class="name builtin">}</span></code></pre> +<div class="section" id="conflicts"> +<h2>Conflicts</h2> +<p><cite>alphabeta</cite> does not work if the <span class="docutils literal">utf8x</span> input encoding is selected. +(<span class="docutils literal">utf8x</span> is an interface to the <span class="docutils literal">ucs</span> package which uses a +non-compatible definition of <span class="docutils literal">\DeclareUnicodeCharacter</span>.)</p> <p>For details see <a class="reference external" href="alphabeta-doc.tex">alphabeta-doc.tex</a> and <a class="reference external" href="alphabeta-doc.pdf">alphabeta-doc.pdf</a>.</p> </div> +</div> <div class="section" id="implementation"> <h1>Implementation</h1> <div class="section" id="requirements"> @@ -653,10 +675,10 @@ Package options are passed on to <cite>textalpha</cite>:</p> <p>Just like <cite>alphabeta</cite>, <cite>textalpha</cite> is part of <a class="reference external" href="http://www.ctan.org/pkg/greek-fontenc">greek-fontenc</a>.</p> <p>This package requires the <a class="reference external" href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=etex">e-TeX</a> extensions (i.e. a not too old TeX distribution) for the <span class="docutils literal">\ifdefined</span> test.</p> -<p>It uses the <span class="docutils literal">\TextOrMath</span> test from the <a class="reference external" href="http://www.ctan.org/pkg/fixltx2e">fixltx2e</a> standard LaTeX -package:</p> -<pre class="literal-block">% fixltx2e is not required with releases after 2015 -%\RequirePackage{fixltx2e}</pre> +<p>It uses the <span class="docutils literal">\TextOrMath</span> test from the <a class="reference external" href="http://www.ctan.org/pkg/fixltx2e">fixltx2e</a> standard LaTeX package. +<span class="docutils literal">fixltx2e</span> is loaded by default since TeXLive 2015. In case of an +<span class="docutils literal">\TextOrMath undefined</span> error, load it in the document preamble via</p> +<pre class="code latex literal-block"><code><span class="keyword">\usepackage</span><span class="name builtin">{</span>fixltx2e<span class="name builtin">}</span></code></pre> </div> <div class="section" id="postpone-the-re-definitions"> <h2>Postpone the re-definitions</h2> @@ -738,8 +760,8 @@ encoding while Unicode defines separate code points for the symbol variants.</p> without this package) and refer to GREEK LETTER … in text. For <span class="docutils literal">\epsilon</span> and <span class="docutils literal">phi</span>, this means that the selected symbol variant differs in text vs. math mode. Use <span class="docutils literal">\varepsilon</span> and <span class="docutils literal">\varphi</span> (see -section <a class="reference internal" href="#variant-shape-symbols">variant shape symbols</a> below) to select the GREEK LETTER …” in both, -text and math mode.</p> +section <a class="reference internal" href="#variant-shape-symbols">variant shape symbols</a> below) to select the GREEK LETTER …” +in both, text and math mode.</p> <pre class="literal-block">\providecommand*{\Alpha}{\textAlpha} \providecommand*{\Beta}{\textBeta} \renewcommand*{\Gamma}{\TextOrMath{\textGamma}{\mathGamma}} 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 fb56d7326a7..0229ff272cf 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 4c9084584a4..b435c29e57b 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-euenc-doc.tex b/Master/texmf-dist/doc/latex/greek-fontenc/greek-euenc-doc.tex index 8cc2fad5403..78ed736ef13 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/greek-euenc-doc.tex +++ b/Master/texmf-dist/doc/latex/greek-fontenc/greek-euenc-doc.tex @@ -4,6 +4,7 @@ \usepackage{bookmark} % \usepackage{parskip} \usepackage{booktabs} +\usepackage{amssymb} % It is possible to use 8-bit Greek text fonts in the LGR TeX font encoding % also with XeTeX/LuaTeX, if the »fontenc« package is loaded before @@ -11,17 +12,17 @@ \usepackage[LGR]{fontenc} % Unicode font setup: -\usepackage{fontspec} % also loads xunicode +\usepackage[tuenc]{fontspec} % \setmainfont{DejaVu Serif} % \setsansfont{DejaVu Sans} % \usepackage{libertineotf} -% \setmainfont{Linux Libertine O} +\setmainfont{Linux Libertine O} \setsansfont{Linux Biolinum O} \setmainfont{FreeSerif}% % \setmainfont{Droid Sans} % Declare the font encoding and Greek LICR definitions: -\usepackage{textalpha} +\usepackage[normalize-symbols]{textalpha} \begin{document} @@ -34,8 +35,8 @@ The file \href{greek-euenc.def.html}{greek-euenc.def} provides support for Greek LICR macros and upcasing of text with XeTeX and LuaTeX. It is automatically loaded by the \href{textalpha-doc.pdf}{\emph{textalpha}} and \href{alphabeta-doc.pdf}{\emph{alphabeta}} packages as well as -\href{http://www.ctan.org/pkg/babel-greek}{\emph{babel-greek}}, if the font -encoding is set to one of the Unicode font encodings EU1 or EU2 (usually via +\href{http://www.ctan.org/pkg/babel-greek}{\emph{babel-greek}} if the font +encoding is set to the Unicode font encoding TU (usually via the \href{http://www.ctan.org/pkg/fontspec}{\emph{fontspec}} package for font setup with LuaTeX and XeTeX). @@ -43,11 +44,10 @@ font setup with LuaTeX and XeTeX). \section{Requirements} -\subsection{euenc} - The \href{http://www.ctan.org/pkg/euenc}{\emph{euenc}} package sets up the - EU1 and EU2 unicode font encodings for XeTeX and LuaTeX respectively. - However, it does not include support for the Greek script. It is normally - loaded by \href{http://www.ctan.org/pkg/fontspec}{\emph{fontspec}}. +\subsection{fontspec} + The \href{http://www.ctan.org/pkg/fontspec}{\emph{fontspec}} package sets + up the TU Unicode font encoding for XeTeX and LuaTeX. However, it does not + include support for the Greek script. \subsection{suitable Unicode fonts} With the XeTeX or LuaTeX engines, the user must ensure that the selected @@ -56,14 +56,16 @@ Greek letters). There are no errors for missing glyphs, just warnings in the log file (but not the console output) and empty spaces in the output document. -Examples for suitable fonts are the \emph{Deja Vu}, \emph{Free Serif} or -\emph{Linux Libertine} OpenType fonts. +Examples for suitable fonts are given in the +\href{http://mirrors.ctan.org/language/greek/greek-fontenc/README.html#TU} +{greek-fontenc README}. + \section{Usage} \texttt{greek-euenc.def} is usually not loaded directly, but by one of \href{textalpha-doc.pdf}{\emph{textalpha}}, -\href{alphabeta-doc.pdf}{\emph{alphabeta}}, or \emph{babel} (with the +\href{alphabeta-doc.pdf}{\emph{alphabeta}}, or \emph{Babel} (with the language option \href{http://www.ctan.org/pkg/babel-greek}{greek}). If these packages are loaded after \href{http://www.ctan.org/pkg/fontspec}{\emph{fontspec}}, Unicode font setup @@ -71,7 +73,7 @@ is amended for use of the Greek script. \section{LICR input} -The LaTeX internal character representation (LICR) is a verbose but +The LaTeX internal character representation (LICR) is a verbose, fail-safe 7-bit ASCII encoding that can be used unaltered under both, 8-bit TeX and XeTeX/LuaTeX. Use cases are macro definitions and generated text. @@ -98,10 +100,10 @@ Greek letters via LICR macros: The small sigma is set with a different glyph if it ends a word: \begin{quote} - \textsigma{} textsigma\\ - \textfinalsigma{} textfinalsigma or textvarsigma + \textsigma{} \verb|textsigma|\\ + \textfinalsigma{} \verb|textfinalsigma| or \verb|textvarsigma| \end{quote} -The \verb|\textautosigma| macro/feature, which automatically chooses the +The \verb|\textautosigma| macro, which automatically chooses the glyph according to the position, is not implemented for Unicode fonts. \subsection{Diacritics} @@ -115,11 +117,12 @@ Greek diacritics can be input by named macro or symbol macro: \accpsili\textalpha \>\textalpha{} \accpsili x\>x \accdasia\textalpha \<\textalpha{} \accdasia x\<x \end{quote} -Up-to-date XeTeX/LuaTeX (or fontspec?) normalizes base letter and -combining diacritics to the corresponding pre-composed character if such a -mapping is defined in the Unicode standard: +Up-to-date Xe/LuaTeX normalizes base letter and combining diacritics to the +corresponding pre-composed character if such a mapping is defined in the +Unicode standard: \begin{quote} + % άάὰὰϊϊᾶᾶἀἀἁἁ \acctonos α \'α \accvaria α \`α \accdialytika ι \"ι @@ -131,6 +134,8 @@ mapping is defined in the Unicode standard: \subsubsection{perispomeni vs. tilde} +The Greek \emph{perispomeni} has the look of a tilde but the semantic +of a circumflex accent. The ``named'' \verb|\accperispomeni| macro uses COMBINING GREEK PERISPOMENI, while the standard tilde-accent macro \verb|\~| uses the COMBINING TILDE which is not normalized to GREEK LETTER ... WITH PERISPOMENI @@ -181,15 +186,15 @@ The sub-iota (ypogegrammeni/prosgegrammeni) is input after the base letter. \begin{quote} -\verb|\prosgegrammeni| sets a (spacing) GREEK PROSGEGRAMMENI:\\ - \textAlpha\prosgegrammeni{} K\prosgegrammeni{} - -\verb|\ypogegrammeni| sets a COMBINING GREEK YPOGEGRAMMENI. A -Greek capital letter followed by COMBINING GREEK YPOGEGRAMMENI is normalized -to the corresponding GREEK CAPITAL LETTER ... WITH [.. AND] PROSGEGRAMMENI), -if a mapping exists in the Unicode standard: - \textalpha\ypogegrammeni{} k\ypogegrammeni{} - \textAlpha\ypogegrammeni{} K\ypogegrammeni{} +\verb|\prosgegrammeni| sets a spacing GREEK PROSGEGRAMMENI: + \textAlpha\prosgegrammeni{} K\prosgegrammeni{}. + +\verb|\ypogegrammeni| sets a COMBINING GREEK YPOGEGRAMMENI. \\ +A Greek capital letter followed by COMBINING GREEK YPOGEGRAMMENI is +normalized to the corresponding GREEK CAPITAL LETTER ... WITH [.. AND] +PROSGEGRAMMENI), if a mapping exists in the Unicode standard: +\textalpha\ypogegrammeni{} k\ypogegrammeni{} \textAlpha\ypogegrammeni{} +K\ypogegrammeni{}. \end{quote} \subsection{Additional Greek symbols} @@ -299,7 +304,7 @@ work in text and math mode. \verb$\textbetasymbol$ & \textbetasymbol & & \\ \hline \verb$\textkappa$ & \textkappa & \verb$\kappa$ & $\kappa$ \\ - \verb$\textvarkappa$ & \textvarkappa & \emph{missing} & \\ + \verb$\textvarkappa$ & \textvarkappa & \verb$\varkappa$ & $\varkappa$ \\ \verb$\textkappasymbol$ & \textkappasymbol & & \\ \hline \verb$\textTheta$ & \textTheta & \verb$\Theta$ & $\Theta$ \\ @@ -346,7 +351,7 @@ or the file usage.pdf from the description.} does not work with Unicode fonts. -Is is possible to set up LGR encoded fonts parallel to Unicode fonts (see +It is possible to set up LGR encoded fonts parallel to Unicode fonts (see the preamble of the source file \url{greek-euenc-doc.tex} for an example). The \verb|\textgreek| macro can then be used for the input of Greek letters via the \emph{Latin transcription}, e.g. «logos» becomes «\textgreek{logos}» @@ -419,11 +424,18 @@ The «hiatus» feature works with macro input: \MakeUppercase{\accpsili\textalpha\textupsilon πνία}. \end{quote} -It does not work (yet?) with Unicode literals: +It does not work with Unicode literals: \begin{quote} άι, άυ, έι, ἄι, ἄυ, ἔι $\mapsto$ \MakeUppercase{άι, άυ, έι, ἄι, ἄυ, ἔι} \end{quote} +or accent-macro + Unicode literals (yet?): +\begin{quote} + \acctonos αι, \acctonos αυ, \acctonos ει, \'>αι, \'>αυ, \'>ει + $\mapsto$ + \MakeUppercase{\acctonos αι, \acctonos αυ, \acctonos ει, \'>αι, \'>αυ, \'>ει} +\end{quote} + \section{Character Tables} The following tables list the Greek Unicode characters. In the input, the diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/greek-euenc.def.html b/Master/texmf-dist/doc/latex/greek-fontenc/greek-euenc.def.html index 582aa45593f..70f720ebae4 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/greek-euenc.def.html +++ b/Master/texmf-dist/doc/latex/greek-fontenc/greek-euenc.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-euenc.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 7916 2015-09-11 15:20:14Z milde $ */ +/* :Id: $Id: minimal.css 8036 2017-02-14 13:05:46Z milde $ */ /* :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 { @@ -184,28 +189,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, @@ -265,7 +276,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: plain.css 8120 2017-06-22 21:02:40Z milde $ */ /* :Copyright: © 2015 Günter Milde. */ /* :License: Released under the terms of the `2-Clause BSD license`_, */ /* in short: */ @@ -329,9 +340,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) */ @@ -416,6 +427,8 @@ div.topic p.attribution { /* th { vertical-align: bottom; } */ +table tr { text-align: left; } + /* "booktabs" style (no vertical lines) */ table.booktabs { border: 0; @@ -428,7 +441,6 @@ table.booktabs * { } table.booktabs th { border-bottom: thin solid; - text-align: left; } /* numbered tables (counter defined in div.document) */ @@ -458,16 +470,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 @@ -562,7 +578,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-euenc.def} -[2015/08/07 0.13 Greek LICRs for XeTeX and LuaTeX]</pre> +[2018/01/06 0.13.3 Greek LICRs for XeTeX and LuaTeX]</pre> </dd> </dl> <div class="abstract topic"> @@ -629,6 +645,10 @@ fix upcasing of <span class="docutils literal">\finalsigma</span>.</p></td> <td></td> <td><p>LICR macros for symbol variants.</p></td> </tr> +<tr><td><p>0.13.3</p></td> +<td><p>2018-01-06</p></td> +<td><p>Documentation update.</p></td> +</tr> </tbody> </table> </dd> @@ -669,8 +689,7 @@ selection</a>.</p> </div> <div class="section" id="requirements"> <h1><a class="toc-backref" href="#id2">Requirements</a></h1> -<p>Requires XeTeX or LuaTeX, <a class="reference external" href="http://www.ctan.org/pkg/euenc">euenc</a> (usually loaded via <a class="reference external" href="http://www.ctan.org/pkg/fontspec">fontspec</a>), and a font -with Greek characters.</p> +<p>Requires XeTeX or LuaTeX, <a class="reference external" href="http://www.ctan.org/pkg/fontspec">fontspec</a>, and a font with Greek characters.</p> <p>See <a class="reference external" href="greek-euenc-doc.tex">greek-euenc-doc.tex</a> and <a class="reference external" href="greek-euenc-doc.pdf">greek-euenc-doc.pdf</a> for setup and usage examples.</p> </div> diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/greek-euenc.def.txt b/Master/texmf-dist/doc/latex/greek-fontenc/greek-euenc.def.txt new file mode 100644 index 00000000000..c022f7f160a --- /dev/null +++ b/Master/texmf-dist/doc/latex/greek-fontenc/greek-euenc.def.txt @@ -0,0 +1,881 @@ +greek-euenc.def ++++++++++++++++ +Greek LICR definitions for XeTeX and LuaTeX +******************************************* + +:Copyright: © 2013 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{greek-euenc.def} + [2018/01/06 0.13.3 Greek LICRs for XeTeX and LuaTeX] + +:abstract: + Experimental support for Greek LICR macros with XeTeX and LuaTeX. + Extends euenc_. Used by babel-greek_ and textalpha_. + +**History**: + .. class:: borderless + + ====== ========== ======================================================== + 0.1 2013-07-16 initial version + 0.1.1 2013-07-18 bugfix: wrong breathings psilioxia -> dasiaoxia + 0.1.2 2013-07-19 bugfix: Disable composite defs starting with char macro, + .. fix "hiatus" handling. + 0.1.3 2013-07-24 fix "input" path. + 0.1.4 2013-10-01 remove clashing defs for legacy characters with oxia, + .. fix upcasing of ``\finalsigma``. + 0.11.1 2013-12-01 fix identification. + 0.11.2 2014-09-08 ``\textKoppa`` macro + .. (Capital Koppa is not defined in LGR but Unicode). + 0.12 2014-12-12 Remove symbol macros for breathing accents. + 0.13 2015-08-07 ``\lccode``/``\uccode`` corrections from xgreek_. + .. LICR macros for symbol variants. + 0.13.3 2018-01-06 Documentation update. + ====== ========== ======================================================== + +.. contents:: + +Motivation +========== + +LICR macro definitions for the Greek script are missing in both, xunicode_ +and euenc_. + +This file expands the font encoding definition files ``eu1enc.def`` rsp. +``eu2enc.def`` from euenc_ defining `LaTeX Internal Character +Representaction` (LICR) macros for Greek letters and symbols. It works +independed of xunicode_ using the standard commands for `LaTeX2e font +selection`_. + +Requirements +============ + +Requires XeTeX or LuaTeX, fontspec_, and a font with Greek characters. + +See `<greek-euenc-doc.tex>`_ and `<greek-euenc-doc.pdf>`_ for setup and +usage examples. + + +Greek Diacritics +================ + +Define "named macros" for simple and combined diacritics. + +* Named accent macros can be used instead of the ``\@tabacckludge`` by + to-LaTeX converters to ensure working also inside the tabbing environment. + +* Named macros are required for upcasing according to Greek typesetting + conventions and in the definition of composite commands. + +Greek alias names for standard accents:: + + \DeclareTextCommand{\acctonos}{\LastDeclaredEncoding}{\@tabacckludge'} + \DeclareTextCommand{\accvaria}{\LastDeclaredEncoding}{\@tabacckludge`} + \DeclareTextCommand{\accdialytika}{\LastDeclaredEncoding}{\@tabacckludge"} + +The combining perispomeni character is normalized with Greek base letters, +while the (standard) combining tilde is not:: + + \DeclareTextCommand{\accperispomeni}{\LastDeclaredEncoding}[1]{#1\char"0342 } + +Breathings: + +(The COMBINING GREEK KORONIS is a legacy character, discarded in favour of +COMBINING COMMA ABOVE) :: + + \DeclareTextCommand{\accpsili}{\LastDeclaredEncoding}[1]{#1\char"0313 } % ψιλή spiritus lenis (smooth breathing) + \DeclareTextCommand{\accdasia}{\LastDeclaredEncoding}[1]{#1\char"0314 } % δασεῖα spiritus asper (rough breathing) + + +Sub-iota: + +``\ypogegrammeni`` is a postfix accent (ligature in LGR) :: + + \DeclareTextSymbol{\ypogegrammeni}{\LastDeclaredEncoding}{0837} % COMBINING GREEK YPOGEGRAMMENI + +Combined diacritics:: + + % The COMBINING DIALYTIKA TONOS is discarded and not well supported by fonts: + \DeclareTextCommand{\accdialytikatonos}{\LastDeclaredEncoding}[1]{#1\char"0308 \char"0301 } + \DeclareTextCommand{\accdialytikavaria}{\LastDeclaredEncoding}[1]{#1\char"0308 \char"0300 } + \DeclareTextCommand{\accdialytikaperispomeni}{\LastDeclaredEncoding}[1]{#1\char"0342 \char"0308 } + + \DeclareTextCommand{\accdasiaoxia}{\LastDeclaredEncoding}[1]{#1\char"0314 \char"0301 } + \DeclareTextCommand{\accdasiavaria}{\LastDeclaredEncoding}[1]{#1\char"0314 \char"0300 } + \DeclareTextCommand{\accdasiaperispomeni}{\LastDeclaredEncoding}[1]{#1\char"0314 \char"0342 } + + \DeclareTextCommand{\accpsilioxia}{\LastDeclaredEncoding}[1]{#1\char"0301 \char"0313 } + \DeclareTextCommand{\accpsilivaria}{\LastDeclaredEncoding}[1]{#1\char"0300 \char"0313 } + \DeclareTextCommand{\accpsiliperispomeni}{\LastDeclaredEncoding}[1]{#1\char"0342 \char"0313 } + + +Common Definitions +================== + +Use the `common Greek font encoding definitions`_:: + + \input{greek-fontenc.def} + + +Character Definitions +===================== + +General Punctuation +~~~~~~~~~~~~~~~~~~~ + +Ligature break up with ZERO WIDTH NON-JOINER:: + + \DeclareTextCommand{\textcompwordmark}{\LastDeclaredEncoding}{\char"200C} + +Greek and Coptic +~~~~~~~~~~~~~~~~ + +:: + + % 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 % ͳ + \DeclareTextCommand{\textdexiakeraia}{\LastDeclaredEncoding}{ʹ} % \anwtonos, \textnumeralsigngreek + \DeclareTextCommand{\textaristerikeraia}{\LastDeclaredEncoding}{͵} % \katwtonos, \textnumeralsignlowergreek + % 0376 GREEK CAPITAL LETTER PAMPHYLIAN DIGAMMA % Ͷ + % 0377 GREEK SMALL LETTER PAMPHYLIAN DIGAMMA % ͷ + + % 037A GREEK YPOGEGRAMMENI (use \textcompwordmark\ypogegrammeni) % ͺ + % 037B GREEK SMALL REVERSED LUNATE SIGMA SYMBOL + % 037C GREEK SMALL DOTTED LUNATE SIGMA SYMBOL + % 037D GREEK SMALL REVERSED DOTTED LUNATE SIGMA SYMBOL + \DeclareTextCommand{\texterotimatiko}{\LastDeclaredEncoding}{;} % 037E GREEK QUESTION MARK + + \DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textcompwordmark}{΄} + \DeclareTextCompositeCommand{\accdialytikatonos}{\LastDeclaredEncoding}{\textcompwordmark}{΅} + \DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textAlpha}{Ά} + \DeclareTextCommand{\textanoteleia}{\LastDeclaredEncoding}{·} % \anoteleia + \DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textEpsilon}{Έ} + \DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textEta}{Ή} + \DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textIota}{Ί} + \DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textOmicron}{Ό} + \DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textUpsilon}{Ύ} + \DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textOmega}{Ώ} + \DeclareTextCompositeCommand{\accdialytikatonos}{\LastDeclaredEncoding}{\textiota}{ΐ} + + \DeclareTextCommand{\textAlpha}{\LastDeclaredEncoding}{Α} + \DeclareTextCommand{\textBeta}{\LastDeclaredEncoding}{Β} + \DeclareTextCommand{\textGamma}{\LastDeclaredEncoding}{Γ} + \DeclareTextCommand{\textDelta}{\LastDeclaredEncoding}{Δ} + \DeclareTextCommand{\textEpsilon}{\LastDeclaredEncoding}{Ε} + \DeclareTextCommand{\textZeta}{\LastDeclaredEncoding}{Ζ} + \DeclareTextCommand{\textEta}{\LastDeclaredEncoding}{Η} + \DeclareTextCommand{\textTheta}{\LastDeclaredEncoding}{Θ} + \DeclareTextCommand{\textIota}{\LastDeclaredEncoding}{Ι} + \DeclareTextCommand{\textKappa}{\LastDeclaredEncoding}{Κ} + \DeclareTextCommand{\textLambda}{\LastDeclaredEncoding}{Λ} + \DeclareTextCommand{\textMu}{\LastDeclaredEncoding}{Μ} + \DeclareTextCommand{\textNu}{\LastDeclaredEncoding}{Ν} + \DeclareTextCommand{\textXi}{\LastDeclaredEncoding}{Ξ} + \DeclareTextCommand{\textOmicron}{\LastDeclaredEncoding}{Ο} + \DeclareTextCommand{\textPi}{\LastDeclaredEncoding}{Π} + \DeclareTextCommand{\textRho}{\LastDeclaredEncoding}{Ρ} + \DeclareTextCommand{\textSigma}{\LastDeclaredEncoding}{Σ} + \DeclareTextCommand{\textTau}{\LastDeclaredEncoding}{Τ} + \DeclareTextCommand{\textUpsilon}{\LastDeclaredEncoding}{Υ} + \DeclareTextCommand{\textPhi}{\LastDeclaredEncoding}{Φ} + \DeclareTextCommand{\textChi}{\LastDeclaredEncoding}{Χ} + \DeclareTextCommand{\textPsi}{\LastDeclaredEncoding}{Ψ} + \DeclareTextCommand{\textOmega}{\LastDeclaredEncoding}{Ω} + + \DeclareTextCompositeCommand{\"}{\LastDeclaredEncoding}{\textIota}{Ϊ} + \DeclareTextCompositeCommand{\"}{\LastDeclaredEncoding}{\textUpsilon}{Ϋ} + \DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textalpha}{ά} + \DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textepsilon}{έ} + \DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\texteta}{ή} + \DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textiota}{ί} + \DeclareTextCompositeCommand{\accdialytikatonos}{\LastDeclaredEncoding}{\textupsilon}{ΰ} + + \DeclareTextCommand{\textalpha}{\LastDeclaredEncoding}{α} + \DeclareTextCommand{\textbeta}{\LastDeclaredEncoding}{β} + \DeclareTextCommand{\textgamma}{\LastDeclaredEncoding}{γ} + \DeclareTextCommand{\textdelta}{\LastDeclaredEncoding}{δ} + \DeclareTextCommand{\textepsilon}{\LastDeclaredEncoding}{ε} + \DeclareTextCommand{\textvarepsilon}{\LastDeclaredEncoding}{ε} % cf. $\varepsiolon$ + \DeclareTextCommand{\textzeta}{\LastDeclaredEncoding}{ζ} + \DeclareTextCommand{\texteta}{\LastDeclaredEncoding}{η} + \DeclareTextCommand{\texttheta}{\LastDeclaredEncoding}{θ} + \DeclareTextCommand{\textiota}{\LastDeclaredEncoding}{ι} + \DeclareTextCommand{\textkappa}{\LastDeclaredEncoding}{κ} + \DeclareTextCommand{\textlambda}{\LastDeclaredEncoding}{λ} + \DeclareTextCommand{\textmu}{\LastDeclaredEncoding}{μ} % \textmugreek + \DeclareTextCommand{\textnu}{\LastDeclaredEncoding}{ν} + \DeclareTextCommand{\textxi}{\LastDeclaredEncoding}{ξ} + \DeclareTextCommand{\textomicron}{\LastDeclaredEncoding}{ο} + \DeclareTextCommand{\textpi}{\LastDeclaredEncoding}{π} + \DeclareTextCommand{\textrho}{\LastDeclaredEncoding}{ρ} + \DeclareTextCommand{\textvarsigma}{\LastDeclaredEncoding}{ς} % final sigma + \DeclareTextCommand{\textfinalsigma}{\LastDeclaredEncoding}{\textvarsigma} + \DeclareTextCommand{\textsigma}{\LastDeclaredEncoding}{σ} + % Dummy definition (\textautosigma is lowercase of \textSigma): + \ProvideTextCommand{\textautosigma}{\LastDeclaredEncoding}{\textsigma} + \DeclareTextCommand{\texttau}{\LastDeclaredEncoding}{τ} + \DeclareTextCommand{\textupsilon}{\LastDeclaredEncoding}{υ} + \DeclareTextCommand{\textphi}{\LastDeclaredEncoding}{φ} + \DeclareTextCommand{\textvarphi}{\LastDeclaredEncoding}{φ} % cf. $\varphi$ + \DeclareTextCommand{\textchi}{\LastDeclaredEncoding}{χ} + \DeclareTextCommand{\textpsi}{\LastDeclaredEncoding}{ψ} + \DeclareTextCommand{\textomega}{\LastDeclaredEncoding}{ω} + + \DeclareTextCompositeCommand{\"}{\LastDeclaredEncoding}{\textiota}{ϊ} + \DeclareTextCompositeCommand{\"}{\LastDeclaredEncoding}{\textupsilon}{ϋ} + \DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textomicron}{ό} + \DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textupsilon}{ύ} + \DeclareTextCompositeCommand{\'}{\LastDeclaredEncoding}{\textomega}{ώ} + + \DeclareTextCommand{\textQoppa}{\LastDeclaredEncoding}{Ϙ} + \DeclareTextCommand{\textqoppa}{\LastDeclaredEncoding}{ϙ} + \DeclareTextCommand{\textStigma}{\LastDeclaredEncoding}{Ϛ} + \DeclareTextCommand{\textstigma}{\LastDeclaredEncoding}{ϛ} + \DeclareTextCommand{\textDigamma}{\LastDeclaredEncoding}{Ϝ} + \DeclareTextCommand{\textdigamma}{\LastDeclaredEncoding}{ϝ} + \DeclareTextCommand{\textKoppa}{\LastDeclaredEncoding}{Ϟ} % not defined in LGR + \DeclareTextCommand{\textkoppa}{\LastDeclaredEncoding}{ϟ} % \koppa, \textqoppa [sic!] + \DeclareTextCommand{\textSampi}{\LastDeclaredEncoding}{Ϡ} + \DeclareTextCommand{\textsampi}{\LastDeclaredEncoding}{ϡ} + + % Symbol variants + \DeclareTextCommand{\textbetasymbol}{\LastDeclaredEncoding}{ϐ} + \DeclareTextCommand{\textkappasymbol}{\LastDeclaredEncoding}{ϰ} + \DeclareTextCommand{\textThetasymbol}{\LastDeclaredEncoding}{ϴ} + \DeclareTextCommand{\textthetasymbol}{\LastDeclaredEncoding}{ϑ} + \DeclareTextCommand{\textphisymbol}{\LastDeclaredEncoding}{ϕ} + \DeclareTextCommand{\textpisymbol}{\LastDeclaredEncoding}{ϖ} + \DeclareTextCommand{\textrhosymbol}{\LastDeclaredEncoding}{ϱ} + \DeclareTextCommand{\textepsilonsymbol}{\LastDeclaredEncoding}{ϵ} + % math compatibility aliases + % $\varphi$ and $\varepsilon$ refer to the letter characters (see above)! + \DeclareTextCommand{\textvarbeta}{\LastDeclaredEncoding}{\textbetasymbol} + \DeclareTextCommand{\textvarkappa}{\LastDeclaredEncoding}{ϰ} + \DeclareTextCommand{\textvarTheta}{\LastDeclaredEncoding}{ϴ} + \DeclareTextCommand{\textvartheta}{\LastDeclaredEncoding}{ϑ} + \DeclareTextCommand{\textvarpi}{\LastDeclaredEncoding}{ϖ} + \DeclareTextCommand{\textvarrho}{\LastDeclaredEncoding}{ϱ} + +Greek Extended +~~~~~~~~~~~~~~ + +We skip definitions for characters "... WITH OXIA", because they would +overwrite the defintions for "... WITH TONOS" in the `Greek and Coptic` +block. + +:: + + \DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textalpha}{ἀ} + \DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textalpha}{ἁ} + \DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\textalpha}{ἂ} + \DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\textalpha}{ἃ} + \DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textalpha}{ἄ} + \DeclareTextCompositeCommand{\accdasiaoxia}{\LastDeclaredEncoding}{\textalpha}{ἅ} + \DeclareTextCompositeCommand{\accpsiliperispomeni}{\LastDeclaredEncoding}{\textalpha}{ἆ} + \DeclareTextCompositeCommand{\accdasiaperispomeni}{\LastDeclaredEncoding}{\textalpha}{ἇ} + \DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textAlpha}{Ἀ} + \DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textAlpha}{Ἁ} + \DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\textAlpha}{Ἂ} + \DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\textAlpha}{Ἃ} + \DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textAlpha}{Ἄ} + \DeclareTextCompositeCommand{\accdasiaoxia}{\LastDeclaredEncoding}{\textAlpha}{Ἅ} + \DeclareTextCompositeCommand{\accpsiliperispomeni}{\LastDeclaredEncoding}{\textAlpha}{Ἆ} + \DeclareTextCompositeCommand{\accdasiaperispomeni}{\LastDeclaredEncoding}{\textAlpha}{Ἇ} + + \DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textepsilon}{ἐ} + \DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textepsilon}{ἑ} + \DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\textepsilon}{ἒ} + \DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\textepsilon}{ἓ} + \DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textepsilon}{ἔ} + \DeclareTextCompositeCommand{\accdasiaoxia}{\LastDeclaredEncoding}{\textepsilon}{ἕ} + \DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textEpsilon}{Ἐ} + \DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textEpsilon}{Ἑ} + \DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\textEpsilon}{Ἒ} + \DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\textEpsilon}{Ἓ} + \DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textEpsilon}{Ἔ} + \DeclareTextCompositeCommand{\accdasiaoxia}{\LastDeclaredEncoding}{\textEpsilon}{Ἕ} + + \DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\texteta}{ἠ} + \DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\texteta}{ἡ} + \DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\texteta}{ἢ} + \DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\texteta}{ἣ} + \DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\texteta}{ἤ} + \DeclareTextCompositeCommand{\accdasiaoxia}{\LastDeclaredEncoding}{\texteta}{ἥ} + \DeclareTextCompositeCommand{\accpsiliperispomeni}{\LastDeclaredEncoding}{\texteta}{ἦ} + \DeclareTextCompositeCommand{\accdasiaperispomeni}{\LastDeclaredEncoding}{\texteta}{ἧ} + \DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textEta}{Ἠ} + \DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textEta}{Ἡ} + \DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\textEta}{Ἢ} + \DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\textEta}{Ἣ} + \DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textEta}{Ἤ} + \DeclareTextCompositeCommand{\accdasiaoxia}{\LastDeclaredEncoding}{\textEta}{Ἥ} + \DeclareTextCompositeCommand{\accpsiliperispomeni}{\LastDeclaredEncoding}{\textEta}{Ἦ} + \DeclareTextCompositeCommand{\accdasiaperispomeni}{\LastDeclaredEncoding}{\textEta}{Ἧ} + + \DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textiota}{ἰ} + \DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textiota}{ἱ} + \DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\textiota}{ἲ} + \DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\textiota}{ἳ} + \DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textiota}{ἴ} + \DeclareTextCompositeCommand{\accdasiaoxia}{\LastDeclaredEncoding}{\textiota}{ἵ} + \DeclareTextCompositeCommand{\accpsiliperispomeni}{\LastDeclaredEncoding}{\textiota}{ἶ} + \DeclareTextCompositeCommand{\accdasiaperispomeni}{\LastDeclaredEncoding}{\textiota}{ἷ} + \DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textIota}{Ἰ} + \DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textIota}{Ἱ} + \DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\textIota}{Ἲ} + \DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\textIota}{Ἳ} + \DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textIota}{Ἴ} + \DeclareTextCompositeCommand{\accdasiaoxia}{\LastDeclaredEncoding}{\textIota}{Ἵ} + \DeclareTextCompositeCommand{\accpsiliperispomeni}{\LastDeclaredEncoding}{\textIota}{Ἶ} + \DeclareTextCompositeCommand{\accdasiaperispomeni}{\LastDeclaredEncoding}{\textIota}{Ἷ} + + \DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textomicron}{ὀ} + \DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textomicron}{ὁ} + \DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\textomicron}{ὂ} + \DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\textomicron}{ὃ} + \DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textomicron}{ὄ} + \DeclareTextCompositeCommand{\accdasiaoxia}{\LastDeclaredEncoding}{\textomicron}{ὅ} + \DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textOmicron}{Ὀ} + \DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textOmicron}{Ὁ} + \DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\textOmicron}{Ὂ} + \DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\textOmicron}{Ὃ} + \DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textOmicron}{Ὄ} + \DeclareTextCompositeCommand{\accdasiaoxia}{\LastDeclaredEncoding}{\textOmicron}{Ὅ} + + \DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textupsilon}{ὐ} + \DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textupsilon}{ὑ} + \DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\textupsilon}{ὒ} + \DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\textupsilon}{ὓ} + \DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textupsilon}{ὔ} + \DeclareTextCompositeCommand{\accdasiaoxia}{\LastDeclaredEncoding}{\textupsilon}{ὕ} + \DeclareTextCompositeCommand{\accpsiliperispomeni}{\LastDeclaredEncoding}{\textupsilon}{ὖ} + \DeclareTextCompositeCommand{\accdasiaperispomeni}{\LastDeclaredEncoding}{\textupsilon}{ὗ} + \DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textUpsilon}{Ὑ} + \DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\textUpsilon}{Ὓ} + \DeclareTextCompositeCommand{\accdasiaoxia}{\LastDeclaredEncoding}{\textUpsilon}{Ὕ} + \DeclareTextCompositeCommand{\accdasiaperispomeni}{\LastDeclaredEncoding}{\textUpsilon}{Ὗ} + + \DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textomega}{ὠ} + \DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textomega}{ὡ} + \DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\textomega}{ὢ} + \DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\textomega}{ὣ} + \DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textomega}{ὤ} + \DeclareTextCompositeCommand{\accdasiaoxia}{\LastDeclaredEncoding}{\textomega}{ὥ} + \DeclareTextCompositeCommand{\accpsiliperispomeni}{\LastDeclaredEncoding}{\textomega}{ὦ} + \DeclareTextCompositeCommand{\accdasiaperispomeni}{\LastDeclaredEncoding}{\textomega}{ὧ} + \DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textOmega}{Ὠ} + \DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textOmega}{Ὡ} + \DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\textOmega}{Ὢ} + \DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\textOmega}{Ὣ} + \DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textOmega}{Ὤ} + \DeclareTextCompositeCommand{\accdasiaoxia}{\LastDeclaredEncoding}{\textOmega}{Ὥ} + \DeclareTextCompositeCommand{\accpsiliperispomeni}{\LastDeclaredEncoding}{\textOmega}{Ὦ} + \DeclareTextCompositeCommand{\accdasiaperispomeni}{\LastDeclaredEncoding}{\textOmega}{Ὧ} + + \DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\textalpha}{ὰ} + \DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\textepsilon}{ὲ} + \DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\texteta}{ὴ} + \DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\textiota}{ὶ} + \DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\textomicron}{ὸ} + \DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\textupsilon}{ὺ} + \DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\textomega}{ὼ} + + \DeclareTextCompositeCommand{\u}{\LastDeclaredEncoding}{\textalpha}{ᾰ} + \DeclareTextCompositeCommand{\=}{\LastDeclaredEncoding}{\textalpha}{ᾱ} + % ᾲ + % ᾳ + % ᾴ + \DeclareTextCompositeCommand{\~}{\LastDeclaredEncoding}{\textalpha}{ᾶ} + \DeclareTextCompositeCommand{\~}{\LastDeclaredEncoding}{α}{ᾶ} + \DeclareTextCompositeCommand{\accperispomeni}{\LastDeclaredEncoding}{\textalpha}{ᾶ} + % ᾷ + \DeclareTextCompositeCommand{\u}{\LastDeclaredEncoding}{\textAlpha}{Ᾰ} + \DeclareTextCompositeCommand{\=}{\LastDeclaredEncoding}{\textAlpha}{Ᾱ} + \DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\textAlpha}{Ὰ} + % ᾼ + \DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textcompwordmark}{᾽} + \DeclareTextCommand{\prosgegrammeni}{\LastDeclaredEncoding}{ι} + \DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textcompwordmark}{᾿} + + \DeclareTextCompositeCommand{\accperispomeni}{\LastDeclaredEncoding}{\textcompwordmark}{῀} + \DeclareTextCompositeCommand{\accdialytikaperispomeni}{\LastDeclaredEncoding}{\textcompwordmark}{῁} + % ῂ + % ῃ + % ῄ + \DeclareTextCompositeCommand{\~}{\LastDeclaredEncoding}{\texteta}{ῆ} + \DeclareTextCompositeCommand{\~}{\LastDeclaredEncoding}{η}{ῆ} + \DeclareTextCompositeCommand{\accperispomeni}{\LastDeclaredEncoding}{\texteta}{ῆ} + % ῇ + \DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\textEpsilon}{Ὲ} + \DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\textEta}{Ὴ} + % ῌ + \DeclareTextCompositeCommand{\accpsilivaria}{\LastDeclaredEncoding}{\textcompwordmark}{῍} + \DeclareTextCompositeCommand{\accpsilioxia}{\LastDeclaredEncoding}{\textcompwordmark}{῎} + \DeclareTextCompositeCommand{\accpsiliperispomeni}{\LastDeclaredEncoding}{\textcompwordmark}{῏} + + \DeclareTextCompositeCommand{\u}{\LastDeclaredEncoding}{\textiota}{ῐ} + \DeclareTextCompositeCommand{\=}{\LastDeclaredEncoding}{\textiota}{ῑ} + \DeclareTextCompositeCommand{\accdialytikavaria}{\LastDeclaredEncoding}{\textiota}{ῒ} + \DeclareTextCompositeCommand{\accdialytikaoxia}{\LastDeclaredEncoding}{\textiota}{ΐ} + \DeclareTextCompositeCommand{\~}{\LastDeclaredEncoding}{\textiota}{ῖ} + \DeclareTextCompositeCommand{\~}{\LastDeclaredEncoding}{ι}{ῖ} + \DeclareTextCompositeCommand{\accperispomeni}{\LastDeclaredEncoding}{\textiota}{ῖ} + \DeclareTextCompositeCommand{\accdialytikaperispomeni}{\LastDeclaredEncoding}{\textiota}{ῗ} + \DeclareTextCompositeCommand{\u}{\LastDeclaredEncoding}{\textIota}{Ῐ} + \DeclareTextCompositeCommand{\=}{\LastDeclaredEncoding}{\textIota}{Ῑ} + \DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\textIota}{Ὶ} + \DeclareTextCompositeCommand{\accdasiavaria}{\LastDeclaredEncoding}{\textcompwordmark}{῝} + \DeclareTextCompositeCommand{\accdasiaoxia}{\LastDeclaredEncoding}{\textcompwordmark}{῞} + \DeclareTextCompositeCommand{\accdasiaperispomeni}{\LastDeclaredEncoding}{\textcompwordmark}{῟} + + \DeclareTextCompositeCommand{\u}{\LastDeclaredEncoding}{\textupsilon}{ῠ} + \DeclareTextCompositeCommand{\=}{\LastDeclaredEncoding}{\textupsilon}{ῡ} + \DeclareTextCompositeCommand{\accdialytikavaria}{\LastDeclaredEncoding}{\textupsilon}{ῢ} + \DeclareTextCompositeCommand{\accdialytikaoxia}{\LastDeclaredEncoding}{\textupsilon}{ΰ} + \DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textrho}{ῤ} + \DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textrho}{ῥ} + \DeclareTextCompositeCommand{\~}{\LastDeclaredEncoding}{\textupsilon}{ῦ} + \DeclareTextCompositeCommand{\~}{\LastDeclaredEncoding}{υ}{ῦ} + \DeclareTextCompositeCommand{\accperispomeni}{\LastDeclaredEncoding}{\textupsilon}{ῦ} + \DeclareTextCompositeCommand{\accdialytikaperispomeni}{\LastDeclaredEncoding}{\textupsilon}{ῧ} + \DeclareTextCompositeCommand{\u}{\LastDeclaredEncoding}{\textUpsilon}{Ῠ} + \DeclareTextCompositeCommand{\=}{\LastDeclaredEncoding}{\textUpsilon}{Ῡ} + \DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\textUpsilon}{Ὺ} + \DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textRho}{Ῥ} + \DeclareTextCompositeCommand{\accdialytikavaria}{\LastDeclaredEncoding}{\textcompwordmark}{῭} + \DeclareTextCompositeCommand{\accdialytikaoxia}{\LastDeclaredEncoding}{\textcompwordmark}{΅} + + % ῲ + % ῳ + % ῴ + \DeclareTextCompositeCommand{\~}{\LastDeclaredEncoding}{\textomega}{ῶ} + \DeclareTextCompositeCommand{\~}{\LastDeclaredEncoding}{ω}{ῶ} + \DeclareTextCompositeCommand{\accperispomeni}{\LastDeclaredEncoding}{\textomega}{ῶ} + % ῷ + \DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\textOmicron}{Ὸ} + \DeclareTextCompositeCommand{\`}{\LastDeclaredEncoding}{\textOmega}{Ὼ} + % ῼ + \DeclareTextCompositeCommand{\accoxia}{\LastDeclaredEncoding}{\textcompwordmark}{´} + \DeclareTextCompositeCommand{\accdasia}{\LastDeclaredEncoding}{\textcompwordmark}{῾} + +Letterlike Symbols +~~~~~~~~~~~~~~~~~~ +:: + + \DeclareTextCommand{\textohm}{\LastDeclaredEncoding}{Ω} % OHM SIGN + +Ancient Greek Numbers +~~~~~~~~~~~~~~~~~~~~~ +TODO: map other chars to corresponding Greek letters. +See also the grnumalt_ package. + +Definition with literal Unicode characters, because the code-point has 5 +hexadecimal digits: + +:: + + \DeclareTextCommand{\textpentedeka}{\LastDeclaredEncoding}{𐅄} % GREEK ACROPHONIC ATTIC FIFTY + \DeclareTextCommand{\textpentehekaton}{\LastDeclaredEncoding}{𐅅} % GREEK ACROPHONIC ATTIC FIVE HUNDRED + \DeclareTextCommand{\textpenteqilioi}{\LastDeclaredEncoding}{𐅆} % GREEK ACROPHONIC ATTIC FIVE THOUSAND + \DeclareTextCommand{\textpentemuria}{\LastDeclaredEncoding}{𐅇} % GREEK ACROPHONIC ATTIC FIFTY THOUSAND + + +UPPERCASE +========= + +Greek letters drop diacritics (eccept dialytika and sub-iota) in UPPERCASE. + +uc/lc values +~~~~~~~~~~~~ + +``\lccode`` and ``\uccode`` corrections from the xgreek_ package by Apostolos Syropoulos:: + + \global\lccode"0370="0371 \global\uccode"0370="0370 + \global\lccode"0371="0371 \global\uccode"0371="0370 + \global\lccode"0372="0373 \global\uccode"0372="0372 + \global\lccode"0373="0373 \global\uccode"0373="0372 + \global\lccode"0376="0377 \global\uccode"0376="0376 + \global\lccode"0377="0377 \global\uccode"0377="0376 + \global\lccode"03FD="037B \global\uccode"03FD="03FD + \global\lccode"037B="037B \global\uccode"037B="03FD + \global\lccode"03FE="037C \global\uccode"03FE="03FE + \global\lccode"037C="037C \global\uccode"037C="03FE + \global\lccode"03FF="037D \global\uccode"03FF="03FF + \global\lccode"037D="037D \global\uccode"037D="03FF + \global\lccode"0386="03AC \global\uccode"0386="0391 + \global\lccode"0388="03AD \global\uccode"0388="0395 + \global\lccode"0389="03AC \global\uccode"0389="0397 + \global\lccode"038A="03AF \global\uccode"038A="0399 + \global\lccode"038C="03CC \global\uccode"038C="039F + \global\lccode"038E="03CD \global\uccode"038E="03A5 + \global\lccode"038F="03CE \global\uccode"038F="03A9 + \global\lccode"0390="0390 \global\uccode"0390="03AA + \global\lccode"0391="03B1 \global\uccode"0391="0391 + \global\lccode"0392="03B2 \global\uccode"0392="0392 + \global\lccode"0393="03B3 \global\uccode"0393="0393 + \global\lccode"0394="03B4 \global\uccode"0394="0394 + \global\lccode"0395="03B5 \global\uccode"0395="0395 + \global\lccode"0396="03B6 \global\uccode"0396="0396 + \global\lccode"0397="03B7 \global\uccode"0397="0397 + \global\lccode"0398="03B8 \global\uccode"0398="0398 + \global\lccode"0399="03B9 \global\uccode"0399="0399 + \global\lccode"039A="03BA \global\uccode"039A="039A + \global\lccode"039B="03BB \global\uccode"039B="039B + \global\lccode"039C="03BC \global\uccode"039C="039C + \global\lccode"039D="03BD \global\uccode"039D="039D + \global\lccode"039E="03BE \global\uccode"039E="039E + \global\lccode"039F="03BF \global\uccode"039F="039F + \global\lccode"03A0="03C0 \global\uccode"03A0="03A0 + \global\lccode"03A1="03C1 \global\uccode"03A1="03A1 + \global\lccode"03A3="03C3 \global\uccode"03A3="03A3 + \global\lccode"03A4="03C4 \global\uccode"03A4="03A4 + \global\lccode"03A5="03C5 \global\uccode"03A5="03A5 + \global\lccode"03A6="03C6 \global\uccode"03A6="03A6 + \global\lccode"03A7="03C7 \global\uccode"03A7="03A7 + \global\lccode"03A8="03C8 \global\uccode"03A8="03A8 + \global\lccode"03A9="03C9 \global\uccode"03A9="03A9 + \global\lccode"03AA="03CA \global\uccode"03AA="03AA + \global\lccode"03AB="03CB \global\uccode"03AB="03AB + \global\lccode"03AC="03AC \global\uccode"03AC="0391 + \global\lccode"03AD="03AD \global\uccode"03AD="0395 + \global\lccode"03AE="03AE \global\uccode"03AE="0397 + \global\lccode"03AF="03AF \global\uccode"03AF="0399 + \global\lccode"03B0="03B0 \global\uccode"03B0="03AB + \global\lccode"03B1="03B1 \global\uccode"03B1="0391 + \global\lccode"03B2="03B2 \global\uccode"03B2="0392 + \global\lccode"03B3="03B3 \global\uccode"03B3="0393 + \global\lccode"03B4="03B4 \global\uccode"03B4="0394 + \global\lccode"03B5="03B5 \global\uccode"03B5="0395 + \global\lccode"03B6="03B6 \global\uccode"03B6="0396 + \global\lccode"03B7="03B7 \global\uccode"03B7="0397 + \global\lccode"03B8="03B8 \global\uccode"03B8="0398 + \global\lccode"03B9="03B9 \global\uccode"03B9="0399 + \global\lccode"03BA="03BA \global\uccode"03BA="039A + \global\lccode"03BB="03BB \global\uccode"03BB="039B + \global\lccode"03BC="03BC \global\uccode"03BC="039C + \global\lccode"03BD="03BD \global\uccode"03BD="039D + \global\lccode"03BE="03BE \global\uccode"03BE="039E + \global\lccode"03BF="03BF \global\uccode"03BF="039F + \global\lccode"03C0="03C0 \global\uccode"03C0="03A0 + \global\lccode"03C1="03C1 \global\uccode"03C1="03A1 + \global\lccode"03C2="03C2 \global\uccode"03C2="03A3 + \global\lccode"03C3="03C3 \global\uccode"03C3="03A3 + \global\lccode"03C4="03C4 \global\uccode"03C4="03A4 + \global\lccode"03C5="03C5 \global\uccode"03C5="03A5 + \global\lccode"03C6="03C6 \global\uccode"03C6="03A6 + \global\lccode"03C7="03C7 \global\uccode"03C7="03A7 + \global\lccode"03C8="03C8 \global\uccode"03C8="03A8 + \global\lccode"03C9="03C9 \global\uccode"03C9="03A9 + \global\lccode"03CA="03CA \global\uccode"03CA="03AA + \global\lccode"03CB="03CB \global\uccode"03CB="03AB + \global\lccode"03CC="03CC \global\uccode"03CC="039F + \global\lccode"03CD="03CD \global\uccode"03CD="03A5 + \global\lccode"03CE="03CE \global\uccode"03CE="03A9 + \global\lccode"03D0="03D0 \global\uccode"03D0="0392 + \global\lccode"03D1="03D1 \global\uccode"03D1="0398 + \global\lccode"03D2="03C5 \global\uccode"03D2="03A5 + \global\lccode"03D3="03CD \global\uccode"03D3="03A5 + \global\lccode"03D4="03CB \global\uccode"03D4="03AB + \global\lccode"03D5="03C6 \global\uccode"03D5="03A6 + \global\lccode"03D6="03C0 \global\uccode"03D6="03A0 + \global\lccode"03DA="03DB \global\uccode"03DA="03DA + \global\lccode"03DB="03DB \global\uccode"03DB="03DA + \global\lccode"03DC="03DD \global\uccode"03DC="03DC + \global\lccode"03DD="03DD \global\uccode"03DD="03DC + \global\lccode"03DE="03DF \global\uccode"03DE="03DE + \global\lccode"03DF="03DF \global\uccode"03DF="03DE + \global\lccode"03E0="03E1 \global\uccode"03E0="03E0 + \global\lccode"03E1="03E1 \global\uccode"03E1="03E0 + \global\lccode"03F0="03BA \global\uccode"03F0="039A + \global\lccode"03F1="03C1 \global\uccode"03F1="03A1 + \global\lccode"03F2="03F2 \global\uccode"03F2="03F9 + \global\lccode"03F9="03F2 \global\uccode"03F9="03F9 + \global\lccode"1F00="1F00 \global\uccode"1F00="0391 + \global\lccode"1F01="1F01 \global\uccode"1F01="0391 + \global\lccode"1F02="1F02 \global\uccode"1F02="0391 + \global\lccode"1F03="1F03 \global\uccode"1F03="0391 + \global\lccode"1F04="1F04 \global\uccode"1F04="0391 + \global\lccode"1F05="1F05 \global\uccode"1F05="0391 + \global\lccode"1F06="1F06 \global\uccode"1F06="0391 + \global\lccode"1F07="1F07 \global\uccode"1F07="0391 + \global\lccode"1F08="1F00 \global\uccode"1F08="0391 + \global\lccode"1F09="1F01 \global\uccode"1F09="0391 + \global\lccode"1F0A="1F02 \global\uccode"1F0A="0391 + \global\lccode"1F0B="1F03 \global\uccode"1F0B="0391 + \global\lccode"1F0C="1F04 \global\uccode"1F0C="0391 + \global\lccode"1F0D="1F05 \global\uccode"1F0D="0391 + \global\lccode"1F0E="1F06 \global\uccode"1F0E="0391 + \global\lccode"1F0F="1F07 \global\uccode"1F0F="0391 + \global\lccode"1F10="1F10 \global\uccode"1F10="0395 + \global\lccode"1F11="1F11 \global\uccode"1F11="0395 + \global\lccode"1F12="1F12 \global\uccode"1F12="0395 + \global\lccode"1F13="1F13 \global\uccode"1F13="0395 + \global\lccode"1F14="1F14 \global\uccode"1F14="0395 + \global\lccode"1F15="1F15 \global\uccode"1F15="0395 + \global\lccode"1F18="1F10 \global\uccode"1F18="0395 + \global\lccode"1F19="1F11 \global\uccode"1F19="0395 + \global\lccode"1F1A="1F12 \global\uccode"1F1A="0395 + \global\lccode"1F1B="1F13 \global\uccode"1F1B="0395 + \global\lccode"1F1C="1F14 \global\uccode"1F1C="0395 + \global\lccode"1F1D="1F15 \global\uccode"1F1D="0395 + \global\lccode"1F20="1F20 \global\uccode"1F20="0397 + \global\lccode"1F21="1F21 \global\uccode"1F21="0397 + \global\lccode"1F22="1F22 \global\uccode"1F22="0397 + \global\lccode"1F23="1F23 \global\uccode"1F23="0397 + \global\lccode"1F24="1F24 \global\uccode"1F24="0397 + \global\lccode"1F25="1F25 \global\uccode"1F25="0397 + \global\lccode"1F26="1F26 \global\uccode"1F26="0397 + \global\lccode"1F27="1F27 \global\uccode"1F27="0397 + \global\lccode"1F28="1F20 \global\uccode"1F28="0397 + \global\lccode"1F29="1F21 \global\uccode"1F29="0397 + \global\lccode"1F2A="1F22 \global\uccode"1F2A="0397 + \global\lccode"1F2B="1F23 \global\uccode"1F2B="0397 + \global\lccode"1F2C="1F24 \global\uccode"1F2C="0397 + \global\lccode"1F2D="1F25 \global\uccode"1F2D="0397 + \global\lccode"1F2E="1F26 \global\uccode"1F2E="0397 + \global\lccode"1F2F="1F27 \global\uccode"1F2F="0397 + \global\lccode"1F30="1F30 \global\uccode"1F30="0399 + \global\lccode"1F31="1F31 \global\uccode"1F31="0399 + \global\lccode"1F32="1F32 \global\uccode"1F32="0399 + \global\lccode"1F33="1F33 \global\uccode"1F33="0399 + \global\lccode"1F34="1F34 \global\uccode"1F34="0399 + \global\lccode"1F35="1F35 \global\uccode"1F35="0399 + \global\lccode"1F36="1F36 \global\uccode"1F36="0399 + \global\lccode"1F37="1F37 \global\uccode"1F37="0399 + \global\lccode"1F38="1F30 \global\uccode"1F38="0399 + \global\lccode"1F39="1F31 \global\uccode"1F39="0399 + \global\lccode"1F3A="1F32 \global\uccode"1F3A="0399 + \global\lccode"1F3B="1F33 \global\uccode"1F3B="0399 + \global\lccode"1F3C="1F34 \global\uccode"1F3C="0399 + \global\lccode"1F3D="1F35 \global\uccode"1F3D="0399 + \global\lccode"1F3E="1F36 \global\uccode"1F3E="0399 + \global\lccode"1F3F="1F37 \global\uccode"1F3F="0399 + \global\lccode"1F40="1F40 \global\uccode"1F40="039F + \global\lccode"1F41="1F41 \global\uccode"1F41="039F + \global\lccode"1F42="1F42 \global\uccode"1F42="039F + \global\lccode"1F43="1F43 \global\uccode"1F43="039F + \global\lccode"1F44="1F44 \global\uccode"1F44="039F + \global\lccode"1F45="1F45 \global\uccode"1F45="039F + \global\lccode"1F48="1F40 \global\uccode"1F48="039F + \global\lccode"1F49="1F41 \global\uccode"1F49="039F + \global\lccode"1F4A="1F42 \global\uccode"1F4A="039F + \global\lccode"1F4B="1F43 \global\uccode"1F4B="039F + \global\lccode"1F4C="1F44 \global\uccode"1F4C="039F + \global\lccode"1F4D="1F45 \global\uccode"1F4D="039F + \global\lccode"1F50="1F50 \global\uccode"1F50="03A5 + \global\lccode"1F51="1F51 \global\uccode"1F51="03A5 + \global\lccode"1F52="1F52 \global\uccode"1F52="03A5 + \global\lccode"1F53="1F53 \global\uccode"1F53="03A5 + \global\lccode"1F54="1F54 \global\uccode"1F54="03A5 + \global\lccode"1F55="1F55 \global\uccode"1F55="03A5 + \global\lccode"1F56="1F56 \global\uccode"1F56="03A5 + \global\lccode"1F57="1F57 \global\uccode"1F57="03A5 + \global\lccode"1F59="1F51 \global\uccode"1F59="03A5 + \global\lccode"1F5B="1F53 \global\uccode"1F5B="03A5 + \global\lccode"1F5D="1F55 \global\uccode"1F5D="03A5 + \global\lccode"1F5F="1F57 \global\uccode"1F5F="03A5 + \global\lccode"1F60="1F60 \global\uccode"1F60="03A9 + \global\lccode"1F61="1F61 \global\uccode"1F61="03A9 + \global\lccode"1F62="1F62 \global\uccode"1F62="03A9 + \global\lccode"1F63="1F63 \global\uccode"1F63="03A9 + \global\lccode"1F64="1F64 \global\uccode"1F64="03A9 + \global\lccode"1F65="1F65 \global\uccode"1F65="03A9 + \global\lccode"1F66="1F66 \global\uccode"1F66="03A9 + \global\lccode"1F67="1F67 \global\uccode"1F67="03A9 + \global\lccode"1F68="1F60 \global\uccode"1F68="03A9 + \global\lccode"1F69="1F61 \global\uccode"1F69="03A9 + \global\lccode"1F6A="1F62 \global\uccode"1F6A="03A9 + \global\lccode"1F6B="1F63 \global\uccode"1F6B="03A9 + \global\lccode"1F6C="1F64 \global\uccode"1F6C="03A9 + \global\lccode"1F6D="1F65 \global\uccode"1F6D="03A9 + \global\lccode"1F6E="1F66 \global\uccode"1F6E="03A9 + \global\lccode"1F6F="1F67 \global\uccode"1F6F="03A9 + \global\lccode"1F70="1F70 \global\uccode"1F70="0391 + \global\lccode"1F71="1F71 \global\uccode"1F71="0391 + \global\lccode"1F72="1F72 \global\uccode"1F72="0395 + \global\lccode"1F73="1F73 \global\uccode"1F73="0395 + \global\lccode"1F74="1F74 \global\uccode"1F74="0397 + \global\lccode"1F75="1F75 \global\uccode"1F75="0397 + \global\lccode"1F76="1F76 \global\uccode"1F76="0399 + \global\lccode"1F77="1F77 \global\uccode"1F77="0399 + \global\lccode"1F78="1F78 \global\uccode"1F78="039F + \global\lccode"1F79="1F79 \global\uccode"1F79="039F + \global\lccode"1F7A="1F7A \global\uccode"1F7A="03A5 + \global\lccode"1F7B="1F7B \global\uccode"1F7B="03A5 + \global\lccode"1F7C="1F7C \global\uccode"1F7C="03A9 + \global\lccode"1F7D="1F7D \global\uccode"1F7D="03A9 + \global\lccode"1F80="1F80 \global\uccode"1F80="1FBC + \global\lccode"1F81="1F81 \global\uccode"1F81="1FBC + \global\lccode"1F82="1F82 \global\uccode"1F82="1FBC + \global\lccode"1F83="1F83 \global\uccode"1F83="1FBC + \global\lccode"1F84="1F84 \global\uccode"1F84="1FBC + \global\lccode"1F85="1F85 \global\uccode"1F85="1FBC + \global\lccode"1F86="1F86 \global\uccode"1F86="1FBC + \global\lccode"1F87="1F87 \global\uccode"1F87="1FBC + \global\lccode"1F88="1F80 \global\uccode"1F88="1FBC + \global\lccode"1F89="1F81 \global\uccode"1F89="1FBC + \global\lccode"1F8A="1F82 \global\uccode"1F8A="1FBC + \global\lccode"1F8B="1F83 \global\uccode"1F8B="1FBC + \global\lccode"1F8C="1F84 \global\uccode"1F8C="1FBC + \global\lccode"1F8D="1F85 \global\uccode"1F8D="1FBC + \global\lccode"1F8E="1F86 \global\uccode"1F8E="1FBC + \global\lccode"1F8F="1F87 \global\uccode"1F8F="1FBC + \global\lccode"1F90="1F90 \global\uccode"1F90="1FCC + \global\lccode"1F91="1F91 \global\uccode"1F91="1FCC + \global\lccode"1F92="1F92 \global\uccode"1F92="1FCC + \global\lccode"1F93="1F93 \global\uccode"1F93="1FCC + \global\lccode"1F94="1F94 \global\uccode"1F94="1FCC + \global\lccode"1F95="1F95 \global\uccode"1F95="1FCC + \global\lccode"1F96="1F96 \global\uccode"1F96="1FCC + \global\lccode"1F97="1F97 \global\uccode"1F97="1FCC + \global\lccode"1F98="1F90 \global\uccode"1F98="1FCC + \global\lccode"1F99="1F91 \global\uccode"1F99="1FCC + \global\lccode"1F9A="1F92 \global\uccode"1F9A="1FCC + \global\lccode"1F9B="1F93 \global\uccode"1F9B="1FCC + \global\lccode"1F9C="1F94 \global\uccode"1F9C="1FCC + \global\lccode"1F9D="1F95 \global\uccode"1F9D="1FCC + \global\lccode"1F9E="1F96 \global\uccode"1F9E="1FCC + \global\lccode"1F9F="1F97 \global\uccode"1F9F="1FCC + \global\lccode"1FA0="1FA0 \global\uccode"1FA0="1FFC + \global\lccode"1FA1="1FA1 \global\uccode"1FA1="1FFC + \global\lccode"1FA2="1FA2 \global\uccode"1FA2="1FFC + \global\lccode"1FA3="1FA3 \global\uccode"1FA3="1FFC + \global\lccode"1FA4="1FA4 \global\uccode"1FA4="1FFC + \global\lccode"1FA5="1FA5 \global\uccode"1FA5="1FFC + \global\lccode"1FA6="1FA6 \global\uccode"1FA6="1FFC + \global\lccode"1FA7="1FA7 \global\uccode"1FA7="1FFC + \global\lccode"1FA8="1FA0 \global\uccode"1FA8="1FFC + \global\lccode"1FA9="1FA1 \global\uccode"1FA9="1FFC + \global\lccode"1FAA="1FA2 \global\uccode"1FAA="1FFC + \global\lccode"1FAB="1FA3 \global\uccode"1FAB="1FFC + \global\lccode"1FAC="1FA4 \global\uccode"1FAC="1FFC + \global\lccode"1FAD="1FA5 \global\uccode"1FAD="1FFC + \global\lccode"1FAE="1FA6 \global\uccode"1FAE="1FFC + \global\lccode"1FAF="1FA7 \global\uccode"1FAF="1FFC + \global\lccode"1FB0="1FB0 \global\uccode"1FB0="1FB8 + \global\lccode"1FB1="1FB1 \global\uccode"1FB1="1FB9 + \global\lccode"1FB2="1FB2 \global\uccode"1FB2="1FBC + \global\lccode"1FB3="1FB3 \global\uccode"1FB3="1FBC + \global\lccode"1FB4="1FB4 \global\uccode"1FB4="1FBC + \global\lccode"1FB6="1FB6 \global\uccode"1FB6="0391 + \global\lccode"1FB7="1FB7 \global\uccode"1FB7="1FBC + \global\lccode"1FB8="1FB0 \global\uccode"1FB8="1FB8 + \global\lccode"1FB9="1FB1 \global\uccode"1FB9="1FB9 + \global\lccode"1FBA="1F70 \global\uccode"1FBA="0391 + \global\lccode"1FBB="1F71 \global\uccode"1FBB="0391 + \global\lccode"1FBC="1FB3 \global\uccode"1FBC="1FBC + \global\lccode"1FBD="1FBD \global\uccode"1FBD="1FBD + \global\lccode"1FC2="1FC2 \global\uccode"1FC2="1FCC + \global\lccode"1FC3="1FC3 \global\uccode"1FC3="1FCC + \global\lccode"1FC4="1FC4 \global\uccode"1FC4="1FCC + \global\lccode"1FC6="1FC6 \global\uccode"1FC6="0397 + \global\lccode"1FC7="1FC7 \global\uccode"1FC7="1FCC + \global\lccode"1FC8="1F72 \global\uccode"1FC8="0395 + \global\lccode"1FC9="1F73 \global\uccode"1FC9="0395 + \global\lccode"1FCA="1F74 \global\uccode"1FCA="0397 + \global\lccode"1FCB="1F75 \global\uccode"1FCB="0397 + \global\lccode"1FCC="1FC3 \global\uccode"1FCC="1FCC + \global\lccode"1FD0="1FD0 \global\uccode"1FD0="1FD8 + \global\lccode"1FD1="1FD1 \global\uccode"1FD1="1FD9 + \global\lccode"1FD2="1FD2 \global\uccode"1FD2="03AA + \global\lccode"1FD3="1FD3 \global\uccode"1FD3="03AA + \global\lccode"1FD6="1FD6 \global\uccode"1FD6="0399 + \global\lccode"1FD7="1FD7 \global\uccode"1FD7="03AA + \global\lccode"1FD8="1FD0 \global\uccode"1FD8="1FD8 + \global\lccode"1FD9="1FD1 \global\uccode"1FD9="1FD9 + \global\lccode"1FDA="1F76 \global\uccode"1FDA="0399 + \global\lccode"1FDB="1F77 \global\uccode"1FDB="0399 + \global\lccode"1FE0="1FE0 \global\uccode"1FE0="1FE8 + \global\lccode"1FE1="1FE1 \global\uccode"1FE1="1FE9 + \global\lccode"1FE2="1FE2 \global\uccode"1FE2="03AB + \global\lccode"1FE3="1FE3 \global\uccode"1FE3="03AB + \global\lccode"1FE4="1FE4 \global\uccode"1FE4="03A1 + \global\lccode"1FE5="1FE5 \global\uccode"1FE5="03A1 + \global\lccode"1FE6="1FE6 \global\uccode"1FE6="03A5 + \global\lccode"1FE7="1FE7 \global\uccode"1FE7="03AB + \global\lccode"1FE8="1FE0 \global\uccode"1FE8="1FE8 + \global\lccode"1FE9="1FE1 \global\uccode"1FE9="1FE9 + \global\lccode"1FEA="1F7A \global\uccode"1FEA="03A5 + \global\lccode"1FEB="1F7B \global\uccode"1FEB="03A5 + \global\lccode"1FEC="1FE5 \global\uccode"1FEC="03A1 + \global\lccode"1FF2="1FF2 \global\uccode"1FF2="1FFC + \global\lccode"1FF3="1FF3 \global\uccode"1FF3="1FFC + \global\lccode"1FF4="1FF4 \global\uccode"1FF4="1FFC + \global\lccode"1FF6="1FF6 \global\uccode"1FF6="03A9 + \global\lccode"1FF7="1FF7 \global\uccode"1FF7="1FFC + \global\lccode"1FF8="1F78 \global\uccode"1FF8="039F + \global\lccode"1FF9="1F79 \global\uccode"1FF9="039F + \global\lccode"1FFA="1F7C \global\uccode"1FFA="03A9 + \global\lccode"1FFB="1F7D \global\uccode"1FFB="03A9 + \global\lccode"1FFC="1FF3 \global\uccode"1FFC="1FFC + + +uclclist +~~~~~~~~ + +The common Greek font encoding definitions in greek-fontenc.def_ extend the +`uclclist` with Greek LICR macros. Here, we add textkoppa/textKoppa and +Unicode-specific "hiatus_" handling (copied from lgrenc.def_ and changed +Latin transcription to Unicode literals). + +@uclclist extension (see also greek-fontenc.def_):: + + \providecommand*\greek@euenc@update@uclclist{% + \expandafter\def\expandafter\@uclclist\expandafter{% + \@uclclist + \textkoppa \textKoppa + }% + \let\greek@euenc@update@uclclist\relax + } + +Expand the uclc list using the just defined macro:: + + \greek@euenc@update@uclclist + +Now the hiatus definition modifications:: + + \DeclareTextCommand{\LGR@A@hiatus}{\LastDeclaredEncoding}{% + \LGR@ifnextchar{Ι}{\textAlpha\"}{% + \LGR@ifnextchar{Υ}{\textAlpha\"}{% + \LGR@ifnextchar{\textIota}{\textAlpha\"}{% + \LGR@ifnextchar{\textUpsilon}{\textAlpha\"}{\textAlpha}% + }% + }% + }% + } + \DeclareTextCommand{\LGR@E@hiatus}{\LastDeclaredEncoding}{% + \LGR@ifnextchar{Ι}{\textEpsilon\"}{% + \LGR@ifnextchar{Υ}{\textEpsilon\"}{% + \LGR@ifnextchar{\textIota}{\textEpsilon\"}{% + \LGR@ifnextchar{\textUpsilon}{\textEpsilon\"}{\textEpsilon}% + }% + }% + }% + } + +.. References + +.. _LaTeX Project Public License: http://www.latex-project.org/lppl.txt +.. _babel-greek: http://www.ctan.org/pkg/babel-greek +.. _euenc: http://www.ctan.org/pkg/euenc +.. _fontspec: http://www.ctan.org/pkg/fontspec +.. _greek-fontenc: http://www.ctan.org/pkg/greek-fontenc +.. _grnumalt: http://www.ctan.org/pkg/grnumalt +.. _inputenc: http://www.ctan.org/pkg/inputenc +.. _textalpha: textalpha.sty.html +.. _xgreek: http://www.ctan.org/pkg/xgreek +.. _xunicode: http://www.ctan.org/pkg/xunicode + +.. _LaTeX2e font selection: + http://mirror.ctan.org/macros/latex/doc/fntguide.pdf +.. _common Greek font encoding definitions: +.. _greek-fontenc.def: greek-fontenc.def.html +.. _lgrenc.def: lgrenc.def.html +.. _hiatus: greek-fontenc.def.html#mark-hiatus 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 643447168f0..44c0c98d43e 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 7becde7e614..28dc75cc24b 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/lgrenc.def.html b/Master/texmf-dist/doc/latex/greek-fontenc/lgrenc.def.html index 6a09fa36a45..a326fd105a4 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/lgrenc.def.html +++ b/Master/texmf-dist/doc/latex/greek-fontenc/lgrenc.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>lgrenc.def</title> +<meta name="dcterms.rights" content="© 2010, 2014 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 7916 2015-09-11 15:20:14Z 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 } @@ -184,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, @@ -226,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 */ @@ -265,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: */ @@ -285,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; @@ -295,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 */ @@ -329,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) */ @@ -387,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; @@ -416,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; @@ -428,7 +435,6 @@ table.booktabs * { } table.booktabs th { border-bottom: thin solid; - text-align: left; } /* numbered tables (counter defined in div.document) */ @@ -458,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 @@ -489,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 */ @@ -550,7 +561,6 @@ a { text-decoration: none; } <body> <div class="document" id="lgrenc-def"> <h1 class="title">lgrenc.def</h1> - <p class="subtitle" id="lgr-greek-font-encoding-definitions">LGR Greek font encoding definitions</p> <dl class="docinfo simple"> <dt class="copyright">Copyright</dt> @@ -743,6 +753,10 @@ package.</p> <td><p>2015-12-07</p></td> <td><p>Fix <cite>rho with dasia bug</cite> (Linus Romer).</p></td> </tr> +<tr><td><p>0.13.3</p></td> +<td><p>2019-07-09</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> </tbody> </table> </div> @@ -781,7 +795,7 @@ anyway.</p> <div class="section" id="identification"> <h2><a class="toc-backref" href="#id6">Identification</a></h2> <pre class="literal-block">\ProvidesFile{lgrenc.def} -[2015/12/07 v0.13.1 LGR Greek font encoding definitions] +[2019/07/09 v0.13.3 LGR Greek font encoding definitions] % Copyright © 2010 Günter Milde % This file is part of the "greek-fontenc" package. % It may be distributed and/or modified under the @@ -795,8 +809,7 @@ anyway.</p> <h2><a class="toc-backref" href="#id7">Base setup</a></h2> <p>Declare the LGR font encoding and base substitutions:</p> <pre class="literal-block">\DeclareFontEncoding{LGR}{}{} -\DeclareFontSubstitution{LGR}{cmr}{m}{n} -\DeclareErrorFont{LGR}{cmr}{m}{n}{10}</pre> +\DeclareFontSubstitution{LGR}{cmr}{m}{n}</pre> </div> <div class="section" id="text-symbols"> <h2><a class="toc-backref" href="#id8">Text symbols</a></h2> @@ -1289,7 +1302,7 @@ definitions</a>.</p> of an uppercase initial (written before rather than above the letter).</p> <p>The diaytika should also always be used in all-uppercase words (even in cases where they are not needed when writing in lowercase)</p> -<p class="attribution">—<cite><a class="reference external" href="http://en.wikipedia.org/wiki/Capitalization">http://en.wikipedia.org/wiki/Capitalization</a></cite></p> +<p class="attribution">—<a class="reference external" href="http://en.wikipedia.org/wiki/Capitalization">http://en.wikipedia.org/wiki/Capitalization</a></p> </blockquote> <p>In Title Case, place diacritics before instead of above the base character:</p> <pre class="literal-block">\DeclareTextCompositeCommand{\accdasia}{LGR}{A}{<A} 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 5c8658630cd..8d35f90ef98 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 779d909a05a..04ce9b39b78 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-doc.tex b/Master/texmf-dist/doc/latex/greek-fontenc/textalpha-doc.tex index c166b60bb97..099bbc94cda 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/textalpha-doc.tex +++ b/Master/texmf-dist/doc/latex/greek-fontenc/textalpha-doc.tex @@ -8,7 +8,7 @@ % UTF8 input encoding for pdfTeX or LuaTeX in 8-bit compatibility mode: % (XeTeX in compatibility mode would require xetex-inputenc.sty, which is not -% not at CTAN but on https://github.com/wspr/xetex-inputenc) +% at CTAN but on https://github.com/wspr/xetex-inputenc) \usepackage[utf8]{luainputenc} \usepackage[pdfencoding=auto,colorlinks=true]{hyperref} 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 5deaaaa681d..39094e33156 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/textalpha.sty.html +++ b/Master/texmf-dist/doc/latex/greek-fontenc/textalpha.sty.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>textalpha.sty</title> +<meta name="dcterms.rights" content="© 2010 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 7916 2015-09-11 15:20:14Z 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 } @@ -184,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, @@ -226,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 */ @@ -265,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: */ @@ -285,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; @@ -295,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 */ @@ -329,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) */ @@ -387,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; @@ -416,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; @@ -428,7 +435,6 @@ table.booktabs * { } table.booktabs th { border-bottom: thin solid; - text-align: left; } /* numbered tables (counter defined in div.document) */ @@ -458,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 @@ -489,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 */ @@ -550,7 +561,6 @@ a { text-decoration: none; } <body> <div class="document" id="textalpha-sty"> <h1 class="title">textalpha.sty</h1> - <p class="subtitle" id="greek-symbols-in-text">Greek symbols in text</p> <dl class="docinfo"> <dt class="copyright">Copyright</dt> @@ -839,6 +849,10 @@ macros twice, for LGR and Unicode font encodings (if they are defined):</p> \DeclareTextCompositeCommand{\<}{LGR}{'}{\accdasiaoxia} \DeclareTextCompositeCommand{\<}{LGR}{`}{\accdasiavaria} \DeclareTextCompositeCommand{\<}{LGR}{~}{\accdasiaperispomeni} + % Hiatus feature (see greek-fontenc.def and babel-greek (greek.ldf)) + \DeclareTextCompositeCommand{\<}{LGR}{^^9f}{\LGR@hiatus} + \DeclareTextCompositeCommand{\>}{LGR}{^^9f}{\LGR@hiatus} + }{} \@ifl@aded{def}{greek-euenc}{ % XeTeX or LuaTeX with Unicode fonts diff --git a/Master/texmf-dist/tex/latex/greek-fontenc/alphabeta.sty b/Master/texmf-dist/tex/latex/greek-fontenc/alphabeta.sty index 5b76dc736c7..a799a6cd90c 100644 --- a/Master/texmf-dist/tex/latex/greek-fontenc/alphabeta.sty +++ b/Master/texmf-dist/tex/latex/greek-fontenc/alphabeta.sty @@ -1,14 +1,14 @@ % alphabeta: Greek symbols in text and math % ***************************************** -% +% % :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: Use ``\alpha, \beta, ...`` for Greek letters in text and math % mode. -% +% % :Identification: % :: @@ -18,7 +18,7 @@ % Changelog: % .. class:: borderless -% +% % ====== ========== ========================================================= % 0.1 2012-06-26 initial version % 0.2 2013-05-03 new accent macro names with ``lgrxenc.def`` 0.7 @@ -29,76 +29,85 @@ % 0.13.2 2016-02-05 Support for standard Unicode text font encoding "TU" % (new in fontspec v2.5a). % ====== ========== ========================================================= -% +% % Motivation % ========== -% +% % By default, the ``\alpha, \beta, ...`` macros for Greek letters % are only valid in mathematical mode. -% +% % With this package, the math macros are redefined to work in both, text and % math mode, so that Greek letters can be specified with the established % command names in text, too. -% +% % If used together with the ``utf8`` option of inputenc_, literal Unicode % characters can be used for Greek symbols in mathematical formulas. -% +% % .. Attention:: % The macros work well in any font encoding for single symbols. % However, with 8-bit TeX, 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 proper hyphenation. -% -% +% +% % Usage % ===== -% +% % .. code:: latex -% +% % \usepackage{alphabeta} -% +% % The greek-inputenc_ package provides support for Unicode (utf-8) input % of Greek characters with 8-bit TeX and the inputenc_ package: -% +% % .. code:: latex -% +% % \usepackage[utf-8]{inputenc} % \usepackage{alphabeta} -% -% +% +% Conflicts +% ---------- +% +% `alphabeta` does not work if the ``utf8x`` input encoding is selected. +% (``utf8x`` is an interface to the ``ucs`` package which uses a +% non-compatible definition of ``\DeclareUnicodeCharacter``.) +% % For details see `<alphabeta-doc.tex>`_ and `<alphabeta-doc.pdf>`_. -% -% +% +% % Implementation % ============== -% +% % Requirements % ------------ -% +% % This package extends the `textalpha <textalpha.sty.html>`_ package. % Package options are passed on to `textalpha`:: \RequirePackageWithOptions{textalpha} % Just like `alphabeta`, `textalpha` is part of greek-fontenc_. -% +% % This package requires the e-TeX_ extensions (i.e. a not too old TeX % distribution) for the ``\ifdefined`` test. -% -% It uses the ``\TextOrMath`` test from the fixltx2e_ standard LaTeX -% package:: - -% fixltx2e is not required with releases after 2015 -%\RequirePackage{fixltx2e} - +% +% It uses the ``\TextOrMath`` test from the fixltx2e_ standard LaTeX package. +% ``fixltx2e`` is loaded by default since TeXLive 2015. In case of an +% ``\TextOrMath undefined`` error, load it in the document preamble via +% +% .. code:: latex +% +% \usepackage{fixltx2e} +% +% % Postpone the re-definitions % --------------------------- -% +% % To prevent other packages overwriting the re-defined commands we postpone % the next steps until the start of the document body:: @@ -106,7 +115,7 @@ % Save math macros % ---------------- -% +% % Provide an alias for the standard math commands:: \let\mathGamma\Gamma @@ -165,28 +174,28 @@ % Commands to access Greek letters by name % ---------------------------------------- -% +% % For letters defined in math mode, the commands work in both, text and math. -% +% % Some Greek letters look identical to Latin letters and can therefore not be % used as variable symbols in math formulas. These letters are not defined in % TeX's math mode, we provide an alias to the corrsponding ``\text...`` % command. -% +% % Mathematical notation distinguishes `variant shape symbols`_ for pi, phi, % rho, theta (small and capital), beta, and kappa (characters for the latter % three symbols are not included in TeX’s math fonts). These variations have % no syntactic meaning in Greek text and are not given code-points in the LGR % encoding while Unicode defines separate code points for the symbol variants. -% +% % Greek Alphabet: -% +% % Macros keep their meaning in mathematical mode (i.e. use the same shape as % without this package) and refer to GREEK LETTER ... in text. For % ``\epsilon`` and ``phi``, this means that the selected symbol variant % differs in text vs. math mode. Use ``\varepsilon`` and ``\varphi`` (see -% section `variant shape symbols`_ below) to select the GREEK LETTER ...” in both, -% text and math mode. +% section `variant shape symbols`_ below) to select the GREEK LETTER ...” +% in both, text and math mode. % :: \providecommand*{\Alpha}{\textAlpha} @@ -244,7 +253,7 @@ % Archaic letters % ''''''''''''''' -% +% % :: \renewcommand*{\digamma}{\TextOrMath{\textdigamma}{\mathdigamma}} % ϝ @@ -260,11 +269,11 @@ % Variant shape symbols % ''''''''''''''''''''' -% +% % TeX’s concept of “standard” vs. “variant” math symbols does not map to the % distinction between GREEK LETTER ... vs. GREEK ... SYMBOL in the Unicode % standard (see `<greek-euenc-doc.pdf>`_). -% +% % The ``\...symbol`` macros select the GREEK ... SYMBOL in both, text and % math mode. For ``\epsilonsymbol`` and ``\phisymbol`` this is the default % shape in math mode. The ``\var...`` macros select the shape used by TeX @@ -301,7 +310,7 @@ % TextCompositeCommands for the generic macros % -------------------------------------------- -% +% % The NFSS TextComposite mechanism looks for the next token without expanding % it. In order to let compositions like ``\ensuregreek{\'\Alpha}`` or % ``\ensuregreek{\>"\alpha}`` work as expected we define TextComposites with the @@ -321,12 +330,12 @@ % Re-definition for Greek Unicode input in math mode % -------------------------------------------------- -% +% % Check with ``\ifdefined`` for the definition of % ``\DeclareUnicodeCharacter``. In contrast to ``\@ifdefined``, this works % without side-effects. It makes the package dependent on the `e-TeX`_ % extensions but these are standard in all current TeX distributions anyway. -% +% % Map Greek characters that are also defined in math mode to the generic % macros:: diff --git a/Master/texmf-dist/tex/latex/greek-fontenc/greek-euenc.def b/Master/texmf-dist/tex/latex/greek-fontenc/greek-euenc.def index 2e76e1f31cc..b48535fe30b 100644 --- a/Master/texmf-dist/tex/latex/greek-fontenc/greek-euenc.def +++ b/Master/texmf-dist/tex/latex/greek-fontenc/greek-euenc.def @@ -2,7 +2,7 @@ % +++++++++++++++ % Greek LICR definitions for XeTeX and LuaTeX % ******************************************* -% +% % :Copyright: © 2013 Günter Milde % :Licence: This work may be distributed and/or modified under the % conditions of the `LaTeX Project Public License`_, either @@ -11,15 +11,15 @@ % :: \ProvidesFile{greek-euenc.def} -[2015/08/07 0.13 Greek LICRs for XeTeX and LuaTeX] +[2018/01/06 0.13.3 Greek LICRs for XeTeX and LuaTeX] % :abstract: % Experimental support for Greek LICR macros with XeTeX and LuaTeX. % Extends euenc_. Used by babel-greek_ and textalpha_. -% +% % **History**: % .. class:: borderless -% +% % ====== ========== ======================================================== % 0.1 2013-07-16 initial version % 0.1.1 2013-07-18 bugfix: wrong breathings psilioxia -> dasiaoxia @@ -34,43 +34,43 @@ % 0.12 2014-12-12 Remove symbol macros for breathing accents. % 0.13 2015-08-07 ``\lccode``/``\uccode`` corrections from xgreek_. % .. LICR macros for symbol variants. +% 0.13.3 2018-01-06 Documentation update. % ====== ========== ======================================================== -% +% % .. contents:: -% +% % Motivation % ========== -% +% % LICR macro definitions for the Greek script are missing in both, xunicode_ % and euenc_. -% +% % This file expands the font encoding definition files ``eu1enc.def`` rsp. % ``eu2enc.def`` from euenc_ defining `LaTeX Internal Character % Representaction` (LICR) macros for Greek letters and symbols. It works % independed of xunicode_ using the standard commands for `LaTeX2e font % selection`_. -% +% % Requirements % ============ -% -% Requires XeTeX or LuaTeX, euenc_ (usually loaded via fontspec_), and a font -% with Greek characters. -% +% +% Requires XeTeX or LuaTeX, fontspec_, and a font with Greek characters. +% % See `<greek-euenc-doc.tex>`_ and `<greek-euenc-doc.pdf>`_ for setup and % usage examples. -% -% +% +% % Greek Diacritics % ================ -% +% % Define "named macros" for simple and combined diacritics. -% +% % * Named accent macros can be used instead of the ``\@tabacckludge`` by % to-LaTeX converters to ensure working also inside the tabbing environment. -% +% % * Named macros are required for upcasing according to Greek typesetting % conventions and in the definition of composite commands. -% +% % Greek alias names for standard accents:: \DeclareTextCommand{\acctonos}{\LastDeclaredEncoding}{\@tabacckludge'} @@ -83,7 +83,7 @@ \DeclareTextCommand{\accperispomeni}{\LastDeclaredEncoding}[1]{#1\char"0342 } % Breathings: -% +% % (The COMBINING GREEK KORONIS is a legacy character, discarded in favour of % COMBINING COMMA ABOVE) :: @@ -92,7 +92,7 @@ % Sub-iota: -% +% % ``\ypogegrammeni`` is a postfix accent (ligature in LGR) :: \DeclareTextSymbol{\ypogegrammeni}{\LastDeclaredEncoding}{0837} % COMBINING GREEK YPOGEGRAMMENI @@ -115,7 +115,7 @@ % Common Definitions % ================== -% +% % Use the `common Greek font encoding definitions`_:: \input{greek-fontenc.def} @@ -123,17 +123,17 @@ % Character Definitions % ===================== -% +% % General Punctuation % ~~~~~~~~~~~~~~~~~~~ -% +% % Ligature break up with ZERO WIDTH NON-JOINER:: \DeclareTextCommand{\textcompwordmark}{\LastDeclaredEncoding}{\char"200C} % Greek and Coptic % ~~~~~~~~~~~~~~~~ -% +% % :: % NR Unicode Name % babel name, % PU name @@ -265,11 +265,11 @@ % Greek Extended % ~~~~~~~~~~~~~~ -% +% % We skip definitions for characters "... WITH OXIA", because they would % overwrite the defintions for "... WITH TONOS" in the `Greek and Coptic` % block. -% +% % :: \DeclareTextCompositeCommand{\accpsili}{\LastDeclaredEncoding}{\textalpha}{ἀ} @@ -475,10 +475,10 @@ % ~~~~~~~~~~~~~~~~~~~~~ % TODO: map other chars to corresponding Greek letters. % See also the grnumalt_ package. -% +% % Definition with literal Unicode characters, because the code-point has 5 % hexadecimal digits: -% +% % :: \DeclareTextCommand{\textpentedeka}{\LastDeclaredEncoding}{𐅄} % GREEK ACROPHONIC ATTIC FIFTY @@ -489,12 +489,12 @@ % UPPERCASE % ========= -% +% % Greek letters drop diacritics (eccept dialytika and sub-iota) in UPPERCASE. -% +% % uc/lc values % ~~~~~~~~~~~~ -% +% % ``\lccode`` and ``\uccode`` corrections from the xgreek_ package by Apostolos Syropoulos:: \global\lccode"0370="0371 \global\uccode"0370="0370 @@ -819,12 +819,12 @@ % uclclist % ~~~~~~~~ -% +% % The common Greek font encoding definitions in greek-fontenc.def_ extend the % `uclclist` with Greek LICR macros. Here, we add textkoppa/textKoppa and % Unicode-specific "hiatus_" handling (copied from lgrenc.def_ and changed % Latin transcription to Unicode literals). -% +% % @uclclist extension (see also greek-fontenc.def_):: \providecommand*\greek@euenc@update@uclclist{% @@ -861,7 +861,7 @@ } % .. References -% +% % .. _LaTeX Project Public License: http://www.latex-project.org/lppl.txt % .. _babel-greek: http://www.ctan.org/pkg/babel-greek % .. _euenc: http://www.ctan.org/pkg/euenc @@ -872,7 +872,7 @@ % .. _textalpha: textalpha.sty.html % .. _xgreek: http://www.ctan.org/pkg/xgreek % .. _xunicode: http://www.ctan.org/pkg/xunicode -% +% % .. _LaTeX2e font selection: % http://mirror.ctan.org/macros/latex/doc/fntguide.pdf % .. _common Greek font encoding definitions: diff --git a/Master/texmf-dist/tex/latex/greek-fontenc/lgrenc.def b/Master/texmf-dist/tex/latex/greek-fontenc/lgrenc.def index 2abcce02342..9430bfd6e4d 100644 --- a/Master/texmf-dist/tex/latex/greek-fontenc/lgrenc.def +++ b/Master/texmf-dist/tex/latex/greek-fontenc/lgrenc.def @@ -54,6 +54,7 @@ % 0.11.2 2014-09-04 remove duplicate code. % 0.13 2015-08-04 Support for symbol variants. % 0.13.1 2015-12-07 Fix `rho with dasia bug` (Linus Romer). +% 0.13.3 2019-07-09 Drop error font declaration (cf. `ltxbugs 4399`_). % ====== ============ ======================================================== % % Usage @@ -94,7 +95,7 @@ % :: \ProvidesFile{lgrenc.def} -[2015/12/07 v0.13.1 LGR Greek font encoding definitions] +[2019/07/09 v0.13.3 LGR Greek font encoding definitions] % Copyright © 2010 Günter Milde % This file is part of the "greek-fontenc" package. % It may be distributed and/or modified under the @@ -117,7 +118,6 @@ \DeclareFontEncoding{LGR}{}{} \DeclareFontSubstitution{LGR}{cmr}{m}{n} -\DeclareErrorFont{LGR}{cmr}{m}{n}{10} % Text symbols % ~~~~~~~~~~~~ @@ -920,3 +920,6 @@ % .. _textalpha: textalpha.sty.html % .. _ucs: http://www.ctan.org/pkg/unicode % .. _xunicode: http://www.ctan.org/pkg/xunicode +% .. _ltxbugs 4399: +% https://www.latex-project.org/cgi-bin/ltxbugs2html?pr=latex%2F4399&search= +% diff --git a/Master/texmf-dist/tex/latex/greek-fontenc/textalpha.sty b/Master/texmf-dist/tex/latex/greek-fontenc/textalpha.sty index 4f657b4fb83..439e6c43dda 100644 --- a/Master/texmf-dist/tex/latex/greek-fontenc/textalpha.sty +++ b/Master/texmf-dist/tex/latex/greek-fontenc/textalpha.sty @@ -267,6 +267,10 @@ \DeclareTextCompositeCommand{\<}{LGR}{'}{\accdasiaoxia} \DeclareTextCompositeCommand{\<}{LGR}{`}{\accdasiavaria} \DeclareTextCompositeCommand{\<}{LGR}{~}{\accdasiaperispomeni} + % Hiatus feature (see greek-fontenc.def and babel-greek (greek.ldf)) + \DeclareTextCompositeCommand{\<}{LGR}{^^9f}{\LGR@hiatus} + \DeclareTextCompositeCommand{\>}{LGR}{^^9f}{\LGR@hiatus} + }{} \@ifl@aded{def}{greek-euenc}{ % XeTeX or LuaTeX with Unicode fonts |