summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/le/french.ldf
blob: 35570eca6dfd9ac8caebd128ff604d083a814056 (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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
%% This is french.ldf (french option for Babel) under LaTeX     --bg 2001/11/28
%%
%                  Copyright 1995-2001 Bernard GAULLE, Copyright notice: LPPL
%%
%%      checksum        = "22527 67 255 2955"
%
%
\ProvidesFile{french.ldf}% originally:
%       [1995/06/19 v1.0 the first try with Babel 3.4
%       [1997/01/02 v1.2 well a just in time for 3.5 alpha
%       [1997/02/21 v1.3 mods for 3.6, pb is loading babel.def at good time.
%       [1997/03/28 v1.4 
%       [1997/08/26 v1.5 
%       [1999/09/21 v1.6 
%       [2000/07/04 v1.7 % french light support (frenchle) added. 
%       [2000/08/29 v1.8 % french light correction (frenchle speaks french)
       [2001/11/28 v1.9 % french loaded before babel, special case.
                         french option of babel loading the French package]
\ifx\undefined\captionsfrench% In case french is allready loaded,
\else% major switchs should be set now:
 \expandafter\let\expandafter\ifLPA\csname iffalse\endcsname
 \let\nofrenchtypography\relax
 \let\nofrenchtranslation\relax
 \let\nofrenchlayout\relax
 \let\nofrenchmacros\relax
 \let\nofrenchhyphenation\relax
 \ifx\LdfInit\undefined\else\expandafter\LdfInit\fi
 \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{french.sty}{}% load our french pro package
 {\InputIfFileExists{frenchle.sty}{}% or the light version if any,
  {\PackageError{french/frenchle}%
   {-63- french or frenchle style files not found}%
   {-63- Check if files 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%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%