Debian Codegraph @

texmf-dist/tex/generic/babel/locale/fr/babel-french.tex

raw
1 % This file is part of babel. For further details see:
2 % https://www.ctan.org/pkg/babel
3 \ifx\BabelBeforeIni\undefined
4 \PackageError{babel}%
5 {This file is a component of babel and cannot\MessageBreak
6 be loaded directly. I'll stop immediately}%
7 {Just use babel as documented.}%
8 \stop
9 \fi
10 \BabelBeforeIni{fr}{%
11 \BabelDefinitionFile{0}{french}{}%
12 }
13
14 \ifcase\bbl@engine\or\or % XeTeX
15
16 % Partly based on babel-french, by Daniel Flipo
17 \IfBabelIntercharT{punctuation.space}{%
18 \providecommand{\BabelFrenchGuillemetSpace}{%
19 \leavevmode\nobreak\hskip.8\fontdimen2\font
20 plus.3\fontdimen3\font
21 minus.8\fontdimen4\font\relax}%
22 \providecommand{\BabelFrenchColonSpace}{\nobreakspace}%
23 \providecommand{\BabelFrenchHighSpace}{%
24 \leavevmode\nobreak\hskip.5\fontdimen2\font\relax}%
25 %
26 \babelcharclass{\CurrentOption}{high}{;!?}%
27 \babelcharclass{\CurrentOption}{colon}{:}%
28 \babelcharclass{\CurrentOption}{leftguillemet}{«}%
29 \babelcharclass{\CurrentOption}{rightguillemet}{»}%
30 \babelcharclass{\CurrentOption}{opening}{([\{}% just make != default
31 %
32 \babelinterchar[label=punctuation.space]{\CurrentOption}%
33 {default, rightguillemet, high, colon}{high}{\BabelFrenchHighSpace}%
34 \babelinterchar[label=punctuation.space]{\CurrentOption}%
35 {default, rightguillemet, high}{colon}{\BabelFrenchColonSpace}%
36 \babelinterchar[label=punctuation.space]{\CurrentOption}%
37 {leftguillemet}{default}{\BabelFrenchGuillemetSpace}%
38 \babelinterchar[label=punctuation.space]{\CurrentOption}%
39 {default, high}{rightguillemet}{\BabelFrenchGuillemetSpace}%
40 %
41 % Here boundary means essentialy space:
42 \babelinterchar[label=punctuation.space]{\CurrentOption}%
43 {boundary}{high}{\ifhmode\unskip\nobreak\fi\BabelFrenchHighSpace}%
44 \babelinterchar[label=punctuation.space]{\CurrentOption}%
45 {boundary}{colon}{\ifhmode\unskip\nobreak\fi\BabelFrenchColonSpace}%
46 \babelinterchar[label=punctuation.space]{\CurrentOption}%
47 {leftguillemet}{boundary}{\BabelFrenchGuillemetSpace\ignorespaces}%
48 \babelinterchar[label=punctuation.space]{\CurrentOption}%
49 {boundary}{rightguillemet}{\ifhmode\unskip\fi\BabelFrenchGuillemetSpace}%
50 }
51
52 \fi
53
54 \endinput