summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/e-french/fenglish.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/generic/e-french/fenglish.sty')
-rw-r--r--Master/texmf-dist/tex/generic/e-french/fenglish.sty126
1 files changed, 126 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/generic/e-french/fenglish.sty b/Master/texmf-dist/tex/generic/e-french/fenglish.sty
new file mode 100644
index 00000000000..c13c2565878
--- /dev/null
+++ b/Master/texmf-dist/tex/generic/e-french/fenglish.sty
@@ -0,0 +1,126 @@
+% 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{fenglish.sty}%
+ [2004/06/23 english interface for the french(le/pro) package]
+\def\beginlanguage{%
+ \ifx\selectlanguage\undefined\english%
+ \else\selectlanguage{english}\fi}%
+\edef\beginFWdirection{L}%
+\ifx\undefined\babel@core@loaded%
+ \DeclareOption{english}{\def\beginlanguage{%
+ \ifx\selectlanguage\undefined\english%
+ \else\selectlanguage{english}\fi}%
+ }%
+ \ProcessOptions%
+\fi%
+\expandafter\ifx\csname englishTeXmods\endcsname\relax%
+\else \endinput \fi%
+\ifx\@ifundefined\undefined%
+\long\def\@ifundefined#1#2#3{\expandafter\ifx\csname%
+ #1\endcsname\relax#2\else#3\fi}%
+\fi%
+\let\ifCLAenglish\iffalse%
+\def\@tempa{\global\let\ifCLA\iffalse%
+ }%
+\ifx\ifCLA\undefined\expandafter\@tempa\fi%
+
+\global\let\ifnonenglishheadings\iffalse%
+\gdef\captionsenglish{%
+ \ifx\captionsnames\captionsenglish\else
+ \def\pagename{page}%
+ \def\refname{References}%
+ \def\abstractname{Abstract}%
+\ifx\bibname\undefined\else%
+ \def\bibname{Bibliography}%
+\fi%
+\ifx\btxselectlanguage\undefined%
+ \csname bibsenglish\endcsname%
+\fi%
+ \def\contentsname{Table of Contents}%
+ \def\listfigurename{List of Figures}%
+ \def\listtablename{List of Tables}%
+\ifx\listalgorithmname\undefined\else%
+ \def\ALG@name{algorithm}%
+ \def\listalgorithmname{List of \ALG@name s}%
+\fi%
+ \def\indexname{Index}%
+ \def\seename{\emph{see}}%
+ \def\seealsoname{\emph{see also}}%
+ \def\figurename{Figure}%
+ \def\tablename{Table}%
+ \def\partname{Part}%
+ \def\glossaryname{Glossary}%
+ \def\kwname{\textbf{Keywords}: }%
+ \def\draftname{DRAFT}%
+ \def\prefacename{Preface}%
+\ifx\proofname\undefined\else%
+ \def\proofname{Proof}%
+\fi%
+\ifx\opening\undefined\else%
+ \def\headtoname{To}%
+ \def\ccname{cc}%
+ \def\enclname{Encl}%
+ \def\PSname{PS:}%
+ \def\Objectname{Subject:}%
+ \def\YourRefname{Your Ref:}%
+ \def\OurRefname{Our Ref:}%
+ \def\emailname{email:}%
+\fi%
+\ifx\slidename\undefined\else%
+ \def\slidename{Slide}%
+\fi%
+\ifx\notesname\undefined\else%
+ \def\notesname{Notes}%
+\fi%
+\ifnonenglishheadings%
+\else%
+ \def\chaptername{Chapter}%
+\fi%
+ \def\appendixname{Appendix}%
+ \fi%
+\let\captionsnames\captionsenglish%
+}%
+\@ifundefined{englishTeXmods}{%
+ \gdef\englishTeXmods{%
+ \ifCLA
+ \ifCLAenglish%
+ \ifx\captionsnames\captionsenglish%
+ \else\captionsenglish\dateenglish%
+ \fi%
+ \fi%
+ \else%
+ \ifx\captionsnames\captionsenglish%
+ \else\captionsenglish\dateenglish%
+ \fi%
+ \fi%
+ \csname @xtrasenglish\endcsname%
+ \def\languagename{english}%
+ \let\switchtolanguage\endenglish%
+ }%
+ }{}%
+\ifx\dateenglish\undefined%
+\def\dateenglish{\def\today{\ifcase\day\or 1st\or 2nd\or 3rd\or 4th\or 5th\or
+ 6th\or 7th\or 8th\or 9th\or 10th\or 11th\or 12th\or 13th\or 14th\or 15th\or
+ 16th\or 17th\or 18th\or 19th\or 20th\or 21st\or 22nd\or 23rd\or 24th\or
+ 25th\or 26th\or 27th\or 28th\or 29th\or 30th\or 31st\fi~\ifcase\month\or
+ January\or February\or March\or April\or May\or June\or July\or August\or
+ September\or October\or November\or December\fi\space \number\year}}%
+\fi%
+\ifx\undefined\babel@core@loaded%
+ \edef\extrasenglish{}\def\@xtrasenglish{\extrasenglish}%
+\else%
+ \let\extrasenglish\englishTeXmods%
+\fi%
+\@ifundefined{english}{\gdef\english{\relax}}{}%
+\@ifundefined{switchtolanguage}{%
+ \gdef\switchtolanguage#1{#1}}{}%
+\let\@enstORI\switchtolanguage%
+\let\englishORI\english%
+\def\endenglish{\let\switchtolanguage\@enstORI%
+ \ignorespaces}%
+\let\noextrasenglish\endenglish%
+\def\english{\switchtolanguage\englishTeXmods\englishORI%
+ \ignorespaces}%
+\english%
+\endinput%