]> git.lyx.org Git - lyx.git/blobdiff - lib/doc/Tutorial.lyx
an example for the sweave module, prepared by Gregor Gorjanc
[lyx.git] / lib / doc / Tutorial.lyx
index ce8a8ebf76db40025cafa14eafbe6ac5553cad14..1884455964a80ba03a29f37b3fdf85a7cedbc965 100644 (file)
@@ -1,5 +1,5 @@
-#LyX 1.6.0svn created this file. For more info see http://www.lyx.org/
-\lyxformat 334
+#LyX 1.6.3svn created this file. For more info see http://www.lyx.org/
+\lyxformat 345
 \begin_document
 \begin_header
 \textclass book
 
 \fi % end if pdflatex is used
 
- % the pages of the TOC are numbered roman
- % and a pdf-bookmark for the TOC is added
- \pagenumbering{roman}
- \let\myTOC\tableofcontents
- \renewcommand\tableofcontents{%
-   \pdfbookmark[1]{Contents}{}
-   \myTOC
-   \cleardoublepage
-   \pagenumbering{arabic} }
+% the pages of the TOC is numbered roman
+% and a pdf-bookmark for the TOC is added
+\let\myTOC\tableofcontents
+\renewcommand\tableofcontents{%
+  \frontmatter
+  \pdfbookmark[1]{\contentsname}{}
+  \myTOC
+  \mainmatter }
 
 % redefine the \LyX macro for PDF bookmarks
 \def\LyX{\texorpdfstring{%
   L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}
-  {LyX }}
+  {LyX}}
 \end_preamble
+\use_default_options false
 \language english
 \inputencoding auto
 \font_roman default
@@ -46,6 +46,7 @@
 \font_osf false
 \font_sf_scale 100
 \font_tt_scale 100
+
 \graphics default
 \paperfontsize 12
 \spacing single
 \pdf_bookmarks true
 \pdf_bookmarksnumbered true
 \pdf_bookmarksopen true
-\pdf_bookmarksopenlevel 2
+\pdf_bookmarksopenlevel 1
 \pdf_breaklinks false
 \pdf_pdfborder false
 \pdf_colorlinks true
 \pdf_backref false
-\pdf_pagebackref false
 \pdf_pdfusetitle false
 \pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue,pdfpagelayout=OneColumn, pdfnewwindow=true,pdfstartview=XYZ, plainpages=false, pdfpagelabels"
 \papersize default
@@ -238,7 +238,7 @@ Tutorial
 Tutorial
 \emph default
 , you should definitely check out Section
-\begin_inset Space ~
+\begin_inset space ~
 \end_inset
 
 
@@ -284,7 +284,7 @@ Unnecessary.
  you can have a look at the 
 \emph on
 Embedded
-\begin_inset Space ~
+\begin_inset space ~
 \end_inset
 
 Objects
@@ -304,13 +304,6 @@ Getting started with LyX
 
 \begin_layout Section
 Your first LyX document
-\begin_inset CommandInset label
-LatexCommand label
-name "sec:Your-first-LyX"
-
-\end_inset
-
-
 \end_layout
 
 \begin_layout Standard
@@ -322,7 +315,7 @@ OK\SpecialChar \@.
 \end_layout
 
 \begin_layout Standard
-Because there are informations we can't give you in the Tutorial, the 
+Because there is information we can't give you in the Tutorial, the 
 \emph on
 first
 \emph default
@@ -398,7 +391,7 @@ subtle
 \begin_inset Quotes erd
 \end_inset
 
- hints about how to fix things
+ hints about how to fix things.
 \begin_inset Foot
 status collapsed
 
@@ -417,7 +410,6 @@ Notes
 
 \end_inset
 
-.
  If you want to cheat, or check what you've done, there's also a file called
  
 \family typewriter
@@ -436,7 +428,7 @@ examples
 \family sans
 File\SpecialChar \menuseparator
 Save
-\begin_inset Space ~
+\begin_inset space ~
 \end_inset
 
 As
