summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-09-07 21:47:53 +0000
committerKarl Berry <karl@freefriends.org>2016-09-07 21:47:53 +0000
commitbf0cf916a814908e7078cf01b3b96dd11a1ce418 (patch)
tree4ac8071f956a5dd341d486e481b0e9ad2c6bb0dd /Master/texmf-dist/tex/generic
parent7072d6453d79c6f97fb1d64d706cce408656b919 (diff)
babel-greek (7sep16)
git-svn-id: svn://tug.org/texlive/trunk@42010 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic')
-rw-r--r--Master/texmf-dist/tex/generic/babel-greek/greek.ldf21
1 files changed, 8 insertions, 13 deletions
diff --git a/Master/texmf-dist/tex/generic/babel-greek/greek.ldf b/Master/texmf-dist/tex/generic/babel-greek/greek.ldf
index 072d170c06d..2fe02b3a613 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}
- [2016/02/04 v1.9f Greek support for the babel system]
+ [2016/09/07 v1.9g Greek support for the babel system]
%% File `babel-greek.dtx'
%% Greek language Definition File
%% Copyright © 1997, 2005 Apostolos Syropoulos, Johannes Braams
@@ -104,21 +104,16 @@
\def\encodingdefault{\greekfontencoding}}
\ProvideTextCommandDefault{\ensuregreek}[1]{%
\leavevmode{\greekscript #1}}
-\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}}
- \ProvideTextCommand{\textregistered}{LGR}{\textlatin{\textregistered}}
- \ProvideTextCommand{\texttrademark}{LGR}{\textlatin{\texttrademark}}
+ \ProvideTextCommand{\textcopyright}{LGR}{\ensureascii{\textcopyright}}
+ \ProvideTextCommand{\textregistered}{LGR}{\ensureascii{\textregistered}}
+ \ProvideTextCommand{\texttrademark}{LGR}{\ensureascii{\texttrademark}}
\let\ltx@amp\&
\DeclareTextCommandDefault{\&}{\ltx@amp}
- \DeclareTextCommand{\&}{LGR}{\textlatin{\ltx@amp}}
- \ProvideTextCommand{\SS}{LGR}{\textlatin{\SS}}
- \def\@roman#1{\expandafter\textlatin\expandafter{\romannumeral#1}}
- \def\@Roman#1{\expandafter\textlatin\expandafter{%
+ \DeclareTextCommand{\&}{LGR}{\ensureascii{\ltx@amp}}
+ \ProvideTextCommand{\SS}{LGR}{\ensureascii{\SS}}
+ \def\@roman#1{\expandafter\ensureascii\expandafter{\romannumeral#1}}
+ \def\@Roman#1{\expandafter\ensureascii\expandafter{%
\expandafter\@slowromancap\romannumeral#1@}}
\DeclareRobustCommand{\greektext}{%
\fontencoding{LGR}\selectfont