summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/showlabels/showlabels.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-10-27 20:13:27 +0000
committerKarl Berry <karl@freefriends.org>2021-10-27 20:13:27 +0000
commitd2a5e418cf3d5b1803b3f39c7360a07bf20c9fb7 (patch)
tree9057506f75da8278a35b8cf39197283d9028f362 /Master/texmf-dist/tex/latex/showlabels/showlabels.sty
parentd927cf0c26df6bf14a1e4cb8b831ddc621c2375f (diff)
showlabels (27oct21)
git-svn-id: svn://tug.org/texlive/trunk@60877 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/showlabels/showlabels.sty')
-rw-r--r--Master/texmf-dist/tex/latex/showlabels/showlabels.sty31
1 files changed, 15 insertions, 16 deletions
diff --git a/Master/texmf-dist/tex/latex/showlabels/showlabels.sty b/Master/texmf-dist/tex/latex/showlabels/showlabels.sty
index 6333947faa1..1e36c513b8c 100644
--- a/Master/texmf-dist/tex/latex/showlabels/showlabels.sty
+++ b/Master/texmf-dist/tex/latex/showlabels/showlabels.sty
@@ -11,11 +11,11 @@
%%%% Copyright 1999, 2001-09, 2013-21, Norman Gray
%%
%% This work may be distributed and/or modified under the
-%% conditions of the LaTeX Project Public Licence, either version 1.3
+%% conditions of the LaTeX Project Public Licence, either version 1.3c
%% of this licence or (at your option) any later version.
%% The latest version of this licence is in
%% http://www.latex-project.org/lppl.txt
-%% and version 1.3 or later is part of all distributions of LaTeX
+%% and version 1.3c or later is part of all distributions of LaTeX
%% version 2005/12/01 or later.
%%
%% This work has the LPPL maintenance status `maintained'.
@@ -26,11 +26,11 @@
%% and the derived file showlabels.sty.
%%%% File: showlabels.dtx
-%%%% Source: 5b2959804f35, 2021-10-09T20:59:45+01:00
+%%%% Source: 1f8b1fcbe557, 2021-10-27T16:06:03+01:00
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{showlabels}[2021-10-09\space v1.9]
-\typeout{Package: `showlabels' v1.9\space<2021-10-09>}
+\ProvidesPackage{showlabels}[2021/10/27\space v1.9.1]
+\typeout{Package: `showlabels' v1.9.1\space<2021/10/27>}
\newif\ifSL@AMS
\@ifundefined{maketag@@@}
\SL@AMSfalse
@@ -120,31 +120,30 @@
\@bsphack
\expandafter\let\expandafter\SL@orig@@next\csname SL@orig#1\endcsname
\def\showlabeltype{#1}%
- \begingroup\@sanitize
+ \begingroup
\@ifstar
- {\SL@showlabelsplainstar}
+ {\@sanitize\SL@showlabelsplainstar}
{\@ifnextchar[
{\SL@showlabelsopt}
- {\SL@showlabelsplain}}
-}
-\def\SL@showlabelsopt[#1]#2{%
+ {\@sanitize\SL@showlabelsplain}}}
+\def\SL@showlabelsopt[#1]{% #1 is read before \@sanitize
+ \@sanitize
+ \SL@showlabelsopt@ii{#1}}
+\def\SL@showlabelsopt@ii#1#2{%
\endgroup
\SL@setlabel{#2}\relax
\ifhmode \spacefactor\@savsf \ifdim\@savsk>\z@ \hskip1sp \fi\fi
- \SL@orig@@next[#1]{#2}%
-}
+ \SL@orig@@next[#1]{#2}}
\def\SL@showlabelsplain#1{%
\endgroup
\SL@setlabel{#1}\relax
\ifhmode \spacefactor\@savsf \ifdim\@savsk>\z@ \hskip1sp \fi\fi
- \SL@orig@@next{#1}%
-}
+ \SL@orig@@next{#1}}
\def\SL@showlabelsplainstar#1{%
\endgroup
\SL@setlabel{#1}\relax
\ifhmode \spacefactor\@savsf \ifdim\@savsk>\z@ \hskip1sp \fi\fi
- \SL@orig@@next*{#1}%
-}
+ \SL@orig@@next*{#1}}
\def\SL@initmakecaption{%
\let\SL@origmakecaption\@makecaption
\def\@makecaption##1##2{{%