summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/babel-icelandic/icelandic.ldf
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/generic/babel-icelandic/icelandic.ldf')
-rw-r--r--Master/texmf-dist/tex/generic/babel-icelandic/icelandic.ldf12
1 files changed, 9 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/generic/babel-icelandic/icelandic.ldf b/Master/texmf-dist/tex/generic/babel-icelandic/icelandic.ldf
index 5653be7c5f7..fce95f03901 100644
--- a/Master/texmf-dist/tex/generic/babel-icelandic/icelandic.ldf
+++ b/Master/texmf-dist/tex/generic/babel-icelandic/icelandic.ldf
@@ -37,13 +37,13 @@
%% and covered by LPPL is defined by the unpacking scripts (with
%% extension .ins) which are part of the distribution.
\ProvidesLanguage{icelandic}
- [2015/12/29 v1.2a Icelandic support from the babel system]
+ [2016/01/14 v1.2b Icelandic support from the babel system]
%% File iceland.dtx
%% Icelandic Language Definition File
-%% Copyright (C) 1996--2015
+%% Copyright (C) 1996--2016
%% by Einar \'Arnason <einar@lif.hi.is>
%% Johannes Braams, TeXniek
-%% Javier Bezos (1.2a)
+%% Javier Bezos (1.2a,b)
%%
\def\bbl@tempa{icelandic}
\ifx\CurrentOption\bbl@tempa
@@ -164,6 +164,12 @@
[unicode, charset=utf8, fontenc=EU1 EU2]
\AfterBabelCommands{%
\newcommand\icelandic@og{%
+ \AtBeginDocument{%
+ \@ifundefined{T@\ifcase\bbl@engine\or EU2\or EU1\fi}%
+ {\PackageWarning{icelandic}%
+ {With xetex/luatex EU1 or EU2 should be defined. Use\MessageBreak
+ `fontspec' o `fontenc'. I'll proceed, but expect\MessageBreak
+ some errors. Reported}}{}}%
\edef\icelandic@tempa##1{%
\noexpand\DeclareTextCommand
{##1}{\ifcase\bbl@engine\or EU2\or EU1\fi}}%