summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/fmtcount/fmtcount.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/fmtcount/fmtcount.dtx')
-rw-r--r--macros/latex/contrib/fmtcount/fmtcount.dtx22
1 files changed, 14 insertions, 8 deletions
diff --git a/macros/latex/contrib/fmtcount/fmtcount.dtx b/macros/latex/contrib/fmtcount/fmtcount.dtx
index 910ff33571..0525133f83 100644
--- a/macros/latex/contrib/fmtcount/fmtcount.dtx
+++ b/macros/latex/contrib/fmtcount/fmtcount.dtx
@@ -1,11 +1,11 @@
%\iffalse
% fmtcount.dtx generated using makedtx version 1.2 (c) Nicola Talbot
% Command line args:
+% -src "(.+)\.(sty|def)$=>\1.\2"
% -doc "fmtcount-manual.tex"
% -author "Nicola Talbot and Vincent Belaïche"
-% -src "(.+)\.(sty|def)$=>\1.\2"
% fmtcount
-% Created on 2020/1/28 8:17
+% Created on 2020/2/24 20:03
%\fi
%\iffalse
%<*package>
@@ -77,7 +77,7 @@
pdftitle={fmtcount.sty: Displaying the Values of LaTeX Counters},
pdfkeywords={LaTeX,counter}]{hyperref}
-\CheckSum{10311}
+\CheckSum{10315}
\doxitem{Option}{option}{options}
@@ -104,7 +104,7 @@
% \url{www.dickimaw-books.com}
% \and
% Vincent Bela\"iche}
-% \date{2020-01-30 (version 3.06)\relax
+% \date{2020-02-24 (version 3.07)\relax
%}
% \maketitle
% \tableofcontents
@@ -1804,7 +1804,7 @@ this number}%
% \subsubsection{fc-french.def}
% Definitions for French.
% \begin{macrocode}
-\ProvidesFCLanguage{french}[2017/06/15]%
+\ProvidesFCLanguage{french}[2020/02/24]%
% \end{macrocode}
% Package \styfmt{fcprefix} is needed to format the prefix \meta{$n$}
% in \meta{$n$}illion or \meta{$n$}illiard. Big numbers were
@@ -3447,15 +3447,21 @@ z\'ero%
\count0=0 %
\fi
\ifnum\count0=1 %
+ \expandafter\@firstoftwo
+ \else
+ \expandafter\@secondoftwo
+ \fi
% \end{macrocode}
% \changes{3.01}{2014-11-10}{Protect \cs{`}, for solving
% \uref{http://github.com/nlct/fmtcount/issues/15}{Issue \#15}}
% \begin{macrocode}
+ {%
\protected@edef\@tempa{\expandafter\fc@wcase\fc@first\@nil}%
- \else
+ }%
% \end{macrocode}
% Now we tamper a little bit with the plural handling options to ensure that there is no final plural mark.
% \begin{macrocode}
+ {%
\def\@tempa##1{%
\expandafter\edef\csname fc@frenchoptions@##1@plural\endcsname{%
\ifcase\csname fc@frenchoptions@##1@plural\endcsname\space
@@ -3518,7 +3524,7 @@ z\'ero%
\fi
\fi
\fi
- \fi
+ }%
% \end{macrocode}
% Apply \cs{fc@gcase} to the result.
% \begin{macrocode}
@@ -7480,7 +7486,7 @@ this number}%
% This section deals with the code for |fmtcount.sty|
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{fmtcount}[2020/01/30 v3.06]
+\ProvidesPackage{fmtcount}[2020/01/30 v3.07]
\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