%% This is french.ldf (frenchpro option for Babel) under LaTeX --bg 2006/09/28 %% to be used like this: \usepackage[frenchpro]{babel} %% % Copyright 2001-2006 Bernard GAULLE, Copyright notice: LPPL %% %% checksum = "39640 58 224 2555" % % \ProvidesFile{frenchpro.ldf}% originally: % [2003/11/17 v3.0 % % [2003/11/19 v3.1 % french loaded before babel frenchpro. % [2005/03/21 v3.2 % pb francais/frenchb loaded before babel FrenchPro. [2006/09/28 v3.3 % \main@language added before \selectlanguage. frenchpro option of babel loading the FrenchPro 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: FrenchPro 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 FrenchPro package {\PackageError{frenchpro}% but not via frenchpro.sty. {-63- FrenchPro 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%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%