diff options
author | Karl Berry <karl@freefriends.org> | 2016-02-06 23:08:48 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-02-06 23:08:48 +0000 |
commit | 91a84b20bf292e0b92d8e835eb43f56dc464672c (patch) | |
tree | 94601e59c011076e0224fba66dc45dcfe57c68fb /Master/texmf-dist/doc | |
parent | 271b5e39301a387f969ef73ea8d24eb4f087d8da (diff) |
greek-fontenc (7feb16)
git-svn-id: svn://tug.org/texlive/trunk@39606 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc')
-rw-r--r-- | Master/texmf-dist/doc/latex/greek-fontenc/README | 2 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/greek-fontenc/README.html | 5 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/greek-fontenc/alphabeta-doc.pdf | bin | 430893 -> 431341 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/greek-fontenc/alphabeta.sty.html | 55 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/greek-fontenc/diacritics.pdf | bin | 307868 -> 56560 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/greek-fontenc/greek-euenc-doc.pdf | bin | 72128 -> 78400 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/greek-fontenc/greek-euenc.def.html | 15 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/greek-fontenc/lgrenc-test.pdf | bin | 307300 -> 307615 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/greek-fontenc/lgrenc.def.html | 2 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/greek-fontenc/textalpha.sty.html | 202 |
10 files changed, 157 insertions, 124 deletions
diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/README b/Master/texmf-dist/doc/latex/greek-fontenc/README index 9d7277ad53a..c0eeded641c 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/README +++ b/Master/texmf-dist/doc/latex/greek-fontenc/README @@ -62,6 +62,8 @@ News .. 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). ====== =========== ========================================================== __ http://tex.stackexchange.com/questions/281631/greek-small-rho-with-dasia-and-also-psili-problem-with-accent-and-lgr-encodin diff --git a/Master/texmf-dist/doc/latex/greek-fontenc/README.html b/Master/texmf-dist/doc/latex/greek-fontenc/README.html index 48a3dbe087b..98fbde24660 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/README.html +++ b/Master/texmf-dist/doc/latex/greek-fontenc/README.html @@ -697,6 +697,11 @@ with <span class="docutils literal">\MakeUppercase</span>.</p></td> <td><p>2015-12-07</p></td> <td><p>Fix <a class="reference external" href="http://tex.stackexchange.com/questions/281631/greek-small-rho-with-dasia-and-also-psili-problem-with-accent-and-lgr-encodin">rho with dasia bug</a> in lgrenc.def (Linus Romer).</p></td> </tr> +<tr><td><p>0.13.2</p></td> +<td><p>2016-02-05</p></td> +<td><p>Support for standard Unicode text font encoding “TU” +(new in fontspec v2.5a).</p></td> +</tr> </tbody> </table> </div> 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 0ac312c898e..c5001b6f695 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.sty.html b/Master/texmf-dist/doc/latex/greek-fontenc/alphabeta.sty.html index d5d476a0d2b..9f6e4a234f0 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/alphabeta.sty.html +++ b/Master/texmf-dist/doc/latex/greek-fontenc/alphabeta.sty.html @@ -9,7 +9,7 @@ /* Minimal style sheet for the HTML output of Docutils. */ /* */ /* :Author: Günter Milde, based on html4css1.css by David Goodger */ -/* :Id: $Id: minimal.css 7893 2015-05-11 15:38:58Z milde $ */ +/* :Id: $Id: minimal.css 7916 2015-09-11 15:20:14Z milde $ */ /* :Copyright: © 2015 Günter Milde. */ /* :License: Released under the terms of the `2-Clause BSD license`_, */ /* in short: */ @@ -161,8 +161,19 @@ dl.option-list > dt { font-weight: normal; } span.option { white-space: nowrap; } /* Footnotes and Citations */ +dl.footnote.superscript > dd {margin-left: 1em; } +dl.footnote.brackets > dd {margin-left: 2em; } dl > dt.label { font-weight: normal; } -dt.label > span.fn-backref { margin: 0.2em; } +a.footnote-reference.brackets:before, +dt.label > span.brackets:before { content: "["; } +a.footnote-reference.brackets:after, +dt.label > span.brackets:after { content: "]"; } +a.footnote-reference.superscript, +dl.footnote.superscript > dt.label { + vertical-align: super; + font-size: smaller; +} +dt.label > span.fn-backref { margin-left: 0.2em; } dt.label > span.fn-backref > a { font-style: italic; } /* Line Blocks */ @@ -551,7 +562,7 @@ version 1.3 of this license or any later version.</p> <dt class="identification">Identification</dt> <dd class="identification"><pre class="literal-block">\NeedsTeXFormat{LaTeX2e} \ProvidesPackage{alphabeta} -[2015/08/08 v0.13 macros for Greek letters in text and math]</pre> +[2016/02/05 v0.13.2 macros for Greek letters in text and math]</pre> </dd> </dl> <div class="abstract topic"> @@ -563,21 +574,21 @@ mode.</p> <dt>Changelog:</dt> <dd><table class="borderless"> <colgroup> +<col style="width: 8%" /> <col style="width: 14%" /> -<col style="width: 7%" /> -<col style="width: 79%" /> +<col style="width: 78%" /> </colgroup> <tbody> -<tr><td><p>2012-06-26</p></td> -<td><p>0.1</p></td> +<tr><td><p>0.1</p></td> +<td><p>2012-06-26</p></td> <td><p>initial version</p></td> </tr> -<tr><td><p>2013-05-03</p></td> -<td><p>0.2</p></td> +<tr><td><p>0.2</p></td> +<td><p>2013-05-03</p></td> <td><p>new accent macro names with <span class="docutils literal">lgrxenc.def</span> 0.7</p></td> </tr> -<tr><td><p>2013-05-28</p></td> -<td><p>0.3</p></td> +<tr><td><p>0.3</p></td> +<td><p>2013-05-28</p></td> <td><p>use <span class="docutils literal">lgrenc.def</span> from greek-fontenc,</p></td> </tr> <tr><td><!-- --> @@ -585,14 +596,19 @@ mode.</p> <td></td> <td><p>enable Unicode input in math mode.</p></td> </tr> -<tr><td><p>2013-09-11</p></td> -<td><p>0.4</p></td> +<tr><td><p>0.4</p></td> +<td><p>2013-09-11</p></td> <td><p>move to <a class="reference external" href="http://www.ctan.org/pkg/greek-fontenc">greek-fontenc</a>, support XeTeX/LuaTeX.</p></td> </tr> -<tr><td><p>2015-09-04</p></td> -<td><p>0.13</p></td> +<tr><td><p>0.13</p></td> +<td><p>2015-09-04</p></td> <td><p>Support for <cite>variant symbols</cite>.</p></td> </tr> +<tr><td><p>0.13.2</p></td> +<td><p>2016-02-05</p></td> +<td><p>Support for standard Unicode text font encoding “TU” +(new in fontspec v2.5a).</p></td> +</tr> </tbody> </table> </dd> @@ -722,7 +738,7 @@ 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 href="#id1"><span class="problematic" id="id2">`variant symbols`_</span></a> below) to select the GREEK LETTER …” in both, +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} @@ -902,13 +918,6 @@ macros:</p> - - - - - - - - - - --> </div> </div> -<div class="system-messages section"> -<h1>Docutils System Messages</h1> -<div class="system-message" id="id1"> -<p class="system-message-title">System Message: ERROR/3 (<span class="docutils literal">alphabeta.sty.txt</span>, line 182); <em><a href="#id2">backlink</a></em></p> -<p>Unknown target name: "variant symbols".</p> -</div> -</div> </div> </body> </html> 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 fb28f97702a..fb56d7326a7 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 4fc64178b6b..4c9084584a4 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.def.html b/Master/texmf-dist/doc/latex/greek-fontenc/greek-euenc.def.html index 9a9c3060eef..582aa45593f 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 @@ -9,7 +9,7 @@ /* Minimal style sheet for the HTML output of Docutils. */ /* */ /* :Author: Günter Milde, based on html4css1.css by David Goodger */ -/* :Id: $Id: minimal.css 7893 2015-05-11 15:38:58Z milde $ */ +/* :Id: $Id: minimal.css 7916 2015-09-11 15:20:14Z milde $ */ /* :Copyright: © 2015 Günter Milde. */ /* :License: Released under the terms of the `2-Clause BSD license`_, */ /* in short: */ @@ -161,8 +161,19 @@ dl.option-list > dt { font-weight: normal; } span.option { white-space: nowrap; } /* Footnotes and Citations */ +dl.footnote.superscript > dd {margin-left: 1em; } +dl.footnote.brackets > dd {margin-left: 2em; } dl > dt.label { font-weight: normal; } -dt.label > span.fn-backref { margin: 0.2em; } +a.footnote-reference.brackets:before, +dt.label > span.brackets:before { content: "["; } +a.footnote-reference.brackets:after, +dt.label > span.brackets:after { content: "]"; } +a.footnote-reference.superscript, +dl.footnote.superscript > dt.label { + vertical-align: super; + font-size: smaller; +} +dt.label > span.fn-backref { margin-left: 0.2em; } dt.label > span.fn-backref > a { font-style: italic; } /* Line Blocks */ 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 404c82491f0..7becde7e614 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 b9fa1b656d6..6a09fa36a45 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/lgrenc.def.html +++ b/Master/texmf-dist/doc/latex/greek-fontenc/lgrenc.def.html @@ -808,7 +808,7 @@ specific to the LGR font encoding.</p> specific font encoding, in any font encoding supporting Greek. An alternative Greek font encodings is LGI (<a class="reference external" href="http://www.ctan.org/pkg/ibycus-babel">ibycus</a>). Greek script is also supported by the Unicode-based font encodings PU (<cite>PDF Unicode</cite> used by -<a class="reference external" href="http://www.ctan.org/pkg/hyperref">hyperref</a> for PDF metadata), EU1 (XeTeX) and EU2 (LuaTeX). The <a class="reference external" href="textalpha.sty.html">textalpha</a> +<a class="reference external" href="http://www.ctan.org/pkg/hyperref">hyperref</a> for PDF metadata), TU, EU1 (XeTeX) and EU2 (LuaTeX). The <a class="reference external" href="textalpha.sty.html">textalpha</a> package makes these macros available independent of the current font encoding.</p> <pre class="literal-block">\DeclareTextSymbol{\textAlpha}{LGR}{65} 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 4db517380df..5deaaaa681d 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/textalpha.sty.html +++ b/Master/texmf-dist/doc/latex/greek-fontenc/textalpha.sty.html @@ -9,7 +9,7 @@ /* Minimal style sheet for the HTML output of Docutils. */ /* */ /* :Author: Günter Milde, based on html4css1.css by David Goodger */ -/* :Id: $Id: minimal.css 7893 2015-05-11 15:38:58Z milde $ */ +/* :Id: $Id: minimal.css 7916 2015-09-11 15:20:14Z milde $ */ /* :Copyright: © 2015 Günter Milde. */ /* :License: Released under the terms of the `2-Clause BSD license`_, */ /* in short: */ @@ -161,8 +161,19 @@ dl.option-list > dt { font-weight: normal; } span.option { white-space: nowrap; } /* Footnotes and Citations */ +dl.footnote.superscript > dd {margin-left: 1em; } +dl.footnote.brackets > dd {margin-left: 2em; } dl > dt.label { font-weight: normal; } -dt.label > span.fn-backref { margin: 0.2em; } +a.footnote-reference.brackets:before, +dt.label > span.brackets:before { content: "["; } +a.footnote-reference.brackets:after, +dt.label > span.brackets:after { content: "]"; } +a.footnote-reference.superscript, +dl.footnote.superscript > dt.label { + vertical-align: super; + font-size: smaller; +} +dt.label > span.fn-backref { margin-left: 0.2em; } dt.label > span.fn-backref > a { font-style: italic; } /* Line Blocks */ @@ -552,7 +563,7 @@ version 1.3 of this license or any later version.</p> <dt class="identification">Identification</dt> <dd class="identification"><pre class="literal-block">\NeedsTeXFormat{LaTeX2e} \ProvidesPackage{textalpha} -[2015/09/04 v0.13 macros for Greek letters in text]</pre> +[2016/02/05 v0.13.2 macros for Greek letters in text]</pre> </dd> </dl> <div class="abstract topic"> @@ -569,55 +580,54 @@ confusion with the <a class="reference external" href="http://www.ctan.org/pkg/t <dt>Changelog:</dt> <dd><table class="borderless"> <colgroup> +<col style="width: 8%" /> <col style="width: 14%" /> -<col style="width: 7%" /> -<col style="width: 79%" /> +<col style="width: 78%" /> </colgroup> <tbody> -<tr><td><p>2010-06-16</p></td> -<td><p>0.1</p></td> +<tr><td><p>0.1</p></td> +<td><p>2010-06-16</p></td> <td><p>initial version</p></td> </tr> -<tr><td><p>2012-06-27</p></td> -<td><p>0.2</p></td> +<tr><td><p>0.2</p></td> +<td><p>2012-06-27</p></td> <td><p>support for compound Unicode definitions outside LGR</p></td> </tr> -<tr><td><p>2013-05-03</p></td> -<td><p>0.3</p></td> +<tr><td><p>0.3</p></td> +<td><p>2013-05-03</p></td> <td><p>new accent macro names with <span class="docutils literal">lgrxenc.def</span> 0.7</p></td> </tr> -<tr><td><p>2013-05-28</p></td> -<td><p>0.4</p></td> +<tr><td><p>0.4</p></td> +<td><p>2013-05-28</p></td> <td><p>use <span class="docutils literal">lgrenc.def</span> from greek-fontenc.</p></td> </tr> -<tr><td><p>2013-09-11</p></td> -<td><p>0.5</p></td> -<td><p>move to <a class="reference external" href="http://www.ctan.org/pkg/greek-fontenc">greek-fontenc</a>,</p></td> +<tr><td><p>0.5</p></td> +<td><p>2013-09-11 +..</p></td> +<td><p>move to <a class="reference external" href="http://www.ctan.org/pkg/greek-fontenc">greek-fontenc</a>, +support XeTeX/LuaTeX, add breve below accents.</p></td> </tr> -<tr><td><!-- --> -</td> -<td></td> -<td><p>support XeTeX/LuaTeX, add breve below accents.</p></td> -</tr> -<tr><td><p>2013-11-28</p></td> -<td><p>0.11</p></td> +<tr><td><p>0.11</p></td> +<td><p>2013-11-28</p></td> <td><p>compatibility with Xe/LuaTeX in 8-bit mode.</p></td> </tr> -<tr><td><p>2014-12-12</p></td> -<td><p>0.12</p></td> +<tr><td><p>0.12</p></td> +<td><p>2014-12-12</p></td> <td><p>fix auxiliary macro names, define symbol macros for breathing accents.</p></td> </tr> -<tr><td><p>2015-09-04</p></td> -<td><p>0.13</p></td> -<td><p>Option <a class="reference internal" href="#normalize-symbols">normalize-symbols</a>: support for symbol variants.</p></td> -</tr> -<tr><td><!-- --> -</td> -<td></td> -<td><p>Option <a class="reference internal" href="#keep-semicolon">keep-semicolon</a>: use semicolon as erotimatiko +<tr><td><p>0.13</p></td> +<td><p>2015-09-04 +..</p></td> +<td><p>Option <a class="reference internal" href="#normalize-symbols">normalize-symbols</a>: support for symbol variants. +Option <a class="reference internal" href="#keep-semicolon">keep-semicolon</a>: use semicolon as erotimatiko in LGR.</p></td> </tr> +<tr><td><p>0.13.2</p></td> +<td><p>2016-02-05</p></td> +<td><p>Support for standard Unicode text font encoding “TU” +(new in fontspec v2.5a).</p></td> +</tr> </tbody> </table> </dd> @@ -625,30 +635,30 @@ in LGR.</p></td> <div class="contents topic" id="contents"> <p class="topic-title first">Contents</p> <ul class="simple"> -<li><p><a class="reference internal" href="#motivation" id="id2">Motivation</a></p></li> -<li><p><a class="reference internal" href="#usage" id="id3">Usage</a></p></li> -<li><p><a class="reference internal" href="#implementation" id="id4">Implementation</a></p> +<li><p><a class="reference internal" href="#motivation" id="id1">Motivation</a></p></li> +<li><p><a class="reference internal" href="#usage" id="id2">Usage</a></p></li> +<li><p><a class="reference internal" href="#implementation" id="id3">Implementation</a></p> <ul> -<li><p><a class="reference internal" href="#options" id="id5">Options</a></p> +<li><p><a class="reference internal" href="#options" id="id4">Options</a></p> <ul> -<li><p><a class="reference internal" href="#normalize-symbols" id="id6">normalize-symbols</a></p></li> -<li><p><a class="reference internal" href="#keep-semicolon" id="id7">keep-semicolon</a></p></li> +<li><p><a class="reference internal" href="#normalize-symbols" id="id5">normalize-symbols</a></p></li> +<li><p><a class="reference internal" href="#keep-semicolon" id="id6">keep-semicolon</a></p></li> </ul> </li> -<li><p><a class="reference internal" href="#font-encodings" id="id8">Font encodings</a></p></li> -<li><p><a class="reference internal" href="#symbol-macros-for-breathings" id="id9">Symbol macros for breathings</a></p></li> -<li><p><a class="reference internal" href="#default-declarations" id="id10">Default declarations</a></p> +<li><p><a class="reference internal" href="#font-encodings" id="id7">Font encodings</a></p></li> +<li><p><a class="reference internal" href="#symbol-macros-for-breathings" id="id8">Symbol macros for breathings</a></p></li> +<li><p><a class="reference internal" href="#default-declarations" id="id9">Default declarations</a></p> <ul> -<li><p><a class="reference internal" href="#greekscript-ensuregreek" id="id11">greekscript, ensuregreek</a></p></li> -<li><p><a class="reference internal" href="#greek-alphabet" id="id12">Greek Alphabet</a></p></li> -<li><p><a class="reference internal" href="#additional-greek-symbols" id="id13">Additional Greek symbols</a></p> +<li><p><a class="reference internal" href="#greekscript-ensuregreek" id="id10">greekscript, ensuregreek</a></p></li> +<li><p><a class="reference internal" href="#greek-alphabet" id="id11">Greek Alphabet</a></p></li> +<li><p><a class="reference internal" href="#additional-greek-symbols" id="id12">Additional Greek symbols</a></p> <ul> -<li><p><a class="reference internal" href="#variant-shape-symbols" id="id14">variant shape symbols</a></p></li> +<li><p><a class="reference internal" href="#variant-shape-symbols" id="id13">variant shape symbols</a></p></li> </ul> </li> -<li><p><a class="reference internal" href="#diacritics" id="id15">Diacritics</a></p></li> -<li><p><a class="reference internal" href="#auxiliary-macros" id="id16">Auxiliary macros</a></p></li> -<li><p><a class="reference internal" href="#semicolon-as-erotimatiko" id="id17">semicolon as erotimatiko</a></p></li> +<li><p><a class="reference internal" href="#diacritics" id="id14">Diacritics</a></p></li> +<li><p><a class="reference internal" href="#auxiliary-macros" id="id15">Auxiliary macros</a></p></li> +<li><p><a class="reference internal" href="#semicolon-as-erotimatiko" id="id16">semicolon as erotimatiko</a></p></li> </ul> </li> </ul> @@ -656,7 +666,7 @@ in LGR.</p></td> </ul> </div> <div class="section" id="motivation"> -<h1><a class="toc-backref" href="#id2">Motivation</a></h1> +<h1><a class="toc-backref" href="#id1">Motivation</a></h1> <p>By default, TeX macros for Greek letters are only valid in mathematical mode. This package sets up a suitable <a class="reference internal" href="#font-encoding">font encoding</a> and <cite>LaTeX internal character representations</cite> (LICR) definitions for Greek (<span class="docutils literal">\textalpha</span> – @@ -701,7 +711,7 @@ to ensure correct hyphenation of Greek text.</p> </div> </div> <div class="section" id="usage"> -<h1><a class="toc-backref" href="#id3">Usage</a></h1> +<h1><a class="toc-backref" href="#id2">Usage</a></h1> <p>Ensure support for Greek characters in text mode with</p> <pre class="code latex literal-block"><code><span class="keyword">\usepackage</span><span class="name builtin">{</span>textalpha<span class="name builtin">}</span></code></pre> <p>eventually with the <a class="reference internal" href="#options">options</a> to normalize symbols variants</p> @@ -718,11 +728,11 @@ Unicode fonts).</p> in the same document (see <a class="reference external" href="greek-euenc-doc.tex">greek-euenc-doc.tex</a>).</p> </div> <div class="section" id="implementation"> -<h1><a class="toc-backref" href="#id4">Implementation</a></h1> +<h1><a class="toc-backref" href="#id3">Implementation</a></h1> <div class="section" id="options"> -<h2><a class="toc-backref" href="#id5">Options</a></h2> +<h2><a class="toc-backref" href="#id4">Options</a></h2> <div class="section" id="normalize-symbols"> -<h3><a class="toc-backref" href="#id6">normalize-symbols</a></h3> +<h3><a class="toc-backref" href="#id5">normalize-symbols</a></h3> <p>The “variant shape” symbol characters like <span class="docutils literal">03D1 GREEK THETA SYMBOL</span> are mathematical charcters for mathematical use (similar to <span class="docutils literal">1D440 MATHEMATICAL ITALIC CAPITAL M</span>). @@ -743,7 +753,7 @@ errors to prevent information loss in cases where the distinction between \DeclareOption{normalize-symbols}{\textalpha@normalizeSymbolstrue}</pre> </div> <div class="section" id="keep-semicolon"> -<h3><a class="toc-backref" href="#id7">keep-semicolon</a></h3> +<h3><a class="toc-backref" href="#id6">keep-semicolon</a></h3> <p>The <a class="reference external" href="https://en.wikipedia.org/wiki/Question_mark#Erotimatiko">erotimatiko</a> looks like a semicolon but is a <strong>Greek question mark</strong>:</p> <ul class="simple"> @@ -764,40 +774,43 @@ With XeTeX/LuaTeX and Unicode fonts, this option is ignored.</p> </div> </div> <div class="section" id="font-encodings"> -<span id="font-encoding"></span><h2><a class="toc-backref" href="#id8">Font encodings</a></h2> +<span id="font-encoding"></span><h2><a class="toc-backref" href="#id7">Font encodings</a></h2> <p>With 8-bit LaTeX, the <a class="reference external" href="README.html#lgr">LGR font encoding</a> is used for Greek characters. If -no Greek-supporting font encoding (EU1, EU2, or LGR) is declared, LGR is +no Greek-supporting font encoding (TU, EU1, EU2, or LGR) is declared, LGR is loaded and set up as default Greek font encoding by this package.</p> <p>With XeTeX or LuaTeX, there is one common input and font encoding – -Unicode. 8-bit TeX font encodings are only used in compatibility mode or for +Unicode. 8-bit TeX font encodings are only used in compatibility mode or for fonts not available otherwise. For compatibility with the LaTeX font -selection system, the package <a class="reference external" href="http://www.ctan.org/pkg/euenc">euenc</a> defines the (pseudo) font encodings EU1 -and EU2 for XeTeX and LuaTeX respectively. However euenc does not (yet) -define LICR macros. We therefore explicitely load Greek LICR definitions for -XeTeX/LuaTeX from <a class="reference external" href="greek-euenc.def.html">greek-euenc.def</a> which in turn -includes <a class="reference external" href="greek-fontenc.def.html">greek-fontenc.def</a>.</p> +selection system, <a class="reference external" href="http://www.ctan.org/pkg/fontspec">fontspec</a> defines the TU font encoding or the (pseudo) +font encodings EU1 and EU2 for XeTeX and LuaTeX respectively. However +<cite>fontspec</cite> does not (yet) define Greek LICR macros. We therefore explicitely +load Greek LICR definitions for XeTeX/LuaTeX from <a class="reference external" href="greek-euenc.def.html">greek-euenc.def</a> which in turn includes <a class="reference external" href="greek-fontenc.def.html">greek-fontenc.def</a>.</p> <p>Ensure a Greek-supporting font encoding exists and supports Greek LICR macros:</p> <ul class="simple"> -<li><p>Load the Greek LICR definitions for Unicode if font encoding EU1 (XeTeX) -or EU2 (LuaTeX) is detected. <a class="footnote-reference" href="#eu" id="id1">[1]</a> (In an ideal world, this would be done -in the <span class="docutils literal">eu1enc.def</span> (or <span class="docutils literal">eu2enc.def</span>) file of the <a class="reference external" href="http://www.ctan.org/pkg/euenc">euenc</a> package.)</p></li> +<li><p>Load the Greek LICR definitions for Unicode if the font encoding TU, EU1 +(XeTeX) or EU2 (LuaTeX) is detected.</p></li> <li><p>Re-set <span class="docutils literal">\LastDeclaredEncoding</span> (used in some included font-encoding files).</p></li> -<li><p>If none of EU1, EU2, or LGR is declared, load <span class="docutils literal">lgrenc.def</span>.</p></li> +<li><p>If none of TU, EU1, EU2, or LGR is declared, load <span class="docutils literal">lgrenc.def</span>.</p></li> </ul> -<pre class="literal-block">\@ifl@aded{def}{eu1enc}{ - \renewcommand{\LastDeclaredEncoding}{EU1} +<pre class="literal-block">\@ifl@aded{def}{tuenc}{ + \renewcommand{\LastDeclaredEncoding}{TU} \input{greek-euenc.def} }{% else - \@ifl@aded{def}{eu2enc}{ - \renewcommand{\LastDeclaredEncoding}{EU2} + \@ifl@aded{def}{eu1enc}{ + \renewcommand{\LastDeclaredEncoding}{EU1} \input{greek-euenc.def} }{% else - \@ifl@aded{def}{lgrenc}{ - % LGR already declared and set up - \renewcommand{\LastDeclaredEncoding}{LGR} - }{ - \input{lgrenc.def} + \@ifl@aded{def}{eu2enc}{ + \renewcommand{\LastDeclaredEncoding}{EU2} + \input{greek-euenc.def} + }{% else + \@ifl@aded{def}{lgrenc}{ + % LGR already declared and set up + \renewcommand{\LastDeclaredEncoding}{LGR} + }{ + \input{lgrenc.def} + } } } }</pre> @@ -808,21 +821,14 @@ in the <span class="docutils literal">eu1enc.def</span> (or <span class="docutil {\ProvideTextCommand{\greekscript}{PU}{} \ProvideTextCommand{\ensuregreek}{PU}[1]{#1}} {}</pre> -<dl class="footnote"> -<dt class="label" id="eu"><a class="fn-backref" href="#id1">[1]</a></dt> -<dd><p>The two different (pseudo) font encodings allow different font -setups for XeTeX vs. LuaTeX using differently named <span class="docutils literal">*.fd</span> files (see -<a class="reference external" href="http://www.ctan.org/pkg/euenc">euenc</a> for details).</p> -</dd> -</dl> </div> <div class="section" id="symbol-macros-for-breathings"> -<h2><a class="toc-backref" href="#id9">Symbol macros for breathings</a></h2> +<h2><a class="toc-backref" href="#id8">Symbol macros for breathings</a></h2> <p>In the Latin transcription provided by LGR, breathing accents (Dasia and Psili) are input as < and >. We provide the corresponding NFSS macro accents (moved here from <a class="reference external" href="greek-fontenc.def.html">greek-fontenc.def</a>).</p> <p>As Xe/LuaTeX may use LGR in combination with EU1 or EU2, we define the -macros for both, LGR and Unicode font encodings (if they are defined):</p> +macros twice, for LGR and Unicode font encodings (if they are defined):</p> <pre class="literal-block">\@ifl@aded{def}{lgrenc}{ \DeclareTextCommand{\<}{LGR}{\accdasia} \DeclareTextCommand{\>}{LGR}{\accpsili} @@ -835,7 +841,7 @@ macros for both, LGR and Unicode font encodings (if they are defined):</p> \DeclareTextCompositeCommand{\<}{LGR}{~}{\accdasiaperispomeni} }{} -\@ifl@aded{def}{greek-euenc}{ % XeTeX (EU1) or LuaTeX (EU2) +\@ifl@aded{def}{greek-euenc}{ % XeTeX or LuaTeX with Unicode fonts \DeclareTextCommand{\<}{\LastDeclaredEncoding}{\accdasia} \DeclareTextCommand{\>}{\LastDeclaredEncoding}{\accpsili} % Composite accents starting with the new-defined shortcuts: @@ -848,7 +854,7 @@ macros for both, LGR and Unicode font encodings (if they are defined):</p> }{}</pre> </div> <div class="section" id="default-declarations"> -<h2><a class="toc-backref" href="#id10">Default declarations</a></h2> +<h2><a class="toc-backref" href="#id9">Default declarations</a></h2> <p>The following definitions ensure that the Greek LICR macros can be used anywhere in the document also with 8-bit TeX by declaring LGR as their default font encoding. Abort here, if the LGR font encoding is not defined:</p> @@ -857,7 +863,7 @@ default font encoding. Abort here, if the LGR font encoding is not defined:</p> % else return: {\expandafter\endinput}</pre> <div class="section" id="greekscript-ensuregreek"> -<h3><a class="toc-backref" href="#id11">greekscript, ensuregreek</a></h3> +<h3><a class="toc-backref" href="#id10">greekscript, ensuregreek</a></h3> <p>The <span class="docutils literal">\greekscript</span> declaration ensures the current font encoding supports the Greek script. <span class="docutils literal"><span class="pre">greek-fontenc.def</span></span> sets this to the empty declaration for font encodings that do so. This is currently used by <span class="docutils literal">lgrenc.def</span> @@ -880,13 +886,13 @@ However, the simpler alternative Unicode characters in the test document `<textalpha-doc.tex>`__: ``! You can't use a prefix with `end-group character }'.`` --> -<p>Eventually, all font encodings supporting Greek script (e.g. LGI, PU, EU1, -EU2) will declare <span class="docutils literal">\ensuregreek</span> as text command that passes the argument -unchanged. This way, kerning and selection of precomposed glyphs would work -also for cases like <span class="docutils literal"><span class="pre">\ensuregreek{\'A}U</span></span>.</p> +<p>Eventually, all font encodings supporting Greek script (e.g. LGI, PU, TU, +EU1, EU2) will declare <span class="docutils literal">\ensuregreek</span> as text command that passes the +argument unchanged. This way, kerning and selection of precomposed glyphs +would work also for cases like <span class="docutils literal"><span class="pre">\ensuregreek{\'A}U</span></span>.</p> </div> <div class="section" id="greek-alphabet"> -<h3><a class="toc-backref" href="#id12">Greek Alphabet</a></h3> +<h3><a class="toc-backref" href="#id11">Greek Alphabet</a></h3> <p>Define the <span class="docutils literal">text*</span> marcos as default for all font encodings:</p> <pre class="literal-block">\DeclareTextSymbolDefault{\textAlpha}{LGR} \DeclareTextSymbolDefault{\textBeta}{LGR} @@ -942,7 +948,7 @@ also for cases like <span class="docutils literal"><span class="pre">\ensuregree \DeclareTextSymbolDefault{\textomega}{LGR}</pre> </div> <div class="section" id="additional-greek-symbols"> -<h3><a class="toc-backref" href="#id13">Additional Greek symbols</a></h3> +<h3><a class="toc-backref" href="#id12">Additional Greek symbols</a></h3> <p>Including alias names for compatibility with hyperref’s puenc.def.</p> <p>Ancient Greek Numbers (Athenian Numerals):</p> <pre class="literal-block">\DeclareTextSymbolDefault{\textpentedeka}{LGR} % GREEK ACROPHONIC ATTIC FIFTY @@ -973,7 +979,7 @@ also for cases like <span class="docutils literal"><span class="pre">\ensuregree <pre class="literal-block">\DeclareTextSymbolDefault{\textnumeralsigngreek}{LGR} % (puenc.def) \DeclareTextSymbolDefault{\textnumeralsignlowergreek}{LGR} % (puenc.def)</pre> <div class="section" id="variant-shape-symbols"> -<h4><a class="toc-backref" href="#id14">variant shape symbols</a></h4> +<h4><a class="toc-backref" href="#id13">variant shape symbols</a></h4> <p>Mathematical notation uses variant shapes of some Greek letters as additional symbols. There are separate code points for the symbol variants in Unicode but not in the LGR font encoding used for Greek in 8-bit TeX. @@ -1000,7 +1006,7 @@ The variations have no syntactic meaning in Greek text.</p> </div> </div> <div class="section" id="diacritics"> -<h3><a class="toc-backref" href="#id15">Diacritics</a></h3> +<h3><a class="toc-backref" href="#id14">Diacritics</a></h3> <p>Greek diacritics via “named” macros:</p> <pre class="literal-block">\DeclareTextAccentDefault{\accdasia}{LGR} \DeclareTextAccentDefault{\accpsili}{LGR} @@ -1030,14 +1036,14 @@ The variations have no syntactic meaning in Greek text.</p> \DeclareTextAccentDefault{\accbrevebelow}{LGR} % BREVE BELOW</pre> </div> <div class="section" id="auxiliary-macros"> -<h3><a class="toc-backref" href="#id16">Auxiliary macros</a></h3> +<h3><a class="toc-backref" href="#id15">Auxiliary macros</a></h3> <p><span class="docutils literal">\MakeUppercase</span> requires three internal commands:</p> <pre class="literal-block">\DeclareTextAccentDefault{\LGR@accdropped}{LGR} \DeclareTextAccentDefault{\LGR@accDialytika}{LGR} \DeclareTextAccentDefault{\LGR@hiatus}{LGR}</pre> </div> <div class="section" id="semicolon-as-erotimatiko"> -<h3><a class="toc-backref" href="#id17">semicolon as erotimatiko</a></h3> +<h3><a class="toc-backref" href="#id16">semicolon as erotimatiko</a></h3> <p>The text command <span class="docutils literal">\textsemicolon</span> inserts <span class="docutils literal">\texterotimatiko</span> in LGR font encoding and a “normal” semicolon else:</p> <pre class="literal-block">\ProvideTextCommandDefault{\textsemicolon}{;} |