summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/e-french/frenchle.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-10-30 22:11:00 +0000
committerKarl Berry <karl@freefriends.org>2015-10-30 22:11:00 +0000
commit0601258fc395e290fc022609bb05fa5c1dff243f (patch)
tree564d22bec461cb20454f0619ce838c456a2ffecc /Master/texmf-dist/tex/generic/e-french/frenchle.sty
parentb84b0cf25a2c619e485a4cebeb726836283b6acd (diff)
e-french (30oct15)
git-svn-id: svn://tug.org/texlive/trunk@38742 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic/e-french/frenchle.sty')
-rw-r--r--Master/texmf-dist/tex/generic/e-french/frenchle.sty16
1 files changed, 12 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/generic/e-french/frenchle.sty b/Master/texmf-dist/tex/generic/e-french/frenchle.sty
index be262777682..977bbecbd7f 100644
--- a/Master/texmf-dist/tex/generic/e-french/frenchle.sty
+++ b/Master/texmf-dist/tex/generic/e-french/frenchle.sty
@@ -1937,9 +1937,12 @@
}%
\def\Nouveau@Langage[##1]##2{% > def nouveau langage 1
%arabic as a language should not change the definition of \arabic
-% the same is valid for future similar cases
+% the same is valid for future similar cases > -- arabic prepare
\expandafter\@ifundefined{##2}{\lang@defifalse}%
{\lang@defitrue}%
+ \expandafter\@ifundefined{mlp##2}{\langmlp@defifalse}%
+ {\langmlp@defitrue}%
+% < -- arabic prepare
\expandafter\@ifundefined{l@##2}{}%
{%
\chardef\l@no##1\expandafter\if\csname l@##2\endcsname\l@no\else%
@@ -1951,8 +1954,10 @@
\@txt@msg{(at initex) numbered \csname l@##2\endcsname\space(ERROR!)}%
}[##2]\f@ERRdat%
\fi\fi}%
+ \iflangmlp@defi \typeout {eFrench Info : langue ##2 choisie par mlp}\else%
+ {%
\expandafter\tl@ng\csname##2TeXmods\endcsname%
- \iflang@defi%
+ \iflang@defi% ++ test langue existe ?
\expandafter\gdef\csname##2Lang \endcsname%
{\expandafter\switchtolanguage\csname ##2TeXmods\endcsname%
\@Hif\language=##1\@Hfi\relax}%
@@ -1964,13 +1969,15 @@
et \\##2TeXmods pour ses extensions }%
\typeout{eFrench Info : %
avec \\ = une seule barre oblique inverse ===}%
- \else%
+ \else% ** langue n'existe pas
\expandafter\gdef\csname##2 \endcsname%
{\expandafter\switchtolanguage\csname ##2TeXmods\endcsname%
\@Hif\language=##1\@Hfi\relax}%
\expandafter\gdef\csname##2\endcsname%
{\protect\csname##2 \endcsname}%
- \fi%
+ \fi%
+ } % -- test langue existe
+ \fi% % -- test mlp<lang> existe
}% < def nouveau langage 1
\edef\@temp@{=}%
\def\@langue##1##2 ##3 ##4/##5{\def\@tempa{=}\def\@tempb{##1}%
@@ -2009,6 +2016,7 @@
\fi
\else\@FrCount=-1%
\newif\iflang@defi%
+\newif\iflangmlp@defi%
\let\englishORI\english%
\let\english\undefined%
\loop \endlinechar=-1 \read\@inputcheck to \@lineD \endlinechar`\^^M%