Hi,

I've uploaded file that I've created while following the tutorial. Hopefully this will make my issue more clear to you all.

-Sarah

On 9/24/15 1:10 PM, Sarah wrote:
So sorry, I forgot to include in my original message that I'm working on a Mac machine. OS X 10.9.5

On 9/24/15 11:27 AM, Sarah wrote:
Hi,

I'm working through the LyX Tutorial and I've encountered a problem in Section 3.4.2: Your first cross-reference. I have followed the steps outlined in this section:

  * Applied the label "sec:About-This-Document" at the end of the
    title line for Section 2 of my document (as directed in Section
    3.4.1 in the tutorial)
  * Typed the suggested text, "If you want to know more about this
    document, then see Section, which can be found on page." within
    Section 2 of my document
  * Placed the cursor after the word "Section"
  * Used the Cross Reference toolbar button
  * Selected "<reference> on page <page>" from the "Format" drop-down
    menu in the Cross-reference dialog
  * Selected the label "sec:About-This-Document"


The reference label "Ref+Text: sec:About-This-Document" then appears after the word "Section" in my text. However, when I view the .pdf file, no page information is published. The sentence reads: "If you want to know more about this document, then see Section 2, which can be found on page." Information is published for the Section but not for the page.

Please let me know if you see an error in my steps. This particular format is not completely necessary for my needs, and I can fix the problem manually by including another cross-reference at the end of the word "page" and using the "<page>" format in the Cross-reference dialog, but I'd like to know whether I am creating the problem or the format contains a bug.

Thanks.
--
Sarah Davis


#LyX 2.1 created this file. For more info see http://www.lyx.org/
\lyxformat 474
\begin_document
\begin_header
\textclass article
\use_default_options true
\begin_modules
theorems-ams
eqs-within-sections
figs-within-sections
\end_modules
\maintain_unincluded_children false
\language english
\language_package default
\inputencoding auto
\fontencoding global
\font_roman default
\font_sans default
\font_typewriter default
\font_math auto
\font_default_family default
\use_non_tex_fonts false
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100
\graphics default
\default_output_format default
\output_sync 0
\bibtex_command default
\index_command default
\paperfontsize default
\spacing single
\use_hyperref false
\papersize default
\use_geometry false
\use_package amsmath 1
\use_package amssymb 1
\use_package cancel 1
\use_package esint 1
\use_package mathdots 1
\use_package mathtools 1
\use_package mhchem 1
\use_package stackrel 1
\use_package stmaryrd 1
\use_package undertilde 1
\cite_engine basic
\cite_engine_type default
\biblio_style plain
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date false
\justification true
\use_refstyle 1
\index Index
\shortcut idx
\color #008000
\end_index
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\paragraph_indentation default
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\html_math_output 0
\html_css_as_file 0
\html_be_strict false
\end_header

\begin_body

\begin_layout Title
A First Attempt at LyX
\end_layout

\begin_layout Author
Sarah Davis
\end_layout

\begin_layout Date
September 22, 2015
\end_layout

\begin_layout Abstract
This article is a representative document of a personal first look into
 writing in LyX
\begin_inset Foot
status open

\begin_layout Plain Layout
LyX is a typesetting word processor.
\end_layout

\end_inset

.
 The sections and subsections listed below represent work completed while
 practicing skills necessary to use LyX successfully.
 This skillset should prove useful while working in a technical lab, especially
 for such details as Standard Operating Procedures and Laboratory Reports.
 As a team member with a knack for organization I will use my newly acquired
 skillset to create templates for my coworkers.
 These templates will aid in the creation of consistent and aesthetically
 pleasing official documentation.
\end_layout

\begin_layout Standard
\begin_inset CommandInset toc
LatexCommand tableofcontents

\end_inset


\end_layout

\begin_layout Section
Introduction
\end_layout

\begin_layout Standard
This is an introduction to my first LyX document.
\end_layout

\begin_layout Section
About This Document
\begin_inset CommandInset label
LatexCommand label
name "sec:About-This-Document"

\end_inset


\end_layout

\begin_layout Standard
Sections and subsections are described below.
 
\begin_inset Newline newline
\end_inset

If you want to know more about this document, then see Section
\begin_inset CommandInset ref
LatexCommand vref
reference "sec:About-This-Document"

\end_inset

, which can be found on page.
\end_layout

\begin_layout Subsection
Section Description
\end_layout

\begin_layout Standard
Sections are bigger than subsections.
\begin_inset CommandInset citation
LatexCommand cite
key "lyxtutorial"

\end_inset


\end_layout

\begin_layout Subsection
Subsection description
\end_layout

\begin_layout Standard
Subsections are smaller than sections.
\end_layout

\begin_layout Section
More Stuff
\end_layout

\begin_layout Standard
This is my first LyX document woo!
\begin_inset Newline newline
\end_inset

LyX is better than other word processors because:
\end_layout

\begin_layout Description
Typesetting is done for you.
\end_layout

\begin_layout Description
Math is WYSIWYG
\end_layout

\begin_layout Description
Lists are very easy to create!
\end_layout

\begin_layout Standard
I like what Einstein said, 
\begin_inset Formula $E=mc^{2.5}+1$
\end_inset

, because it is so simple.
\begin_inset Newline newline
\end_inset

Newton's second law reads 
\begin_inset Formula $\vec{f}=m\vec{a}$
\end_inset


\begin_inset Newline newline
\end_inset

Fancy math practice:
\begin_inset Newline newline
\end_inset


\begin_inset Formula 
\[
f(x)=\left\{ \begin{array}{cc}
log_{8}x & x>0\\
0 & x=0\\
\sum_{i=1}^{5}\alpha_{i}+\sqrt{-\frac{1}{x}} & x<0
\end{array}\right.
\]

\end_inset


\end_layout

\begin_layout Bibliography
\begin_inset CommandInset bibitem
LatexCommand bibitem
key "lyxtutorial"

\end_inset

The LyX Tutorial, by the LyX Documentation Team
\end_layout

\begin_layout Bibliography
\begin_inset CommandInset bibitem
LatexCommand bibitem
key "key-2"

\end_inset


\end_layout

\end_body
\end_document

Reply via email to