]> git.lyx.org Git - lyx.git/blobdiff - lib/doc/Extended.lyx
German UserGuide.lyx: update for Hartmut
[lyx.git] / lib / doc / Extended.lyx
index 0f3901142972997b42491440afadade004890e1a..d6eb910e222d48c1f4d489f22d2a82df8071fdd5 100644 (file)
@@ -1,12 +1,49 @@
-#LyX 1.5.2svn created this file. For more info see http://www.lyx.org/
-\lyxformat 276
+#LyX 1.6.0svn created this file. For more info see http://www.lyx.org/
+\lyxformat 313
 \begin_document
 \begin_header
 \textclass book
 \begin_preamble
 \usepackage{multicol}
 \newcommand{\extratablespace}[1]{\noalign{\vskip#1}}
+
+% if pdflatex is used
+\usepackage{ifpdf}
+\ifpdf
+
+% set fonts for nicer pdf view
+\IfFileExists{lmodern.sty}
+ {\usepackage{lmodern}}{}
+
+% link all cross references and URLs
+% in pdf output
+ \usepackage[colorlinks=true, bookmarks, bookmarksnumbered, bookmarksopen, bookmarksopenlevel=1,
+  linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue,
+  pdfpagelayout=OneColumn, pdfnewwindow=true,
+  pdfstartview=XYZ, plainpages=false, pdfpagelabels,
+  pdfauthor={LyX Team}, pdftex,
+  pdftitle={LyX's Extended manual},
+  pdfsubject={LyX's extended documentation},
+  pdfkeywords={LyX, Documentation, Extended}]{hyperref}
+\else % if dvi or ps is produced
+
+ % link all cross references and URLs in DVI output
+ \usepackage[ps2pdf, colorlinks=true,
+  linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue]{hyperref}
+
+\fi % end if pdflatex is used
+
+% redefine the \LyX macro for PDF bookmarks
+\def\LyX{\texorpdfstring{%
+  L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}
+  {LyX }}
 \end_preamble
+\begin_modules
+logicalmkup
+theorems-ams
+theorems-ams-extended
+\end_modules
 \language english
 \inputencoding latin1
 \font_roman default
@@ -20,6 +57,7 @@
 \graphics default
 \paperfontsize default
 \spacing single
+\use_hyperref false
 \papersize default
 \use_geometry false
 \use_amsmath 0
@@ -69,7 +107,8 @@ Principal maintainer of this file is
 \end_layout
 
 \begin_layout Standard
-\begin_inset LatexCommand tableofcontents
+\begin_inset CommandInset toc
+LatexCommand tableofcontents
 
 \end_inset
 
@@ -178,7 +217,8 @@ How LyX Uses LaTeX
 \end_layout
 
 \begin_layout Standard
-\begin_inset LatexCommand label
+\begin_inset CommandInset label
+LatexCommand label
 name "sec:lyxandlatex"
 
 \end_inset
@@ -468,6 +508,13 @@ ile
 
 \begin_layout Section
 Translating LaTeX files into LyX
+\begin_inset CommandInset label
+LatexCommand label
+name "sec:Translating-LaTeX-files"
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout Standard
@@ -519,8 +566,10 @@ tex2lyx
 \end_layout
 
 \begin_layout Standard
-If you just want to put a piece of LaTeX code into a LyX file, see Section
-\begin_inset LatexCommand ref
+If you just want to put a piece of LaTeX code into a LyX file, see Section\InsetSpace ~
+
+\begin_inset CommandInset ref
+LatexCommand ref
 reference "sec:latexcodes"
 
 \end_inset
@@ -530,7 +579,8 @@ reference "sec:latexcodes"
 
 \begin_layout Section
 Inserting LaTeX Code into LyX Documents 
-\begin_inset LatexCommand label
+\begin_inset CommandInset label
+LatexCommand label
 name "sec:Inserting-LaTeX-Code"
 
 \end_inset
@@ -539,7 +589,8 @@ name "sec:Inserting-LaTeX-Code"
 \end_layout
 
 \begin_layout Standard
-\begin_inset LatexCommand label
+\begin_inset CommandInset label
+LatexCommand label
 name "sec:latexcodes"
 
 \end_inset
@@ -577,7 +628,7 @@ inlined
  short sections of LaTeX commands.
  
 \begin_inset ERT
-status inlined
+status open
 
 \begin_layout Standard
 
@@ -884,7 +935,8 @@ About the LaTeX Preamble
 \end_layout
 
 \begin_layout Standard
-\begin_inset LatexCommand label
+\begin_inset CommandInset label
+LatexCommand label
 name "sec:preamble"
 
 \end_inset
@@ -1372,7 +1424,8 @@ dirty tricks
 
  given in Chapter\InsetSpace ~
 
-\begin_inset LatexCommand ref
+\begin_inset CommandInset ref
+LatexCommand ref
 reference "cha:secrets"
 
 \end_inset
@@ -1899,7 +1952,8 @@ Supplemental Tools
 
 \begin_layout Section
 Preparing a Bibliography with BibTeX
-\begin_inset LatexCommand label
+\begin_inset CommandInset label
+LatexCommand label
 name "sec:Preparing-a-Bibliography"
 
 \end_inset
@@ -2198,8 +2252,13 @@ status collapsed
 
 \begin_layout Standard
 See 
-\begin_inset LatexCommand url
-target "ftp://ctan.tug.org/tex-archive/macros/latex/contrib/custom-bib/"
+\begin_inset Flex URL
+status collapsed
+
+\begin_layout Standard
+
+ftp://ctan.tug.org/tex-archive/macros/latex/contrib/custom-bib/
+\end_layout
 
 \end_inset
 
@@ -2217,7 +2276,8 @@ natbib
 
 \begin_layout Subsection
 Sectionated Bibliographies
-\begin_inset LatexCommand label
+\begin_inset CommandInset label
+LatexCommand label
 name "sub:Sectionated-Bibliographies"
 
 \end_inset
@@ -2254,8 +2314,13 @@ status collapsed
 
 \begin_layout Standard
 Available from 
-\begin_inset LatexCommand url
-target "ftp://ctan.tug.org/tex-archive/macros/latex/contrib/bibtopic/"
+\begin_inset Flex URL
+status collapsed
+
+\begin_layout Standard
+
+ftp://ctan.tug.org/tex-archive/macros/latex/contrib/bibtopic/
+\end_layout
 
 \end_inset
 
@@ -2332,7 +2397,8 @@ bibliography
 .
  Now you can insert multiple BibTeX references (as described in section\InsetSpace ~
 
-\begin_inset LatexCommand ref
+\begin_inset CommandInset ref
+LatexCommand ref
 reference "sec:Preparing-a-Bibliography"
 
 \end_inset
@@ -2426,7 +2492,8 @@ bibtopic
  LyX (cf.\InsetSpace ~
 section\InsetSpace ~
 
-\begin_inset LatexCommand ref
+\begin_inset CommandInset ref
+LatexCommand ref
 reference "sub:Sectionated-Bibliographies"
 
 \end_inset
@@ -2435,7 +2502,8 @@ reference "sub:Sectionated-Bibliographies"
  LaTeX-Code (ERT, cf.\InsetSpace ~
 section\InsetSpace ~
 
-\begin_inset LatexCommand ref
+\begin_inset CommandInset ref
+LatexCommand ref
 reference "sec:Inserting-LaTeX-Code"
 
 \end_inset
@@ -2515,6 +2583,10 @@ every
  Also, the btUnits cannot be nested.
 \end_layout
 
+\begin_layout Standard
+
+\end_layout
+
 \begin_layout Section
 Multipart Documents
 \end_layout
@@ -3025,7 +3097,8 @@ usepackage{graphics}
 
 \begin_layout Section
 Itemize Bullet Selection
-\begin_inset LatexCommand label
+\begin_inset CommandInset label
+LatexCommand label
 name "sec:bullet"
 
 \end_inset
@@ -3422,7 +3495,7 @@ really
 
 \begin_layout Standard
 \begin_inset ERT
-status inlined
+status open
 
 \begin_layout Standard
 
@@ -3442,7 +3515,7 @@ labelitemi
 
 \begin_layout Standard
 \begin_inset ERT
-status inlined
+status open
 
 \begin_layout Standard
 
@@ -3521,7 +3594,7 @@ labelitem
 
 \begin_layout Itemize
 \begin_inset ERT
-status inlined
+status open
 
 \begin_layout Standard
 
@@ -3553,7 +3626,7 @@ star
 
 \begin_layout Standard
 \begin_inset ERT
-status inlined
+status open
 
 \begin_layout Standard
 
@@ -3592,13 +3665,19 @@ Special Document Classes
 \end_layout
 
 \begin_layout Section
+\begin_inset CommandInset label
+LatexCommand label
+name "sec:AMS-LaTeX"
+
+\end_inset
+
 AMS LaTeX
 \end_layout
 
 \begin_layout Standard
 by 
 \noun on
-David Johnson
+David Johnson; updated by Richard Heck
 \end_layout
 
 \begin_layout Standard
@@ -3617,251 +3696,268 @@ The AMS LaTeX layouts are set up to conform to suggested styles for mathematical
  each journal (usually it will entail only changing a single line in the
  TeX output).
  That documentation is available on the Web at 
-\begin_inset LatexCommand url
-target "http://www.ams.org"
+\begin_inset Flex URL
+status open
+
+\begin_layout Standard
+
+http://www.ams.org
+\end_layout
 
 \end_inset
 
  or by ftp at 
-\begin_inset LatexCommand url
-target "ftp://ftp.ams.org/pub/tex/amslatex/"
+\begin_inset Flex URL
+status open
 
-\end_inset
+\begin_layout Standard
 
-.These layouts are appropriate, and useful, for any mathematical writing.
- There are currently 4 distinct AMS LaTeX layouts: 
+ftp://ftp.ams.org/pub/tex/amslatex/
 \end_layout
 
-\begin_layout Enumerate
-amsart: The standard AMS-article format.
- All results and similar statements are numbered as 
-\begin_inset Formula $(n.m)$
 \end_inset
 
-, where the first number refers to the section, and the second refers to
- the total number of results (Theorems, Corollaries, Propositions, Definitions
- and Remarks, etc.) in that section.
- There are also many (but not all) environments available unnumbered, which
- is occasionally needed.
- Unnumbered environments indicated by an asterisk at the end.
+.
+ These layouts are appropriate, and useful, for any mathematical writing.
 \end_layout
 
-\begin_layout Enumerate
-amsart-seq: Here, numbering for each type of statement is in its own sequence,
- with no reference to the section number.
- There are also many (but not all) environments available unnumbered, which
- is occasionally needed.
- Unnumbered environments indicated by an asterisk at the end.
+\begin_layout Standard
+There are two basic AMS LaTeX layouts: 
 \end_layout
 
 \begin_layout Enumerate
-amsart-plain: This one is even more terse, since all the environments are
- unnumbered.
+amsart: The standard AMS article format.
 \end_layout
 
 \begin_layout Enumerate
 amsbook: the standard AMS book (really, monograph) format.
- Numbering is similar to the amsart layout, except that all numbering is
- by 
-\begin_inset Formula $(n.m.p)$
-\end_inset
+\end_layout
+
+\begin_layout Standard
+These layouts themselves contain only the minimum necessary to use the AMS
+ classes.
+ They do not, in particular, contain any of the `theorem' environments used
+ for setting theorems, lemmas, and the like.
+ These are contained, instead, in the 
+\begin_inset Flex CharStyle:Code
+status collapsed
 
-, where the first number refers to the chapter, the second to the section,
- and the third is the number of the results (Theorems, Corollaries, Propositions
-, Definitions and Remarks, etc.) in that section.
- There are also many (but not all) environments available unnumbered, which
- is occasionally needed.
- Unnumbered environments indicated by an asterisk at the end.
+\begin_layout Standard
+Theorems (AMS)
 \end_layout
 
+\end_inset
+
+ module, which you will need to load separately when you selected one of
+ the AMS classes.
+ Less commonly used environments are in the 
+\begin_inset Flex CharStyle:Code
+status collapsed
+
 \begin_layout Standard
-Any AMS LyX file can be converted to either of the numbering schemes by
- simply changing the document class in the 
-\family sans
-\bar under
-D
-\bar default
-ocument\SpecialChar \menuseparator
+Theorems (AMS-Extended)
+\end_layout
 
-\bar under
-S
-\bar default
-ettings
-\family default
- dialog.
+\end_inset
+
+ module.
  
 \end_layout
 
-\begin_layout Subsection
-What these layouts provide
-\end_layout
+\begin_layout Standard
+By default, theorems and the like are numbered consecutively throughout
+ the document, but this may be modified by loading the module 
+\begin_inset Flex CharStyle:Code
+status collapsed
 
 \begin_layout Standard
-There is a long list of included environments provided by these layouts.
- Most mathematical papers or books will set as special statements most of
- these environments, in AMS-LaTeX there is an opportunity to define an unlimited
- variety of such declarations.
- However, the AMS recommends the environments that are available in LyX.
- The list of environments (not counting the standard environments such as
-\family sans
-sections, bibliography, title, author, date
-\family default
-), is:
+Theorems (Order by Section)
 \end_layout
 
-\begin_layout Description
-Theorem This is typically used for the statements of major results.
- The word 
-\begin_inset Quotes eld
 \end_inset
 
+ or, if you are using 
+\begin_inset Flex CharStyle:Code
+status collapsed
 
-\family sans
-Theorem
-\family default
+\begin_layout Standard
+book (AMS)
+\end_layout
 
-\begin_inset Quotes erd
 \end_inset
 
- appears in bold type, along with an automatically-determined number (an
- unnumbered version, 
-\family sans
-Theorem*
-\family default
-, is also available).
- The text is italicized.
-\end_layout
+, the module 
+\begin_inset Flex CharStyle:Code
+status collapsed
 
-\begin_layout Description
-Corollary This is used for statements which follow fairly directly from
- previous statements.
- Again, these can be major results.
- Unnumbered version 
-\family sans
-Corollary*
-\family default
- is available.
+\begin_layout Standard
+Theorems (Order by Chapter)
 \end_layout
 
-\begin_layout Description
-Lemma These are smaller results needed to prove other statements.
-\end_layout
+\end_inset
 
-\begin_layout Description
-Proposition These are less major results which (hopefully) add to the general
- theory being discussed.
-\end_layout
+.
+ These will number the results as 
+\begin_inset Formula $n.m$
+\end_inset
 
-\begin_layout Description
-Conjecture These are statements provided without justification, which the
- author does not know how to prove, but which seem to be true (to the author,
- at least).
-\end_layout
+, where the first number refers to the section (or chapter) and the second
+ refers to the total number of results so far in that section (or chapter).
+ Many environments are also available unnumbered.
+ These are indicated by an asterisk at the end.
+ If you happen to want 
+\emph on
+only
+\emph default
+ unnumbered results, the the module 
+\begin_inset Flex CharStyle:Code
+status collapsed
 
-\begin_layout Description
-Criterion A required condition.
+\begin_layout Standard
+Theorems (Starred)
 \end_layout
 
-\begin_layout Description
-Algorithm A general procedure to be used.
+\end_inset
+
+ provides that option.
 \end_layout
 
-\begin_layout Description
-Axiom This is a property or statement taken as true within the system being
- discussed.
+\begin_layout Standard
+Note that these modules do not 
+\emph on
+have
+\emph default
+ to be used with the AMS classes.
+ It is perfectly possible to use the 
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Standard
+Theorems (AMS)
 \end_layout
 
-\begin_layout Description
-Definition Guess what this is for.
- The font, both on-screen and in the output, is different for this environment
- than for the previous ones.
- The heading (
-\begin_inset Quotes eld
 \end_inset
 
-definition
-\begin_inset Quotes erd
-\end_inset
+ module, and the others mentioned, with other classes, such as 
+\begin_inset Flex CharStyle:Code
+status collapsed
 
-) is still set in boldface, along with the number, if any, but the rest
- is set upright.
+\begin_layout Standard
+article
 \end_layout
 
-\begin_layout Description
-Example Typeset similarly to Definition.
-\end_layout
+\end_inset
 
-\begin_layout Description
-Condition
-\end_layout
+, 
+\begin_inset Flex CharStyle:Code
+status collapsed
 
-\begin_layout Description
-Problem
+\begin_layout Standard
+report
 \end_layout
 
-\begin_layout Description
-Exercise
+\end_inset
+
+, 
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Standard
+book (KOMA-script)
 \end_layout
 
-\begin_layout Description
-Remark This environment is also a new type of theorem.
- This is set with the word Remark in italics, and the rest upright.
+\end_inset
+
+, and so forth.
 \end_layout
 
-\begin_layout Description
-Note Set similarly to the Remark environment.
+\begin_layout Subsection
+What these layouts provide
 \end_layout
 
-\begin_layout Description
-Notation
+\begin_layout Standard
+There is a long list of included environments provided by these layouts.
+ In AMS-LaTeX, there is, in fact, an opportunity to define an unlimited
+ variety of `theorem' environments.
+ However, the AMS recommends the environments that are available in LyX.
 \end_layout
 
-\begin_layout Description
-Claim
+\begin_layout Standard
+The following environments---as well as the standard environments, such
+ as 
+\begin_inset Flex CharStyle:Noun
+status collapsed
+
+\begin_layout Standard
+section
 \end_layout
 
-\begin_layout Description
-Summary
+\end_inset
+
+, 
+\begin_inset Flex CharStyle:Noun
+status collapsed
+
+\begin_layout Standard
+bibliography
 \end_layout
 
-\begin_layout Description
-Acknowledgement
+\end_inset
+
+, 
+\begin_inset Flex CharStyle:Noun
+status collapsed
+
+\begin_layout Standard
+title
 \end_layout
 
-\begin_layout Description
-Case Generally, these are used to break up long arguments, using specific
- instances of some condition.
- The numbering scheme for cases is on its own, not together with other numbered
- statements.
+\end_inset
+
+, 
+\begin_inset Flex CharStyle:Noun
+status collapsed
+
+\begin_layout Standard
+author
 \end_layout
 
-\begin_layout Description
-Conclusion
+\end_inset
+
+, and 
+\begin_inset Flex CharStyle:Noun
+status collapsed
+
+\begin_layout Standard
+date
 \end_layout
 
-\begin_layout Description
-Fact 
+\end_inset
+
+---are provided by 
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Standard
+article (AMS)
 \end_layout
 
-\begin_layout Description
-Proof The word 
-\begin_inset Quotes eld
 \end_inset
 
+ and 
+\begin_inset Flex CharStyle:Code
+status collapsed
 
-\shape italic
-Proof
-\shape default
+\begin_layout Standard
+book (AMS)
+\end_layout
 
-\begin_inset Quotes erd
 \end_inset
 
- is set in italics, but the rest is set upright.
- At the end of this environment (other environments can be nested within
- this one, of course) a QED symbol (usually a square, but it can vary with
- different styles) is placed.
+:
 \end_layout
 
 \begin_layout Description
@@ -3910,8 +4006,185 @@ Translator
 \end_layout
 
 \begin_layout Standard
-In addition, these environments automatically provide the AMS LaTeX and
- AMS fonts packages.
+The following environments are provided by both the 
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Standard
+Theorems
+\end_layout
+
+\end_inset
+
+ and 
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Standard
+Theorems (AMS)
+\end_layout
+
+\end_inset
+
+ modules, in the latter case in both starred (unnumbered) and unstarred
+ (numbered) versions.
+ These same environments are provided only in the starred versions by the
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Standard
+Theorems (Starred)
+\end_layout
+
+\end_inset
+
+ module:
+\end_layout
+
+\begin_layout Theorem
+This is typically used for the statements of major results.
+\end_layout
+
+\begin_layout Corollary*
+This is used for statements which follow fairly directly from previous statement
+s.
+ Again, these can be major results.
+\end_layout
+
+\begin_layout Lemma
+These are smaller results needed to prove other statements.
+\end_layout
+
+\begin_layout Proposition
+These are less major results which (hopefully) add to the general theory
+ being discussed.
+\end_layout
+
+\begin_layout Conjecture
+These are statements provided without justification, which the author does
+ not know how to prove, but which seem to be true (to the author, at least).
+\end_layout
+
+\begin_layout Definition*
+Guess what this is for.
+ The font is different for this environment than for the previous ones.
+\end_layout
+
+\begin_layout Example*
+Used for examples illustrating proven results.
+\end_layout
+
+\begin_layout Problem
+It's not really known what this is for.
+ You should figure it out.
+\end_layout
+
+\begin_layout Exercise*
+Write a description for this one.
+\end_layout
+
+\begin_layout Remark
+This environment is also a type of theorem, usually a lesser sort of observation.
+\end_layout
+
+\begin_layout Claim*
+Often used in the course of giving a proof of a larger result.
+\end_layout
+
+\begin_layout Case
+Generally, these are used to break up long arguments, using specific instances
+ of some condition.
+\end_layout
+
+\begin_layout Case
+The numbering scheme for cases is on its own, not together with other numbered
+ statements.
+\end_layout
+
+\begin_layout Proof
+At the end of this environment , a QED symbol (usually a square, but it
+ can vary with different styles) is placed.
+ If you want to have other environments within this one---for example, Case
+ environments---and have the QED symbol appear only after them, then the
+ other environments need to be nested within the proof environment.
+ See section 
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Nesting"
+
+\end_inset
+
+ of the 
+\emph on
+User's Guide
+\emph default
+ for information on nesting.
+\end_layout
+
+\begin_layout Standard
+And these are provided by 
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Standard
+Theorems (AMS-Extended)
+\end_layout
+
+\end_inset
+
+:
+\end_layout
+
+\begin_layout Criterion*
+A required condition.
+\end_layout
+
+\begin_layout Algorithm*
+A general procedure to be used.
+\end_layout
+
+\begin_layout Axiom*
+This is a property or statement taken as true within the system being discussed.
+\end_layout
+
+\begin_layout Condition*
+Sometimes used to state a condition assumed within the present context of
+ discussion.
+\end_layout
+
+\begin_layout Note*
+Similar to a Remark.
+\end_layout
+
+\begin_layout Notation*
+Used for the explanation of, yes, notation.
+\end_layout
+
+\begin_layout Summary
+Do we really need to tell you? 
+\end_layout
+
+\begin_layout Acknowledgement*
+Acknowledgement.
+\end_layout
+
+\begin_layout Conclusion*
+Sometimes used at the end of a long train of argument.
+\end_layout
+
+\begin_layout Fact
+Used in a way similar to Proposition, though perhaps lower on the scale.
+\end_layout
+
+\begin_layout Standard
+In addition, the AMS classes automatically provide the AMS LaTeX and AMS
+ fonts packages.
  They need to be available on your system in order to use these environments.
 \end_layout
 
@@ -3970,10 +4243,14 @@ This section describes how LyX can be used to write articles for submission
 \emph on
 Astronomy and Astrophysics
 \emph default
- (
-\begin_inset LatexCommand url
-name "www.edpsciences.fr/aa/"
-target "http://www.edpsciences.fr/aa/"
+ (www.edpsciences.fr/aa/ 
+\begin_inset Flex URL
+status collapsed
+
+\begin_layout Standard
+
+http://www.edpsciences.fr/aa/
+\end_layout
 
 \end_inset
 
@@ -3994,8 +4271,13 @@ aa.cls
 
 \begin_layout Standard
 \align center
-\begin_inset LatexCommand url
-target "ftp://ftp.edpsciences.org/pub/aa/readme.html"
+\begin_inset Flex URL
+status collapsed
+
+\begin_layout Standard
+
+ftp://ftp.edpsciences.org/pub/aa/readme.html
+\end_layout
 
 \end_inset
 
@@ -4661,8 +4943,13 @@ AASTeX is a set of macros produced by the American Astronomical Society
 
 \begin_layout Standard
 \align center
-\begin_inset LatexCommand url
-target "http://www.journals.uchicago.edu/AAS/AASTeX"
+\begin_inset Flex URL
+status collapsed
+
+\begin_layout Standard
+
+http://www.journals.uchicago.edu/AAS/AASTeX
+\end_layout
 
 \end_inset
 
@@ -4887,7 +5174,7 @@ Things that work as expected
 
 \begin_layout Standard
 \begin_inset ERT
-status inlined
+status open
 
 \begin_layout Standard
 
@@ -5099,7 +5386,7 @@ Document
 
 \begin_layout Standard
 \begin_inset ERT
-status inlined
+status open
 
 \begin_layout Standard
 
@@ -5345,7 +5632,7 @@ Things not implemented, use ERT
 
 \begin_layout Standard
 \begin_inset ERT
-status inlined
+status open
 
 \begin_layout Standard
 
@@ -5487,7 +5774,7 @@ twocolumn
 
 \begin_layout Standard
 \begin_inset ERT
-status inlined
+status open
 
 \begin_layout Standard
 
@@ -5561,15 +5848,11 @@ Make certain that
 \family typewriter
 aastex.layout
 \family default
- appears in 
-\family typewriter
-/usr/.../share/lyx/layouts
-\family default
- or 
+ appears in LyX's 
 \family typewriter
-~/.lyx/layouts
+layouts
 \family default
-.
+ folder
 \end_layout
 
 \begin_layout Enumerate
@@ -5655,7 +5938,8 @@ lock
 
 \begin_layout Subsubsection
 References
-\begin_inset LatexCommand label
+\begin_inset CommandInset label
+LatexCommand label
 name "cite"
 
 \end_inset
@@ -5779,7 +6063,7 @@ Your mileage may vary.
 \end_layout
 
 \begin_layout Section
-qijmpc and ijmpd
+ijmpc and ijmpd
 \end_layout
 
 \begin_layout Standard
@@ -5817,14 +6101,24 @@ ws-ijmpd.cls
 , respectively.
  These files, together with instructions for the authors, can be downloaded
  from the sites 
-\begin_inset LatexCommand url
-target "http://www.worldscinet.com/ijmpc/mkt/guidelines.shtml"
+\begin_inset Flex URL
+status collapsed
+
+\begin_layout Standard
+
+http://www.worldscinet.com/ijmpc/mkt/guidelines.shtml
+\end_layout
 
 \end_inset
 
  and 
-\begin_inset LatexCommand url
-target "http://www.worldscinet.com/ijmpd/mkt/guidelines.shtml"
+\begin_inset Flex URL
+status collapsed
+
+\begin_layout Standard
+
+http://www.worldscinet.com/ijmpd/mkt/guidelines.shtml
+\end_layout
 
 \end_inset
 
@@ -6375,8 +6669,13 @@ The iopart package provides a document class to create electronic manuscript
  submission to the journals published by the Institute of Physics.
  Instructions for the authors how to create a paper using the iopart class
  can be downloaded together with the iopart package from the site 
-\begin_inset LatexCommand url
-target "ftp://ftp.iop.org/pub/journals/latex2e"
+\begin_inset Flex URL
+status collapsed
+
+\begin_layout Standard
+
+ftp://ftp.iop.org/pub/journals/latex2e
+\end_layout
 
 \end_inset
 
@@ -6553,15 +6852,25 @@ Astrophysics and Space Science
 Solar Physics
 \emph default
 , but there are many others (see a complete list at 
-\begin_inset LatexCommand url
-target "http://www.wkap.nl/jrnllist.htm/JRNLHOME"
+\begin_inset Flex URL
+status collapsed
+
+\begin_layout Standard
+
+http://www.wkap.nl/jrnllist.htm/JRNLHOME
+\end_layout
 
 \end_inset
 
 ).
  The Kluwer package may be downloaded from the site 
-\begin_inset LatexCommand url
-target "http://www.wkap.nl/kaphtml.htm/STYLEFILES"
+\begin_inset Flex URL
+status collapsed
+
+\begin_layout Standard
+
+http://www.wkap.nl/kaphtml.htm/STYLEFILES
+\end_layout
 
 \end_inset
 
@@ -6582,7 +6891,8 @@ peculiar
 
  commands of the package (see\InsetSpace ~
 
-\begin_inset LatexCommand ref
+\begin_inset CommandInset ref
+LatexCommand ref
 reference "subsec:kluwer_peculiarities"
 
 \end_inset
@@ -6742,7 +7052,8 @@ Peculiarities
 \end_inset
 
  of the Kluwer package
-\begin_inset LatexCommand label
+\begin_inset CommandInset label
+LatexCommand label
 name "subsec:kluwer_peculiarities"
 
 \end_inset
@@ -7649,7 +7960,7 @@ letter (koma-script)
 
 \begin_layout Standard
 \begin_inset ERT
-status inlined
+status open
 
 \begin_layout Standard
 
@@ -7719,7 +8030,7 @@ Verse
 
 \begin_layout Standard
 \begin_inset ERT
-status inlined
+status open
 
 \begin_layout Standard
 
@@ -8649,8 +8960,13 @@ Description
 \begin_layout Standard
 These are the layout files for some of the journal formats used by Springer
  Verlag and listed on 
-\begin_inset LatexCommand url
-target "http://www.springer.de/author/tex/help-journals.html"
+\begin_inset Flex URL
+status collapsed
+
+\begin_layout Standard
+
+http://www.springer.de/author/tex/help-journals.html
+\end_layout
 
 \end_inset
 
@@ -8828,8 +9144,13 @@ These are the layout files for some of the journals of the American Geophysical
  Society.
  It is assumed that you have both the AGU's own class files and AGUplus
  installed (everything to be found at
-\begin_inset LatexCommand url
-target "ftp://ftp.agu.org/journals/latex/journals"
+\begin_inset Flex URL
+status collapsed
+
+\begin_layout Standard
+
+ftp://ftp.agu.org/journals/latex/journals
+\end_layout
 
 \end_inset
 
@@ -9041,8 +9362,13 @@ This is the layout file for the European Geophysical Society journals.
 egs.cls
 \family default
  can be downloaded from the web site of the EGS under 
-\begin_inset LatexCommand url
-target "www.copernicus.org"
+\begin_inset Flex URL
+status collapsed
+
+\begin_layout Standard
+
+www.copernicus.org
+\end_layout
 
 \end_inset
 
@@ -9078,7 +9404,8 @@ Slides [aka
 Sli
 \noun default
 TeX]
-\begin_inset LatexCommand label
+\begin_inset CommandInset label
+LatexCommand label
 name "sec:slitex"
 
 \end_inset
@@ -9164,7 +9491,8 @@ slides (FoilTeX)
 
 , check out section\InsetSpace ~
 
-\begin_inset LatexCommand ref
+\begin_inset CommandInset ref
+LatexCommand ref
 reference "sec:foiltex"
 
 \end_inset
@@ -9241,7 +9569,8 @@ slides
 
 \begin_layout Subsection
 Getting Started
-\begin_inset LatexCommand label
+\begin_inset CommandInset label
+LatexCommand label
 name "sec:slidesetup"
 
 \end_inset
@@ -9369,7 +9698,8 @@ Note
 s.
  See section\InsetSpace ~
 
-\begin_inset LatexCommand ref
+\begin_inset CommandInset ref
+LatexCommand ref
 reference "sec:slideNote"
 
 \end_inset
@@ -9608,7 +9938,8 @@ LaTeX magic.
 
 \begin_layout Subsubsection
 Quirks of the New Environments
-\begin_inset LatexCommand label
+\begin_inset CommandInset label
+LatexCommand label
 name "sec:slideQuirk"
 
 \end_inset
@@ -9879,7 +10210,8 @@ Slide
 \family default
  environment [in the manner described in section\InsetSpace ~
 
-\begin_inset LatexCommand ref
+\begin_inset CommandInset ref
+LatexCommand ref
 reference "sec:slideQuirk"
 
 \end_inset
@@ -10225,7 +10557,8 @@ VisibleText
  invisible and visible, respectively.
  Note from section\InsetSpace ~
 
-\begin_inset LatexCommand ref
+\begin_inset CommandInset ref
+LatexCommand ref
 reference "sec:slideQuirk"
 
 \end_inset
@@ -10487,7 +10820,8 @@ Note
 Slide
 \family default
 
-\begin_inset LatexCommand label
+\begin_inset CommandInset label
+LatexCommand label
 name "sec:slideNote"
 
 \end_inset
@@ -10667,7 +11001,8 @@ clock
 
  [see section\InsetSpace ~
 
-\begin_inset LatexCommand ref
+\begin_inset CommandInset ref
+LatexCommand ref
 reference "sec:slidesetup"
 
 \end_inset
@@ -11063,7 +11398,8 @@ Foils
 \family default
  class [see section\InsetSpace ~
 
-\begin_inset LatexCommand ref
+\begin_inset CommandInset ref
+LatexCommand ref
 reference "sec:foiltex"
 
 \end_inset
@@ -11105,7 +11441,8 @@ Foil
 TeX
 \noun default
 ]
-\begin_inset LatexCommand label
+\begin_inset CommandInset label
+LatexCommand label
 name "sec:foiltex"
 
 \end_inset
@@ -11189,7 +11526,8 @@ slides (default)
 
 , check out section\InsetSpace ~
 
-\begin_inset LatexCommand ref
+\begin_inset CommandInset ref
+LatexCommand ref
 reference "sec:slitex"
 
 \end_inset
@@ -11345,7 +11683,8 @@ TeX provides extensive footer and header capabilities including a user-defined
  logo.
  See section\InsetSpace ~
 
-\begin_inset LatexCommand ref
+\begin_inset CommandInset ref
+LatexCommand ref
 reference "sec:foilfoot"
 
 \end_inset
@@ -11553,7 +11892,7 @@ TeX as well as a couple added by LyX.
 
 \begin_layout Standard
 \begin_inset ERT
-status inlined
+status open
 
 \begin_layout Standard
 
@@ -11677,7 +12016,7 @@ Comment
 
 \begin_layout Standard
 \begin_inset ERT
-status inlined
+status open
 
 \begin_layout Standard
 
@@ -11744,7 +12083,7 @@ TeX also provides a comprehensive box of goodies for presenting them:
 
 \begin_layout Standard
 \begin_inset ERT
-status inlined
+status open
 
 \begin_layout Standard
 
@@ -11826,7 +12165,7 @@ Definition*
 
 \begin_layout Standard
 \begin_inset ERT
-status inlined
+status open
 
 \begin_layout Standard
 
@@ -11883,7 +12222,7 @@ Martin Vermeer
 
 \begin_layout Standard
 \begin_inset ERT
-status inlined
+status open
 
 \begin_layout Standard
 
@@ -11940,7 +12279,7 @@ Header
 \end_deeper
 \begin_layout Standard
 \begin_inset ERT
-status inlined
+status open
 
 \begin_layout Standard
 
@@ -11962,7 +12301,8 @@ Foil
 TeX that aren't directly supported by LyX but I'll tell you what they do
  and how to use them in section\InsetSpace ~
 
-\begin_inset LatexCommand ref
+\begin_inset CommandInset ref
+LatexCommand ref
 reference "sec:unsuppfoils"
 
 \end_inset
@@ -12143,7 +12483,8 @@ Selection
 \family default
  dialog described above in section\InsetSpace ~
 
-\begin_inset LatexCommand ref
+\begin_inset CommandInset ref
+LatexCommand ref
 reference "sec:bullet"
 
 \end_inset
@@ -12192,7 +12533,8 @@ TeX redefines the floating tables and figures so that they appear exactly
 
 \begin_layout Subsubsection
 Page Headers and Footers
-\begin_inset LatexCommand label
+\begin_inset CommandInset label
+LatexCommand label
 name "sec:foilfoot"
 
 \end_inset
@@ -12261,7 +12603,8 @@ Unsupported
 Foil
 \family default
 TeX Goodies
-\begin_inset LatexCommand label
+\begin_inset CommandInset label
+LatexCommand label
 name "sec:unsuppfoils"
 
 \end_inset
@@ -13253,10 +13596,14 @@ Installation
 \begin_layout Standard
 All you need to do is install RevTeX 4, as described in the package's README
  file.
- The package can be found at 
-\begin_inset LatexCommand url
-name "The RevTeX 4 Web Site"
-target "http://publish.aps.org/revtex4/"
+ The package can be found at The RevTeX 4 Web Site 
+\begin_inset Flex URL
+status collapsed
+
+\begin_layout Standard
+
+http://publish.aps.org/revtex4/
+\end_layout
 
 \end_inset
 
@@ -13272,7 +13619,7 @@ target "http://publish.aps.org/revtex4/"
 Probably the easiest way to get started is either to import a RevTeX 4 document
  using 
 \family typewriter
-reLyX
+tex2lyx
 \family default
 , or to use the 
 \family sans
@@ -13375,7 +13722,7 @@ status collapsed
 \begin_layout Standard
 In case you're curious, both were included so that 
 \family typewriter
-reLyX
+tex2lyx
 \family default
  would be able to translate both 
 \family typewriter
@@ -13685,8 +14032,13 @@ elsart.cls
 \family default
 ) for submitting articles to their various journals.
  The style file can be downloaded directly from their web site: 
-\begin_inset LatexCommand url
-target "http://authors.elsevier.com/"
+\begin_inset Flex URL
+status collapsed
+
+\begin_layout Standard
+
+http://authors.elsevier.com/
+\end_layout
 
 \end_inset
 
@@ -13792,8 +14144,13 @@ status collapsed
 
 \begin_layout Standard
 You are invited to send suggestions to 
-\begin_inset LatexCommand url
-target "lyx-devel@lists.lyx.org"
+\begin_inset Flex URL
+status collapsed
+
+\begin_layout Standard
+
+lyx-devel@lists.lyx.org
+\end_layout
 
 \end_inset
 
@@ -13824,7 +14181,8 @@ status collapsed
 
 section\InsetSpace ~
 
-\begin_inset LatexCommand ref
+\begin_inset CommandInset ref
+LatexCommand ref
 reference "sec:Inserting-LaTeX-Code"
 
 \end_inset
@@ -13857,8 +14215,13 @@ status collapsed
 \end_inset
 
 
-\begin_inset LatexCommand url
-target "CTAN:/macros/latex/memoir/memman.pdf"
+\begin_inset Flex URL
+status collapsed
+
+\begin_layout Standard
+
+CTAN:/macros/latex/memoir/memman.pdf
+\end_layout
 
 \end_inset
 
@@ -14122,8 +14485,13 @@ status collapsed
 \end_inset
 
 
-\begin_inset LatexCommand url
-target "CTAN:/macros/latex/memoir/memman.pdf"
+\begin_inset Flex URL
+status collapsed
+
+\begin_layout Standard
+
+CTAN:/macros/latex/memoir/memman.pdf
+\end_layout
 
 \end_inset
 
@@ -14282,18 +14650,23 @@ LaTeX
 \end_layout
 
 \begin_layout Standard
-Translating from LaTeX into LyX is performed by a Perl script called reLyX.
+Translating from LaTeX into LyX is performed by a converter program called
+\family typewriter
+tex2lyx
+\family default
+.
  Although it is a standalone program which can be called from the command
  line, LyX will call it automatically when a LaTeX document is imported.
  See section\InsetSpace ~
 
-\begin_inset LatexCommand ref
-reference "sec:reLyX"
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Translating-LaTeX-files"
 
 \end_inset
 
  for a complete description.
- There are no user tunable parameters for reLyX within LyX.
 \end_layout
 
 \begin_layout Subsection
@@ -14565,7 +14938,8 @@ File->Export->PDF
  There are some issues with fonts that you need to pay attention to: see
  Section\InsetSpace ~
 
-\begin_inset LatexCommand ref
+\begin_inset CommandInset ref
+LatexCommand ref
 reference "sec:badfonts"
 
 \end_inset
@@ -14587,7 +14961,8 @@ With pdfLaTeX you cannot use pstricks.
 
 \begin_layout Subsubsection
 Why does the text look so bad when viewed with Acrobat Reader?
-\begin_inset LatexCommand label
+\begin_inset CommandInset label
+LatexCommand label
 name "sec:badfonts"
 
 \end_inset
@@ -14687,7 +15062,8 @@ pslatex
  On the other hand, the Postscript fonts have no bold symbol font, so poor
  man's bold must be used (see Section\InsetSpace ~
 
-\begin_inset LatexCommand ref
+\begin_inset CommandInset ref
+LatexCommand ref
 reference "sec:pdfbold"
 
 \end_inset
@@ -14706,7 +15082,8 @@ To sum up, both the Computer Modern and the Postscript fonts gives good
 Why doesn't the 
 \backslash
 boldsymbol{} command work when I use pslatex?
-\begin_inset LatexCommand label
+\begin_inset CommandInset label
+LatexCommand label
 name "sec:pdfbold"
 
 \end_inset
@@ -14878,8 +15255,13 @@ See the references here:
 \end_layout
 
 \begin_layout Standard
-\begin_inset LatexCommand url
-target "http://wiki.lyx.org/pmwiki.php/FAQ/PDF"
+\begin_inset Flex URL
+status collapsed
+
+\begin_layout Standard
+
+http://wiki.lyx.org/pmwiki.php/FAQ/PDF
+\end_layout
 
 \end_inset
 
@@ -14994,8 +15376,13 @@ chktex
 \family default
  program installed, and is grayed out if you don't have it.
  You can get it from your nearest CTAN mirror, or over the Web from 
-\begin_inset LatexCommand url
-target "http://www.ifi.uio.no/~jensthi/chktex/"
+\begin_inset Flex URL
+status collapsed
+
+\begin_layout Standard
+
+http://www.ifi.uio.no/~jensthi/chktex/
+\end_layout
 
 \end_inset
 
@@ -15088,7 +15475,8 @@ Space in front of labels and similar commands:
 The label should stick right
  up to the text to avoid falling to a wrong page.
  
-\begin_inset LatexCommand label
+\begin_inset CommandInset label
+LatexCommand label
 name "sec:chktex"
 
 \end_inset
@@ -15113,7 +15501,8 @@ In you are in bad luck,
  the text will break right between the referenced text and reference number,
  and that's a pity.
  See section 
-\begin_inset LatexCommand ref
+\begin_inset CommandInset ref
+LatexCommand ref
 reference "sec:chktex"
 
 \end_inset
@@ -15359,7 +15748,7 @@ ChkTeX
 \family default
  installation configuration file (usually with the file 
 \family typewriter
-/usr/local/share/chktexrc
+chktexrc
 \family default
 ).
  See below to learn what warnings can be enabled and disabled on the command
@@ -16404,9 +16793,14 @@ The complete Literate Programming FAQ can be found at:
 \end_layout
 
 \begin_layout Quote
-\begin_inset LatexCommand url
-name "Literate Programming FAQ"
-target "http://shelob.ce.ttu.edu/daves/lpfaq/faq.html"
+Literate Programming FAQ 
+\begin_inset Flex URL
+status collapsed
+
+\begin_layout Standard
+
+http://shelob.ce.ttu.edu/daves/lpfaq/faq.html
+\end_layout
 
 \end_inset
 
@@ -16455,9 +16849,14 @@ The Noweb web page can be found at:
 \end_layout
 
 \begin_layout Quote
-\begin_inset LatexCommand url
-name "Noweb home page"
-target "http://www.cs.virginia.edu/~nr/noweb/"
+Noweb home page 
+\begin_inset Flex URL
+status collapsed
+
+\begin_layout Standard
+
+http://www.cs.virginia.edu/~nr/noweb/
+\end_layout
 
 \end_inset
 
@@ -16470,7 +16869,8 @@ Starting from there you can reach many other interesting links and even
 \end_layout
 
 \begin_layout Subsection
-\begin_inset LatexCommand label
+\begin_inset CommandInset label
+LatexCommand label
 name "sub:LyX-and-Literate"
 
 \end_inset
@@ -16810,7 +17210,8 @@ Conversion
 
  tab.
  See section 
-\begin_inset LatexCommand ref
+\begin_inset CommandInset ref
+LatexCommand ref
 reference "sub:converters"
 
 \end_inset
@@ -17017,7 +17418,8 @@ status collapsed
 
 \begin_layout Standard
 See section 
-\begin_inset LatexCommand ref
+\begin_inset CommandInset ref
+LatexCommand ref
 reference "sec:converters-etc"
 
 \end_inset
@@ -17608,7 +18010,8 @@ The next thing is the visible presence of the newline character in the screen.
 
 \begin_layout Chapter
 Secrets of the LaTeX Masters
-\begin_inset LatexCommand label
+\begin_inset CommandInset label
+LatexCommand label
 name "cha:secrets"
 
 \end_inset
@@ -17749,7 +18152,7 @@ end{multicols}
 
 \begin_layout Standard
 \begin_inset ERT
-status inlined
+status open
 
 \begin_layout Standard
 
@@ -17805,7 +18208,7 @@ ty which utterly submerged my mind.
 
 \begin_layout Standard
 \begin_inset ERT
-status inlined
+status open
 
 \begin_layout Standard
 
@@ -17829,7 +18232,7 @@ The same pattern is used when you want more than two columns:
 
 \begin_layout Standard
 \begin_inset ERT
-status inlined
+status open
 
 \begin_layout Standard
 
@@ -17869,7 +18272,7 @@ It can be imagined that my close intimacy with Sherlock Holmes had interested
 
 \begin_layout Standard
 \begin_inset ERT
-status inlined
+status open
 
 \begin_layout Standard
 
@@ -17898,7 +18301,7 @@ You can even have columns inside columns:
 
 \begin_layout Standard
 \begin_inset ERT
-status inlined
+status open
 
 \begin_layout Standard
 
@@ -17924,7 +18327,7 @@ The Honourable Ronald Adair was the second son of the Earl of Maynooth,
 
 \begin_layout Standard
 \begin_inset ERT
-status inlined
+status open
 
 \begin_layout Standard
 
@@ -17955,7 +18358,7 @@ The youth moved in the best society--had, so far as was known, no enemies
 
 \begin_layout Standard
 \begin_inset ERT
-status inlined
+status open
 
 \begin_layout Standard
 
@@ -17998,7 +18401,7 @@ The evidence of those who had played with him-- Mr.
 
 \begin_layout Standard
 \begin_inset ERT
-status inlined
+status open
 
 \begin_layout Standard
 
@@ -18368,7 +18771,7 @@ vspace*{-8.4ex}
 \begin_layout Standard
 \noindent
 \begin_inset ERT
-status inlined
+status open
 
 \begin_layout Standard
 
@@ -18398,7 +18801,7 @@ dropped capitals
 
 \begin_layout Standard
 \begin_inset ERT
-status inlined
+status open
 
 \begin_layout Standard
 
@@ -18527,7 +18930,7 @@ Mike Ressler
 
 \begin_layout Standard
 \begin_inset ERT
-status inlined
+status open
 
 \begin_layout Standard
 
@@ -18807,7 +19210,7 @@ numlines
 
 \begin_layout Standard
 \begin_inset ERT
-status inlined
+status open
 
 \begin_layout Standard