texlive[76137] Master/texmf-dist: fmtcount (24aug25)

commits+karl at tug.org commits+karl at tug.org
Sun Aug 24 22:51:03 CEST 2025


Revision: 76137
          https://tug.org/svn/texlive?view=revision&revision=76137
Author:   karl
Date:     2025-08-24 22:51:02 +0200 (Sun, 24 Aug 2025)
Log Message:
-----------
fmtcount (24aug25)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/fmtcount/CHANGES
    trunk/Master/texmf-dist/doc/latex/fmtcount/README
    trunk/Master/texmf-dist/doc/latex/fmtcount/fmtcount.pdf
    trunk/Master/texmf-dist/source/latex/fmtcount/fmtcount.dtx
    trunk/Master/texmf-dist/source/latex/fmtcount/fmtcount.ins
    trunk/Master/texmf-dist/tex/latex/fmtcount/fc-italian.def
    trunk/Master/texmf-dist/tex/latex/fmtcount/fmtcount.sty

Modified: trunk/Master/texmf-dist/doc/latex/fmtcount/CHANGES
===================================================================
--- trunk/Master/texmf-dist/doc/latex/fmtcount/CHANGES	2025-08-24 20:50:49 UTC (rev 76136)
+++ trunk/Master/texmf-dist/doc/latex/fmtcount/CHANGES	2025-08-24 20:51:02 UTC (rev 76137)
@@ -1,5 +1,11 @@
 fmtcount package versions:
 
+Version 3.11
+
+* Improve documentation
+
+* Fix bug in italian capitalized ordinals
+
 Version 3.10
 
 * Improve documentation

Modified: trunk/Master/texmf-dist/doc/latex/fmtcount/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/fmtcount/README	2025-08-24 20:50:49 UTC (rev 76136)
+++ trunk/Master/texmf-dist/doc/latex/fmtcount/README	2025-08-24 20:51:02 UTC (rev 76137)
@@ -1,6 +1,6 @@
-LaTeX Package : fmtcount v3.10
+LaTeX Package : fmtcount v3.11
 
-Last Modified : 2025-02-09
+Last Modified : 2025-08-23
 
 Author        : Nicola Talbot (inactive), Vincent Belaïche and Erik Nijenhuis
 

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

Modified: trunk/Master/texmf-dist/source/latex/fmtcount/fmtcount.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/fmtcount/fmtcount.dtx	2025-08-24 20:50:49 UTC (rev 76136)
+++ trunk/Master/texmf-dist/source/latex/fmtcount/fmtcount.dtx	2025-08-24 20:51:02 UTC (rev 76137)
@@ -1,12 +1,12 @@
 %\iffalse
 % fmtcount.dtx generated using makedtx version 1.2 (c) Nicola Talbot
 % Command line args:
+%   -src "(.+)\.(sty|def)$=>\1.\2"
 %   -setambles "(.*)\.(sty|def)=>\nopreamble\usepreamble\defaultpreamble"
 %   -author "Nicola Talbot (inactive), Vincent Belaïche and Erik Nijenhuis"
-%   -src "(.+)\.(sty|def)$=>\1.\2"
 %   -doc "fmtcount-manual.tex"
 %   fmtcount
-% Created on 2025/2/9 11:19
+% Created on 2025/8/23 17:33
 %\fi
 %\iffalse
 %<*package>
@@ -34,6 +34,7 @@
 % \iffalse
 %<*driver>
 \documentclass{nlctdoc}
+\usepackage{array}[=v2.5]
 
 \usepackage{color}
 \usepackage[utf8]{inputenc}
