summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/generic/babel-french
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-06-25 00:24:56 +0000
committerKarl Berry <karl@freefriends.org>2013-06-25 00:24:56 +0000
commitc04dcf896eba479bd495c67d30092352681b7a90 (patch)
treece309caa7bb1b6760cb7f0645b2108e509a50546 /Master/texmf-dist/source/generic/babel-french
parent7d1203a060ca52cbdb8db1287877236c52ce27c4 (diff)
babel-french (19jun13)
git-svn-id: svn://tug.org/texlive/trunk@30919 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/generic/babel-french')
-rw-r--r--Master/texmf-dist/source/generic/babel-french/frenchb.dtx32
1 files changed, 18 insertions, 14 deletions
diff --git a/Master/texmf-dist/source/generic/babel-french/frenchb.dtx b/Master/texmf-dist/source/generic/babel-french/frenchb.dtx
index 6050abb0391..3938e69cc6b 100644
--- a/Master/texmf-dist/source/generic/babel-french/frenchb.dtx
+++ b/Master/texmf-dist/source/generic/babel-french/frenchb.dtx
@@ -13,7 +13,7 @@
%<code>\ProvidesLanguage{frenchb}
%\fi
%\ProvidesFile{frenchb.dtx}
- [2013/05/20 v2.6c French support from the babel system]
+ [2013/06/19 v2.6d French support from the babel system]
%\iffalse
%<*dtx>
%%
@@ -794,17 +794,21 @@
% \end{macrocode}
%
% \changes{v2.5a}{2010/08/10}{Define \cs{Fthinspace} for those who want
-% to customise the width of the space before ; ! and ?.}
+% to customise the width of the space before ; ! and ?.}
+%
+% \changes{v2.6d}{2013/06/19}{Rename \cs{Fthinspace} to
+% \cs{FBthinspace} and \cs{Fcolonspace} to \cs{FBcolonspace} to avoid
+% a conflict with fournier.sty.}
%
% According to the I.N.\ specifications, the `:' requires a normal
% space before it, but some people prefer a |\thinspace| (just
-% like the other three). We define |\Fcolonspace| to hold the
+% like the other three). We define |\FBcolonspace| to hold the
% required amount of space (user customisable). In case some users
% are not satisfied with |\thinspace|'s width, it is also
% customisable.
% \begin{macrocode}
-\newcommand*{\Fcolonspace}{\space}
-\newcommand*{\Fthinspace}{\thinspace}
+\newcommand*{\FBcolonspace}{\space}
+\newcommand*{\FBthinspace}{\thinspace}
% \end{macrocode}
%
% \begin{macro}{\ifF@active@punct}
@@ -958,7 +962,7 @@
\XeTeXinterchartoks \FB@punctguilf \FB@punctthick = {%
\FDP@colonspace}%
\XeTeXinterchartoks 255 \FB@punctthick = {%
- \ifhmode\unskip\penalty\@M\Fcolonspace\fi}%
+ \ifhmode\unskip\penalty\@M\FBcolonspace\fi}%
\@for\FB@char:={`\;,`\!,`\?}\do
{\XeTeXcharclass\FB@char=\FB@punctthin}%
\XeTeXinterchartoks \z@ \FB@punctthin = {%
@@ -966,7 +970,7 @@
\XeTeXinterchartoks \FB@punctguilf \FB@punctthin = {%
\FDP@thinspace}%
\XeTeXinterchartoks 255 \FB@punctthin = {%
- \ifhmode\unskip\penalty\@M\Fthinspace\fi}%
+ \ifhmode\unskip\penalty\@M\FBthinspace\fi}%
\XeTeXinterchartoks \FB@punctguilo \z@ = {%
\ifFBAutoSpaceGuill\FBguill@spacing\fi}%
\XeTeXinterchartoks \FB@punctguilo 255 = {%
@@ -1053,7 +1057,7 @@
\declare@shorthand{french}{;}{%
\ifhmode
\ifdim\lastskip>\z@
- \unskip\penalty\@M\Fthinspace
+ \unskip\penalty\@M\FBthinspace
\else
\FDP@thinspace
\fi
@@ -1068,7 +1072,7 @@
\declare@shorthand{french}{!}{%
\ifhmode
\ifdim\lastskip>\z@
- \unskip\penalty\@M\Fthinspace
+ \unskip\penalty\@M\FBthinspace
\else
\FDP@thinspace
\fi
@@ -1077,7 +1081,7 @@
\declare@shorthand{french}{?}{%
\ifhmode
\ifdim\lastskip>\z@
- \unskip\penalty\@M\Fthinspace
+ \unskip\penalty\@M\FBthinspace
\else
\FDP@thinspace
\fi
@@ -1086,7 +1090,7 @@
\declare@shorthand{french}{:}{%
\ifhmode
\ifdim\lastskip>\z@
- \unskip\penalty\@M\Fcolonspace
+ \unskip\penalty\@M\FBcolonspace
\else
\FDP@colonspace
\fi
@@ -1145,8 +1149,8 @@
% Set the default now for Plain (done later for \LaTeX).
% \begin{macrocode}
\def\autospace@beforeFDP{%
- \def\FDP@thinspace{\penalty\@M\Fthinspace}%
- \def\FDP@colonspace{\penalty\@M\Fcolonspace}}
+ \def\FDP@thinspace{\penalty\@M\FBthinspace}%
+ \def\FDP@colonspace{\penalty\@M\FBcolonspace}}
\def\noautospace@beforeFDP{\let\FDP@thinspace\@empty
\let\FDP@colonspace\@empty}
\ifLaTeXe
@@ -3331,7 +3335,7 @@
% |ThinColonSpace| changes the normal unbreakable space typeset in
% French before `:' to a thin space.
% \begin{macrocode}
- \ifFBThinColonSpace\renewcommand*{\Fcolonspace}{\Fthinspace}\fi
+ \ifFBThinColonSpace\renewcommand*{\FBcolonspace}{\FBthinspace}\fi
% \end{macrocode}
%
% When |true|, |ThinSpaceInFrenchNumbers| redefines |numprint.sty|'s