Let \refdef generate clickable links.
authorMatthijs Kooijman <matthijs@stdin.nl>
Mon, 12 Oct 2009 10:41:59 +0000 (12:41 +0200)
committerMatthijs Kooijman <matthijs@stdin.nl>
Mon, 12 Oct 2009 10:41:59 +0000 (12:41 +0200)
Utils/Shortcuts.tex

index c5308e9bcbc3e19cb0a2fe4f0f8390198d1c89fe..a060c1aafdada7dc8c2fb2450ac8d72d5aa222a1 100644 (file)
@@ -27,4 +27,4 @@
 % and a page number in the margin. We use \inothermargin, since it is slightly
 % bigger.
 % This automatically prefixes the reference name with def:
 % and a page number in the margin. We use \inothermargin, since it is slightly
 % bigger.
 % This automatically prefixes the reference name with def:
-\define[1]\refdef{\inothermargin{\ref[t][def:#1] p.\ref[p][def:#1]}}
+\define[1]\refdef{\inothermargin{\goto{\ref[t][def:#1] p.\ref[p][def:#1]}[def:#1]}}