diff options
author | Karl Berry <karl@freefriends.org> | 2008-07-01 00:56:16 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2008-07-01 00:56:16 +0000 |
commit | 32177855a92f374d4d0ca22d403dd2c9d6cccf25 (patch) | |
tree | 591082d597a689fa0868a6cea48b61a3c3024724 /Master/texmf-dist/source/latex/showlabels/showlabels.dtx | |
parent | 767674bba9388c657eb685ef4a48aa2254f258d2 (diff) |
showlabels update (30jun08)
git-svn-id: svn://tug.org/texlive/trunk@9128 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/showlabels/showlabels.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/showlabels/showlabels.dtx | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/Master/texmf-dist/source/latex/showlabels/showlabels.dtx b/Master/texmf-dist/source/latex/showlabels/showlabels.dtx index 1eafcf3fcf7..a094b911b61 100644 --- a/Master/texmf-dist/source/latex/showlabels/showlabels.dtx +++ b/Master/texmf-dist/source/latex/showlabels/showlabels.dtx @@ -24,13 +24,13 @@ %% 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.31 2007/06/17 15:34:32 norman Exp $ +%% $Id: showlabels.dtx,v 1.32 2008/06/27 15:18:43 norman Exp $ %% % \def\filename{showlabels} -\def\fileversion{1.6.1} -\def\filedate{2007/06/17} -\def\docdate{2007 June 17} +\def\fileversion{1.6.2} +\def\filedate{2008/06/27} +\def\docdate{2008 June 27} \def\filemaintainer{norman@astro.gla.ac.uk} % \changes{v1.4}{2001/07/23}{Avoided defining RCSDate} %<+package>\NeedsTeXFormat{LaTeX2e} @@ -326,10 +326,10 @@ \let\SL@maketag@@@=\maketag@@@ \def\maketag@@@#1{% \SL@maketag@@@{#1}% - \ifx\df@label\@empty -% \SL@eqnlrtext{???}% + \ifx\SL@labelname\@empty +% \SL@eqnlrtext{???}% it's not clear to me when this would happen \else - \SL@eqnlrtext{\df@label}% + \SL@eqnlrtext{\SL@labelname}% \fi } \else @@ -521,14 +521,14 @@ \def\SL@margtext#1{% % \end{macrocode} % In maths mode, produce a label name alongside the equation number. -% If we're not using \pstyle{amsmath}, then save the label name in -% |\SL@labelname|. If we \emph{are} using \pstyle{amsmath}, then we don't -% have to worry, because it's saved in |\df@label| for us. +% Save the label name in |\SL@labelname|, so we can use it later +% (this is redundant in most \pstyle{amsmath} contexts, because that +% style generally saves this in |\df@label|, but sometimes -- for +% example when using eqnarray within \pstyle{amsart} -- it seems not +% to be; in any case, it's simpler just to use |\SL@labelname| all the time). % \begin{macrocode} \ifmmode - \ifSL@AMS\else - \xdef\SL@labelname{\SL@prlabelname{#1}}% - \fi + \xdef\SL@labelname{\SL@prlabelname{#1}}% % \end{macrocode} % Otherwise, create a box with zero height and depth, and the same width % as the page. Put all this in braces, to contain the setting of |