texlive[52090] Master/texmf-dist: fncylab (14sep19)

commits+karl at tug.org commits+karl at tug.org
Sat Sep 14 23:35:37 CEST 2019


Revision: 52090
          http://tug.org/svn/texlive?view=revision&revision=52090
Author:   karl
Date:     2019-09-14 23:35:37 +0200 (Sat, 14 Sep 2019)
Log Message:
-----------
fncylab (14sep19)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/fncylab/fncylab.pdf
    trunk/Master/texmf-dist/doc/latex/fncylab/fncylab.tex
    trunk/Master/texmf-dist/tex/latex/fncylab/fncylab.sty

Added Paths:
-----------
    trunk/Master/texmf-dist/doc/latex/fncylab/README.md

Added: trunk/Master/texmf-dist/doc/latex/fncylab/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/fncylab/README.md	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/fncylab/README.md	2019-09-14 21:35:37 UTC (rev 52090)
@@ -0,0 +1,6 @@
+# fncylab
+Alter the format of \label references
+
+Since the 2019 LaTeX release the functionality of this package is
+included in the LaTeX kernel so this package is only necessary on old
+installations.


Property changes on: trunk/Master/texmf-dist/doc/latex/fncylab/README.md
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/texmf-dist/doc/latex/fncylab/fncylab.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/fncylab/fncylab.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/fncylab/fncylab.tex	2019-09-13 23:53:38 UTC (rev 52089)
+++ trunk/Master/texmf-dist/doc/latex/fncylab/fncylab.tex	2019-09-14 21:35:37 UTC (rev 52090)
@@ -1,16 +1,36 @@
 \documentclass[a4paper]{article}
 \usepackage[a4paper]{geometry}
-\usepackage{miscdoc}
-\usepackage[scaled=0.85]{luximono}
+
+%\usepackage{miscdoc}  % no idea where that package is (maybe just on Robin's home machine)
+%
+% so go manual ...
+
+\newcommand\Package[1]{\texttt{#1}}
+\newcommand\cs[1]{\texttt{\textbackslash#1}}
+\newcommand\meta[1]{$\langle$\textnormal{\itshape#1}$\rangle$}
+\newcommand\marg[1]{\texttt{\{\meta{#1}\}}}
+
+\usepackage[T1]{fontenc}  % needed for \textbackslash
+
+%\usepackage[scaled=0.85]{luximono}
+
+\def\labelformat{} \usepackage{fncylab} % testing
+
 \begin{document}
 \title{The \Package{fncylab} package}
 \author{Robin Fairbairns\thanks{Email:
-    \emph{robin.fairbairns at cl.cam.ac.uk}}}
-\date{2003-08-13, version 1.0}
+    \emph{robin.fairbairns at cl.cam.ac.uk} --- no longer active}}
+\date{2019-08-23, version 1.1}
 \maketitle
 
+As of 2019 the \LaTeX{} kernel already contains these extra commands
+and the modification to \cs{refstepcounter}. So on nevery kernels
+this package is no longer necessary and will silently exit.
+
+\section{Introduction}
+
 The package provides support for arbitrary structuring of the way
-label references look.  The command \cmdinvoke*{labelformat}{ctr}{defn}
+label references look.  The command \cs{labelformat}\marg{ctr}\marg{defn}
 specifies the structure of a label:
 \begin{description}
 \item[\emph{\texttt{ctr}}] the counter that will define the label

Modified: trunk/Master/texmf-dist/tex/latex/fncylab/fncylab.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/fncylab/fncylab.sty	2019-09-13 23:53:38 UTC (rev 52089)
+++ trunk/Master/texmf-dist/tex/latex/fncylab/fncylab.sty	2019-09-14 21:35:37 UTC (rev 52090)
@@ -1,5 +1,6 @@
-%  FNCYLAB.STY v1.0
+%  FNCYLAB.STY v1.1
 %  Copyright 2000,2003 Robin Fairbairns (robin.fairbairns at 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 at 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



More information about the tex-live-commits mailing list