summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-12-11 22:23:36 +0000
committerKarl Berry <karl@freefriends.org>2017-12-11 22:23:36 +0000
commit10fd855fd3a1a8e734577f0da47fa30a0faec31a (patch)
treedc9bcbd94154e5569746bdcfed9591ac4e1b53cd /Master/texmf-dist/tex
parent9a295807839d01a64f031555e6cd1a71e20cb735 (diff)
labelschanged (11dec17)
git-svn-id: svn://tug.org/texlive/trunk@46040 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/latex/labelschanged/labelschanged.sty34
1 files changed, 34 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/labelschanged/labelschanged.sty b/Master/texmf-dist/tex/latex/labelschanged/labelschanged.sty
new file mode 100644
index 00000000000..01cb622ee76
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/labelschanged/labelschanged.sty
@@ -0,0 +1,34 @@
+%%
+%% This is file `labelschanged.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% labelschanged.dtx (with options: `package')
+%% This is a generated file.
+%%
+%% Packaged, documented, and maintained by Brian Dunn.
+%%
+%% Based on code by David Carlisle.
+%%
+%% In the public domain.
+%%
+\NeedsTeXFormat{LaTeX2e}[1999/12/01]
+\ProvidesPackage{labelschanged}
+ [2017/12/11 v1.0 Identifies endlessly-changing labels.]
+
+
+\def\@testdef #1#2#3{%
+ \def\reserved@a{#3}%
+ \expandafter \ifx \csname #1@#2\endcsname \reserved@a \else%
+ \typeout{^^JLabel `#2' has changed:^^J%
+ \meaning\reserved@a^^J%
+ \expandafter\meaning\csname #1@#2\endcsname^^J}%
+ \@tempswatrue%
+ \fi%
+}
+
+
+\endinput
+%%
+%% End of file `labelschanged.sty'.