summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-03-14 23:02:02 +0000
committerKarl Berry <karl@freefriends.org>2015-03-14 23:02:02 +0000
commitf8c8d56f3bc874b6b3b0c381a195755dc2db5dad (patch)
treedfd5cb5337d2a30cb5509112183aa07db5d119cc /Master/texmf-dist/tex/generic
parentec5ed9b11d87f5e1fddc4b58b6f4d53fec2bd39c (diff)
babel-italian (14mar15)
git-svn-id: svn://tug.org/texlive/trunk@36515 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic')
-rw-r--r--Master/texmf-dist/tex/generic/babel-italian/italian.ldf74
1 files changed, 37 insertions, 37 deletions
diff --git a/Master/texmf-dist/tex/generic/babel-italian/italian.ldf b/Master/texmf-dist/tex/generic/babel-italian/italian.ldf
index 15af0c17dd4..e71e7b5044b 100644
--- a/Master/texmf-dist/tex/generic/babel-italian/italian.ldf
+++ b/Master/texmf-dist/tex/generic/babel-italian/italian.ldf
@@ -8,7 +8,7 @@
%%
%% This is a generated file.
%%
-%% Copyright (C) 2013 Claudio Beccari.
+%% Copyright (C) 2013-2015 Claudio Beccari.
%%
%% This file is part of the babel-italian bundle release 1.3.
%% --------------------------------------------------
@@ -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/03/29 v1.3k Italian support from the babel system]
+ [2015/03/12 v1.3m Italian support from the babel system]
%%
%% Please report errors to: claudio dot beccari at gmail dot com
%%
@@ -167,47 +167,47 @@
\babel@save\ap\let\ap\bbl@it@ap
\babel@save\ped\let\ped\bbl@it@ped
}%
-\newcount\Virgola
-\Virgola=\z@
-\newcommand*\IntelligentComma{\Virgola=\@ne}
-\newcommand*\NoIntelligentComma{\Virgola=\z@}
-\addto\extrasitalian{\babel@savevariable\Virgola}
\AtEndOfPackage{\RequirePackage{etoolbox}}
+\AtEndOfPackage{\AtEndPreamble{%
+\newcommand*\IntelligentComma{\mathcode`\,=\string"8000}% Active comma
+\newcommand*\NoIntelligentComma{\mathcode`\,=\string"613B}% Punctuation comma
+\@ifpackageloaded{icomma}{\let\IntelligentComma\relax
+ \let\NoIntelligentComma\relax}{%
+ \@ifpackageloaded{nccomma}{\let\IntelligentComma\relax
+ \let\NoIntelligentComma\relax}{%
+ \@ifpackageloaded{dcolumn}{\let\IntelligentComma\relax
+ \let\NoIntelligentComma\relax}{%
+ \@ifpackageloaded{polyglossia}{%
+ \ifcsstring{xpg@main@language}{english}{\relax}{%
+ \mathcode`\,=\string"613B}
+ }{%
+ \ifcsstring{languagename}{english}{\relax}{%
+ \mathcode`\,=\string"613B}
+ }%
+ }}}%
+}}
\DeclareMathSymbol{\virgola}{\mathpunct}{letters}{"3B}
\DeclareMathSymbol{\virgoladecimale}{\mathord}{letters}{"3B}
-\AtEndOfPackage{%
-\AtEndPreamble{\@ifpackageloaded{icomma}{\relax}{%
- \@ifpackageloaded{polyglossia}{%
- \ifcsstring{xpg@main@language}{english}{\relax}{%
- \mathcode`\,=\string"8000}
- }{%
- \ifcsstring{languagename}{english}{\relax}{%
- \mathcode`\,=\string"8000}
- }%
- }%
-}}
\DeclareRobustCommand*\it@comma@def{\futurelet\let@token\@@math@comma}%
{\catcode `,=\active \gdef,{\it@comma@def}}%
\DeclareRobustCommand*\@math@comma{%
- \ifnumequal{\Virgola}{\z@}{\virgola}{%
- \ifcat\noexpand\let@token*%
- \expandafter\@firstoftwo
- \else
- \expandafter\@secondoftwo
- \fi{% \let@token is of category 12
- \@math@@comma
- }{% test if \let@token is a macro
- \ifcat\noexpand\let@token\noexpand\relax
- \expandafter\@firstoftwo
- \else
- \expandafter\@secondoftwo
- \fi{% it is a macro
- \@@math@@comma
- }{% it is something else.
- \virgola
- }
- }
- }
+ \ifcat\noexpand\let@token*%
+ \expandafter\@firstoftwo
+ \else
+ \expandafter\@secondoftwo
+ \fi{% \let@token is of category 12
+ \@math@@comma
+ }{% test if \let@token is a macro
+ \ifcat\noexpand\let@token\noexpand\relax
+ \expandafter\@firstoftwo
+ \else
+ \expandafter\@secondoftwo
+ \fi{% it is a macro
+ \@@math@@comma
+ }{% it is something else.
+ \virgola
+ }
+ }
}
\DeclareRobustCommand*\@math@@comma[1]{% argument is certainly of category 12
\ifcsundef{\expandafter\@gobble\string #1}{% test if it is a real digit