summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/e-french/mlp.sty
blob: 39cc28ddc37d71a801a8c2aac4e5adb9d5662205 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
% After Bernard Gaulle's decease this work is now maintained as
% the e-French project by a group of enthusiast users 
% under LPPL copyright as declared in http://www.efrench.org/
% mlp_doc.txt original file name.            An idea of Bernard Gaulle 97/10/31
\ifnum\catcode`\@=11\else\expandafter\catcode`\@=11\fi%
\ifx\@mlp@loaded\undefined\let\@mlp@loaded\relax%
\else\expandafter\endinput\fi%
\ProvidesPackage{mlp}[2004/06/25 The Multi-Lingual Package by --bg /V0.03/]%
\def\@lastoption{}%
\DeclareOption*{\edef\@lastoption{\CurrentOption}%
                \PassOptionsToPackage{\CurrentOption}{mlp-opts}%
               }%
\ProcessOptions*%
\edef\@required{}%
\def\@requirepackage#1{\protected@edef\@required{\@required%
                        \protect\RequirePackage{#1}}}%
\def\addcaptionnames#1{\@nodocument#1\expandafter\g@addto@macro%
                       \csname captions\languagename\endcsname{#1}}%
\def\@tempa{}%
\ifx\@lastoption\empty\input internat.mlp %
 \def\@tempa{\ProcessOptions}%
 \else%
  \def\@tempa{\RequirePackage{mlp-opts}}%
\fi%
\@tempa%
\@required%
\let\@required\undefined\let\@requirepackage\undefined%
\edef\beginlanguage{\expandafter\noexpand\csname \@lastoption\endcsname}%
\endinput%