summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/babel-italian
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-10-03 22:23:59 +0000
committerKarl Berry <karl@freefriends.org>2013-10-03 22:23:59 +0000
commit5d4297843624b424a9d56ffbebba3b3766566b9c (patch)
tree5645743de748dca27246fa7d28f7acd80b7cba99 /Master/texmf-dist/tex/generic/babel-italian
parent17c26f8a0e90231c7f95311cd8270fcd345002e4 (diff)
babel-italian (3oct13)
git-svn-id: svn://tug.org/texlive/trunk@31823 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic/babel-italian')
-rw-r--r--Master/texmf-dist/tex/generic/babel-italian/italian.ldf31
1 files changed, 12 insertions, 19 deletions
diff --git a/Master/texmf-dist/tex/generic/babel-italian/italian.ldf b/Master/texmf-dist/tex/generic/babel-italian/italian.ldf
index d4398b4cc0d..75e4c9d8816 100644
--- a/Master/texmf-dist/tex/generic/babel-italian/italian.ldf
+++ b/Master/texmf-dist/tex/generic/babel-italian/italian.ldf
@@ -17,14 +17,9 @@
%% License, as described in lppl.txt in the base LaTeX distribution.
%% Either version 1.3 or, at your option, any later version.
\ProvidesLanguage{italian}
- [2013/09/27 v1.3 Italian support from the babel system]
-%% File `italian.dtx'
-%% Babel package for LaTeX version 2e
-%% Copyright (C) 1989 - 2004
-%% by Johannes Braams, TeXniek
+ [2013/10/02 v1.3a Italian support from the babel system]
%% Italian support for the babel package
-%% Copyright (C) 2013
-%% by Claudio Beccari
+%% Copyright (C) 2013 by Claudio Beccari
%%
%% Please report errors to: claudio dot beccari at gmail dot com
\LdfInit{italian}{captionsitalian}%
@@ -174,22 +169,20 @@
\mathcode`\,=\string"8000}
}
}}
-{\catcode `,=\active \gdef,{\futurelet\let@token\m@thcomma}}%
-\AtEndOfPackage{%
-\AtEndPreamble{%
-\gdef\m@thcomma#1{%
-\ifnumequal{\Virgola}{\z@}{\virgola#1}{%
+\DeclareRobustCommand*\it@comma@def{\futurelet\let@token\m@thcomma}%
+{\catcode `,=\active \gdef,{\it@comma@def}}%
+
+\DeclareRobustCommand*\@math@comma{%
+ \ifnumequal{\Virgola}{\z@}{\virgola}{%
\unless\ifcat\noexpand\let@token*%
- \virgola
- \else
+ \expandafter\virgola\else
+ \expandafter\@math@@comma\fi}}
+\DeclareRobustCommand*\@math@@comma[1]{%
\ifcsundef{\expandafter\@gobble\string #1}{%
\ifnumless{`#1}{`0}{\virgola}%
{\ifnumgreater{`#1}{`9}{\virgola}%
- {\virgoladecimale}%
- }%
- }{\virgola}%
- \fi#1}}%
-}}
+ {\virgoladecimale}}}{\virgola}#1}
+\AtEndOfPackage{\AtEndPreamble{\let\m@thcomma\@math@comma}}
\def\LtxSymbCaporali{%
\DeclareRobustCommand*{\it@ocap}{\mbox{%
\fontencoding{U}\fontfamily{lasy}\selectfont(\kern-0.20em(}%