summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-01-12 23:46:54 +0000
committerKarl Berry <karl@freefriends.org>2006-01-12 23:46:54 +0000
commit82496c92bafe682c947f2a86d13315e80802f199 (patch)
tree0d63181d2fbbb9ff568691b018d65ba7f7788964 /Master/texmf-dist/tex
parentb1c871653d37d9c6fd0f97b048dca051b5b1db27 (diff)
trunk/Master/texmf-dist/tex/platex
git-svn-id: svn://tug.org/texlive/trunk@622 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/platex/config/hyphen.cfg135
-rw-r--r--Master/texmf-dist/tex/platex/config/language.dat73
-rw-r--r--Master/texmf-dist/tex/platex/config/pdfplatex.ini5
-rw-r--r--Master/texmf-dist/tex/platex/config/platex.ini21
4 files changed, 234 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/platex/config/hyphen.cfg b/Master/texmf-dist/tex/platex/config/hyphen.cfg
new file mode 100644
index 00000000000..6f833bfe055
--- /dev/null
+++ b/Master/texmf-dist/tex/platex/config/hyphen.cfg
@@ -0,0 +1,135 @@
+%%
+%% 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'.
diff --git a/Master/texmf-dist/tex/platex/config/language.dat b/Master/texmf-dist/tex/platex/config/language.dat
new file mode 100644
index 00000000000..55e43e76ede
--- /dev/null
+++ b/Master/texmf-dist/tex/platex/config/language.dat
@@ -0,0 +1,73 @@
+%% language.dat
+%%
+%% This file specifies which hyphenation patterns iniTeX should load
+%% while generating a format file.
+%%
+%%
+%% This file can contain two kinds of lines:
+%% 1. Lines of the form
+%% <language name> <list of pattern files to load>
+%% instruct iniTeX to allocate new language and load all pattern files
+%% for that language.
+%% 2. Lines of the form
+%% =<language name>
+%% say that language name specified on this line is just a synonym for
+%% the language defined by previous line.
+%% Comments start with percent character.
+%%
+%% Note: the first defined language will be the default if you use no
+%% language switching package (such as babel or polski.sty or
+%% german.sty).
+%% By convention the american english patterns should be the default.
+%%
+%% Below you'll find many example entries which you may want to
+%% activate by removing the % from line beginning. Before activating
+%% any of the lines below please check if you have appropriate
+%% hyphenation patterns files or iniTeX will fail to generate the
+%% format.
+%%
+%% If you've got here by using some configuration program you should
+%% edit this file to your taste, save it and exit the editor. Then
+%% probably your configuration program will regenerate format files to
+%% put your changes into effect.
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%% BEGINNING OF DATA %%%%%%%%%%%%%%%%%%%%%%%%%
+
+%% This line defines language `american' with original Knuth's
+%% patterns:
+
+american hyphen.tex
+
+%% If you use Babel you should include this line instead:
+
+%american ushyph1.tex
+
+%% Please always include one of the above two lines!
+%%
+%% This line declares name USenglish as a synonym for american:
+
+=USenglish
+
+%% UK english:
+%british ukhyph.tex
+%=UKenglish
+=english
+
+%catalan cahyph.tex
+%croatian hrhyph.tex
+%czech czhyph2e.tex
+%danish dkhyphen.tex
+%dutch nehyph1.tex
+%dutch nehyph2.tex
+%dutch nehyph3.tex
+%finnish fihyph.tex
+%french frhyph.tex frhyphex.tex
+%german ghyph31.tex
+%italian ithyph.tex
+%norsk nohyph.tex
+polish plhyph.tex
+%portuges pthyph.tex
+%romanian rohyphen.tex
+%slovene sihyph22.tex
+%spanish sphyph.tex
+%swedish sehyph.tex
diff --git a/Master/texmf-dist/tex/platex/config/pdfplatex.ini b/Master/texmf-dist/tex/platex/config/pdfplatex.ini
new file mode 100644
index 00000000000..980fc8b95d2
--- /dev/null
+++ b/Master/texmf-dist/tex/platex/config/pdfplatex.ini
@@ -0,0 +1,5 @@
+% StaW, 2000. public domain.
+\input pdftexconfig.tex
+\scrollmode
+\input latex.ltx
+\endinput
diff --git a/Master/texmf-dist/tex/platex/config/platex.ini b/Master/texmf-dist/tex/platex/config/platex.ini
new file mode 100644
index 00000000000..2f9d7bb702c
--- /dev/null
+++ b/Master/texmf-dist/tex/platex/config/platex.ini
@@ -0,0 +1,21 @@
+% 21.06.2004 Staszek Wawrykiewicz (public domain)
+\ifx\pdfoutput\undefined \else
+ \ifx\pdfoutput\relax \else
+ %
+ % We're building the platex format with the pdfetex engine (started 2004).
+ \input pdftexconfig
+ \pdfoutput=0
+ %
+ % pdfTeX related primitives are no longer hidden by default
+ % (started 2005). Uncomment and recreate the format files by running
+ % "fmtutil --all" resp. "fmtutil-sys --all" to revert to the old
+ % (2004) behaviour.
+ % \input pdftex-dvi.tex
+ %
+ \fi
+\fi
+%
+% the usual format initialization.
+\scrollmode
+\input latex.ltx
+\endinput