summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/kuvio/doc-src/macros/carrot/basic/label.cd
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/kuvio/doc-src/macros/carrot/basic/label.cd')
-rw-r--r--Master/texmf-dist/source/latex/kuvio/doc-src/macros/carrot/basic/label.cd18
1 files changed, 18 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/latex/kuvio/doc-src/macros/carrot/basic/label.cd b/Master/texmf-dist/source/latex/kuvio/doc-src/macros/carrot/basic/label.cd
new file mode 100644
index 00000000000..0a10bbb3a81
--- /dev/null
+++ b/Master/texmf-dist/source/latex/kuvio/doc-src/macros/carrot/basic/label.cd
@@ -0,0 +1,18 @@
+% label.cd
+% Anders G S Svensson
+
+% Source: label.nw
+% $Revision: 1.2 $
+% $Date: 1996/02/19 02:05:49 $
+
+\usecarrot{counter,xr}
+
+\def\definelabel#1#2{%
+ \@ifundefined@{counter@ctn@#2}%
+ {\@Warning@{Unknown class: #2}}%
+ {\definexr{#1}{\@cs@{the#2}}{#2}{\noexpand\folio}}}
+\def\label#1{\definelabel{#1}{\currentcounter}}
+
+\let\ref\refxr
+\let\pageref\pagexr
+\let\pagedef\definepage