summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-09-14 21:35:37 +0000
committerKarl Berry <karl@freefriends.org>2019-09-14 21:35:37 +0000
commit64fabbb52a397ce78b68d9dc42e9f1d736efdce1 (patch)
tree4df46449fe145fbeced160819676546b0ebf9cdd /Master
parent7c01b6311264a92218b7f256ad457614006ca229 (diff)
fncylab (14sep19)
git-svn-id: svn://tug.org/texlive/trunk@52090 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/doc/latex/fncylab/README.md6
-rw-r--r--Master/texmf-dist/doc/latex/fncylab/fncylab.pdfbin210727 -> 204325 bytes
-rw-r--r--Master/texmf-dist/doc/latex/fncylab/fncylab.tex30
-rw-r--r--Master/texmf-dist/tex/latex/fncylab/fncylab.sty15
4 files changed, 45 insertions, 6 deletions
diff --git a/Master/texmf-dist/doc/latex/fncylab/README.md b/Master/texmf-dist/doc/latex/fncylab/README.md
new file mode 100644
index 00000000000..35efe448c89
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/fncylab/README.md
@@ -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.
diff --git a/Master/texmf-dist/doc/latex/fncylab/fncylab.pdf b/Master/texmf-dist/doc/latex/fncylab/fncylab.pdf
index 93d495f05f1..4e074bbaf31 100644
--- a/Master/texmf-dist/doc/latex/fncylab/fncylab.pdf
+++ b/Master/texmf-dist/doc/latex/fncylab/fncylab.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/fncylab/fncylab.tex b/Master/texmf-dist/doc/latex/fncylab/fncylab.tex
index 1faab4c28fa..271cc3029c3 100644
--- a/Master/texmf-dist/doc/latex/fncylab/fncylab.tex
+++ b/Master/texmf-dist/doc/latex/fncylab/fncylab.tex
@@ -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@cl.cam.ac.uk}}}
-\date{2003-08-13, version 1.0}
+ \emph{robin.fairbairns@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
diff --git a/Master/texmf-dist/tex/latex/fncylab/fncylab.sty b/Master/texmf-dist/tex/latex/fncylab/fncylab.sty
index b28439bcec3..17c086da164 100644
--- a/Master/texmf-dist/tex/latex/fncylab/fncylab.sty
+++ b/Master/texmf-dist/tex/latex/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