summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/generic')
-rw-r--r--Master/texmf-dist/tex/generic/babel-greek/greek.ldf8
1 files changed, 7 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/generic/babel-greek/greek.ldf b/Master/texmf-dist/tex/generic/babel-greek/greek.ldf
index 0a2d8cda18f..072d170c06d 100644
--- a/Master/texmf-dist/tex/generic/babel-greek/greek.ldf
+++ b/Master/texmf-dist/tex/generic/babel-greek/greek.ldf
@@ -32,7 +32,7 @@
%% and covered by LPPL is defined by the unpacking script (babel-greek.ins)
%% which is part of the package.
\ProvidesLanguage{greek}
- [2015/09/04 v1.9e Greek support for the babel system]
+ [2016/02/04 v1.9f Greek support for the babel system]
%% File `babel-greek.dtx'
%% Greek language Definition File
%% Copyright © 1997, 2005 Apostolos Syropoulos, Johannes Braams
@@ -71,6 +71,11 @@
\let\captionsgreek\captionsancientgreek
\let\gr@month\gr@c@month % (modern) polytonic month names
}
+\@ifl@aded{def}{tuenc}{
+ \providecommand*{\greekfontencoding}{TU}
+ \providecommand*{\bbl@greek@fontencdef}{greek-euenc}
+ \renewcommand*{\LastDeclaredEncoding}{TU}
+}{}
\@ifl@aded{def}{eu1enc}{
\providecommand*{\greekfontencoding}{EU1}
\providecommand*{\bbl@greek@fontencdef}{greek-euenc}
@@ -102,6 +107,7 @@
\AtBeginDocument{%
\@ifl@aded{def}{eu1enc}{\xdef\latinencoding{EU1}}{}% XeTeX
\@ifl@aded{def}{eu2enc}{\xdef\latinencoding{EU2}}{}% LuaTeX
+ \@ifl@aded{def}{tuenc}{\xdef\latinencoding{TU}}{}% fontspec >= 2.5a
}
\@ifl@aded{def}{lgrenc}{%
\ProvideTextCommand{\textcopyright}{LGR}{\textlatin{\textcopyright}}