@@ -105,7 +106,7 @@
 % \and
 % Erik Nijenhuis\\
 % \href{https://github.com/Xerdi/fmtcount}{github.com/Xerdi/fmtcount}}
-% \date{2025-02-09 (version 3.10)\relax
+% \date{2025-08-23 (version 3.11)\relax
 %}
 % \maketitle
 % \tableofcontents
@@ -908,8 +909,8 @@
 %
 %So (where we use visible spaces ``\verb*! !'' to demonstrate the point):
 %\begin{itemize}
-%\item ``x\cs{odinalnum\{2\}}\verb*! !\texttt{x}'' will be typeset to ``x\ordinalnum{2}\textvisiblespace x'', while
-%\item ``x\cs{storeodinalnum\{mylabel\}\{2\}}\verb*! !\texttt{x}'' will be typeset to ``xx''.
+%\item ``x\cs{ordinalnum\{2\}}\verb*! !\texttt{x}'' will be typeset to ``x\ordinalnum{2}\textvisiblespace x'', while
+%\item ``x\cs{storeordinalnum\{mylabel\}\{2\}}\verb*! !\texttt{x}'' will be typeset to ``xx''.
 %\end{itemize}
 %
 %The reason for this design choice is that the commands like like \cs{ordinal} or \cs{numbestring} are usually
@@ -4640,7 +4641,7 @@
 %<*fc-italian.def>
 %    \end{macrocode}
 %\fi
-% \subsubsection{fc-italian}
+% \subsubsection{fc-italian.def}
 % Italian support is now handled by interfacing to Enrico Gregorio's
 % itnumpar package.
 %    \begin{macrocode}
@@ -4716,6 +4717,15 @@
 }
 \global\let\@OrdinalstringMitalian\@OrdinalstringMitalian
 
+\newcommand{\@ORDINALSTRINGMitalian}[2]{%
+  \begingroup
+    \count@=#1
+    \edef\@tempa{\def\noexpand#2{\MakeUppercase{\@ordinalem{\count@}}}}%
+    \expandafter
+  \endgroup\@tempa
+}
+\global\let\@ORDINALSTRINGMitalian\@ORDINALSTRINGMitalian
+
 \newcommand{\@OrdinalstringFitalian}[2]{%
   \begingroup
     \count@=#1
@@ -4725,6 +4735,15 @@
 }
 \global\let\@OrdinalstringFitalian\@OrdinalstringFitalian
 
+\newcommand{\@ORDINALSTRINGFitalian}[2]{%
+  \begingroup
+    \count@=#1
+    \edef\@tempa{\def\noexpand#2{\MakeUppercase{\@ordinalef{\count@}}}}%
+    \expandafter
+  \endgroup\@tempa
+}
+\global\let\@ORDINALSTRINGFitalian\@ORDINALSTRINGFitalian
+
 \newcommand{\@ordinalMitalian}[2]{%
   \edef#2{#1\relax\noexpand\fmtord{o}}}
 
@@ -7899,7 +7918,7 @@
 % This section deals with the code for \verb|fmtcount.sty|.
 %    \begin{macrocode}
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{fmtcount}[2025/02/09 v3.10 Displaying the values of LaTeX counters (NT,VB,NE)]
+\ProvidesPackage{fmtcount}[2025/08/23 v3.11 Displaying the values of LaTeX counters (NT,VB,NE)]
 \RequirePackage{ifthen}
 %    \end{macrocode}
 % \changes{3.01}{2014/12/03}{Use \styfmt{xkeyval} instead of \styfmt{keyval}, so that we do not get in trouble

Modified: trunk/Master/texmf-dist/source/latex/fmtcount/fmtcount.ins
===================================================================
--- trunk/Master/texmf-dist/source/latex/fmtcount/fmtcount.ins	2025-08-24 20:50:49 UTC (rev 76136)
+++ trunk/Master/texmf-dist/source/latex/fmtcount/fmtcount.ins	2025-08-24 20:51:02 UTC (rev 76137)
@@ -1,4 +1,4 @@
-% fmtcount.ins generated using makedtx version 1.2 2025/2/9 11:19
+% fmtcount.ins generated using makedtx version 1.2 2025/8/23 17:33
 \input docstrip
 
 \preamble

Modified: trunk/Master/texmf-dist/tex/latex/fmtcount/fc-italian.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/fmtcount/fc-italian.def	2025-08-24 20:50:49 UTC (rev 76136)
+++ trunk/Master/texmf-dist/tex/latex/fmtcount/fc-italian.def	2025-08-24 20:51:02 UTC (rev 76137)
@@ -95,6 +95,15 @@
 }
 \global\let\@OrdinalstringMitalian\@OrdinalstringMitalian
 
+\newcommand{\@ORDINALSTRINGMitalian}[2]{%
+  \begingroup
+    \count@=#1
+    \edef\@tempa{\def\noexpand#2{\MakeUppercase{\@ordinalem{\count@}}}}%
+    \expandafter
+  \endgroup\@tempa
+}
+\global\let\@ORDINALSTRINGMitalian\@ORDINALSTRINGMitalian
+
 \newcommand{\@OrdinalstringFitalian}[2]{%
   \begingroup
     \count@=#1
@@ -104,6 +113,15 @@
 }
 \global\let\@OrdinalstringFitalian\@OrdinalstringFitalian
 
+\newcommand{\@ORDINALSTRINGFitalian}[2]{%
+  \begingroup
+    \count@=#1
+    \edef\@tempa{\def\noexpand#2{\MakeUppercase{\@ordinalef{\count@}}}}%
+    \expandafter
+  \endgroup\@tempa
+}
+\global\let\@ORDINALSTRINGFitalian\@ORDINALSTRINGFitalian
+
 \newcommand{\@ordinalMitalian}[2]{%
   \edef#2{#1\relax\noexpand\fmtord{o}}}
 

Modified: trunk/Master/texmf-dist/tex/latex/fmtcount/fmtcount.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/fmtcount/fmtcount.sty	2025-08-24 20:50:49 UTC (rev 76136)
+++ trunk/Master/texmf-dist/tex/latex/fmtcount/fmtcount.sty	2025-08-24 20:51:02 UTC (rev 76137)
@@ -25,7 +25,7 @@
 %% 
 
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{fmtcount}[2025/02/09 v3.10 Displaying the values of LaTeX counters (NT,VB,NE)]
+\ProvidesPackage{fmtcount}[2025/08/23 v3.11 Displaying the values of LaTeX counters (NT,VB,NE)]
 \RequirePackage{ifthen}
 \RequirePackage{xkeyval}
 \RequirePackage{etoolbox}



More information about the tex-live-commits mailing list.