summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/frenchle/babelfr.sty
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2006-10-07 19:50:06 +0000
committerNorbert Preining <preining@logic.at>2006-10-07 19:50:06 +0000
commit7fbc7dac03218f101bf3e45a3a562c35fcd8cfaa (patch)
treeb205cd6ae5bd11cbea25556788531cb820b9b6cc /Master/texmf-dist/tex/latex/frenchle/babelfr.sty
parenta0ec1f41c7dbc4bda73a4b155ea91dee96705f76 (diff)
update of frenchle
git-svn-id: svn://tug.org/texlive/trunk@2262 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/frenchle/babelfr.sty')
-rw-r--r--Master/texmf-dist/tex/latex/frenchle/babelfr.sty49
1 files changed, 49 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/frenchle/babelfr.sty b/Master/texmf-dist/tex/latex/frenchle/babelfr.sty
new file mode 100644
index 00000000000..9e48ff936ef
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/frenchle/babelfr.sty
@@ -0,0 +1,49 @@
+%% File 'babelfr.sty'
+%% Babelfr package for LaTeX2e and frenchle.
+%% Copyright (C) 2006 Bernard GAULLE,
+%% all rights reserved.
+%%
+%% Package babelfr: since the 2003 release of Babel, the options "french" no
+%% more loads french.ldf and so disallows the global option "french"; so
+%%% nobody can now provide, thru Babel, any other French option than the
+%% "frenchb" option, thanks!
+%% The goal of this litte package "babelfr" is to come back on that decision
+%% and reestablish this historical facility coming from the begining of Babel.
+%% =========================
+%% A noter : si "french" est fourni en option dans \documentclass
+%% et que d'aures langues sont indiquees dans \usepackage{babel},
+%% il est alors necessaire de passer en francais (par \french) juste
+%% apres le \begin{document}.
+%%
+%% Bogues : m'envoyer les rapports de bogue a <frenchle at free.fr>
+%%
+\NeedsTeXFormat{LaTeX2e}[1998/06/01]
+\ProvidesPackage{babelfr}[2006/09/27 v1.0 The Bfr package]
+\ifx\LdfInit\@undefined\input babel.def\relax\fi
+\DeclareOption*{\PassOptionsToPackage{\CurrentOption}{babel} }%
+\ProcessOptions*
+\let\bfr@DO\DeclareOption%
+\def\DeclareOption#1#2{\edef\@tempa{french}\edef\@tempb{#1}%
+ \def\@tempc{\bfr@DO{#1}{#2}}%
+ \def\@tempd{\bfr@DO{french}%
+ {\let\DeclareOption\bfr@DO%
+ \input french.ldf}%
+ \bfr@DO{frenchle}%
+ {\let\DeclareOption\bfr@DO%
+ \input frenchle.ldf}%
+ \bfr@DO{frenchpro}%
+ {\let\DeclareOption\bfr@DO%
+ \input frenchpro.ldf}%
+ }%
+ \ifx\@tempa\@tempb\expandafter\@tempd%
+ \else\expandafter\@tempc%
+ \fi}%
+% Same as \RequirePackageWithOptions{babel} but it runs. %
+\let\@currname@bfr\@currname%
+\def\@currname{babel}%
+\input babel.sty %%
+\let\@currname\@currname@bfr%
+\let\DeclareOption\bfr@DO\let\bfr@DO\undefined%
+\endinput
+%%
+%% End of file `babelfr.sty'.