diff options
Diffstat (limited to 'Master/texmf-dist/source/generic/babel-greek/greek.dtx')
-rw-r--r-- | Master/texmf-dist/source/generic/babel-greek/greek.dtx | 22 |
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 |