]> git.lyx.org Git - features.git/blobdiff - lib/doc/Customization.lyx
Allow literate documents other than noweb to work out of the box. Currently
[features.git] / lib / doc / Customization.lyx
index e2d7b35c6cd39ac41da2ba97cbe3dd36257225eb..8945a49c7e31cfbd0f415473ce8af748157b8a67 100644 (file)
@@ -1,14 +1,14 @@
 #LyX 2.0.0svn created this file. For more info see http://www.lyx.org/
-\lyxformat 348
+\lyxformat 361
 \begin_document
 \begin_header
 \textclass scrbook
 \begin_preamble
 % DO NOT ALTER THIS PREAMBLE!!!
 %
-% This preamble is designed to ensure that the User's Guide prints
+% This preamble is designed to ensure that this document prints
 % out as advertised. If you mess with this preamble,
-% parts of the User's Guide may not print out as expected.  If you
+% parts of this document may not print out as expected.  If you
 % have problems LaTeXing this file, please contact 
 % the documentation team
 % email: lyx-docs@lists.lyx.org
@@ -66,12 +66,16 @@ End
 \font_sans default
 \font_typewriter default
 \font_default_family default
+\use_xetex false
 \font_sc false
 \font_osf false
 \font_sf_scale 100
 \font_tt_scale 100
 
 \graphics default
+\default_output_format default
+\bibtex_command default
+\index_command default
 \paperfontsize 12
 \spacing single
 \use_hyperref true
@@ -95,6 +99,7 @@ End
 \use_esint 0
 \cite_engine basic
 \use_bibtopic false
+\use_indices false
 \paperorientation portrait
 \branch OutDated
 \selected 0
@@ -110,9 +115,7 @@ End
 \paperpagestyle headings
 \tracking_changes true
 \output_changes false
-\author "rgheck" 
-\author "ab" 
-\author "Georg Baum,,," 
+\author "Jean-Marc Lasgouttes" 
 \author "" 
 \end_header
 
@@ -148,7 +151,11 @@ type "mailto:"
 \end_inset
 
  in the subject header, and please cc the current maintainer of this file,
- Richard Heck <rgheck@comcast.net>.
+ Richard Heck <
+rgheck
+@
+comcast
+.net>.
 \end_layout
 
 \end_inset
@@ -197,7 +204,9 @@ Introduction
 This manual covers the customization features present in LyX.
  In it, we discuss issues like keyboard shortcuts, screen previewing options,
  printer options, sending commands to LyX via the LyX Server, internationalizati
-on, installing new LaTeX classes and LyX layouts, etc.
+on, installing new 
+LaTeX
+ classes and LyX layouts, etc.
  We can't possibly hope to touch on everything you can change—our developers
  add new features faster than we can document them—but we will explain the
  most common customizations and hopefully point you in the right direction
@@ -210,8 +219,12 @@ status open
 
 \begin_layout Standard
 Information from previous versions of this document that now seems to be
- outdated is contained in the OutDated branch of this document.
- By default, this information will not appear in the LaTeX output.
+ outdated is contained in the 
+OutDated
+ branch of this document.
+ By default, this information will not appear in the 
+LaTeX
+ output.
 \end_layout
 
 \end_inset
@@ -250,6 +263,7 @@ on files; the user directory is where you can place your modified versions.
 status collapsed
 
 \begin_layout Plain Layout
+
 LyXDir
 \end_layout
 
@@ -260,6 +274,7 @@ LyXDir
 status collapsed
 
 \begin_layout Plain Layout
+
 UserDir
 \end_layout
 
@@ -275,6 +290,7 @@ What's in
 status collapsed
 
 \begin_layout Plain Layout
+
 LyXDir
 \end_layout
 
@@ -288,6 +304,7 @@ LyXDir
 status collapsed
 
 \begin_layout Plain Layout
+
 LyXDir
 \end_layout
 
@@ -315,6 +332,7 @@ Preferences
 status collapsed
 
 \begin_layout Plain Layout
+
 LyXDir
 \end_layout
 
@@ -335,6 +353,7 @@ The files, which are to be found in
 status collapsed
 
 \begin_layout Plain Layout
+
 UserDir
 \end_layout
 
@@ -366,7 +385,8 @@ lyxrc.defaults
 status collapsed
 
 \begin_layout Plain Layout
-packages.lst
+packages.
+lst
 \end_layout
 
 \end_inset
@@ -379,7 +399,9 @@ status collapsed
 
 \begin_layout Plain Layout
 Help\SpecialChar \menuseparator
+
 LaTeX
+
 \begin_inset space ~
 \end_inset
 
@@ -397,7 +419,10 @@ Configuration
 status collapsed
 
 \begin_layout Plain Layout
-textclass.lst
+
+textclass
+.
+lst
 \end_layout
 
 \end_inset
@@ -412,8 +437,9 @@ layout/
 
 \end_inset
 
- directories, along with the associated LaTeX document class and their descripti
-on.
+ directories, along with the associated 
+LaTeX
+ document class and their description.
 \end_layout
 
 \begin_layout Labeling
@@ -422,7 +448,10 @@ on.
 status collapsed
 
 \begin_layout Plain Layout
-lyxmodules.lst
+
+lyxmodules
+.
+lst
 \end_layout
 
 \end_inset
@@ -446,12 +475,15 @@ layout/
 status collapsed
 
 \begin_layout Plain Layout
-*files.lst
+*files.
+lst
 \end_layout
 
 \end_inset
 
- lists of various sorts of LaTeX-related files found on your system
+ lists of various sorts of 
+LaTeX
+-related files found on your system
 \end_layout
 
 \begin_layout Labeling
@@ -460,7 +492,9 @@ status collapsed
 status collapsed
 
 \begin_layout Plain Layout
-doc/LaTeXConfig.lyx
+doc/
+LaTeXConfig
+.lyx
 \end_layout
 
 \end_inset
@@ -470,13 +504,17 @@ doc/LaTeXConfig.lyx
 status collapsed
 
 \begin_layout Plain Layout
-LaTeXConfig.lyx.in
+
+LaTeXConfig
+.lyx.in
 \end_layout
 
 \end_inset
 
 .
- It contains information on your LaTeX configuration.
+ It contains information on your 
+LaTeX
+ configuration.
 \end_layout
 
 \begin_layout Subsection
@@ -489,6 +527,7 @@ These directories are duplicated between
 status collapsed
 
 \begin_layout Plain Layout
+
 LyXDir
 \end_layout
 
@@ -499,6 +538,7 @@ LyXDir
 status collapsed
 
 \begin_layout Plain Layout
+
 UserDir
 \end_layout
 
@@ -510,6 +550,7 @@ UserDir
 status collapsed
 
 \begin_layout Plain Layout
