summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/generic/babel-greek
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-09-13 22:09:13 +0000
committerKarl Berry <karl@freefriends.org>2013-09-13 22:09:13 +0000
commit4361f8dd30f8ebf9b50151255b970b909c02a319 (patch)
treeb05da323bad7de9e91bf14b85be5097829d07359 /Master/texmf-dist/source/generic/babel-greek
parent6f3ea19c12e4e035a14c4092c3fdc4cbc359a7fb (diff)
babel-greek (13sep13)
git-svn-id: svn://tug.org/texlive/trunk@31647 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/generic/babel-greek')
-rw-r--r--Master/texmf-dist/source/generic/babel-greek/greek.dtx22
1 files changed, 12 insertions, 10 deletions
diff --git a/Master/texmf-dist/source/generic/babel-greek/greek.dtx b/Master/texmf-dist/source/generic/babel-greek/greek.dtx
index ad4cb130d84..ddf0fac5177 100644
--- a/Master/texmf-dist/source/generic/babel-greek/greek.dtx
+++ b/Master/texmf-dist/source/generic/babel-greek/greek.dtx
@@ -36,7 +36,7 @@
%<code>\ProvidesLanguage{greek}
%\fi
%\ProvidesFile{greek.dtx}
- [2013/09/09 v1.7 Greek support for the babel system]
+ [2013/09/13 v1.7a Greek support for the babel system]
%\iffalse
%% File `greek.dtx'
%% Babel package for LaTeX version 2e
@@ -100,7 +100,8 @@
% redefinition (thanks to Enrico Gregorio and Claudio Beccari),
% load LICR macro definitions for Xe/LuaTeX.}
% \changes{greek-1.7}{2013/09/09}{Do not load euenc.def with XeTeX/LuaTeX.
-% Users should load greek-fontenc instead.}
+% Prevent re-loading lgrenc.def.}
+% \changes{greek-1.7a}{2013/09/13}{bugfix: remove spurious ``fi''.}
%
% \section{Babel support for the Greek language}
%
@@ -332,15 +333,16 @@
% \begin{macrocode}
\let\greektext\relax
\let\textgreek\@firstofone
- \fi
\else
- \InputIfFileExists{lgrenc.def}{}{%
- \errhelp{I can't find the lgrenc.def file for the Greek fonts}%
- \errmessage{Since I do not know the LGR font encoding^^J
- I can't typeset Greek with 8-bit TeX.^^J
- Please install the "greek-fontenc" package or use XeTeX/LuaTeX.}%
- \@@end
- }
+ \@ifundefined{ver@lgrenc.def}{
+ \InputIfFileExists{lgrenc.def}{}{%
+ \errhelp{I can't find the lgrenc.def file for the Greek fonts}%
+ \errmessage{Since I do not know the LGR font encoding^^J
+ I can't typeset Greek with 8-bit TeX.^^J
+ Please install the "greek-fontenc" package or use XeTeX/LuaTeX.}%
+ \@@end
+ }
+ }{}
% \end{macrocode}
%
% We redefine a few commands in the LGR encoding