texlive[45361] Master/texmf-dist: numspell (20sep17)

commits+karl at tug.org commits+karl at tug.org
Thu Sep 21 00:37:47 CEST 2017


Revision: 45361
          http://tug.org/svn/texlive?view=revision&revision=45361
Author:   karl
Date:     2017-09-21 00:37:47 +0200 (Thu, 21 Sep 2017)
Log Message:
-----------
numspell (20sep17)

Modified Paths:
--------------
    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/numspell.sty

Modified: trunk/Master/texmf-dist/doc/latex/numspell/numspell.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/numspell/numspell.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/numspell/numspell.tex	2017-09-20 22:37:35 UTC (rev 45360)
+++ trunk/Master/texmf-dist/doc/latex/numspell/numspell.tex	2017-09-20 22:37:47 UTC (rev 45361)
@@ -21,7 +21,7 @@
 \usepackage[utf8]{inputenc}
 \usepackage[T1]{fontenc}
 \usepackage{numspell}
-\usepackage[magyar,german,french,english]{babel}
+\usepackage[magyar,ngerman,french,english]{babel}
 \usepackage{listings,xcolor,amsmath,upquote}
 \usepackage[group-separator={,}]{siunitx}
 \flushbottom
@@ -52,7 +52,7 @@
 
 \begin{document}
 
-\title{The {\bfseries\sffamily numspell} package\\{\large v1.0 (2017/02/09)}}
+\title{The {\bfseries\sffamily numspell} package\\{\large v1.1 (2017/09/20)}}
 \author{Tibor Tómács\\{\normalsize\url{tomacs.tibor at uni-eszterhazy.hu}}}
 \date{}
 \maketitle
@@ -394,7 +394,7 @@
 \documentclass{article}
 \usepackage[utf8]{inputenc}
 \usepackage[T1]{fontenc}
-\usepackage[magyar,german,french,english]{babel}
+\usepackage[magyar,ngerman,french,english]{babel}
 \usepackage{numspell}
 \usepackage[group-separator={,}]{siunitx}
 \begin{document}
@@ -411,7 +411,7 @@
 
 \smallskip\noindent
 In German the spelling of \num{\mynum} is
-{\selectlanguage{german}\emph{``\numspell{\mynum}''}}.
+{\selectlanguage{ngerman}\emph{``\numspell{\mynum}''}}.
 
 \smallskip\noindent
 In French the spelling of \num{\mynum} is
@@ -435,7 +435,7 @@
 
 \smallskip\noindent
 In German the spelling of \num{\mynum} is
-{\selectlanguage{german}\emph{``\numspell{\mynum}''}}.
+{\selectlanguage{ngerman}\emph{``\numspell{\mynum}''}}.
 
 \smallskip\noindent
 In French the spelling of \num{\mynum} is

Modified: trunk/Master/texmf-dist/tex/latex/numspell/numspell.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/numspell/numspell.sty	2017-09-20 22:37:35 UTC (rev 45360)
+++ trunk/Master/texmf-dist/tex/latex/numspell/numspell.sty	2017-09-20 22:37:47 UTC (rev 45361)
@@ -18,7 +18,7 @@
 %% 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]
+\ProvidesPackage{numspell}[2017/09/20 v1.1 Package for spelling cardinal and ordinal numbers]
 
 \RequirePackage{xstring}
 \RequirePackage{pdftexcmds}
@@ -228,7 +228,7 @@
 %% --------------------
 %% 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 german or ngerman is active, then \numspell at langname will be 'de'.
 %% If french is active, then \numspell at langname will be 'fr'.
 %% Otherwise error.
 %%
@@ -238,6 +238,7 @@
     \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}{ngerman}=\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%
 }
@@ -247,8 +248,8 @@
 %% -------------------------
 %% 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.
+%% If babel or polyglossia loads german or ngerman, then numspell loads numspell-german.sty.
+%% If babel or polyglossia loads french, then numspell loads numspell-french.sty.
 %% Otherwise numspell loads numspell-english.sty.
 %%
 \AtEndPreamble{%
@@ -256,6 +257,7 @@
 \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 datengerman\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%
 }



More information about the tex-live-commits mailing list