+
 UserDir
 \end_layout
 
@@ -539,7 +580,9 @@ status collapsed
 
 \end_inset
 
- that define the keybindings used in LyX.
+ that define the 
+keybindings
+ used in LyX.
  If there exists an internationalized version of the bind file named 
 \begin_inset Flex CharStyle:Code
 status collapsed
@@ -559,7 +602,9 @@ $LANG_xxx.bind
 status collapsed
 
 \begin_layout Plain Layout
-clipart/
+
+clipart
+/
 \end_layout
 
 \end_inset
@@ -585,13 +630,17 @@ doc/
 status collapsed
 
 \begin_layout Plain Layout
-LaTeXConfig.lyx
+
+LaTeXConfig
+.lyx
 \end_layout
 
 \end_inset
 
  deserves special attention, as noted above.
- The internationalized help docs are in subdirectories 
+ The internationalized help docs are in 
+subdirectories
 \begin_inset Flex CharStyle:Code
 status collapsed
 
@@ -617,7 +666,7 @@ xx
 
 \begin_inset CommandInset ref
 LatexCommand ref
-reference "chap:i18n"
+reference "cha:Internationalizing-LyX"
 
 \end_inset
 
@@ -681,12 +730,16 @@ Document
 status collapsed
 
 \begin_layout Plain Layout
-kbd/
+
+kbd
+/
 \end_layout
 
 \end_inset
 
- contains keyboard keymapping files.
+ contains keyboard 
+keymapping
+ files.
  See Chapter
 \begin_inset space ~
 \end_inset
@@ -694,7 +747,7 @@ kbd/
 
 \begin_inset CommandInset ref
 LatexCommand ref
-reference "sec:keymap"
+reference "sec:International-Keymap-Stuff"
 
 \end_inset
 
@@ -719,7 +772,7 @@ layouts/
 
 \begin_inset CommandInset ref
 LatexCommand ref
-reference "chap:textclass"
+reference "cha:Installing-New-Document"
 
 \end_inset
 
@@ -732,6 +785,7 @@ reference "chap:textclass"
 status collapsed
 
 \begin_layout Plain Layout
+
 lyx2lyx
 \end_layout
 
@@ -742,6 +796,7 @@ lyx2lyx
 status collapsed
 
 \begin_layout Plain Layout
+
 lyx2lyx
 \end_layout
 
@@ -799,7 +854,7 @@ templates/
 
 \begin_inset CommandInset ref
 LatexCommand ref
-reference "sec:templates"
+reference "sec:Creating-Templates"
 
 \end_inset
 
@@ -812,7 +867,9 @@ reference "sec:templates"
 status collapsed
 
 \begin_layout Plain Layout
-ui/
+
+ui
+/
 \end_layout
 
 \end_inset
@@ -822,7 +879,8 @@ ui/
 status collapsed
 
 \begin_layout Plain Layout
-.ui
+.
+ui
 \end_layout
 
 \end_inset
@@ -877,12 +935,17 @@ LyX
 status collapsed
 
 \begin_layout Plain Layout
-chkconfig.ltx
+
+chkconfig
+.
+ltx
 \end_layout
 
 \end_inset
 
- this is a LaTeX script used during the configuration process.
+ this is a 
+LaTeX
+ script used during the configuration process.
  Do not run directly.
 \end_layout
 
@@ -892,7 +955,8 @@ chkconfig.ltx
 status collapsed
 
 \begin_layout Plain Layout
-configure.py
+configure.
+py
 \end_layout
 
 \end_inset
@@ -911,13 +975,15 @@ Other files needing a line or two...
 status collapsed
 
 \begin_layout Plain Layout
+
 encodings
 \end_layout
 
 \end_inset
 
- this contains tables describing how different character encodings can be
- mapped to Unicode
+ this contains tables describing how different character 
+encodings
+ can be mapped to Unicode
 \end_layout
 
 \begin_layout Labeling
@@ -974,6 +1040,7 @@ Even if you are using LyX as an unprivileged user, you might want to change
 status collapsed
 
 \begin_layout Plain Layout
+
 UserDir
 \end_layout
 
@@ -1009,6 +1076,7 @@ LyX
 status collapsed
 
 \begin_layout Plain Layout
+
 LyXDir
 \end_layout
 
@@ -1019,6 +1087,7 @@ LyXDir
 status collapsed
 
 \begin_layout Plain Layout
+
 UserDir
 \end_layout
 
@@ -1029,6 +1098,7 @@ UserDir
 status collapsed
 
 \begin_layout Plain Layout
+
 LyXDir
 \end_layout
 
@@ -1071,6 +1141,7 @@ preferences
 status collapsed
 
 \begin_layout Plain Layout
+
 UserDir
 \end_layout
 
@@ -1096,7 +1167,8 @@ Reconfigure
 status collapsed
 
 \begin_layout Plain Layout
-configure.py
+configure.
+py
 \end_layout
 
 \end_inset
@@ -1109,7 +1181,9 @@ configure.py
 status collapsed
 
 \begin_layout Plain Layout
-UserDir/layouts
+
+UserDir
+/layouts
 \end_layout
 
 \end_inset
@@ -1136,7 +1210,9 @@ If you get some updated documentation from LyX ftp site and cannot install
 status collapsed
 
 \begin_layout Plain Layout
-UserDir/doc/
+
+UserDir
+/doc/
 \end_layout
 
 \end_inset
@@ -1173,7 +1249,8 @@ Invoking LyX with the command line switch
 status collapsed
 
 \begin_layout Plain Layout
--userdir
+-
+userdir
 \end_layout
 
 \end_inset
@@ -1189,7 +1266,8 @@ status collapsed
 status collapsed
 
 \begin_layout Plain Layout
--userdir
+-
+userdir
 \end_layout
 
 \end_inset
@@ -1205,7 +1283,10 @@ status collapsed
 status collapsed
 
 \begin_layout Plain Layout
-LYX_USERDIR_VER
+LYX_
+USERDIR
+_
+VER
 \end_layout
 
 \end_inset
@@ -1220,7 +1301,9 @@ Having several configurations also requires more maintenance: if you want
 status collapsed
 
 \begin_layout Plain Layout
-NewUserDir/layouts
+
+NewUserDir
+/layouts
 \end_layout
 
 \end_inset
@@ -1228,10 +1311,15 @@ NewUserDir/layouts
  which you want available from all your configurations, you must add it
  to each directory separately.
  You can avoid this with the following trick: after LyX creates the additional
- directory, most of the subdirectories (see above) are empty.
+ directory, most of the 
+subdirectories
+ (see above) are empty.
  If you want the new configuration to mirror an existing one, replace the
