summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/showlabels
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2008-11-18 00:39:59 +0000
committerKarl Berry <karl@freefriends.org>2008-11-18 00:39:59 +0000
commit5d9728c50066dca3017faa37fee2e0daec8b0d52 (patch)
tree772f1c6340720d3add003a45335487ed933805f4 /Master/texmf-dist/tex/latex/showlabels
parent702dcf050b18dfde338853a56a85375afce44ecf (diff)
showlabels update (17nov08)
git-svn-id: svn://tug.org/texlive/trunk@11336 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/showlabels')
-rw-r--r--Master/texmf-dist/tex/latex/showlabels/showlabels.sty15
1 files changed, 9 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/latex/showlabels/showlabels.sty b/Master/texmf-dist/tex/latex/showlabels/showlabels.sty
index 99c35d6ab24..a483be4df6c 100644
--- a/Master/texmf-dist/tex/latex/showlabels/showlabels.sty
+++ b/Master/texmf-dist/tex/latex/showlabels/showlabels.sty
@@ -30,12 +30,12 @@
%% See the file LICENCE for a copy of the GPL.
%% You can also find an online copy at http://www.gnu.org/copyleft/gpl.html .
%%
-%% $Id: showlabels.dtx,v 1.34 2008/07/24 10:59:31 norman Exp $
+%% $Id: showlabels.dtx,v 1.36 2008/10/10 21:32:01 norman Exp $
%%
\def\filename{showlabels}
-\def\fileversion{1.6.3}
-\def\filedate{2008/07/24}
-\def\docdate{2008 July 24}
+\def\fileversion{1.6.4}
+\def\filedate{2008/10/10}
+\def\docdate{2008 October 10}
\def\filemaintainer{norman@astro.gla.ac.uk}
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{showlabels}[\filedate\space v\fileversion]
@@ -51,25 +51,28 @@
\let\SL@maketag@@@=\maketag@@@
\def\maketag@@@#1{%
\SL@maketag@@@{#1}%
+ \message{maketag@@@: df@label=\df@label, SL@labelname=\SL@labelname, env=\@currenvir}%
\ifx\df@label\@empty
\ifx\SL@labelname\relax
- \SL@eqnlrtext{???}% it's not clear to me when this would happen
+ % do nothing
\else
\SL@eqnlrtext{\SL@labelname}%
\fi
\else
\SL@eqnlrtext{\df@label}%
\fi
+ \global\let\SL@labelname\relax
}
\else
\let\SL@eqnnum=\@eqnnum
\def\@eqnnum{%
\SL@eqnnum
\ifx\SL@labelname\relax
+ % do nothing
\else
\SL@eqnlrtext{\SL@labelname}%
- \global\let\SL@labelname\relax
\fi
+ \global\let\SL@labelname\relax
}
\fi
\global\let\SL@labelname\relax