diff options
Diffstat (limited to 'Master/texmf-dist/tex/generic/babel-italian/italian.ldf')
-rw-r--r-- | Master/texmf-dist/tex/generic/babel-italian/italian.ldf | 32 |
1 files changed, 18 insertions, 14 deletions
diff --git a/Master/texmf-dist/tex/generic/babel-italian/italian.ldf b/Master/texmf-dist/tex/generic/babel-italian/italian.ldf index 1edc2de9536..8594a86efc0 100644 --- a/Master/texmf-dist/tex/generic/babel-italian/italian.ldf +++ b/Master/texmf-dist/tex/generic/babel-italian/italian.ldf @@ -17,7 +17,7 @@ %% License, as described in lppl.txt in the base LaTeX distribution. %% Either version 1.3 or, at your option, any later version. \ProvidesLanguage{italian} - [2014/02/16 v1.3i Italian support from the babel system] + [2014/02/22 v1.3j Italian support from the babel system] %% %% Please report errors to: claudio dot beccari at gmail dot com %% @@ -99,19 +99,24 @@ \def\setactivedoublequote{\it@doublequoteactive=\@ne} {\catcode`"=12 \global\let\it@doublequote"} {\catcode`"=13 \global\let\it@@dqactive"} -\AtBeginDocument{\unless\ifnum\it@doublequoteactive=\z@ -\initiate@active@char{"}% -\addto\extrasitalian{\bbl@activate{"}\languageshorthands{italian}}% -\declare@shorthand{italian}{"}{% -\ifmmode - \def\it@next{''}% -\else - \def\it@next{\futurelet\it@temp\it@cwm}% +\AtBeginDocument{% + \unless\ifnum\it@doublequoteactive=\z@ + \initiate@active@char{"}% + \addto\extrasitalian{\bbl@activate{"}\languageshorthands{italian}}% + \declare@shorthand{italian}{"}{% + \ifmmode + \def\it@next{''}% + \else + \def\it@next{\futurelet\it@temp\it@cwm}% + \fi + \it@next + }% \fi -\it@next -}\fi}% +\ifdefstring{\languagename}{italian}{\selectlanguage{italian}}{\relax} +}% \def\it@@cwm{\bbl@allowhyphens\discretionary{-}{}{}\bbl@allowhyphens}% \def\it@@slash{\bbl@allowhyphens\discretionary{/}{}{/}\bbl@allowhyphens}% +\def\it@@trattino{\bbl@allowhyphens\discretionary{-}{}{-}\bbl@allowhyphens}% \def\it@@ocap#1{\it@ocap}\def\it@@ccap#1{\it@ccap}% \DeclareRobustCommand*{\it@cwm}{\let\it@@next\it@doublequote \ifcat\noexpand\it@temp a% @@ -133,8 +138,7 @@ \def\it@@next{``\@gobble}% \else \if\noexpand\it@temp\string-% - \def\it@@next{\bbl@allowhyphens-\bbl@allowhyphens - \@gobble}% + \def\it@@next{\it@@trattino\@gobble}% \fi \fi \fi @@ -197,7 +201,7 @@ \expandafter\@firstoftwo \else \expandafter\@secondoftwo - \fi{% it is a macro macro + \fi{% it is a macro \@@math@@comma }{% it is something else. \virgola |