- empty subdirectory with a symbolic link to the matching subdirectory in
- the existing configuration.
+ empty 
+subdirectory
+ with a symbolic link to the matching 
+subdirectory
+ in the existing configuration.
  Take care with the 
 \begin_inset Flex CharStyle:Code
 status collapsed
@@ -1242,8 +1330,10 @@ doc/
 
 \end_inset
 
- subdirectory, however, since it contains a file written by the configuration
- script (also accessible through 
+subdirectory
+, however, since it contains a file written by the configuration script
+ (also accessible through 
 \begin_inset Flex CharStyle:MenuItem
 status collapsed
 
@@ -1275,142 +1365,14 @@ User's Guide
 \end_layout
 
 \begin_layout Section
-Using the dialog for the first time
-\end_layout
-
-\begin_layout Standard
-The 
-\begin_inset Flex CharStyle:Code
-status collapsed
-
-\begin_layout Plain Layout
-UserDir/preferences
-\end_layout
-
-\end_inset
-
- file will contain only changes that you have made to the default behavior,
- some of which is hard-coded into LyX and some of which is contained in
- the system file 
-\begin_inset Flex CharStyle:Code
-status collapsed
-
-\begin_layout Plain Layout
-LyXDir/lyxrc.defaults
-\end_layout
-
-\end_inset
-
-.
- Note that in both files lines beginning with a 
-\begin_inset Quotes eld
-\end_inset
-
-#
-\begin_inset Quotes erd
-\end_inset
-
- are just comments and are not interpreted.
- However, only system administrators should edit 
-\begin_inset Flex CharStyle:Code
-status collapsed
-
-\begin_layout Plain Layout
-LyXDir/lyxrc.defaults
-\end_layout
-
-\end_inset
-
-.
- Users should use the 
-\begin_inset Flex CharStyle:MenuItem
-status collapsed
-
-\begin_layout Plain Layout
-Tools\SpecialChar \menuseparator
-Preferences
-\end_layout
-
-\end_inset
-
- dialog to create and modify their own 
-\begin_inset Flex CharStyle:Code
-status collapsed
-
-\begin_layout Plain Layout
-UserDir/preferences
-\end_layout
-
-\end_inset
-
- file.
-\end_layout
-
-\begin_layout Standard
-We hope that the 
-\begin_inset Flex CharStyle:MenuItem
-status collapsed
-
-\begin_layout Plain Layout
-Tools\SpecialChar \menuseparator
-Preferences
-\end_layout
-
-\end_inset
-
- dialog will be largely self-explanatory.
- Most things in the dialog have associated `tool tips': hover your mouse
- pointer over something for more information.
- Before we highlight a few of the more important commands below, however,
- a word of warning: Applying some of your changes (e.
-\begin_inset space \thinspace{}
-\end_inset
-
-g.
-\begin_inset space \space{}
-\end_inset
-
-screen fonts) will have an instant effect.
- Others (e.
-\begin_inset space \thinspace{}
-\end_inset
-
-g.
-\begin_inset space \space{}
-\end_inset
-
-changing the bind file) will not.
- If nothing appears to have changed, just 
-\begin_inset Flex CharStyle:MenuItem
-status collapsed
-
-\begin_layout Plain Layout
-Save
-\end_layout
-
-\end_inset
-
- the changes and restart LyX.
-\end_layout
-
-\begin_layout Section
-File Handling
-\end_layout
-
-\begin_layout Standard
-LyX has a powerful mechanism to convert to and from any file format using
- external programs.
-\end_layout
-
-\begin_layout Subsection
+Formats
 \begin_inset CommandInset label
 LatexCommand label
-name "sub:Formats"
+name "sec:Formats"
 
 \end_inset
 
-Formats
+
 \end_layout
 
 \begin_layout Standard
@@ -1460,7 +1422,7 @@ Format
 
 \end_inset
 
- field contains the named used to identify the format in the GUI.
+ field contains the name used to identify the format in the GUI.
  The 
 \begin_inset Flex CharStyle:MenuItem
 status collapsed
@@ -1520,7 +1482,7 @@ Viewer
 
 \end_inset
 
- and 
+ and an 
 \begin_inset Flex CharStyle:MenuItem
 status collapsed
 
@@ -1536,6 +1498,7 @@ Editor
 status collapsed
 
 \begin_layout Plain Layout
+
 Ghostview
 \end_layout
 
@@ -1557,37 +1520,18 @@ View
 \end_inset
 
  menu.
- The editor is for example launched when you press the 
-\begin_inset Flex CharStyle:MenuItem
-status collapsed
-
-\begin_layout Plain Layout
-Edit
-\end_layout
-
-\end_inset
-
- button in the 
+ The editor is for example launched when you right-click on an image and
+ choose 
 \begin_inset Flex CharStyle:MenuItem
 status collapsed
 
 \begin_layout Plain Layout
-Graphics
+Edit externally
 \end_layout
 
 \end_inset
 
- or the 
-\begin_inset Flex CharStyle:MenuItem
-status collapsed
-
-\begin_layout Plain Layout
-External material
-\end_layout
-
-\end_inset
-
- dialog.
+ in the appearing context menu.
 \end_layout
 
 \begin_layout Standard
@@ -1602,10 +1546,14 @@ Document format
 \end_inset
 
  option tells LyX that a format is suitable for document export.
- If this is is set and if a suitable conversion route exists (see 
+ If this is set and if a suitable conversion route exists (see sec.
+\begin_inset space \thinspace{}
+\end_inset
+
+
 \begin_inset CommandInset ref
 LatexCommand ref
-reference "sub:Converters"
+reference "sec:Converters"
 
 \end_inset
 
@@ -1637,6 +1585,7 @@ View
 status collapsed
 
 \begin_layout Plain Layout
+
 png
 \end_layout
 
@@ -1648,6 +1597,7 @@ png
 status collapsed
 
 \begin_layout Plain Layout
+
 pdf
 \end_layout
 
@@ -1674,6 +1624,7 @@ Vector graphics format
 status collapsed
 
 \begin_layout Plain Layout
+
 pdflatex
 \end_layout
 
@@ -1685,6 +1636,7 @@ pdflatex
 status collapsed
 
 \begin_layout Plain Layout
+
 pdf
 \end_layout
 
@@ -1695,6 +1647,7 @@ pdf
 status collapsed
 
 \begin_layout Plain Layout
+
 png
 \end_layout
 
@@ -1705,6 +1658,7 @@ png
 status collapsed
 
 \begin_layout Plain Layout
+
 jpg
 \end_layout
 
@@ -1715,6 +1669,7 @@ jpg
 status collapsed
 
 \begin_layout Plain Layout
+
 pdflatex
 \end_layout
 
@@ -1726,6 +1681,7 @@ pdflatex
 status collapsed
 
 \begin_layout Plain Layout
+
 pdf
 \end_layout
 
@@ -1736,6 +1692,7 @@ pdf
 status collapsed
 
 \begin_layout Plain Layout
+
 png
 \end_layout
 
@@ -1746,6 +1703,7 @@ png
 status collapsed
 
 \begin_layout Plain Layout
+
 jpg
 \end_layout
 
@@ -1756,6 +1714,7 @@ jpg
 status collapsed
 
 \begin_layout Plain Layout
+
 pdf
 \end_layout
 
@@ -1766,6 +1725,7 @@ pdf
 status collapsed
 
 \begin_layout Plain Layout
+
 png
 \end_layout
 
@@ -1774,7 +1734,7 @@ png
 .
 \end_layout
 
-\begin_layout Subsection
+\begin_layout Section
 Copiers
 \end_layout
 
@@ -1872,11 +1832,18 @@ $$l
 
 \end_inset
 
- The `LaTeX name'
+ The `
+LaTeX
+name'
 \end_layout
 
 \begin_layout Standard
-The latter should be the filename as it would be used in a LaTeX's 
+The latter should be the 
+filename
+ as it would be used in a 
+LaTeX's
 \series bold
 
 \backslash
@@ -1888,13 +1855,16 @@ include
 
 \begin_layout Standard
 Copiers can be used to do almost anything with output files.
- For example, suppose you want generated pdf files to be copied to a special
- directory, 
+ For example, suppose you want generated 
+pdf
+ files to be copied to a special directory, 
 \begin_inset Flex CharStyle:Code
 status collapsed
 
 \begin_layout Plain Layout
-/home/you/pdf/
+/home/you/
+pdf
+/
 \end_layout
 
 \end_inset
@@ -1930,12 +1900,14 @@ cp $FROMFILE /home/you/pdf/$TOFILE
 
 \end_inset
 
-Save that in your local LyX directory—say, 
+Save it in your local LyX directory—say, 
 \begin_inset Flex CharStyle:Code
 status collapsed
 
 \begin_layout Plain Layout
-/home/you/.lyx/scripts/pdfcopier.sh
+/home/you/.lyx/scripts/
+pdfcopier
+.sh
 \end_layout
 
 \end_inset
@@ -1968,17 +1940,25 @@ File formats
 status collapsed
 
 \begin_layout Plain Layout
-PDF(pdflatex)
+
+PDF
+(
+pdflatex
+)
 \end_layout
 
 \end_inset
 
- format—or one of the other pdf formats—and enter 
+ format—or one of the other 
+pdf
+ formats—and enter 
 \begin_inset Flex CharStyle:Code
 status collapsed
 
 \begin_layout Plain Layout
-pdfcopier.sh $$i $$o
+
+pdfcopier
+.sh $$i $$o
 \end_layout
 
 \end_inset
@@ -2028,8 +2008,9 @@ HTML
  When these formats are exported, the copier sees that not just the main
  HTML file but various associated files (style files, images, etc.) are also
  copied.
- All these files are written to a subdirectory of the directory in which
- the original LyX file was found.
+ All these files are written to a 
+subdirectory
+ of the directory in which the original LyX file was found.
 \begin_inset Foot
 status collapsed
 
@@ -2063,6 +2044,7 @@ This copier can be customized.
 status collapsed
 
 \begin_layout Plain Layout
+
 LyXconv
 \end_layout
 
@@ -2077,7 +2059,9 @@ LyXconv
 status collapsed
 
 \begin_layout Plain Layout
-/path/to/filename.lyx
+/path/to/
+filename
+.lyx
 \end_layout
 
 \end_inset
@@ -2087,7 +2071,12 @@ status collapsed
 status collapsed
 
 \begin_layout Plain Layout
-/path/to/filename.html.LyXconv
+/path/to/
+filename
+.
+html
+.
+LyXconv
 \end_layout
 
 \end_inset
@@ -2101,14 +2090,15 @@ status collapsed
 
 \end_layout
 
-\begin_layout Subsection
+\begin_layout Section
+Converters
 \begin_inset CommandInset label
 LatexCommand label
-name "sub:Converters"
+name "sec:Converters"
 
 \end_inset
 
-Converters
+
 \end_layout
 
 \begin_layout Standard
@@ -2226,7 +2216,9 @@ $$b
 
 \end_inset
 
- The base filename of the input file (i.
+ The base 
+filename
+ of the input file (i.
 \begin_inset space \thinspace{}
 \end_inset
 
@@ -2258,8 +2250,8 @@ $$r
 
 \end_inset
 
- The path to the original input file (this is different from $$p when chain
- of converters is called).
+ The path to the original input file (this is different from $$p when a
chain of converters is called).
 \end_layout
 
 \begin_layout Standard
@@ -2291,8 +2283,12 @@ latex
 
 \end_inset
 
- This converter runs some form of LaTeX.
- This will make LyX's LaTeX error logs available.
+ This converter runs some form of 
+LaTeX
+.
+ This will make LyX's 
+LaTeX
+ error logs available.
 \end_layout
 
 \begin_layout Labeling
@@ -2301,12 +2297,15 @@ latex
 status collapsed
 
 \begin_layout Plain Layout
+
 needaux
 \end_layout
 
 \end_inset
 
- Needs the LaTeX 
+ Needs the 
+LaTeX
 \begin_inset Flex CharStyle:MenuItem
 status collapsed
 
@@ -2325,6 +2324,7 @@ status collapsed
 status collapsed
 
 \begin_layout Plain Layout
+
 xml
 \end_layout
 
@@ -2362,6 +2362,7 @@ value
 status collapsed
 
 \begin_layout Plain Layout
+
 parselog
 \end_layout
 
@@ -2372,7 +2373,9 @@ parselog
 status collapsed
 
 \begin_layout Plain Layout
-infile.out
+
+infile
+.out
 \end_layout
 
 \end_inset
@@ -2382,7 +2385,11 @@ infile.out
 status collapsed
 
 \begin_layout Plain Layout
-script <infile.out >infile.log
+script < 
+infile
+.out > 
+infile
+.log
 \end_layout
 
 \end_inset
@@ -2407,6 +2414,7 @@ $$s
 status collapsed
 
 \begin_layout Plain Layout
+
 resultdir
 \end_layout
 
@@ -2431,7 +2439,11 @@ $$b
 \begin_inset Newline newline
 \end_inset
 
-Note that resultdir and usetempdir make no sense together.
+Note that 
+resultdir
+ and 
+usetempdir
+ make no sense together.
  The latter will be ignored if the former is given.
 \end_layout
 
@@ -2441,6 +2453,7 @@ Note that resultdir and usetempdir make no sense together.
 status collapsed
 
 \begin_layout Plain Layout
+
 resultfile
 \end_layout
 
@@ -2457,8 +2470,11 @@ $$b
 \end_inset
 
 .
- Sensible only with resultdir and optional even then; if not given, it defaults
- to `index'.
+ Sensible only with 
+resultdir
+ and optional even then; if not given, it defaults to `
+index'
+.
 \end_layout
 
 \begin_layout Standard
@@ -2468,23 +2484,36 @@ None of these last three are presently used in any of the converters that
 \end_layout
 
 \begin_layout Standard
-You do not have to define converters between all the formats between which
- you want to convert.
- For example, you will note that there is no `LyX to PostScript' converter,
- but LyX will export PostScript.
- It does so by first creating a LaTeX file (no converter needs to be defined
- for this) which is then converted to DVI using the `LaTeX to DVI' converter,
- and finally converting the resulting DVI file to PostScript.
- LyX finds such `chains' of converters automatically, and it will always
- choose the shortest possible chain.
+You do not have to define converters for all formats between which you want
+ to convert.
+ For example, you will note that there is no `LyX to 
+PostScript'
+ converter, but LyX will export PostScript.
+ It does so by first creating a 
+LaTeX
+ file (no converter needs to be defined for this) which is then converted
+ to DVI using the `
+LaTeX
+ to 
+DVI'
+ converter, and finally converting the resulting DVI file to PostScript.
+ LyX finds such `
+chains'
+ of converters automatically, and it will always choose the shortest possible
+ chain.
  You can, though, still define multiple conversion methods between file
  formats.
  For example, the standard LyX configuration provides three ways to convert
- LaTeX to PDF: Directly, using 
+LaTeX
+ to 
+PDF
+: Directly, using 
 \begin_inset Flex CharStyle:MenuItem
 status collapsed
 
 \begin_layout Plain Layout
+
 pdflatex
 \end_layout
 
@@ -2495,6 +2524,7 @@ pdflatex
 status collapsed
 
 \begin_layout Plain Layout
+
 ps2pdf
 \end_layout
 
@@ -2505,6 +2535,7 @@ ps2pdf
 status collapsed
 
 \begin_layout Plain Layout
+
 dvipdfm
 \end_layout
 
@@ -2512,10 +2543,12 @@ dvipdfm
 
 .
  To define such alternate chains, you must define multiple target `file
- formats', as described in section 
+formats'
+, as described in section 
 \begin_inset CommandInset ref
 LatexCommand ref
-reference "sub:Formats"
+reference "sec:Formats"
 
 \end_inset
 
@@ -2525,6 +2558,7 @@ reference "sub:Formats"
 status collapsed
 
 \begin_layout Plain Layout
+
 pdf
 \end_layout
 
@@ -2535,6 +2569,7 @@ pdf
 status collapsed
 
 \begin_layout Plain Layout
+
 pdf2
 \end_layout
 
@@ -2545,6 +2580,7 @@ pdf2
 status collapsed
 
 \begin_layout Plain Layout
+
 pdf3
 \end_layout
 
@@ -2555,7 +2591,8 @@ pdf3
 status collapsed
 
 \begin_layout Plain Layout
-.pdf
+.
+pdf
 \end_layout
 
 \end_inset
@@ -2567,7 +2604,7 @@ status collapsed
 Internationalizing LyX
 \begin_inset CommandInset label
 LatexCommand label
-name "chap:i18n"
+name "cha:Internationalizing-LyX"
 
 \end_inset
 
@@ -2635,6 +2672,7 @@ LyX uses the GNU
 status collapsed
 
 \begin_layout Plain Layout
+
 gettext
 \end_layout
 
@@ -2647,6 +2685,7 @@ gettext
 status collapsed
 
 \begin_layout Plain Layout
+
 po
 \end_layout
 
@@ -2680,6 +2719,7 @@ mo
 status collapsed
 
 \begin_layout Plain Layout
+
 gettext
 \end_layout
 
@@ -2689,8 +2729,9 @@ gettext
  It is possible to do this just for yourself, but if you're going to do
  it, you might as well share the results of your labors with the rest of
  the LyX community.
- Send a message to the LyX developers' list for more information about how
- to proceed.
+ Send a message to the LyX 
+developers'
+ list for more information about how to proceed.
 \end_layout
 
 \begin_layout Standard
@@ -2726,7 +2767,8 @@ lyx.pot
 status collapsed
 
 \begin_layout Plain Layout
-**.po
+**.
+po
 \end_layout
 
 \end_inset
@@ -2737,7 +2779,8 @@ status collapsed
 status collapsed
 
 \begin_layout Plain Layout
-xx.po
+xx.
+po
 \end_layout
 
 \end_inset
@@ -2763,8 +2806,9 @@ make lyx.pot
 
 \end_inset
 
- in that directory, or you can use an existing po-file for some other language
- as a template).
+ in that directory, or you can use an existing 
+po
+-file for some other language as a template).
 \end_layout
 
 \begin_layout Itemize
