%% %% This is file `hyphen.cfg', %% generated with the docstrip utility. %% %% The original source files were: %% %% polski.dtx (with options: `hyphenation') %% %% 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 by Marcin Woli\'nski. %% %% %% This file is part of the package `PLaTeX' %% ----------------------------------------- %% %% It may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.2 %% of this license or (at your option) any later version. %% The latest version of this license is in %% http://www.latex-project.org/lppl.txt %% and version 1.2 or later is part of all distributions of LaTeX %% version 1999/12/01 or later. %% %% This file may only be distributed together with a copy of the PLaTeX %% package. %% \global\count19=-1 \begingroup \def\@stopline{\@stopline} \def\line#1#2\@stopline{% \ifx=#1% \leftline#2\@stopline \else \rightline#1#2\@stopline \fi } \def\leftline#1 #2\@stopline{% \ifx\@stopline#2\@stopline\else \errhelp{The line should contain only an equals sign followed by the synonym name.}% \errmessage{Extra stuff on a synonym line in language.dat:^^J =#1 #2}\fi \expandafter\ifx\csname l@#1\endcsname\relax \else \errhelp{This probably means your ``language.dat'' contains many lines starting with `#1' or `=#1'. ^^JThe language `#1' will be redefined. This may not be what you want.}% \errmessage{Language `#1' already defined}\fi \ifnum\count19=\m@ne \errhelp{You cannot put synonyms before first real language definition in language.dat.} \errmessage{Cannot define `#1' as a language synonym: no language defined yet}% \else \global\expandafter\chardef\csname l@#1\endcsname\count19 \wlog{\string\l@#1=\string\language\number\count19} \fi } \def\rightline#1 #2\@stopline{% \expandafter\ifx\csname l@#1\endcsname\relax \expandafter\newlanguage\csname l@#1\endcsname \else \errhelp{This probably means your ``language.dat'' contains many lines starting with `#1' or `=#1'. ^^JThe patterns will be merged with the ones already loaded. This may not be what you want.}% \errmessage{Language `#1' already defined}% \fi \language\csname l@#1\endcsname \edef\displaylines{\displaylines, #1}% \ifx\@stopline#2\@stopline \errhelp{Hyphenation will be inhibited in language `#1'.}% \errmessage{No pattern files specified for language `#1'}% \else \begingroup \message{Loading hyphenation patterns for #1.} \centerline#2\@stopline \endgroup \fi } \def\centerline#1 #2\@stopline{% \InputIfFileExists{#1}{}{% \errhelp{Your language.dat file says I should load a file named `#1'.^^J Check whether this name is correct and the file is installed. ^^JThe format will not be generated.}% \errmessage{Fatal error: patterns file #1 not found}% \endgroup\endgroup\@@end} \ifx\@stopline#2\@stopline\else \centerline#2\@stopline\fi } \def\addvspace #1 \*#2\@stopline{% \ifx\@stopline#2\@stopline \expandafter\def\expandafter\*\expandafter{\* }% \fi } \openin1 = language.dat \ifeof1 \errhelp{You should have a file named language.dat on your system. This file specifies for what languages hyphenation patterns should be loaded and where these are kept. Without this file the format will not be generated.}% \errmessage{Fatal error: language.dat not found}% \endgroup\@@end \fi \let\displaylines\@gobble \loop \endlinechar\m@ne \read1 to \*% \endlinechar`\^^M \ifx\*\empty \else \expandafter\addvspace\*\* \*\@stopline \expandafter\line\*\@stopline \fi \ifeof1\else \repeat \closein1 \ifnum\count19=-1 \errhelp{Your language.dat does not instruct LaTeX to load any hyphenation patterns. Since format with no hyphenation patterns is hardly usable I refuse to generate it. Check your language.dat and try again.}% \errmessage{Fatal error: No languages defined in language.dat}% \endgroup\@@end \fi \edef\displaylines{\the\everyjob \noexpand\wlog{Loaded hyphenation patterns for\displaylines.}} \global\everyjob\expandafter{\displaylines} \endgroup \language0 \lefthyphenmin=2 \righthyphenmin=3 \endinput %% %% End of file `hyphen.cfg'.