From b5d732b5920ac3f1cf3a2d53344c03d540559b4a Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 3 Oct 2009 18:49:59 +0000 Subject: interim fmtcount update git-svn-id: svn://tug.org/texlive/trunk@15620 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/tex/latex/fmtcount/fc-UKenglish.def | 4 +- .../texmf-dist/tex/latex/fmtcount/fc-USenglish.def | 4 +- .../texmf-dist/tex/latex/fmtcount/fc-british.def | 4 +- .../texmf-dist/tex/latex/fmtcount/fc-english.def | 4 +- Master/texmf-dist/tex/latex/fmtcount/fc-french.def | 4 +- Master/texmf-dist/tex/latex/fmtcount/fc-german.def | 4 +- .../texmf-dist/tex/latex/fmtcount/fc-italian.def | 771 +++++++++++++++++++++ .../texmf-dist/tex/latex/fmtcount/fc-portuges.def | 4 +- .../texmf-dist/tex/latex/fmtcount/fc-spanish.def | 4 +- Master/texmf-dist/tex/latex/fmtcount/fmtcount.sty | 24 +- 10 files changed, 800 insertions(+), 27 deletions(-) create mode 100644 Master/texmf-dist/tex/latex/fmtcount/fc-italian.def (limited to 'Master/texmf-dist/tex/latex/fmtcount') diff --git a/Master/texmf-dist/tex/latex/fmtcount/fc-UKenglish.def b/Master/texmf-dist/tex/latex/fmtcount/fc-UKenglish.def index 2ae7b5c9d46..8ba1ed71ac7 100644 --- a/Master/texmf-dist/tex/latex/fmtcount/fc-UKenglish.def +++ b/Master/texmf-dist/tex/latex/fmtcount/fc-UKenglish.def @@ -7,7 +7,7 @@ %% fmtcount.dtx (with options: `fc-UKenglish.def,package') %% %% fmtcount.dtx -%% Copyright 2007 Nicola Talbot +%% Copyright 2009 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -21,7 +21,7 @@ %% %% The Current Maintainer of this work is Nicola Talbot. %% -%% This work consists of the files fmtcount.dtx and fmtcount.ins and the derived files fc-british.def, fc-english.def, fc-french.def, fc-german.def, fc-portuges.def, fc-spanish.def, fc-UKenglish.def, fc-USenglish.def, fmtcount.sty, fmtcount.perl. +%% This work consists of the files fmtcount.dtx and fmtcount.ins and the derived files fmtcount.sty, fc-british.def, fc-english.def, fc-french.def, fc-german.def, fc-italian.def, fc-portuges.def, fc-spanish.def, fc-UKenglish.def, fc-USenglish.def, fmtcount.perl, fc-lang.tex, fc-samp.tex. %% %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z diff --git a/Master/texmf-dist/tex/latex/fmtcount/fc-USenglish.def b/Master/texmf-dist/tex/latex/fmtcount/fc-USenglish.def index ffe14d460f9..124ec302585 100644 --- a/Master/texmf-dist/tex/latex/fmtcount/fc-USenglish.def +++ b/Master/texmf-dist/tex/latex/fmtcount/fc-USenglish.def @@ -7,7 +7,7 @@ %% fmtcount.dtx (with options: `fc-USenglish.def,package') %% %% fmtcount.dtx -%% Copyright 2007 Nicola Talbot +%% Copyright 2009 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -21,7 +21,7 @@ %% %% The Current Maintainer of this work is Nicola Talbot. %% -%% This work consists of the files fmtcount.dtx and fmtcount.ins and the derived files fc-british.def, fc-english.def, fc-french.def, fc-german.def, fc-portuges.def, fc-spanish.def, fc-UKenglish.def, fc-USenglish.def, fmtcount.sty, fmtcount.perl. +%% This work consists of the files fmtcount.dtx and fmtcount.ins and the derived files fmtcount.sty, fc-british.def, fc-english.def, fc-french.def, fc-german.def, fc-italian.def, fc-portuges.def, fc-spanish.def, fc-UKenglish.def, fc-USenglish.def, fmtcount.perl, fc-lang.tex, fc-samp.tex. %% %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z diff --git a/Master/texmf-dist/tex/latex/fmtcount/fc-british.def b/Master/texmf-dist/tex/latex/fmtcount/fc-british.def index ade516c7b12..26985cbf76a 100644 --- a/Master/texmf-dist/tex/latex/fmtcount/fc-british.def +++ b/Master/texmf-dist/tex/latex/fmtcount/fc-british.def @@ -7,7 +7,7 @@ %% fmtcount.dtx (with options: `fc-british.def,package') %% %% fmtcount.dtx -%% Copyright 2007 Nicola Talbot +%% Copyright 2009 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -21,7 +21,7 @@ %% %% The Current Maintainer of this work is Nicola Talbot. %% -%% This work consists of the files fmtcount.dtx and fmtcount.ins and the derived files fc-british.def, fc-english.def, fc-french.def, fc-german.def, fc-portuges.def, fc-spanish.def, fc-UKenglish.def, fc-USenglish.def, fmtcount.sty, fmtcount.perl. +%% This work consists of the files fmtcount.dtx and fmtcount.ins and the derived files fmtcount.sty, fc-british.def, fc-english.def, fc-french.def, fc-german.def, fc-italian.def, fc-portuges.def, fc-spanish.def, fc-UKenglish.def, fc-USenglish.def, fmtcount.perl, fc-lang.tex, fc-samp.tex. %% %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z diff --git a/Master/texmf-dist/tex/latex/fmtcount/fc-english.def b/Master/texmf-dist/tex/latex/fmtcount/fc-english.def index 57350de33b0..1aafbd806fe 100644 --- a/Master/texmf-dist/tex/latex/fmtcount/fc-english.def +++ b/Master/texmf-dist/tex/latex/fmtcount/fc-english.def @@ -7,7 +7,7 @@ %% fmtcount.dtx (with options: `fc-english.def,package') %% %% fmtcount.dtx -%% Copyright 2007 Nicola Talbot +%% Copyright 2009 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -21,7 +21,7 @@ %% %% The Current Maintainer of this work is Nicola Talbot. %% -%% This work consists of the files fmtcount.dtx and fmtcount.ins and the derived files fc-british.def, fc-english.def, fc-french.def, fc-german.def, fc-portuges.def, fc-spanish.def, fc-UKenglish.def, fc-USenglish.def, fmtcount.sty, fmtcount.perl. +%% This work consists of the files fmtcount.dtx and fmtcount.ins and the derived files fmtcount.sty, fc-british.def, fc-english.def, fc-french.def, fc-german.def, fc-italian.def, fc-portuges.def, fc-spanish.def, fc-UKenglish.def, fc-USenglish.def, fmtcount.perl, fc-lang.tex, fc-samp.tex. %% %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z diff --git a/Master/texmf-dist/tex/latex/fmtcount/fc-french.def b/Master/texmf-dist/tex/latex/fmtcount/fc-french.def index e517c002408..dedfca9b0c3 100644 --- a/Master/texmf-dist/tex/latex/fmtcount/fc-french.def +++ b/Master/texmf-dist/tex/latex/fmtcount/fc-french.def @@ -7,7 +7,7 @@ %% fmtcount.dtx (with options: `fc-french.def,package') %% %% fmtcount.dtx -%% Copyright 2007 Nicola Talbot +%% Copyright 2009 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -21,7 +21,7 @@ %% %% The Current Maintainer of this work is Nicola Talbot. %% -%% This work consists of the files fmtcount.dtx and fmtcount.ins and the derived files fc-british.def, fc-english.def, fc-french.def, fc-german.def, fc-portuges.def, fc-spanish.def, fc-UKenglish.def, fc-USenglish.def, fmtcount.sty, fmtcount.perl. +%% This work consists of the files fmtcount.dtx and fmtcount.ins and the derived files fmtcount.sty, fc-british.def, fc-english.def, fc-french.def, fc-german.def, fc-italian.def, fc-portuges.def, fc-spanish.def, fc-UKenglish.def, fc-USenglish.def, fmtcount.perl, fc-lang.tex, fc-samp.tex. %% %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z diff --git a/Master/texmf-dist/tex/latex/fmtcount/fc-german.def b/Master/texmf-dist/tex/latex/fmtcount/fc-german.def index 53c1f488271..7908ebd398a 100644 --- a/Master/texmf-dist/tex/latex/fmtcount/fc-german.def +++ b/Master/texmf-dist/tex/latex/fmtcount/fc-german.def @@ -7,7 +7,7 @@ %% fmtcount.dtx (with options: `fc-german.def,package') %% %% fmtcount.dtx -%% Copyright 2007 Nicola Talbot +%% Copyright 2009 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -21,7 +21,7 @@ %% %% The Current Maintainer of this work is Nicola Talbot. %% -%% This work consists of the files fmtcount.dtx and fmtcount.ins and the derived files fc-british.def, fc-english.def, fc-french.def, fc-german.def, fc-portuges.def, fc-spanish.def, fc-UKenglish.def, fc-USenglish.def, fmtcount.sty, fmtcount.perl. +%% This work consists of the files fmtcount.dtx and fmtcount.ins and the derived files fmtcount.sty, fc-british.def, fc-english.def, fc-french.def, fc-german.def, fc-italian.def, fc-portuges.def, fc-spanish.def, fc-UKenglish.def, fc-USenglish.def, fmtcount.perl, fc-lang.tex, fc-samp.tex. %% %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z diff --git a/Master/texmf-dist/tex/latex/fmtcount/fc-italian.def b/Master/texmf-dist/tex/latex/fmtcount/fc-italian.def new file mode 100644 index 00000000000..0c4bfa7ffda --- /dev/null +++ b/Master/texmf-dist/tex/latex/fmtcount/fc-italian.def @@ -0,0 +1,771 @@ +%% +%% This is file `fc-italian.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% fmtcount.dtx (with options: `fc-italian.def,package') +%% +%% fmtcount.dtx +%% Copyright 2009 Nicola Talbot +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3 +%% of this license of (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status `maintained'. +%% +%% The Current Maintainer of this work is Nicola Talbot. +%% +%% This work consists of the files fmtcount.dtx and fmtcount.ins and the derived files fmtcount.sty, fc-british.def, fc-english.def, fc-french.def, fc-german.def, fc-italian.def, fc-portuges.def, fc-spanish.def, fc-UKenglish.def, fc-USenglish.def, fmtcount.perl, fc-lang.tex, fc-samp.tex. +%% +%% \CharacterTable +%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z +%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z +%% Digits \0\1\2\3\4\5\6\7\8\9 +%% Exclamation \! Double quote \" Hash (number) \# +%% Dollar \$ Percent \% Ampersand \& +%% Acute accent \' Left paren \( Right paren \) +%% Asterisk \* Plus \+ Comma \, +%% Minus \- Point \. Solidus \/ +%% Colon \: Semicolon \; Less than \< +%% Equals \= Greater than \> Question mark \? +%% Commercial at \@ Left bracket \[ Backslash \\ +%% Right bracket \] Circumflex \^ Underscore \_ +%% Grave accent \` Left brace \{ Vertical bar \| +%% Right brace \} Tilde \~} +\ProvidesFile{fc-italian.def}[2009/10/02 Italian support for fmtcount (Edoardo Pasca)] +\newcommand{\@@unitstringitalian}[1]{% +\ifcase#1\relax +zero% +\or uno% +\or due% +\or tre% +\or quattro% +\or cinque% +\or sei% +\or sette% +\or otto% +\or nove% +\fi +} + +\newcommand{\@@unitstringFitalian}[1]{% +\ifcase#1\relax +zero% +\or una% +\or doe% +\or tre% +\or quattro% +\or cinque% +\or sei% +\or sette% +\or otto% +\or nove% +\fi +} + +\newcommand{\@@tenstringitalian}[1]{% +\ifcase#1\relax +\or dieci% +\or venti% +\or trenta% +\or quaranta% +\or cinquanta% +\or sessanta% +\or settanta% +\or ottanta% +\or novanta% +\or cento% +\fi +} + +\newcommand{\@@teenstringitalian}[1]{% +\ifcase#1\relax +dieci% +\or undici% +\or dodici% +\or tredici% +\or quattordici% +\or quindici% +\or sedici% +\or diciassette% +\or diciotto% +\or diciannove% +\fi +} + +\newcommand{\@@twentystringitalian}[1]{% +\ifcase#1\relax +venti% +\or ventuno% +\or ventidue% +\or ventitre% +\or ventiquattro% +\or venticinque% +\or ventisei% +\or ventisette% +\or ventiotto% +\or ventinove% +\fi} + +\newcommand{\@@twentystringFitalian}[1]{% +\ifcase#1\relax +venti% +\or ventuna% +\or ventidue% +\or ventitre% +\or ventiquattro% +\or venticinque% +\or ventisei% +\or ventisette% +\or ventiotto% +\or ventinove% +\fi} + +\newcommand{\@@hundredstringitalian}[1]{% +\ifcase#1\relax +\or cento% +\or duecento% +\or trecento% +\or quattrocento% +\or cinquecento% +\or seicento% +\or settecento% +\or ottocento% +\or novecento% +\fi} + +\newcommand{\@@hundredstringFitalian}[1]{% +\ifcase#1\relax +\or cento% +\or duecento% +\or trecento% +\or quattrocento% +\or cinquecento% +\or seicento% +\or settecento% +\or ottocento% +\or novecento% +\fi} + +\newcommand{\@@Unitstringitalian}[1]{% +\ifcase#1\relax +Zero% +\or Uno% +\or Due% +\or Tre% +\or Quattro% +\or Cinque% +\or Sei% +\or Sette% +\or Otto% +\or Nove% +\fi +} + +\newcommand{\@@UnitstringFitalian}[1]{% +\ifcase#1\relax +Zero% +\or Una% +\or Due% +\or Tre% +\or Quattro% +\or Cinque% +\or Sei% +\or Sette% +\or Otto% +\or Nove% +\fi +} + +\newcommand{\@@Tenstringitalian}[1]{% +\ifcase#1\relax +\or Dieci% +\or Venti% +\or Trenta% +\or Quaranta% +\or Cinquanta% +\or Sessanta% +\or Settanta% +\or Ottanta% +\or Novanta% +\or Cento% +\fi +} + +\newcommand{\@@Teenstringitalian}[1]{% +\ifcase#1\relax +Dieci% +\or Undici% +\or Dodici% +\or Tredici% +\or Quattordici% +\or Quindici% +\or Sedici% +\or Diciassette% +\or Diciotto% +\or Diciannove% +\fi +} + +\newcommand{\@@Twentystringitalian}[1]{% +\ifcase#1\relax +Venti% +\or Ventuno% +\or Ventidue% +\or Ventitre% +\or Ventiquattro% +\or Venticinque% +\or Ventisei% +\or Ventisette% +\or Ventiotto% +\or Ventinove% +\fi} + +\newcommand{\@@TwentystringFitalian}[1]{% +\ifcase#1\relax +Venti% +\or Ventuno% +\or Ventidue% +\or Ventitre% +\or Ventiquattro% +\or Venticinque% +\or Ventisei% +\or Ventisette% +\or Ventiotto% +\or Ventinove% +\fi} + +\newcommand{\@@Hundredstringitalian}[1]{% +\ifcase#1\relax +\or Cento% +\or Duecento% +\or Trecento% +\or Quattrocento% +\or Cinquecento% +\or Seicento% +\or Settecento% +\or Ottocento% +\or Novecento% +\fi} + +\newcommand{\@@HundredstringFitalian}[1]{% +\ifcase#1\relax +\or Cento% +\or Duecento% +\or Trecento% +\or Quattrocento% +\or Cinquecento% +\or Seicento% +\or Settecento% +\or Ottocento% +\or Novecento% +\fi} + +\newcommand{\@numberstringMitalian}[2]{% +\let\@unitstring=\@@unitstringitalian +\let\@teenstring=\@@teenstringitalian +\let\@tenstring=\@@tenstringitalian +\let\@twentystring=\@@twentystringitalian +\let\@hundredstring=\@@hundredstringitalian +\def\@hundred{cien}\def\@thousand{mil}% +\def\@andname{y}% +\@@numberstringitalian{#1}{#2}} + +\newcommand{\@numberstringFitalian}[2]{% +\let\@unitstring=\@@unitstringFitalian +\let\@teenstring=\@@teenstringitalian +\let\@tenstring=\@@tenstringitalian +\let\@twentystring=\@@twentystringFitalian +\let\@hundredstring=\@@hundredstringFitalian +\def\@hundred{cien}\def\@thousand{mil}% +\def\@andname{y}% +\@@numberstringitalian{#1}{#2}} + +\newcommand{\@NumberstringMitalian}[2]{% +\let\@unitstring=\@@Unitstringitalian +\let\@teenstring=\@@Teenstringitalian +\let\@tenstring=\@@Tenstringitalian +\let\@twentystring=\@@Twentystringitalian +\let\@hundredstring=\@@Hundredstringitalian +\def\@andname{y}% +\def\@hundred{Cien}\def\@thousand{Mil}% +\@@numberstringitalian{#1}{#2}} + +\newcommand{\@NumberstringFitalian}[2]{% +\let\@unitstring=\@@UnitstringFitalian +\let\@teenstring=\@@Teenstringitalian +\let\@tenstring=\@@Tenstringitalian +\let\@twentystring=\@@TwentystringFitalian +\let\@hundredstring=\@@HundredstringFitalian +\def\@andname{y}% +\def\@hundred{Cien}\def\@thousand{Mil}% +\@@numberstringitalian{#1}{#2}} + +\newcommand{\@ordinalstringMitalian}[2]{% +\let\@unitthstring=\@@unitthstringitalian +\let\@unitstring=\@@unitstringitalian +\let\@teenthstring=\@@teenthstringitalian +\let\@tenthstring=\@@tenthstringitalian +\let\@hundredthstring=\@@hundredthstringitalian +\def\@thousandth{millesimo}% +\@@ordinalstringitalian{#1}{#2}} + +\newcommand{\@ordinalstringFitalian}[2]{% +\let\@unitthstring=\@@unitthstringFitalian +\let\@unitstring=\@@unitstringFitalian +\let\@teenthstring=\@@teenthstringFitalian +\let\@tenthstring=\@@tenthstringFitalian +\let\@hundredthstring=\@@hundredthstringFitalian +\def\@thousandth{millesima}% +\@@ordinalstringitalian{#1}{#2}} + +\newcommand{\@OrdinalstringMitalian}[2]{% +\let\@unitthstring=\@@Unitthstringitalian +\let\@unitstring=\@@Unitstringitalian +\let\@teenthstring=\@@Teenthstringitalian +\let\@tenthstring=\@@Tenthstringitalian +\let\@hundredthstring=\@@Hundredthstringitalian +\def\@thousandth{Millesimo}% +\@@ordinalstringitalian{#1}{#2}} + +\newcommand{\@OrdinalstringFitalian}[2]{% +\let\@unitthstring=\@@UnitthstringFitalian +\let\@unitstring=\@@UnitstringFitalian +\let\@teenthstring=\@@TeenthstringFitalian +\let\@tenthstring=\@@TenthstringFitalian +\let\@hundredthstring=\@@HundredthstringFitalian +\def\@thousandth{Millesima}% +\@@ordinalstringitalian{#1}{#2}} + +\newcommand{\@ordinalMitalian}[2]{\edef#2{#1\relax\noexpand\fmtord{o}}} +\newcommand{\@ordinalFitalian}[2]{\edef#2{#1\relax\noexpand\fmtord{a}}} + +\newcommand{\@@unitthstringitalian}[1]{% +\ifcase#1\relax +zero% +\or primo% +\or secondo% +\or terzo% +\or quarto% +\or quinto% +\or sesto% +\or settimo% +\or ottavo% +\or nono% +\fi +} + +\newcommand{\@@tenthstringitalian}[1]{% +\ifcase#1\relax +\or decimo% +\or ventesimo% +\or trentesimo% +\or quarantesimo% +\or cinquantesimo% +\or sessantesimo% +\or settantesimo% +\or ottantesimo% +\or novantesimo% +\fi +} + +\newcommand{\@@teenthstringitalian}[1]{% +\ifcase#1\relax +decimo% +\or undicesimo% +\or dodicesimo% +\or tredicesimo% +\or quattordicesimo% +\or quindicesimo% +\or sedicesimo% +\or diciassettesimo% +\or diciottesimo% +\or diciannovesimo% +\fi +} + +\newcommand{\@@hundredthstringitalian}[1]{% +\ifcase#1\relax +\or centesimo% +\or duecentesimo% +\or trecentesimo% +\or quattrocentesimo% +\or cinquecentesimo% +\or seicentesimo% +\or settecentesimo% +\or ottocentesimo% +\or novecentesimo% +\fi} + +\newcommand{\@@unitthstringFitalian}[1]{% +\ifcase#1\relax +zero% +\or prima% +\or seconda% +\or terza% +\or quarta% +\or quinta% +\or sesta% +\or settima% +\or ottava% +\or nona% +\fi +} + +\newcommand{\@@tenthstringFitalian}[1]{% +\ifcase#1\relax +\or decima% +\or ventesima% +\or trentesima% +\or quarantesima% +\or cinquantesima% +\or sessantesima% +\or settantesima% +\or ottantesima% +\or novantesima% +\fi +} + +\newcommand{\@@teenthstringFitalian}[1]{% +\ifcase#1\relax +decima% +\or undicesima% +\or dodicesima% +\or tredicesima% +\or quattordicesima% +\or quindicesima% +\or sedicesima% +\or diciassettesima% +\or diciottesima% +\or diciannovesima% +\fi +} + +\newcommand{\@@hundredthstringFitalian}[1]{% +\ifcase#1\relax +\or centesima% +\or duecentesima% +\or trecentesima% +\or quattrocentesima% +\or cinquecentesima% +\or seicentesima% +\or settecentesima% +\or ottocentesima% +\or novecentesima% +\fi} + +\newcommand{\@@Unitthstringitalian}[1]{% +\ifcase#1\relax +Zero% +\or Primo% +\or Secondo% +\or Terzo% +\or Quarto% +\or Quinto% +\or Sesto% +\or Settimo% +\or Ottavo% +\or Nono% +\fi +} + +\newcommand{\@@Tenthstringitalian}[1]{% +\ifcase#1\relax +\or Decimo% +\or Ventesimo% +\or Trentesimo% +\or Quarantesimo% +\or Cinquantesimo% +\or Sessantesimo% +\or Settantesimo% +\or Ottantesimo% +\or Novantesimo% +\fi +} + +\newcommand{\@@Teenthstringitalian}[1]{% +\ifcase#1\relax +Decimo% +\or Undicesimo% +\or Dodicesimo% +\or Tredicesimo% +\or Quattordicesimo% +\or Quindicesimo% +\or Sedicesimo% +\or Diciassettesimo% +\or Diciottesimo% +\or Diciannovesimo% +\fi +} + +\newcommand{\@@Hundredthstringitalian}[1]{% +\ifcase#1\relax +\or Centesimo% +\or Duecentesimo% +\or Trecentesimo% +\or Quattrocentesimo% +\or Cinquecentesimo% +\or Seicentesimo% +\or Settecentesimo% +\or Ottocentesimo% +\or Novecentesimo% +\fi} + +\newcommand{\@@UnitthstringFitalian}[1]{% +\ifcase#1\relax +Zero% +\or Prima% +\or Seconda% +\or Terza% +\or Quarta% +\or Quinta% +\or Sesta% +\or Settima% +\or Ottava% +\or Nona% +\fi +} + +\newcommand{\@@TenthstringFitalian}[1]{% +\ifcase#1\relax +\or Decima% +\or Ventesima% +\or Trentesima% +\or Quarantesima% +\or Cinquantesima% +\or Sessantesima% +\or Settantesima% +\or Ottantesima% +\or Novantesima% +\fi +} + +\newcommand{\@@TeenthstringFitalian}[1]{% +\ifcase#1\relax +Decima% +\or Undicesima% +\or Dodicesima% +\or Tredicesima% +\or Quattordicesima% +\or Quindicesima% +\or Sedicesima% +\or Diciassettesima% +\or Diciottesima% +\or Diciannovesima% +\fi +} + +\newcommand{\@@HundredthstringFitalian}[1]{% +\ifcase#1\relax +\or Centesima% +\or Duecentesima% +\or Trecentesima% +\or Quattrocentesima% +\or Cinquecentesima% +\or Seicentesima% +\or Settecentesima% +\or Ottocentesima% +\or Novecentesima% +\fi} + +\newcommand{\@@numberstringitalian}[2]{% +\def#2{}% +\ifnum#1>99999\relax + \PackageError{fmtcount}{Out of range}% + {This macro only works for values less than 100000}% +\else + \ifnum#1<0\relax + \PackageError{fmtcount}{Negative numbers not permitted}% + {This macro does not work for negative numbers, however + you can try typing "minus" first, and then pass the modulus of + this number}% + \fi +\fi +\@strctr=#1\relax \divide\@strctr by 1000\relax +\ifnum\@strctr>9\relax + \divide\@strctr by 10\relax + \ifnum\@strctr>1\relax + \edef#2{\@tenstring{\@strctr}}% + \@strctr=#1 \divide\@strctr by 1000\relax + \@modulo{\@strctr}{10}% + \ifnum\@strctr>0\relax + \let\@@fc@numstr#2\relax + \edef#2{\@@fc@numstr\ \@andname\ \@unitstring{\@strctr}}% + \fi + \else + \@strctr=#1\relax + \divide\@strctr by 1000\relax + \@modulo{\@strctr}{10}% + \let\@@fc@numstr#2\relax + \edef#2{\@@fc@numstr\@teenstring{\@strctr}}% + \fi + \let\@@fc@numstr#2\relax + \edef#2{\@@fc@numstr\ \@thousand}% +\else + \ifnum\@strctr>0\relax + \ifnum\@strctr>1\relax + \let\@@fc@numstr#2\relax + \edef#2{\@@fc@numstr\@unitstring{\@strctr}\ }% + \fi + \let\@@fc@numstr#2\relax + \edef#2{\@@fc@numstr\@thousand}% + \fi +\fi +\@strctr=#1\relax \@modulo{\@strctr}{1000}% +\divide\@strctr by 100\relax +\ifnum\@strctr>0\relax + \ifnum#1>1000\relax + \let\@@fc@numstr#2\relax + \edef#2{\@@fc@numstr\ }% + \fi + \@tmpstrctr=#1\relax + \@modulo{\@tmpstrctr}{1000}% + \let\@@fc@numstr#2\relax + \ifnum\@tmpstrctr=100\relax + \edef#2{\@@fc@numstr\@tenstring{10}}% + \else + \edef#2{\@@fc@numstr\@hundredstring{\@strctr}}% + \fi +\fi +\@strctr=#1\relax \@modulo{\@strctr}{100}% +\ifnum#1>100\relax + \ifnum\@strctr>0\relax + \let\@@fc@numstr#2\relax + \edef#2{\@@fc@numstr\ \@andname\ }% + \fi +\fi +\ifnum\@strctr>29\relax + \divide\@strctr by 10\relax + \let\@@fc@numstr#2\relax + \edef#2{\@@fc@numstr\@tenstring{\@strctr}}% + \@strctr=#1\relax \@modulo{\@strctr}{10}% + \ifnum\@strctr>0\relax + \let\@@fc@numstr#2\relax + \edef#2{\@@fc@numstr\ \@andname\ \@unitstring{\@strctr}}% + \fi +\else + \ifnum\@strctr<10\relax + \ifnum\@strctr=0\relax + \ifnum#1<100\relax + \let\@@fc@numstr#2\relax + \edef#2{\@@fc@numstr\@unitstring{\@strctr}}% + \fi + \else + \let\@@fc@numstr#2\relax + \edef#2{\@@fc@numstr\@unitstring{\@strctr}}% + \fi + \else + \ifnum\@strctr>19\relax + \@modulo{\@strctr}{10}% + \let\@@fc@numstr#2\relax + \edef#2{\@@fc@numstr\@twentystring{\@strctr}}% + \else + \@modulo{\@strctr}{10}% + \let\@@fc@numstr#2\relax + \edef#2{\@@fc@numstr\@teenstring{\@strctr}}% + \fi + \fi +\fi +} + +\newcommand{\@@ordinalstringitalian}[2]{% +\@strctr=#1\relax +\def#2{}% +\ifnum#1>99999\relax + \PackageError{fmtcount}{Out of range}% + {This macro only works for values less than 100000}% +\else + \ifnum#1<0\relax + \PackageError{fmtcount}{Negative numbers not permitted}% + {This macro does not work for negative numbers, however + you can try typing "minus" first, and then pass the modulus of + this number}% + \else + \ifnum\@strctr>999\relax + \divide\@strctr by 1000\relax + \ifnum\@strctr>1\relax + \ifnum\@strctr>9\relax + \@tmpstrctr=\@strctr + \ifnum\@strctr<20\relax + \@modulo{\@tmpstrctr}{10}% + \let\@@fc@numstr#2\relax + \edef#2{\@@fc@numstr\@teenthstring{\@tmpstrctr} }% + \else + \divide\@tmpstrctr by 10\relax + \let\@@fc@numstr#2\relax + \edef#2{\@@fc@numstr\@tenthstring{\@tmpstrctr} }% + \@tmpstrctr=\@strctr + \@modulo{\@tmpstrctr}{10}% + \ifnum\@tmpstrctr>0\relax + \let\@@fc@numstr#2\relax + \edef#2{\@@fc@numstr\@unitthstring{\@tmpstrctr} }% + \fi + \fi + \else + \let\@@fc@numstr#2\relax + \edef#2{\@@fc@numstr\@unitstring{\@strctr} }% + \fi + \fi + \let\@@fc@numstr#2\relax + \edef#2{\@@fc@numstr\@thousandth}% + \fi + \@strctr=#1\relax + \@modulo{\@strctr}{1000}% + \ifnum\@strctr>99\relax + \@tmpstrctr=\@strctr + \divide\@tmpstrctr by 100\relax + \ifnum#1>1000\relax + \let\@@fc@numstr#2\relax + \edef#2{\@@fc@numstr\ }% + \fi + \let\@@fc@numstr#2\relax + \edef#2{\@@fc@numstr\@hundredthstring{\@tmpstrctr}}% + \fi + \@modulo{\@strctr}{100}% + \ifnum#1>99\relax + \ifnum\@strctr>0\relax + \let\@@fc@numstr#2\relax + \edef#2{\@@fc@numstr\ }% + \fi + \fi + \ifnum\@strctr>19\relax + \@tmpstrctr=\@strctr + \divide\@tmpstrctr by 10\relax + \let\@@fc@numstr#2\relax + \edef#2{\@@fc@numstr\@tenthstring{\@tmpstrctr}}% + \@tmpstrctr=\@strctr + \@modulo{\@tmpstrctr}{10}% + \ifnum\@tmpstrctr>0\relax + \let\@@fc@numstr#2\relax + \edef#2{\@@fc@numstr\ \@unitthstring{\@tmpstrctr}}% + \fi + \else + \ifnum\@strctr>9\relax + \@modulo{\@strctr}{10}% + \let\@@fc@numstr#2\relax + \edef#2{\@@fc@numstr\@teenthstring{\@strctr}}% + \else + \ifnum\@strctr=0\relax + \ifnum#1=0\relax + \let\@@fc@numstr#2\relax + \edef#2{\@@fc@numstr\@unitstring{0}}% + \fi + \else + \let\@@fc@numstr#2\relax + \edef#2{\@@fc@numstr\@unitthstring{\@strctr}}% + \fi + \fi + \fi + \fi +\fi +} + +\endinput +%% +%% End of file `fc-italian.def'. diff --git a/Master/texmf-dist/tex/latex/fmtcount/fc-portuges.def b/Master/texmf-dist/tex/latex/fmtcount/fc-portuges.def index d455f008040..3dc4cf90d1e 100644 --- a/Master/texmf-dist/tex/latex/fmtcount/fc-portuges.def +++ b/Master/texmf-dist/tex/latex/fmtcount/fc-portuges.def @@ -7,7 +7,7 @@ %% fmtcount.dtx (with options: `fc-portuges.def,package') %% %% fmtcount.dtx -%% Copyright 2007 Nicola Talbot +%% Copyright 2009 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -21,7 +21,7 @@ %% %% The Current Maintainer of this work is Nicola Talbot. %% -%% This work consists of the files fmtcount.dtx and fmtcount.ins and the derived files fc-british.def, fc-english.def, fc-french.def, fc-german.def, fc-portuges.def, fc-spanish.def, fc-UKenglish.def, fc-USenglish.def, fmtcount.sty, fmtcount.perl. +%% This work consists of the files fmtcount.dtx and fmtcount.ins and the derived files fmtcount.sty, fc-british.def, fc-english.def, fc-french.def, fc-german.def, fc-italian.def, fc-portuges.def, fc-spanish.def, fc-UKenglish.def, fc-USenglish.def, fmtcount.perl, fc-lang.tex, fc-samp.tex. %% %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z diff --git a/Master/texmf-dist/tex/latex/fmtcount/fc-spanish.def b/Master/texmf-dist/tex/latex/fmtcount/fc-spanish.def index f96f924b712..a7e513a5d27 100644 --- a/Master/texmf-dist/tex/latex/fmtcount/fc-spanish.def +++ b/Master/texmf-dist/tex/latex/fmtcount/fc-spanish.def @@ -7,7 +7,7 @@ %% fmtcount.dtx (with options: `fc-spanish.def,package') %% %% fmtcount.dtx -%% Copyright 2007 Nicola Talbot +%% Copyright 2009 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -21,7 +21,7 @@ %% %% The Current Maintainer of this work is Nicola Talbot. %% -%% This work consists of the files fmtcount.dtx and fmtcount.ins and the derived files fc-british.def, fc-english.def, fc-french.def, fc-german.def, fc-portuges.def, fc-spanish.def, fc-UKenglish.def, fc-USenglish.def, fmtcount.sty, fmtcount.perl. +%% This work consists of the files fmtcount.dtx and fmtcount.ins and the derived files fmtcount.sty, fc-british.def, fc-english.def, fc-french.def, fc-german.def, fc-italian.def, fc-portuges.def, fc-spanish.def, fc-UKenglish.def, fc-USenglish.def, fmtcount.perl, fc-lang.tex, fc-samp.tex. %% %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z diff --git a/Master/texmf-dist/tex/latex/fmtcount/fmtcount.sty b/Master/texmf-dist/tex/latex/fmtcount/fmtcount.sty index 5b4748b6599..cc1dfb7819c 100644 --- a/Master/texmf-dist/tex/latex/fmtcount/fmtcount.sty +++ b/Master/texmf-dist/tex/latex/fmtcount/fmtcount.sty @@ -7,7 +7,7 @@ %% fmtcount.dtx (with options: `fmtcount.sty,package') %% %% fmtcount.dtx -%% Copyright 2007 Nicola Talbot +%% Copyright 2009 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -21,7 +21,7 @@ %% %% The Current Maintainer of this work is Nicola Talbot. %% -%% This work consists of the files fmtcount.dtx and fmtcount.ins and the derived files fc-british.def, fc-english.def, fc-french.def, fc-german.def, fc-portuges.def, fc-spanish.def, fc-UKenglish.def, fc-USenglish.def, fmtcount.sty, fmtcount.perl. +%% This work consists of the files fmtcount.dtx and fmtcount.ins and the derived files fmtcount.sty, fc-british.def, fc-english.def, fc-french.def, fc-german.def, fc-italian.def, fc-portuges.def, fc-spanish.def, fc-UKenglish.def, fc-USenglish.def, fmtcount.perl, fc-lang.tex, fc-samp.tex. %% %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z @@ -39,9 +39,10 @@ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{fmtcount}[2007/07/20 v1.3] +\ProvidesPackage{fmtcount}[2009/10/02 v1.31] \RequirePackage{ifthen} \RequirePackage{keyval} +\RequirePackage{amsgen} \providecommand*{\fmtord}[1]{\textsuperscript{#1}} \newcount\c@padzeroesN \c@padzeroesN=1\relax @@ -56,6 +57,7 @@ \@ifundefined{l@german}{% \@ifundefined{l@ngerman}{}{\input{fc-german.def}}}{% \input{fc-german.def}} +\@ifundefined{l@italian}{}{\input{fc-italian.def}} \def\fmtcount@french{france} \define@key{fmtcount}{french}[france]{% \@ifundefined{datefrench}{% @@ -328,7 +330,7 @@ or `user'}}} \advance\@DT@loopN by -\@strctr \ifnum\@DT@loopN>0\relax \@strctr=0\relax -\whiledo{\@strctr < \@DT@loopN}{0\advance\@strctr by 1}% +\whiledo{\@strctr < \@DT@loopN}{0\advance\@strctr by 1\relax}% \fi \number#1\relax } @@ -340,7 +342,7 @@ or `user'}}} \@ifundefined{ordinal}{\let\ordinal\FCordinal}{% \PackageWarning{fmtcount}{\string\ordinal \space already defined use \string\FCordinal \space instead.}} -\newcommand*{\ordinalnum}[1]{\@ifnextchar[{\@ordinalnum{#1}}{% +\newcommand*{\ordinalnum}[1]{\new@ifnextchar[{\@ordinalnum{#1}}{% \@ordinalnum{#1}[m]}} \def\@ordinalnum#1[#2]{{% \ifthenelse{\equal{#2}{f}}{% @@ -379,7 +381,7 @@ Available options are m or f}}% \expandafter\protect\expandafter\ordinalstringnum{% \expandafter\the\csname c@#1\endcsname}} \newcommand{\ordinalstringnum}[1]{% -\@ifnextchar[{\@ordinal@string{#1}}{\@ordinal@string{#1}[m]}} +\new@ifnextchar[{\@ordinal@string{#1}}{\@ordinal@string{#1}[m]}} \def\@ordinal@string#1[#2]{{% \ifthenelse{\equal{#2}{f}}{% \protect\@ordinalstringF{#1}{\@fc@ordstr}}{% @@ -409,7 +411,7 @@ Available options are m or f}}% \expandafter\protect\expandafter\Ordinalstringnum{% \expandafter\the\csname c@#1\endcsname}} \newcommand*{\Ordinalstringnum}[1]{% -\@ifnextchar[{\@Ordinal@string{#1}}{\@Ordinal@string{#1}[m]}} +\new@ifnextchar[{\@Ordinal@string{#1}}{\@Ordinal@string{#1}[m]}} \def\@Ordinal@string#1[#2]{{% \ifthenelse{\equal{#2}{f}}{% \protect\@OrdinalstringF{#1}{\@fc@ordstr}}{% @@ -456,7 +458,7 @@ Available options are m or f}}% \expandafter\protect\expandafter\ORDINALstringnum{% \expandafter\the\csname c@#1\endcsname}} \newcommand*{\ORDINALstringnum}[1]{% -\@ifnextchar[{\@ORDINAL@string{#1}}{\@ORDINAL@string{#1}[m]}} +\new@ifnextchar[{\@ORDINAL@string{#1}}{\@ORDINAL@string{#1}[m]}} \def\@ORDINAL@string#1[#2]{{% \ifthenelse{\equal{#2}{f}}{% \protect\@ordinalstringF{#1}{\@fc@ordstr}}{% @@ -487,7 +489,7 @@ Available options are m, f or n}}% \expandafter\protect\expandafter\numberstringnum{% \expandafter\the\csname c@#1\endcsname}} \newcommand*{\numberstringnum}[1]{% -\@ifnextchar[{\@number@string{#1}}{\@number@string{#1}[m]}% +\new@ifnextchar[{\@number@string{#1}}{\@number@string{#1}[m]}% } \def\@number@string#1[#2]{{% \ifthenelse{\equal{#2}{f}}{% @@ -518,7 +520,7 @@ Available options are m, f or n}}% \expandafter\protect\expandafter\Numberstringnum{% \expandafter\the\csname c@#1\endcsname}} \newcommand*{\Numberstringnum}[1]{% -\@ifnextchar[{\@Number@string{#1}}{\@Number@string{#1}[m]}} +\new@ifnextchar[{\@Number@string{#1}}{\@Number@string{#1}[m]}} \def\@Number@string#1[#2]{{% \ifthenelse{\equal{#2}{f}}{% \protect\@NumberstringF{#1}{\@fc@numstr}}{% @@ -549,7 +551,7 @@ Available options are m or f}}% \expandafter\protect\expandafter\NUMBERstringnum{% \expandafter\the\csname c@#1\endcsname}} \newcommand*{\NUMBERstringnum}[1]{% -\@ifnextchar[{\@NUMBER@string{#1}}{\@NUMBER@string{#1}[m]}} +\new@ifnextchar[{\@NUMBER@string{#1}}{\@NUMBER@string{#1}[m]}} \def\@NUMBER@string#1[#2]{{% \ifthenelse{\equal{#2}{f}}{% \protect\@numberstringF{#1}{\@fc@numstr}}{% -- cgit v1.2.3