summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/greek-fontenc/textalpha.sty.html
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-12-29 23:24:17 +0000
committerKarl Berry <karl@freefriends.org>2014-12-29 23:24:17 +0000
commit9a0f0d057b7f36dcc8f060ed5efdcdf0408ad201 (patch)
treefc17e9fd17d0395d4b5b7b6b0a77803cf38824d1 /Master/texmf-dist/doc/latex/greek-fontenc/textalpha.sty.html
parente8520f340f5558c580fc5f6cc601cc4361ad5970 (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.html64
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&nbsp;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 &lt; and &gt;. 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">\&#64;ifl&#64;aded{def}{lgrenc}{
+ \DeclareTextCommand{\&lt;}{LGR}{\accdasia}
+ \DeclareTextCommand{\&gt;}{LGR}{\accpsili}
+ % Composite accents starting with the new-defined shortcuts:
+ \DeclareTextCompositeCommand{\&gt;}{LGR}{'}{\accpsilioxia}
+ \DeclareTextCompositeCommand{\&gt;}{LGR}{`}{\accpsilivaria}
+ \DeclareTextCompositeCommand{\&gt;}{LGR}{~}{\accpsiliperispomeni}
+ \DeclareTextCompositeCommand{\&lt;}{LGR}{'}{\accdasiaoxia}
+ \DeclareTextCompositeCommand{\&lt;}{LGR}{`}{\accdasiavaria}
+ \DeclareTextCompositeCommand{\&lt;}{LGR}{~}{\accdasiaperispomeni}
+}{}
+
+\&#64;ifl&#64;aded{def}{greek-euenc}{ % XeTeX (EU1) or LuaTeX (EU2)
+ \DeclareTextCommand{\&lt;}{\LastDeclaredEncoding}{\accdasia}
+ \DeclareTextCommand{\&gt;}{\LastDeclaredEncoding}{\accpsili}
+ % Composite accents starting with the new-defined shortcuts:
+ \DeclareTextCompositeCommand{\&gt;}{\LastDeclaredEncoding}{'}{\accpsilioxia}
+ \DeclareTextCompositeCommand{\&gt;}{\LastDeclaredEncoding}{`}{\accpsilivaria}
+ \DeclareTextCompositeCommand{\&gt;}{\LastDeclaredEncoding}{~}{\accpsiliperispomeni}
+ \DeclareTextCompositeCommand{\&lt;}{\LastDeclaredEncoding}{'}{\accdasiaoxia}
+ \DeclareTextCompositeCommand{\&lt;}{\LastDeclaredEncoding}{`}{\accdasiavaria}
+ \DeclareTextCompositeCommand{\&lt;}{\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">\&#64;ifl&#64;aded{def}{lgrenc}
- {\renewcommand{\LastDeclaredEncoding}{LGR}}
- {\expandafter\endinput} % &quot;return&quot;
+ {}
+% 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{\&lt;}{LGR}
-\DeclareTextAccentDefault{\&gt;}{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{\&lt;}{LGR}
+\DeclareTextAccentDefault{\&gt;}{LGR}
+</pre>
<p>Postfix accents:</p>
<pre class="literal-block">\DeclareTextSymbolDefault{\ypogegrammeni}{LGR} % &quot;small&quot; sub-iota
\DeclareTextSymbolDefault{\prosgegrammeni}{LGR} % &quot;capital&quot; 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&#64;hiatus}{LGR}
-\DeclareTextAccentDefault{\LGR&#64;Dialytika}{LGR}
+<p><tt class="literal">\MakeUppercase</tt> requires three internal commands:</p>
+<pre class="literal-block">\DeclareTextAccentDefault{\LGR&#64;accdropped}{LGR}
+\DeclareTextAccentDefault{\LGR&#64;accDialytika}{LGR}
+\DeclareTextAccentDefault{\LGR&#64;hiatus}{LGR}
</pre>
<!-- References
- - - - - - - - - - -->