[Tugindia] cross references.

S. venkataraman tugindia@tug.org
Tue, 3 Dec 2002 09:52:38 +0530

I want to change the way the crossreference to figures,tables, equations
etc work. Suppose we 
have a label \label{myfig}.  If I refer to it elsewhere with \ref{myfig}
I would like latex 
to put just the corresponding figure number(as it happens now)  if the
the \ref occurs in the same page as the
one in which the figure appears. In addition, if the reference appears
in a different page I want latex to
say some thing like `<figurenumber> on page number <pagenumber>'.  Right
I use \pageref command after finalising the manuscript. Is this