diff options
author | Karl Berry <karl@freefriends.org> | 2014-12-29 23:24:17 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2014-12-29 23:24:17 +0000 |
commit | 9a0f0d057b7f36dcc8f060ed5efdcdf0408ad201 (patch) | |
tree | fc17e9fd17d0395d4b5b7b6b0a77803cf38824d1 /Master/texmf-dist/doc/latex/greek-fontenc/textalpha.sty.html | |
parent | e8520f340f5558c580fc5f6cc601cc4361ad5970 (diff) |
greek-fontenc (25dec14)
git-svn-id: svn://tug.org/texlive/trunk@35920 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/greek-fontenc/textalpha.sty.html')
-rw-r--r-- | Master/texmf-dist/doc/latex/greek-fontenc/textalpha.sty.html | 64 |
1 files changed, 52 insertions, 12 deletions
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 2816c35c620..c5fe6c0384c 100644 --- a/Master/texmf-dist/doc/latex/greek-fontenc/textalpha.sty.html +++ b/Master/texmf-dist/doc/latex/greek-fontenc/textalpha.sty.html @@ -3,7 +3,7 @@ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> -<meta name="generator" content="Docutils 0.12: http://docutils.sourceforge.net/" /> +<meta name="generator" content="Docutils 0.13: http://docutils.sourceforge.net/" /> <title>textalpha.sty</title> <meta name="copyright" content="© 2010 Günter Milde" /> <style type="text/css"> @@ -729,7 +729,7 @@ version 1.3 of this license or any later version.</p> <dt>Identification</dt> <dd><pre class="literal-block">\NeedsTeXFormat{LaTeX2e} \ProvidesPackage{textalpha} -[2013/11/28 v0.11 macros for Greek letters in text] +[2014/12/12 v0.12 macros for Greek letters in text] </pre> </dd> </dl> @@ -779,7 +779,12 @@ confusion with the <a class="reference external" href="http://www.ctan.org/pkg/t </tr> <tr><td><p>2013-11-28</p></td> <td><p>0.11</p></td> -<td><p>Compatibility with Xe/LuaTeX in 8-bit mode.</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> +<td><p>fix auxiliary macro names, +define symbol macros for breathing accents.</p></td> </tr> </tbody> </table> @@ -903,16 +908,48 @@ details).</p> {} </pre> </div> +<div class="section" id="symbol-macros-for-breathings"> +<h3>Symbol macros for breathings</h3> +<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> +<pre class="literal-block">\@ifl@aded{def}{lgrenc}{ + \DeclareTextCommand{\<}{LGR}{\accdasia} + \DeclareTextCommand{\>}{LGR}{\accpsili} + % Composite accents starting with the new-defined shortcuts: + \DeclareTextCompositeCommand{\>}{LGR}{'}{\accpsilioxia} + \DeclareTextCompositeCommand{\>}{LGR}{`}{\accpsilivaria} + \DeclareTextCompositeCommand{\>}{LGR}{~}{\accpsiliperispomeni} + \DeclareTextCompositeCommand{\<}{LGR}{'}{\accdasiaoxia} + \DeclareTextCompositeCommand{\<}{LGR}{`}{\accdasiavaria} + \DeclareTextCompositeCommand{\<}{LGR}{~}{\accdasiaperispomeni} +}{} + +\@ifl@aded{def}{greek-euenc}{ % XeTeX (EU1) or LuaTeX (EU2) + \DeclareTextCommand{\<}{\LastDeclaredEncoding}{\accdasia} + \DeclareTextCommand{\>}{\LastDeclaredEncoding}{\accpsili} + % Composite accents starting with the new-defined shortcuts: + \DeclareTextCompositeCommand{\>}{\LastDeclaredEncoding}{'}{\accpsilioxia} + \DeclareTextCompositeCommand{\>}{\LastDeclaredEncoding}{`}{\accpsilivaria} + \DeclareTextCompositeCommand{\>}{\LastDeclaredEncoding}{~}{\accpsiliperispomeni} + \DeclareTextCompositeCommand{\<}{\LastDeclaredEncoding}{'}{\accdasiaoxia} + \DeclareTextCompositeCommand{\<}{\LastDeclaredEncoding}{`}{\accdasiavaria} + \DeclareTextCompositeCommand{\<}{\LastDeclaredEncoding}{~}{\accdasiaperispomeni} +}{} +</pre> +</div> </div> <div class="section" id="default-declarations"> <h2>Default declarations</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 another Greek-supporting -font encoding is used instead of LGR:</p> +default font encoding. Abort here, if the LGR font encoding is not defined:</p> <pre class="literal-block">\@ifl@aded{def}{lgrenc} - {\renewcommand{\LastDeclaredEncoding}{LGR}} - {\expandafter\endinput} % "return" + {} +% else return: + {\expandafter\endinput} </pre> <div class="section" id="greekscript-ensuregreek"> <h3>greekscript, ensuregreek</h3> @@ -1046,8 +1083,6 @@ also for cases like <tt class="literal"><span class="pre">\ensuregreek{\'A}U</sp \DeclareTextAccentDefault{\accvaria}{LGR} \DeclareTextAccentDefault{\accperispomeni}{LGR} \DeclareTextAccentDefault{\accdialytika}{LGR} -\DeclareTextAccentDefault{\<}{LGR} -\DeclareTextAccentDefault{\>}{LGR} % \DeclareTextAccentDefault{\accdasiaoxia}{LGR} \DeclareTextAccentDefault{\accdasiavaria}{LGR} @@ -1059,6 +1094,10 @@ also for cases like <tt class="literal"><span class="pre">\ensuregreek{\'A}U</sp \DeclareTextAccentDefault{\accdialytikavaria}{LGR} \DeclareTextAccentDefault{\accdialytikaperispomeni}{LGR} </pre> +<p>Symbol macros for the breathings:</p> +<pre class="literal-block">\DeclareTextAccentDefault{\<}{LGR} +\DeclareTextAccentDefault{\>}{LGR} +</pre> <p>Postfix accents:</p> <pre class="literal-block">\DeclareTextSymbolDefault{\ypogegrammeni}{LGR} % "small" sub-iota \DeclareTextSymbolDefault{\prosgegrammeni}{LGR} % "capital" sub-iota @@ -1071,9 +1110,10 @@ also for cases like <tt class="literal"><span class="pre">\ensuregreek{\'A}U</sp </div> <div class="section" id="auxiliary-macros"> <h3>Auxiliary macros</h3> -<p><tt class="literal">\MakeUppercase</tt> requires two internal commands:</p> -<pre class="literal-block">\DeclareTextAccentDefault{\LGR@hiatus}{LGR} -\DeclareTextAccentDefault{\LGR@Dialytika}{LGR} +<p><tt class="literal">\MakeUppercase</tt> requires three internal commands:</p> +<pre class="literal-block">\DeclareTextAccentDefault{\LGR@accdropped}{LGR} +\DeclareTextAccentDefault{\LGR@accDialytika}{LGR} +\DeclareTextAccentDefault{\LGR@hiatus}{LGR} </pre> <!-- References - - - - - - - - - - --> |