summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/fncylab/fncylab.sty
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-14 03:00:50 +0000
committerNorbert Preining <norbert@preining.info>2019-09-14 03:00:50 +0000
commit0eea86bf18826522b3686f54fc3afb8ddc31e62a (patch)
tree297ca130d9a87803b835596c3a194841045cce43 /macros/latex/contrib/fncylab/fncylab.sty
parent215532ea28200f7e90dd8339cf62a8d6dc746bc6 (diff)
CTAN sync 201909140300
Diffstat (limited to 'macros/latex/contrib/fncylab/fncylab.sty')
-rw-r--r--macros/latex/contrib/fncylab/fncylab.sty15
1 files changed, 14 insertions, 1 deletions
diff --git a/macros/latex/contrib/fncylab/fncylab.sty b/macros/latex/contrib/fncylab/fncylab.sty
index b28439bcec..17c086da16 100644
--- a/macros/latex/contrib/fncylab/fncylab.sty
+++ b/macros/latex/contrib/fncylab/fncylab.sty
@@ -1,5 +1,6 @@
-% FNCYLAB.STY v1.0
+% FNCYLAB.STY v1.1
% Copyright 2000,2003 Robin Fairbairns (robin.fairbairns@cl.cam.ac.uk)
+% Copyright 2019 LaTeX Team
%
% This program can redistributed and/or modified under the terms
% of the LaTeX Project Public License; either version 1.2 of the
@@ -41,6 +42,12 @@
% which will typeset as
% ... Section 3 shows us that ...
+% as 2019 the modification (and \labelformat and \Ref) has been added
+% to the LaTeX kernel, so there is nothing to do for this package any more
+% unless it is run using an older kernel.
+
+\ifx\labelformat\@undefined % if defined we assume a newer kernel
+
% this check and redefinition is suggested in the latex source
% (ltxref.dtx)
\CheckCommand*\refstepcounter[1]{\stepcounter{#1}%
@@ -57,5 +64,11 @@
\DeclareRobustCommand\Ref[1]{\protected@edef\@tempa{\ref{#1}}%
\expandafter\MakeUppercase\@tempa
}
+\else
+\PackageWarningNoLine{fncylab}{%
+fncylab is not required with releases after 2019.\MessageBreak
+All its functionality is now in the LaTeX kernel}
+
+\fi
\endinput