@@ -479,7 +471,7 @@ Save your document with
 \family sans
 File\SpecialChar \menuseparator
 Save
-\begin_inset Space ~
+\begin_inset space ~
 \end_inset
 
 As\SpecialChar \@.
@@ -649,11 +641,11 @@ Find/Replace Use
 \family sans
 Edit\SpecialChar \menuseparator
 Find
-\begin_inset Space ~
+\begin_inset space ~
 \end_inset
 
 &
-\begin_inset Space ~
+\begin_inset space ~
 \end_inset
 
 Replace
@@ -669,7 +661,7 @@ Replace
  In the dialog, search with the 
 \family sans
 Find
-\begin_inset Space ~
+\begin_inset space ~
 \end_inset
 
 Next
@@ -678,7 +670,7 @@ Next
 \family sans
 Replace
 \family default
- button to replace a word you've found
+ button to replace a word you've found.
 \begin_inset Foot
 status collapsed
 
@@ -692,7 +684,6 @@ t.
 
 \end_inset
 
-.
  If you like, you can specify whether to make the search case-sensitive,
  or to search for only complete words; you can also search backwards through
  the document.
@@ -700,7 +691,7 @@ t.
 
 \begin_layout Description
 Character
-\begin_inset Space ~
+\begin_inset space ~
 \end_inset
 
 Formatting You can 
@@ -720,7 +711,7 @@ Noun Style
 \family sans
 Edit\SpecialChar \menuseparator
 Text
-\begin_inset Space ~
+\begin_inset space ~
 \end_inset
 
 Style
@@ -756,13 +747,6 @@ Of course, you haven't yet written enough to make most of these functions
 
 \begin_layout Subsection
 WYSIWYM: Whitespace in LyX
-\begin_inset CommandInset label
-LatexCommand label
-name "sec:whitespace"
-
-\end_inset
-
-
 \end_layout
 
 \begin_layout Standard
@@ -860,8 +844,8 @@ User's Guide
 \family sans
 HFill
 \family default
-s and vertical space --- which are more powerful and versatile than multiple
- spaces or blank lines --- and ways to change font sizes, character styles,
+s and vertical space  which are more powerful and versatile than multiple
+ spaces or blank lines  and ways to change font sizes, character styles,
  and paragraph alignments by hand.
  The idea, though, is that you can write your whole document, focusing on
  content, and just worry about that fine-tuning at the end.
@@ -1064,7 +1048,7 @@ Environment
 
 \family typewriter
 More
-\begin_inset Space ~
+\begin_inset space ~
 \end_inset
 
 Stuff
@@ -1079,7 +1063,7 @@ Stuff
 \begin_layout Standard
 It gets better.
  Go to the end of Section