@@ -2773,7 +2817,8 @@ Edit
 status collapsed
 
 \begin_layout Plain Layout
-xx.po
+xx.
+po
 \end_layout
 
 \end_inset
@@ -2793,16 +2838,21 @@ Poedit
 \family typewriter
 KBabel
 \family default
- (for KDE).
+ (for 
+KDE
+).
  
 \family typewriter
 Emacs
 \family default
- contains a `mode' for editing 
+ contains a `
+mode'
+ for editing 
 \begin_inset Flex CharStyle:Code
 status collapsed
 
 \begin_layout Plain Layout
+
 po
 \end_layout
 
@@ -2823,6 +2873,7 @@ po
 status collapsed
 
 \begin_layout Plain Layout
+
 po
 \end_layout
 
@@ -2853,7 +2904,10 @@ xx.mo
 status collapsed
 
 \begin_layout Plain Layout
-msgfmt -o xx.mo < xx.po
+
+msgfmt
+ -o xx.mo < xx.
+po
 \end_layout
 
 \end_inset
@@ -2916,6 +2970,7 @@ As said, however, it would be best if the new
 status collapsed
 
 \begin_layout Plain Layout
+
 po
 \end_layout
 
@@ -2923,8 +2978,9 @@ po
 
 -file could be added to the LyX distribution, so others can use it.
  Adding it involves making additional changes to LyX.
