diff options
Diffstat (limited to 'Master/texmf-dist/tex/xelatex/polyglossia/gloss-french.ldf')
-rw-r--r-- | Master/texmf-dist/tex/xelatex/polyglossia/gloss-french.ldf | 21 |
1 files changed, 8 insertions, 13 deletions
diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-french.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-french.ldf index 9f5aef3c8a7..c734a066ca8 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-french.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-french.ldf @@ -1,11 +1,14 @@ \ProvidesFile{gloss-french.ldf}[polyglossia: module for french] \makeatletter -\def\french@font{\selectfontfamilylatin} -\ifx\l@french\@undefined% - \xpg@nopatterns{French}% - \adddialect\l@french\l@nohyphenation% -\fi +\PolyglossiaSetup{french}{% + language=French, + script=Latin, + hyphennames={french,francais}, + frenchspacing=true, + indentfirst=true, + hyphenmins={2,2}, + fontsetup=true} \newXeTeXintercharclass\french@punctthin % ! ? ; et autres \newXeTeXintercharclass\french@punctthick % : @@ -16,7 +19,6 @@ \def\xpg@nospace#1{#1} \def\french@punctuation{% - \frenchspacing \lccode"2019="2019 \XeTeXinterchartokenstate=1 \XeTeXcharclass `\! \french@punctthin @@ -47,7 +49,6 @@ } \def\nofrench@punctuation{% - \nonfrenchspacing \lccode"2019=\z@ \XeTeXcharclass `\! \z@ \XeTeXcharclass `\? \z@ @@ -103,18 +104,12 @@ décembre\fi \space \number\year}} -\def\french@language{\language=\l@french} - -\setlocalhyphenmins{french}{2}{2}% - \def\noextras@french{% \nofrench@punctuation% - \nofrench@indent% } \def\blockextras@french{% \french@punctuation% - \french@indent% } \def\inlineextras@french{% |