summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/le/frenchle.ldf
blob: 874e62301222e0a9bd003e109d77eb103df38283 (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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
%% This is frenchle.ldf (frenchle option for Babel) under LaTeX --bg 2001/06/07
%%      to be used like this: \usepackage[frenchle]{babel}
%%
%%
%                   Copyright 2001 Bernard GAULLE, Copyright notice: LPPL
%%
%%      checksum        = "14418 52 175 2199"
%
%
\ProvidesFile{frenchle.ldf}% 
%       [2001/04/12 v1.0 % Original file.
        [2001/06/07 v1.1 % Doc. & msg changes.
                    frenchle option of babel loading the French Light package]
\ifx\undefined\captionsfrench
\else\selectlanguage{french}\expandafter\endinput
\fi
\chardef\atcatcode=\catcode`\@\catcode`\@=11\relax
\ifx\undefined\babel@core@loaded% still undefined (>3.5)?
           \let\babel@core@loaded\main@language\fi%
\ifx\undefined\originalTeX \let\originalTeX\empty \fi
\originalTeX
\ifx\undefined\l@french\@nopatterns{French}\adddialect\l@french0\fi

\protected@write\@auxout{}{\protect% insure files integrity
\csname auxWARNINGii\protect\endcsname{\protect\typeout
            {-34- this file and other auxiliary files require to
                  use the following}}}
\protected@write\@auxout{}{\protect%
\csname auxWARNINGii\protect\endcsname{\protect\typeout
            {-34- LaTeX packages: french and babel!}}}
\protected@write\@auxout{}{\protect%
\csname auxWARNINGii\protect\endcsname{\protect\typeout
            {-34- check \protect\protect\protect\usepackage
                  \protect\space or remove these files.
                  Typesetting is aborted!}
            \protect\stop}}%
\let\auxWARNINGi=\@gobble% accept aux files produces by french
\let\auxWARNINGii=\@gobble% and those produces by babel+french

\InputIfFileExists{frenchle.sty}{}% load the light version package.
  {\PackageError{frenchle}%
   {-63- frenchle style file not found}%
   {-63- Check if file exist somewhere in your system.}%
   \let\endfrench\stop%
  }%
\endfrench% and stop it immediately until \begin{document}
\let\noextrasfrancais\endfrench% bug in babel.sty version 3.5e
\let\extrasfrancais\frenchTeXmods% ditto
\let\captionsfrancais\captionsfrench%
\main@language{french}%
\catcode`\@=\atcatcode \let\atcatcode\relax
\endinput%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%