- So send an email to the developers' mailing list if you're interested in
- doing that.
+ So send an email to the 
+developers'
+ mailing list if you're interested in doing that.
 \end_layout
 
 \begin_layout Subsubsection
@@ -2966,6 +3022,7 @@ to
 status collapsed
 
 \begin_layout Plain Layout
+
 gettext
 \end_layout
 
@@ -2988,7 +3045,11 @@ To
 status collapsed
 
 \begin_layout Plain Layout
-To[[as in 'From format x to format y']]
+To[[as in 
+'From
+ format x to format 
+y'
+]]
 \end_layout
 
 \end_inset
@@ -2998,7 +3059,11 @@ To[[as in 'From format x to format y']]
 status collapsed
 
 \begin_layout Plain Layout
-To[[as in 'From page x to page y']].
+To[[as in 
+'From
+ page x to page 
+y'
+]].
 \end_layout
 
 \end_inset
@@ -3018,6 +3083,7 @@ To
 status collapsed
 
 \begin_layout Plain Layout
+
 gettext
 \end_layout
 
@@ -3786,13 +3852,14 @@ kinclude
 \end_layout
 
 \begin_layout Section
+International Keymap Stuff
 \begin_inset CommandInset label
 LatexCommand label
-name "sec:keymap"
+name "sec:International-Keymap-Stuff"
 
 \end_inset
 
