diff options
author | Karl Berry <karl@freefriends.org> | 2017-05-05 22:48:49 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2017-05-05 22:48:49 +0000 |
commit | 2bfc354ae2add4f91f93789cef0f5fdba9a91ad3 (patch) | |
tree | 72832d1c441372d71b956a9731da53e16dfaf16a /Master/texmf-dist/tex/latex/polski/polski.sty | |
parent | 4f2e3884f814d46f0bbdb3f072c235e945c49eab (diff) |
polski (5may17)
git-svn-id: svn://tug.org/texlive/trunk@44213 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/polski/polski.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/polski/polski.sty | 22 |
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 |