-\begin_inset Space ~
+\begin_inset space ~
 \end_inset
 
 1 again (after 
@@ -1118,7 +1102,7 @@ About This Document
 \family default
 .
  Section
-\begin_inset Space ~
+\begin_inset space ~
 \end_inset
 
 
@@ -1130,11 +1114,11 @@ More Stuff
 \end_inset
 
 , which used to be Section
-\begin_inset Space ~
+\begin_inset space ~
 \end_inset
 
 2, has been automatically renumbered to Section
-\begin_inset Space ~
+\begin_inset space ~
 \end_inset
 
 3! In true WYSIWYM fashion, you just need to identify the text that makes
@@ -1209,11 +1193,11 @@ Subsection
 
 .
  If you put yet another section before Section
-\begin_inset Space ~
+\begin_inset space ~
 \end_inset
 
 2, Section
-\begin_inset Space ~
+\begin_inset space ~
 \end_inset
 
 2 will be renumbered as Section 3, and the subsections will be renumbered
@@ -1268,7 +1252,7 @@ Section
 \family default
 s, but you're only allowed to use them in certain types (text classes) of
  LyX documents (see Section
-\begin_inset Space ~
+\begin_inset space ~
 \end_inset
 
 
@@ -1376,8 +1360,7 @@ The
 \family sans
 List
 \family default
- environment --- not found in LaTeX --- is a slightly different form of
- the 
+ environment is a slightly different form of the 
 \family sans
 Description
 \family default
@@ -1449,14 +1432,14 @@ item
 , one way is to use the 
 \family sans
 Protected
-\begin_inset Space ~
+\begin_inset space ~
 \end_inset
 
 Break
 \family default
 , which you get by typing 
 \family sans
-C-Return
+Ctrl+Return
 \family default
 .
  In order to get out of the list, you need to reselect the 
@@ -1465,11 +1448,11 @@ Standard
 \family default
  environment (or just use the keybinding, 
 \family sans
-M-p
-\begin_inset Space ~
+Alt+P
+\begin_inset space ~
 \end_inset
 
-s
+S
 \family default
 ).
 \end_layout
@@ -1562,7 +1545,7 @@ List
  the words with 
 \family sans
 Protected
-\begin_inset Space ~
+\begin_inset space ~
 \end_inset
 
 Blank
@@ -1637,7 +1620,7 @@ Return
 \family default
  to separate stanzas, and 
 \family sans
-C-Return
+Ctrl+Return
 \family default
  to separate lines within a stanza.
  See the 
@@ -1704,8 +1687,8 @@ Different sorts of documents should be typeset differently.
  For example, books are generally printed double-sided, while articles are
  single-sided.
  In addition, many documents contain special environments: letters contain
- some environments --- such as the sender's address and the signature ---
which do not make sense in a book or article.
+ some environments — such as the sender's address and the signature — which
+ do not make sense in a book or article.
  The LyX 
 \emph on
 document class
@@ -1792,7 +1775,7 @@ style files
  American Mathematics Society journals using the 
 \family sans
 Article
-\begin_inset Space ~
+\begin_inset space ~
 \end_inset
 
 (AMS)
@@ -1808,7 +1791,7 @@ Special Document Classes
 \emph default
  section of the 
 \emph on
-Extended Features
+Additional Features
 \emph default
  manual for many more details.
 \end_layout
@@ -2001,11 +1984,11 @@ Open a new file with
 \family sans
 File\SpecialChar \menuseparator
 New
-\begin_inset Space ~
+\begin_inset space ~
 \end_inset
 
 from
-\begin_inset Space ~
+\begin_inset space ~
 \end_inset
 
 Template
@@ -2027,7 +2010,7 @@ Environment
  box, you'll see several environments, like the 
 \family sans
 My
-\begin_inset Space ~
+\begin_inset space ~
 \end_inset
 
 Address
@@ -2093,16 +2076,16 @@ status collapsed
 
 \begin_layout Plain Layout
 One warning, if you're writing from a template.
- If you erase all of the text in an environment --- for example, if you
erase the whole 
+ If you erase all of the text in an environment — for example, if you erase
+ the whole 
 \family sans
 My
-\begin_inset Space ~
+\begin_inset space ~
 \end_inset
 
 Address
 \family default
- field so that you can replace it with your own --- and then you move the
+ field so that you can replace it with your own  and then you move the
  cursor without writing any text, the environment may disappear.
  This is because most environments cannot exist without any text in them.
  Just reselect the environment from the 
@@ -2133,8 +2116,8 @@ Document Titles
 \end_layout
 
 \begin_layout Standard
-LyX (like LaTeX) considers the title --- which may contain the actual title,
- the author, the date, and even an abstract of a paper --- to be a separate
+LyX (like LaTeX) considers the title  which may contain the actual title,
+ the author, the date, and even an abstract of a paper  to be a separate
  part of the document.
 \end_layout
 
@@ -2194,13 +2177,6 @@ example_raw.lyx
 
 \begin_layout Section
 Labels and Cross-References
-\begin_inset CommandInset label
-LatexCommand label
-name "sec:labels"
-
-\end_inset
-
-
 \end_layout
 
 \begin_layout Standard
@@ -2233,7 +2209,7 @@ Embedded Objects
  LyX (and LaTeX) over conventional word processors.
 \end_layout
 
-\begin_layout Subsection*
+\begin_layout Subsection
 Your first label
 \end_layout
 
@@ -2279,20 +2255,20 @@ By the way, you could have put the label right anywhere within the section
 \end_layout
 
 \begin_layout Standard
-So far you haven't done anything --- the DVI output will look exactly the
+So far you haven't done anything  the DVI output will look exactly the
  same, since labels don't show up in the printed document.
  However, now that you have added a label, you can refer to that label with
  cross-references.
  We'll do that next.
 \end_layout
 
-\begin_layout Subsection*
+\begin_layout Subsection
 Your first cross-reference
 \end_layout
 
 \begin_layout Standard
-Place the cursor somewhere in Section
-\begin_inset Space ~
+Place the cursor somewhere in section
+\begin_inset space ~
 \end_inset
 
 2 of your document.
@@ -2304,11 +2280,11 @@ If you want to know more about this document, then see
 \begin_inset Newline newline
 \end_inset
 
-Section , which can be found on page .
+section, which can be found on page.
 \end_layout
 
 \begin_layout Standard
-Now --- with the cursor after the word 
+Now set the cursor after the word 
 \begin_inset Quotes eld
 \end_inset
 
@@ -2316,11 +2292,11 @@ section
 \begin_inset Quotes erd
 \end_inset
 
--- choose 
and choose 
 \family sans
 Insert\SpecialChar \menuseparator
 Cross
-\begin_inset Space ~
+\begin_inset space ~
 \end_inset
 
 Reference
@@ -2370,7 +2346,7 @@ Apply
  (To be really correct, you should put a 
 \family sans
 Protected
-\begin_inset Space ~
+\begin_inset space ~
 \end_inset
 
 Blank
@@ -2387,6 +2363,26 @@ Section
  Same for the page reference.)
 \end_layout
 
+\begin_layout Standard
+Alternatively to that method, you can right-click on a label and use in
+ the appearing context menu 
+\family sans
+Copy as Reference
+\family default
+.
+ The cross-reference to this label is now in the clipboard and can be copied
+ to the actual cursor position via the menu 
+\family sans
+Edit\SpecialChar \menuseparator
+Paste
+\family default
+ (shortcut 
+\family sans
+Ctrl+V
+\family default
+).
+\end_layout
+
 \begin_layout Standard
 LyX puts the references in a box right where the cursor was.
  In the printed document, this reference marker will be replaced with either
@@ -2401,7 +2397,7 @@ Cross-reference
 \end_inset
 
 Section
-\begin_inset Space ~
+\begin_inset space ~
 \end_inset
 
 2
@@ -2413,7 +2409,7 @@ Section
 \end_inset
 
 Page
-\begin_inset Space ~
+\begin_inset space ~
 \end_inset
 
 1
@@ -2421,7 +2417,7 @@ Page
 \end_inset
 
  (or whatever page Section
-\begin_inset Space ~
+\begin_inset space ~
 \end_inset
 
 2's title is on).
@@ -2436,11 +2432,11 @@ Cross-Reference
  dialog, clicking 
 \family sans
 Go
-\begin_inset Space ~
+\begin_inset space ~
 \end_inset
 
 to
-\begin_inset Space ~
+\begin_inset space ~
 \end_inset
 
 Label
@@ -2448,7 +2444,7 @@ Label
  will move the cursor to the referenced label.
 \end_layout
 
-\begin_layout Subsection*
+\begin_layout Subsection
 More fun with labels
 \end_layout
 
@@ -2456,11 +2452,11 @@ More fun with labels
 We told you that LyX takes care about numbering cross-references; now you
  can test that.
  Add a new section before Section
-\begin_inset Space ~
+\begin_inset space ~
 \end_inset
 
 2.
- Update the DVI view, and --- voilà! --- the section cross reference changed
+ Update the DVI view, and — voilà! — the section cross reference changed
  to 
 \begin_inset Quotes eld
 \end_inset
@@ -2478,11 +2474,11 @@ About this Document
 \end_inset
 
  to a subsection, and the cross-reference will reference Subsection
-\begin_inset Space ~
+\begin_inset space ~
 \end_inset
 
 2.1 instead of Section
-\begin_inset Space ~
+\begin_inset space ~
 \end_inset
 
 3.
@@ -2524,7 +2520,7 @@ status collapsed
 \begin_layout Plain Layout
 By the way, copying a chapter title may cause an error, because chapters
  aren't allowed in the article class, see section
-\begin_inset Space ~
+\begin_inset space ~
 \end_inset
 
 
@@ -2618,8 +2614,8 @@ folding
 \end_inset
 
  the footnote.
- You can unfold the footnote at any time --- and re-edit its text, if you
want --- by clicking again on the 
+ You can unfold the footnote at any time and re-edit its text by clicking
+ again on the 
 \begin_inset Quotes eld
 \end_inset
 
@@ -2689,7 +2685,7 @@ Margin notes can be added using the menu
 \family sans
 Insert\SpecialChar \menuseparator
 Marginal
-\begin_inset Space ~
+\begin_inset space ~
 \end_inset
 
 Note
@@ -2794,7 +2790,7 @@ The Lyx Tutorial, by the LyX Documentation Team
  Click on the boxed reference number, and the 
 \family sans
 Bibliography
-\begin_inset Space ~
+\begin_inset space ~
 \end_inset
 
 item
@@ -2875,7 +2871,7 @@ Add
 The 
 \family sans
 Text
-\begin_inset Space ~
+\begin_inset space ~
 \end_inset
 
 after
@@ -2902,7 +2898,7 @@ Label
  field in the 
 \family sans
 Bibliography
-\begin_inset Space ~
+\begin_inset space ~
 \end_inset
 
 item
@@ -2941,20 +2937,20 @@ Return
 \family sans
 Insert\SpecialChar \menuseparator
 List
-\begin_inset Space ~
+\begin_inset space ~
 \end_inset
 
 /
-\begin_inset Space ~
+\begin_inset space ~
 \end_inset
 
 TOC\SpecialChar \menuseparator
 Table
-\begin_inset Space ~
+\begin_inset space ~
 \end_inset
 
 of
-\begin_inset Space ~
+\begin_inset space ~
 \end_inset
 
 Contents
@@ -3050,7 +3046,7 @@ LaTeX is used by many scientists because it outputs great looking equations,
  If, on the other hand, you've never written in LaTeX, then the 
 \family sans
 Math
-\begin_inset Space ~
+\begin_inset space ~
 \end_inset
 
 Panel
@@ -3103,7 +3099,7 @@ Instead, we create a formula that will get typeset properly.
 Insert\SpecialChar \menuseparator
 Math\SpecialChar \menuseparator
 Inline
-\begin_inset Space ~
+\begin_inset space ~
 \end_inset
 
 Formula
@@ -3153,11 +3149,11 @@ sqrt
 \family default
 ; this can be frustrating, because you can't see what an expression looks
  like until you LaTeX the file, and may have to spend time to find e.
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
 \end_inset
 
 g.
-\begin_inset Space ~
+\begin_inset space \space{}
 \end_inset
 
 missing brackets.
@@ -3330,7 +3326,7 @@ Exponents and Indices
 An exponent can be entered from the 
 \family sans
 Math
-\begin_inset Space ~
+\begin_inset space ~
 \end_inset
 
 Toolbar
@@ -3358,8 +3354,8 @@ Esc
 \end_layout
 
 \begin_layout Standard
-Writing a subscript (index) is just as easy --- start one by typing the
underscore key, 
+Writing a subscript (index) is just as easy — start one by typing the underscore
+ key, 
 \begin_inset Quotes eld
 \end_inset
 
@@ -3397,7 +3393,7 @@ The Math Toolbar
 The 
 \family sans
 Math
-\begin_inset Space ~
+\begin_inset space ~
 \end_inset
 
 Toolbar
@@ -3418,7 +3414,7 @@ Math
  However, we're going to concentrate on using the 
 \family sans
 Math
-\begin_inset Space ~
+\begin_inset space ~
 \end_inset
 
 Toolbars
@@ -3483,7 +3479,7 @@ Math
 \end_inset
 
 Math
-\begin_inset Space ~
+\begin_inset space ~
 \end_inset
 
 (auto)
@@ -3501,7 +3497,7 @@ Greek and symbols
 The 
 \family sans
 Math
-\begin_inset Space ~
+\begin_inset space ~
 \end_inset
 
 Toolbar
@@ -3624,15 +3620,15 @@ Delimiter
  will look bad if you have a big fraction or matrix inside the parentheses.
  So better use in this case one of the three delimiter buttons that insert
  directly e.
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
 \end_inset
 
 g.
-\begin_inset Space ~
+\begin_inset space \space{}
 \end_inset
 
 a (
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
 \end_inset
 
 ) pair.
@@ -3645,7 +3641,7 @@ You can also put delimiters or a square root sign or a decoration on already
  on the button you want from the 
 \family sans
 Math
-\begin_inset Space ~
+\begin_inset space ~
 \end_inset
 
 Toolbar
@@ -3682,7 +3678,7 @@ To create a fraction, click on the fraction button
  in the 
 \family sans
 Math
-\begin_inset Space ~
+\begin_inset space ~
 \end_inset
 
 Toolbar
@@ -3821,7 +3817,7 @@ Space
 Click on the 
 \family sans
 Math
-\begin_inset Space ~
+\begin_inset space ~
 \end_inset
 
 Toolbar
@@ -3915,13 +3911,6 @@ example_raw.lyx
 
 \begin_layout Subsection
 Matrices
-\begin_inset CommandInset label
-LatexCommand label
-name "sec:matrices"
-
-\end_inset
-
-
 \end_layout
 
 \begin_layout Standard
@@ -3936,7 +3925,7 @@ Click on the matrix button
  in the 
 \family sans
 Math
-\begin_inset Space ~
+\begin_inset space ~
 \end_inset
 
 Toolbar
@@ -3980,13 +3969,12 @@ Down
 If you need to change the number of rows and columns, use the menu 
 \family sans
 Edit\SpecialChar \menuseparator
-Math\SpecialChar \menuseparator
 Rows
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
 \end_inset
 
 &
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
 \end_inset
 
 Columns
@@ -4068,7 +4056,7 @@ Click on the display button
  in the 
 \family sans
 Math
-\begin_inset Space ~
+\begin_inset space ~
 \end_inset
 
 Toolbar
@@ -4159,7 +4147,7 @@ After you've done it the hard way, give
 Insert\SpecialChar \menuseparator
 Math\SpecialChar \menuseparator
 Cases
-\begin_inset Space ~
+\begin_inset space ~
 \end_inset
 
 Environment
@@ -4203,7 +4191,15 @@ Multi-line equations
 \end_layout
 
 \begin_layout Itemize
-Change typefaces, e.g., to write bold-face text in an expression.
+Change typefaces, e.
+\begin_inset space \thinspace{}
+\end_inset
+
+g.
+\begin_inset space \space{}
+\end_inset
+
+to write bold-face text in an expression.
 \end_layout
 
 \begin_layout Itemize
@@ -4239,7 +4235,7 @@ User's Guide
  and the 
 \emph on
 Embedded
-\begin_inset Space ~
+\begin_inset space ~
 \end_inset
 
 Objects
@@ -4271,7 +4267,7 @@ right button
  to get a 
 \family sans
 Table
-\begin_inset Space ~
+\begin_inset space ~
 \end_inset
 
 Settings
@@ -4338,13 +4334,14 @@ Open
 \family default
  by pressing 
 \family sans
-M-F
+Alt+F
 \family default
  followed by 
 \family sans
 O
 \family default
- or by using the binding which is shown next to it in the menu (C-O by default).
+ or by using the binding which is shown next to it in the menu (Ctrl+O by
+ default).
  Keybindings are also configurable.
  For information on this, check out 
 \family sans
@@ -4356,7 +4353,7 @@ Customization\SpecialChar \@.
 \begin_layout Itemize
 LyX can read LaTeX documents.
  See section
-\begin_inset Space ~
+\begin_inset space ~
 \end_inset
 
 
@@ -4408,10 +4405,10 @@ Because this is just a tutorial, we are only going to mention things that
  new LyX users will most likely be interested in.
  In the interests of keeping the Tutorial short, we will give only minimal
  information here.
- The the 
+ The 
 \emph on
-Extended
-\begin_inset Space ~
+Additional
+\begin_inset space ~
 \end_inset
 
 Features
@@ -4419,7 +4416,7 @@ Features
  and the 
 \emph on
 Embedded
-\begin_inset Space ~
+\begin_inset space ~
 \end_inset
 
 Objects
@@ -4439,7 +4436,7 @@ Anything that you enter in TeX mode will be passed straight to LaTeX, and
 \family sans
 Insert\SpecialChar \menuseparator
 TeX
-\begin_inset Space ~
+\begin_inset space ~
 \end_inset
 
 Code
@@ -4512,7 +4509,7 @@ gamma
  This may be faster than using the 
 \family sans
 Math
-\begin_inset Space ~
+\begin_inset space ~
 \end_inset
 
 Toolbar
@@ -4548,7 +4545,7 @@ LyX can't do absolutely everything that LaTeX can do.
 usepackage{foo}
 \family default
  in the preamble (see section
-\begin_inset Space ~
+\begin_inset space ~
 \end_inset
 
 
@@ -4558,12 +4555,12 @@ reference "sec:preamble"
 
 \end_inset
 
-), you can use any package you want --- although you won't have WYSIWYM
support for that package's features.
+), you can use any package you want — although you won't have WYSIWYM support
+ for that package's features.
 \end_layout
 
 \begin_layout Subsection
-Importing LaTeX Documents --- 
+Importing LaTeX Documents  
 \family typewriter
 tex2lyx
 \family default
@@ -4583,7 +4580,7 @@ You can import a LaTeX file into LyX by using the
 File\SpecialChar \menuseparator
 Import\SpecialChar \menuseparator
 LaTeX
-\begin_inset Space ~
+\begin_inset space ~
 \end_inset
 
 (plain)
@@ -4696,7 +4693,7 @@ E
 x
 \bar default
 tra
-\begin_inset Space ~
+\begin_inset space ~
 \end_inset
 
 Options
@@ -4723,7 +4720,7 @@ If you have special commands to put in the preamble of a LaTeX file, you
 Document\SpecialChar \menuseparator
 Settings\SpecialChar \menuseparator
 LaTeX
-\begin_inset Space ~
+\begin_inset space ~
 \end_inset
 
 Preamble
@@ -4742,29 +4739,18 @@ LyX has support for BibTeX, which allows you to build databases of bibliographic
 al references to be used in multiple documents.
  Select 
 \family sans
-\bar under
-I
-\bar default
-nsert\SpecialChar \menuseparator
+Insert\SpecialChar \menuseparator
 List
-\begin_inset Space ~
+\begin_inset space ~
 \end_inset
 
 /
-\begin_inset Space ~
+\begin_inset space ~
 \end_inset
 
-T
-\bar under
-O
-\bar default
-C\SpecialChar \menuseparator
-
-\bar under
-B
-\bar default
-ibTeX
-\begin_inset Space ~
+TOC\SpecialChar \menuseparator
+BibTeX
+\begin_inset space ~
 \end_inset
 
 Bibliography
@@ -4793,7 +4779,7 @@ Insert\SpecialChar \menuseparator
 Citation
 \family default
  (see section
-\begin_inset Space ~
+\begin_inset space ~
 \end_inset
 
 
@@ -4826,7 +4812,7 @@ Sometimes when you LaTeX a document, there will be errors, things that LyX
  When this happens, LyX will open a 
 \family sans
 LaTeX
-\begin_inset Space ~
+\begin_inset space ~
 \end_inset
 
 Errors