Thanks for the reply. I'm running LyX 2.1.4 from July 2015. I added more text and indeed if the reference is on the same page, \vref ommits the page mention completely, otherwise it might say previous page or page #. I was also unable to find the "official" documentation on \vref, I found it for \ref and other markers though
On Tue, Oct 17, 2017 at 5:52 PM, Richard Heck <rgh...@lyx.org> wrote: > On 10/17/2017 03:29 PM, Alexandru Guzu wrote: > > Hello, > > I am following the LyX tutorial and I am having some difficulties with the > Cross-referencing. > > The tutorial says: > " > select the drop-down menu labeled “Format” and select “<reference> on page > <page>”. Then select “sec:About-This-Document” (it may be selected by > default), and a reference marker will appear containing “Ref+Text: > sec:About-This-Document” > ... > In the printed document, this reference marker will be replaced with the > section number and then the page number. > " > However, this is not the case. The page number or any page reference is > nowhere to be found. > > > This part of the tutorial is a bit misleading. The \vref command is smart > enough to know when the item it is referencing is on the same page. In that > case, it omits the "on page N" part. It looks to me as if this has been > fixed for the next release. > > Richard > >