summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/polski/polski.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/polski/polski.sty')
-rw-r--r--Master/texmf-dist/tex/latex/polski/polski.sty22
1 files changed, 18 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/polski/polski.sty b/Master/texmf-dist/tex/latex/polski/polski.sty
index 236d94d7401..075b7c189d9 100644
--- a/Master/texmf-dist/tex/latex/polski/polski.sty
+++ b/Master/texmf-dist/tex/latex/polski/polski.sty
@@ -9,8 +9,8 @@
%% This is a generated file.
%%
%% Copyright (C) 1994 by Mariusz Olko. All rights reserved.
-%% Copyright (C) 1997,1998 by Mariusz Olko and Marcin Woli\'nski.
-%% Copyright (C) 2000,2002,2003,2007 by Marcin Woli\'nski.
+%% Copyright (C) 1997, 1998 by Mariusz Olko and Marcin Woli\'nski.
+%% Copyright (C) 2000, 2002, 2003, 2007, 2017 by Marcin Woli\'nski.
%%
%%
%% This file is part of the package `Polski'
@@ -28,8 +28,10 @@
%% package.
%%
\NeedsTeXFormat{LaTeX2e}[1996/12/01]
-\ProvidesPackage{polski}[2008/02/24 v1.3.3 Polish language package]
-\typeout{Document language package `polski' v1.3.3 <2008/02/24>}
+\ProvidesPackage{polski}[2017/05/04 v1.3.4 Polish language package]
+\begingroup
+\def\t#1#2!{\def\s{#2}}\t ą!%
+\expandafter\endgroup\ifx\s\empty\else
\@ifpackageloaded{inputenc}{\typeout{\space\space\space
Inputenc package detected. Catcodes not changed.}}{%
\catcode`\^^a1=11 %\lccode`\^^a1=`\^^a1 \uccode`\^^a1=`\^^81 % a ogonek
@@ -78,6 +80,7 @@
\DeclareMathSymbol{^^91}{\mathalpha}{letters}{`^^91}
\DeclareMathSymbol{^^9b}{\mathalpha}{letters}{`^^9b}
\DeclareMathSymbol{^^99}{\mathalpha}{letters}{`^^99}
+\fi
\ifx\l@nohyphenation\@undefined
\newlanguage\l@nohyphenation
\fi
@@ -90,6 +93,17 @@
\language\csname l@#1\endcsname
\fi
}
+\begingroup\expandafter\expandafter\expandafter\endgroup
+\expandafter\ifx\csname directlua\endcsname\relax
+\else
+\expandafter\ifx\csname l@polish\endcsname\relax
+\newlanguage\l@polish
+\language\l@polish
+\InputIfFileExists{hyph-pl}{}{%
+ \PackageError{polski}{Couldn't load hyphenation patterns for Polish}%
+ {Missing file hyph-pl.tex from the hyph-utf8 project.}%
+}%
+\fi\fi
\ifx\polish\undefined
\selecthyphenation{polish}
\else