diff options
Diffstat (limited to 'Master/texmf-dist/tex/generic/e-french/efrench.ldf')
-rw-r--r-- | Master/texmf-dist/tex/generic/e-french/efrench.ldf | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/generic/e-french/efrench.ldf b/Master/texmf-dist/tex/generic/e-french/efrench.ldf new file mode 100644 index 00000000000..ae84c8da1b8 --- /dev/null +++ b/Master/texmf-dist/tex/generic/e-french/efrench.ldf @@ -0,0 +1,59 @@ +%% This is french.ldf (e-french option for Babel) under LaTeX --bg 2006/09/28 +%% to be used like this: \usepackage[e-french]{babel} +%% +% 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/ +% +% +\ProvidesFile{e-french.ldf}% originally: +% [2003/11/17 v3.0 % +% [2003/11/19 v3.1 % french loaded before babel e-french. +% [2005/03/21 v3.2 % pb francais/frenchb loaded before babel e-french. + [2006/09/28 v3.3 % \main@language added before \selectlanguage. + e-french option of babel loading the e-french package] +\ifx\undefined\captionsfrench +\else\main@language{french}\selectlanguage{french}% Select again French +\expandafter\ifx\csname endfrench\endcsname\relax +\PackageError{frenchle}{-93- You are using two French options for Babel, % + please choose only one.} +\let\endfrench\stop\fi + \endfrench% but stop it until \begin{document}. +\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: e-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 e-french package + {\PackageError{e-french}% but not via e-french.sty. + {-63- e-french 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}% the \begin{document}. +\catcode`\@=\atcatcode \let\atcatcode\relax +\endinput%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |