summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/numspell/numspell.sty
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/numspell/numspell.sty')
-rw-r--r--macros/latex/contrib/numspell/numspell.sty14
1 files changed, 11 insertions, 3 deletions
diff --git a/macros/latex/contrib/numspell/numspell.sty b/macros/latex/contrib/numspell/numspell.sty
index ccd615f396..df8cbc1d1d 100644
--- a/macros/latex/contrib/numspell/numspell.sty
+++ b/macros/latex/contrib/numspell/numspell.sty
@@ -3,7 +3,7 @@
%%
%% Package for spelling the non-negative cardinal and ordinal numbers (maximum 66 digits).
%%
-%% Copyright 2017-2020 by Tibor Tomacs
+%% Copyright 2017-2021 by Tibor Tomacs
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3
@@ -18,7 +18,7 @@
%% The Current Maintainer of this work is Tibor Tomacs.
%%
\NeedsTeXFormat{LaTeX2e}[2020/10/01]
-\ProvidesPackage{numspell}[2020/11/11 v1.4 Package for spelling cardinal and ordinal numbers]
+\ProvidesPackage{numspell}[2021/11/23 v1.5 Package for spelling cardinal and ordinal numbers]
\RequirePackage{xstring,iflang}
@@ -43,7 +43,7 @@
}
%% --------------------------------
-%% \numspell@groups{<num1>}{<num2>} (<num1>*10^<num2>=0,1,...,999999999999...9 (66 digits)=10^67-1)
+%% \numspell@groups{<num1>}{<num2>} (<num1>*10^<num2>=0,1,...,999999999999...9 = 10^66-1 (66 digits))
%% --------------------------------
%% It generates the following parameters:
%%
@@ -242,6 +242,10 @@
\IfLanguageName{ngerman}{\@numspell@lang@notsupported@false\def\numspell@langname{de}}{}%
\IfLanguageName{french}{\@numspell@lang@notsupported@false\def\numspell@langname{fr}}{}%
\IfLanguageName{italian}{\@numspell@lang@notsupported@false\def\numspell@langname{it}}{}%
+ \IfLanguageName{latin}{\@numspell@lang@notsupported@false\def\numspell@langname{la}}{}%
+ \IfLanguageName{classiclatin}{\@numspell@lang@notsupported@false\def\numspell@langname{la}}{}%
+ \IfLanguageName{medievallatin}{\@numspell@lang@notsupported@false\def\numspell@langname{la}}{}%
+ \IfLanguageName{ecclesiasticlatin}{\@numspell@lang@notsupported@false\def\numspell@langname{la}}{}%
\if@numspell@lang@notsupported@\PackageWarning{numspell}{\languagename\space is not supported language in numspell}\fi%
}
@@ -257,6 +261,10 @@
\ifdefined\datengerman\RequirePackage{numspell-german}\fi%
\ifdefined\datefrench\RequirePackage{numspell-french}\fi%
\ifdefined\dateitalian\RequirePackage{numspell-italian}\fi%
+\ifdefined\datelatin\RequirePackage{numspell-latin}\fi%
+\ifdefined\dateclassiclatin\RequirePackage{numspell-latin}\fi%
+\ifdefined\datemedievallatin\RequirePackage{numspell-latin}\fi%
+\ifdefined\dateecclesiasticlatin\RequirePackage{numspell-latin}\fi%
}
%% ---------------------------------