texlive[43189] Master: numspell (9feb17)
commits+karl at tug.org
commits+karl at tug.org
Sat Feb 11 00:31:15 CET 2017
Revision: 43189
http://tug.org/svn/texlive?view=revision&revision=43189
Author: karl
Date: 2017-02-11 00:31:15 +0100 (Sat, 11 Feb 2017)
Log Message:
-----------
numspell (9feb17)
Modified Paths:
--------------
trunk/Master/tlpkg/bin/tlpkg-ctan-check
trunk/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc
Added Paths:
-----------
trunk/Master/texmf-dist/doc/latex/numspell/
trunk/Master/texmf-dist/doc/latex/numspell/README
trunk/Master/texmf-dist/doc/latex/numspell/numspell.pdf
trunk/Master/texmf-dist/doc/latex/numspell/numspell.tex
trunk/Master/texmf-dist/tex/latex/numspell/
trunk/Master/texmf-dist/tex/latex/numspell/numspell-english.sty
trunk/Master/texmf-dist/tex/latex/numspell/numspell-french.sty
trunk/Master/texmf-dist/tex/latex/numspell/numspell-german.sty
trunk/Master/texmf-dist/tex/latex/numspell/numspell-magyar.sty
trunk/Master/texmf-dist/tex/latex/numspell/numspell.sty
trunk/Master/tlpkg/tlpsrc/numspell.tlpsrc
Added: trunk/Master/texmf-dist/doc/latex/numspell/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/numspell/README (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/numspell/README 2017-02-10 23:31:15 UTC (rev 43189)
@@ -0,0 +1,28 @@
+numspell.sty package
+
+Copyright 2017- by Tibor Tomacs
+
+Package for spelling cardinal and ordinal numbers.
+Supported languages are English, German, French and Hungarian.
+
+This work may be distributed and/or modified under the
+conditions of the LaTeX Project Public License, either version 1.3
+of this license or (at your option) any later version.
+The latest version of this license is in
+ http://www.latex-project.org/lppl.txt
+and version 1.3 or later is part of all distributions of LaTeX
+version 2005/12/01 or later.
+
+This work has the LPPL maintenance status `maintained'.
+
+The Current Maintainer of this work is Tibor Tomacs.
+
+This work consists of the files
+
+README (this file)
+numspell.sty (main package file)
+numspell-english.sty (English package for numspell)
+numspell-german.sty (German package for numspell)
+numspell-french.sty (French package for numspell)
+numspell-magyar.sty (Hungarian package for numspell)
+numspell.tex and the derived file numspell.pdf (documentation).
\ No newline at end of file
Added: trunk/Master/texmf-dist/doc/latex/numspell/numspell.pdf
===================================================================
(Binary files differ)
Index: trunk/Master/texmf-dist/doc/latex/numspell/numspell.pdf
===================================================================
--- trunk/Master/texmf-dist/doc/latex/numspell/numspell.pdf 2017-02-10 23:30:33 UTC (rev 43188)
+++ trunk/Master/texmf-dist/doc/latex/numspell/numspell.pdf 2017-02-10 23:31:15 UTC (rev 43189)
Property changes on: trunk/Master/texmf-dist/doc/latex/numspell/numspell.pdf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/numspell/numspell.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/numspell/numspell.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/numspell/numspell.tex 2017-02-10 23:31:15 UTC (rev 43189)
@@ -0,0 +1,555 @@
+%%
+%% `numspell.tex' documentation of the numspell package
+%%
+%% Copyright 2017- by Tibor Tomacs
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+%%
+%% This work has the LPPL maintenance status `maintained'.
+%%
+%% The Current Maintainer of this work is Tibor Tomacs.
+%%
+\documentclass{article}
+\usepackage[a4paper,margin=25mm]{geometry}
+\usepackage[pdfstartview=FitH,colorlinks,allcolors=black,bookmarksnumbered]{hyperref}
+\usepackage[utf8]{inputenc}
+\usepackage[T1]{fontenc}
+\usepackage{numspell}
+\usepackage[magyar,german,french,english]{babel}
+\usepackage{listings,xcolor,amsmath,upquote}
+\usepackage[group-separator={,}]{siunitx}
+\flushbottom
+\setlength{\labelsep}{0pt}
+\setlength{\parindent}{0pt}
+\setlength{\parskip}{6pt}
+
+\lstnewenvironment{examplelst}{\lstset{
+belowskip=\bigskipamount,
+basicstyle=\ttfamily,
+backgroundcolor=\color{black!10},
+columns=fullflexible,
+keepspaces}}{}
+
+\newcommand{\commandinline}{\lstinline[
+literate={<}{{$\langle$}}1{>}{{$\rangle$}}1,
+delim={[is][\color{green!50!black}\normalfont\itshape]{!}{!}},
+basicstyle=\color{blue!80!black}\ttfamily,
+columns=fullflexible,
+keepspaces]}
+
+\newcommand{\verbinline}{\lstinline[
+literate={<}{{$\langle$}}1{>}{{$\rangle$}}1,
+delim={[is][\color{green!50!black}\normalfont\itshape]{!}{!}},
+basicstyle=\ttfamily,
+columns=fullflexible,
+keepspaces]}
+
+\begin{document}
+
+\title{The {\bfseries\sffamily numspell} package\\{\large v1.0 (2017/02/09)}}
+\author{Tibor Tómács\\{\normalsize\url{tomacs.tibor at uni-eszterhazy.hu}}}
+\date{}
+\maketitle
+
+\section{Introduction}
+The aim of the \texttt{numspell} package is to spell the cardinal and ordinal numbers from 0 to $10^{67}-1$ (i.e.~maximum 66 digits).
+
+Currently, the supported languages are English, German, French and Hungarian.
+The spelling will happen in the current language.
+
+The \texttt{numspell} package requires the services of the following packages: \texttt{xstring}, \texttt{etoolbox}, \texttt{pdftexcmds}.
+
+Load the package as usual, with
+\begin{flushleft}
+\commandinline|\usepackage{numspell}|
+\end{flushleft}
+
+\section{Commands}
+\begin{description}
+\item\commandinline|\numspell[!<zeros>!]{!<num>!}|\\
+Spelling the cardinal number $n=\text{\color{green!50!black}\itshape$\langle$num$\rangle$}\cdot10^{\text{\color{green!50!black}\itshape$\langle$zeros$\rangle$}}$, where $0\leq n\leq 10^{67}-1$. The default value of \commandinline|!<zeros>!| is \texttt{0}. For example
+\begin{flushleft}
+\verb|\numspell{12000}| $\to$ \numspell{12000}\\
+\verb|\numspell[3]{12}| $\to$ \numspell[3]{12}\\
+\verb|\numspell[6]{12}| $\to$ \numspell[6]{12}\\
+\verb|\numspell[63]{1}| $\to$ \numspell[63]{1}
+\end{flushleft}
+
+\item\commandinline|\thenumspell|\\
+The \verb|\numspell| stores the result in this command. For example
+\begin{flushleft}
+\verb|\numspell{12000}; \thenumspell| $\to$ \numspell{12000}; \thenumspell\\
+\verb|\numspell{1}; \numspell{2}; \thenumspell| $\to$ \numspell{1}; \numspell{2}; \thenumspell
+\end{flushleft}
+
+\item\commandinline|\numspellsave{!<name>!}|\\
+It generates the \commandinline|\thenumspell!<name>!| command, which saves the current \verb|\thenumspell|. For example
+\begin{verbatim}
+\numspell{1};
+\numspellsave{MyNum}
+\numspell{2};
+\thenumspell;
+\thenumspellMyNum
+\end{verbatim}
+\numspell{1};
+\numspellsave{MyNum}
+\numspell{2};
+\thenumspell;
+\thenumspellMyNum
+
+\item\commandinline|\numspelldashspace{!<length>!}|\\
+In the number spelling, the spaces around the dashes are flexibility for the optimal hyphenation. Its value is \texttt{0pt plus} \commandinline|!<length>!|.
+The default value of \commandinline|!<length>!| is \texttt{2pt}. For example
+\begin{verbatim}
+\selectlanguage{magyar}
+\numspell{6512312354762547162546254756}\\[2mm]
+\numspelldashspace{10pt}
+\numspell{6512312354762547162546254756}
+\end{verbatim}
+{\selectlanguage{magyar}
+\numspell{6512312354762547162546254756}\\[2mm]
+\numspelldashspace{10pt}
+\numspell{6512312354762547162546254756}}
+
+\item\commandinline|\numspell*[!<zeros>!]{!<num>!}|\\
+It works like \verb|\numspell|, but the number spelling will not be printed.
+In other words, the following two lines are equivalent:
+\begin{flushleft}
+\verbinline|\numspell[!<zeros>!]{!<num>!}|\\
+\verbinline|\numspell*[!<zeros>!]{!<num>!}\thenumspell|
+\end{flushleft}
+For example
+\begin{verbatim}
+\numspell*{1}
+\numspellsave{MyNum}
+\numspell*{2}
+\thenumspell;
+\thenumspellMyNum
+\end{verbatim}
+\numspell*{1}
+\numspellsave{MyNum}
+\numspell*{2}
+\thenumspell;
+\thenumspellMyNum
+
+\item\commandinline|\Numspell[!<zeros>!]{!<num>!}|\\
+It works like \verb|\numspell|, but the first letter will be capital. For example
+\begin{flushleft}
+\verb|\Numspell{12000}| $\to$ \Numspell{12000}\\
+\verb|\Numspell[3]{12}| $\to$ \Numspell[3]{12}\\
+\verb|\Numspell[6]{12}| $\to$ \Numspell[6]{12}\\
+\verb|\Numspell[63]{1}| $\to$ \Numspell[63]{1}
+\end{flushleft}
+
+\item\commandinline|\Numspell*[!<zeros>!]{!<num>!}|\\
+It works like \verb|\Numspell|, but the number spelling will not be printed.
+In other words, the following two lines are equivalent:
+\begin{flushleft}
+\verbinline|\Numspell[!<zeros>!]{!<num>!}|\\
+\verbinline|\Numspell*[!<zeros>!]{!<num>!}\thenumspell|
+\end{flushleft}
+For example
+\begin{verbatim}
+\Numspell*{1}
+\numspellsave{MyNum}
+\Numspell*{2}
+\thenumspell;
+\thenumspellMyNum
+\end{verbatim}
+\Numspell*{1}
+\numspellsave{MyNum}
+\Numspell*{2}
+\thenumspell;
+\thenumspellMyNum
+
+\item\commandinline|\ordnumspell[!<zeros>!]{!<num>!}|\\
+Spelling the ordinal number
+$n=\text{\color{green!50!black}\itshape$\langle$num$\rangle$}\cdot10^{\text{\color{green!50!black}\itshape$\langle$zeros$\rangle$}}$,
+where $0\leq n\leq 10^{67}-1$. The default value of \commandinline|!<zeros>!| is \texttt{0}. For example
+\begin{flushleft}
+\verb|\ordnumspell{12000}| $\to$ \ordnumspell{12000}\\
+\verb|\ordnumspell[3]{12}| $\to$ \ordnumspell[3]{12}\\
+\verb|\ordnumspell[6]{12}| $\to$ \ordnumspell[6]{12}\\
+\verb|\ordnumspell[63]{1}| $\to$ \ordnumspell[63]{1}
+\end{flushleft}
+
+\item\commandinline|\ordnumspell*[!<zeros>!]{!<num>!}|\\
+It works like \verb|\ordnumspell|, but the number spelling will not be printed.
+In other words, the following two lines are equivalent:
+\begin{flushleft}
+\verbinline|\ordnumspell[!<zeros>!]{!<num>!}|\\
+\verbinline|\ordnumspell*[!<zeros>!]{!<num>!}\thenumspell|
+\end{flushleft}
+For example
+\begin{verbatim}
+\ordnumspell*{1}
+\numspellsave{MyNum}
+\ordnumspell*{2}
+\thenumspell;
+\thenumspellMyNum
+\end{verbatim}
+\ordnumspell*{1}
+\numspellsave{MyNum}
+\ordnumspell*{2}
+\thenumspell;
+\thenumspellMyNum
+
+\item\commandinline|\Ordnumspell[!<zeros>!]{!<num>!}|\\
+It works like \verb|\ordnumspell|, but the first letter will be capital. For example
+\begin{flushleft}
+\verb|\Ordnumspell{12000}| $\to$ \Ordnumspell{12000}\\
+\verb|\Ordnumspell[3]{12}| $\to$ \Ordnumspell[3]{12}\\
+\verb|\Ordnumspell[6]{12}| $\to$ \Ordnumspell[6]{12}\\
+\verb|\Ordnumspell[63]{1}| $\to$ \Ordnumspell[63]{1}
+\end{flushleft}
+
+\item\commandinline|\Ordnumspell*[!<zeros>!]{!<num>!}|\\
+It works like \verb|\Ordnumspell|, but the number spelling will not be printed.
+In other words, the following two lines are equivalent:
+\begin{flushleft}
+\verbinline|\Ordnumspell[!<zeros>!]{!<num>!}|\\
+\verbinline|\Ordnumspell*[!<zeros>!]{!<num>!}\thenumspell|
+\end{flushleft}
+For example
+\begin{verbatim}
+\Ordnumspell*{1}
+\numspellsave{MyNum}
+\Ordnumspell*{2}
+\thenumspell;
+\thenumspellMyNum
+\end{verbatim}
+\Ordnumspell*{1}
+\numspellsave{MyNum}
+\Ordnumspell*{2}
+\thenumspell;
+\thenumspellMyNum
+\end{description}
+
+\section{Commands for English language}
+\begin{description}
+\item\commandinline|\numspellUS|\\
+By default, the number spelling will happen in British English, if the \texttt{english} language is active.
+This command changes it to American English. For example
+\begin{flushleft}
+\verb|\numspellUS\numspell{1012345}| $\to$ \numspellUS\numspell{1012345}\numspellGB
+\end{flushleft}
+
+\item\commandinline|\numspellGB|\\
+Using the \verb|\numspellUS| command, you can rechange it to British English by this command. For example
+\begin{verbatim}
+\numspellUS\numspell{1012345}\\
+\numspellGB\numspell{1012345}
+\end{verbatim}
+\numspellUS\numspell{1012345}\\
+\numspellGB\numspell{1012345}
+\end{description}
+
+\section{Commands for French language}
+The following commands only work, if \texttt{french} language is active.
+\begin{description}
+\selectlanguage{french}
+\item\commandinline|\numspellpremiere|\\
+By default, \verb|\ordnumspell{1}| $\to$ \ordnumspell{1},\\
+but \verb|\numspellpremiere\ordnumspell{1}| $\to$ {\numspellpremiere\ordnumspell{1}}
+
+\item\commandinline|\numspellpremier| (default)\\
+\verb|\numspellpremiere\ordnumspell{1};|\\
+\verb|\numspellpremier\ordnumspell{1}|\\[2mm]
+{\numspellpremiere\ordnumspell{1}}; {\numspellpremier\ordnumspell{1}}
+\end{description}
+
+\section{Commands for Hungarian language}
+The following commands only work, if \texttt{magyar} language is active.
+\begin{description}
+\item\commandinline|\anumspell[!<zeros>!]{!<num>!}|\\
+It works like \verb|\numspell|, but the number spelling will start with Hungarian definite article. For example
+\begin{flushleft}
+{\selectlanguage{magyar}
+\verb|\anumspell{1}| $\to$ \anumspell{1}\\
+\verb|\anumspell{2}| $\to$ \anumspell{2}}
+\end{flushleft}
+
+\item\commandinline|\anumspell*[!<zeros>!]{!<num>!}|\\
+It works like \verb|\anumspell|, but the number spelling will not be printed.
+In other words, the following two lines are equivalent:
+\begin{flushleft}
+\verbinline|\anumspell[!<zeros>!]{!<num>!}|\\
+\verbinline|\anumspell*[!<zeros>!]{!<num>!}\thenumspell|
+\end{flushleft}
+For example
+\begin{verbatim}
+\anumspell*{1}
+\numspellsave{MyNum}
+\anumspell*{2}
+\thenumspell;
+\thenumspellMyNum
+\end{verbatim}
+{\selectlanguage{magyar}
+\anumspell*{1}
+\numspellsave{MyNum}
+\anumspell*{2}
+\thenumspell;
+\thenumspellMyNum}
+
+\item\commandinline|\Anumspell[!<zeros>!]{!<num>!}|\\
+It works like \verb|\anumspell|, but the first letter will be capital. For example
+\begin{flushleft}
+{\selectlanguage{magyar}
+\verb|\Anumspell{1}| $\to$ \Anumspell{1}\\
+\verb|\Anumspell{2}| $\to$ \Anumspell{2}}
+\end{flushleft}
+
+\item\commandinline|\Anumspell*[!<zeros>!]{!<num>!}|\\
+It works like \verb|\Anumspell|, but the number spelling will not be printed.
+In other words, the following two lines are equivalent:
+\begin{flushleft}
+\verbinline|\Anumspell[!<zeros>!]{!<num>!}|\\
+\verbinline|\Anumspell*[!<zeros>!]{!<num>!}\thenumspell|
+\end{flushleft}
+For example
+\begin{verbatim}
+\Anumspell*{1}
+\numspellsave{MyNum}
+\Anumspell*{2}
+\thenumspell;
+\thenumspellMyNum
+\end{verbatim}
+{\selectlanguage{magyar}
+\Anumspell*{1}
+\numspellsave{MyNum}
+\Anumspell*{2}
+\thenumspell;
+\thenumspellMyNum}
+
+\item\commandinline|\aordnumspell[!<zeros>!]{!<num>!}|\\
+It works like \verb|\ordnumspell|, but the number spelling will start with Hungarian definite article. For example
+\begin{flushleft}
+{\selectlanguage{magyar}
+\verb|\aordnumspell{1}| $\to$ \aordnumspell{1}\\
+\verb|\aordnumspell{2}| $\to$ \aordnumspell{2}}
+\end{flushleft}
+
+\item\commandinline|\aordnumspell*[!<zeros>!]{!<num>!}|\\
+It works like \verb|\aordnumspell|, but the number spelling will not be printed.
+In other words, the following two lines are equivalent:
+\begin{flushleft}
+\verbinline|\aordnumspell[!<zeros>!]{!<num>!}|\\
+\verbinline|\aordnumspell*[!<zeros>!]{!<num>!}\thenumspell|
+\end{flushleft}
+For example
+\begin{verbatim}
+\aordnumspell*{1}
+\numspellsave{MyNum}
+\aordnumspell*{2}
+\thenumspell;
+\thenumspellMyNum
+\end{verbatim}
+{\selectlanguage{magyar}
+\aordnumspell*{1}
+\numspellsave{MyNum}
+\aordnumspell*{2}
+\thenumspell;
+\thenumspellMyNum}
+
+\item\commandinline|\Aordnumspell[!<zeros>!]{!<num>!}|\\
+It works like \verb|\aordnumspell|, but the first letter will be capital. For example
+\begin{flushleft}
+{\selectlanguage{magyar}
+\verb|\Aordnumspell{1}| $\to$ \Aordnumspell{1}\\
+\verb|\Aordnumspell{2}| $\to$ \Aordnumspell{2}}
+\end{flushleft}
+
+\item\commandinline|\Aordnumspell*[!<zeros>!]{!<num>!}|\\
+It works like \verb|\Aordnumspell|, but the number spelling will not be printed.
+In other words, the following two lines are equivalent:
+\begin{flushleft}
+\verbinline|\Aordnumspell[!<zeros>!]{!<num>!}|\\
+\verbinline|\Aordnumspell*[!<zeros>!]{!<num>!}\thenumspell|
+\end{flushleft}
+For example
+\begin{verbatim}
+\Aordnumspell*{1}
+\numspellsave{MyNum}
+\Aordnumspell*{2}
+\thenumspell;
+\thenumspellMyNum
+\end{verbatim}
+{\selectlanguage{magyar}
+\Aordnumspell*{1}
+\numspellsave{MyNum}
+\Aordnumspell*{2}
+\thenumspell;
+\thenumspellMyNum}
+\end{description}
+
+\section{Examples}
+\subsection*{Example \stepcounter{subsection}\arabic{subsection}}
+\begin{examplelst}
+\documentclass{article}
+\usepackage[utf8]{inputenc}
+\usepackage[T1]{fontenc}
+\usepackage[magyar,german,french,english]{babel}
+\usepackage{numspell}
+\usepackage[group-separator={,}]{siunitx}
+\begin{document}
+
+\def\mynum{123456789}
+
+\noindent
+In British English the spelling of \num{\mynum} is
+\emph{``\numspell{\mynum}''}.
+
+\smallskip\noindent
+In American English the spelling of \num{\mynum} is
+{\numspellUS\emph{``\numspell{\mynum}''}}.
+
+\smallskip\noindent
+In German the spelling of \num{\mynum} is
+{\selectlanguage{german}\emph{``\numspell{\mynum}''}}.
+
+\smallskip\noindent
+In French the spelling of \num{\mynum} is
+{\selectlanguage{french}\emph{``\numspell{\mynum}''}}.
+
+\smallskip\noindent
+In Hungarian the spelling of \num{\mynum} is
+{\selectlanguage{magyar}\emph{`'\numspell{\mynum}''}}.
+
+\end{document}
+\end{examplelst}
+
+\def\mynum{123456789}
+
+\noindent
+In British English the spelling of \num{\mynum} is \emph{``\numspell{\mynum}''}.
+
+\smallskip\noindent
+In American English the spelling of \num{\mynum} is
+{\numspellUS\emph{``\numspell{\mynum}''}}.
+
+\smallskip\noindent
+In German the spelling of \num{\mynum} is
+{\selectlanguage{german}\emph{``\numspell{\mynum}''}}.
+
+\smallskip\noindent
+In French the spelling of \num{\mynum} is
+{\selectlanguage{french}\emph{``\numspell{\mynum}''}}.
+
+\smallskip\noindent
+In Hungarian the spelling of \num{\mynum} is
+{\selectlanguage{magyar}\emph{`'\numspell{\mynum}''}}.
+
+\bigskip
+\subsection*{Example \stepcounter{subsection}\arabic{subsection}}
+\begin{examplelst}
+\documentclass{article}
+\usepackage{numspell}
+\usepackage[group-separator={,}]{siunitx}
+\begin{document}
+
+\def\mynum{123456789012345678901234567890123456789012345678901234567890123456}
+\Numspell{\mynum}, that is \num{\mynum}.
+
+\end{document}
+\end{examplelst}
+
+\def\mynum{123456789012345678901234567890123456789012345678901234567890123456}
+\Numspell{\mynum}, that is \num{\mynum}.
+
+\bigskip
+\subsection*{Example \stepcounter{subsection}\arabic{subsection}}
+\begin{examplelst}
+\documentclass{article}
+\usepackage{numspell}
+\newcounter{mycount}
+\makeatletter
+\begin{document}
+
+The
+\@whilenum\value{mycount}<31
+\do{\ordnumspell{\themycount}\stepcounter{mycount},\ }\dots
+
+\end{document}
+\end{examplelst}
+
+\makeatletter
+\newcounter{mycount}
+The
+\@whilenum\value{mycount}<31
+\do{\ordnumspell{\themycount}\stepcounter{mycount},\ }\dots
+\makeatother
+
+\bigskip
+\subsection*{Example \stepcounter{subsection}\arabic{subsection}}
+\begin{examplelst}
+\documentclass{article}
+\usepackage{numspell}
+\newcounter{mycount}
+\def\themycount{\numspell{\arabic{mycount}}}
+\makeatletter
+\begin{document}
+
+\Numspell{0},
+\@whilenum\value{mycount}<30
+\do{\stepcounter{mycount}\themycount,\ }\dots
+
+\end{document}
+\end{examplelst}
+
+\def\themycount{\numspell{\arabic{mycount}}}
+\setcounter{mycount}{0}
+\makeatletter
+\Numspell{0},
+\@whilenum\value{mycount}<30
+\do{\stepcounter{mycount}\themycount,\ }\dots
+\makeatother
+
+\bigskip
+\section{Limitations}
+Do not use the \verb|\numspell|, \verb|\numspell*|, \verb|\Numspell|, \verb|\Numspell*|, etc.\ commands inside \verb|\MakeUppercase| and sectioning commands.
+An example for the illustration of the problem:
+\begin{examplelst}
+\documentclass{article}
+\usepackage{hyperref,numspell}
+\pagestyle{headings}
+\begin{document}
+
+\section{The \ordnumspell{123} factor}
+\MakeUppercase{\numspell{123}}
+\newpage
+Text
+
+\end{document}
+\end{examplelst}
+\noindent
+The bugs:
+\begin{enumerate}
+\setlength{\labelsep}{5pt}
+\item
+You can see it on the page 1: ``\numspell{123}''\\
+Required: \numspell*{123}\MakeUppercase{``\thenumspell''}
+
+\item
+You can see it on the heading: \emph{``THE \ordnumspell{123} FACTOR''}\\
+Required: \ordnumspell*{123}\MakeUppercase{\em``The \thenumspell\ factor''}
+
+\item
+You can see it on the pdf bookmark: ``The 123 factor''\\
+Required: ``The \ordnumspell{123} factor''
+\end{enumerate}
+\noindent
+The solution is very easy:
+\begin{examplelst}
+\ordnumspell*{123}
+\section{The \thenumspell\ factor}
+\numspell*{123}
+\MakeUppercase{\thenumspell}
+\end{examplelst}
+
+\end{document}
\ No newline at end of file
Added: trunk/Master/texmf-dist/tex/latex/numspell/numspell-english.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/numspell/numspell-english.sty (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/numspell/numspell-english.sty 2017-02-10 23:31:15 UTC (rev 43189)
@@ -0,0 +1,250 @@
+%%
+%% `numspell-english.sty' English language package for 'numspell.sty'
+%%
+%% Copyright 2017- by Tibor Tomacs
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+%%
+%% This work has the LPPL maintenance status `maintained'.
+%%
+%% The Current Maintainer of this work is Tibor Tomacs.
+%%
+\NeedsTeXFormat{LaTeX2e}[1999/12/01]
+\ProvidesPackage{numspell-english}[2017/02/09 v1.0 English language package for numspell]
+
+%% -----------
+%% \numspellGB (Default)
+%% -----------
+%% It changes to British English
+%%
+\def\numspellGB{%
+ \def\numspell at and@en{\numspell@{ and }}%
+ \def\numspell at and@@en{\numspell@{ and }}%
+}
+\numspellGB
+
+%% -----------
+%% \numspellUS
+%% -----------
+%% It changes to American English
+%%
+\def\numspellUS{%
+ \def\numspell at and@en{\numspell@{ }}%
+ \def\numspell at and@@en{\numspell@{, }}%
+}
+
+%% GROUP NAMES
+\def\numspell at group@ii at en@name{\numspell@{thousand}}
+\def\numspell at group@iii at en@name{\numspell@{million}}
+\def\numspell at group@iv at en@name{\numspell@{billion}}
+\def\numspell at group@v at en@name{\numspell@{trillion}}
+\def\numspell at group@vi at en@name{\numspell@{quadrillion}}
+\def\numspell at group@vii at en@name{\numspell@{quintillion}}
+\def\numspell at group@viii at en@name{\numspell@{sextillion}}
+\def\numspell at group@ix at en@name{\numspell@{septillion}}
+\def\numspell at group@x at en@name{\numspell@{octillion}}
+\def\numspell at group@xi at en@name{\numspell@{nonillion}}
+\def\numspell at group@xii at en@name{\numspell@{decillion}}
+\def\numspell at group@xiii at en@name{\numspell@{undecillion}}
+\def\numspell at group@xiv at en@name{\numspell@{duodecillion}}
+\def\numspell at group@xv at en@name{\numspell@{tredecillion}}
+\def\numspell at group@xvi at en@name{\numspell@{quattuordecillion}}
+\def\numspell at group@xvii at en@name{\numspell@{quindecillion}}
+\def\numspell at group@xviii at en@name{\numspell@{sexdecillion}}
+\def\numspell at group@xix at en@name{\numspell@{septendecillion}}
+\def\numspell at group@xx at en@name{\numspell@{octodecillion}}
+\def\numspell at group@xxi at en@name{\numspell@{novemdecillion}}
+\def\numspell at group@xxii at en@name{\numspell@{vigintillion}}
+
+%% SPELLING CARDINAL NUMBER GROUP
+%% ---------------------------------
+%% \numspell at group@spell at en{<group>} (<group>=000,001,...,999)
+%% ---------------------------------
+%% \numspell at group@digits{<group>}
+%% Adding the <group> spelling to \thenumspell
+%%
+\def\numspell at group@spell at en#1{%
+ \numspell at group@digits{#1}%
+ \ifcase\numspell at group@digit at i%
+ \or\numspell@{one}\or\numspell@{two}\or\numspell@{three}\or\numspell@{four}\or\numspell@{five}%
+ \or\numspell@{six}\or\numspell@{seven}\or\numspell@{eight}\or\numspell@{nine}%
+ \fi%
+ \ifnum\numspell at group@digit at i>0%
+ \numspell@{ hundred}%
+ \fi%
+ \ifnum\number\numexpr\numspell at group@digit at i*(\numspell at group@digit at ii+\numspell at group@digit at iii)>0%
+ \numspell at and@en%
+ \fi%
+ \ifcase\numspell at group@digit at ii%
+ \or\or\numspell@{twenty}\or\numspell@{thirty}\or\numspell@{forty}\or\numspell@{fifty}\or\numspell@{sixty}%
+ \or\numspell@{seventy}\or\numspell@{eighty}\or\numspell@{ninety}%
+ \fi%
+ \ifnum\numspell at group@digit at ii>1%
+ \ifcase\numspell at group@digit at iii%
+ \or\numspell at dash@\numspell@{one}\or\numspell at dash@\numspell@{two}\or\numspell at dash@\numspell@{three}%
+ \or\numspell at dash@\numspell@{four}\or\numspell at dash@\numspell@{five}\or\numspell at dash@\numspell@{six}%
+ \or\numspell at dash@\numspell@{seven}\or\numspell at dash@\numspell@{eight}\or\numspell at dash@\numspell@{nine}%
+ \fi%
+ \fi%
+ \ifnum\numspell at group@digit at ii<2%
+ \ifcase\number\numexpr10*\numspell at group@digit at ii+\numspell at group@digit at iii%
+ \or\numspell@{one}\or\numspell@{two}\or\numspell@{three}\or\numspell@{four}\or\numspell@{five}\or\numspell@{six}%
+ \or\numspell@{seven}\or\numspell@{eight}\or\numspell@{nine}\or\numspell@{ten}\or\numspell@{eleven}\or\numspell@{twelve}%
+ \or\numspell@{thirteen}\or\numspell@{fourteen}\or\numspell@{fifteen}\or\numspell@{sixteen}\or\numspell@{seventeen}%
+ \or\numspell@{eighteen}\or\numspell@{nineteen}%
+ \fi%
+ \fi%
+}
+
+%% SPELLING ORDINAL NUMBER GROUP
+%% ------------------------------------
+%% \numspell at ordgroup@spell at en{<group>} (<group>=000,001,...,999)
+%% ------------------------------------
+%% \numspell at group@digits{<group>}
+%% Adding the <group> ordinal spelling to \thenumspell
+%%
+\def\numspell at ordgroup@spell at en#1{%
+ \numspell at group@digits{#1}%
+ \ifcase\numspell at group@digit at i%
+ \or\numspell@{one}\or\numspell@{two}\or\numspell@{three}\or\numspell@{four}\or\numspell@{five}%
+ \or\numspell@{six}\or\numspell@{seven}\or\numspell@{eight}\or\numspell@{nine}%
+ \fi%
+ \ifnum\numspell at group@digit at i>0%
+ \ifnum\number\numexpr\numspell at group@digit at i*(\numspell at group@digit at ii+\numspell at group@digit at iii)>0%
+ \numspell@{ hundred}%
+ \else%
+ \numspell@{ hundredth}%
+ \fi%
+ \fi%
+ \ifnum\number\numexpr\numspell at group@digit at i*(\numspell at group@digit at ii+\numspell at group@digit at iii)>0%
+ \numspell at and@en%
+ \fi%
+ \ifnum\numspell at group@digit at iii>0%
+ \ifcase\numspell at group@digit at ii%
+ \or\or\numspell@{twenty}\or\numspell@{thirty}\or\numspell@{forty}\or\numspell@{fifty}\or\numspell@{sixty}%
+ \or\numspell@{seventy}\or\numspell@{eighty}\or\numspell@{ninety}%
+ \fi%
+ \else%
+ \ifcase\numspell at group@digit at ii%
+ \or\or\numspell@{twentieth}\or\numspell@{thirtieth}\or\numspell@{fortieth}\or\numspell@{fiftieth}%
+ \or\numspell@{sixtieth}\or\numspell@{seventieth}\or\numspell@{eightieth}\or\numspell@{ninetieth}%
+ \fi%
+ \fi%
+ \ifnum\numspell at group@digit at ii>1%
+ \ifcase\numspell at group@digit at iii%
+ \or\numspell at dash@\numspell@{first}\or\numspell at dash@\numspell@{second}\or\numspell at dash@\numspell@{third}%
+ \or\numspell at dash@\numspell@{fourth}\or\numspell at dash@\numspell@{fifth}\or\numspell at dash@\numspell@{sixth}%
+ \or\numspell at dash@\numspell@{seventh}\or\numspell at dash@\numspell@{eighth}\or\numspell at dash@\numspell@{ninth}%
+ \fi%
+ \fi%
+ \ifnum\numspell at group@digit at ii<2%
+ \ifcase\number\numexpr10*\numspell at group@digit at ii+\numspell at group@digit at iii%
+ \or\numspell@{first}\or\numspell@{second}\or\numspell@{third}\or\numspell@{fourth}\or\numspell@{fifth}%
+ \or\numspell@{sixth}\or\numspell@{seventh}\or\numspell@{eighth}\or\numspell@{ninth}\or\numspell@{tenth}%
+ \or\numspell@{eleventh}\or\numspell@{twelfth}\or\numspell@{thirteenth}\or\numspell@{fourteenth}%
+ \or\numspell@{fifteenth}\or\numspell@{sixteenth}\or\numspell@{seventeenth}\or\numspell@{eighteenth}\or\numspell@{nineteenth}%
+ \fi%
+ \fi%
+}
+
+%% SPELLING CARDINAL NUMBER
+%% --------------------------------------
+%% \numspell at num@spell at en{<num1>}{<num2>}
+%% --------------------------------------
+%% \numspell at groups{<num1>}{<num2>}
+%% Adding the \numspell at num spelling to \thenumspell
+%%
+\def\numspell at num@spell at en#1#2{%
+ \gdef\thenumspell{}%
+ \numspell at groups{#1}{#2}%
+ \setcounter{numspell at groupcount}{22}%
+ \@whilenum\value{numspell at groupcount}>2%
+ \do{%
+ \IfEq{\csname numspell at group@\roman{numspell at groupcount}\endcsname}{0}{}{%
+ \numspell at group@spell at en{\csname numspell at group@\roman{numspell at groupcount}\endcsname}%
+ \numspell@{ }%
+ \csname numspell at group@\roman{numspell at groupcount}@en at name\endcsname%
+ \ifnum\csname numspell at group@\roman{numspell at groupcount}@before\endcsname>1\numspell@{, }\fi%
+ \ifnum\csname numspell at group@\roman{numspell at groupcount}@before\endcsname=1\numspell at and@@en\fi%
+ }%
+ \addtocounter{numspell at groupcount}{-1}%
+ }%
+ \IfEq{\numspell at group@ii}{0}{}{%
+ \numspell at group@spell at en{\numspell at group@ii}%
+ \numspell@{ }%
+ \numspell at group@ii at en@name%
+ \ifnum\numspell at group@ii at before=1\numspell at and@@en\fi%
+ }%
+ \IfEq{\numspell at group@i}{0}{}{%
+ \numspell at group@spell at en{\numspell at group@i}%
+ }%
+ \ifnum\numspell at group@max=0\numspell@{nought}\fi%
+}
+
+%% SPELLING ORDINAL NUMBER
+%% -----------------------------------------
+%% \numspell at ordnum@spell at en{<num1>}{<num2>}
+%% -----------------------------------------
+%% \numspell at groups{<num1>}{<num2>}
+%% Adding the \numspell at num ordinal spelling to \thenumspell
+%%
+\def\numspell at ordnum@spell at en#1#2{%
+ \gdef\thenumspell{}%
+ \numspell at groups{#1}{#2}%
+ \setcounter{numspell at groupcount}{22}%
+ \@whilenum\value{numspell at groupcount}>2%
+ \do{%
+ \IfEq{\csname numspell at group@\roman{numspell at groupcount}\endcsname}{0}{}{%
+ \numspell at group@spell at en{\csname numspell at group@\roman{numspell at groupcount}\endcsname}%
+ \numspell@{ }%
+ \csname numspell at group@\roman{numspell at groupcount}@en at name\endcsname%
+ \ifnum\csname numspell at group@\roman{numspell at groupcount}@before\endcsname>1\numspell@{, }\fi%
+ \ifnum\csname numspell at group@\roman{numspell at groupcount}@before\endcsname=1\numspell at and@@en\fi%
+ }%
+ \addtocounter{numspell at groupcount}{-1}%
+ }%
+ \IfEq{\numspell at group@ii}{0}{}{%
+ \numspell at group@spell at en{\numspell at group@ii}%
+ \numspell@{ }%
+ \numspell at group@ii at en@name%
+ \ifnum\numspell at group@ii at before=1\numspell at and@@en\fi%
+ }%
+ \IfEq{\numspell at group@i}{0}{}{%
+ \numspell at ordgroup@spell at en{\numspell at group@i}%
+ }%
+ \IfEq{\numspell at group@i}{0}{\ifnum\numspell at group@max>0\numspell@{th}\fi}{}%
+ \ifnum\numspell at group@max=0\numspell@{zeroth}\fi%
+}
+
+%% ----------------------
+%% \numspell at uppercase@en
+%% ----------------------
+%% E.g. \def\thenumspell{one}\numspell at uppercase\thenumspell --> 'One'
+%% \MakeUppercase does not work on pdf bookmark (see hyperref), so using another effective macro.
+%%
+\def\numspell at uppercase@en{%
+ \fullexpandarg%
+ \StrChar{\thenumspell}{1}[\numspell at firstletter]%
+ \expandarg%
+ \StrGobbleLeft{\thenumspell}{1}[\numspell at trunc]%
+ \fullexpandarg%
+ \def\numspell at the{}%
+ \IfStrEq{\numspell at firstletter}{o}{\g at addto@macro\numspell at the{O}}{}% one
+ \IfStrEq{\numspell at firstletter}{t}{\g at addto@macro\numspell at the{T}}{}% two
+ \IfStrEq{\numspell at firstletter}{f}{\g at addto@macro\numspell at the{F}}{}% four
+ \IfStrEq{\numspell at firstletter}{s}{\g at addto@macro\numspell at the{S}}{}% six
+ \IfStrEq{\numspell at firstletter}{e}{\g at addto@macro\numspell at the{E}}{}% eight
+ \IfStrEq{\numspell at firstletter}{n}{\g at addto@macro\numspell at the{N}}{}% nine
+ \IfStrEq{\numspell at firstletter}{z}{\g at addto@macro\numspell at the{Z}}{}% zero
+ \ifx\numspell at the\@empty\@latexerr{'numspell.sty' error! There is not '\numspell at firstletter' in uppercase!}{}\fi%
+ \g at addto@macro\numspell at the{\numspell at trunc}%
+ \def\thenumspell{\numspell at the}%
+}
+
+\endinput
\ No newline at end of file
Added: trunk/Master/texmf-dist/tex/latex/numspell/numspell-french.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/numspell/numspell-french.sty (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/numspell/numspell-french.sty 2017-02-10 23:31:15 UTC (rev 43189)
@@ -0,0 +1,335 @@
+%%
+%% `numspell-french.sty' French language package for 'numspell.sty'
+%%
+%% Copyright 2017- by Tibor Tomacs
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+%%
+%% This work has the LPPL maintenance status `maintained'.
+%%
+%% The Current Maintainer of this work is Tibor Tomacs.
+%%
+\NeedsTeXFormat{LaTeX2e}[1999/12/01]
+\ProvidesPackage{numspell-french}[2017/02/09 v1.0 French language package for numspell]
+
+%% For 'cent' or 'cents'
+\newif\if at numspell@fr at firstgroup@
+
+%% 'premier' or 'premiere'
+\def\numspellpremier{\def\numspell at fr@premier{\numspell@{premier}}}
+\def\numspellpremiere{\def\numspell at fr@premier{\numspell@{premi\`{e}re}}}
+\numspellpremier
+
+%% GROUP NAMES
+\def\numspell at group@ii at fr@name{\numspell@{mille}}
+\def\numspell at group@iii at fr@name{\numspell@{million}}
+\def\numspell at group@iv at fr@name{\numspell@{milliard}}
+\def\numspell at group@v at fr@name{\numspell@{billion}}
+\def\numspell at group@vi at fr@name{\numspell@{billiard}}
+\def\numspell at group@vii at fr@name{\numspell@{trillion}}
+\def\numspell at group@viii at fr@name{\numspell@{trilliard}}
+\def\numspell at group@ix at fr@name{\numspell@{quadrillion}}
+\def\numspell at group@x at fr@name{\numspell@{quadrilliard}}
+\def\numspell at group@xi at fr@name{\numspell@{quintilion}}
+\def\numspell at group@xii at fr@name{\numspell@{quintilliard}}
+\def\numspell at group@xiii at fr@name{\numspell@{sextillion}}
+\def\numspell at group@xiv at fr@name{\numspell@{sextilliard}}
+\def\numspell at group@xv at fr@name{\numspell@{septillion}}
+\def\numspell at group@xvi at fr@name{\numspell@{septilliard}}
+\def\numspell at group@xvii at fr@name{\numspell@{octillion}}
+\def\numspell at group@xviii at fr@name{\numspell@{octilliard}}
+\def\numspell at group@xix at fr@name{\numspell@{nonillion}}
+\def\numspell at group@xx at fr@name{\numspell@{nonilliard}}
+\def\numspell at group@xxi at fr@name{\numspell@{d\'{e}cillion}}
+\def\numspell at group@xxii at fr@name{\numspell@{d\'{e}cilliard}}
+
+%% SPELLING CARDINAL NUMBER GROUP
+%% ---------------------------------
+%% \numspell at group@spell at fr{<group>} (<group>=000,001,...,999)
+%% ---------------------------------
+%% \numspell at group@digits{<group>}
+%% Adding the <group> spelling to \thenumspell
+%%
+\def\numspell at group@spell at fr#1{%
+ \numspell at group@digits{#1}%
+ \ifcase\numspell at group@digit at i%
+ \or\or\numspell@{deux }\or\numspell@{trois }\or\numspell@{quatre }\or\numspell@{cinq }%
+ \or\numspell@{six }\or\numspell@{sept }\or\numspell@{huit }\or\numspell@{neuf }%
+ \fi%
+ \ifnum\numspell at group@digit at i>0%
+ \numspell@{cent}%
+ \if at numspell@fr at firstgroup@%
+ \ifnum\number\numexpr\numspell at group@digit at ii+\numspell at group@digit at iii=0%
+ \ifnum\numspell at group@digit at i>1%
+ \numspell@{s}%
+ \fi%
+ \fi%
+ \fi%
+ \ifnum\number\numexpr\numspell at group@digit at ii+\numspell at group@digit at iii>0%
+ \numspell@{ }%
+ \fi%
+ \ifnum\number\numexpr10*\numspell at group@digit at ii+\numspell at group@digit at iii=1%
+ \numspell@{un}%
+ \fi%
+ \fi%
+ \ifcase\number\numexpr10*\numspell at group@digit at ii+\numspell at group@digit at iii%
+ \or\or\numspell@{deux}\or\numspell@{trois}\or\numspell@{quatre}\or\numspell@{cinq}%
+ \or\numspell@{six}\or\numspell@{sept}\or\numspell@{huit}\or\numspell@{neuf}%
+ \or\numspell@{dix}\or\numspell@{onze}\or\numspell@{douze}\or\numspell@{treize}%
+ \or\numspell@{quatorze}\or\numspell@{quinze}\or\numspell@{seize}\or\numspell@{dix}\numspell at dash@\numspell@{sept}%
+ \or\numspell@{dix}\numspell at dash@\numspell@{huit}\or\numspell@{dix}\numspell at dash@\numspell@{neuf}%
+ \fi%
+ \ifnum\number\numexpr10*\numspell at group@digit at ii+\numspell at group@digit at iii>19%
+ \ifnum\number\numexpr10*\numspell at group@digit at ii+\numspell at group@digit at iii<70%
+ \ifcase\numspell at group@digit at ii%
+ \or\or\numspell@{vingt}\or\numspell@{trente}\or\numspell@{quarante}\or\numspell@{cinquante}\or\numspell@{soixante}%
+ \fi%
+ \ifcase\numspell at group@digit at iii%
+ \or\numspell@{ et un}\or\numspell at dash@\numspell@{deux}\or\numspell at dash@\numspell@{trois}%
+ \or\numspell at dash@\numspell@{quatre}\or\numspell at dash@\numspell@{cinq}\or\numspell at dash@\numspell@{six}%
+ \or\numspell at dash@\numspell@{sept}\or\numspell at dash@\numspell@{huit}\or\numspell at dash@\numspell@{neuf}%
+ \fi%
+ \fi%
+ \fi%
+ \ifnum\number\numexpr10*\numspell at group@digit at ii+\numspell at group@digit at iii>69%
+ \ifnum\number\numexpr10*\numspell at group@digit at ii+\numspell at group@digit at iii<80%
+ \numspell@{soixante}%
+ \ifcase\numspell at group@digit at iii%
+ \numspell at dash@\numspell@{dix}\or\numspell@{ et onze}\or\numspell at dash@\numspell@{douze}\or\numspell at dash@\numspell@{treize}%
+ \or\numspell at dash@\numspell@{quatorze}\or\numspell at dash@\numspell@{quinze}\or\numspell at dash@\numspell@{seize}%
+ \or\numspell at dash@\numspell@{dix}\numspell at dash@\numspell@{sept}\or\numspell at dash@\numspell@{dix}\numspell at dash@\numspell@{huit}%
+ \or\numspell at dash@\numspell@{dix}\numspell at dash@\numspell@{neuf}%
+ \fi%
+ \fi%
+ \fi%
+ \ifnum\number\numexpr10*\numspell at group@digit at ii+\numspell at group@digit at iii>79%
+ \ifnum\number\numexpr10*\numspell at group@digit at ii+\numspell at group@digit at iii<90%
+ \numspell@{quatre}\numspell at dash@\numspell@{vingt}%
+ \ifcase\numspell at group@digit at iii%
+ \numspell@{s}\or\numspell at dash@\numspell@{un}\or\numspell at dash@\numspell@{deux}\or\numspell at dash@\numspell@{trois}%
+ \or\numspell at dash@\numspell@{quatre}\or\numspell at dash@\numspell@{cinq}\or\numspell at dash@\numspell@{six}%
+ \or\numspell at dash@\numspell@{sept}\or\numspell at dash@\numspell@{huit}\or\numspell at dash@\numspell@{neuf}%
+ \fi%
+ \fi%
+ \fi%
+ \ifnum\number\numexpr10*\numspell at group@digit at ii+\numspell at group@digit at iii>89%
+ \numspell@{quatre}\numspell at dash@\numspell@{vingt}\numspell at dash@%
+ \ifcase\numspell at group@digit at iii%
+ \numspell@{dix}\or\numspell@{onze}\or\numspell@{douze}\or\numspell@{treize}%
+ \or\numspell@{quatorze}\or\numspell@{quinze}\or\numspell@{seize}%
+ \or\numspell@{dix}\numspell at dash@\numspell@{sept}\or\numspell@{dix}\numspell at dash@\numspell@{huit}%
+ \or\numspell@{dix}\numspell at dash@\numspell@{neuf}%
+ \fi%
+ \fi%
+}
+
+%% SPELLING ORDINAL NUMBER GROUP
+%% ------------------------------------
+%% \numspell at ordgroup@spell at fr{<group>} (<group>=000,001,...,999)
+%% ------------------------------------
+%% \numspell at group@digits{<group>}
+%% Adding the <group> ordinal spelling to \thenumspell
+%%
+\def\numspell at ordgroup@spell at fr#1{%
+ \numspell at group@digits{#1}%
+ \ifcase\numspell at group@digit at i%
+ \or\or\numspell@{deux }\or\numspell@{trois }\or\numspell@{quatre }\or\numspell@{cinq }%
+ \or\numspell@{six }\or\numspell@{sept }\or\numspell@{huit }\or\numspell@{neuf }%
+ \fi%
+ \ifnum\numspell at group@digit at i>0%
+ \numspell@{cent}%
+ \ifnum\number\numexpr\numspell at group@digit at ii+\numspell at group@digit at iii=0%
+ \numspell@{i\`{e}me}%
+ \else%
+ \numspell@{ }%
+ \fi%
+ \ifnum\number\numexpr10*\numspell at group@digit at ii+\numspell at group@digit at iii=1%
+ \numspell@{uni\`{e}me}%
+ \fi%
+ \fi%
+ \ifcase\number\numexpr10*\numspell at group@digit at ii+\numspell at group@digit at iii%
+ \or\or\numspell@{deuxi\`{e}me}\or\numspell@{troisi\`{e}me}\or\numspell@{quatri\`{e}me}\or\numspell@{cinqui\`{e}me}%
+ \or\numspell@{sixi\`{e}me}\or\numspell@{septi\`{e}me}\or\numspell@{huiti\`{e}me}\or\numspell@{neuvi\`{e}me}%
+ \or\numspell@{dixi\`{e}me}\or\numspell@{onzi\`{e}me}\or\numspell@{douzi\`{e}me}\or\numspell@{treizi\`{e}me}%
+ \or\numspell@{quatorzi\`{e}me}\or\numspell@{quinzi\`{e}me}\or\numspell@{seizi\`{e}me}%
+ \or\numspell@{dix}\numspell at dash@\numspell@{septi\`{e}me}\or\numspell@{dix}\numspell at dash@\numspell@{huiti\`{e}me}%
+ \or\numspell@{dix}\numspell at dash@\numspell@{neuvi\`{e}me}%
+ \fi%
+ \ifnum\number\numexpr10*\numspell at group@digit at ii+\numspell at group@digit at iii>19%
+ \ifnum\number\numexpr10*\numspell at group@digit at ii+\numspell at group@digit at iii<70%
+ \ifnum\numspell at group@digit at iii=0%
+ \ifcase\numspell at group@digit at ii%
+ \or\or\numspell@{vingti\`{e}me}\or\numspell@{trenti\`{e}me}\or\numspell@{quaranti\`{e}me}%
+ \or\numspell@{cinquanti\`{e}me}\or\numspell@{soixanti\`{e}me}%
+ \fi%
+ \else%
+ \ifcase\numspell at group@digit at ii%
+ \or\or\numspell@{vingt}\or\numspell@{trente}\or\numspell@{quarante}\or\numspell@{cinquante}\or\numspell@{soixante}%
+ \fi%
+ \fi%
+ \ifcase\numspell at group@digit at iii%
+ \or\numspell@{ et uni\`{e}me}\or\numspell at dash@\numspell@{deuxi\`{e}me}\or\numspell at dash@\numspell@{troisi\`{e}me}%
+ \or\numspell at dash@\numspell@{quatri\`{e}me}\or\numspell at dash@\numspell@{cinqui\`{e}me}\or\numspell at dash@\numspell@{sixi\`{e}me}%
+ \or\numspell at dash@\numspell@{septi\`{e}me}\or\numspell at dash@\numspell@{huiti\`{e}me}\or\numspell at dash@\numspell@{neuvi\`{e}me}%
+ \fi%
+ \fi%
+ \fi%
+ \ifnum\number\numexpr10*\numspell at group@digit at ii+\numspell at group@digit at iii>69%
+ \ifnum\number\numexpr10*\numspell at group@digit at ii+\numspell at group@digit at iii<80%
+ \numspell@{soixante}%
+ \ifcase\numspell at group@digit at iii%
+ \numspell at dash@\numspell@{dixi\`{e}me}\or\numspell@{ et onzi\`{e}me}\or\numspell at dash@\numspell@{douzi\`{e}me}\or\numspell at dash@\numspell@{treizi\`{e}me}%
+ \or\numspell at dash@\numspell@{quatorzi\`{e}me}\or\numspell at dash@\numspell@{quinzi\`{e}me}%
+ \or\numspell at dash@\numspell@{seizi\`{e}me}\or\numspell at dash@\numspell@{dix}\numspell at dash@\numspell@{septi\`{e}me}%
+ \or\numspell at dash@\numspell@{dix}\numspell at dash@\numspell@{huiti\`{e}me}%
+ \or\numspell at dash@\numspell@{dix}\numspell at dash@\numspell@{neuvi\`{e}me}%
+ \fi%
+ \fi%
+ \fi%
+ \ifnum\number\numexpr10*\numspell at group@digit at ii+\numspell at group@digit at iii>79%
+ \ifnum\number\numexpr10*\numspell at group@digit at ii+\numspell at group@digit at iii<90%
+ \numspell@{quatre}\numspell at dash@\numspell@{vingt}%
+ \ifcase\numspell at group@digit at iii%
+ \numspell@{i\`{e}me}\or\numspell at dash@\numspell@{uni\`{e}me}\or\numspell at dash@\numspell@{deuxi\`{e}me}%
+ \or\numspell at dash@\numspell@{troisi\`{e}me}%
+ \or\numspell at dash@\numspell@{quatri\`{e}me}\or\numspell at dash@\numspell@{cinqui\`{e}me}\or\numspell at dash@\numspell@{sixi\`{e}me}%
+ \or\numspell at dash@\numspell@{septi\`{e}me}\or\numspell at dash@\numspell@{huiti\`{e}me}\or\numspell at dash@\numspell@{neuvi\`{e}me}%
+ \fi%
+ \fi%
+ \fi%
+ \ifnum\number\numexpr10*\numspell at group@digit at ii+\numspell at group@digit at iii>89%
+ \numspell@{quatre}\numspell at dash@\numspell@{vingt}\numspell at dash@%
+ \ifcase\numspell at group@digit at iii%
+ \numspell@{dixi\`{e}me}\or\numspell@{onzi\`{e}me}\or\numspell@{douzi\`{e}me}\or\numspell@{treizi\`{e}me}%
+ \or\numspell@{quatorzi\`{e}me}\or\numspell@{quinzi\`{e}me}\or\numspell@{seizi\`{e}me}%
+ \or\numspell@{dix}\numspell at dash@\numspell@{septi\`{e}me}\or\numspell@{dix}\numspell at dash@\numspell@{huiti\`{e}me}%
+ \or\numspell@{dix}\numspell at dash@\numspell@{neuvi\`{e}me}%
+ \fi%
+ \fi%
+}
+
+%% SPELLING CARDINAL NUMBER
+%% --------------------------------------
+%% \numspell at num@spell at fr{<num1>}{<num2>}
+%% --------------------------------------
+%% \numspell at groups{<num1>}{<num2>}
+%% Adding the \numspell at num spelling to \thenumspell
+%%
+\def\numspell at num@spell at fr#1#2{%
+ \gdef\thenumspell{}%
+ \@numspell at fr@firstgroup at false%
+ \numspell at groups{#1}{#2}%
+ \setcounter{numspell at groupcount}{22}%
+ \@whilenum\value{numspell at groupcount}>2%
+ \do{%
+ \IfEq{\csname numspell at group@\roman{numspell at groupcount}\endcsname}{0}{}{%
+ \IfEq{\csname numspell at group@\roman{numspell at groupcount}\endcsname}{1}{\numspell@{un}}{}%
+ \numspell at group@spell at fr{\csname numspell at group@\roman{numspell at groupcount}\endcsname}%
+ \numspell@{ }%
+ \csname numspell at group@\roman{numspell at groupcount}@fr at name\endcsname%
+ \IfEq{\csname numspell at group@\roman{numspell at groupcount}\endcsname}{1}{}{\numspell@{s}}%
+ \ifnum\csname numspell at group@\roman{numspell at groupcount}@before\endcsname>0\numspell@{ }\fi%
+ }%
+ \addtocounter{numspell at groupcount}{-1}%
+ }%
+ \IfEq{\numspell at group@ii}{0}{}{%
+ \IfEq{\numspell at group@ii}{1}{\numspell at group@ii at fr@name}{%
+ \numspell at group@spell at fr{\numspell at group@ii}%
+ \numspell@{ }%
+ \numspell at group@ii at fr@name%
+ }%
+ \ifnum\numspell at group@ii at before>0\numspell@{ }\fi%
+ }%
+ \IfEq{\numspell at group@i}{0}{}{%
+ \@numspell at fr@firstgroup at true%
+ \IfEq{\numspell at group@i}{1}{\numspell@{un}}{}%
+ \numspell at group@spell at fr{\numspell at group@i}%
+ }%
+ \ifnum\numspell at group@max=0\numspell@{z\'{e}ro}\fi%
+}
+
+%% SPELLING ORDINAL NUMBER
+%% -----------------------------------------
+%% \numspell at ordnum@spell at fr{<num1>}{<num2>}
+%% -----------------------------------------
+%% \numspell at groups{<num1>}{<num2>}
+%% Adding the \numspell at num ordinal spelling to \thenumspell
+%%
+\def\numspell at ordnum@spell at fr#1#2{%
+ \gdef\thenumspell{}%
+ \numspell at groups{#1}{#2}%
+ \setcounter{numspell at groupcount}{22}%
+ \@whilenum\value{numspell at groupcount}>2%
+ \do{%
+ \IfEq{\csname numspell at group@\roman{numspell at groupcount}\endcsname}{0}{}{%
+ \IfEq{\csname numspell at group@\roman{numspell at groupcount}\endcsname}{1}{\numspell@{un}}{}%
+ \numspell at group@spell at fr{\csname numspell at group@\roman{numspell at groupcount}\endcsname}%
+ \numspell@{ }%
+ \csname numspell at group@\roman{numspell at groupcount}@fr at name\endcsname%
+ \ifnum\csname numspell at group@\roman{numspell at groupcount}@before\endcsname>0%
+ \IfEq{\csname numspell at group@\roman{numspell at groupcount}\endcsname}{1}{\numspell@{ }}{\numspell@{s }}%
+ \else%
+ \numspell@{i\`{e}me}%
+ \fi%
+ }%
+ \addtocounter{numspell at groupcount}{-1}%
+ }%
+ \IfEq{\numspell at group@ii}{0}{}{%
+ \numspell at group@spell at fr{\numspell at group@ii}%
+ \IfEq{\numspell at group@ii}{1}{}{\numspell@{ }}%
+ \ifnum\numspell at group@ii at before>0%
+ \numspell@{mille }%
+ \else%
+ \numspell@{milli\`{e}me}%
+ \fi%
+ }%
+ \IfEq{\numspell at group@i}{0}{}{%
+ \numspell at ordgroup@spell at fr{\numspell at group@i}%
+ \IfEq{\numspell at group@i}{1}{%
+ \ifnum\numspell at group@max=1%
+ \numspell at fr@premier%
+ \else%
+ \numspell@{uni\`{e}me}%
+ \fi%
+ }{}%
+ }%
+ \ifnum\numspell at group@max=0\numspell@{z\'{e}roi\`{e}me}\fi%
+}
+
+%% ----------------------
+%% \numspell at uppercase@fr
+%% ----------------------
+%% E.g. \def\thenumspell{un}\numspell at uppercase\thenumspell --> 'Un'
+%% \MakeUppercase does not work on pdf bookmark (see hyperref), so using another effective macro.
+%%
+\def\numspell at uppercase@fr{%
+ \fullexpandarg%
+ \StrChar{\thenumspell}{1}[\numspell at firstletter]%
+ \expandarg%
+ \StrGobbleLeft{\thenumspell}{1}[\numspell at trunc]%
+ \fullexpandarg%
+ \def\numspell at the{}%
+ \IfStrEq{\numspell at firstletter}{z}{\g at addto@macro\numspell at the{Z}}{}% z\'{e}ro
+ \IfStrEq{\numspell at firstletter}{u}{\g at addto@macro\numspell at the{U}}{}% un
+ \IfStrEq{\numspell at firstletter}{p}{\g at addto@macro\numspell at the{P}}{}% premier
+ \IfStrEq{\numspell at firstletter}{d}{\g at addto@macro\numspell at the{D}}{}% deux
+ \IfStrEq{\numspell at firstletter}{t}{\g at addto@macro\numspell at the{T}}{}% trois
+ \IfStrEq{\numspell at firstletter}{q}{\g at addto@macro\numspell at the{Q}}{}% quatre
+ \IfStrEq{\numspell at firstletter}{c}{\g at addto@macro\numspell at the{C}}{}% cinq
+ \IfStrEq{\numspell at firstletter}{s}{\g at addto@macro\numspell at the{S}}{}% six
+ \IfStrEq{\numspell at firstletter}{h}{\g at addto@macro\numspell at the{H}}{}% huit
+ \IfStrEq{\numspell at firstletter}{n}{\g at addto@macro\numspell at the{N}}{}% neuf
+ \IfStrEq{\numspell at firstletter}{v}{\g at addto@macro\numspell at the{V}}{}% vingt
+ \IfStrEq{\numspell at firstletter}{m}{\g at addto@macro\numspell at the{M}}{}% mille
+ \ifx\numspell at the\@empty\@latexerr{'numspell.sty' error! There is not '\numspell at firstletter' in uppercase!}{}\fi%
+ \g at addto@macro\numspell at the{\numspell at trunc}%
+ \def\thenumspell{\numspell at the}%
+}
+
+\endinput
\ No newline at end of file
Added: trunk/Master/texmf-dist/tex/latex/numspell/numspell-german.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/numspell/numspell-german.sty (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/numspell/numspell-german.sty 2017-02-10 23:31:15 UTC (rev 43189)
@@ -0,0 +1,262 @@
+%%
+%% `numspell-german.sty' German language package for 'numspell.sty'
+%%
+%% Copyright 2017- by Tibor Tomacs
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+%%
+%% This work has the LPPL maintenance status `maintained'.
+%%
+%% The Current Maintainer of this work is Tibor Tomacs.
+%%
+\NeedsTeXFormat{LaTeX2e}[1999/12/01]
+\ProvidesPackage{numspell-german}[2017/02/09 v1.0 German language package for numspell]
+
+%% GROUP NAMES
+\def\numspell at group@ii at de@name{\numspell@{tausend}}
+\def\numspell at group@iii at de@name{\numspell@{Million}}
+\def\numspell at group@iv at de@name{\numspell@{Milliarde}}
+\def\numspell at group@v at de@name{\numspell@{Billion}}
+\def\numspell at group@vi at de@name{\numspell@{Billiarde}}
+\def\numspell at group@vii at de@name{\numspell@{Trillion}}
+\def\numspell at group@viii at de@name{\numspell@{Trilliarde}}
+\def\numspell at group@ix at de@name{\numspell@{Quadrillion}}
+\def\numspell at group@x at de@name{\numspell@{Quadrilliarde}}
+\def\numspell at group@xi at de@name{\numspell@{Quintillion}}
+\def\numspell at group@xii at de@name{\numspell@{Quintilliarde}}
+\def\numspell at group@xiii at de@name{\numspell@{Sextillion}}
+\def\numspell at group@xiv at de@name{\numspell@{Sextilliarde}}
+\def\numspell at group@xv at de@name{\numspell@{Septillion}}
+\def\numspell at group@xvi at de@name{\numspell@{Septilliarde}}
+\def\numspell at group@xvii at de@name{\numspell@{Oktillion}}
+\def\numspell at group@xviii at de@name{\numspell@{Oktilliarde}}
+\def\numspell at group@xix at de@name{\numspell@{Nonillion}}
+\def\numspell at group@xx at de@name{\numspell@{Nonilliarde}}
+\def\numspell at group@xxi at de@name{\numspell@{Dezillion}}
+\def\numspell at group@xxii at de@name{\numspell@{Dezilliarde}}
+
+%% ORDINAL GROUP NAMES
+\def\numspell at ordgroup@iii at de@name{\numspell@{millionste}}
+\def\numspell at ordgroup@iv at de@name{\numspell@{milliardste}}
+\def\numspell at ordgroup@v at de@name{\numspell@{billionste}}
+\def\numspell at ordgroup@vi at de@name{\numspell@{billiardste}}
+\def\numspell at ordgroup@vii at de@name{\numspell@{trillionste}}
+\def\numspell at ordgroup@viii at de@name{\numspell@{trilliardste}}
+\def\numspell at ordgroup@ix at de@name{\numspell@{quadrillionste}}
+\def\numspell at ordgroup@x at de@name{\numspell@{quadrilliardste}}
+\def\numspell at ordgroup@xi at de@name{\numspell@{quintillionste}}
+\def\numspell at ordgroup@xii at de@name{\numspell@{quintilliardste}}
+\def\numspell at ordgroup@xiii at de@name{\numspell@{sextillionste}}
+\def\numspell at ordgroup@xiv at de@name{\numspell@{sextilliardste}}
+\def\numspell at ordgroup@xv at de@name{\numspell@{septillionste}}
+\def\numspell at ordgroup@xvi at de@name{\numspell@{septilliardste}}
+\def\numspell at ordgroup@xvii at de@name{\numspell@{oktillionste}}
+\def\numspell at ordgroup@xviii at de@name{\numspell@{oktilliardste}}
+\def\numspell at ordgroup@xix at de@name{\numspell@{nonillionste}}
+\def\numspell at ordgroup@xx at de@name{\numspell@{nonilliardste}}
+\def\numspell at ordgroup@xxi at de@name{\numspell@{dezillionste}}
+\def\numspell at ordgroup@xxii at de@name{\numspell@{dezilliardste}}
+
+%% SPELLING CARDINAL NUMBER GROUP
+%% ---------------------------------
+%% \numspell at group@spell at de{<group>} (<group>=000,001,...,999)
+%% ---------------------------------
+%% \numspell at group@digits{<group>}
+%% Adding the <group> spelling to \thenumspell
+%%
+\def\numspell at group@spell at de#1{%
+ \numspell at group@digits{#1}%
+ \ifcase\numspell at group@digit at i%
+ \or\numspell@{ein}\or\numspell@{zwei}\or\numspell@{drei}\or\numspell@{vier}\or\numspell@{f\"{u}nf}%
+ \or\numspell@{sechs}\or\numspell@{sieben}\or\numspell@{acht}\or\numspell@{neun}%
+ \fi%
+ \ifnum\numspell at group@digit at i>0%
+ \numspell@{hundert}%
+ \fi%
+ \ifnum\number\numexpr100*\numspell at group@digit at i+10*\numspell at group@digit at ii+\numspell at group@digit at iii>1%
+ \ifcase\number\numexpr10*\numspell at group@digit at ii+\numspell at group@digit at iii%
+ \or\numspell@{eins}\or\numspell@{zwei}\or\numspell@{drei}\or\numspell@{vier}\or\numspell@{f\"{u}nf}%
+ \or\numspell@{sechs}\or\numspell@{sieben}\or\numspell@{acht}\or\numspell@{neun}%
+ \or\numspell@{zehn}\or\numspell@{elf}\or\numspell@{zw\"{o}lf}\or\numspell@{dreizehn}%
+ \or\numspell@{vierzehn}\or\numspell@{f\"{u}nfzehn}\or\numspell@{sechzehn}\or\numspell@{siebzehn}%
+ \or\numspell@{achtzehn}\or\numspell@{neunzehn}%
+ \fi%
+ \fi%
+ \ifnum\number\numexpr10*\numspell at group@digit at ii+\numspell at group@digit at iii>19%
+ \ifcase\numspell at group@digit at iii%
+ \or\numspell@{ein}\or\numspell@{zwei}\or\numspell@{drei}\or\numspell@{vier}\or\numspell@{f\"{u}nf}%
+ \or\numspell@{sechs}\or\numspell@{sieben}\or\numspell@{acht}\or\numspell@{neun}%
+ \fi%
+ \fi%
+ \ifnum\number\numexpr\numspell at group@digit at ii*\numspell at group@digit at iii>0%
+ \ifnum\number\numexpr10*\numspell at group@digit at ii+\numspell at group@digit at iii>20%
+ \numspell@{und}%
+ \fi%
+ \fi%
+ \ifnum\number\numexpr10*\numspell at group@digit at ii+\numspell at group@digit at iii>19%
+ \ifcase\numspell at group@digit at ii%
+ \or\or\numspell@{zwanzig}\or\numspell@{drei\ss{}ig}\or\numspell@{vierzig}\or\numspell@{f\"{u}nfzig}%
+ \or\numspell@{sechzig}\or\numspell@{siebzig}\or\numspell@{achtzig}\or\numspell@{neunzig}%
+ \fi%
+ \fi%
+}
+
+%% SPELLING ORDINAL NUMBER GROUP
+%% ------------------------------------
+%% \numspell at ordgroup@spell at de{<group>} (<group>=000,001,...,999)
+%% ------------------------------------
+%% \numspell at group@digits{<group>}
+%% Adding the <group> ordinal spelling to \thenumspell
+%%
+\def\numspell at ordgroup@spell at de#1{%
+ \numspell at group@digits{#1}%
+ \ifcase\numspell at group@digit at i%
+ \or\numspell@{ein}\or\numspell@{zwei}\or\numspell@{drei}\or\numspell@{vier}\or\numspell@{f\"{u}nf}%
+ \or\numspell@{sechs}\or\numspell@{sieben}\or\numspell@{acht}\or\numspell@{neun}%
+ \fi%
+ \ifnum\numspell at group@digit at i>0%
+ \ifnum\number\numexpr\numspell at group@digit at ii+\numspell at group@digit at iii=0%
+ \numspell@{hundertste}%
+ \else%
+ \numspell@{hundert}%
+ \fi%
+ \fi%
+ \ifnum\number\numexpr100*\numspell at group@digit at i+10*\numspell at group@digit at ii+\numspell at group@digit at iii>1%
+ \ifcase\number\numexpr10*\numspell at group@digit at ii+\numspell at group@digit at iii%
+ \or\numspell@{erste}\or\numspell@{zweite}\or\numspell@{dritte}\or\numspell@{vierte}\or\numspell@{f\"{u}nfte}%
+ \or\numspell@{sechste}\or\numspell@{siebte}\or\numspell@{achte}\or\numspell@{neunte}%
+ \or\numspell@{zehnte}\or\numspell@{elfte}\or\numspell@{zw\"{o}lfte}\or\numspell@{dreizehnte}%
+ \or\numspell@{vierzehnte}\or\numspell@{f\"{u}nfzehnte}\or\numspell@{sechzehnte}\or\numspell@{siebzehnte}%
+ \or\numspell@{achtzehnte}\or\numspell@{neunzehnte}%
+ \fi%
+ \fi%
+ \ifnum\number\numexpr10*\numspell at group@digit at ii+\numspell at group@digit at iii>19%
+ \ifcase\numspell at group@digit at iii%
+ \or\numspell@{ein}\or\numspell@{zwei}\or\numspell@{drei}\or\numspell@{vier}\or\numspell@{f\"{u}nf}%
+ \or\numspell@{sechs}\or\numspell@{sieben}\or\numspell@{acht}\or\numspell@{neun}%
+ \fi%
+ \fi%
+ \ifnum\number\numexpr\numspell at group@digit at ii*\numspell at group@digit at iii>0%
+ \ifnum\number\numexpr10*\numspell at group@digit at ii+\numspell at group@digit at iii>20%
+ \numspell@{und}%
+ \fi%
+ \fi%
+ \ifnum\number\numexpr10*\numspell at group@digit at ii+\numspell at group@digit at iii>19%
+ \ifcase\numspell at group@digit at ii%
+ \or\or\numspell@{zwanzigste}\or\numspell@{drei\ss{}igste}\or\numspell@{vierzigste}\or\numspell@{f\"{u}nfzigste}%
+ \or\numspell@{sechzigste}\or\numspell@{siebzigste}\or\numspell@{achtzigste}\or\numspell@{neunzigste}%
+ \fi%
+ \fi%
+}
+
+%% SPELLING CARDINAL NUMBER
+%% --------------------------------------
+%% \numspell at num@spell at de{<num1>}{<num2>}
+%% --------------------------------------
+%% \numspell at groups{<num1>}{<num2>}
+%% Adding the \numspell at num spelling to \thenumspell
+%%
+\def\numspell at num@spell at de#1#2{%
+ \gdef\thenumspell{}%
+ \numspell at groups{#1}{#2}%
+ \setcounter{numspell at groupcount}{22}%
+ \@whilenum\value{numspell at groupcount}>2%
+ \do{%
+ \IfEq{\csname numspell at group@\roman{numspell at groupcount}\endcsname}{0}{}{%
+ \IfEq{\csname numspell at group@\roman{numspell at groupcount}\endcsname}{1}{\numspell@{eine}}{}%
+ \numspell at group@spell at de{\csname numspell at group@\roman{numspell at groupcount}\endcsname}%
+ \numspell@{ }%
+ \csname numspell at group@\roman{numspell at groupcount}@de at name\endcsname%
+ \IfEq{\csname numspell at group@\roman{numspell at groupcount}\endcsname}{1}{}{\ifodd\value{numspell at groupcount}\numspell@{e}\fi}%
+ \IfEq{\csname numspell at group@\roman{numspell at groupcount}\endcsname}{1}{}{\numspell@{n}}%
+ \ifnum\csname numspell at group@\roman{numspell at groupcount}@before\endcsname>0\numspell@{ }\fi%
+ }%
+ \addtocounter{numspell at groupcount}{-1}%
+ }%
+ \IfEq{\numspell at group@ii}{0}{}{%
+ \IfEq{\numspell at group@ii}{1}{\numspell@{ein}}{}%
+ \numspell at group@spell at de{\numspell at group@ii}%
+ \numspell at group@ii at de@name%
+ }%
+ \IfEq{\numspell at group@i}{0}{}{%
+ \IfEq{\numspell at group@i}{1}{\numspell@{eins}}{}%
+ \numspell at group@spell at de{\numspell at group@i}%
+ }%
+ \ifnum\numspell at group@max=0\numspell@{null}\fi%
+}
+
+%% SPELLING ORDINAL NUMBER
+%% -----------------------------------------
+%% \numspell at ordnum@spell at de{<num1>}{<num2>}
+%% -----------------------------------------
+%% \numspell at groups{<num1>}{<num2>}
+%% Adding the \numspell at num ordinal spelling to \thenumspell
+%%
+\def\numspell at ordnum@spell at de#1#2{%
+ \gdef\thenumspell{}%
+ \numspell at groups{#1}{#2}%
+ \setcounter{numspell at groupcount}{22}%
+ \@whilenum\value{numspell at groupcount}>2%
+ \do{%
+ \IfEq{\csname numspell at group@\roman{numspell at groupcount}\endcsname}{0}{}{%
+ \ifnum\csname numspell at group@\roman{numspell at groupcount}@before\endcsname>0%
+ \IfEq{\csname numspell at group@\roman{numspell at groupcount}\endcsname}{1}{\numspell@{eine}}{}%
+ \numspell at group@spell at de{\csname numspell at group@\roman{numspell at groupcount}\endcsname}%
+ \numspell@{ }%
+ \csname numspell at group@\roman{numspell at groupcount}@de at name\endcsname%
+ \IfEq{\csname numspell at group@\roman{numspell at groupcount}\endcsname}{1}{}{\ifodd\value{numspell at groupcount}\numspell@{e}\fi}%
+ \IfEq{\csname numspell at group@\roman{numspell at groupcount}\endcsname}{1}{}{\numspell@{n}}\numspell@{ }%
+ \else%
+ \IfEq{\csname numspell at group@\roman{numspell at groupcount}\endcsname}{1}{\numspell@{ein}}{}%
+ \numspell at group@spell at de{\csname numspell at group@\roman{numspell at groupcount}\endcsname}%
+ \csname numspell at ordgroup@\roman{numspell at groupcount}@de at name\endcsname%
+ \fi%
+ }%
+ \addtocounter{numspell at groupcount}{-1}%
+ }%
+ \IfEq{\numspell at group@ii}{0}{}{%
+ \IfEq{\numspell at group@ii}{1}{\numspell@{ein}}{}%
+ \numspell at group@spell at de{\numspell at group@ii}%
+ \numspell at group@ii at de@name%
+ \ifnum\numspell at group@ii at before=0\numspell@{ste}\fi%
+ }%
+ \IfEq{\numspell at group@i}{0}{}{%
+ \IfEq{\numspell at group@i}{1}{\numspell@{erste}}{}%
+ \numspell at ordgroup@spell at de{\numspell at group@i}%
+ }%
+ \ifnum\numspell at group@max=0\numspell@{nullte}\fi%
+}
+
+%% ----------------------
+%% \numspell at uppercase@de
+%% ----------------------
+%% E.g. \def\thenumspell{ein}\numspell at uppercase\thenumspell --> 'Ein'
+%% \MakeUppercase does not work on pdf bookmark (see hyperref), so using another effective macro.
+%%
+\def\numspell at uppercase@de{%
+ \fullexpandarg%
+ \StrChar{\thenumspell}{1}[\numspell at firstletter]%
+ \expandarg%
+ \StrGobbleLeft{\thenumspell}{1}[\numspell at trunc]%
+ \fullexpandarg%
+ \def\numspell at the{}%
+ \IfStrEq{\numspell at firstletter}{e}{\g at addto@macro\numspell at the{E}}{}% ein
+ \IfStrEq{\numspell at firstletter}{z}{\g at addto@macro\numspell at the{Z}}{}% zwei
+ \IfStrEq{\numspell at firstletter}{d}{\g at addto@macro\numspell at the{D}}{}% drei
+ \IfStrEq{\numspell at firstletter}{v}{\g at addto@macro\numspell at the{V}}{}% vier
+ \IfStrEq{\numspell at firstletter}{f}{\g at addto@macro\numspell at the{F}}{}% f\"{u}nf
+ \IfStrEq{\numspell at firstletter}{s}{\g at addto@macro\numspell at the{S}}{}% sechs
+ \IfStrEq{\numspell at firstletter}{a}{\g at addto@macro\numspell at the{A}}{}% acht
+ \IfStrEq{\numspell at firstletter}{n}{\g at addto@macro\numspell at the{N}}{}% neun
+ \ifx\numspell at the\@empty\@latexerr{'numspell.sty' error! There is not '\numspell at firstletter' in uppercase!}{}\fi%
+ \g at addto@macro\numspell at the{\numspell at trunc}%
+ \def\thenumspell{\numspell at the}%
+}
+
+\endinput
\ No newline at end of file
Added: trunk/Master/texmf-dist/tex/latex/numspell/numspell-magyar.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/numspell/numspell-magyar.sty (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/numspell/numspell-magyar.sty 2017-02-10 23:31:15 UTC (rev 43189)
@@ -0,0 +1,398 @@
+%%
+%% `numspell-magyar.sty' Hungarian language package for 'numspell.sty'
+%%
+%% Copyright 2017- by Tibor Tomacs
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+%%
+%% This work has the LPPL maintenance status `maintained'.
+%%
+%% The Current Maintainer of this work is Tibor Tomacs.
+%%
+\NeedsTeXFormat{LaTeX2e}[1999/12/01]
+\ProvidesPackage{numspell-magyar}[2017/02/09 v1.0 Hungarian language package for numspell]
+
+%% Automatic Hungarian definite article ('a' or 'az')
+%% ---------------
+%% \numspell at az@hu
+%% ---------------
+%% E.g. \def\thenumspell{egy}\numspell at az@hu\thenumspell --> 'az egy'
+%% \def\thenumspell{hat}\numspell at az@hu\thenumspell --> 'a hat'
+%%
+\def\numspell at az@hu{%
+ \fullexpandarg%
+ \StrChar{\thenumspell}{1}[\numspell at firstletter]%
+ \expandarg%
+ \StrGobbleLeft{\thenumspell}{0}[\numspell at original]%
+ \fullexpandarg%
+ \def\numspell at the{}%
+ \IfStrEq{\numspell at firstletter}{e}{\g at addto@macro\numspell at the{az }}{% az egy, az ezer
+ \IfStrEq{\numspell at firstletter}{{\"{o}}}{\g at addto@macro\numspell at the{az }}{% az \"{o}t
+ \g at addto@macro\numspell at the{a }}}% a hat
+ \g at addto@macro\numspell at the{\numspell at original}%
+ \def\thenumspell{\numspell at the}%
+}
+
+%% Automatic Hungarian definite article ('A' or 'Az')
+%% ---------------
+%% \numspell at Az@hu
+%% ---------------
+%% E.g. \def\thenumspell{egy}\numspell at Az@hu\thenumspell --> 'Az egy'
+%% \def\thenumspell{hat}\numspell at Az@hu\thenumspell --> 'A hat'
+%%
+\def\numspell at Az@hu{%
+ \fullexpandarg%
+ \StrChar{\thenumspell}{1}[\numspell at firstletter]%
+ \expandarg%
+ \StrGobbleLeft{\thenumspell}{0}[\numspell at original]%
+ \fullexpandarg%
+ \def\numspell at the{}%
+ \IfStrEq{\numspell at firstletter}{e}{\g at addto@macro\numspell at the{Az }}{% Az egy, Az ezer
+ \IfStrEq{\numspell at firstletter}{{\"{o}}}{\g at addto@macro\numspell at the{Az }}{% Az \"{o}t
+ \g at addto@macro\numspell at the{A }}}% A hat, A nyolc,...
+ \g at addto@macro\numspell at the{\numspell at original}%
+ \def\thenumspell{\numspell at the}%
+}
+
+%% --------------------------
+%% \anumspell[<num2>]{<num1>} (Default <num2> is 0)
+%% --------------------------
+%% \numspell at num@spell at hu{<num1>}{<num2>}
+%% \numspell at az@hu
+%% \thenumspell
+%%
+%% ---------------------------
+%% \anumspell*[<num2>]{<num1>} works like \anumspell, but \thenumspell will not be expanded.
+%% ---------------------------
+%%
+\newcommand{\anumspell at output}[2][0]{\numspell at num@spell at hu{#2}{#1}\numspell at az@hu\thenumspell}
+\newcommand{\anumspell@@output}[2][0]{\numspell at num@spell at hu{#2}{#1}\numspell at az@hu\ignorespaces}
+\DeclareRobustCommand*{\anumspell}{%
+ \ifnum\pdf at strcmp{\languagename}{magyar}=\z@\else\@latexerr{'numspell.sty' error! \protect\anumspell\space supported only in 'magyar' language}{}\fi%
+ \@ifstar{\anumspell@@output}{\anumspell at output}%
+}
+
+%% --------------------------
+%% \Anumspell[<num2>]{<num1>} (Default <num2> is 0)
+%% --------------------------
+%% \numspell at num@spell at hu{<num1>}{<num2>}
+%% \numspell at Az@hu
+%% \thenumspell
+%%
+%% ---------------------------
+%% \Anumspell*[<num2>]{<num1>} works like \Anumspell, but \thenumspell will not be expanded.
+%% ---------------------------
+%%
+\newcommand{\Anumspell at output}[2][0]{\numspell at num@spell at hu{#2}{#1}\numspell at Az@hu\thenumspell}
+\newcommand{\Anumspell@@output}[2][0]{\numspell at num@spell at hu{#2}{#1}\numspell at Az@hu\ignorespaces}
+\DeclareRobustCommand*{\Anumspell}{%
+ \ifnum\pdf at strcmp{\languagename}{magyar}=\z@\else\@latexerr{'numspell.sty' error! \protect\Anumspell\space supported only in 'magyar' language}{}\fi%
+ \@ifstar{\Anumspell@@output}{\Anumspell at output}%
+}
+
+%% -----------------------------
+%% \aordnumspell[<num2>]{<num1>} (Default <num2> is 0)
+%% -----------------------------
+%% \numspell at ordnum@spell at hu{<num1>}{<num2>}
+%% \numspell at az@hu
+%% \thenumspell
+%%
+%% ------------------------------
+%% \aordnumspell*[<num2>]{<num1>} works like \aordnumspell, but \thenumspell will not be expanded.
+%% ------------------------------
+%%
+\newcommand{\aordnumspell at output}[2][0]{\numspell at ordnum@spell at hu{#2}{#1}\numspell at az@hu\thenumspell}
+\newcommand{\aordnumspell@@output}[2][0]{\numspell at ordnum@spell at hu{#2}{#1}\numspell at az@hu\ignorespaces}
+\DeclareRobustCommand*{\aordnumspell}{%
+ \ifnum\pdf at strcmp{\languagename}{magyar}=\z@\else\@latexerr{'numspell.sty' error! \protect\aordnumspell\space supported only in 'magyar' language}{}\fi%
+ \@ifstar{\aordnumspell@@output}{\aordnumspell at output}%
+}
+
+%% -----------------------------
+%% \Aordnumspell[<num2>]{<num1>} (Default <num2> is 0)
+%% -----------------------------
+%% \numspell at ordnum@spell at hu{<num1>}{<num2>}
+%% \numspell at Az@hu
+%% \thenumspell
+%%
+%% ------------------------------
+%% \Aordnumspell*[<num2>]{<num1>} works like \Aordnumspell, but \thenumspell will not be expanded.
+%% ------------------------------
+%%
+\newcommand{\Aordnumspell at output}[2][0]{\numspell at ordnum@spell at hu{#2}{#1}\numspell at Az@hu\thenumspell}
+\newcommand{\Aordnumspell@@output}[2][0]{\numspell at ordnum@spell at hu{#2}{#1}\numspell at Az@hu\ignorespaces}
+\DeclareRobustCommand*{\Aordnumspell}{%
+ \ifnum\pdf at strcmp{\languagename}{magyar}=\z@\else\@latexerr{'numspell.sty' error! \protect\Aordnumspell\space supported only in 'magyar' language}{}\fi%
+ \@ifstar{\Aordnumspell@@output}{\Aordnumspell at output}%
+}
+
+%% GROUP NAMES
+\def\numspell at group@ii at hu@name{\numspell@{ezer}}
+\def\numspell at group@iii at hu@name{\numspell@{milli\'{o}}}
+\def\numspell at group@iv at hu@name{\numspell@{milli\'{a}rd}}
+\def\numspell at group@v at hu@name{\numspell@{billi\'{o}}}
+\def\numspell at group@vi at hu@name{\numspell@{billi\'{a}rd}}
+\def\numspell at group@vii at hu@name{\numspell@{trilli\'{o}}}
+\def\numspell at group@viii at hu@name{\numspell@{trilli\'{a}rd}}
+\def\numspell at group@ix at hu@name{\numspell@{kvadrilli\'{o}}}
+\def\numspell at group@x at hu@name{\numspell@{kvadrilli\'{a}rd}}
+\def\numspell at group@xi at hu@name{\numspell@{kvintilli\'{o}}}
+\def\numspell at group@xii at hu@name{\numspell@{kvintilli\'{a}rd}}
+\def\numspell at group@xiii at hu@name{\numspell@{szextilli\'{o}}}
+\def\numspell at group@xiv at hu@name{\numspell@{szextilli\'{a}rd}}
+\def\numspell at group@xv at hu@name{\numspell@{szeptilli\'{o}}}
+\def\numspell at group@xvi at hu@name{\numspell@{szeptilli\'{a}rd}}
+\def\numspell at group@xvii at hu@name{\numspell@{oktilli\'{o}}}
+\def\numspell at group@xviii at hu@name{\numspell@{oktilli\'{a}rd}}
+\def\numspell at group@xix at hu@name{\numspell@{nonilli\'{o}}}
+\def\numspell at group@xx at hu@name{\numspell@{nonilli\'{a}rd}}
+\def\numspell at group@xxi at hu@name{\numspell@{decilli\'{o}}}
+\def\numspell at group@xxii at hu@name{\numspell@{decilli\'{a}rd}}
+
+%% ORDINAL GROUP NAMES
+\def\numspell at ordgroup@ii at hu@name{\numspell@{ezredik}}
+\def\numspell at ordgroup@iii at hu@name{\numspell@{milliomodik}}
+\def\numspell at ordgroup@iv at hu@name{\numspell@{milli\'{a}rdodik}}
+\def\numspell at ordgroup@v at hu@name{\numspell@{billiomodik}}
+\def\numspell at ordgroup@vi at hu@name{\numspell@{billi\'{a}rdodik}}
+\def\numspell at ordgroup@vii at hu@name{\numspell@{trilliomodik}}
+\def\numspell at ordgroup@viii at hu@name{\numspell@{trilli\'{a}rdodik}}
+\def\numspell at ordgroup@ix at hu@name{\numspell@{kvadrilliomodik}}
+\def\numspell at ordgroup@x at hu@name{\numspell@{kvadrilli\'{a}rdodik}}
+\def\numspell at ordgroup@xi at hu@name{\numspell@{kvintilliomodik}}
+\def\numspell at ordgroup@xii at hu@name{\numspell@{kvintilli\'{a}rdodik}}
+\def\numspell at ordgroup@xiii at hu@name{\numspell@{szextilliomodik}}
+\def\numspell at ordgroup@xiv at hu@name{\numspell@{szextilli\'{a}rdodik}}
+\def\numspell at ordgroup@xv at hu@name{\numspell@{szeptilliomodik}}
+\def\numspell at ordgroup@xvi at hu@name{\numspell@{szeptilli\'{a}rdodik}}
+\def\numspell at ordgroup@xvii at hu@name{\numspell@{oktilliomodik}}
+\def\numspell at ordgroup@xviii at hu@name{\numspell@{oktilli\'{a}rdodik}}
+\def\numspell at ordgroup@xix at hu@name{\numspell@{nonilliomodik}}
+\def\numspell at ordgroup@xx at hu@name{\numspell@{nonilli\'{a}rdodik}}
+\def\numspell at ordgroup@xxi at hu@name{\numspell@{decilliomodik}}
+\def\numspell at ordgroup@xxii at hu@name{\numspell@{decilli\'{a}rdodik}}
+
+%% SPELLING CARDINAL NUMBER GROUP
+%% ---------------------------------
+%% \numspell at group@spell at hu{<group>} (<group>=000,001,...,999)
+%% ---------------------------------
+%% \numspell at group@digits{<group>}
+%% Adding the <group> spelling to \thenumspell
+%%
+\def\numspell at group@spell at hu#1{%
+ \numspell at group@digits{#1}%
+ \ifcase\numspell at group@digit at i%
+ \or\or\numspell@{k\'{e}t}\or\numspell@{h\'{a}rom}\or\numspell@{n\'{e}gy}\or\numspell@{{\"{o}}t}% 1 --> 'ezeregysz\'{a}z' but 'sz\'{a}z'
+ \or\numspell@{hat}\or\numspell@{h\'{e}t}\or\numspell@{nyolc}\or\numspell@{kilenc}%
+ \fi%
+ \ifnum\numspell at group@digit at i>0%
+ \numspell@{sz\'{a}z}%
+ \fi%
+ \ifnum\numspell at group@digit at iii>0%
+ \ifcase\numspell at group@digit at ii%
+ \or\numspell@{tizen}\or\numspell@{huszon}%
+ \fi%
+ \else%
+ \ifcase\numspell at group@digit at ii%
+ \or\numspell@{t\'{i}z}\or\numspell@{h\'{u}sz}%
+ \fi%
+ \fi%
+ \ifcase\numspell at group@digit at ii%
+ \or\or\or\numspell@{harminc}\or\numspell@{negyven}\or\numspell@{{\"{o}}tven}\or\numspell@{hatvan}%
+ \or\numspell@{hetven}\or\numspell@{nyolcvan}\or\numspell@{kilencven}%
+ \fi%
+ \ifcase\numspell at group@digit at iii%
+ \or\numspell@{egy}\or\or\numspell@{h\'{a}rom}\or\numspell@{n\'{e}gy}\or\numspell@{{\"{o}}t}% 2 --> 'k\'{e}t' or 'kett\H{o}'
+ \or\numspell@{hat}\or\numspell@{h\'{e}t}\or\numspell@{nyolc}\or\numspell@{kilenc}%
+ \fi%
+}
+
+%% SPELLING ORDINAL NUMBER GROUP
+%% ------------------------------------
+%% \numspell at ordgroup@spell at hu{<group>} (<group>=000,001,...,999)
+%% ------------------------------------
+%% \numspell at group@digits{<group>}
+%% Adding the <group> ordinal spelling to \thenumspell
+%%
+\def\numspell at ordgroup@spell at hu#1{%
+ \numspell at group@digits{#1}%
+ \ifcase\numspell at group@digit at i%
+ \or\or\numspell@{k\'{e}t}\or\numspell@{h\'{a}rom}\or\numspell@{n\'{e}gy}\or\numspell@{{\"{o}}t}% 1 --> 'ezeregysz\'{a}z' but 'sz\'{a}z'
+ \or\numspell@{hat}\or\numspell@{h\'{e}t}\or\numspell@{nyolc}\or\numspell@{kilenc}%
+ \fi%
+ \ifnum\numspell at group@digit at i>0%
+ \ifnum\number\numexpr\numspell at group@digit at i*(\numspell at group@digit at ii+\numspell at group@digit at iii)>0%
+ \numspell@{sz\'{a}z}%
+ \else%
+ \numspell@{sz\'{a}zadik}%
+ \fi%
+ \fi%
+ \ifnum\numspell at group@digit at iii>0%
+ \ifcase\numspell at group@digit at ii%
+ \or\numspell@{tizen}\or\numspell@{huszon}\or\numspell@{harminc}\or\numspell@{negyven}\or\numspell@{{\"{o}}tven}%
+ \or\numspell@{hatvan}\or\numspell@{hetven}\or\numspell@{nyolcvan}\or\numspell@{kilencven}%
+ \fi%
+ \else%
+ \ifcase\numspell at group@digit at ii%
+ \or\numspell@{tizedik}\or\numspell@{huszadik}\or\numspell@{harmincadik}\or\numspell@{negyvenedik}%
+ \or\numspell@{{\"{o}}tvenedik}\or\numspell@{hatvanadik}\or\numspell@{hetvenedik}%
+ \or\numspell@{nyolcvanadik}\or\numspell@{kilencvenedik}%
+ \fi%
+ \fi%
+ \ifcase\numspell at group@digit at iii%
+ \or\or\or\numspell@{harmadik}\or\numspell@{negyedik}\or\numspell@{{\"{o}}t\"{o}dik}% 1 --> 'els\H{o}' or 'egyedik' 2 --> 'm\'{a}sodik' or 'kettedik'
+ \or\numspell@{hatodik}\or\numspell@{hetedik}\or\numspell@{nyolcadik}\or\numspell@{kilencedik}%
+ \fi%
+}
+
+%% SPELLING CARDINAL NUMBER
+%% --------------------------------------
+%% \numspell at num@spell at hu{<num1>}{<num2>}
+%% --------------------------------------
+%% \numspell at groups{<num1>}{<num2>}
+%% Adding the \numspell at num spelling to \thenumspell
+%%
+\def\numspell at num@spell at hu#1#2{%
+ \gdef\thenumspell{}%
+ \numspell at groups{#1}{#2}%
+ \setcounter{numspell at groupcount}{22}%
+ \@whilenum\value{numspell at groupcount}>2%
+ \do{%
+ \IfEq{\csname numspell at group@\roman{numspell at groupcount}\endcsname}{0}{}{%
+ \numspell at group@digits{\csname numspell at group@\roman{numspell at groupcount}\endcsname}%
+ \ifnum\numspell at group@max>\value{numspell at groupcount}%
+ \ifcase\numspell at group@digit at i\or\numspell@{egy}\fi%
+ \fi%
+ \numspell at group@spell at hu{\csname numspell at group@\roman{numspell at groupcount}\endcsname}%
+ \ifcase\numspell at group@digit at iii\or\or\numspell@{k\'{e}t}\fi%
+ \csname numspell at group@\roman{numspell at groupcount}@hu at name\endcsname%
+ \ifnum\numspell at group@min<\value{numspell at groupcount}\numspell at dash@\fi%
+ }%
+ \addtocounter{numspell at groupcount}{-1}%
+ }%
+ \IfEq{\numspell at group@ii}{0}{}{%
+ \numspell at group@digits{\numspell at group@ii}%
+ \ifnum\numspell at group@max>2%
+ \ifcase\numspell at group@digit at i\or\numspell@{egy}\fi%
+ \fi%
+ \IfEq{\numspell at group@ii}{1}{%
+ \ifnum\numspell at group@max>2%
+ \numspell at group@spell at hu{\numspell at group@ii}%
+ \fi}%
+ {\numspell at group@spell at hu{\numspell at group@ii}}%
+ \ifcase\numspell at group@digit at iii\or\or\numspell@{k\'{e}t}\fi%
+ \numspell at group@ii at hu@name%
+ \ifnum\numspell at group@min<2%
+ \IfEq{\numspell at group@ii}{1}{}{\numspell at dash@}%
+ \fi%
+ }%
+ \IfEq{\numspell at group@i}{0}{}{%
+ \numspell at group@digits{\numspell at group@i}%
+ \ifnum\numspell at group@max>1%
+ \ifcase\numspell at group@digit at i\or\numspell@{egy}\fi%
+ \fi%
+ \numspell at group@spell at hu{\numspell at group@i}%
+ \ifcase\numspell at group@digit at iii\or\or\numspell@{kett\H{o}}\fi%
+ }%
+ \ifnum\numspell at group@max=0\numspell@{nulla}\fi%
+}
+
+%% SPELLING ORDINAL NUMBER
+%% -----------------------------------------
+%% \numspell at ordnum@spell at hu{<num1>}{<num2>}
+%% -----------------------------------------
+%% \numspell at groups{<num1>}{<num2>}
+%% Adding the \numspell at num ordinal spelling to \thenumspell
+%%
+\def\numspell at ordnum@spell at hu#1#2{%
+ \gdef\thenumspell{}%
+ \numspell at groups{#1}{#2}%
+ \setcounter{numspell at groupcount}{22}%
+ \@whilenum\value{numspell at groupcount}>2%
+ \do{%
+ \IfEq{\csname numspell at group@\roman{numspell at groupcount}\endcsname}{0}{}{%
+ \numspell at group@digits{\csname numspell at group@\roman{numspell at groupcount}\endcsname}%
+ \ifnum\numspell at group@max>\value{numspell at groupcount}%
+ \ifcase\numspell at group@digit at i\or\numspell@{egy}\fi%
+ \fi%
+ \numspell at group@spell at hu{\csname numspell at group@\roman{numspell at groupcount}\endcsname}%
+ \ifcase\numspell at group@digit at iii\or\or\numspell@{k\'{e}t}\fi%
+ \ifnum\numspell at group@min<\value{numspell at groupcount}%
+ \csname numspell at group@\roman{numspell at groupcount}@hu at name\endcsname%
+ \numspell at dash@%
+ \else%
+ \csname numspell at ordgroup@\roman{numspell at groupcount}@hu at name\endcsname%
+ \fi%
+ }%
+ \addtocounter{numspell at groupcount}{-1}%
+ }%
+ \IfEq{\numspell at group@ii}{0}{}{%
+ \numspell at group@digits{\numspell at group@ii}%
+ \ifnum\numspell at group@max>2%
+ \ifcase\numspell at group@digit at i\or\numspell@{egy}\fi%
+ \fi%
+ \IfEq{\numspell at group@ii}{1}{%
+ \ifnum\numspell at group@max>2%
+ \numspell at group@spell at hu{\numspell at group@ii}%
+ \fi}%
+ {\numspell at group@spell at hu{\numspell at group@ii}}%
+ \ifcase\numspell at group@digit at iii\or\or\numspell@{k\'{e}t}\fi%
+ \ifnum\numspell at group@min<2%
+ \numspell at group@ii at hu@name%
+ \IfEq{\numspell at group@ii}{1}{}{\numspell at dash@}%
+ \else%
+ \numspell at ordgroup@ii at hu@name%
+ \fi%
+ }%
+ \IfEq{\numspell at group@i}{0}{}{%
+ \numspell at group@digits{\numspell at group@i}%
+ \ifnum\numspell at group@max>1%
+ \ifcase\numspell at group@digit at i\or\numspell@{egy}\fi%
+ \fi%
+ \numspell at ordgroup@spell at hu{\numspell at group@i}%
+ \ifnum\numspell at numlength>1%
+ \ifcase\numspell at group@digit at iii%
+ \or\numspell@{egyedik}\or\numspell@{kettedik}%
+ \fi%
+ \else%
+ \ifcase\numspell at group@digit at iii%
+ \or\numspell@{els\H{o}}\or\numspell@{m\'{a}sodik}%
+ \fi%
+ \fi%
+ }%
+ \ifnum\numspell at group@max=0\numspell@{nulladik}\fi%
+}
+
+%% ----------------------
+%% \numspell at uppercase@hu
+%% ----------------------
+%% E.g. \def\thenumspell{egy}\numspell at uppercase\thenumspell --> 'Egy'
+%% \MakeUppercase does not work on pdf bookmark (see hyperref), so using another effective macro.
+%%
+\def\numspell at uppercase@hu{%
+ \fullexpandarg%
+ \StrChar{\thenumspell}{1}[\numspell at firstletter]%
+ \expandarg%
+ \StrGobbleLeft{\thenumspell}{1}[\numspell at trunc]%
+ \fullexpandarg%
+ \def\numspell at the{}%
+ \IfStrEq{\numspell at firstletter}{e}{\g at addto@macro\numspell at the{E}}{}% egy
+ \IfStrEq{\numspell at firstletter}{k}{\g at addto@macro\numspell at the{K}}{}% kett\H{o}
+ \IfStrEq{\numspell at firstletter}{m}{\g at addto@macro\numspell at the{M}}{}% m\'{a}sodik
+ \IfStrEq{\numspell at firstletter}{h}{\g at addto@macro\numspell at the{H}}{}% h\'{a}rom
+ \IfStrEq{\numspell at firstletter}{n}{\g at addto@macro\numspell at the{N}}{}% n\'{e}gy
+ \IfStrEq{\numspell at firstletter}{{\"{o}}}{\g at addto@macro\numspell at the{\"{O}}}{}% \"{o}t
+ \IfStrEq{\numspell at firstletter}{t}{\g at addto@macro\numspell at the{T}}{}% t\'{i}z
+ \IfStrEq{\numspell at firstletter}{s}{\g at addto@macro\numspell at the{S}}{}% sz\'{a}z
+ \ifx\numspell at the\@empty\@latexerr{'numspell.sty' error! There is not '\numspell at firstletter' in uppercase!}{}\fi%
+ \g at addto@macro\numspell at the{\numspell at trunc}%
+ \def\thenumspell{\numspell at the}%
+}
+
+\endinput
\ No newline at end of file
Added: trunk/Master/texmf-dist/tex/latex/numspell/numspell.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/numspell/numspell.sty (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/numspell/numspell.sty 2017-02-10 23:31:15 UTC (rev 43189)
@@ -0,0 +1,295 @@
+%%
+%% `numspell.sty'
+%%
+%% Package for spelling the non-negative cardinal and ordinal numbers (maximum 66 digits).
+%%
+%% Copyright 2017- by Tibor Tomacs
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+%%
+%% This work has the LPPL maintenance status `maintained'.
+%%
+%% The Current Maintainer of this work is Tibor Tomacs.
+%%
+\NeedsTeXFormat{LaTeX2e}[1999/12/01]
+\ProvidesPackage{numspell}[2017/02/09 v1.0 Package for spelling cardinal and ordinal numbers]
+
+\RequirePackage{xstring}
+\RequirePackage{pdftexcmds}
+\RequirePackage{etoolbox}
+
+\newcounter{numspell at counter@tempa}
+\newcounter{numspell at counter@tempb}
+\newcounter{numspell at counter@tempc}
+\newcounter{numspell at groupcount}
+
+%% -------------------------------
+%% \numspell at group@digits{<group>} (<group>=000,001,...,999)
+%% -------------------------------
+%% It generates the following parameters:
+%%
+%% \numspell at group@digit at i = 1st digit
+%% \numspell at group@digit at ii = 2nd digit
+%% \numspell at group@digit at iii = 3rd digit
+%%
+\def\numspell at group@digits#1{%
+ \StrChar{#1}{1}[\numspell at group@digit at i]%
+ \StrChar{#1}{2}[\numspell at group@digit at ii]%
+ \StrChar{#1}{3}[\numspell at group@digit at iii]%
+}
+
+%% --------------------------------
+%% \numspell at groups{<num1>}{<num2>} (<num1>*10^<num2>=0,1,...,999999999999...9 (66 digits)=10^67-1)
+%% --------------------------------
+%% It generates the following parameters:
+%%
+%% \numspell at num = <num1>*10^<num2>
+%% \numspell at numlength = number of \numspell at num digits
+%% \numspell at fullnum = (66-\numspell at numlength) pieces 0, then \numspell at num
+%% \numspell at group@i = 64th, 65th and 66th digits of \numspell at fullnum --> [group1]
+%% \numspell at group@ii = 61th, 62th and 63th digits of \numspell at fullnum --> [group2]
+%% \numspell at group@iii = 58th, 59th and 60th digits of \numspell at fullnum --> [group3]
+%% ... ... ...
+%% \numspell at group@xxii = 1st, 2nd and 3rd digits of \numspell at fullnum --> [group22]
+%% \numspell at group@max = maximum <number>, which such that, [group<number>] is positive
+%% \numspell at group@min = minimum <number>, which such that, [group<number>] is positive
+%% \numspell at group@<num>@before = number of positive groups, whose serial number is less then <num> (<num>=ii,iii,...,xxii)
+%%
+\def\numspell at groups#1#2{%
+ \def\numspell at num{#1}%
+ \setcounter{numspell at counter@tempa}{0}%
+ \@whilenum\value{numspell at counter@tempa}<#2%
+ \do{%
+ \stepcounter{numspell at counter@tempa}%
+ \g at addto@macro\numspell at num{0}%
+ }%
+ \def\numspell at fullnum{}%
+ \StrLen{\numspell at num}[\numspell at numlength]%
+ \ifnum\numspell at numlength>66\@latexerr{Number too big (\numspell at numlength\space digits). Maximum 66 digits}{}\fi%
+ \setcounter{numspell at counter@tempa}{66}%
+ \addtocounter{numspell at counter@tempa}{-\numspell at numlength}%
+ \setcounter{numspell at counter@tempb}{0}%
+ \@whilenum\value{numspell at counter@tempb}<\value{numspell at counter@tempa}%
+ \do{%
+ \stepcounter{numspell at counter@tempb}%
+ \g at addto@macro\numspell at fullnum{0}%
+ }%
+ \g at addto@macro\numspell at fullnum{\numspell at num}%
+ \StrMid{\numspell at fullnum}{64}{66}[\numspell at group@i]%
+ \StrMid{\numspell at fullnum}{61}{63}[\numspell at group@ii]%
+ \StrMid{\numspell at fullnum}{58}{60}[\numspell at group@iii]%
+ \StrMid{\numspell at fullnum}{55}{57}[\numspell at group@iv]%
+ \StrMid{\numspell at fullnum}{52}{54}[\numspell at group@v]%
+ \StrMid{\numspell at fullnum}{49}{51}[\numspell at group@vi]%
+ \StrMid{\numspell at fullnum}{46}{48}[\numspell at group@vii]%
+ \StrMid{\numspell at fullnum}{43}{45}[\numspell at group@viii]%
+ \StrMid{\numspell at fullnum}{40}{42}[\numspell at group@ix]%
+ \StrMid{\numspell at fullnum}{37}{39}[\numspell at group@x]%
+ \StrMid{\numspell at fullnum}{34}{36}[\numspell at group@xi]%
+ \StrMid{\numspell at fullnum}{31}{33}[\numspell at group@xii]%
+ \StrMid{\numspell at fullnum}{28}{30}[\numspell at group@xiii]%
+ \StrMid{\numspell at fullnum}{25}{27}[\numspell at group@xiv]%
+ \StrMid{\numspell at fullnum}{22}{24}[\numspell at group@xv]%
+ \StrMid{\numspell at fullnum}{19}{21}[\numspell at group@xvi]%
+ \StrMid{\numspell at fullnum}{16}{18}[\numspell at group@xvii]%
+ \StrMid{\numspell at fullnum}{13}{15}[\numspell at group@xviii]%
+ \StrMid{\numspell at fullnum}{10}{12}[\numspell at group@xix]%
+ \StrMid{\numspell at fullnum}{7}{9}[\numspell at group@xx]%
+ \StrMid{\numspell at fullnum}{4}{6}[\numspell at group@xxi]%
+ \StrMid{\numspell at fullnum}{1}{3}[\numspell at group@xxii]%
+ \def\numspell at group@max{0}%
+ \setcounter{numspell at counter@tempa}{0}%
+ \@whilenum\value{numspell at counter@tempa}<22%
+ \do{%
+ \stepcounter{numspell at counter@tempa}%
+ \ifnum\csname numspell at group@\roman{numspell at counter@tempa}\endcsname>0%
+ \edef\numspell at group@max{\thenumspell at counter@tempa}%
+ \fi%
+ }%
+ \def\numspell at group@min{0}%
+ \setcounter{numspell at counter@tempa}{23}%
+ \@whilenum\value{numspell at counter@tempa}>1%
+ \do{%
+ \addtocounter{numspell at counter@tempa}{-1}%
+ \ifnum\csname numspell at group@\roman{numspell at counter@tempa}\endcsname>0%
+ \edef\numspell at group@min{\thenumspell at counter@tempa}%
+ \fi%
+ }%
+ \setcounter{numspell at counter@tempa}{1}%
+ \@whilenum\value{numspell at counter@tempa}<22%
+ \do{%
+ \stepcounter{numspell at counter@tempa}%
+ \setcounter{numspell at counter@tempb}{1}%
+ \setcounter{numspell at counter@tempc}{0}%
+ \@whilenum\value{numspell at counter@tempb}<\value{numspell at counter@tempa}%
+ \do{%
+ \ifnum\csname numspell at group@\roman{numspell at counter@tempb}\endcsname>0%
+ \stepcounter{numspell at counter@tempc}%
+ \fi%
+ \stepcounter{numspell at counter@tempb}%
+ }%
+ \expandafter\protected at edef\csname numspell at group@\roman{numspell at counter@tempa}@before\endcsname{\thenumspell at counter@tempc}%
+ }%
+}
+
+%% --------------------
+%% \numspell@{<string>}
+%% --------------------
+%% E.g. \def\thenumspell{}\numspell@{one}\numspell@{ hundred}\thenumspell --> 'one hundred'
+%%
+\def\thenumspell{}
+\def\numspell@#1{\g at addto@macro\thenumspell{#1}}
+
+%% ---------------------
+%% \numspellsave{<name>}
+%% ---------------------
+%% E.g. \def\thenumspell{one}\numspellsave{foo}\thenumspellfoo --> 'one'
+%%
+\DeclareRobustCommand*{\numspellsave}[1]{\expandafter\protected at xdef\csname thenumspell#1\endcsname{\thenumspell}\ignorespaces}
+
+%% -------------------------------
+%% \numspelldashspace{<length>}
+%% -------------------------------
+%% It determinates the maximal flexibility of the spaces around the dashes. Default: 2pt
+%% E.g. \numspelldashspace{5pt} --> \numspell at dash@ = \numspell@{\nobreak\hskip0pt plus5pt-\hskip0pt plus5pt}
+%%
+\def\numspell at dash@@#1{\leavevmode\nobreak\hskip0pt plus#1-\hskip0pt plus#1\relax}
+\def\numspelldashspace#1{\def\numspell at dash@{\numspell@{\numspell at dash@@{#1}}}\ignorespaces}
+\numspelldashspace{2pt}
+
+%% -------------------------
+%% \numspell[<num2>]{<num1>} (Default <num2> is 0)
+%% -------------------------
+%% \numspell at num@spell@<lang>{<num1>}{<num2>}\thenumspell
+%%
+%% --------------------------
+%% \numspell*[<num2>]{<num1>}
+%% --------------------------
+%% It works like \numspell, but \thenumspell will not be expanded.
+%%
+\newcommand{\numspell at output}[2][0]{\csname numspell at num@spell@\numspell at langname\endcsname{#2}{#1}\thenumspell}
+\newcommand{\numspell@@output}[2][0]{\csname numspell at num@spell@\numspell at langname\endcsname{#2}{#1}\ignorespaces}
+\DeclareRobustCommand*{\numspell}{\numspell at lang@check\@ifstar{\numspell@@output}{\numspell at output}}
+
+%% -------------------------
+%% \Numspell[<num2>]{<num1>} (Default <num2> is 0)
+%% -------------------------
+%% \numspell at num@spell@<lang>{<num1>}{<num2>}\numspell at uppercase\thenumspell
+%%
+%% --------------------------
+%% \Numspell*[<num2>]{<num1>}
+%% --------------------------
+%% It works like \Numspell, but \thenumspell will not be expanded.
+%%
+\newcommand{\Numspell at output}[2][0]{\csname numspell at num@spell@\numspell at langname\endcsname{#2}{#1}%
+ \csname numspell at uppercase@\numspell at langname\endcsname\thenumspell}
+\newcommand{\Numspell@@output}[2][0]{\csname numspell at num@spell@\numspell at langname\endcsname{#2}{#1}%
+ \csname numspell at uppercase@\numspell at langname\endcsname\ignorespaces}
+\DeclareRobustCommand*{\Numspell}{\numspell at lang@check\@ifstar{\Numspell@@output}{\Numspell at output}}
+
+%% ----------------------------
+%% \ordnumspell[<num2>]{<num1>} (Default <num2> is 0)
+%% ----------------------------
+%% \numspell at ordnum@spell@<lang>{<num1>}{<num2>}\thenumspell
+%%
+%% -----------------------------
+%% \ordnumspell*[<num2>]{<num1>}
+%% -----------------------------
+%% It works like \ordnumspell, but \thenumspell will not be expanded.
+%%
+\newcommand{\ordnumspell at output}[2][0]{\csname numspell at ordnum@spell@\numspell at langname\endcsname{#2}{#1}\thenumspell}
+\newcommand{\ordnumspell@@output}[2][0]{\csname numspell at ordnum@spell@\numspell at langname\endcsname{#2}{#1}\ignorespaces}
+\DeclareRobustCommand*{\ordnumspell}{\numspell at lang@check\@ifstar{\ordnumspell@@output}{\ordnumspell at output}}
+
+%% ----------------------------
+%% \Ordnumspell[<num2>]{<num1>} (Default <num2> is 0)
+%% ----------------------------
+%% \numspell at ordnum@spell@<lang>{<num1>}{<num2>}\numspell at uppercase\thenumspell
+%%
+%% -----------------------------
+%% \Ordnumspell*[<num2>]{<num1>}
+%% -----------------------------
+%% It works like \Ordnumspell, but \thenumspell will not be expanded.
+%%
+\newcommand{\Ordnumspell at output}[2][0]{\csname numspell at ordnum@spell@\numspell at langname\endcsname{#2}{#1}%
+ \csname numspell at uppercase@\numspell at langname\endcsname\thenumspell}
+\newcommand{\Ordnumspell@@output}[2][0]{\csname numspell at ordnum@spell@\numspell at langname\endcsname{#2}{#1}%
+ \csname numspell at uppercase@\numspell at langname\endcsname\ignorespaces}
+\DeclareRobustCommand*{\Ordnumspell}{\numspell at lang@check\@ifstar{\Ordnumspell@@output}{\Ordnumspell at output}}
+
+%% --------------------
+%% \numspell at lang@check
+%% --------------------
+%% If english is active, then \numspell at langname will be 'en'.
+%% If magyar is active, then \numspell at langname will be 'hu'.
+%% If german is active, then \numspell at langname will be 'de'.
+%% If french is active, then \numspell at langname will be 'fr'.
+%% Otherwise error.
+%%
+\newif\if at numspell@lang at notsupported@
+\def\numspell at lang@check{%
+ \@numspell at lang@notsupported at true%
+ \ifnum\pdf at strcmp{\languagename}{english}=\z@\@numspell at lang@notsupported at false\def\numspell at langname{en}\fi%
+ \ifnum\pdf at strcmp{\languagename}{magyar}=\z@\@numspell at lang@notsupported at false\def\numspell at langname{hu}\fi%
+ \ifnum\pdf at strcmp{\languagename}{german}=\z@\@numspell at lang@notsupported at false\def\numspell at langname{de}\fi%
+ \ifnum\pdf at strcmp{\languagename}{french}=\z@\@numspell at lang@notsupported at false\def\numspell at langname{fr}\fi%
+ \if at numspell@lang at notsupported@\@latexerr{'numspell.sty' error! Not supported language: \languagename}{}\fi%
+}
+
+%% -------------------------
+%% Loading language packages
+%% -------------------------
+%% If babel or polyglossia loads english, then numspell loads numspell-english.sty.
+%% If babel or polyglossia loads magyar, then numspell loads numspell-magyar.sty.
+%% If babel or polyglossia loads german, then numspell loads numspell-german.sty.
+%% If babel or polyglossia loads german, then numspell loads numspell-french.sty.
+%% Otherwise numspell loads numspell-english.sty.
+%%
+\AtEndPreamble{%
+\newif\if at numspell@lang at loaded@
+\bbl at iflanguage\languagename{\expandafter\ifx\csname dateenglish\endcsname\relax\else\RequirePackage{numspell-english}\@numspell at lang@loaded at true\fi}%
+\bbl at iflanguage\languagename{\expandafter\ifx\csname datemagyar\endcsname\relax\else\RequirePackage{numspell-magyar}\@numspell at lang@loaded at true\fi}%
+\bbl at iflanguage\languagename{\expandafter\ifx\csname dategerman\endcsname\relax\else\RequirePackage{numspell-german}\@numspell at lang@loaded at true\fi}%
+\bbl at iflanguage\languagename{\expandafter\ifx\csname datefrench\endcsname\relax\else\RequirePackage{numspell-french}\@numspell at lang@loaded at true\fi}%
+\if at numspell@lang at loaded@\else\RequirePackage{numspell-english}\fi%
+}
+
+%% ---------------------------------
+%% Instructions for language package
+%% ---------------------------------
+%%
+%% If the language name is <language> in babel or polyglossia,
+%% then the name of the language package file will be numspell-<language>.sty (e.g. numspell-english.sty).
+%%
+%% Extend the following commands in the numspell.sty:
+%% \AtEndPreamble
+%% \numspell at lang@check (Use the \def\numspell at langname{<lang>}, where <lang> is abbreviation of the <language>, e.g. 'en' in case 'english'.)
+%%
+%% Define the following commands in numspell-<language>.sty:
+%% \numspell at uppercase@<lang>
+%% \numspell at group@<num>@<lang>@name
+%% \numspell at ordgroup@<num>@<lang>@name
+%% \numspell at group@spell@<lang>
+%% \numspell at ordgroup@spell@<lang>
+%% \numspell at num@spell@<lang>
+%% \numspell at ordnum@spell@<lang>
+%% (See <lang> at \numspell at lang@check.)
+%%
+%% Put into the \numspell@{...} command the words of the spelling (e.g. \numspell@{one}).
+%%
+%% Type the non-ascii characters as LaTeX-commands: \'{a}, \'{e}, \ss{}, etc.
+%%
+%% If the first character is non-ascii, then place it within braces (see \numspell at uppercase@<lang>) (e.g. {\"{o}}t).
+%%
+%% Do not use \numspell@{-} as dash! Instead of it: \numspell at dash@ (see \numspelldashspace).
+%%
+%% Do not use the following form: \def\foo{text} ... \numspell@{\foo}
+%% Instead of it: \def\numspell at foo@<lang>{\numspell@{text}} ... \numspell at foo@<lang>
+
+\endinput
\ No newline at end of file
Modified: trunk/Master/tlpkg/bin/tlpkg-ctan-check
===================================================================
--- trunk/Master/tlpkg/bin/tlpkg-ctan-check 2017-02-10 23:30:33 UTC (rev 43188)
+++ trunk/Master/tlpkg/bin/tlpkg-ctan-check 2017-02-10 23:31:15 UTC (rev 43189)
@@ -438,7 +438,7 @@
nomencl nomentbl nonfloat nonumonpart nopageno norasi-c90 normalcolor
nostarch notes notes2bib notespages notex-bst noto notoccite nowidow nox
nrc ntgclass ntheorem ntheorem-vn nuc nucleardata
- numberedblock numericplots numname numprint nwejm
+ numberedblock numericplots numname numprint numspell nwejm
oberdiek objectz obnov
ocg-p ocgx ocgx2 ocherokee ocr-b ocr-b-outline ocr-latex octavo
odsfile ofs
Modified: trunk/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc
===================================================================
--- trunk/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc 2017-02-10 23:30:33 UTC (rev 43188)
+++ trunk/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc 2017-02-10 23:31:15 UTC (rev 43189)
@@ -727,6 +727,7 @@
depend numberedblock
depend numname
depend numprint
+depend numspell
depend ocg-p
depend ocgx
depend ocgx2
Added: trunk/Master/tlpkg/tlpsrc/numspell.tlpsrc
===================================================================
More information about the tex-live-commits
mailing list