Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I am using the hyperref package and want to use the \autoref{} command to output the page of the referenced label (similar to \pageref{}). The label is not inside a figure, equation, etc., so by default \autoref{} creates a section x.y link, instead of a page z link that I would like.

Is there a way to do this?

share|improve this question
add comment

1 Answer

up vote 6 down vote accepted

Ok, I found it. There's a command named \autopageref{} which replaces \pageref{} and does exactly what I wanted. More info here.

share|improve this answer
    
If this solved your problem, you can accept your own answer! –  Hendrik Vogt Mar 6 '11 at 8:51
    
@Hedrik: Yep, had to wait two days though. –  3lectrologos Mar 6 '11 at 13:09
    
Ah, thanks, I didn't know that the system won't let you earlier. (By the way, you missed an "n" in my name.) –  Hendrik Vogt Mar 6 '11 at 17:01
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.