texlive[53912] Master/texmf-dist: fmtcount (25feb20)
commits+karl at tug.org
commits+karl at tug.org
Tue Feb 25 23:03:17 CET 2020
Revision: 53912
http://tug.org/svn/texlive?view=revision&revision=53912
Author: karl
Date: 2020-02-25 23:03:17 +0100 (Tue, 25 Feb 2020)
Log Message:
-----------
fmtcount (25feb20)
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-french.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 2020-02-25 22:03:03 UTC (rev 53911)
+++ trunk/Master/texmf-dist/doc/latex/fmtcount/CHANGES 2020-02-25 22:03:17 UTC (rev 53912)
@@ -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.
Modified: trunk/Master/texmf-dist/doc/latex/fmtcount/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/fmtcount/README 2020-02-25 22:03:03 UTC (rev 53911)
+++ trunk/Master/texmf-dist/doc/latex/fmtcount/README 2020-02-25 22:03:17 UTC (rev 53912)
@@ -1,7 +1,12 @@
-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
Files : fmtcount.dtx - documented source file
@@ -46,8 +51,7 @@
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/
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 2020-02-25 22:03:03 UTC (rev 53911)
+++ trunk/Master/texmf-dist/source/latex/fmtcount/fmtcount.dtx 2020-02-25 22:03:17 UTC (rev 53912)
@@ -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\xEFche"
-% -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 @@
% \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 @@
\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 at edef\@tempa{\expandafter\fc at wcase\fc at 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 at frenchoptions@##1 at plural\endcsname{%
\ifcase\csname fc at frenchoptions@##1 at plural\endcsname\space
@@ -3518,7 +3524,7 @@
\fi
\fi
\fi
- \fi
+ }%
% \end{macrocode}
% Apply \cs{fc at gcase} to the result.
% \begin{macrocode}
@@ -7480,7 +7486,7 @@
% 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
Modified: trunk/Master/texmf-dist/source/latex/fmtcount/fmtcount.ins
===================================================================
--- trunk/Master/texmf-dist/source/latex/fmtcount/fmtcount.ins 2020-02-25 22:03:03 UTC (rev 53911)
+++ trunk/Master/texmf-dist/source/latex/fmtcount/fmtcount.ins 2020-02-25 22:03:17 UTC (rev 53912)
@@ -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
Modified: trunk/Master/texmf-dist/tex/latex/fmtcount/fc-french.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/fmtcount/fc-french.def 2020-02-25 22:03:03 UTC (rev 53911)
+++ trunk/Master/texmf-dist/tex/latex/fmtcount/fc-french.def 2020-02-25 22:03:17 UTC (rev 53912)
@@ -52,7 +52,7 @@
%% coding: utf-8
%% compile-command: "make -C ../dist fmtcount.pdf"
%% End:
-\ProvidesFCLanguage{french}[2017/06/15]%
+\ProvidesFCLanguage{french}[2020/02/24]%
\ifcsundef{fc at gl@let}{\global\let\fc at gl@let\let}{\PackageError{fmtcount}{Command already defined}{Command
\protect\fc at gl@let\space already defined.}}
\ifcsundef{fc at gl@def}{\global\let\fc at gl@def\def}{\PackageError{fmtcount}{Command already defined}{Command
@@ -1160,8 +1160,14 @@
\count0=0 %
\fi
\ifnum\count0=1 %
+ \expandafter\@firstoftwo
+ \else
+ \expandafter\@secondoftwo
+ \fi
+ {%
\protected at edef\@tempa{\expandafter\fc at wcase\fc at first\@nil}%
- \else
+ }%
+ {%
\def\@tempa##1{%
\expandafter\edef\csname fc at frenchoptions@##1 at plural\endcsname{%
\ifcase\csname fc at frenchoptions@##1 at plural\endcsname\space
@@ -1210,7 +1216,7 @@
\fi
\fi
\fi
- \fi
+ }%
\fc at apply@gcase
\def\@tempb##1{\def\@tempa{\def#2{##1}}}%
\expandafter\@tempb\expandafter{\@tempa}%
Modified: trunk/Master/texmf-dist/tex/latex/fmtcount/fmtcount.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/fmtcount/fmtcount.sty 2020-02-25 22:03:03 UTC (rev 53911)
+++ trunk/Master/texmf-dist/tex/latex/fmtcount/fmtcount.sty 2020-02-25 22:03:17 UTC (rev 53912)
@@ -54,7 +54,7 @@
%% End:
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{fmtcount}[2020/01/30 v3.06]
+\ProvidesPackage{fmtcount}[2020/01/30 v3.07]
\RequirePackage{ifthen}
\RequirePackage{xkeyval}
\RequirePackage{etoolbox}
More information about the tex-live-commits
mailing list.