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.

In fact the LaTeX code is as follows:

=========================================================

%% LyX 2.1.4 created this file. For more info, see http://www.lyx.org/.

%% Do not edit unless you really know what you are doing.

\documentclass[english]{article}

\usepackage[T1]{fontenc}

\usepackage[latin9]{inputenc}

\usepackage{babel}

\usepackage{varioref}

\begin{document}


\section{About This Document\label{sec:About-This-Document}}


Sections and subsections are described below.


If you want to know more about this document, then see\\

Section \vref{sec:About-This-Document}, .

\end{document}

==========================================================


And the preview is:


==========================================================

1  About This Document


Sections and subsections are described below.
If you want to know more about this document, then see
Section 1, .

==========================================================


So there is no page reference. I used the same steps for the
example_raw.lyx but the result is the same. There is  no page mentioned in
the output.


In fact, I don't see any difference between using /rev and using /vref.


Why is this happening?


Thanks,


Alex.

Reply via email to