diff options
Diffstat (limited to 'obsolete/macros/latex209/contrib/ml/babel.swi')
-rw-r--r-- | obsolete/macros/latex209/contrib/ml/babel.swi | 138 |
1 files changed, 138 insertions, 0 deletions
diff --git a/obsolete/macros/latex209/contrib/ml/babel.swi b/obsolete/macros/latex209/contrib/ml/babel.swi new file mode 100644 index 0000000000..33d15a1aa7 --- /dev/null +++ b/obsolete/macros/latex209/contrib/ml/babel.swi @@ -0,0 +1,138 @@ +%% +%% This is file `babel.switch', generated +%% on <1993/9/27> with the docstrip utility (2.0r). +%% +%% The original source files were: +%% +%% hyphen.doc +%% +%% Copyright (C) 1989-1993 by Johannes Braams. +%% All rights reserved. +%% +%% This file is part of the Babel package, version 3.3. +%% +%% IMPORTANT NOTICE: +%% +%% You are not allowed to change this file. You may however copy +%% this file to a file with a different name and then change the copy +%% if you obey the restrictions on file changes described in +%% readme.babel. +%% +%% You are allowed to distribute this file under the condition that +%% it is distributed together with all files mentioned in readme.babel. +%% If you receive only some of these files from someone, complain! +%% +%% You are NOT ALLOWED to distribute this file alone. You are NOT +%% ALLOWED to take money for the distribution or use of either this +%% file or a changed version, except for a nominal charge for copying +%% etc. +%% +%% For error reports in case of UNCHANGED versions see readme files. +%% +%% Please do not request updates from me directly. Distribution is +%% done through Mail-Servers and TeX organizations. +%% +%%%\iffalse +%%% @LaTeX-style-file{ +%%% author = "Braams J.L.", +%%% version = "1.1f", +%%% date = "11 July 1993, +%%% time = "00:08:27 MET, +%%% filename = "hyphen.doc", +%%% address = "PTT Research +%%% St. Paulusstraat 4 +%%% 2264 XZ Leidschendam +%%% The Netherlands", +%%% telephone = "(70) 3325051", +%%% FAX = "(70) 3326477", +%%% checksum = "62265 567 3115 23933", +%%% email = "J.L.Braams@research.ptt.nl (Internet)", +%%% codetable = "ISO/ASCII", +%%% keywords = "babel", +%%% supported = "yes", +%%% abstract = "", +%%% docstring = "This file contains the part of the babel +%%% core that implements the language switching +%%% mechanism. It also contains the code to +%%% switch hyphenation tables for versions of +%%% TeX later than 3.0. With the docstrip +%%% program two variants of this file can be +%%% produced.", +%%% } +%%% \fi +\expandafter\ifx\csname iflanguage\endcsname\relax \else +\expandafter\endinput +\fi +\ifx\language\undefined + \csname newcount\endcsname\language +\fi +\ifx\newlanguage\undefined + \csname newcount\endcsname\last@language +\else + \countdef\last@language=19 +\fi +\ifx\newlanguage\undefined + \def\addlanguage#1{% + \global\advance\last@language \@ne + \ifnum\last@language<\@cclvi + \else + \errmessage{No room for a new \string\language!}% + \fi + \global\chardef#1\last@language + \wlog{\string#1 = \string\language\the\last@language}} +\else + \def\addlanguage{\alloc@9\language\chardef\@cclvi} +\fi +\def\adddialect#1#2{% + \global\chardef#1#2\relax + \wlog{\string#1 = a dialect from \string\language#2}} +\def\iflanguage#1#2#3{% + \expandafter\ifx\csname l@#1\endcsname\relax + \@nolanerr{#1}% + \else + \ifnum\csname l@#1\endcsname=\language #2% + \else#3\fi + \fi} +\def\selectlanguage#1{\protect\p@selectlanguage{% + \ifnum\escapechar=\expandafter`\string#1\empty + \else \string#1\empty\fi}} +\ifx\undefined\protect\let\protect\relax\fi +\def\p@selectlanguage#1{\relax + \expandafter\ifx\csname l@#1\endcsname\relax + \@nolanerr{#1}% + \else + \language=\csname l@#1\endcsname\relax + \originalTeX + \edef\languagename{#1}% + \expandafter\def\expandafter\originalTeX + \expandafter{\csname noextras#1\endcsname + \let\originalTeX\empty}% + \babel@beginsave + \csname captions#1\endcsname + \csname date#1\endcsname + \csname extras#1\endcsname\relax + \fi}% +\ifx\undefined\originalTeX\let\originalTeX\empty\fi +\ifx\undefined\babel@beginsave\let\babel@beginsave\relax\fi +\def\@nolanerr#1{% + \errhelp{Your command will be ignored, type <return> to proceed}% + \errmessage{You haven't defined the language #1\space yet}} +%% \CharacterTable +%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z +%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z +%% Digits \0\1\2\3\4\5\6\7\8\9 +%% Exclamation \! Double quote \" Hash (number) \# +%% Dollar \$ Percent \% Ampersand \& +%% Acute accent \' Left paren \( Right paren \) +%% Asterisk \* Plus \+ Comma \, +%% Minus \- Point \. Solidus \/ +%% Colon \: Semicolon \; Less than \< +%% Equals \= Greater than \> Question mark \? +%% Commercial at \@ Left bracket \[ Backslash \\ +%% Right bracket \] Circumflex \^ Underscore \_ +%% Grave accent \` Left brace \{ Vertical bar \| +%% Right brace \} Tilde \~} +%% +\endinput +%% +%% End of file `babel.switch'. |