diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/polyglossia/gloss-italian.ldf')
-rw-r--r-- | Master/texmf-dist/tex/latex/polyglossia/gloss-italian.ldf | 24 |
1 files changed, 11 insertions, 13 deletions
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-italian.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-italian.ldf index edf9d4f79e9..da005e54c76 100644 --- a/Master/texmf-dist/tex/latex/polyglossia/gloss-italian.ldf +++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-italian.ldf @@ -1,5 +1,5 @@ % !TEX encoding = UTF-8 Unicode -% Language definition file (part of polyglossia v2.1 -- 2024/03/07) +% Language definition file (part of polyglossia v2.2 -- 2024/07/15) % \ProvidesFile{gloss-italian.ldf}[polyglossia: module for Italian] \PolyglossiaSetup{italian}{ @@ -18,24 +18,22 @@ % BCP-47 compliant aliases \setlanguagealias*{italian}{it} - -%%% CHANGES START %%% by Enrico Gregorio -\define@boolkey{italian}[italian@]{babelshorthands}[true]{} +\DeclareKeys[polyglossia/gloss/italian] + { + babelshorthands.if = italian@babelshorthands, + babelshorthands.default:n = true, + } % Register default options -\xpg@initialize@gloss@options{italian}{babelshorthands=false} +\InitializeGlossOptions{italian}{babelshorthands=false} \ifsystem@babelshorthands - \setkeys{italian}{babelshorthands=true} + \SetGlossOptions{italian}{babelshorthands=true} \else - \setkeys{italian}{babelshorthands=false} + \SetGlossOptions{italian}{babelshorthands=false} \fi -\ifcsundef{initiate@active@char}{% - \input{babelsh.def}% - \initiate@active@char{"}% - \shorthandoff{"}% -}{} +\InitializeBabelShorthands \def\italian@shorthands{% \xpg@activate@shorthands% @@ -115,7 +113,7 @@ %%% CHANGES START %%% by Enrico Gregorio \let\xpgit@savedvalues\empty -\AtEndPreamble{% the user or the class might define different values +\AddToHook{begindocument/before}{% the user or the class might define different values \edef\xpgit@savedvalues{% \clubpenalty=\the\clubpenalty\space \@clubpenalty=\the\@clubpenalty\space |