-International Keymap Stuff
+
 \end_layout
 
 \begin_layout Standard
@@ -5381,10 +5448,10 @@ Preferences
 \end_layout
 
 \begin_layout Chapter
-Installing New Document Classes, Layouts, and Templates 
+Installing New Document Classes, Layouts, and Templates
 \begin_inset CommandInset label
 LatexCommand label
-name "chap:textclass"
+name "cha:Installing-New-Document"
 
 \end_inset
 
@@ -6015,13 +6082,14 @@ default
 \end_layout
 
 \begin_layout Subsection
+Layout modules
 \begin_inset CommandInset label
 LatexCommand label
 name "sub:Layout-modules"
 
 \end_inset
 
-Layout modules
+
 \end_layout
 
 \begin_layout Standard
@@ -6078,16 +6146,12 @@ DeclareLyXModule[endnotes.sty]{Endnotes}
 \end_layout
 
 \begin_layout Standard
-
-\change_inserted 0 1235082501
 The mandatory argument, in curly brackets, is the name of the module, as
  it should appear in 
 \begin_inset Flex CharStyle:MenuItem
 status collapsed
 
 \begin_layout Plain Layout
-
-\change_inserted 0 1235082501
 Document\SpecialChar \menuseparator
 Settings
 \end_layout
@@ -6096,42 +6160,41 @@ Settings
 
 .
  
-\change_unchanged
+\change_inserted 0 1243500588
+
+\end_layout
+
+\begin_layout Standard
 The argument in square brackets is optional: It declares any LaTeX packages
  on which the module depends.
-\change_deleted 0 1235082500
-The mandatory argument, in curly brackets, is the name of the module, as
- it should appear in 
-\begin_inset Flex CharStyle:MenuItem
+ Please note that only packages about which LyX knows should be listed in
+ the square brackets.
+\begin_inset Foot
 status collapsed
 
 \begin_layout Plain Layout
-Document\SpecialChar \menuseparator
-Settings
+The list of such packages is documented only in the source code.
 \end_layout
 
 \end_inset
 
-.
-\change_inserted 0 1235082535
-Please note that only packages about which LyX knows should be listed in
- the square brackets.
-\begin_inset Foot
-status open
+ LyX will not check for arbitrary packages.
+
+\change_inserted 0 1243500694
+ It is also possible to use the form 
+\begin_inset Flex CharStyle:MenuItem
+status collapsed
 
 \begin_layout Plain Layout
 
-\change_inserted 0 1235082591
-The list of such packages is documented only in the source code.
-\change_unchanged
-
+\change_inserted 0 1243500706
+from->to
 \end_layout
 
 \end_inset
 
- LyX will not check for arbitrary packages.
+, which declares that the module can only be used when there exists a conversion
+ chain between formats `from' and `to'.
 \change_unchanged
 
 \end_layout
