summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/fmtcount
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2020-02-25 03:01:07 +0000
committerNorbert Preining <norbert@preining.info>2020-02-25 03:01:07 +0000
commite55e56ce482cc9d01a0b83f22dac4851eb4c0357 (patch)
tree70f092a544725d3d02ae011e0bbf877785658465 /macros/latex/contrib/fmtcount
parent33f4ae660b866731387e4c21e528aaa283009d6c (diff)
CTAN sync 202002250301
Diffstat (limited to 'macros/latex/contrib/fmtcount')
-rw-r--r--macros/latex/contrib/fmtcount/CHANGES5
-rw-r--r--macros/latex/contrib/fmtcount/README14
-rw-r--r--macros/latex/contrib/fmtcount/fmtcount.dtx22
-rw-r--r--macros/latex/contrib/fmtcount/fmtcount.ins2
-rw-r--r--macros/latex/contrib/fmtcount/fmtcount.pdfbin562977 -> 563008 bytes
5 files changed, 29 insertions, 14 deletions
diff --git a/macros/latex/contrib/fmtcount/CHANGES b/macros/latex/contrib/fmtcount/CHANGES
index b36551c14b..ce54ab42c8 100644
--- a/macros/latex/contrib/fmtcount/CHANGES
+++ b/macros/latex/contrib/fmtcount/CHANGES
@@ -1,5 +1,10 @@
fmtcount package versions:
+Version 3.07:
+
+* Make french definition robust against cleveref 0.21.4 dirty handling
+ of conditionals. See https://github.com/nlct/fmtcount/pull/36.
+
Version 3.06:
* Fix French documentation « mille » → « mil » where applicable.
diff --git a/macros/latex/contrib/fmtcount/README b/macros/latex/contrib/fmtcount/README
index c287533f4a..8a4fa7e918 100644
--- a/macros/latex/contrib/fmtcount/README
+++ b/macros/latex/contrib/fmtcount/README
@@ -1,6 +1,11 @@
-LaTeX Package : fmtcount v3.06
+LaTeX Package : fmtcount v3.07
-Last Modified : 2020-01-30
+
+(c) Copyright 2000-2013 Nicola LC Talbot
+(c) Copyright 2013-2020 Nicola LC Talbot and Vincent Bela\"iche
+
+
+Last Modified : 2020-02-24
Author : Nicola Talbot and Vincent Belaïche
@@ -46,8 +51,7 @@ directory (e.g. texmf/doc/latex/fmtcount/).
Read the file CHANGES for version changes.
-This material is subject to the LaTeX Project Public License.
-See http://mirror.ctan.org/help/Cataloague/licenses.lppl.html for
-the details of that license.
+This material is subject to the LaTeX Project Public License. See
+https://www.ctan.org/license/lppl for the details of that license.
http://www.dickimaw-books.com/
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
diff --git a/macros/latex/contrib/fmtcount/fmtcount.ins b/macros/latex/contrib/fmtcount/fmtcount.ins
index 7c4395ef39..1c31d8f0aa 100644
--- a/macros/latex/contrib/fmtcount/fmtcount.ins
+++ b/macros/latex/contrib/fmtcount/fmtcount.ins
@@ -1,4 +1,4 @@
-% fmtcount.ins generated using makedtx version 1.2 2020/1/28 8:17
+% fmtcount.ins generated using makedtx version 1.2 2020/2/24 20:03
\input docstrip
\preamble
diff --git a/macros/latex/contrib/fmtcount/fmtcount.pdf b/macros/latex/contrib/fmtcount/fmtcount.pdf
index e5eaf4d23e..98673a2b81 100644
--- a/macros/latex/contrib/fmtcount/fmtcount.pdf
+++ b/macros/latex/contrib/fmtcount/fmtcount.pdf
Binary files differ