diff options
author | Karl Berry <karl@freefriends.org> | 2013-08-17 22:59:41 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2013-08-17 22:59:41 +0000 |
commit | 41ed127e239fba40041f66fc9d0df9b1b623cf8b (patch) | |
tree | a3ae9729de5d80efae5d0f9bc1f868b8dcf94992 /Master/texmf-dist/tex/latex/fmtcount | |
parent | 526f95c7e0013092d39bdb1032b05354fd39d5e9 (diff) |
fmtcount (17aug13)
git-svn-id: svn://tug.org/texlive/trunk@31456 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/fmtcount')
18 files changed, 1645 insertions, 1538 deletions
diff --git a/Master/texmf-dist/tex/latex/fmtcount/fc-UKenglish.def b/Master/texmf-dist/tex/latex/fmtcount/fc-UKenglish.def index 3d766038293..b082acd4ab0 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 2012 Nicola Talbot and Vincent Belaïche +%% Copyright 2013 Nicola Talbot and Vincent Belaïche %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -48,23 +48,23 @@ %%\begin{definition}[\DescribeMacro{\latinnumeralstringnum}] %%\cs{latinnumeralstringnum}\marg{number}\oarg{prefix options} %%\end{definition} -\ProvidesFCLanguage{UKenglish}[2012/06/18] -\FCloadlang{english} -\let\@ordinalMUKenglish\@ordinalMenglish -\let\@ordinalFUKenglish\@ordinalMenglish -\let\@ordinalNUKenglish\@ordinalMenglish -\let\@numberstringMUKenglish\@numberstringMenglish -\let\@numberstringFUKenglish\@numberstringMenglish -\let\@numberstringNUKenglish\@numberstringMenglish -\let\@NumberstringMUKenglish\@NumberstringMenglish -\let\@NumberstringFUKenglish\@NumberstringMenglish -\let\@NumberstringNUKenglish\@NumberstringMenglish -\let\@ordinalstringMUKenglish\@ordinalstringMenglish -\let\@ordinalstringFUKenglish\@ordinalstringMenglish -\let\@ordinalstringNUKenglish\@ordinalstringMenglish -\let\@OrdinalstringMUKenglish\@OrdinalstringMenglish -\let\@OrdinalstringFUKenglish\@OrdinalstringMenglish -\let\@OrdinalstringNUKenglish\@OrdinalstringMenglish +\ProvidesFCLanguage{UKenglish}[2013/08/17]% +\FCloadlang{english}% +\global\let\@ordinalMUKenglish\@ordinalMenglish +\global\let\@ordinalFUKenglish\@ordinalMenglish +\global\let\@ordinalNUKenglish\@ordinalMenglish +\global\let\@numberstringMUKenglish\@numberstringMenglish +\global\let\@numberstringFUKenglish\@numberstringMenglish +\global\let\@numberstringNUKenglish\@numberstringMenglish +\global\let\@NumberstringMUKenglish\@NumberstringMenglish +\global\let\@NumberstringFUKenglish\@NumberstringMenglish +\global\let\@NumberstringNUKenglish\@NumberstringMenglish +\global\let\@ordinalstringMUKenglish\@ordinalstringMenglish +\global\let\@ordinalstringFUKenglish\@ordinalstringMenglish +\global\let\@ordinalstringNUKenglish\@ordinalstringMenglish +\global\let\@OrdinalstringMUKenglish\@OrdinalstringMenglish +\global\let\@OrdinalstringFUKenglish\@OrdinalstringMenglish +\global\let\@OrdinalstringNUKenglish\@OrdinalstringMenglish \endinput %% %% End of file `fc-UKenglish.def'. diff --git a/Master/texmf-dist/tex/latex/fmtcount/fc-USenglish.def b/Master/texmf-dist/tex/latex/fmtcount/fc-USenglish.def index 28e3e391fb2..5eb38553a3f 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 2012 Nicola Talbot and Vincent Belaïche +%% Copyright 2013 Nicola Talbot and Vincent Belaïche %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -48,23 +48,23 @@ %%\begin{definition}[\DescribeMacro{\latinnumeralstringnum}] %%\cs{latinnumeralstringnum}\marg{number}\oarg{prefix options} %%\end{definition} -\ProvidesFCLanguage{USenglish}[2012/06/18] -\FCloadlang{english} -\let\@ordinalMUSenglish\@ordinalMenglish -\let\@ordinalFUSenglish\@ordinalMenglish -\let\@ordinalNUSenglish\@ordinalMenglish -\let\@numberstringMUSenglish\@numberstringMenglish -\let\@numberstringFUSenglish\@numberstringMenglish -\let\@numberstringNUSenglish\@numberstringMenglish -\let\@NumberstringMUSenglish\@NumberstringMenglish -\let\@NumberstringFUSenglish\@NumberstringMenglish -\let\@NumberstringNUSenglish\@NumberstringMenglish -\let\@ordinalstringMUSenglish\@ordinalstringMenglish -\let\@ordinalstringFUSenglish\@ordinalstringMenglish -\let\@ordinalstringNUSenglish\@ordinalstringMenglish -\let\@OrdinalstringMUSenglish\@OrdinalstringMenglish -\let\@OrdinalstringFUSenglish\@OrdinalstringMenglish -\let\@OrdinalstringNUSenglish\@OrdinalstringMenglish +\ProvidesFCLanguage{USenglish}[2013/08/17]% +\FCloadlang{english}% +\global\let\@ordinalMUSenglish\@ordinalMenglish +\global\let\@ordinalFUSenglish\@ordinalMenglish +\global\let\@ordinalNUSenglish\@ordinalMenglish +\global\let\@numberstringMUSenglish\@numberstringMenglish +\global\let\@numberstringFUSenglish\@numberstringMenglish +\global\let\@numberstringNUSenglish\@numberstringMenglish +\global\let\@NumberstringMUSenglish\@NumberstringMenglish +\global\let\@NumberstringFUSenglish\@NumberstringMenglish +\global\let\@NumberstringNUSenglish\@NumberstringMenglish +\global\let\@ordinalstringMUSenglish\@ordinalstringMenglish +\global\let\@ordinalstringFUSenglish\@ordinalstringMenglish +\global\let\@ordinalstringNUSenglish\@ordinalstringMenglish +\global\let\@OrdinalstringMUSenglish\@OrdinalstringMenglish +\global\let\@OrdinalstringFUSenglish\@OrdinalstringMenglish +\global\let\@OrdinalstringNUSenglish\@OrdinalstringMenglish \endinput %% %% End of file `fc-USenglish.def'. diff --git a/Master/texmf-dist/tex/latex/fmtcount/fc-american.def b/Master/texmf-dist/tex/latex/fmtcount/fc-american.def index 1324ec30127..cc95f3d4eb7 100644 --- a/Master/texmf-dist/tex/latex/fmtcount/fc-american.def +++ b/Master/texmf-dist/tex/latex/fmtcount/fc-american.def @@ -7,7 +7,7 @@ %% fmtcount.dtx (with options: `fc-american.def,package') %% %% fmtcount.dtx -%% Copyright 2012 Nicola Talbot and Vincent Belaïche +%% Copyright 2013 Nicola Talbot and Vincent Belaïche %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -48,23 +48,23 @@ %%\begin{definition}[\DescribeMacro{\latinnumeralstringnum}] %%\cs{latinnumeralstringnum}\marg{number}\oarg{prefix options} %%\end{definition} -\ProvidesFCLanguage{american}[2012/06/18] -\FCloadlang{USenglish} -\let\@ordinalMamerican\@ordinalMUSenglish -\let\@ordinalFamerican\@ordinalMUSenglish -\let\@ordinalNamerican\@ordinalMUSenglish -\let\@numberstringMamerican\@numberstringMUSenglish -\let\@numberstringFamerican\@numberstringMUSenglish -\let\@numberstringNamerican\@numberstringMUSenglish -\let\@NumberstringMamerican\@NumberstringMUSenglish -\let\@NumberstringFamerican\@NumberstringMUSenglish -\let\@NumberstringNamerican\@NumberstringMUSenglish -\let\@ordinalstringMamerican\@ordinalstringMUSenglish -\let\@ordinalstringFamerican\@ordinalstringMUSenglish -\let\@ordinalstringNamerican\@ordinalstringMUSenglish -\let\@OrdinalstringMamerican\@OrdinalstringMUSenglish -\let\@OrdinalstringFamerican\@OrdinalstringMUSenglish -\let\@OrdinalstringNamerican\@OrdinalstringMUSenglish +\ProvidesFCLanguage{american}[2013/08/17]% +\FCloadlang{USenglish}% +\global\let\@ordinalMamerican\@ordinalMUSenglish +\global\let\@ordinalFamerican\@ordinalMUSenglish +\global\let\@ordinalNamerican\@ordinalMUSenglish +\global\let\@numberstringMamerican\@numberstringMUSenglish +\global\let\@numberstringFamerican\@numberstringMUSenglish +\global\let\@numberstringNamerican\@numberstringMUSenglish +\global\let\@NumberstringMamerican\@NumberstringMUSenglish +\global\let\@NumberstringFamerican\@NumberstringMUSenglish +\global\let\@NumberstringNamerican\@NumberstringMUSenglish +\global\let\@ordinalstringMamerican\@ordinalstringMUSenglish +\global\let\@ordinalstringFamerican\@ordinalstringMUSenglish +\global\let\@ordinalstringNamerican\@ordinalstringMUSenglish +\global\let\@OrdinalstringMamerican\@OrdinalstringMUSenglish +\global\let\@OrdinalstringFamerican\@OrdinalstringMUSenglish +\global\let\@OrdinalstringNamerican\@OrdinalstringMUSenglish \endinput %% %% End of file `fc-american.def'. diff --git a/Master/texmf-dist/tex/latex/fmtcount/fc-british.def b/Master/texmf-dist/tex/latex/fmtcount/fc-british.def index b4ef27f2531..b6433aed280 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 2012 Nicola Talbot and Vincent Belaïche +%% Copyright 2013 Nicola Talbot and Vincent Belaïche %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -48,23 +48,23 @@ %%\begin{definition}[\DescribeMacro{\latinnumeralstringnum}] %%\cs{latinnumeralstringnum}\marg{number}\oarg{prefix options} %%\end{definition} -\ProvidesFCLanguage{british}[2012/06/18] -\FCloadlang{english} -\let\@ordinalMbritish\@ordinalMenglish -\let\@ordinalFbritish\@ordinalMenglish -\let\@ordinalNbritish\@ordinalMenglish -\let\@numberstringMbritish\@numberstringMenglish -\let\@numberstringFbritish\@numberstringMenglish -\let\@numberstringNbritish\@numberstringMenglish -\let\@NumberstringMbritish\@NumberstringMenglish -\let\@NumberstringFbritish\@NumberstringMenglish -\let\@NumberstringNbritish\@NumberstringMenglish -\let\@ordinalstringMbritish\@ordinalstringMenglish -\let\@ordinalstringFbritish\@ordinalstringMenglish -\let\@ordinalstringNbritish\@ordinalstringMenglish -\let\@OrdinalstringMbritish\@OrdinalstringMenglish -\let\@OrdinalstringFbritish\@OrdinalstringMenglish -\let\@OrdinalstringNbritish\@OrdinalstringMenglish +\ProvidesFCLanguage{british}[2013/08/17]% +\FCloadlang{english}% +\global\let\@ordinalMbritish\@ordinalMenglish +\global\let\@ordinalFbritish\@ordinalMenglish +\global\let\@ordinalNbritish\@ordinalMenglish +\global\let\@numberstringMbritish\@numberstringMenglish +\global\let\@numberstringFbritish\@numberstringMenglish +\global\let\@numberstringNbritish\@numberstringMenglish +\global\let\@NumberstringMbritish\@NumberstringMenglish +\global\let\@NumberstringFbritish\@NumberstringMenglish +\global\let\@NumberstringNbritish\@NumberstringMenglish +\global\let\@ordinalstringMbritish\@ordinalstringMenglish +\global\let\@ordinalstringFbritish\@ordinalstringMenglish +\global\let\@ordinalstringNbritish\@ordinalstringMenglish +\global\let\@OrdinalstringMbritish\@OrdinalstringMenglish +\global\let\@OrdinalstringFbritish\@OrdinalstringMenglish +\global\let\@OrdinalstringNbritish\@OrdinalstringMenglish \endinput %% %% End of file `fc-british.def'. diff --git a/Master/texmf-dist/tex/latex/fmtcount/fc-english.def b/Master/texmf-dist/tex/latex/fmtcount/fc-english.def index c75318435e1..026ad0e46f7 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 2012 Nicola Talbot and Vincent Belaïche +%% Copyright 2013 Nicola Talbot and Vincent Belaïche %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -48,8 +48,8 @@ %%\begin{definition}[\DescribeMacro{\latinnumeralstringnum}] %%\cs{latinnumeralstringnum}\marg{number}\oarg{prefix options} %%\end{definition} -\ProvidesFCLanguage{english}[2012/06/18] -\newcommand*{\@ordinalMenglish}[2]{% +\ProvidesFCLanguage{english}[2013/08/17]% +\gdef\@ordinalMenglish#1#2{% \def\@fc@ord{}% \@orgargctr=#1\relax \@ordinalctr=#1% @@ -76,92 +76,92 @@ \fi \fi \edef#2{\number#1\relax\noexpand\fmtord{\@fc@ord}}% -} -\let\@ordinalFenglish=\@ordinalMenglish -\let\@ordinalNenglish=\@ordinalMenglish -\newcommand*{\@@unitstringenglish}[1]{% -\ifcase#1\relax -zero% -\or one% -\or two% -\or three% -\or four% -\or five% -\or six% -\or seven% -\or eight% -\or nine% +}% +\global\let\@ordinalFenglish=\@ordinalMenglish +\global\let\@ordinalNenglish=\@ordinalMenglish +\gdef\@@unitstringenglish#1{% + \ifcase#1\relax + zero% + \or one% + \or two% + \or three% + \or four% + \or five% + \or six% + \or seven% + \or eight% + \or nine% \fi -} -\newcommand*{\@@tenstringenglish}[1]{% -\ifcase#1\relax -\or ten% -\or twenty% -\or thirty% -\or forty% -\or fifty% -\or sixty% -\or seventy% -\or eighty% -\or ninety% -\fi -} -\newcommand*{\@@teenstringenglish}[1]{% -\ifcase#1\relax -ten% -\or eleven% -\or twelve% -\or thirteen% -\or fourteen% -\or fifteen% -\or sixteen% -\or seventeen% -\or eighteen% -\or nineteen% -\fi -} -\newcommand*{\@@Unitstringenglish}[1]{% -\ifcase#1\relax -Zero% -\or One% -\or Two% -\or Three% -\or Four% -\or Five% -\or Six% -\or Seven% -\or Eight% -\or Nine% -\fi -} -\newcommand*{\@@Tenstringenglish}[1]{% -\ifcase#1\relax -\or Ten% -\or Twenty% -\or Thirty% -\or Forty% -\or Fifty% -\or Sixty% -\or Seventy% -\or Eighty% -\or Ninety% -\fi -} -\newcommand*{\@@Teenstringenglish}[1]{% -\ifcase#1\relax -Ten% -\or Eleven% -\or Twelve% -\or Thirteen% -\or Fourteen% -\or Fifteen% -\or Sixteen% -\or Seventeen% -\or Eighteen% -\or Nineteen% -\fi -} -\newcommand*{\@@numberstringenglish}[2]{% +}% +\gdef\@@tenstringenglish#1{% + \ifcase#1\relax + \or ten% + \or twenty% + \or thirty% + \or forty% + \or fifty% + \or sixty% + \or seventy% + \or eighty% + \or ninety% + \fi +}% +\gdef\@@teenstringenglish#1{% + \ifcase#1\relax + ten% + \or eleven% + \or twelve% + \or thirteen% + \or fourteen% + \or fifteen% + \or sixteen% + \or seventeen% + \or eighteen% + \or nineteen% + \fi +}% +\gdef\@@Unitstringenglish#1{% + \ifcase#1\relax + Zero% + \or One% + \or Two% + \or Three% + \or Four% + \or Five% + \or Six% + \or Seven% + \or Eight% + \or Nine% + \fi +}% +\gdef\@@Tenstringenglish#1{% + \ifcase#1\relax + \or Ten% + \or Twenty% + \or Thirty% + \or Forty% + \or Fifty% + \or Sixty% + \or Seventy% + \or Eighty% + \or Ninety% + \fi +}% +\gdef\@@Teenstringenglish#1{% + \ifcase#1\relax + Ten% + \or Eleven% + \or Twelve% + \or Thirteen% + \or Fourteen% + \or Fifteen% + \or Sixteen% + \or Seventeen% + \or Eighteen% + \or Nineteen% + \fi +}% +\gdef\@@numberstringenglish#1#2{% \ifnum#1>99999 \PackageError{fmtcount}{Out of range}% {This macro only works for values less than 100000}% @@ -244,109 +244,111 @@ this number}% \edef#2{\@@fc@numstr\@teenstring{\@strctr}}% \fi \fi -} +}% \DeclareRobustCommand{\@numberstringMenglish}[2]{% -\let\@unitstring=\@@unitstringenglish -\let\@teenstring=\@@teenstringenglish -\let\@tenstring=\@@tenstringenglish -\def\@hundred{hundred}\def\@thousand{thousand}% -\def\@andname{and}% -\@@numberstringenglish{#1}{#2}% -} -\let\@numberstringFenglish=\@numberstringMenglish -\let\@numberstringNenglish=\@numberstringMenglish -\newcommand*{\@NumberstringMenglish}[2]{% -\let\@unitstring=\@@Unitstringenglish -\let\@teenstring=\@@Teenstringenglish -\let\@tenstring=\@@Tenstringenglish -\def\@hundred{Hundred}\def\@thousand{Thousand}% -\def\@andname{and}% -\@@numberstringenglish{#1}{#2}} -\let\@NumberstringFenglish=\@NumberstringMenglish -\let\@NumberstringNenglish=\@NumberstringMenglish -\newcommand*{\@@unitthstringenglish}[1]{% -\ifcase#1\relax -zeroth% -\or first% -\or second% -\or third% -\or fourth% -\or fifth% -\or sixth% -\or seventh% -\or eighth% -\or ninth% -\fi -} -\newcommand*{\@@tenthstringenglish}[1]{% -\ifcase#1\relax -\or tenth% -\or twentieth% -\or thirtieth% -\or fortieth% -\or fiftieth% -\or sixtieth% -\or seventieth% -\or eightieth% -\or ninetieth% -\fi -} -\newcommand*{\@@teenthstringenglish}[1]{% -\ifcase#1\relax -tenth% -\or eleventh% -\or twelfth% -\or thirteenth% -\or fourteenth% -\or fifteenth% -\or sixteenth% -\or seventeenth% -\or eighteenth% -\or nineteenth% -\fi -} -\newcommand*{\@@Unitthstringenglish}[1]{% -\ifcase#1\relax -Zeroth% -\or First% -\or Second% -\or Third% -\or Fourth% -\or Fifth% -\or Sixth% -\or Seventh% -\or Eighth% -\or Ninth% -\fi -} -\newcommand*{\@@Tenthstringenglish}[1]{% -\ifcase#1\relax -\or Tenth% -\or Twentieth% -\or Thirtieth% -\or Fortieth% -\or Fiftieth% -\or Sixtieth% -\or Seventieth% -\or Eightieth% -\or Ninetieth% -\fi -} -\newcommand*{\@@Teenthstringenglish}[1]{% -\ifcase#1\relax -Tenth% -\or Eleventh% -\or Twelfth% -\or Thirteenth% -\or Fourteenth% -\or Fifteenth% -\or Sixteenth% -\or Seventeenth% -\or Eighteenth% -\or Nineteenth% -\fi -} -\newcommand*{\@@ordinalstringenglish}[2]{% + \let\@unitstring=\@@unitstringenglish + \let\@teenstring=\@@teenstringenglish + \let\@tenstring=\@@tenstringenglish + \def\@hundred{hundred}\def\@thousand{thousand}% + \def\@andname{and}% + \@@numberstringenglish{#1}{#2}% +}% +\global\let\@numberstringMenglish\@numberstringMenglish +\global\let\@numberstringFenglish=\@numberstringMenglish +\global\let\@numberstringNenglish=\@numberstringMenglish +\gdef\@NumberstringMenglish#1#2{% + \let\@unitstring=\@@Unitstringenglish + \let\@teenstring=\@@Teenstringenglish + \let\@tenstring=\@@Tenstringenglish + \def\@hundred{Hundred}\def\@thousand{Thousand}% + \def\@andname{and}% + \@@numberstringenglish{#1}{#2}% +}% +\global\let\@NumberstringFenglish=\@NumberstringMenglish +\global\let\@NumberstringNenglish=\@NumberstringMenglish +\gdef\@@unitthstringenglish#1{% + \ifcase#1\relax + zeroth% + \or first% + \or second% + \or third% + \or fourth% + \or fifth% + \or sixth% + \or seventh% + \or eighth% + \or ninth% + \fi +}% +\gdef\@@tenthstringenglish#1{% + \ifcase#1\relax + \or tenth% + \or twentieth% + \or thirtieth% + \or fortieth% + \or fiftieth% + \or sixtieth% + \or seventieth% + \or eightieth% + \or ninetieth% + \fi +}% +\gdef\@@teenthstringenglish#1{% + \ifcase#1\relax + tenth% + \or eleventh% + \or twelfth% + \or thirteenth% + \or fourteenth% + \or fifteenth% + \or sixteenth% + \or seventeenth% + \or eighteenth% + \or nineteenth% + \fi +}% +\gdef\@@Unitthstringenglish#1{% + \ifcase#1\relax + Zeroth% + \or First% + \or Second% + \or Third% + \or Fourth% + \or Fifth% + \or Sixth% + \or Seventh% + \or Eighth% + \or Ninth% + \fi +}% +\gdef\@@Tenthstringenglish#1{% + \ifcase#1\relax + \or Tenth% + \or Twentieth% + \or Thirtieth% + \or Fortieth% + \or Fiftieth% + \or Sixtieth% + \or Seventieth% + \or Eightieth% + \or Ninetieth% + \fi +}% +\gdef\@@Teenthstringenglish#1{% + \ifcase#1\relax + Tenth% + \or Eleventh% + \or Twelfth% + \or Thirteenth% + \or Fourteenth% + \or Fifteenth% + \or Sixteenth% + \or Seventeenth% + \or Eighteenth% + \or Nineteenth% + \fi +}% +\gdef\@@ordinalstringenglish#1#2{% \@strctr=#1\relax \ifnum#1>99999 \PackageError{fmtcount}{Out of range}% @@ -456,33 +458,37 @@ this number}% \edef#2{\@@fc@ordstr\@teenthstring{\@strctr}}% \fi \fi -} +}% \DeclareRobustCommand{\@ordinalstringMenglish}[2]{% -\let\@unitthstring=\@@unitthstringenglish -\let\@teenthstring=\@@teenthstringenglish -\let\@tenthstring=\@@tenthstringenglish -\let\@unitstring=\@@unitstringenglish -\let\@teenstring=\@@teenstringenglish -\let\@tenstring=\@@tenstringenglish -\def\@andname{and}% -\def\@hundred{hundred}\def\@thousand{thousand}% -\def\@hundredth{hundredth}\def\@thousandth{thousandth}% -\@@ordinalstringenglish{#1}{#2}} -\let\@ordinalstringFenglish=\@ordinalstringMenglish -\let\@ordinalstringNenglish=\@ordinalstringMenglish + \let\@unitthstring=\@@unitthstringenglish + \let\@teenthstring=\@@teenthstringenglish + \let\@tenthstring=\@@tenthstringenglish + \let\@unitstring=\@@unitstringenglish + \let\@teenstring=\@@teenstringenglish + \let\@tenstring=\@@tenstringenglish + \def\@andname{and}% + \def\@hundred{hundred}\def\@thousand{thousand}% + \def\@hundredth{hundredth}\def\@thousandth{thousandth}% + \@@ordinalstringenglish{#1}{#2}% +}% +\global\let\@ordinalstringMenglish\@ordinalstringMenglish +\global\let\@ordinalstringFenglish=\@ordinalstringMenglish +\global\let\@ordinalstringNenglish=\@ordinalstringMenglish \DeclareRobustCommand{\@OrdinalstringMenglish}[2]{% -\let\@unitthstring=\@@Unitthstringenglish -\let\@teenthstring=\@@Teenthstringenglish -\let\@tenthstring=\@@Tenthstringenglish -\let\@unitstring=\@@Unitstringenglish -\let\@teenstring=\@@Teenstringenglish -\let\@tenstring=\@@Tenstringenglish -\def\@andname{and}% -\def\@hundred{Hundred}\def\@thousand{Thousand}% -\def\@hundredth{Hundredth}\def\@thousandth{Thousandth}% -\@@ordinalstringenglish{#1}{#2}} -\let\@OrdinalstringFenglish=\@OrdinalstringMenglish -\let\@OrdinalstringNenglish=\@OrdinalstringMenglish + \let\@unitthstring=\@@Unitthstringenglish + \let\@teenthstring=\@@Teenthstringenglish + \let\@tenthstring=\@@Tenthstringenglish + \let\@unitstring=\@@Unitstringenglish + \let\@teenstring=\@@Teenstringenglish + \let\@tenstring=\@@Tenstringenglish + \def\@andname{and}% + \def\@hundred{Hundred}\def\@thousand{Thousand}% + \def\@hundredth{Hundredth}\def\@thousandth{Thousandth}% + \@@ordinalstringenglish{#1}{#2}% +}% +\global\let\@OrdinalstringMenglish\@OrdinalstringMenglish +\global\let\@OrdinalstringFenglish=\@OrdinalstringMenglish +\global\let\@OrdinalstringNenglish=\@OrdinalstringMenglish \endinput %% %% End of file `fc-english.def'. diff --git a/Master/texmf-dist/tex/latex/fmtcount/fc-francais.def b/Master/texmf-dist/tex/latex/fmtcount/fc-francais.def index 165052fcc49..43e96a54ffa 100644 --- a/Master/texmf-dist/tex/latex/fmtcount/fc-francais.def +++ b/Master/texmf-dist/tex/latex/fmtcount/fc-francais.def @@ -7,7 +7,7 @@ %% fmtcount.dtx (with options: `fc-francais.def,package') %% %% fmtcount.dtx -%% Copyright 2012 Nicola Talbot and Vincent Belaïche +%% Copyright 2013 Nicola Talbot and Vincent Belaïche %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -48,23 +48,23 @@ %%\begin{definition}[\DescribeMacro{\latinnumeralstringnum}] %%\cs{latinnumeralstringnum}\marg{number}\oarg{prefix options} %%\end{definition} -\ProvidesFCLanguage{francais}[2012/06/18] -\FCloadlang{french} -\let\@ordinalMfrancais=\@ordinalMfrench -\let\@ordinalFfrancais=\@ordinalFfrench -\let\@ordinalNfrancais=\@ordinalNfrench -\let\@numberstringMfrancais=\@numberstringMfrench -\let\@numberstringFfrancais=\@numberstringFfrench -\let\@numberstringNfrancais=\@numberstringNfrench -\let\@NumberstringMfrancais=\@NumberstringMfrench -\let\@NumberstringFfrancais=\@NumberstringFfrench -\let\@NumberstringNfrancais=\@NumberstringNfrench -\let\@ordinalstringMfrancais=\@ordinalstringMfrench -\let\@ordinalstringFfrancais=\@ordinalstringFfrench -\let\@ordinalstringNfrancais=\@ordinalstringNfrench -\let\@OrdinalstringMfrancais=\@OrdinalstringMfrench -\let\@OrdinalstringFfrancais=\@OrdinalstringFfrench -\let\@OrdinalstringNfrancais=\@OrdinalstringNfrench +\ProvidesFCLanguage{francais}[2013/08/17]% +\FCloadlang{french}% +\global\let\@ordinalMfrancais=\@ordinalMfrench +\global\let\@ordinalFfrancais=\@ordinalFfrench +\global\let\@ordinalNfrancais=\@ordinalNfrench +\global\let\@numberstringMfrancais=\@numberstringMfrench +\global\let\@numberstringFfrancais=\@numberstringFfrench +\global\let\@numberstringNfrancais=\@numberstringNfrench +\global\let\@NumberstringMfrancais=\@NumberstringMfrench +\global\let\@NumberstringFfrancais=\@NumberstringFfrench +\global\let\@NumberstringNfrancais=\@NumberstringNfrench +\global\let\@ordinalstringMfrancais=\@ordinalstringMfrench +\global\let\@ordinalstringFfrancais=\@ordinalstringFfrench +\global\let\@ordinalstringNfrancais=\@ordinalstringNfrench +\global\let\@OrdinalstringMfrancais=\@OrdinalstringMfrench +\global\let\@OrdinalstringFfrancais=\@OrdinalstringFfrench +\global\let\@OrdinalstringNfrancais=\@OrdinalstringNfrench \endinput %% diff --git a/Master/texmf-dist/tex/latex/fmtcount/fc-french.def b/Master/texmf-dist/tex/latex/fmtcount/fc-french.def index c33aaf8a48a..2170673f54e 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 2012 Nicola Talbot and Vincent Belaïche +%% Copyright 2013 Nicola Talbot and Vincent Belaïche %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -48,7 +48,7 @@ %%\begin{definition}[\DescribeMacro{\latinnumeralstringnum}] %%\cs{latinnumeralstringnum}\marg{number}\oarg{prefix options} %%\end{definition} -\ProvidesFCLanguage{french}[2012/10/24] +\ProvidesFCLanguage{french}[2012/10/24]% \def\fc@french@set@plural#1#2#3#4#5#6{% \ifthenelse{\equal{#2}{reformed}}{% \expandafter\def\csname fc@frenchoptions@#1@plural\endcsname{#3}% diff --git a/Master/texmf-dist/tex/latex/fmtcount/fc-frenchb.def b/Master/texmf-dist/tex/latex/fmtcount/fc-frenchb.def index 58b498a2be6..fccdafd5e4b 100644 --- a/Master/texmf-dist/tex/latex/fmtcount/fc-frenchb.def +++ b/Master/texmf-dist/tex/latex/fmtcount/fc-frenchb.def @@ -7,7 +7,7 @@ %% fmtcount.dtx (with options: `fc-frenchb.def,package') %% %% fmtcount.dtx -%% Copyright 2012 Nicola Talbot and Vincent Belaïche +%% Copyright 2013 Nicola Talbot and Vincent Belaïche %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -48,23 +48,23 @@ %%\begin{definition}[\DescribeMacro{\latinnumeralstringnum}] %%\cs{latinnumeralstringnum}\marg{number}\oarg{prefix options} %%\end{definition} -\ProvidesFCLanguage{frenchb}[2012/06/18] -\FCloadlang{french} -\let\@ordinalMfrenchb=\@ordinalMfrench -\let\@ordinalFfrenchb=\@ordinalFfrench -\let\@ordinalNfrenchb=\@ordinalNfrench -\let\@numberstringMfrenchb=\@numberstringMfrench -\let\@numberstringFfrenchb=\@numberstringFfrench -\let\@numberstringNfrenchb=\@numberstringNfrench -\let\@NumberstringMfrenchb=\@NumberstringMfrench -\let\@NumberstringFfrenchb=\@NumberstringFfrench -\let\@NumberstringNfrenchb=\@NumberstringNfrench -\let\@ordinalstringMfrenchb=\@ordinalstringMfrench -\let\@ordinalstringFfrenchb=\@ordinalstringFfrench -\let\@ordinalstringNfrenchb=\@ordinalstringNfrench -\let\@OrdinalstringMfrenchb=\@OrdinalstringMfrench -\let\@OrdinalstringFfrenchb=\@OrdinalstringFfrench -\let\@OrdinalstringNfrenchb=\@OrdinalstringNfrench +\ProvidesFCLanguage{frenchb}[2013/08/17]% +\FCloadlang{french}% +\global\let\@ordinalMfrenchb=\@ordinalMfrench +\global\let\@ordinalFfrenchb=\@ordinalFfrench +\global\let\@ordinalNfrenchb=\@ordinalNfrench +\global\let\@numberstringMfrenchb=\@numberstringMfrench +\global\let\@numberstringFfrenchb=\@numberstringFfrench +\global\let\@numberstringNfrenchb=\@numberstringNfrench +\global\let\@NumberstringMfrenchb=\@NumberstringMfrench +\global\let\@NumberstringFfrenchb=\@NumberstringFfrench +\global\let\@NumberstringNfrenchb=\@NumberstringNfrench +\global\let\@ordinalstringMfrenchb=\@ordinalstringMfrench +\global\let\@ordinalstringFfrenchb=\@ordinalstringFfrench +\global\let\@ordinalstringNfrenchb=\@ordinalstringNfrench +\global\let\@OrdinalstringMfrenchb=\@OrdinalstringMfrench +\global\let\@OrdinalstringFfrenchb=\@OrdinalstringFfrench +\global\let\@OrdinalstringNfrenchb=\@OrdinalstringNfrench \endinput %% diff --git a/Master/texmf-dist/tex/latex/fmtcount/fc-german.def b/Master/texmf-dist/tex/latex/fmtcount/fc-german.def index 870745c9296..63fc7923336 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 2012 Nicola Talbot and Vincent Belaïche +%% Copyright 2013 Nicola Talbot and Vincent Belaïche %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -48,236 +48,256 @@ %%\begin{definition}[\DescribeMacro{\latinnumeralstringnum}] %%\cs{latinnumeralstringnum}\marg{number}\oarg{prefix options} %%\end{definition} -\ProvidesFCLanguage{german}[2012/06/18] +\ProvidesFCLanguage{german}[2013/08/17]% \newcommand{\@ordinalMgerman}[2]{% -\edef#2{\number#1\relax.}} + \edef#2{\number#1\relax.}% +}% +\global\let\@ordinalMgerman\@ordinalMgerman \newcommand{\@ordinalFgerman}[2]{% -\edef#2{\number#1\relax.}} + \edef#2{\number#1\relax.}% +}% +\global\let\@ordinalFgerman\@ordinalFgerman \newcommand{\@ordinalNgerman}[2]{% -\edef#2{\number#1\relax.}} -\newcommand{\@@unitstringgerman}[1]{% -\ifcase#1% -null% -\or eins% -\or zwei% -\or drei% -\or vier% -\or f\"unf% -\or sechs% -\or sieben% -\or acht% -\or neun% -\fi -} -\newcommand{\@@tenstringgerman}[1]{% -\ifcase#1% -\or zehn% -\or zwanzig% -\or drei{\ss}ig% -\or vierzig% -\or f\"unfzig% -\or sechzig% -\or siebzig% -\or achtzig% -\or neunzig% -\or einhundert% -\fi -} -\providecommand*{\einhundert}{einhundert} -\providecommand*{\eintausend}{eintausend} -\newcommand{\@@teenstringgerman}[1]{% -\ifcase#1% -zehn% -\or elf% -\or zw\"olf% -\or dreizehn% -\or vierzehn% -\or f\"unfzehn% -\or sechzehn% -\or siebzehn% -\or achtzehn% -\or neunzehn% -\fi -} + \edef#2{\number#1\relax.}% +}% +\global\let\@ordinalNgerman\@ordinalNgerman +\gdef\@@unitstringgerman#1{% + \ifcase#1% + null% + \or eins% + \or zwei% + \or drei% + \or vier% + \or f\"unf% + \or sechs% + \or sieben% + \or acht% + \or neun% + \fi +}% +\gdef\@@tenstringgerman#1{% + \ifcase#1% + \or zehn% + \or zwanzig% + \or drei{\ss}ig% + \or vierzig% + \or f\"unfzig% + \or sechzig% + \or siebzig% + \or achtzig% + \or neunzig% + \or einhundert% + \fi +}% +\providecommand*{\einhundert}{einhundert}% +\providecommand*{\eintausend}{eintausend}% +\global\let\einhundert\einhundert +\global\let\eintausend\eintausend +\gdef\@@teenstringgerman#1{% + \ifcase#1% + zehn% + \or elf% + \or zw\"olf% + \or dreizehn% + \or vierzehn% + \or f\"unfzehn% + \or sechzehn% + \or siebzehn% + \or achtzehn% + \or neunzehn% + \fi +}% \DeclareRobustCommand{\@numberstringMgerman}[2]{% -\let\@unitstring=\@@unitstringgerman -\let\@teenstring=\@@teenstringgerman -\let\@tenstring=\@@tenstringgerman -\@@numberstringgerman{#1}{#2}} -\let\@numberstringFgerman=\@numberstringMgerman -\let\@numberstringNgerman=\@numberstringMgerman + \let\@unitstring=\@@unitstringgerman + \let\@teenstring=\@@teenstringgerman + \let\@tenstring=\@@tenstringgerman + \@@numberstringgerman{#1}{#2}% +}% +\global\let\@numberstringMgerman\@numberstringMgerman +\global\let\@numberstringFgerman=\@numberstringMgerman +\global\let\@numberstringNgerman=\@numberstringMgerman \DeclareRobustCommand{\@NumberstringMgerman}[2]{% \@numberstringMgerman{#1}{\@@num@str}% - \edef#2{\noexpand\MakeUppercase\expandonce\@@num@str}% -} -\let\@NumberstringFgerman=\@NumberstringMgerman -\let\@NumberstringNgerman=\@NumberstringMgerman + \edef#2{\noexpand\MakeUppercase\expandonce\@@num@str}% +}% +\global\let\@NumberstringMgerman\@NumberstringMgerman +\global\let\@NumberstringFgerman=\@NumberstringMgerman +\global\let\@NumberstringNgerman=\@NumberstringMgerman \DeclareRobustCommand{\@ordinalstringMgerman}[2]{% -\let\@unitthstring=\@@unitthstringMgerman -\let\@teenthstring=\@@teenthstringMgerman -\let\@tenthstring=\@@tenthstringMgerman -\let\@unitstring=\@@unitstringgerman -\let\@teenstring=\@@teenstringgerman -\let\@tenstring=\@@tenstringgerman -\def\@thousandth{tausendster}% -\def\@hundredth{hundertster}% -\@@ordinalstringgerman{#1}{#2}} + \let\@unitthstring=\@@unitthstringMgerman + \let\@teenthstring=\@@teenthstringMgerman + \let\@tenthstring=\@@tenthstringMgerman + \let\@unitstring=\@@unitstringgerman + \let\@teenstring=\@@teenstringgerman + \let\@tenstring=\@@tenstringgerman + \def\@thousandth{tausendster}% + \def\@hundredth{hundertster}% + \@@ordinalstringgerman{#1}{#2}% +}% +\global\let\@ordinalstringMgerman\@ordinalstringMgerman \DeclareRobustCommand{\@ordinalstringFgerman}[2]{% -\let\@unitthstring=\@@unitthstringFgerman -\let\@teenthstring=\@@teenthstringFgerman -\let\@tenthstring=\@@tenthstringFgerman -\let\@unitstring=\@@unitstringgerman -\let\@teenstring=\@@teenstringgerman -\let\@tenstring=\@@tenstringgerman -\def\@thousandth{tausendste}% -\def\@hundredth{hundertste}% -\@@ordinalstringgerman{#1}{#2}} + \let\@unitthstring=\@@unitthstringFgerman + \let\@teenthstring=\@@teenthstringFgerman + \let\@tenthstring=\@@tenthstringFgerman + \let\@unitstring=\@@unitstringgerman + \let\@teenstring=\@@teenstringgerman + \let\@tenstring=\@@tenstringgerman + \def\@thousandth{tausendste}% + \def\@hundredth{hundertste}% + \@@ordinalstringgerman{#1}{#2}% +}% +\global\let\@ordinalstringFgerman\@ordinalstringFgerman \DeclareRobustCommand{\@ordinalstringNgerman}[2]{% -\let\@unitthstring=\@@unitthstringNgerman -\let\@teenthstring=\@@teenthstringNgerman -\let\@tenthstring=\@@tenthstringNgerman -\let\@unitstring=\@@unitstringgerman -\let\@teenstring=\@@teenstringgerman -\let\@tenstring=\@@tenstringgerman -\def\@thousandth{tausendstes}% -\def\@hundredth{hunderstes}% -\@@ordinalstringgerman{#1}{#2}} + \let\@unitthstring=\@@unitthstringNgerman + \let\@teenthstring=\@@teenthstringNgerman + \let\@tenthstring=\@@tenthstringNgerman + \let\@unitstring=\@@unitstringgerman + \let\@teenstring=\@@teenstringgerman + \let\@tenstring=\@@tenstringgerman + \def\@thousandth{tausendstes}% + \def\@hundredth{hunderstes}% + \@@ordinalstringgerman{#1}{#2}% +}% +\global\let\@ordinalstringNgerman\@ordinalstringNgerman \DeclareRobustCommand{\@OrdinalstringMgerman}[2]{% \@ordinalstringMgerman{#1}{\@@num@str}% \edef#2{\noexpand\MakeUppercase\expandonce\@@num@str}% -} +}% +\global\let\@OrdinalstringMgerman\@OrdinalstringMgerman \DeclareRobustCommand{\@OrdinalstringFgerman}[2]{% \@ordinalstringFgerman{#1}{\@@num@str}% \edef#2{\noexpand\MakeUppercase\expandonce\@@num@str}% -} +}% +\global\let\@OrdinalstringFgerman\@OrdinalstringFgerman \DeclareRobustCommand{\@OrdinalstringNgerman}[2]{% \@ordinalstringNgerman{#1}{\@@num@str}% \edef#2{\noexpand\MakeUppercase\expandonce\@@num@str}% -} -\newcommand{\@@unitthstringMgerman}[1]{% -\ifcase#1% -nullter% -\or erster% -\or zweiter% -\or dritter% -\or vierter% -\or f\"unfter% -\or sechster% -\or siebter% -\or achter% -\or neunter% -\fi -} -\newcommand{\@@tenthstringMgerman}[1]{% -\ifcase#1% -\or zehnter% -\or zwanzigster% -\or drei{\ss}igster% -\or vierzigster% -\or f\"unfzigster% -\or sechzigster% -\or siebzigster% -\or achtzigster% -\or neunzigster% -\fi -} -\newcommand{\@@teenthstringMgerman}[1]{% -\ifcase#1% -zehnter% -\or elfter% -\or zw\"olfter% -\or dreizehnter% -\or vierzehnter% -\or f\"unfzehnter% -\or sechzehnter% -\or siebzehnter% -\or achtzehnter% -\or neunzehnter% -\fi -} -\newcommand{\@@unitthstringFgerman}[1]{% -\ifcase#1% -nullte% -\or erste% -\or zweite% -\or dritte% -\or vierte% -\or f\"unfte% -\or sechste% -\or siebte% -\or achte% -\or neunte% -\fi -} -\newcommand{\@@tenthstringFgerman}[1]{% -\ifcase#1% -\or zehnte% -\or zwanzigste% -\or drei{\ss}igste% -\or vierzigste% -\or f\"unfzigste% -\or sechzigste% -\or siebzigste% -\or achtzigste% -\or neunzigste% -\fi -} -\newcommand{\@@teenthstringFgerman}[1]{% -\ifcase#1% -zehnte% -\or elfte% -\or zw\"olfte% -\or dreizehnte% -\or vierzehnte% -\or f\"unfzehnte% -\or sechzehnte% -\or siebzehnte% -\or achtzehnte% -\or neunzehnte% -\fi -} -\newcommand{\@@unitthstringNgerman}[1]{% -\ifcase#1% -nulltes% -\or erstes% -\or zweites% -\or drittes% -\or viertes% -\or f\"unftes% -\or sechstes% -\or siebtes% -\or achtes% -\or neuntes% -\fi -} -\newcommand{\@@tenthstringNgerman}[1]{% -\ifcase#1% -\or zehntes% -\or zwanzigstes% -\or drei{\ss}igstes% -\or vierzigstes% -\or f\"unfzigstes% -\or sechzigstes% -\or siebzigstes% -\or achtzigstes% -\or neunzigstes% -\fi -} -\newcommand{\@@teenthstringNgerman}[1]{% -\ifcase#1% -zehntes% -\or elftes% -\or zw\"olftes% -\or dreizehntes% -\or vierzehntes% -\or f\"unfzehntes% -\or sechzehntes% -\or siebzehntes% -\or achtzehntes% -\or neunzehntes% -\fi -} -\newcommand{\@@numberunderhundredgerman}[2]{% +}% +\global\let\@OrdinalstringNgerman\@OrdinalstringNgerman +\gdef\@@unitthstringMgerman#1{% + \ifcase#1% + nullter% + \or erster% + \or zweiter% + \or dritter% + \or vierter% + \or f\"unfter% + \or sechster% + \or siebter% + \or achter% + \or neunter% + \fi +}% +\gdef\@@tenthstringMgerman#1{% + \ifcase#1% + \or zehnter% + \or zwanzigster% + \or drei{\ss}igster% + \or vierzigster% + \or f\"unfzigster% + \or sechzigster% + \or siebzigster% + \or achtzigster% + \or neunzigster% + \fi +}% +\gdef\@@teenthstringMgerman#1{% + \ifcase#1% + zehnter% + \or elfter% + \or zw\"olfter% + \or dreizehnter% + \or vierzehnter% + \or f\"unfzehnter% + \or sechzehnter% + \or siebzehnter% + \or achtzehnter% + \or neunzehnter% + \fi +}% +\gdef\@@unitthstringFgerman#1{% + \ifcase#1% + nullte% + \or erste% + \or zweite% + \or dritte% + \or vierte% + \or f\"unfte% + \or sechste% + \or siebte% + \or achte% + \or neunte% + \fi +}% +\gdef\@@tenthstringFgerman#1{% + \ifcase#1% + \or zehnte% + \or zwanzigste% + \or drei{\ss}igste% + \or vierzigste% + \or f\"unfzigste% + \or sechzigste% + \or siebzigste% + \or achtzigste% + \or neunzigste% + \fi +}% +\gdef\@@teenthstringFgerman#1{% + \ifcase#1% + zehnte% + \or elfte% + \or zw\"olfte% + \or dreizehnte% + \or vierzehnte% + \or f\"unfzehnte% + \or sechzehnte% + \or siebzehnte% + \or achtzehnte% + \or neunzehnte% + \fi +}% +\gdef\@@unitthstringNgerman#1{% + \ifcase#1% + nulltes% + \or erstes% + \or zweites% + \or drittes% + \or viertes% + \or f\"unftes% + \or sechstes% + \or siebtes% + \or achtes% + \or neuntes% + \fi +}% +\gdef\@@tenthstringNgerman#1{% + \ifcase#1% + \or zehntes% + \or zwanzigstes% + \or drei{\ss}igstes% + \or vierzigstes% + \or f\"unfzigstes% + \or sechzigstes% + \or siebzigstes% + \or achtzigstes% + \or neunzigstes% + \fi +}% +\gdef\@@teenthstringNgerman#1{% + \ifcase#1% + zehntes% + \or elftes% + \or zw\"olftes% + \or dreizehntes% + \or vierzehntes% + \or f\"unfzehntes% + \or sechzehntes% + \or siebzehntes% + \or achtzehntes% + \or neunzehntes% + \fi +}% +\gdef\@@numberunderhundredgerman#1#2{% \ifnum#1<10\relax \ifnum#1>0\relax \eappto#2{\@unitstring{#1}}% @@ -297,8 +317,8 @@ zehntes% \eappto#2{\@tenstring{\@tmpstrctr}}% \fi \fi -} -\newcommand{\@@numberstringgerman}[2]{% +}% +\gdef\@@numberstringgerman#1#2{% \ifnum#1>99999\relax \PackageError{fmtcount}{Out of range}% {This macro only works for values less than 100000}% @@ -345,8 +365,8 @@ zehntes% \@@numberunderhundredgerman{\@strctr}{#2}% \fi \fi -} -\newcommand{\@@numberunderhundredthgerman}[2]{% +}% +\gdef\@@numberunderhundredthgerman#1#2{% \ifnum#1<10\relax \eappto#2{\@unitthstring{#1}}% \else @@ -364,8 +384,8 @@ zehntes% \eappto#2{\@tenthstring{\@tmpstrctr}}% \fi \fi -} -\newcommand{\@@ordinalstringgerman}[2]{% +}% +\gdef\@@ordinalstringgerman#1#2{% \ifnum#1>99999\relax \PackageError{fmtcount}{Out of range}% {This macro only works for values less than 100000}% @@ -429,8 +449,8 @@ zehntes% \ifthenelse{\@strctr=0 \and #1>0}{}{% \@@numberunderhundredthgerman{\@strctr}{#2}% }% -} -\FCloadlang{germanb} +}% +\FCloadlang{germanb}% \endinput %% diff --git a/Master/texmf-dist/tex/latex/fmtcount/fc-germanb.def b/Master/texmf-dist/tex/latex/fmtcount/fc-germanb.def index 8cf4ee687ce..a2832feba9a 100644 --- a/Master/texmf-dist/tex/latex/fmtcount/fc-germanb.def +++ b/Master/texmf-dist/tex/latex/fmtcount/fc-germanb.def @@ -7,7 +7,7 @@ %% fmtcount.dtx (with options: `fc-germanb.def,package') %% %% fmtcount.dtx -%% Copyright 2012 Nicola Talbot and Vincent Belaïche +%% Copyright 2013 Nicola Talbot and Vincent Belaïche %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -48,23 +48,23 @@ %%\begin{definition}[\DescribeMacro{\latinnumeralstringnum}] %%\cs{latinnumeralstringnum}\marg{number}\oarg{prefix options} %%\end{definition} -\ProvidesFCLanguage{germanb}[2012/06/18] -\FCloadlang{german} -\let\@ordinalMgermanb=\@ordinalMgerman -\let\@ordinalFgermanb=\@ordinalFgerman -\let\@ordinalNgermanb=\@ordinalNgerman -\let\@numberstringMgermanb=\@numberstringMgerman -\let\@numberstringFgermanb=\@numberstringFgerman -\let\@numberstringNgermanb=\@numberstringNgerman -\let\@NumberstringMgermanb=\@NumberstringMgerman -\let\@NumberstringFgermanb=\@NumberstringFgerman -\let\@NumberstringNgermanb=\@NumberstringNgerman -\let\@ordinalstringMgermanb=\@ordinalstringMgerman -\let\@ordinalstringFgermanb=\@ordinalstringFgerman -\let\@ordinalstringNgermanb=\@ordinalstringNgerman -\let\@OrdinalstringMgermanb=\@OrdinalstringMgerman -\let\@OrdinalstringFgermanb=\@OrdinalstringFgerman -\let\@OrdinalstringNgermanb=\@OrdinalstringNgerman +\ProvidesFCLanguage{germanb}[2013/08/17]% +\FCloadlang{german}% +\global\let\@ordinalMgermanb=\@ordinalMgerman +\global\let\@ordinalFgermanb=\@ordinalFgerman +\global\let\@ordinalNgermanb=\@ordinalNgerman +\global\let\@numberstringMgermanb=\@numberstringMgerman +\global\let\@numberstringFgermanb=\@numberstringFgerman +\global\let\@numberstringNgermanb=\@numberstringNgerman +\global\let\@NumberstringMgermanb=\@NumberstringMgerman +\global\let\@NumberstringFgermanb=\@NumberstringFgerman +\global\let\@NumberstringNgermanb=\@NumberstringNgerman +\global\let\@ordinalstringMgermanb=\@ordinalstringMgerman +\global\let\@ordinalstringFgermanb=\@ordinalstringFgerman +\global\let\@ordinalstringNgermanb=\@ordinalstringNgerman +\global\let\@OrdinalstringMgermanb=\@OrdinalstringMgerman +\global\let\@OrdinalstringFgermanb=\@OrdinalstringFgerman +\global\let\@OrdinalstringNgermanb=\@OrdinalstringNgerman \endinput %% diff --git a/Master/texmf-dist/tex/latex/fmtcount/fc-italian.def b/Master/texmf-dist/tex/latex/fmtcount/fc-italian.def index 88f0da9d8c7..ca815bbac4d 100644 --- a/Master/texmf-dist/tex/latex/fmtcount/fc-italian.def +++ b/Master/texmf-dist/tex/latex/fmtcount/fc-italian.def @@ -7,7 +7,7 @@ %% fmtcount.dtx (with options: `fc-italian.def,package') %% %% fmtcount.dtx -%% Copyright 2012 Nicola Talbot and Vincent Belaïche +%% Copyright 2013 Nicola Talbot and Vincent Belaïche %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -48,39 +48,58 @@ %%\begin{definition}[\DescribeMacro{\latinnumeralstringnum}] %%\cs{latinnumeralstringnum}\marg{number}\oarg{prefix options} %%\end{definition} -\ProvidesFCLanguage{italian}[2012/06/18] +\ProvidesFCLanguage{italian}[2013/08/17] \RequirePackage{itnumpar} \newcommand{\@numberstringMitalian}[2]{% \edef#2{\noexpand\printnumeroinparole{#1}}% } +\global\let\@numberstringMitalian\@numberstringMitalian \newcommand{\@numberstringFitalian}[2]{% \edef#2{\noexpand\printnumeroinparole{#1}}} +\global\let\@numberstringFitalian\@numberstringFitalian + \newcommand{\@NumberstringMitalian}[2]{% - \edef#2{\noexpand\printNumeroinparole{#1}}} + \edef#2{\noexpand\printNumeroinparole{#1}}% +} +\global\let\@NumberstringMitalian\@NumberstringMitalian \newcommand{\@NumberstringFitalian}[2]{% - \edef#2{\noexpand\printNumeroinparole{#1}}} + \edef#2{\noexpand\printNumeroinparole{#1}}% +} +\global\let\@NumberstringFitalian\@NumberstringFitalian \newcommand{\@ordinalstringMitalian}[2]{% - \edef#2{\noexpand\printordinalem{#1}}} + \edef#2{\noexpand\printordinalem{#1}}% +} +\global\let\@ordinalstringMitalian\@ordinalstringMitalian \newcommand{\@ordinalstringFitalian}[2]{% - \edef#2{\noexpand\printordinalef{#1}}} + \edef#2{\noexpand\printordinalef{#1}}% +} +\global\let\@ordinalstringFitalian\@ordinalstringFitalian \newcommand{\@OrdinalstringMitalian}[2]{% - \edef#2{\noexpand\printOrdinalem{#1}}} + \edef#2{\noexpand\printOrdinalem{#1}}% +} +\global\let\@OrdinalstringMitalian\@OrdinalstringMitalian \newcommand{\@OrdinalstringFitalian}[2]{% - \edef#2{\noexpand\printOrdinalef{#1}}} + \edef#2{\noexpand\printOrdinalef{#1}}% +} +\global\let\@OrdinalstringFitalian\@OrdinalstringFitalian \newcommand{\@ordinalMitalian}[2]{% \edef#2{#1\relax\noexpand\fmtord{o}}} + +\global\let\@ordinalMitalian\@ordinalMitalian + \newcommand{\@ordinalFitalian}[2]{% \edef#2{#1\relax\noexpand\fmtord{a}}} +\global\let\@ordinalFitalian\@ordinalFitalian \endinput %% diff --git a/Master/texmf-dist/tex/latex/fmtcount/fc-ngerman.def b/Master/texmf-dist/tex/latex/fmtcount/fc-ngerman.def index 2024c3652d6..47e84c6bdd6 100644 --- a/Master/texmf-dist/tex/latex/fmtcount/fc-ngerman.def +++ b/Master/texmf-dist/tex/latex/fmtcount/fc-ngerman.def @@ -7,7 +7,7 @@ %% fmtcount.dtx (with options: `fc-ngerman.def,package') %% %% fmtcount.dtx -%% Copyright 2012 Nicola Talbot and Vincent Belaïche +%% Copyright 2013 Nicola Talbot and Vincent Belaïche %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -48,24 +48,24 @@ %%\begin{definition}[\DescribeMacro{\latinnumeralstringnum}] %%\cs{latinnumeralstringnum}\marg{number}\oarg{prefix options} %%\end{definition} -\ProvidesFCLanguage{ngerman}[2012/06/18] -\FCloadlang{german} -\FCloadlang{ngermanb} -\let\@ordinalMngerman=\@ordinalMgerman -\let\@ordinalFngerman=\@ordinalFgerman -\let\@ordinalNngerman=\@ordinalNgerman -\let\@numberstringMngerman=\@numberstringMgerman -\let\@numberstringFngerman=\@numberstringFgerman -\let\@numberstringNngerman=\@numberstringNgerman -\let\@NumberstringMngerman=\@NumberstringMgerman -\let\@NumberstringFngerman=\@NumberstringFgerman -\let\@NumberstringNngerman=\@NumberstringNgerman -\let\@ordinalstringMngerman=\@ordinalstringMgerman -\let\@ordinalstringFngerman=\@ordinalstringFgerman -\let\@ordinalstringNngerman=\@ordinalstringNgerman -\let\@OrdinalstringMngerman=\@OrdinalstringMgerman -\let\@OrdinalstringFngerman=\@OrdinalstringFgerman -\let\@OrdinalstringNngerman=\@OrdinalstringNgerman +\ProvidesFCLanguage{ngerman}[2012/06/18]% +\FCloadlang{german}% +\FCloadlang{ngermanb}% +\global\let\@ordinalMngerman=\@ordinalMgerman +\global\let\@ordinalFngerman=\@ordinalFgerman +\global\let\@ordinalNngerman=\@ordinalNgerman +\global\let\@numberstringMngerman=\@numberstringMgerman +\global\let\@numberstringFngerman=\@numberstringFgerman +\global\let\@numberstringNngerman=\@numberstringNgerman +\global\let\@NumberstringMngerman=\@NumberstringMgerman +\global\let\@NumberstringFngerman=\@NumberstringFgerman +\global\let\@NumberstringNngerman=\@NumberstringNgerman +\global\let\@ordinalstringMngerman=\@ordinalstringMgerman +\global\let\@ordinalstringFngerman=\@ordinalstringFgerman +\global\let\@ordinalstringNngerman=\@ordinalstringNgerman +\global\let\@OrdinalstringMngerman=\@OrdinalstringMgerman +\global\let\@OrdinalstringFngerman=\@OrdinalstringFgerman +\global\let\@OrdinalstringNngerman=\@OrdinalstringNgerman \endinput %% diff --git a/Master/texmf-dist/tex/latex/fmtcount/fc-ngermanb.def b/Master/texmf-dist/tex/latex/fmtcount/fc-ngermanb.def index c38a92e1e8a..4c01ee36232 100644 --- a/Master/texmf-dist/tex/latex/fmtcount/fc-ngermanb.def +++ b/Master/texmf-dist/tex/latex/fmtcount/fc-ngermanb.def @@ -7,7 +7,7 @@ %% fmtcount.dtx (with options: `fc-ngermanb.def,package') %% %% fmtcount.dtx -%% Copyright 2012 Nicola Talbot and Vincent Belaïche +%% Copyright 2013 Nicola Talbot and Vincent Belaïche %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -48,24 +48,24 @@ %%\begin{definition}[\DescribeMacro{\latinnumeralstringnum}] %%\cs{latinnumeralstringnum}\marg{number}\oarg{prefix options} %%\end{definition} -\ProvidesFCLanguage{ngermanb}[2012/06/18] -\FCloadlang{german} -\let\@ordinalMngermanb=\@ordinalMgerman -\let\@ordinalFngermanb=\@ordinalFgerman -\let\@ordinalNngermanb=\@ordinalNgerman -\let\@numberstringMngermanb=\@numberstringMgerman -\let\@numberstringFngermanb=\@numberstringFgerman -\let\@numberstringNngermanb=\@numberstringNgerman -\let\@NumberstringMngermanb=\@NumberstringMgerman -\let\@NumberstringFngermanb=\@NumberstringFgerman -\let\@NumberstringNngermanb=\@NumberstringNgerman -\let\@ordinalstringMngermanb=\@ordinalstringMgerman -\let\@ordinalstringFngermanb=\@ordinalstringFgerman -\let\@ordinalstringNngermanb=\@ordinalstringNgerman -\let\@OrdinalstringMngermanb=\@OrdinalstringMgerman -\let\@OrdinalstringFngermanb=\@OrdinalstringFgerman -\let\@OrdinalstringNngermanb=\@OrdinalstringNgerman -\FCloadlang{ngerman} +\ProvidesFCLanguage{ngermanb}[2013/08/17]% +\FCloadlang{german}% +\global\let\@ordinalMngermanb=\@ordinalMgerman +\global\let\@ordinalFngermanb=\@ordinalFgerman +\global\let\@ordinalNngermanb=\@ordinalNgerman +\global\let\@numberstringMngermanb=\@numberstringMgerman +\global\let\@numberstringFngermanb=\@numberstringFgerman +\global\let\@numberstringNngermanb=\@numberstringNgerman +\global\let\@NumberstringMngermanb=\@NumberstringMgerman +\global\let\@NumberstringFngermanb=\@NumberstringFgerman +\global\let\@NumberstringNngermanb=\@NumberstringNgerman +\global\let\@ordinalstringMngermanb=\@ordinalstringMgerman +\global\let\@ordinalstringFngermanb=\@ordinalstringFgerman +\global\let\@ordinalstringNngermanb=\@ordinalstringNgerman +\global\let\@OrdinalstringMngermanb=\@OrdinalstringMgerman +\global\let\@OrdinalstringFngermanb=\@OrdinalstringFgerman +\global\let\@OrdinalstringNngermanb=\@OrdinalstringNgerman +\FCloadlang{ngerman}% \endinput %% diff --git a/Master/texmf-dist/tex/latex/fmtcount/fc-portuges.def b/Master/texmf-dist/tex/latex/fmtcount/fc-portuges.def index 7e7e4337c6d..015629fb1ff 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 2012 Nicola Talbot and Vincent Belaïche +%% Copyright 2013 Nicola Talbot and Vincent Belaïche %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -48,410 +48,437 @@ %%\begin{definition}[\DescribeMacro{\latinnumeralstringnum}] %%\cs{latinnumeralstringnum}\marg{number}\oarg{prefix options} %%\end{definition} -\ProvidesFCLanguage{portuges}[2012/06/18] -\newcommand*{\@ordinalMportuges}[2]{% -\ifnum#1=0\relax - \edef#2{\number#1}% -\else - \edef#2{\number#1\relax\noexpand\fmtord{o}}% -\fi} -\newcommand*{\@ordinalFportuges}[2]{% -\ifnum#1=0\relax - \edef#2{\number#1}% -\else - \edef#2{\number#1\relax\noexpand\fmtord{a}}% -\fi} -\let\@ordinalNportuges\@ordinalMportuges -\newcommand*{\@@unitstringportuges}[1]{% -\ifcase#1\relax -zero% -\or um% -\or dois% -\or tr\^es% -\or quatro% -\or cinco% -\or seis% -\or sete% -\or oito% -\or nove% -\fi -} -\newcommand*{\@@unitstringFportuges}[1]{% -\ifcase#1\relax -zero% -\or uma% -\or duas% -\or tr\^es% -\or quatro% -\or cinco% -\or seis% -\or sete% -\or oito% -\or nove% -\fi -} -\newcommand*{\@@tenstringportuges}[1]{% -\ifcase#1\relax -\or dez% -\or vinte% -\or trinta% -\or quarenta% -\or cinq\"uenta% -\or sessenta% -\or setenta% -\or oitenta% -\or noventa% -\or cem% -\fi -} -\newcommand*{\@@teenstringportuges}[1]{% -\ifcase#1\relax -dez% -\or onze% -\or doze% -\or treze% -\or quatorze% -\or quinze% -\or dezesseis% -\or dezessete% -\or dezoito% -\or dezenove% -\fi -} -\newcommand*{\@@hundredstringportuges}[1]{% -\ifcase#1\relax -\or cento% -\or duzentos% -\or trezentos% -\or quatrocentos% -\or quinhentos% -\or seiscentos% -\or setecentos% -\or oitocentos% -\or novecentos% -\fi} -\newcommand*{\@@hundredstringFportuges}[1]{% -\ifcase#1\relax -\or cento% -\or duzentas% -\or trezentas% -\or quatrocentas% -\or quinhentas% -\or seiscentas% -\or setecentas% -\or oitocentas% -\or novecentas% -\fi} -\newcommand*{\@@Unitstringportuges}[1]{% -\ifcase#1\relax -Zero% -\or Um% -\or Dois% -\or Tr\^es% -\or Quatro% -\or Cinco% -\or Seis% -\or Sete% -\or Oito% -\or Nove% -\fi -} -\newcommand*{\@@UnitstringFportuges}[1]{% -\ifcase#1\relax -Zera% -\or Uma% -\or Duas% -\or Tr\^es% -\or Quatro% -\or Cinco% -\or Seis% -\or Sete% -\or Oito% -\or Nove% -\fi -} -\newcommand*{\@@Tenstringportuges}[1]{% -\ifcase#1\relax -\or Dez% -\or Vinte% -\or Trinta% -\or Quarenta% -\or Cinq\"uenta% -\or Sessenta% -\or Setenta% -\or Oitenta% -\or Noventa% -\or Cem% -\fi -} -\newcommand*{\@@Teenstringportuges}[1]{% -\ifcase#1\relax -Dez% -\or Onze% -\or Doze% -\or Treze% -\or Quatorze% -\or Quinze% -\or Dezesseis% -\or Dezessete% -\or Dezoito% -\or Dezenove% -\fi -} -\newcommand*{\@@Hundredstringportuges}[1]{% -\ifcase#1\relax -\or Cento% -\or Duzentos% -\or Trezentos% -\or Quatrocentos% -\or Quinhentos% -\or Seiscentos% -\or Setecentos% -\or Oitocentos% -\or Novecentos% -\fi} -\newcommand*{\@@HundredstringFportuges}[1]{% -\ifcase#1\relax -\or Cento% -\or Duzentas% -\or Trezentas% -\or Quatrocentas% -\or Quinhentas% -\or Seiscentas% -\or Setecentas% -\or Oitocentas% -\or Novecentas% -\fi} +\ProvidesFCLanguage{portuges}[2013/08/17]% +\gdef\@ordinalMportuges#1#2{% + \ifnum#1=0\relax + \edef#2{\number#1}% + \else + \edef#2{\number#1\relax\noexpand\fmtord{o}}% + \fi +}% +\gdef\@ordinalFportuges#1#2{% + \ifnum#1=0\relax + \edef#2{\number#1}% + \else + \edef#2{\number#1\relax\noexpand\fmtord{a}}% + \fi +}% +\global\let\@ordinalNportuges\@ordinalMportuges +\gdef\@@unitstringportuges#1#2{% + \ifcase#1\relax + zero% + \or um% + \or dois% + \or tr\^es% + \or quatro% + \or cinco% + \or seis% + \or sete% + \or oito% + \or nove% + \fi +}% +\gdef\@@unitstringFportuges#1{% + \ifcase#1\relax + zero% + \or uma% + \or duas% + \or tr\^es% + \or quatro% + \or cinco% + \or seis% + \or sete% + \or oito% + \or nove% + \fi +}% +\gdef\@@tenstringportuges#1{% + \ifcase#1\relax + \or dez% + \or vinte% + \or trinta% + \or quarenta% + \or cinq\"uenta% + \or sessenta% + \or setenta% + \or oitenta% + \or noventa% + \or cem% + \fi +}% +\gdef\@@teenstringportuges#1{% + \ifcase#1\relax + dez% + \or onze% + \or doze% + \or treze% + \or quatorze% + \or quinze% + \or dezesseis% + \or dezessete% + \or dezoito% + \or dezenove% + \fi +}% +\gdef\@@hundredstringportuges#1{% + \ifcase#1\relax + \or cento% + \or duzentos% + \or trezentos% + \or quatrocentos% + \or quinhentos% + \or seiscentos% + \or setecentos% + \or oitocentos% + \or novecentos% + \fi +}% +\gdef\@@hundredstringFportuges#1{% + \ifcase#1\relax + \or cento% + \or duzentas% + \or trezentas% + \or quatrocentas% + \or quinhentas% + \or seiscentas% + \or setecentas% + \or oitocentas% + \or novecentas% + \fi +}% +\gdef\@@Unitstringportuges#1{% + \ifcase#1\relax + Zero% + \or Um% + \or Dois% + \or Tr\^es% + \or Quatro% + \or Cinco% + \or Seis% + \or Sete% + \or Oito% + \or Nove% + \fi +}% +\gdef\@@UnitstringFportuges#1{% + \ifcase#1\relax + Zera% + \or Uma% + \or Duas% + \or Tr\^es% + \or Quatro% + \or Cinco% + \or Seis% + \or Sete% + \or Oito% + \or Nove% + \fi +}% +\gdef\@@Tenstringportuges#1{% + \ifcase#1\relax + \or Dez% + \or Vinte% + \or Trinta% + \or Quarenta% + \or Cinq\"uenta% + \or Sessenta% + \or Setenta% + \or Oitenta% + \or Noventa% + \or Cem% + \fi +}% +\gdef\@@Teenstringportuges#1{% + \ifcase#1\relax + Dez% + \or Onze% + \or Doze% + \or Treze% + \or Quatorze% + \or Quinze% + \or Dezesseis% + \or Dezessete% + \or Dezoito% + \or Dezenove% + \fi +}% +\gdef\@@Hundredstringportuges#1{% + \ifcase#1\relax + \or Cento% + \or Duzentos% + \or Trezentos% + \or Quatrocentos% + \or Quinhentos% + \or Seiscentos% + \or Setecentos% + \or Oitocentos% + \or Novecentos% + \fi +}% +\gdef\@@HundredstringFportuges#1{% + \ifcase#1\relax + \or Cento% + \or Duzentas% + \or Trezentas% + \or Quatrocentas% + \or Quinhentas% + \or Seiscentas% + \or Setecentas% + \or Oitocentas% + \or Novecentas% + \fi +}% \DeclareRobustCommand{\@numberstringMportuges}[2]{% -\let\@unitstring=\@@unitstringportuges -\let\@teenstring=\@@teenstringportuges -\let\@tenstring=\@@tenstringportuges -\let\@hundredstring=\@@hundredstringportuges -\def\@hundred{cem}\def\@thousand{mil}% -\def\@andname{e}% -\@@numberstringportuges{#1}{#2}} + \let\@unitstring=\@@unitstringportuges + \let\@teenstring=\@@teenstringportuges + \let\@tenstring=\@@tenstringportuges + \let\@hundredstring=\@@hundredstringportuges + \def\@hundred{cem}\def\@thousand{mil}% + \def\@andname{e}% + \@@numberstringportuges{#1}{#2}% +}% +\global\let\@numberstringMportuges\@numberstringMportuges \DeclareRobustCommand{\@numberstringFportuges}[2]{% -\let\@unitstring=\@@unitstringFportuges -\let\@teenstring=\@@teenstringportuges -\let\@tenstring=\@@tenstringportuges -\let\@hundredstring=\@@hundredstringFportuges -\def\@hundred{cem}\def\@thousand{mil}% -\def\@andname{e}% -\@@numberstringportuges{#1}{#2}} -\let\@numberstringNportuges\@numberstringMportuges + \let\@unitstring=\@@unitstringFportuges + \let\@teenstring=\@@teenstringportuges + \let\@tenstring=\@@tenstringportuges + \let\@hundredstring=\@@hundredstringFportuges + \def\@hundred{cem}\def\@thousand{mil}% + \def\@andname{e}% + \@@numberstringportuges{#1}{#2}% +}% +\global\let\@numberstringFportuges\@numberstringFportuges +\global\let\@numberstringNportuges\@numberstringMportuges \DeclareRobustCommand{\@NumberstringMportuges}[2]{% -\let\@unitstring=\@@Unitstringportuges -\let\@teenstring=\@@Teenstringportuges -\let\@tenstring=\@@Tenstringportuges -\let\@hundredstring=\@@Hundredstringportuges -\def\@hundred{Cem}\def\@thousand{Mil}% -\def\@andname{e}% -\@@numberstringportuges{#1}{#2}} + \let\@unitstring=\@@Unitstringportuges + \let\@teenstring=\@@Teenstringportuges + \let\@tenstring=\@@Tenstringportuges + \let\@hundredstring=\@@Hundredstringportuges + \def\@hundred{Cem}\def\@thousand{Mil}% + \def\@andname{e}% + \@@numberstringportuges{#1}{#2}% +}% +\global\let\@NumberstringMportuges\@NumberstringMportuges \DeclareRobustCommand{\@NumberstringFportuges}[2]{% -\let\@unitstring=\@@UnitstringFportuges -\let\@teenstring=\@@Teenstringportuges -\let\@tenstring=\@@Tenstringportuges -\let\@hundredstring=\@@HundredstringFportuges -\def\@hundred{Cem}\def\@thousand{Mil}% -\def\@andname{e}% -\@@numberstringportuges{#1}{#2}} -\let\@NumberstringNportuges\@NumberstringMportuges + \let\@unitstring=\@@UnitstringFportuges + \let\@teenstring=\@@Teenstringportuges + \let\@tenstring=\@@Tenstringportuges + \let\@hundredstring=\@@HundredstringFportuges + \def\@hundred{Cem}\def\@thousand{Mil}% + \def\@andname{e}% + \@@numberstringportuges{#1}{#2}% +}% +\global\let\@NumberstringFportuges\@NumberstringFportuges +\global\let\@NumberstringNportuges\@NumberstringMportuges \DeclareRobustCommand{\@ordinalstringMportuges}[2]{% -\let\@unitthstring=\@@unitthstringportuges -\let\@unitstring=\@@unitstringportuges -\let\@teenthstring=\@@teenthstringportuges -\let\@tenthstring=\@@tenthstringportuges -\let\@hundredthstring=\@@hundredthstringportuges -\def\@thousandth{mil\'esimo}% -\@@ordinalstringportuges{#1}{#2}} + \let\@unitthstring=\@@unitthstringportuges + \let\@unitstring=\@@unitstringportuges + \let\@teenthstring=\@@teenthstringportuges + \let\@tenthstring=\@@tenthstringportuges + \let\@hundredthstring=\@@hundredthstringportuges + \def\@thousandth{mil\'esimo}% + \@@ordinalstringportuges{#1}{#2}% +}% +\global\let\@ordinalstringMportuges\@ordinalstringMportuges \DeclareRobustCommand{\@ordinalstringFportuges}[2]{% -\let\@unitthstring=\@@unitthstringFportuges -\let\@unitstring=\@@unitstringFportuges -\let\@teenthstring=\@@teenthstringportuges -\let\@tenthstring=\@@tenthstringFportuges -\let\@hundredthstring=\@@hundredthstringFportuges -\def\@thousandth{mil\'esima}% -\@@ordinalstringportuges{#1}{#2}} -\let\@ordinalstringNportuges\@ordinalstringMportuges + \let\@unitthstring=\@@unitthstringFportuges + \let\@unitstring=\@@unitstringFportuges + \let\@teenthstring=\@@teenthstringportuges + \let\@tenthstring=\@@tenthstringFportuges + \let\@hundredthstring=\@@hundredthstringFportuges + \def\@thousandth{mil\'esima}% + \@@ordinalstringportuges{#1}{#2}% +}% +\global\let\@ordinalstringFportuges\@ordinalstringFportuges +\global\let\@ordinalstringNportuges\@ordinalstringMportuges \DeclareRobustCommand{\@OrdinalstringMportuges}[2]{% -\let\@unitthstring=\@@Unitthstringportuges -\let\@unitstring=\@@Unitstringportuges -\let\@teenthstring=\@@teenthstringportuges -\let\@tenthstring=\@@Tenthstringportuges -\let\@hundredthstring=\@@Hundredthstringportuges -\def\@thousandth{Mil\'esimo}% -\@@ordinalstringportuges{#1}{#2}} + \let\@unitthstring=\@@Unitthstringportuges + \let\@unitstring=\@@Unitstringportuges + \let\@teenthstring=\@@teenthstringportuges + \let\@tenthstring=\@@Tenthstringportuges + \let\@hundredthstring=\@@Hundredthstringportuges + \def\@thousandth{Mil\'esimo}% + \@@ordinalstringportuges{#1}{#2}% +}% +\global\let\@OrdinalstringMportuges\@OrdinalstringMportuges \DeclareRobustCommand{\@OrdinalstringFportuges}[2]{% -\let\@unitthstring=\@@UnitthstringFportuges -\let\@unitstring=\@@UnitstringFportuges -\let\@teenthstring=\@@teenthstringportuges -\let\@tenthstring=\@@TenthstringFportuges -\let\@hundredthstring=\@@HundredthstringFportuges -\def\@thousandth{Mil\'esima}% -\@@ordinalstringportuges{#1}{#2}} -\let\@OrdinalstringNportuges\@OrdinalstringMportuges -\newcommand*{\@@unitthstringportuges}[1]{% -\ifcase#1\relax -zero% -\or primeiro% -\or segundo% -\or terceiro% -\or quarto% -\or quinto% -\or sexto% -\or s\'etimo% -\or oitavo% -\or nono% -\fi -} -\newcommand*{\@@tenthstringportuges}[1]{% -\ifcase#1\relax -\or d\'ecimo% -\or vig\'esimo% -\or trig\'esimo% -\or quadrag\'esimo% -\or q\"uinquag\'esimo% -\or sexag\'esimo% -\or setuag\'esimo% -\or octog\'esimo% -\or nonag\'esimo% -\fi -} -\newcommand*{\@@teenthstringportuges}[1]{% -\@tenthstring{1}% -\ifnum#1>0\relax --\@unitthstring{#1}% -\fi} -\newcommand*{\@@hundredthstringportuges}[1]{% -\ifcase#1\relax -\or cent\'esimo% -\or ducent\'esimo% -\or trecent\'esimo% -\or quadringent\'esimo% -\or q\"uingent\'esimo% -\or seiscent\'esimo% -\or setingent\'esimo% -\or octingent\'esimo% -\or nongent\'esimo% -\fi} -\newcommand*{\@@unitthstringFportuges}[1]{% -\ifcase#1\relax -zero% -\or primeira% -\or segunda% -\or terceira% -\or quarta% -\or quinta% -\or sexta% -\or s\'etima% -\or oitava% -\or nona% -\fi -} -\newcommand*{\@@tenthstringFportuges}[1]{% -\ifcase#1\relax -\or d\'ecima% -\or vig\'esima% -\or trig\'esima% -\or quadrag\'esima% -\or q\"uinquag\'esima% -\or sexag\'esima% -\or setuag\'esima% -\or octog\'esima% -\or nonag\'esima% -\fi -} -\newcommand*{\@@hundredthstringFportuges}[1]{% -\ifcase#1\relax -\or cent\'esima% -\or ducent\'esima% -\or trecent\'esima% -\or quadringent\'esima% -\or q\"uingent\'esima% -\or seiscent\'esima% -\or setingent\'esima% -\or octingent\'esima% -\or nongent\'esima% -\fi} -\newcommand*{\@@Unitthstringportuges}[1]{% -\ifcase#1\relax -Zero% -\or Primeiro% -\or Segundo% -\or Terceiro% -\or Quarto% -\or Quinto% -\or Sexto% -\or S\'etimo% -\or Oitavo% -\or Nono% -\fi -} -\newcommand*{\@@Tenthstringportuges}[1]{% -\ifcase#1\relax -\or D\'ecimo% -\or Vig\'esimo% -\or Trig\'esimo% -\or Quadrag\'esimo% -\or Q\"uinquag\'esimo% -\or Sexag\'esimo% -\or Setuag\'esimo% -\or Octog\'esimo% -\or Nonag\'esimo% -\fi -} -\newcommand*{\@@Hundredthstringportuges}[1]{% -\ifcase#1\relax -\or Cent\'esimo% -\or Ducent\'esimo% -\or Trecent\'esimo% -\or Quadringent\'esimo% -\or Q\"uingent\'esimo% -\or Seiscent\'esimo% -\or Setingent\'esimo% -\or Octingent\'esimo% -\or Nongent\'esimo% -\fi} -\newcommand*{\@@UnitthstringFportuges}[1]{% -\ifcase#1\relax -Zera% -\or Primeira% -\or Segunda% -\or Terceira% -\or Quarta% -\or Quinta% -\or Sexta% -\or S\'etima% -\or Oitava% -\or Nona% -\fi -} -\newcommand*{\@@TenthstringFportuges}[1]{% -\ifcase#1\relax -\or D\'ecima% -\or Vig\'esima% -\or Trig\'esima% -\or Quadrag\'esima% -\or Q\"uinquag\'esima% -\or Sexag\'esima% -\or Setuag\'esima% -\or Octog\'esima% -\or Nonag\'esima% -\fi -} -\newcommand*{\@@HundredthstringFportuges}[1]{% -\ifcase#1\relax -\or Cent\'esima% -\or Ducent\'esima% -\or Trecent\'esima% -\or Quadringent\'esima% -\or Q\"uingent\'esima% -\or Seiscent\'esima% -\or Setingent\'esima% -\or Octingent\'esima% -\or Nongent\'esima% -\fi} -\newcommand*{\@@numberstringportuges}[2]{% + \let\@unitthstring=\@@UnitthstringFportuges + \let\@unitstring=\@@UnitstringFportuges + \let\@teenthstring=\@@teenthstringportuges + \let\@tenthstring=\@@TenthstringFportuges + \let\@hundredthstring=\@@HundredthstringFportuges + \def\@thousandth{Mil\'esima}% + \@@ordinalstringportuges{#1}{#2}% +}% +\global\let\@OrdinalstringFportuges\@OrdinalstringFportuges +\global\let\@OrdinalstringNportuges\@OrdinalstringMportuges +\gdef\@@unitthstringportuges#1{% + \ifcase#1\relax + zero% + \or primeiro% + \or segundo% + \or terceiro% + \or quarto% + \or quinto% + \or sexto% + \or s\'etimo% + \or oitavo% + \or nono% + \fi +}% +\gdef\@@tenthstringportuges#1{% + \ifcase#1\relax + \or d\'ecimo% + \or vig\'esimo% + \or trig\'esimo% + \or quadrag\'esimo% + \or q\"uinquag\'esimo% + \or sexag\'esimo% + \or setuag\'esimo% + \or octog\'esimo% + \or nonag\'esimo% + \fi +}% +\gdef\@@teenthstringportuges#1{% + \@tenthstring{1}% + \ifnum#1>0\relax + -\@unitthstring{#1}% + \fi +}% +\gdef\@@hundredthstringportuges#1{% + \ifcase#1\relax + \or cent\'esimo% + \or ducent\'esimo% + \or trecent\'esimo% + \or quadringent\'esimo% + \or q\"uingent\'esimo% + \or seiscent\'esimo% + \or setingent\'esimo% + \or octingent\'esimo% + \or nongent\'esimo% + \fi +}% +\gdef\@@unitthstringFportuges#1{% + \ifcase#1\relax + zero% + \or primeira% + \or segunda% + \or terceira% + \or quarta% + \or quinta% + \or sexta% + \or s\'etima% + \or oitava% + \or nona% + \fi +}% +\gdef\@@tenthstringFportuges#1{% + \ifcase#1\relax + \or d\'ecima% + \or vig\'esima% + \or trig\'esima% + \or quadrag\'esima% + \or q\"uinquag\'esima% + \or sexag\'esima% + \or setuag\'esima% + \or octog\'esima% + \or nonag\'esima% + \fi +}% +\gdef\@@hundredthstringFportuges#1{% + \ifcase#1\relax + \or cent\'esima% + \or ducent\'esima% + \or trecent\'esima% + \or quadringent\'esima% + \or q\"uingent\'esima% + \or seiscent\'esima% + \or setingent\'esima% + \or octingent\'esima% + \or nongent\'esima% + \fi +}% +\gdef\@@Unitthstringportuges#1{% + \ifcase#1\relax + Zero% + \or Primeiro% + \or Segundo% + \or Terceiro% + \or Quarto% + \or Quinto% + \or Sexto% + \or S\'etimo% + \or Oitavo% + \or Nono% + \fi +}% +\gdef\@@Tenthstringportuges#1{% + \ifcase#1\relax + \or D\'ecimo% + \or Vig\'esimo% + \or Trig\'esimo% + \or Quadrag\'esimo% + \or Q\"uinquag\'esimo% + \or Sexag\'esimo% + \or Setuag\'esimo% + \or Octog\'esimo% + \or Nonag\'esimo% + \fi +}% +\gdef\@@Hundredthstringportuges#1{% + \ifcase#1\relax + \or Cent\'esimo% + \or Ducent\'esimo% + \or Trecent\'esimo% + \or Quadringent\'esimo% + \or Q\"uingent\'esimo% + \or Seiscent\'esimo% + \or Setingent\'esimo% + \or Octingent\'esimo% + \or Nongent\'esimo% + \fi +}% +\gdef\@@UnitthstringFportuges#1{% + \ifcase#1\relax + Zera% + \or Primeira% + \or Segunda% + \or Terceira% + \or Quarta% + \or Quinta% + \or Sexta% + \or S\'etima% + \or Oitava% + \or Nona% + \fi +}% +\gdef\@@TenthstringFportuges#1{% + \ifcase#1\relax + \or D\'ecima% + \or Vig\'esima% + \or Trig\'esima% + \or Quadrag\'esima% + \or Q\"uinquag\'esima% + \or Sexag\'esima% + \or Setuag\'esima% + \or Octog\'esima% + \or Nonag\'esima% + \fi +}% +\gdef\@@HundredthstringFportuges#1{% + \ifcase#1\relax + \or Cent\'esima% + \or Ducent\'esima% + \or Trecent\'esima% + \or Quadringent\'esima% + \or Q\"uingent\'esima% + \or Seiscent\'esima% + \or Setingent\'esima% + \or Octingent\'esima% + \or Nongent\'esima% + \fi +}% +\gdef\@@numberstringportuges#1#2{% \ifnum#1>99999 \PackageError{fmtcount}{Out of range}% {This macro only works for values less than 100000}% @@ -557,8 +584,8 @@ this number}% \edef#2{\@@fc@numstr\@teenstring{\@strctr}}% \fi \fi -} -\newcommand*{\@@ordinalstringportuges}[2]{% +}% +\gdef\@@ordinalstringportuges#1#2{% \@strctr=#1\relax \ifnum#1>99999 \PackageError{fmtcount}{Out of range}% @@ -642,7 +669,7 @@ this number}% \fi \fi \fi -} +}% \endinput %% %% End of file `fc-portuges.def'. diff --git a/Master/texmf-dist/tex/latex/fmtcount/fc-spanish.def b/Master/texmf-dist/tex/latex/fmtcount/fc-spanish.def index d8087791f72..99d5f240631 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 2012 Nicola Talbot and Vincent Belaïche +%% Copyright 2013 Nicola Talbot and Vincent Belaïche %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -48,509 +48,539 @@ %%\begin{definition}[\DescribeMacro{\latinnumeralstringnum}] %%\cs{latinnumeralstringnum}\marg{number}\oarg{prefix options} %%\end{definition} -\ProvidesFCLanguage{spanish}[2012/06/18] -\newcommand{\@ordinalMspanish}[2]{% -\edef#2{\number#1\relax\noexpand\fmtord{o}}} -\newcommand{\@ordinalFspanish}[2]{% -\edef#2{\number#1\relax\noexpand\fmtord{a}}} -\let\@ordinalNspanish\@ordinalMspanish -\newcommand{\@@unitstringspanish}[1]{% -\ifcase#1\relax -cero% -\or uno% -\or dos% -\or tres% -\or cuatro% -\or cinco% -\or seis% -\or siete% -\or ocho% -\or nueve% -\fi -} -\newcommand{\@@unitstringFspanish}[1]{% -\ifcase#1\relax -cera% -\or una% -\or dos% -\or tres% -\or cuatro% -\or cinco% -\or seis% -\or siete% -\or ocho% -\or nueve% -\fi -} -\newcommand{\@@tenstringspanish}[1]{% -\ifcase#1\relax -\or diez% -\or veinte% -\or treinta% -\or cuarenta% -\or cincuenta% -\or sesenta% -\or setenta% -\or ochenta% -\or noventa% -\or cien% -\fi -} -\newcommand{\@@teenstringspanish}[1]{% -\ifcase#1\relax -diez% -\or once% -\or doce% -\or trece% -\or catorce% -\or quince% -\or diecis\'eis% -\or diecisiete% -\or dieciocho% -\or diecinueve% -\fi -} -\newcommand{\@@twentystringspanish}[1]{% -\ifcase#1\relax -veinte% -\or veintiuno% -\or veintid\'os% -\or veintitr\'es% -\or veinticuatro% -\or veinticinco% -\or veintis\'eis% -\or veintisiete% -\or veintiocho% -\or veintinueve% -\fi} -\newcommand{\@@twentystringFspanish}[1]{% -\ifcase#1\relax -veinte% -\or veintiuna% -\or veintid\'os% -\or veintitr\'es% -\or veinticuatro% -\or veinticinco% -\or veintis\'eis% -\or veintisiete% -\or veintiocho% -\or veintinueve% -\fi} -\newcommand{\@@hundredstringspanish}[1]{% -\ifcase#1\relax -\or ciento% -\or doscientos% -\or trescientos% -\or cuatrocientos% -\or quinientos% -\or seiscientos% -\or setecientos% -\or ochocientos% -\or novecientos% -\fi} -\newcommand{\@@hundredstringFspanish}[1]{% -\ifcase#1\relax -\or cienta% -\or doscientas% -\or trescientas% -\or cuatrocientas% -\or quinientas% -\or seiscientas% -\or setecientas% -\or ochocientas% -\or novecientas% -\fi} -\newcommand{\@@Unitstringspanish}[1]{% -\ifcase#1\relax -Cero% -\or Uno% -\or Dos% -\or Tres% -\or Cuatro% -\or Cinco% -\or Seis% -\or Siete% -\or Ocho% -\or Nueve% -\fi -} -\newcommand{\@@UnitstringFspanish}[1]{% -\ifcase#1\relax -Cera% -\or Una% -\or Dos% -\or Tres% -\or Cuatro% -\or Cinco% -\or Seis% -\or Siete% -\or Ocho% -\or Nueve% -\fi -} -\newcommand{\@@Tenstringspanish}[1]{% -\ifcase#1\relax -\or Diez% -\or Veinte% -\or Treinta% -\or Cuarenta% -\or Cincuenta% -\or Sesenta% -\or Setenta% -\or Ochenta% -\or Noventa% -\or Cien% -\fi -} -\newcommand{\@@Teenstringspanish}[1]{% -\ifcase#1\relax -Diez% -\or Once% -\or Doce% -\or Trece% -\or Catorce% -\or Quince% -\or Diecis\'eis% -\or Diecisiete% -\or Dieciocho% -\or Diecinueve% -\fi -} -\newcommand{\@@Twentystringspanish}[1]{% -\ifcase#1\relax -Veinte% -\or Veintiuno% -\or Veintid\'os% -\or Veintitr\'es% -\or Veinticuatro% -\or Veinticinco% -\or Veintis\'eis% -\or Veintisiete% -\or Veintiocho% -\or Veintinueve% -\fi} -\newcommand{\@@TwentystringFspanish}[1]{% -\ifcase#1\relax -Veinte% -\or Veintiuna% -\or Veintid\'os% -\or Veintitr\'es% -\or Veinticuatro% -\or Veinticinco% -\or Veintis\'eis% -\or Veintisiete% -\or Veintiocho% -\or Veintinueve% -\fi} -\newcommand{\@@Hundredstringspanish}[1]{% -\ifcase#1\relax -\or Ciento% -\or Doscientos% -\or Trescientos% -\or Cuatrocientos% -\or Quinientos% -\or Seiscientos% -\or Setecientos% -\or Ochocientos% -\or Novecientos% -\fi} -\newcommand{\@@HundredstringFspanish}[1]{% -\ifcase#1\relax -\or Cienta% -\or Doscientas% -\or Trescientas% -\or Cuatrocientas% -\or Quinientas% -\or Seiscientas% -\or Setecientas% -\or Ochocientas% -\or Novecientas% -\fi} +\ProvidesFCLanguage{spanish}[2013/08/17]% +\gdef\@ordinalMspanish#1{% + \edef#2{\number#1\relax\noexpand\fmtord{o}}% +}% +\gdef\@ordinalFspanish}[2]{% + \edef#2{\number#1\relax\noexpand\fmtord{a}}% +}% +\global\let\@ordinalNspanish\@ordinalMspanish +\gdef\@@unitstringspanish#1{% + \ifcase#1\relax + cero% + \or uno% + \or dos% + \or tres% + \or cuatro% + \or cinco% + \or seis% + \or siete% + \or ocho% + \or nueve% + \fi +}% +\gdef\@@unitstringFspanish#1{% + \ifcase#1\relax + cera% + \or una% + \or dos% + \or tres% + \or cuatro% + \or cinco% + \or seis% + \or siete% + \or ocho% + \or nueve% + \fi +}% +\gdef\@@tenstringspanish#1{% + \ifcase#1\relax + \or diez% + \or veinte% + \or treinta% + \or cuarenta% + \or cincuenta% + \or sesenta% + \or setenta% + \or ochenta% + \or noventa% + \or cien% + \fi +}% +\gdef\@@teenstringspanish#1{% + \ifcase#1\relax + diez% + \or once% + \or doce% + \or trece% + \or catorce% + \or quince% + \or diecis\'eis% + \or diecisiete% + \or dieciocho% + \or diecinueve% + \fi +}% +\gdef\@@twentystringspanish#1{% + \ifcase#1\relax + veinte% + \or veintiuno% + \or veintid\'os% + \or veintitr\'es% + \or veinticuatro% + \or veinticinco% + \or veintis\'eis% + \or veintisiete% + \or veintiocho% + \or veintinueve% + \fi +}% +\gdef\@@twentystringFspanish#1{% + \ifcase#1\relax + veinte% + \or veintiuna% + \or veintid\'os% + \or veintitr\'es% + \or veinticuatro% + \or veinticinco% + \or veintis\'eis% + \or veintisiete% + \or veintiocho% + \or veintinueve% + \fi +}% +\gdef\@@hundredstringspanish#1{% + \ifcase#1\relax + \or ciento% + \or doscientos% + \or trescientos% + \or cuatrocientos% + \or quinientos% + \or seiscientos% + \or setecientos% + \or ochocientos% + \or novecientos% + \fi +}% +\gdef\@@hundredstringFspanish#1{% + \ifcase#1\relax + \or cienta% + \or doscientas% + \or trescientas% + \or cuatrocientas% + \or quinientas% + \or seiscientas% + \or setecientas% + \or ochocientas% + \or novecientas% + \fi +}% +\gdef\@@Unitstringspanish#1{% + \ifcase#1\relax + Cero% + \or Uno% + \or Dos% + \or Tres% + \or Cuatro% + \or Cinco% + \or Seis% + \or Siete% + \or Ocho% + \or Nueve% + \fi +}% +\gdef\@@UnitstringFspanish#1{% + \ifcase#1\relax + Cera% + \or Una% + \or Dos% + \or Tres% + \or Cuatro% + \or Cinco% + \or Seis% + \or Siete% + \or Ocho% + \or Nueve% + \fi +}% +\gdef\@@Tenstringspanish#1{% + \ifcase#1\relax + \or Diez% + \or Veinte% + \or Treinta% + \or Cuarenta% + \or Cincuenta% + \or Sesenta% + \or Setenta% + \or Ochenta% + \or Noventa% + \or Cien% + \fi +}% +\gdef\@@Teenstringspanish#1{% + \ifcase#1\relax + Diez% + \or Once% + \or Doce% + \or Trece% + \or Catorce% + \or Quince% + \or Diecis\'eis% + \or Diecisiete% + \or Dieciocho% + \or Diecinueve% + \fi +}% +\gdef\@@Twentystringspanish#1{% + \ifcase#1\relax + Veinte% + \or Veintiuno% + \or Veintid\'os% + \or Veintitr\'es% + \or Veinticuatro% + \or Veinticinco% + \or Veintis\'eis% + \or Veintisiete% + \or Veintiocho% + \or Veintinueve% + \fi +}% +\gdef\@@TwentystringFspanish#1{% + \ifcase#1\relax + Veinte% + \or Veintiuna% + \or Veintid\'os% + \or Veintitr\'es% + \or Veinticuatro% + \or Veinticinco% + \or Veintis\'eis% + \or Veintisiete% + \or Veintiocho% + \or Veintinueve% + \fi +}% +\gdef\@@Hundredstringspanish#1{% + \ifcase#1\relax + \or Ciento% + \or Doscientos% + \or Trescientos% + \or Cuatrocientos% + \or Quinientos% + \or Seiscientos% + \or Setecientos% + \or Ochocientos% + \or Novecientos% + \fi +}% +\gdef\@@HundredstringFspanish#1{% + \ifcase#1\relax + \or Cienta% + \or Doscientas% + \or Trescientas% + \or Cuatrocientas% + \or Quinientas% + \or Seiscientas% + \or Setecientas% + \or Ochocientas% + \or Novecientas% + \fi +}% \DeclareRobustCommand{\@numberstringMspanish}[2]{% -\let\@unitstring=\@@unitstringspanish -\let\@teenstring=\@@teenstringspanish -\let\@tenstring=\@@tenstringspanish -\let\@twentystring=\@@twentystringspanish -\let\@hundredstring=\@@hundredstringspanish -\def\@hundred{cien}\def\@thousand{mil}% -\def\@andname{y}% -\@@numberstringspanish{#1}{#2}} + \let\@unitstring=\@@unitstringspanish + \let\@teenstring=\@@teenstringspanish + \let\@tenstring=\@@tenstringspanish + \let\@twentystring=\@@twentystringspanish + \let\@hundredstring=\@@hundredstringspanish + \def\@hundred{cien}\def\@thousand{mil}% + \def\@andname{y}% + \@@numberstringspanish{#1}{#2}% +}% +\global\let\@numberstringMspanish\@numberstringMspanish \DeclareRobustCommand{\@numberstringFspanish}[2]{% -\let\@unitstring=\@@unitstringFspanish -\let\@teenstring=\@@teenstringspanish -\let\@tenstring=\@@tenstringspanish -\let\@twentystring=\@@twentystringFspanish -\let\@hundredstring=\@@hundredstringFspanish -\def\@hundred{cien}\def\@thousand{mil}% -\def\@andname{b}% -\@@numberstringspanish{#1}{#2}} -\let\@numberstringNspanish\@numberstringMspanish + \let\@unitstring=\@@unitstringFspanish + \let\@teenstring=\@@teenstringspanish + \let\@tenstring=\@@tenstringspanish + \let\@twentystring=\@@twentystringFspanish + \let\@hundredstring=\@@hundredstringFspanish + \def\@hundred{cien}\def\@thousand{mil}% + \def\@andname{b}% + \@@numberstringspanish{#1}{#2}% +}% +\global\let\@numberstringFspanish\@numberstringFspanish +\global\let\@numberstringNspanish\@numberstringMspanish \DeclareRobustCommand{\@NumberstringMspanish}[2]{% -\let\@unitstring=\@@Unitstringspanish -\let\@teenstring=\@@Teenstringspanish -\let\@tenstring=\@@Tenstringspanish -\let\@twentystring=\@@Twentystringspanish -\let\@hundredstring=\@@Hundredstringspanish -\def\@andname{y}% -\def\@hundred{Cien}\def\@thousand{Mil}% -\@@numberstringspanish{#1}{#2}} + \let\@unitstring=\@@Unitstringspanish + \let\@teenstring=\@@Teenstringspanish + \let\@tenstring=\@@Tenstringspanish + \let\@twentystring=\@@Twentystringspanish + \let\@hundredstring=\@@Hundredstringspanish + \def\@andname{y}% + \def\@hundred{Cien}\def\@thousand{Mil}% + \@@numberstringspanish{#1}{#2}% +}% +\global\let\@NumberstringMspanish\@NumberstringMspanish \DeclareRobustCommand{\@NumberstringFspanish}[2]{% -\let\@unitstring=\@@UnitstringFspanish -\let\@teenstring=\@@Teenstringspanish -\let\@tenstring=\@@Tenstringspanish -\let\@twentystring=\@@TwentystringFspanish -\let\@hundredstring=\@@HundredstringFspanish -\def\@andname{b}% -\def\@hundred{Cien}\def\@thousand{Mil}% -\@@numberstringspanish{#1}{#2}} -\let\@NumberstringNspanish\@NumberstringMspanish + \let\@unitstring=\@@UnitstringFspanish + \let\@teenstring=\@@Teenstringspanish + \let\@tenstring=\@@Tenstringspanish + \let\@twentystring=\@@TwentystringFspanish + \let\@hundredstring=\@@HundredstringFspanish + \def\@andname{b}% + \def\@hundred{Cien}\def\@thousand{Mil}% + \@@numberstringspanish{#1}{#2}% +}% +\global\let\@NumberstringFspanish\@NumberstringFspanish +\global\let\@NumberstringNspanish\@NumberstringMspanish \DeclareRobustCommand{\@ordinalstringMspanish}[2]{% -\let\@unitthstring=\@@unitthstringspanish -\let\@unitstring=\@@unitstringspanish -\let\@teenthstring=\@@teenthstringspanish -\let\@tenthstring=\@@tenthstringspanish -\let\@hundredthstring=\@@hundredthstringspanish -\def\@thousandth{mil\'esimo}% -\@@ordinalstringspanish{#1}{#2}} + \let\@unitthstring=\@@unitthstringspanish + \let\@unitstring=\@@unitstringspanish + \let\@teenthstring=\@@teenthstringspanish + \let\@tenthstring=\@@tenthstringspanish + \let\@hundredthstring=\@@hundredthstringspanish + \def\@thousandth{mil\'esimo}% + \@@ordinalstringspanish{#1}{#2}% +}% +\global\let\@ordinalstringMspanish\@ordinalstringMspanish \DeclareRobustCommand{\@ordinalstringFspanish}[2]{% -\let\@unitthstring=\@@unitthstringFspanish -\let\@unitstring=\@@unitstringFspanish -\let\@teenthstring=\@@teenthstringFspanish -\let\@tenthstring=\@@tenthstringFspanish -\let\@hundredthstring=\@@hundredthstringFspanish -\def\@thousandth{mil\'esima}% -\@@ordinalstringspanish{#1}{#2}} -\let\@ordinalstringNspanish\@ordinalstringMspanish + \let\@unitthstring=\@@unitthstringFspanish + \let\@unitstring=\@@unitstringFspanish + \let\@teenthstring=\@@teenthstringFspanish + \let\@tenthstring=\@@tenthstringFspanish + \let\@hundredthstring=\@@hundredthstringFspanish + \def\@thousandth{mil\'esima}% + \@@ordinalstringspanish{#1}{#2}% +}% +\global\let\@ordinalstringFspanish\@ordinalstringFspanish +\global\let\@ordinalstringNspanish\@ordinalstringMspanish \DeclareRobustCommand{\@OrdinalstringMspanish}[2]{% -\let\@unitthstring=\@@Unitthstringspanish -\let\@unitstring=\@@Unitstringspanish -\let\@teenthstring=\@@Teenthstringspanish -\let\@tenthstring=\@@Tenthstringspanish -\let\@hundredthstring=\@@Hundredthstringspanish -\def\@thousandth{Mil\'esimo}% -\@@ordinalstringspanish{#1}{#2}} -\DeclareRobustCommand{\@OrdinalstringFspanish}[2]{% -\let\@unitthstring=\@@UnitthstringFspanish -\let\@unitstring=\@@UnitstringFspanish -\let\@teenthstring=\@@TeenthstringFspanish -\let\@tenthstring=\@@TenthstringFspanish -\let\@hundredthstring=\@@HundredthstringFspanish -\def\@thousandth{Mil\'esima}% -\@@ordinalstringspanish{#1}{#2}} -\let\@OrdinalstringNspanish\@OrdinalstringMspanish -\newcommand{\@@unitthstringspanish}[1]{% -\ifcase#1\relax -cero% -\or primero% -\or segundo% -\or tercero% -\or cuarto% -\or quinto% -\or sexto% -\or s\'eptimo% -\or octavo% -\or noveno% -\fi -} -\newcommand{\@@tenthstringspanish}[1]{% -\ifcase#1\relax -\or d\'ecimo% -\or vig\'esimo% -\or trig\'esimo% -\or cuadrag\'esimo% -\or quincuag\'esimo% -\or sexag\'esimo% -\or septuag\'esimo% -\or octog\'esimo% -\or nonag\'esimo% -\fi -} -\newcommand{\@@teenthstringspanish}[1]{% -\ifcase#1\relax -d\'ecimo% -\or und\'ecimo% -\or duod\'ecimo% -\or decimotercero% -\or decimocuarto% -\or decimoquinto% -\or decimosexto% -\or decimos\'eptimo% -\or decimoctavo% -\or decimonoveno% -\fi + \let\@unitthstring=\@@Unitthstringspanish + \let\@unitstring=\@@Unitstringspanish + \let\@teenthstring=\@@Teenthstringspanish + \let\@tenthstring=\@@Tenthstringspanish + \let\@hundredthstring=\@@Hundredthstringspanish + \def\@thousandth{Mil\'esimo}% + \@@ordinalstringspanish{#1}{#2}% } -\newcommand{\@@hundredthstringspanish}[1]{% -\ifcase#1\relax -\or cent\'esimo% -\or ducent\'esimo% -\or tricent\'esimo% -\or cuadringent\'esimo% -\or quingent\'esimo% -\or sexcent\'esimo% -\or septing\'esimo% -\or octingent\'esimo% -\or noningent\'esimo% -\fi} -\newcommand{\@@unitthstringFspanish}[1]{% -\ifcase#1\relax -cera% -\or primera% -\or segunda% -\or tercera% -\or cuarta% -\or quinta% -\or sexta% -\or s\'eptima% -\or octava% -\or novena% -\fi -} -\newcommand{\@@tenthstringFspanish}[1]{% -\ifcase#1\relax -\or d\'ecima% -\or vig\'esima% -\or trig\'esima% -\or cuadrag\'esima% -\or quincuag\'esima% -\or sexag\'esima% -\or septuag\'esima% -\or octog\'esima% -\or nonag\'esima% -\fi -} -\newcommand{\@@teenthstringFspanish}[1]{% -\ifcase#1\relax -d\'ecima% -\or und\'ecima% -\or duod\'ecima% -\or decimotercera% -\or decimocuarta% -\or decimoquinta% -\or decimosexta% -\or decimos\'eptima% -\or decimoctava% -\or decimonovena% -\fi -} -\newcommand{\@@hundredthstringFspanish}[1]{% -\ifcase#1\relax -\or cent\'esima% -\or ducent\'esima% -\or tricent\'esima% -\or cuadringent\'esima% -\or quingent\'esima% -\or sexcent\'esima% -\or septing\'esima% -\or octingent\'esima% -\or noningent\'esima% -\fi} -\newcommand{\@@Unitthstringspanish}[1]{% -\ifcase#1\relax -Cero% -\or Primero% -\or Segundo% -\or Tercero% -\or Cuarto% -\or Quinto% -\or Sexto% -\or S\'eptimo% -\or Octavo% -\or Noveno% -\fi -} -\newcommand{\@@Tenthstringspanish}[1]{% -\ifcase#1\relax -\or D\'ecimo% -\or Vig\'esimo% -\or Trig\'esimo% -\or Cuadrag\'esimo% -\or Quincuag\'esimo% -\or Sexag\'esimo% -\or Septuag\'esimo% -\or Octog\'esimo% -\or Nonag\'esimo% -\fi -} -\newcommand{\@@Teenthstringspanish}[1]{% -\ifcase#1\relax -D\'ecimo% -\or Und\'ecimo% -\or Duod\'ecimo% -\or Decimotercero% -\or Decimocuarto% -\or Decimoquinto% -\or Decimosexto% -\or Decimos\'eptimo% -\or Decimoctavo% -\or Decimonoveno% -\fi -} -\newcommand{\@@Hundredthstringspanish}[1]{% -\ifcase#1\relax -\or Cent\'esimo% -\or Ducent\'esimo% -\or Tricent\'esimo% -\or Cuadringent\'esimo% -\or Quingent\'esimo% -\or Sexcent\'esimo% -\or Septing\'esimo% -\or Octingent\'esimo% -\or Noningent\'esimo% -\fi} -\newcommand{\@@UnitthstringFspanish}[1]{% -\ifcase#1\relax -Cera% -\or Primera% -\or Segunda% -\or Tercera% -\or Cuarta% -\or Quinta% -\or Sexta% -\or S\'eptima% -\or Octava% -\or Novena% -\fi -} -\newcommand{\@@TenthstringFspanish}[1]{% -\ifcase#1\relax -\or D\'ecima% -\or Vig\'esima% -\or Trig\'esima% -\or Cuadrag\'esima% -\or Quincuag\'esima% -\or Sexag\'esima% -\or Septuag\'esima% -\or Octog\'esima% -\or Nonag\'esima% -\fi -} -\newcommand{\@@TeenthstringFspanish}[1]{% -\ifcase#1\relax -D\'ecima% -\or Und\'ecima% -\or Duod\'ecima% -\or Decimotercera% -\or Decimocuarta% -\or Decimoquinta% -\or Decimosexta% -\or Decimos\'eptima% -\or Decimoctava% -\or Decimonovena% -\fi -} -\newcommand{\@@HundredthstringFspanish}[1]{% -\ifcase#1\relax -\or Cent\'esima% -\or Ducent\'esima% -\or Tricent\'esima% -\or Cuadringent\'esima% -\or Quingent\'esima% -\or Sexcent\'esima% -\or Septing\'esima% -\or Octingent\'esima% -\or Noningent\'esima% -\fi} -\newcommand{\@@numberstringspanish}[2]{% +\global\let\@OrdinalstringMspanish\@OrdinalstringMspanish +\DeclareRobustCommand{\@OrdinalstringFspanish}[2]{% + \let\@unitthstring=\@@UnitthstringFspanish + \let\@unitstring=\@@UnitstringFspanish + \let\@teenthstring=\@@TeenthstringFspanish + \let\@tenthstring=\@@TenthstringFspanish + \let\@hundredthstring=\@@HundredthstringFspanish + \def\@thousandth{Mil\'esima}% + \@@ordinalstringspanish{#1}{#2}% +}% +\global\let\@OrdinalstringFspanish\@OrdinalstringFspanish +\global\let\@OrdinalstringNspanish\@OrdinalstringMspanish +\gdef\@@unitthstringspanish#1{% + \ifcase#1\relax + cero% + \or primero% + \or segundo% + \or tercero% + \or cuarto% + \or quinto% + \or sexto% + \or s\'eptimo% + \or octavo% + \or noveno% + \fi +}% +\gdef\@@tenthstringspanish#1{% + \ifcase#1\relax + \or d\'ecimo% + \or vig\'esimo% + \or trig\'esimo% + \or cuadrag\'esimo% + \or quincuag\'esimo% + \or sexag\'esimo% + \or septuag\'esimo% + \or octog\'esimo% + \or nonag\'esimo% + \fi +}% +\gdef\@@teenthstringspanish#1{% + \ifcase#1\relax + d\'ecimo% + \or und\'ecimo% + \or duod\'ecimo% + \or decimotercero% + \or decimocuarto% + \or decimoquinto% + \or decimosexto% + \or decimos\'eptimo% + \or decimoctavo% + \or decimonoveno% + \fi +}% +\gdef\@@hundredthstringspanish#1{% + \ifcase#1\relax + \or cent\'esimo% + \or ducent\'esimo% + \or tricent\'esimo% + \or cuadringent\'esimo% + \or quingent\'esimo% + \or sexcent\'esimo% + \or septing\'esimo% + \or octingent\'esimo% + \or noningent\'esimo% + \fi +}% +\gdef\@@unitthstringFspanish#1{% + \ifcase#1\relax + cera% + \or primera% + \or segunda% + \or tercera% + \or cuarta% + \or quinta% + \or sexta% + \or s\'eptima% + \or octava% + \or novena% + \fi +}% +\gdef\@@tenthstringFspanish#1{% + \ifcase#1\relax + \or d\'ecima% + \or vig\'esima% + \or trig\'esima% + \or cuadrag\'esima% + \or quincuag\'esima% + \or sexag\'esima% + \or septuag\'esima% + \or octog\'esima% + \or nonag\'esima% + \fi +}% +\gdef\@@teenthstringFspanish#1{% + \ifcase#1\relax + d\'ecima% + \or und\'ecima% + \or duod\'ecima% + \or decimotercera% + \or decimocuarta% + \or decimoquinta% + \or decimosexta% + \or decimos\'eptima% + \or decimoctava% + \or decimonovena% + \fi +}% +\gdef\@@hundredthstringFspanish#1{% + \ifcase#1\relax + \or cent\'esima% + \or ducent\'esima% + \or tricent\'esima% + \or cuadringent\'esima% + \or quingent\'esima% + \or sexcent\'esima% + \or septing\'esima% + \or octingent\'esima% + \or noningent\'esima% + \fi +}% +\gdef\@@Unitthstringspanish#1{% + \ifcase#1\relax + Cero% + \or Primero% + \or Segundo% + \or Tercero% + \or Cuarto% + \or Quinto% + \or Sexto% + \or S\'eptimo% + \or Octavo% + \or Noveno% + \fi +}% +\gdef\@@Tenthstringspanish#1{% + \ifcase#1\relax + \or D\'ecimo% + \or Vig\'esimo% + \or Trig\'esimo% + \or Cuadrag\'esimo% + \or Quincuag\'esimo% + \or Sexag\'esimo% + \or Septuag\'esimo% + \or Octog\'esimo% + \or Nonag\'esimo% + \fi +}% +\gdef\@@Teenthstringspanish#1{% + \ifcase#1\relax + D\'ecimo% + \or Und\'ecimo% + \or Duod\'ecimo% + \or Decimotercero% + \or Decimocuarto% + \or Decimoquinto% + \or Decimosexto% + \or Decimos\'eptimo% + \or Decimoctavo% + \or Decimonoveno% + \fi +}% +\gdef\@@Hundredthstringspanish#1{% + \ifcase#1\relax + \or Cent\'esimo% + \or Ducent\'esimo% + \or Tricent\'esimo% + \or Cuadringent\'esimo% + \or Quingent\'esimo% + \or Sexcent\'esimo% + \or Septing\'esimo% + \or Octingent\'esimo% + \or Noningent\'esimo% + \fi +}% +\gdef\@@UnitthstringFspanish#1{% + \ifcase#1\relax + Cera% + \or Primera% + \or Segunda% + \or Tercera% + \or Cuarta% + \or Quinta% + \or Sexta% + \or S\'eptima% + \or Octava% + \or Novena% + \fi +}% +\gdef\@@TenthstringFspanish#1{% + \ifcase#1\relax + \or D\'ecima% + \or Vig\'esima% + \or Trig\'esima% + \or Cuadrag\'esima% + \or Quincuag\'esima% + \or Sexag\'esima% + \or Septuag\'esima% + \or Octog\'esima% + \or Nonag\'esima% + \fi +}% +\gdef\@@TeenthstringFspanish#1{% + \ifcase#1\relax + D\'ecima% + \or Und\'ecima% + \or Duod\'ecima% + \or Decimotercera% + \or Decimocuarta% + \or Decimoquinta% + \or Decimosexta% + \or Decimos\'eptima% + \or Decimoctava% + \or Decimonovena% + \fi +}% +\gdef\@@HundredthstringFspanish#1{% + \ifcase#1\relax + \or Cent\'esima% + \or Ducent\'esima% + \or Tricent\'esima% + \or Cuadringent\'esima% + \or Quingent\'esima% + \or Sexcent\'esima% + \or Septing\'esima% + \or Octingent\'esima% + \or Noningent\'esima% + \fi +}% +\gdef\@@numberstringspanish#1#2{% \ifnum#1>99999 \PackageError{fmtcount}{Out of range}% {This macro only works for values less than 100000}% @@ -650,8 +680,8 @@ this number}% \fi \fi \fi -} -\newcommand{\@@ordinalstringspanish}[2]{% +}% +\gdef\@@ordinalstringspanish#1#2{% \@strctr=#1\relax \ifnum#1>99999 \PackageError{fmtcount}{Out of range}% @@ -741,7 +771,7 @@ this number}% \fi \fi \fi -} +}% \endinput %% diff --git a/Master/texmf-dist/tex/latex/fmtcount/fcnumparser.sty b/Master/texmf-dist/tex/latex/fmtcount/fcnumparser.sty index cf3f80d7b69..a1bb5a2c6ff 100644 --- a/Master/texmf-dist/tex/latex/fmtcount/fcnumparser.sty +++ b/Master/texmf-dist/tex/latex/fmtcount/fcnumparser.sty @@ -7,7 +7,7 @@ %% fmtcount.dtx (with options: `fcnumparser.sty,package') %% %% fmtcount.dtx -%% Copyright 2012 Nicola Talbot and Vincent Belaïche +%% Copyright 2013 Nicola Talbot and Vincent Belaïche %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 diff --git a/Master/texmf-dist/tex/latex/fmtcount/fcprefix.sty b/Master/texmf-dist/tex/latex/fmtcount/fcprefix.sty index 8d5ba547367..b8bd2717a5c 100644 --- a/Master/texmf-dist/tex/latex/fmtcount/fcprefix.sty +++ b/Master/texmf-dist/tex/latex/fmtcount/fcprefix.sty @@ -7,7 +7,7 @@ %% fmtcount.dtx (with options: `fcprefix.sty,package') %% %% fmtcount.dtx -%% Copyright 2012 Nicola Talbot and Vincent Belaïche +%% Copyright 2013 Nicola Talbot and Vincent Belaïche %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 diff --git a/Master/texmf-dist/tex/latex/fmtcount/fmtcount.sty b/Master/texmf-dist/tex/latex/fmtcount/fmtcount.sty index 22545873e48..4cfa2a54d90 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 2012 Nicola Talbot and Vincent Belaïche +%% Copyright 2013 Nicola Talbot and Vincent Belaïche %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -49,7 +49,7 @@ %%\cs{latinnumeralstringnum}\marg{number}\oarg{prefix options} %%\end{definition} \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{fmtcount}[2012/10/24 v2.02] +\ProvidesPackage{fmtcount}[2013/08/17 v2.03] \RequirePackage{ifthen} \RequirePackage{keyval} \RequirePackage{etoolbox} @@ -60,23 +60,26 @@ \c@padzeroesN=1\relax \providecommand*{\padzeroes}[1][17]{\c@padzeroesN=#1} \newcount\fc@tmpcatcode -\def\fc@languages{} +\def\fc@languages{}% \def\fc@mainlang{}% \newcommand*{\FCloadlang}[1]{% \@FC@iflangloaded{#1}{}% {% \fc@tmpcatcode=\catcode`\@\relax \catcode `\@ 11\relax - \input{fc-#1.def}% - \catcode `\@ \fc@tmpcatcode\relax - \ifdefempty{\fc@languages}% - {% - \def\fc@languages{#1}% - }% + \InputIfFileExists{fc-#1.def}% {% - \appto\fc@languages{,#1}% + \ifdefempty{\fc@languages}% + {% + \gdef\fc@languages{#1}% + }% + {% + \gappto\fc@languages{,#1}% + }% + \gdef\fc@mainlang{#1}% }% - \def\fc@mainlang{#1}% + {}% + \catcode `\@ \fc@tmpcatcode\relax }% } \newcommand{\@FC@iflangloaded}[3]{% @@ -85,23 +88,25 @@ \newcommand*{\ProvidesFCLanguage}[1]{% \ProvidesFile{fc-#1.def}% } -\newcommand*{\@fc@loadifbabelldf}[1]{% +\newcommand*{\@fc@loadifbabelorpolyglossialdf}[1]{% \ifcsundef{ver@#1.ldf}{}{\FCloadlang{#1}}% -} -\@fc@loadifbabelldf{english} -\@fc@loadifbabelldf{UKenglish} -\@fc@loadifbabelldf{british} -\@fc@loadifbabelldf{USenglish} -\@fc@loadifbabelldf{american} -\@fc@loadifbabelldf{spanish} -\@fc@loadifbabelldf{portuges} -\@fc@loadifbabelldf{french} -\@fc@loadifbabelldf{frenchb} -\@fc@loadifbabelldf{german}% -\@fc@loadifbabelldf{germanb}% -\@fc@loadifbabelldf{ngerman}% -\@fc@loadifbabelldf{ngermanb}% -\@fc@loadifbabelldf{italian} + \IfFileExists{gloss-#1.ldf}{\ifcsundef{#1@loaded}{}{\FCloadlang{#1}}}{}% +} +\@fc@loadifbabelorpolyglossialdf{english} +\@fc@loadifbabelorpolyglossialdf{UKenglish} +\@fc@loadifbabelorpolyglossialdf{british} +\@fc@loadifbabelorpolyglossialdf{USenglish} +\@fc@loadifbabelorpolyglossialdf{american} +\@fc@loadifbabelorpolyglossialdf{spanish} +\@fc@loadifbabelorpolyglossialdf{portuges} +\@fc@loadifbabelorpolyglossialdf{french} +\@fc@loadifbabelorpolyglossialdf{frenchb} +\@fc@loadifbabelorpolyglossialdf{francais} +\@fc@loadifbabelorpolyglossialdf{german}% +\@fc@loadifbabelorpolyglossialdf{germanb}% +\@fc@loadifbabelorpolyglossialdf{ngerman}% +\@fc@loadifbabelorpolyglossialdf{ngermanb}% +\@fc@loadifbabelorpolyglossialdf{italian} \def\fmtcount@french{france} \define@key{fmtcount}{french}[france]{% \@ifundefined{datefrench}% |