@@ -6923,15 +6986,7 @@ int
 
 ] This tag was introduced with LyX 1.4.0 (layout files of LyX 1.3.x and earlier
  don't have an explicit file format).
- The file format that is documented here is format 1
-\change_deleted 2 1234611237
-2
-\change_inserted 2 1234611237
-4
-\change_unchanged
-.
-\change_deleted 1 1234946903
-
+ The file format that is documented here is format 14.
 \end_layout
 
 \begin_layout Subsection
@@ -6992,7 +7047,7 @@ ClassOptions
 
 \begin_inset CommandInset ref
 LatexCommand ref
-reference "sec:classoptions"
+reference "sub:ClassOptions"
 
 \end_inset
 
@@ -7083,7 +7138,7 @@ Counter
 
 \begin_inset CommandInset ref
 LatexCommand ref
-reference "sec:counter"
+reference "sub:Counters"
 
 \end_inset
 
@@ -7127,7 +7182,7 @@ DefaultFont
 
 \begin_inset CommandInset ref
 LatexCommand ref
-reference "sec:fonts"
+reference "sub:Font-description"
 
 \end_inset
 
@@ -7302,7 +7357,7 @@ Float
 
 \begin_inset CommandInset ref
 LatexCommand ref
-reference "sec:floats"
+reference "sub:Floats"
 
 \end_inset
 
@@ -7381,7 +7436,7 @@ a new character style.
 
 \begin_inset CommandInset ref
 LatexCommand ref
-reference "sec:charstyle"
+reference "sub:Flex-insets-and"
 
 \end_inset
 
@@ -7472,6 +7527,55 @@ OutputType
  A string indicating what sort of output documents using this class will
  produce.
  At present, the options are: `docbook', `latex', and `literate'.
+\change_inserted 0 1243500198
+
+\end_layout
+
+\begin_layout Description
+
+\change_inserted 0 1243500505
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted 0 1243500208
+OutputFormat
+\end_layout
+
+\end_inset
+
+ A string indicating the file format (as defined in the Preferences dialog)
+ produced by this class.
+ It is mainly useful when 
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted 0 1243500394
+OutputType
+\end_layout
+
+\end_inset
+
+ is `literate' and one wants to define a new type of literate document.
+ This string is reset to `docbook', `latex', or `literate' when the correspondin
+g 
+\begin_inset Flex CharStyle:Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted 0 1243500473
+OutputType
+\end_layout
+
+\end_inset
+
+ parameter is encountered.
+\change_unchanged
+
 \end_layout
 
 \begin_layout Description
@@ -7911,7 +8015,7 @@ Style
 
 \begin_inset CommandInset ref
 LatexCommand ref
-reference "sec:style"
+reference "sub:Paragraph-Styles"
 
 \end_inset
 
@@ -8118,15 +8222,16 @@ ClassOptions
 \end_inset
 
  section
-\end_layout
-
-\begin_layout Standard
 \begin_inset CommandInset label
 LatexCommand label
-name "sec:classoptions"
+name "sub:ClassOptions"
 
 \end_inset
 
+
+\end_layout
+
+\begin_layout Standard
 The 
 \begin_inset Flex CharStyle:Code
 status collapsed
@@ -8319,15 +8424,16 @@ End
 
 \begin_layout Subsection
 Paragraph Styles
-\end_layout
-
-\begin_layout Standard
 \begin_inset CommandInset label
 LatexCommand label
-name "sec:style"
+name "sub:Paragraph-Styles"
 
 \end_inset
 
+
+\end_layout
+
+\begin_layout Standard
 A paragraph style description looks like this:
 \begin_inset Foot
 status collapsed
@@ -8859,7 +8965,7 @@ and
 
 \begin_inset CommandInset ref
 LatexCommand ref
-reference "sec:fonts"
+reference "sub:Font-description"
 
 \end_inset
 
@@ -8956,13 +9062,7 @@ FreeSpacing
 status collapsed
 
 \begin_layout Plain Layout
-
-\change_inserted 2 1234613251
-Babel
-\change_deleted 2 1234611266
-I18N
-\change_unchanged
-Preamble
+BabelPreamble
 \end_layout
 
 \end_inset
@@ -8974,13 +9074,7 @@ Preamble
 status collapsed
 
 \begin_layout Plain Layout
-
-\change_inserted 2 1234613436
-Babel
-\change_deleted 2 1234611275
-I18N
-\change_unchanged
-Preamble
+BabelPreamble
 \end_layout
 
 \end_inset
@@ -8995,13 +9089,7 @@ Preamble
 status collapsed
 
 \begin_layout Plain Layout
-End
-\change_deleted 2 1234611280
-I18N
-\change_inserted 2 1234613262
-Babel
-\change_unchanged
-Preamble
+EndBabelPreamble
 \end_layout
 
 \end_inset
@@ -9051,29 +9139,19 @@ _()
 
  replaces its argument by the translation of the argument to the current
  language.
-\change_inserted 2 1234611470
-
 \end_layout
 
 \begin_layout Standard
-
-\change_inserted 2 1234615134
 This preamble snippet will only be used if the document contains more than
  one language and the babel package is used.
-\change_unchanged
-
 \end_layout
 
 \end_deeper
 \begin_layout Description
-
-\change_inserted 2 1234614203
 \begin_inset Flex CharStyle:Code
 status collapsed
 
 \begin_layout Plain Layout
-
-\change_inserted 2 1234614202
 LangPreamble
 \end_layout
 
@@ -9084,8 +9162,6 @@ LangPreamble
 status collapsed
 
 \begin_layout Plain Layout
-
-\change_inserted 2 1234614202
 BabelPreamble
 \end_layout
 
@@ -9102,8 +9178,6 @@ BabelPreamble
 status collapsed
 
 \begin_layout Plain Layout
-
-\change_inserted 2 1234614202
 EndLangPreamble
 \end_layout
 
@@ -9124,38 +9198,22 @@ If the style defines text that appears in the typeset document, it may use
 status collapsed
 
 \begin_layout Plain Layout
-
-\change_inserted 2 1234611302
-Lang
-\change_deleted 2 1234611306
-I18N
-\change_unchanged
-Preamble
+LangPreamble
 \end_layout
 
 \end_inset
 
-
-\change_inserted 2 1234611823
- and
-\change_unchanged
-\change_inserted 2 1234611832
-
+ and 
 \begin_inset Flex CharStyle:Code
 status collapsed
 
 \begin_layout Plain Layout
-
-\change_inserted 2 1234611838
 BabelPreamble
 \end_layout
 
 \end_inset
 
-\change_unchanged
-to support non-english and even multilanguage documents correctly.
+ to support non-english and even multilanguage documents correctly.
  The following excerpt (from the 
 \begin_inset Flex CharStyle:Code
 status collapsed
@@ -9173,16 +9231,6 @@ theorems-ams.inc
 Preamble
 \end_layout
 
-\begin_layout LyX-Code
-
-\change_deleted 2 1234612061
-  
-\backslash
-providecommand{
-\backslash
-claimname}{Claim}
-\end_layout
-
 \begin_layout LyX-Code
   
 \backslash
@@ -9204,14 +9252,10 @@ EndPreamble
 \end_layout
 
 \begin_layout LyX-Code
-
-\change_inserted 2 1234612037
 LangPreamble
 \end_layout
 
 \begin_layout LyX-Code
-
-\change_inserted 2 1234612045
   
 \backslash
 providecommand{
@@ -9221,46 +9265,18 @@ claimname}{_(Claim)}
 
 \begin_layout LyX-Code
 
-\change_inserted 2 1234611897
-
 \end_layout
 
 \begin_layout LyX-Code
-
-\change_inserted 2 1234612050
 EndLangPreamble
 \end_layout
 
 \begin_layout LyX-Code
-
-\change_inserted 2 1234611892
-Babel
-\change_deleted 2 1234611847
-I18n
-\change_unchanged
-Preamble
-\end_layout
-
-\begin_layout LyX-Code
-  
-\change_deleted 2 1234612079
-
-\backslash
-AtBeginDocument{
-\backslash
-ifx
-\backslash
-LdfInit
-\backslash
-undefined
-\backslash
-relax
-\backslash
-else%
+BabelPreamble
 \end_layout
 
 \begin_layout LyX-Code
-  
+    
 \backslash
 addto
 \backslash
@@ -9269,28 +9285,10 @@ captions$$lang{
 renewcommand{
 \backslash
 claimname}{_(Claim)}}
-\change_deleted 2 1234612086
-%
-\end_layout
-
-\begin_layout LyX-Code
-
-\change_deleted 2 1234612089
-  
-\backslash
-fi}
-\change_unchanged
-
 \end_layout
 
 \begin_layout LyX-Code
-End
-\change_inserted 2 1234611859
-Babel
-\change_deleted 2 1234611856
-I18n
-\change_unchanged
-Preamble
+EndBabelPreamble
 \end_layout
 
 \begin_layout Standard
@@ -9307,26 +9305,14 @@ claimname
 
 \end_inset
 
- in the 
-\change_inserted 2 1234612144
-language
-\change_deleted 2 1234612146
-standard
-\change_unchanged
- preamble.
+ in the language preamble.
  This command holds the name of the theorem that will appear in the output.
  The 
 \begin_inset Flex CharStyle:Code
 status collapsed
 
 \begin_layout Plain Layout
-
-\change_inserted 2 1234612157
-Babel
-\change_deleted 2 1234612155
-I18N
-\change_unchanged
-Preamble
+BabelPreamble
 \end_layout
 
 \end_inset
@@ -9343,44 +9329,7 @@ claimname
 
 \end_inset
 
- for each used language
-\change_inserted 2 1234622073
- in multilanguage documents
-\change_unchanged
-.
-
-\change_deleted 2 1234612171
- The 
-\begin_inset Flex CharStyle:Code
-status collapsed
-
-\begin_layout Plain Layout
-
-\backslash
-ifx
-\backslash
-LdfInit
-\end_layout
-
-\end_inset
-
- test ensures that no LaTeX error occurs in documents that do not use babel.
- Since LyX loads babel after the style-specific preamble, the whole command
- is deferred to the actual start of the document with 
-\begin_inset Flex CharStyle:Code
-status collapsed
-
-\begin_layout Plain Layout
-
-\backslash
-AtBeginDocument
-\end_layout
-
-\end_inset
-
-.
-\change_unchanged
-
+ for each used language in multilanguage documents.
 \end_layout
 
 \end_deeper
@@ -9615,7 +9564,7 @@ string=""
 The name of the counter for automatic numbering (see Section 
 \begin_inset CommandInset ref
 LatexCommand ref
-reference "sec:counter"
+reference "sub:Counters"
 
 \end_inset
 
@@ -9661,7 +9610,7 @@ LabelFont
 
 \begin_inset CommandInset ref
 LatexCommand ref
-reference "sec:fonts"
+reference "sub:Font-description"
 
 \end_inset
 
@@ -9750,7 +9699,7 @@ LabelCounter
  in Section 
 \begin_inset CommandInset ref
 LatexCommand ref
-reference "sec:counter"
+reference "sub:Counters"
 
 \end_inset
 
@@ -9800,7 +9749,7 @@ style-name
  Section 
 \begin_inset CommandInset ref
 LatexCommand ref
-reference "sec:counter"
+reference "sub:Counters"
 
 \end_inset
 
@@ -10079,7 +10028,7 @@ Counter
  See Section 
 \begin_inset CommandInset ref
 LatexCommand ref
-reference "sec:counter"
+reference "sub:Counters"
 
 \end_inset
 
@@ -11290,7 +11239,7 @@ TextFont
  See section 
 \begin_inset CommandInset ref
 LatexCommand ref
-reference "sec:fonts"
+reference "sub:Font-description"
 
 \end_inset
 
@@ -11341,15 +11290,16 @@ float=0
 
 \begin_layout Subsection
 Floats
-\end_layout
-
-\begin_layout Standard
 \begin_inset CommandInset label
 LatexCommand label
-name "sec:floats"
+name "sub:Floats"
 
 \end_inset
 
+
+\end_layout
+
+\begin_layout Standard
 Since version 1.3.0 of LyX, it is has been both possible and necessary to
  define the floats (
 \begin_inset Flex CharStyle:MenuItem
@@ -11883,15 +11833,16 @@ type
 
 \begin_layout Subsection
 Flex insets and InsetLayout
-\end_layout
-
-\begin_layout Standard
 \begin_inset CommandInset label
 LatexCommand label
-name "sec:charstyle"
+name "sub:Flex-insets-and"
 
 \end_inset
 
+
+\end_layout
+
+\begin_layout Standard
 LyX has supported character styles since version 1.4.0; as of version 1.6.0,
  these are called Flex insets.
  
@@ -12505,7 +12456,7 @@ and
 
 \begin_inset CommandInset ref
 LatexCommand ref
-reference "sec:fonts"
+reference "sub:Font-description"
 
 \end_inset
 
@@ -12697,7 +12648,7 @@ LabelFont
 
 \begin_inset CommandInset ref
 LatexCommand ref
-reference "sec:fonts"
+reference "sub:Font-description"
 
 \end_inset
 
@@ -13040,15 +12991,16 @@ reference "des:Requires"
 
 \begin_layout Subsection
 Counters
-\end_layout
-
-\begin_layout Standard
 \begin_inset CommandInset label
 LatexCommand label
-name "sec:counter"
+name "sub:Counters"
 
 \end_inset
 
+
+\end_layout
+
+\begin_layout Standard
 Since version 1.3.0 of LyX, it is both possible and necessary to define the
  counters (
 \begin_inset Flex CharStyle:MenuItem
@@ -13465,15 +13417,16 @@ section
 
 \begin_layout Subsection
 Font description
-\end_layout
-
-\begin_layout Standard
 \begin_inset CommandInset label
 LatexCommand label
-name "sec:fonts"
+name "sub:Font-description"
 
 \end_inset
 
+
+\end_layout
+
+\begin_layout Standard
 A font description looks like this:
 \end_layout
 
@@ -14003,7 +13956,7 @@ The automatic conversion only handles syntax changes.
 Creating Templates
 \begin_inset CommandInset label
 LatexCommand label
-name "sec:templates"
+name "sec:Creating-Templates"
 
 \end_inset
 
@@ -14770,7 +14723,7 @@ InputFormat
  This must be the name of a format that is known to LyX (see section 
 \begin_inset CommandInset ref
 LatexCommand ref
-reference "sub:Formats"
+reference "sec:Formats"
 
 \end_inset
 
@@ -15863,34 +15816,13 @@ status collapsed
 \end_layout
 
 \begin_layout Section
+Security discussion
 \begin_inset CommandInset label
 LatexCommand label
 name "sec:Security-discussion"
 
 \end_inset
 
-Security discussion
-\end_layout
-
-\begin_layout Standard
-\begin_inset Box Shadowbox
-position "t"
-hor_pos "c"
-has_inner_box 1
-inner_pos "t"
-use_parbox 0
-width "100col%"
-special "none"
-height "1in"
-height_special "totalheight"
-status open
-
-\begin_layout Plain Layout
-WARNING: This section is definitely outdated.
-\end_layout
-
-\end_inset
-
 
 \end_layout
 
@@ -15941,49 +15873,7 @@ This also implies that you are restricted in what command strings you can
  If you want to use some of the shell features, you should write a safe
  script to do this in a controlled manner, and then invoke the script from
  the command string.
- In the 
-\begin_inset Flex CharStyle:Code
-status collapsed
-
-\begin_layout Plain Layout
-lib/scripts
-\end_layout
-
-\end_inset
-
- directory of the LyX installation, you can find a safe wrapper script 
-\begin_inset Flex CharStyle:Code
-status collapsed
-
-\begin_layout Plain Layout
-general_command_wrapper.py
-\end_layout
-
-\end_inset
-
- that supports redirection of input and output.
- That can serve as an example for how to write safe template scripts.
- For a more advanced example that uses 
-\begin_inset Flex CharStyle:Code
-status collapsed
-
-\begin_layout Plain Layout
-fork
-\end_layout
-
-\end_inset
-
- and friends, take a look at the 
-\begin_inset Flex CharStyle:Code
-status collapsed
-
-\begin_layout Plain Layout
-pic2ascii.py
-\end_layout
-
-\end_inset
-
- converter script.
 \end_layout
 
 \begin_layout Standard