[texhax] How to dereference a \ref in a command definition?

martin f krafft madduck at madduck.net
Sat May 17 16:47:45 CEST 2008


also sprach martin f krafft <madduck at madduck.net> [2008.05.17.1511 +0100]:
> But now \meaning\curref says:
> 
>   macro:\getrefnumber ->\protect \ref{mysection}
> 
> and obviously there is no match with the output of e.g.
> \thesubsection...

This is hyperref. If you \usepackage{hyperref} in refs.sty, you'll
see it.

I realise hyperref probably messes *a lot* with \ref, but I wonder
if there is still a way to get what I want?

-- 
martin | http://madduck.net/ | http://two.sentenc.es/
 
warning at the gates of bill:
abandon hope, all ye who press <enter> here...
 
spamtraps: madduck.bogus at madduck.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature (see http://martin-krafft.net/gpg/)
Url : http://tug.org/pipermail/texhax/attachments/20080517/9955f7ea/attachment.bin 


More information about the texhax mailing list