]> git.lyx.org Git - lyx.git/blobdiff - src/tex2lyx/test/test-insets.lyx.lyx
Small update of TODO
[lyx.git] / src / tex2lyx / test / test-insets.lyx.lyx
index ac42d0aa721e47f43dce5b673cccabcde058865d..0aa2ee886a1f7b0123823654388cd6fe725fa318 100644 (file)
@@ -1,10 +1,18 @@
-#LyX file created by tex2lyx 2.1.0dev
-\lyxformat 450
+#LyX file created by tex2lyx 2.3
+\lyxformat 544
 \begin_document
 \begin_header
+\save_transient_properties true
+\origin roundtrip
 \textclass article
 \begin_preamble
 
+% Load refstyle before prettyref so that prettyref wins.
+% The real refstyle tests are in test-refstyle-theorems.tex.
+\usepackage{refstyle}
+\AtBeginDocument{\providecommand\secref[1]{\ref{sec:#1}}}
+
+
 \def\mycommand{\textquestiondown}
 
 
 \maintain_unincluded_children false
 \language english
 \language_package none
-\inputencoding latin9
+\inputencoding iso8859-15
 \fontencoding T1
-\font_roman default
-\font_sans default
-\font_typewriter default
-\font_math auto
+\font_roman "default" "default"
+\font_sans "default" "default"
+\font_typewriter "default" "default"
+\font_math "auto" "auto"
 \font_default_family default
 \use_non_tex_fonts false
 \font_sc false
 \font_osf false
-\font_sf_scale 100
-\font_tt_scale 100
+\font_sf_scale 100 100
+\font_tt_scale 100 100
+\use_microtype false
+\use_dash_ligatures true
 \graphics default
 \default_output_format default
 \output_sync 0
@@ -33,7 +43,7 @@
 \paperfontsize 12
 \spacing onehalf
 \use_hyperref true
-\pdf_bookmarks 1
+\pdf_bookmarks 0
 \pdf_bookmarksnumbered 0
 \pdf_bookmarksopen 0
 \pdf_bookmarksopenlevel 1
 \pdf_pdfborder 0
 \pdf_colorlinks 0
 \pdf_backref section
-\pdf_pdfusetitle 1
+\pdf_pdfusetitle 0
 \papersize a4paper
 \use_geometry false
 \use_package amsmath 2
 \use_package amssymb 2
+\use_package cancel 0
 \use_package esint 1
 \use_package mathdots 0
 \use_package mathtools 0
 \use_package mhchem 0
+\use_package stackrel 0
+\use_package stmaryrd 0
 \use_package undertilde 0
 \cite_engine natbib
 \cite_engine_type numerical
 \suppress_date false
 \justification true
 \use_refstyle 0
+\use_minted 0
 \index Index
 \shortcut idx
 \color #008000
 \end_index
+\index new
+\shortcut new
+\color #008000
+\end_index
+\index test
+\shortcut test
+\color #008000
+\end_index
 \secnumdepth 3
 \tocdepth 3
 \paragraph_separation indent
 \paragraph_indentation 3mm
-\quotes_language english
+\is_math_indent 0
+\math_numbering_side default
+\quotes_style english
+\dynamic_quotes 0
 \papercolumns 1
 \papersides 1
 \paperpagestyle default
 \begin_body
 
 \begin_layout Title
-
 Title
 \end_layout
 
 \begin_layout Standard
 
-
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 %stupid stuff
 \end_layout
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 
 \end_layout
 
@@ -108,13 +129,11 @@ status collapsed
 \end_layout
 
 \begin_layout Date
-
 two days ago
 \end_layout
 
 \begin_layout Standard
 
-
 \begin_inset CommandInset toc
 LatexCommand tableofcontents
 
@@ -131,18 +150,15 @@ LatexCommand lstlistoflistings
 
 \begin_layout Standard
 \noindent
-
 This paragraph is not indented.
 \end_layout
 
 \begin_layout Section
-
 References
 \begin_inset Index idx
 status collapsed
 
 \begin_layout Plain Layout
-
 References
 \end_layout
 
@@ -152,7 +168,6 @@ References
 \end_layout
 
 \begin_layout Standard
-
 Let's start with simple things: a label
 \begin_inset space ~
 
@@ -174,6 +189,9 @@ name "lab:test"
 \begin_inset CommandInset ref
 LatexCommand ref
 reference "lab:test"
+plural "false"
+caps "false"
+noprefix "false"
 
 \end_inset
 
@@ -189,7 +207,6 @@ unbreakable space
 \end_layout
 
 \begin_layout Standard
-
 Of course there are other kind of references, like page reference
 \begin_inset space ~
 
@@ -199,6 +216,9 @@ Of course there are other kind of references, like page reference
 \begin_inset CommandInset ref
 LatexCommand pageref
 reference "lab:test"
+plural "false"
+caps "false"
+noprefix "false"
 
 \end_inset
 
@@ -211,6 +231,9 @@ reference "lab:test"
 \begin_inset CommandInset ref
 LatexCommand eqref
 reference "lab:test"
+plural "false"
+caps "false"
+noprefix "false"
 
 \end_inset
 
@@ -223,6 +246,9 @@ reference "lab:test"
 \begin_inset CommandInset ref
 LatexCommand vref
 reference "lab:test"
+plural "false"
+caps "false"
+noprefix "false"
 
 \end_inset
 
@@ -235,6 +261,9 @@ reference "lab:test"
 \begin_inset CommandInset ref
 LatexCommand vpageref
 reference "lab:test"
+plural "false"
+caps "false"
+noprefix "false"
 
 \end_inset
 
@@ -247,20 +276,68 @@ reference "lab:test"
 \begin_inset CommandInset ref
 LatexCommand formatted
 reference "lab:test"
+plural "false"
+caps "false"
+noprefix "false"
 
 \end_inset
 
-.
+ as well as textual references like
+\begin_inset space ~
+
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand nameref
+reference "lab:test"
+plural "false"
+caps "false"
+noprefix "false"
+
+\end_inset
+
+. The command 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\backslash
+secref
 \end_layout
 
-\begin_layout Section
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+{
+\end_layout
 
+\end_inset
+
+lab:test
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+}
+\end_layout
+
+\end_inset
+
+ will be parsed in ERT, since LyX does not support refstyle and prettyref natively at the same time.
+\end_layout
+
+\begin_layout Section
 Cites
 \begin_inset Index idx
 status collapsed
 
 \begin_layout Plain Layout
-
 Cites
 \end_layout
 
@@ -270,7 +347,6 @@ Cites
 \end_layout
 
 \begin_layout Standard
-
 Let's start with simple things: a 
 \backslash
 cite: 
@@ -279,6 +355,7 @@ LatexCommand citep
 after "after"
 before ""
 key "article-crossref"
+literal "true"
 
 \end_inset
 
@@ -290,6 +367,7 @@ LatexCommand citep
 after "after"
 before ""
 key "whole-set,article-crossref"
+literal "true"
 
 \end_inset
 
@@ -297,13 +375,11 @@ key "whole-set,article-crossref"
 \end_layout
 
 \begin_layout Standard
-
 Now the natbib things:
 \end_layout
 
 \begin_layout Standard
 
-
 \backslash
 citet: 
 \begin_inset CommandInset citation
@@ -311,6 +387,7 @@ LatexCommand citet
 after "after"
 before "before"
 key "article-crossref"
+literal "true"
 
 \end_inset
 
@@ -322,6 +399,7 @@ LatexCommand citet*
 after "after"
 before "before"
 key "article-crossref"
+literal "true"
 
 \end_inset
 
@@ -333,6 +411,7 @@ LatexCommand Citet
 after "after"
 before "before"
 key "article-crossref"
+literal "true"
 
 \end_inset
 
@@ -344,6 +423,7 @@ LatexCommand Citet*
 after "after"
 before "before"
 key "article-crossref"
+literal "true"
 
 \end_inset
 
@@ -352,7 +432,6 @@ key "article-crossref"
 
 \begin_layout Standard
 
-
 \backslash
 citep: 
 \begin_inset CommandInset citation
@@ -360,6 +439,7 @@ LatexCommand citep
 after "after"
 before "before"
 key "article-crossref"
+literal "true"
 
 \end_inset
 
@@ -371,6 +451,7 @@ LatexCommand citep*
 after "after"
 before "before"
 key "article-crossref"
+literal "true"
 
 \end_inset
 
@@ -382,6 +463,7 @@ LatexCommand Citep
 after "after"
 before "before"
 key "article-crossref"
+literal "true"
 
 \end_inset
 
@@ -393,6 +475,7 @@ LatexCommand Citep*
 after "after"
 before "before"
 key "article-crossref"
+literal "true"
 
 \end_inset
 
@@ -401,7 +484,6 @@ key "article-crossref"
 
 \begin_layout Standard
 
-
 \backslash
 citealt: 
 \begin_inset CommandInset citation
@@ -409,6 +491,7 @@ LatexCommand citealt
 after "after"
 before "before"
 key "article-crossref"
+literal "true"
 
 \end_inset
 
@@ -420,6 +503,7 @@ LatexCommand citealt*
 after "after"
 before "before"
 key "article-crossref"
+literal "true"
 
 \end_inset
 
@@ -431,6 +515,7 @@ LatexCommand Citealt
 after "after"
 before "before"
 key "article-crossref"
+literal "true"
 
 \end_inset
 
@@ -442,6 +527,7 @@ LatexCommand Citealt*
 after "after"
 before "before"
 key "article-crossref"
+literal "true"
 
 \end_inset
 
@@ -450,7 +536,6 @@ key "article-crossref"
 
 \begin_layout Standard
 
-
 \backslash
 citealp: 
 \begin_inset CommandInset citation
@@ -458,6 +543,7 @@ LatexCommand citealp
 after "after"
 before "before"
 key "article-crossref"
+literal "true"
 
 \end_inset
 
@@ -469,6 +555,7 @@ LatexCommand citealp*
 after "after"
 before "before"
 key "article-crossref"
+literal "true"
 
 \end_inset
 
@@ -480,6 +567,7 @@ LatexCommand Citep
 after "after"
 before "before"
 key "article-crossref"
+literal "true"
 
 \end_inset
 
@@ -491,6 +579,7 @@ LatexCommand Citealp*
 after "after"
 before "before"
 key "article-crossref"
+literal "true"
 
 \end_inset
 
@@ -499,7 +588,6 @@ key "article-crossref"
 
 \begin_layout Standard
 
-
 \backslash
 citeauthor: 
 \begin_inset CommandInset citation
@@ -507,6 +595,7 @@ LatexCommand citeauthor
 after "after"
 before "before"
 key "article-crossref"
+literal "true"
 
 \end_inset
 
@@ -518,6 +607,7 @@ LatexCommand citeauthor*
 after "after"
 before "before"
 key "article-crossref"
+literal "true"
 
 \end_inset
 
@@ -529,6 +619,7 @@ LatexCommand Citeauthor
 after "after"
 before "before"
 key "article-crossref"
+literal "true"
 
 \end_inset
 
@@ -540,6 +631,7 @@ LatexCommand Citeauthor*
 after "after"
 before "before"
 key "article-crossref"
+literal "true"
 
 \end_inset
 
@@ -548,7 +640,6 @@ key "article-crossref"
 
 \begin_layout Standard
 
-
 \backslash
 citeyear: 
 \begin_inset CommandInset citation
@@ -556,6 +647,7 @@ LatexCommand citeyear
 after "after"
 before "before"
 key "article-crossref"
+literal "true"
 
 \end_inset
 
@@ -564,7 +656,6 @@ key "article-crossref"
 
 \begin_layout Standard
 
-
 \backslash
 citeyearpar: 
 \begin_inset CommandInset citation
@@ -572,6 +663,7 @@ LatexCommand citeyearpar
 after "after"
 before "before"
 key "article-crossref"
+literal "true"
 
 \end_inset
 
@@ -580,13 +672,13 @@ key "article-crossref"
 
 \begin_layout Standard
 
-
 \backslash
 nocite: 
 \begin_inset CommandInset citation
 LatexCommand nocite
 after ""
 key "article-crossref"
+literal "true"
 
 \end_inset
 
@@ -595,19 +687,16 @@ key "article-crossref"
 
 \begin_layout Standard
 
-
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 % Remove duplicate call of 
 \backslash
 bibliography since LaTeX throws an error.
 \end_layout
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 
 \end_layout
 
@@ -617,15 +706,13 @@ bibliography since LaTeX throws an error.
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 %
 \backslash
 bibliographystyle{unsrt}
 \end_layout
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 
 \end_layout
 
@@ -635,25 +722,18 @@ bibliographystyle{unsrt}
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 % 
 \backslash
 bibliography{xampl}
 \end_layout
 
-\begin_layout Standard
-
-
-\end_layout
-
 \end_inset
 
 
 \end_layout
 
 \begin_layout Standard
-
 With 
 \backslash
 nocite{*}:   
@@ -669,13 +749,13 @@ options "unsrt"
 \end_layout
 
 \begin_layout Standard
-
 From bug 7306: 
 \begin_inset CommandInset citation
 LatexCommand citet
 after ""
 before ""
 key "gur+04"
+literal "true"
 
 \end_inset
 
@@ -684,11 +764,34 @@ key "gur+04"
 
 \begin_layout Bibliography
 
+\begin_inset CommandInset bibitem
+LatexCommand bibitem
+label "Möstl et~al.(2010)"
+key "Mostl2010"
+literal "true"
+
+\end_inset
+
+ Gürkan, M.
+\begin_inset space ~
+
+\end_inset
+
+A., Freitag, M., & Rasio, F.
+\begin_inset space ~
+
+\end_inset
+
+A. 2004, ApJ, 604, 632 
+\end_layout
+
+\begin_layout Bibliography
 
 \begin_inset CommandInset bibitem
 LatexCommand bibitem
 label "{{Gürkan et~al.}(2004)}"
 key "gur+04"
+literal "true"
 
 \end_inset
 
@@ -706,13 +809,11 @@ A. 2004, ApJ, 604, 632
 \end_layout
 
 \begin_layout Section
-
 Input files
 \begin_inset Index idx
 status collapsed
 
 \begin_layout Plain Layout
-
 Input files
 \end_layout
 
@@ -722,36 +823,51 @@ Input files
 \end_layout
 
 \begin_layout Standard
-
 We can input files too, like this 
 \begin_inset CommandInset include
 LatexCommand input
 preview false
-filename "DummyDocument.lyx"
+filename "DummyDocument.lyx.lyx"
 
 \end_inset
 
-, or with the include variant 
+, or with the include variant (tests quoting as well): 
 \begin_inset CommandInset include
 LatexCommand include
 preview false
-filename "DummyDocument.lyx"
+filename "Dummy Document.tex"
 
 \end_inset
 
  
-\begin_inset ERT
-status collapsed
+\begin_inset CommandInset include
+LatexCommand include
+preview false
+filename "Dummy Document.tex"
 
-\begin_layout Standard
+\end_inset
 
-% unfortunately, including the doc twice generates a multiply defined label
-\end_layout
+\begin_inset CommandInset include
+LatexCommand include
+preview false
+filename "Dummy~Document.lyx.lyx"
 
-\begin_layout Standard
+\end_inset
 
+\begin_inset CommandInset include
+LatexCommand include
+preview false
+filename "Dummy~Document.lyx.lyx"
 
-\end_layout
+\end_inset
+
+ File names containg double quotes are not legal on windows, so no test file is provided. Nevertheless, they are legal on unix, so we test at least the parsing. File names containing spaces can not be handled by automake (make dist would fail), so no test file is provided as well. Since the files do not exist, the variants without extension would not work (tex2lyx can't deduce the correct extension of nonexisting files). 
+\begin_inset CommandInset include
+LatexCommand include
+preview false
+filename "Dummy\"Document.tex"
 
 \end_inset
 
@@ -759,13 +875,11 @@ status collapsed
 \end_layout
 
 \begin_layout Standard
-
 We can also import chess diagrams:
 \end_layout
 
 \begin_layout Standard
 
-
 \begin_inset External
        template ChessDiagram
        filename ../../../lib/examples/iecc05.fen
@@ -776,13 +890,11 @@ We can also import chess diagrams:
 \end_layout
 
 \begin_layout Standard
-
 Spreadsheets:
 \end_layout
 
 \begin_layout Standard
 
-
 \begin_inset External
        template GnumericSpreadsheet
        filename ../../../lib/examples/longsheet.gnumeric
@@ -793,13 +905,11 @@ Spreadsheets:
 \end_layout
 
 \begin_layout Standard
-
 XFig drawings:
 \end_layout
 
 \begin_layout Standard
 
-
 \begin_inset External
        template XFig
        filename xfigtest.fig
@@ -810,13 +920,11 @@ XFig drawings:
 \end_layout
 
 \begin_layout Standard
-
 and PDF pages:
 \end_layout
 
 \begin_layout Standard
 
-
 \begin_inset External
        template PDFPages
        filename ../../../lib/examples/beamer-icsi-logo.pdf
@@ -833,7 +941,6 @@ and PDF pages:
 \end_layout
 
 \begin_layout Standard
-
 If you prefer verbatim input, you can choose between
 \begin_inset space ~
 
@@ -864,13 +971,11 @@ filename "foo"
 \end_layout
 
 \begin_layout Section
-
 URLs and Hyperlinks
 \begin_inset Index idx
 status collapsed
 
 \begin_layout Plain Layout
-
 URL
 \end_layout
 
@@ -882,6 +987,7 @@ LatexCommand nomenclature
 prefix "www"
 symbol "URL"
 description "uniform resource locator"
+literal "true"
 
 \end_inset
 
@@ -889,13 +995,11 @@ description "uniform resource locator"
 \end_layout
 
 \begin_layout Standard
-
 An URL: 
 \begin_inset Flex Flex:URL
 status collapsed
 
 \begin_layout Plain Layout
-
 http://www.lyx.org
 \end_layout
 
@@ -906,6 +1010,7 @@ http://www.lyx.org
 LatexCommand nomenclature
 symbol "URL2"
 description "uniform resource locator"
+literal "true"
 
 \end_inset
 
@@ -913,11 +1018,25 @@ description "uniform resource locator"
 \end_layout
 
 \begin_layout Standard
+An URL with strange characters: 
+\begin_inset Flex Flex:URL
+status collapsed
+
+\begin_layout Plain Layout
+http://www.lyx.org/percent%dollar$
+\end_layout
+
+\end_inset
+
+
+\end_layout
 
+\begin_layout Standard
 link:
 \begin_inset CommandInset href
 LatexCommand href
 target "www.test.test"
+literal "true"
 
 \end_inset
 
@@ -925,11 +1044,11 @@ target "www.test.test"
 \end_layout
 
 \begin_layout Standard
-
 link2:
 \begin_inset CommandInset href
 LatexCommand href
 target "http://www.test.test"
+literal "true"
 
 \end_inset
 
@@ -937,13 +1056,13 @@ target "http://www.test.test"
 \end_layout
 
 \begin_layout Standard
-
 mail:
 \begin_inset CommandInset href
 LatexCommand href
 name "name"
 target "www.test.test"
 type "mailto:"
+literal "true"
 
 \end_inset
 
@@ -951,12 +1070,12 @@ type "mailto:"
 \end_layout
 
 \begin_layout Standard
-
 file:
 \begin_inset CommandInset href
 LatexCommand href
 target "www.test.test"
 type "file:"
+literal "true"
 
 \end_inset
 
@@ -964,11 +1083,11 @@ type "file:"
 \end_layout
 
 \begin_layout Standard
-
 ftp:
 \begin_inset CommandInset href
 LatexCommand href
 target "ftp://www.test.test"
+literal "true"
 
 \end_inset
 
@@ -976,12 +1095,12 @@ target "ftp://www.test.test"
 \end_layout
 
 \begin_layout Standard
-
 ftp2:
 \begin_inset CommandInset href
 LatexCommand href
 name "www.test.test"
 target "ftp://www.test.test"
+literal "true"
 
 \end_inset
 
@@ -989,12 +1108,12 @@ target "ftp://www.test.test"
 \end_layout
 
 \begin_layout Standard
-
 parser test (stupid, but valid):
 \begin_inset CommandInset href
 LatexCommand href
 name "}"
 target "http://www.test.test"
+literal "true"
 
 \end_inset
 
@@ -1002,12 +1121,12 @@ target "http://www.test.test"
 \end_layout
 
 \begin_layout Standard
-
 parser test (escaped):
 \begin_inset CommandInset href
 LatexCommand href
 name "a brace } and another one { and something"
 target "http://www.test.test"
+literal "true"
 
 \end_inset
 
@@ -1015,13 +1134,11 @@ target "http://www.test.test"
 \end_layout
 
 \begin_layout Section
-
 Lists
 \begin_inset Index idx
 status collapsed
 
 \begin_layout Plain Layout
-
 Lists
 \end_layout
 
@@ -1032,7 +1149,6 @@ Lists
 
 \begin_layout Standard
 
-
 \begin_inset FloatList figure
 
 \end_inset
@@ -1046,12 +1162,10 @@ Lists
 \end_layout
 
 \begin_layout Section
-
 Listings
 \end_layout
 
 \begin_layout Standard
-
 Inline: 
 \begin_inset listings
 lstparams "language={C++},keywordstyle={\color{green}}"
@@ -1059,7 +1173,6 @@ inline true
 status collapsed
 
 \begin_layout Plain Layout
-
 int a=5;
 \end_layout
 
@@ -1074,29 +1187,24 @@ int a=5;
 
 \begin_layout Standard
 
-
 \begin_inset listings
 lstparams "caption={Example Listing float},label={lst:Example-Listing},language=Python"
 inline false
 status collapsed
 
 \begin_layout Plain Layout
-
 # Example listing float
 \end_layout
 
 \begin_layout Plain Layout
-
 def func(param):
 \end_layout
 
 \begin_layout Plain Layout
-
     'this is a python function'
 \end_layout
 
 \begin_layout Plain Layout
-
     pass
 \end_layout
 
@@ -1106,7 +1214,6 @@ def func(param):
 \end_layout
 
 \begin_layout Standard
-
 Here is an example listing with left line numbering, step 
 \begin_inset Quotes eld
 \end_inset
@@ -1164,54 +1271,44 @@ symbol
 
 \begin_layout Standard
 
-
 \begin_inset listings
 lstparams "extendedchars=true,firstline=3,language=Python,lastline=8,numbers=left,showspaces=true,stepnumber=3"
 inline false
 status collapsed
 
 \begin_layout Plain Layout
-
 def func(param):
 \end_layout
 
 \begin_layout Plain Layout
-
     'this is a python function'
 \end_layout
 
 \begin_layout Plain Layout
-
     pass
 \end_layout
 
 \begin_layout Plain Layout
-
 def func(param):
 \end_layout
 
 \begin_layout Plain Layout
-
 'This is a German word: Tschüß'
 \end_layout
 
 \begin_layout Plain Layout
-
 pass
 \end_layout
 
 \begin_layout Plain Layout
-
 def func(param):
 \end_layout
 
 \begin_layout Plain Layout
-
 'this is a python function'
 \end_layout
 
 \begin_layout Plain Layout
-
 pass
 \end_layout
 
@@ -1221,7 +1318,6 @@ pass
 \end_layout
 
 \begin_layout Standard
-
 Special cases: 
 \begin_inset listings
 lstparams "abovecaptionskip=2em,basicstyle={\large\ttfamily},breaklines=true,extendedchars=true,firstline=2,float=h,language={[R/3 3.1]ABAP},lastline=5,numbers=left,numberstyle={\scriptsize},showspaces=true,showstringspaces=false,stepnumber=3,tabsize=4"
@@ -1229,7 +1325,6 @@ inline false
 status collapsed
 
 \begin_layout Plain Layout
-
 hello
 \end_layout
 
@@ -1240,7 +1335,6 @@ hello
 
 \begin_layout Standard
 
-
 \begin_inset listings
 lstparams "language=TeX"
 inline true
@@ -1248,7 +1342,6 @@ status collapsed
 
 \begin_layout Plain Layout
 
-
 \backslash
 begin{centering} hello
 \end_layout
@@ -1259,13 +1352,11 @@ begin{centering} hello
 \end_layout
 
 \begin_layout Section
-
 Graphics
 \begin_inset Index idx
 status collapsed
 
 \begin_layout Plain Layout
-
 Graphics
 \end_layout
 
@@ -1275,7 +1366,6 @@ Graphics
 \end_layout
 
 \begin_layout Standard
-
 There is also some basic support for graphics, in the form 
 \begin_inset Graphics 
        filename foo.eps
@@ -1296,13 +1386,11 @@ There is also some basic support for graphics, in the form
 \end_layout
 
 \begin_layout Section
-
 Tables
 \begin_inset Index idx
 status collapsed
 
 \begin_layout Plain Layout
-
 Tables
 \end_layout
 
@@ -1312,15 +1400,13 @@ Tables
 \end_layout
 
 \begin_layout Standard
-
 The following example is stolen from the longtable documentation. Since tex2lyx does not understand the special verbatim code that was used in the original some lines have been rewritten using 
 \backslash
 textbackslash etc. 
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 
 \backslash
 let
@@ -1336,8 +1422,7 @@ textsf
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 
 \backslash
 let
@@ -1353,8 +1438,7 @@ textsf
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 
 \backslash
 let
@@ -1370,8 +1454,7 @@ texttt
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 
 \backslash
 providecommand{
@@ -1388,9 +1471,8 @@ clearpage}
 
 \begin_layout Standard
 
-
 \begin_inset Tabular 
-<lyxtabular version="3" rows="64" columns="2">
+<lyxtabular version="3" rows="66" columns="2">
 <features rotate="0" islongtable="true">
 <column alignment="none" valignment="top" special="@{*}r">
 <column alignment="none" valignment="top" special="|p{1in}@{*}">
@@ -1399,7 +1481,6 @@ clearpage}
 \begin_inset Text
 
 \begin_layout Standard
-
 KILLED 
 \end_layout
 
@@ -1409,13 +1490,11 @@ KILLED
 \begin_inset Text
 
 \begin_layout Standard
-
 LINE!!!! 
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 
 \backslash
 kill
@@ -1424,16 +1503,15 @@ kill
 \end_inset
 
  
-\begin_inset Caption
-
-\begin_layout Standard
+\begin_inset Caption Standard
 
+\begin_layout Plain Layout
 
 \begin_inset Argument 1
 status collapsed
 
-\begin_layout Standard
 
+\begin_layout Standard
 An optional table caption (used in the list of tables)
 \end_layout
 
@@ -1462,7 +1540,6 @@ name "long"
 \begin_inset Text
 
 \begin_layout Standard
-
 This part appears at the top of the table
 \end_layout
 
@@ -1480,7 +1557,6 @@ This part appears at the top of the table
 
 \begin_layout Standard
 
-
 \shape smallcaps
 First
 \shape default
@@ -1494,7 +1570,6 @@ First
 
 \begin_layout Standard
 
-
 \shape smallcaps
 Second
 \shape default
@@ -1510,15 +1585,14 @@ Second
 
 \begin_layout Standard
 
+\begin_inset Caption Standard
 
-\begin_inset Caption
-
-\begin_layout Standard
-
+\begin_layout Plain Layout
 
 \begin_inset Argument 1
 status collapsed
 
+
 \end_inset
 
 (continued)
@@ -1542,7 +1616,6 @@ status collapsed
 \begin_inset Text
 
 \begin_layout Standard
-
 This part appears at the top of every other page
 \end_layout
 
@@ -1560,7 +1633,6 @@ This part appears at the top of every other page
 
 \begin_layout Standard
 
-
 \series bold
 First
 \series default
@@ -1574,7 +1646,6 @@ First
 
 \begin_layout Standard
 
-
 \series bold
 Second
 \series default
@@ -1584,34 +1655,81 @@ Second
 \end_inset
 </cell>
 </row>
-<row endfoot="true">
-<cell alignment="none" valignment="top" topline="true" bottomline="true" usebox="none">
+<row endfoot="true" caption="true">
+<cell multicolumn="1" alignment="none" valignment="top" topline="true" usebox="none">
 \begin_inset Text
 
 \begin_layout Standard
 
-This goes at the
+\begin_inset Caption Unnumbered
+
+\begin_layout Plain Layout
+standard foot
 \end_layout
 
 \end_inset
-</cell>
-<cell alignment="none" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
-\begin_inset Text
 
-\begin_layout Standard
 
-bottom.
 \end_layout
 
+\end_inset
+</cell>
+<cell multicolumn="2" alignment="none" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
 \end_inset
 </cell>
 </row>
-<row endlastfoot="true">
+<row endfoot="true">
 <cell alignment="none" valignment="top" topline="true" usebox="none">
 \begin_inset Text
 
 \begin_layout Standard
+This goes at the
+\end_layout
 
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+bottom.
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row endlastfoot="true" caption="true">
+<cell multicolumn="1" alignment="none" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+\begin_inset Caption Unnumbered
+
+\begin_layout Plain Layout
+(last foot)
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+<cell multicolumn="2" alignment="none" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\end_inset
+</cell>
+</row>
+<row endlastfoot="true">
+<cell alignment="none" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
 These lines will
 \end_layout
 
@@ -1621,7 +1739,6 @@ These lines will
 \begin_inset Text
 
 \begin_layout Standard
-
 appear
 \end_layout
 
@@ -1633,7 +1750,6 @@ appear
 \begin_inset Text
 
 \begin_layout Standard
-
 in place of the 
 \end_layout
 
@@ -1643,7 +1759,6 @@ in place of the
 \begin_inset Text
 
 \begin_layout Standard
-
 usual foot
 \end_layout
 
@@ -1655,7 +1770,6 @@ usual foot
 \begin_inset Text
 
 \begin_layout Standard
-
 at the end
 \end_layout
 
@@ -1665,7 +1779,6 @@ at the end
 \begin_inset Text
 
 \begin_layout Standard
-
 of the table
 \end_layout
 
@@ -1678,12 +1791,10 @@ of the table
 
 \begin_layout Standard
 
-
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 
 \backslash
 env
@@ -1695,8 +1806,7 @@ env
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 {
 \end_layout
 
@@ -1706,8 +1816,7 @@ longtable
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 }
 \end_layout
 
@@ -1722,7 +1831,6 @@ status collapsed
 \begin_inset Text
 
 \begin_layout Standard
-
 in the 
 \end_layout
 
@@ -1734,13 +1842,11 @@ in the
 \begin_inset Text
 
 \begin_layout Standard
-
 same way as in the 
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 
 \backslash
 env
@@ -1752,8 +1858,7 @@ env
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 {
 \end_layout
 
@@ -1763,8 +1868,7 @@ tabular
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 }
 \end_layout
 
@@ -1779,7 +1883,6 @@ status collapsed
 \begin_inset Text
 
 \begin_layout Standard
-
 environment.
 \end_layout
 
@@ -1792,12 +1895,10 @@ environment.
 
 \begin_layout Standard
 
-
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 
 \backslash
 code
@@ -1809,8 +1910,7 @@ code
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 {
 \end_layout
 
@@ -1820,8 +1920,7 @@ status collapsed
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 }
 \end_layout
 
@@ -1836,7 +1935,6 @@ status collapsed
 \begin_inset Text
 
 \begin_layout Standard
-
 in this case.
 \end_layout
 
@@ -1848,7 +1946,6 @@ in this case.
 \begin_inset Text
 
 \begin_layout Standard
-
 Each row ends with a
 \end_layout
 
@@ -1859,12 +1956,10 @@ Each row ends with a
 
 \begin_layout Standard
 
-
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 
 \backslash
 code
@@ -1876,8 +1971,7 @@ code
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 {
 \end_layout
 
@@ -1891,8 +1985,7 @@ status collapsed
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 }
 \end_layout
 
@@ -1909,13 +2002,11 @@ status collapsed
 \begin_inset Text
 
 \begin_layout Standard
-
 The 
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 
 \backslash
 code
@@ -1927,8 +2018,7 @@ code
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 {
 \end_layout
 
@@ -1942,8 +2032,7 @@ status collapsed
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 }
 \end_layout
 
@@ -1958,7 +2047,6 @@ status collapsed
 \begin_inset Text
 
 \begin_layout Standard
-
 optional
 \end_layout
 
@@ -1970,7 +2058,6 @@ optional
 \begin_inset Text
 
 \begin_layout Standard
-
 argument, just as in
 \end_layout
 
@@ -1980,7 +2067,6 @@ argument, just as in
 \begin_inset Text
 
 \begin_layout Standard
-
 the
 \end_layout
 
@@ -1993,12 +2079,10 @@ the
 
 \begin_layout Standard
 
-
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 
 \backslash
 env
@@ -2010,8 +2094,7 @@ env
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 {
 \end_layout
 
@@ -2021,8 +2104,7 @@ tabular
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 }
 \end_layout
 
@@ -2037,7 +2119,6 @@ status collapsed
 \begin_inset Text
 
 \begin_layout Standard
-
 environment.
 \end_layout
 
@@ -2049,13 +2130,11 @@ environment.
 \begin_inset Text
 
 \begin_layout Standard
-
 [10pt] See the effect of 
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 
 \backslash
 code
@@ -2067,8 +2146,7 @@ code
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 {
 \end_layout
 
@@ -2082,8 +2160,7 @@ status collapsed
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 }
 \end_layout
 
@@ -2098,7 +2175,6 @@ status collapsed
 \begin_inset Text
 
 \begin_layout Standard
-
 ?
 \end_layout
 
@@ -2110,7 +2186,6 @@ status collapsed
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -2120,7 +2195,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -2132,7 +2206,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -2142,7 +2215,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -2154,7 +2226,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -2164,7 +2235,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -2176,7 +2246,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -2186,7 +2255,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -2198,13 +2266,11 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Also 
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 
 \backslash
 code
@@ -2216,8 +2282,7 @@ code
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 {
 \end_layout
 
@@ -2229,8 +2294,7 @@ hline
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 }
 \end_layout
 
@@ -2245,13 +2309,11 @@ status collapsed
 \begin_inset Text
 
 \begin_layout Standard
-
 as in 
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 
 \backslash
 env
@@ -2263,8 +2325,7 @@ env
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 {
 \end_layout
 
@@ -2274,8 +2335,7 @@ tabular
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 }
 \end_layout
 
@@ -2292,13 +2352,11 @@ status collapsed
 \begin_inset Text
 
 \begin_layout Standard
-
 That was a 
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 
 \backslash
 code
@@ -2310,8 +2368,7 @@ code
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 {
 \end_layout
 
@@ -2323,8 +2380,7 @@ hline
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 }
 \end_layout
 
@@ -2339,7 +2395,6 @@ status collapsed
 \begin_inset Text
 
 \begin_layout Standard
-
 .
 \end_layout
 
@@ -2351,13 +2406,11 @@ status collapsed
 \begin_inset Text
 
 \begin_layout Standard
-
 That was 
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 
 \backslash
 code
@@ -2369,8 +2422,7 @@ code
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 {
 \end_layout
 
@@ -2384,8 +2436,7 @@ hline
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 }
 \end_layout
 
@@ -2400,7 +2451,6 @@ status collapsed
 \begin_inset Text
 
 \begin_layout Standard
-
 .
 \end_layout
 
@@ -2412,13 +2462,11 @@ status collapsed
 \begin_inset Text
 
 \begin_layout Standard
-
 This is a 
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 
 \backslash
 code
@@ -2430,8 +2478,7 @@ code
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 {
 \end_layout
 
@@ -2443,8 +2490,7 @@ multicolumn{2}{||c||}
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 }
 \end_layout
 
@@ -2466,13 +2512,11 @@ status collapsed
 \begin_inset Text
 
 \begin_layout Standard
-
 If a page break occurs at a 
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 
 \backslash
 code
@@ -2484,8 +2528,7 @@ code
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 {
 \end_layout
 
@@ -2497,8 +2540,7 @@ hline
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 }
 \end_layout
 
@@ -2513,7 +2555,6 @@ status collapsed
 \begin_inset Text
 
 \begin_layout Standard
-
 a line is drawn
 \end_layout
 
@@ -2525,7 +2566,6 @@ a line is drawn
 \begin_inset Text
 
 \begin_layout Standard
-
 at the bottom of one page and at the
 \end_layout
 
@@ -2535,7 +2575,6 @@ at the bottom of one page and at the
 \begin_inset Text
 
 \begin_layout Standard
-
 top of the next.
 \end_layout
 
@@ -2547,13 +2586,11 @@ top of the next.
 \begin_inset Text
 
 \begin_layout Standard
-
 The 
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 
 \backslash
 code
@@ -2565,8 +2602,7 @@ code
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 {
 \end_layout
 
@@ -2576,8 +2612,7 @@ status collapsed
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 }
 \end_layout
 
@@ -2587,8 +2622,7 @@ status collapsed
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 
 \backslash
 env
@@ -2600,8 +2634,7 @@ env
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 {
 \end_layout
 
@@ -2611,8 +2644,7 @@ tabular
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 }
 \end_layout
 
@@ -2627,7 +2659,6 @@ status collapsed
 \begin_inset Text
 
 \begin_layout Standard
-
 can not be used.
 \end_layout
 
@@ -2639,7 +2670,6 @@ can not be used.
 \begin_inset Text
 
 \begin_layout Standard
-
 The optional argument may be one of
 \end_layout
 
@@ -2650,12 +2680,10 @@ The optional argument may be one of
 
 \begin_layout Standard
 
-
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 
 \backslash
 code
@@ -2667,8 +2695,7 @@ code
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 {
 \end_layout
 
@@ -2678,8 +2705,7 @@ status collapsed
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 }
 \end_layout
 
@@ -2696,7 +2722,6 @@ status collapsed
 \begin_inset Text
 
 \begin_layout Standard
-
 to specify whether the table should be
 \end_layout
 
@@ -2706,7 +2731,6 @@ to specify whether the table should be
 \begin_inset Text
 
 \begin_layout Standard
-
 adjusted
 \end_layout
 
@@ -2718,7 +2742,6 @@ adjusted
 \begin_inset Text
 
 \begin_layout Standard
-
 to the left, right
 \end_layout
 
@@ -2728,7 +2751,6 @@ to the left, right
 \begin_inset Text
 
 \begin_layout Standard
-
 or centrally.
 \end_layout
 
@@ -2740,7 +2762,6 @@ or centrally.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -2750,7 +2771,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -2762,7 +2782,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -2772,7 +2791,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -2784,7 +2802,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -2794,7 +2811,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -2806,7 +2822,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -2816,7 +2831,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -2828,7 +2842,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -2838,7 +2851,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -2850,7 +2862,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -2860,7 +2871,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -2872,7 +2882,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -2882,7 +2891,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -2894,7 +2902,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -2904,7 +2911,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -2916,7 +2922,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -2926,7 +2931,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -2938,7 +2942,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -2948,7 +2951,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -2960,7 +2962,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -2970,7 +2971,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -2982,7 +2982,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -2992,7 +2991,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -3004,7 +3002,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -3014,7 +3011,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -3026,7 +3022,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -3036,7 +3031,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -3048,7 +3042,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -3058,7 +3051,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -3070,7 +3062,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -3080,7 +3071,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -3092,7 +3082,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -3102,7 +3091,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -3114,7 +3102,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -3124,7 +3111,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -3136,7 +3122,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -3146,7 +3131,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -3158,7 +3142,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -3168,7 +3151,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -3180,7 +3162,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Some lines may take up a lot of space, like this: 
 \end_layout
 
@@ -3191,12 +3172,10 @@ Some lines may take up a lot of space, like this:
 
 \begin_layout Standard
 
-
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 
 \backslash
 raggedleft
@@ -3220,7 +3199,8 @@ row
 \begin_inset Quotes erd
 \end_inset
 
- of the table can take up several lines. Note however that TeX
+ of the table can take up several lines. Note however that \SpecialChar TeX
+
 \begin_inset space \space{}
 
 \end_inset
@@ -3229,8 +3209,7 @@ will never break a page within such a row. Page breaks only occur between rows o
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 
 \backslash
 code
@@ -3242,8 +3221,7 @@ code
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 {
 \end_layout
 
@@ -3255,8 +3233,7 @@ hline
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 }
 \end_layout
 
@@ -3273,7 +3250,6 @@ status collapsed
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -3283,7 +3259,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -3295,7 +3270,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -3305,7 +3279,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -3317,7 +3290,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -3327,7 +3299,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -3339,7 +3310,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -3349,7 +3319,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -3361,7 +3330,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -3371,7 +3339,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -3383,7 +3350,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -3393,7 +3359,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -3405,7 +3370,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -3415,7 +3379,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -3427,14 +3390,12 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots
 \begin_inset Foot
 status collapsed
 
 
 \begin_layout Standard
-
 This is a footnote.
 \end_layout
 
@@ -3449,7 +3410,6 @@ This is a footnote.
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -3461,7 +3421,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -3471,7 +3430,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this
 \begin_inset Foot
 status collapsed
@@ -3479,12 +3437,10 @@ status collapsed
 
 \begin_layout Standard
 
-
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 
 \backslash
 env
@@ -3496,8 +3452,7 @@ env
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 {
 \end_layout
 
@@ -3507,8 +3462,7 @@ longtable
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 }
 \end_layout
 
@@ -3530,7 +3484,6 @@ status collapsed
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -3540,7 +3493,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -3552,7 +3504,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -3562,7 +3513,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this. 
 \end_layout
 
@@ -3577,19 +3527,7 @@ like this.
 \end_layout
 
 \begin_layout Standard
-
-From bug 7412 another example with more captions (can currently not produced in 
-\begin_inset ERT
-status collapsed
-
-\begin_layout Standard
-
-LyX
-\end_layout
-
-\end_inset
-
-): 
+From bug 7412 another example with more captions (can currently not produced in LyX): 
 \begin_inset Tabular 
 <lyxtabular version="3" rows="45" columns="2">
 <features rotate="0" islongtable="true" lastFootEmpty="true">
@@ -3601,11 +3539,9 @@ LyX
 
 \begin_layout Standard
 
+\begin_inset Caption Standard
 
-\begin_inset Caption
-
-\begin_layout Standard
-
+\begin_layout Plain Layout
 A long table
 \end_layout
 
@@ -3628,12 +3564,10 @@ A long table
 
 \begin_layout Standard
 
+\begin_inset Caption Standard
 
-\begin_inset Caption
-
-\begin_layout Standard
-
-A long table -- continued
+\begin_layout Plain Layout
+A long table – continued
 \end_layout
 
 \end_inset
@@ -3655,12 +3589,10 @@ A long table -- continued
 
 \begin_layout Standard
 
-
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 {
 \end_layout
 
@@ -3670,8 +3602,7 @@ Continued on next page
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 }
 \end_layout
 
@@ -3693,7 +3624,6 @@ status collapsed
 \begin_inset Text
 
 \begin_layout Standard
-
 Something
 \end_layout
 
@@ -3703,7 +3633,6 @@ Something
 \begin_inset Text
 
 \begin_layout Standard
-
 Description
 \end_layout
 
@@ -3715,7 +3644,6 @@ Description
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -3725,7 +3653,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -3737,7 +3664,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -3747,7 +3673,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -3759,7 +3684,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -3769,7 +3693,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -3781,7 +3704,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -3791,7 +3713,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -3803,7 +3724,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -3813,7 +3733,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -3825,7 +3744,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -3835,7 +3753,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -3847,7 +3764,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -3857,7 +3773,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -3869,7 +3784,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -3879,7 +3793,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -3891,7 +3804,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -3901,7 +3813,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -3913,7 +3824,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -3923,7 +3833,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -3935,7 +3844,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -3945,7 +3853,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -3957,7 +3864,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -3967,7 +3873,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -3979,7 +3884,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -3989,7 +3893,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -4001,7 +3904,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -4011,7 +3913,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -4023,7 +3924,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -4033,7 +3933,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -4045,7 +3944,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -4055,7 +3953,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -4067,7 +3964,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -4077,7 +3973,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -4089,7 +3984,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -4099,7 +3993,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -4111,7 +4004,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -4121,7 +4013,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -4133,7 +4024,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -4143,7 +4033,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -4155,7 +4044,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -4165,7 +4053,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -4177,7 +4064,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -4187,7 +4073,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -4199,7 +4084,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -4209,7 +4093,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -4221,7 +4104,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -4231,7 +4113,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -4243,7 +4124,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -4253,7 +4133,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -4265,7 +4144,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -4275,7 +4153,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -4287,7 +4164,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -4297,7 +4173,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -4309,7 +4184,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -4319,7 +4193,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -4331,7 +4204,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -4341,7 +4213,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -4353,7 +4224,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -4363,7 +4233,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -4375,7 +4244,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -4385,7 +4253,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -4397,7 +4264,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -4407,7 +4273,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -4419,7 +4284,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -4429,7 +4293,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -4441,7 +4304,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -4451,7 +4313,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -4463,7 +4324,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -4473,7 +4333,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -4485,7 +4344,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -4495,7 +4353,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -4507,7 +4364,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -4517,7 +4373,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -4529,7 +4384,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -4539,7 +4393,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -4551,7 +4404,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -4561,7 +4413,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -4573,7 +4424,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -4583,7 +4433,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -4595,7 +4444,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -4605,7 +4453,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -4620,23 +4467,19 @@ like this.
 \end_layout
 
 \begin_layout Standard
-
 A table*:
 \end_layout
 
 \begin_layout Standard
 
-
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 % some comment
 \end_layout
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 
 \end_layout
 
@@ -4653,7 +4496,6 @@ status collapsed
 \begin_inset Text
 
 \begin_layout Standard
-
 two
 \end_layout
 
@@ -4670,7 +4512,6 @@ two
 \begin_inset Text
 
 \begin_layout Standard
-
 lonely
 \end_layout
 
@@ -4680,7 +4521,6 @@ lonely
 \begin_inset Text
 
 \begin_layout Standard
-
 lines
 \end_layout
 
@@ -4695,13 +4535,11 @@ lines
 \end_layout
 
 \begin_layout Standard
-
 A booktabs table:
 \end_layout
 
 \begin_layout Standard
 
-
 \begin_inset Float table
 placement h
 wide false
@@ -4711,11 +4549,9 @@ status open
 
 \begin_layout Standard
 
+\begin_inset Caption Standard
 
-\begin_inset Caption
-
-\begin_layout Standard
-
+\begin_layout Plain Layout
 
 \begin_inset CommandInset label
 LatexCommand label
@@ -4733,12 +4569,10 @@ Special booktabs-table
 
 \begin_layout Standard
 
-
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 
 \backslash
 centering
@@ -4750,8 +4584,7 @@ centering
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 {}
 \end_layout
 
@@ -4770,7 +4603,6 @@ status collapsed
 \begin_inset Text
 
 \begin_layout Standard
-
 System 
 \end_layout
 
@@ -4780,7 +4612,6 @@ System
 \begin_inset Text
 
 \begin_layout Standard
-
 Chip
 \begin_inset space \thinspace{}
 
@@ -4795,7 +4626,6 @@ Chip
 \begin_inset Text
 
 \begin_layout Standard
-
 Chip
 \begin_inset space \thinspace{}
 
@@ -4818,12 +4648,10 @@ Chip
 
 \begin_layout Standard
 
-
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 
 \backslash
 cmidrule
@@ -4835,8 +4663,7 @@ cmidrule
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 {
 \end_layout
 
@@ -4846,8 +4673,7 @@ status collapsed
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 }
 \end_layout
 
@@ -4857,8 +4683,7 @@ status collapsed
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 
 \backslash
 cmidrule
@@ -4870,8 +4695,7 @@ cmidrule
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 {
 \end_layout
 
@@ -4881,8 +4705,7 @@ status collapsed
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 }
 \end_layout
 
@@ -4892,8 +4715,7 @@ status collapsed
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 
 \backslash
 morecmidrules
@@ -4905,8 +4727,7 @@ morecmidrules
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 
 \backslash
 cmidrule
@@ -4918,8 +4739,7 @@ cmidrule
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 {
 \end_layout
 
@@ -4929,8 +4749,7 @@ status collapsed
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 }
 \end_layout
 
@@ -4945,7 +4764,6 @@ Detector thickness in µm
 \begin_inset Text
 
 \begin_layout Standard
-
 300 
 \end_layout
 
@@ -4955,7 +4773,6 @@ Detector thickness in µm
 \begin_inset Text
 
 \begin_layout Standard
-
 300 
 \end_layout
 
@@ -4965,7 +4782,6 @@ Detector thickness in µm
 \begin_inset Text
 
 \begin_layout Standard
-
 700
 \end_layout
 
@@ -4977,7 +4793,6 @@ Detector thickness in µm
 \begin_inset Text
 
 \begin_layout Standard
-
 Edge angle in ° 
 \end_layout
 
@@ -4987,7 +4802,6 @@ Edge angle in °
 \begin_inset Text
 
 \begin_layout Standard
-
 3.55 
 \end_layout
 
@@ -4997,7 +4811,6 @@ Edge angle in °
 \begin_inset Text
 
 \begin_layout Standard
-
 2.71 
 \end_layout
 
@@ -5007,7 +4820,6 @@ Edge angle in °
 \begin_inset Text
 
 \begin_layout Standard
-
 7.99
 \end_layout
 
@@ -5019,7 +4831,6 @@ Edge angle in °
 \begin_inset Text
 
 \begin_layout Standard
-
 Spatial resolution in µm 
 \end_layout
 
@@ -5029,7 +4840,6 @@ Spatial resolution in µm
 \begin_inset Text
 
 \begin_layout Standard
-
 4.26 
 \end_layout
 
@@ -5039,7 +4849,6 @@ Spatial resolution in µm
 \begin_inset Text
 
 \begin_layout Standard
-
 10.17 
 \end_layout
 
@@ -5049,7 +4858,6 @@ Spatial resolution in µm
 \begin_inset Text
 
 \begin_layout Standard
-
 10.56
 \end_layout
 
@@ -5061,7 +4869,6 @@ Spatial resolution in µm
 \begin_inset Text
 
 \begin_layout Standard
-
 MTF at 
 \begin_inset Formula $f_{\mathrm{max}}$
 \end_inset
@@ -5075,7 +4882,6 @@ MTF at
 \begin_inset Text
 
 \begin_layout Standard
-
 0.53 
 \end_layout
 
@@ -5085,7 +4891,6 @@ MTF at
 \begin_inset Text
 
 \begin_layout Standard
-
 0.37 
 \end_layout
 
@@ -5095,7 +4900,6 @@ MTF at
 \begin_inset Text
 
 \begin_layout Standard
-
 0.39
 \end_layout
 
@@ -5108,12 +4912,10 @@ MTF at
 
 \begin_layout Standard
 
-
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 
 \backslash
 morecmidrules
@@ -5125,8 +4927,7 @@ morecmidrules
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 
 \backslash
 cmidrule
@@ -5138,8 +4939,7 @@ cmidrule
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 {
 \end_layout
 
@@ -5149,8 +4949,7 @@ status collapsed
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 }
 \end_layout
 
@@ -5182,7 +4981,6 @@ LSF-spatial resolution
 \begin_inset Text
 
 \begin_layout Standard
-
 in µm 
 \end_layout
 
@@ -5192,7 +4990,6 @@ in µm
 \begin_inset Text
 
 \begin_layout Standard
-
 129.7 
 \end_layout
 
@@ -5202,7 +4999,6 @@ in µm
 \begin_inset Text
 
 \begin_layout Standard
-
 52.75 
 \end_layout
 
@@ -5212,7 +5008,6 @@ in µm
 \begin_inset Text
 
 \begin_layout Standard
-
 50.78
 \end_layout
 
@@ -5224,7 +5019,6 @@ in µm
 \begin_inset Text
 
 \begin_layout Standard
-
 in % of pixel size 
 \end_layout
 
@@ -5234,7 +5028,6 @@ in % of pixel size
 \begin_inset Text
 
 \begin_layout Standard
-
 76.3 
 \end_layout
 
@@ -5244,7 +5037,6 @@ in % of pixel size
 \begin_inset Text
 
 \begin_layout Standard
-
 95.9 
 \end_layout
 
@@ -5254,7 +5046,6 @@ in % of pixel size
 \begin_inset Text
 
 \begin_layout Standard
-
 92.3
 \end_layout
 
@@ -5273,269 +5064,1042 @@ in % of pixel size
 
 \end_layout
 
-\begin_layout Section
-
-Macros
+\begin_layout Standard
+A table using dcolumn:
 \end_layout
 
 \begin_layout Standard
 
+\begin_inset Float table
+wide false
+sideways false
+status open
 
-\begin_inset ERT
-status collapsed
 
 \begin_layout Standard
 
-LyX
-\end_layout
-
-\end_inset
+\begin_inset Tabular 
+<lyxtabular version="3" rows="4" columns="5">
+<features rotate="0" tabularvalignment="middle" tabularwidth="0pt">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="none" valignment="top" special="d">
+<column alignment="none" valignment="top" special="d">
+<column alignment="none" valignment="top" special="d">
+<row>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
 
- supports several kinds of macros: def 
-\begin_inset FormulaMacro
-\def\macroa #1{a #1 a}
-\end_inset
+\begin_layout Standard
+One
+\end_layout
 
- global def 
-\begin_inset FormulaMacro
-\def\macrob #1{b #1 b}
 \end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
 
- long def 
-\begin_inset FormulaMacro
-\def\macroc #1{c #1 c}
-\end_inset
+\begin_layout Standard
+Two
+\end_layout
 
- global long def 
-\begin_inset FormulaMacro
-\def\macrod #1{d #1 d}
 \end_inset
-
- providecommand 
-\begin_inset ERT
-status collapsed
+</cell>
+<cell multicolumn="1" alignment="none" valignment="top" usebox="none" special="c">
+\begin_inset Text
 
 \begin_layout Standard
 
+\family roman
+Three
+\family default
 
-\backslash
-providecommand{
-\backslash
-macroe}[1]{e #1 e}
 \end_layout
 
 \end_inset
-
- providecommand* 
-\begin_inset ERT
-status collapsed
+</cell>
+<cell multicolumn="1" alignment="none" valignment="top" usebox="none" special="c">
+\begin_inset Text
 
 \begin_layout Standard
 
+\family roman
+Four
+\family default
 
-\backslash
-providecommand*{
-\backslash
-macrof}[1]{f #1 f}
 \end_layout
 
 \end_inset
-
- newcommand 
-\begin_inset FormulaMacro
-\newcommand{\macrog}[1]{g #1 g}
-\end_inset
-
- renewcommand 
-\begin_inset FormulaMacro
-\renewcommand{\macrog}[1]{h #1 h}
-\end_inset
-
- newcommand* 
-\begin_inset ERT
-status collapsed
+</cell>
+<cell multicolumn="1" alignment="none" valignment="top" usebox="none" special="c">
+\begin_inset Text
 
 \begin_layout Standard
 
+\family roman
+Five
+\family default
 
-\backslash
-newcommand*{
-\backslash
-macroi}[1]{i #1 i}
 \end_layout
 
 \end_inset
-
- renewcommand* 
-\begin_inset ERT
-status collapsed
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
 
 \begin_layout Standard
-
-
-\backslash
-renewcommand*{
-\backslash
-macroi}[1]{j #1 j}
+one
 \end_layout
 
 \end_inset
-
- providecommandx 
-\begin_inset ERT
-status collapsed
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
 
 \begin_layout Standard
-
-
-\backslash
-providecommandx{
-\backslash
-macrok}[1]{k #1 k}
+two
 \end_layout
 
 \end_inset
-
- providecommandx* 
-\begin_inset ERT
-status collapsed
+</cell>
+<cell alignment="none" valignment="top" topline="true" usebox="none">
+\begin_inset Text
 
 \begin_layout Standard
 
+\begin_inset Box Frameless
+position "c"
+hor_pos "c"
+has_inner_box 1
+inner_pos "c"
+use_parbox 0
+use_makebox 1
+width ""
+special "none"
+height "1in"
+height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
+status open
 
-\backslash
-providecommandx*{
-\backslash
-macrok}[1]{l #1 l}
+
+\begin_layout Standard
+three
 \end_layout
 
 \end_inset
 
- newcommandx 
-\begin_inset FormulaMacro
-\newcommandx{\macrom}[1]{m #1 m}
-\end_inset
 
- renewcommandx 
-\begin_inset FormulaMacro
-\renewcommandx{\macrom}[1]{n #1 n}
-\end_inset
+\end_layout
 
- newcommandx* 
-\begin_inset ERT
-status collapsed
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" topline="true" usebox="none">
+\begin_inset Text
 
 \begin_layout Standard
 
+\begin_inset Box Frameless
+position "c"
+hor_pos "c"
+has_inner_box 1
+inner_pos "c"
+use_parbox 0
+use_makebox 1
+width ""
+special "none"
+height "1in"
+height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
+status open
 
-\backslash
-newcommandx*{
-\backslash
-macroo}[1]{o #1 o}
+
+\begin_layout Standard
+four
 \end_layout
 
 \end_inset
 
- renewcommandx* 
-\begin_inset ERT
-status collapsed
-
-\begin_layout Standard
-
 
-\backslash
-renewcommandx*{
-\backslash
-macroo}[1]{p #1 p}
 \end_layout
 
 \end_inset
-
- DeclareRobustCommand 
-\begin_inset ERT
-status collapsed
+</cell>
+<cell alignment="none" valignment="top" topline="true" usebox="none">
+\begin_inset Text
 
 \begin_layout Standard
 
+\begin_inset Box Frameless
+position "c"
+hor_pos "c"
+has_inner_box 1
+inner_pos "c"
+use_parbox 0
+use_makebox 1
+width ""
+special "none"
+height "1in"
+height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
+status open
 
-\backslash
-DeclareRobustCommand{
-\backslash
-macroq}[1]{q #1 q}
+
+\begin_layout Standard
+five
 \end_layout
 
 \end_inset
 
- DeclareRobustCommand* 
-\begin_inset ERT
-status collapsed
-
-\begin_layout Standard
-
 
-\backslash
-DeclareRobustCommand*{
-\backslash
-macror}[1]{r #1 r}
 \end_layout
 
 \end_inset
-
- DeclareRobustCommandx 
-\begin_inset ERT
-status collapsed
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
 
 \begin_layout Standard
+He
+\end_layout
 
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
 
-\backslash
-DeclareRobustCommandx{
-\backslash
-macros}[1]{s #1 s}
+\begin_layout Standard
+2
 \end_layout
 
 \end_inset
-
- DeclareRobustCommandx* 
-\begin_inset ERT
-status collapsed
+</cell>
+<cell alignment="none" valignment="top" usebox="none">
+\begin_inset Text
 
 \begin_layout Standard
+2.77234 
+\end_layout
 
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" usebox="none">
+\begin_inset Text
 
-\backslash
-DeclareRobustCommandx*{
-\backslash
-macrot}[1]{t #1 t}
+\begin_layout Standard
+45672. 
 \end_layout
 
 \end_inset
+</cell>
+<cell alignment="none" valignment="top" usebox="none">
+\begin_inset Text
 
-
+\begin_layout Standard
+0.69 
 \end_layout
 
-\begin_layout Standard
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
 
-Now use them all: 
-\begin_inset ERT
+\begin_layout Standard
+C
+\begin_inset Foot
 status collapsed
 
+
 \begin_layout Standard
+Some tables require footnotes.
+\end_layout
 
+\end_inset
 
-\backslash
-macroa
 \end_layout
 
 \end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
 
-
-\begin_inset ERT
+\begin_layout Standard
+C
+\begin_inset Foot
 status collapsed
 
-\begin_layout Standard
 
-{
+\begin_layout Standard
+Some tables need more than one footnote.
+\end_layout
+
+\end_inset
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+12537.64 
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+37.66345 
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+86.37 
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+A table using decimal alignment:
+\end_layout
+
+\begin_layout Standard
+
+\begin_inset Float table
+wide false
+sideways false
+status open
+
+
+\begin_layout Standard
+
+\begin_inset Tabular 
+<lyxtabular version="3" rows="4" columns="8">
+<features rotate="0" tabularvalignment="middle" tabularwidth="0pt">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="right" valignment="top">
+<column alignment="none" valignment="top" special="@{\extracolsep{0pt}.}l">
+<column alignment="right" valignment="top">
+<column alignment="none" valignment="top" special="@{\extracolsep{0pt}.}l">
+<column alignment="right" valignment="top">
+<column alignment="none" valignment="top" special="@{\extracolsep{0pt}.}l">
+<row>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+One 
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+Two 
+\end_layout
+
+\end_inset
+</cell>
+<cell multicolumn="1" alignment="none" valignment="top" usebox="none" special="c">
+\begin_inset Text
+
+\begin_layout Standard
+Three
+\end_layout
+
+\end_inset
+</cell>
+<cell multicolumn="2" alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\end_inset
+</cell>
+<cell multicolumn="1" alignment="none" valignment="top" usebox="none" special="c">
+\begin_inset Text
+
+\begin_layout Standard
+Four
+\end_layout
+
+\end_inset
+</cell>
+<cell multicolumn="2" alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\end_inset
+</cell>
+<cell multicolumn="1" alignment="none" valignment="top" usebox="none" special="c">
+\begin_inset Text
+
+\begin_layout Standard
+Five
+\end_layout
+
+\end_inset
+</cell>
+<cell multicolumn="2" alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+one 
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+two 
+\end_layout
+
+\end_inset
+</cell>
+<cell multicolumn="1" alignment="none" valignment="top" topline="true" usebox="none" special="c">
+\begin_inset Text
+
+\begin_layout Standard
+three
+\end_layout
+
+\end_inset
+</cell>
+<cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\end_inset
+</cell>
+<cell multicolumn="1" alignment="none" valignment="top" topline="true" usebox="none" special="c">
+\begin_inset Text
+
+\begin_layout Standard
+four
+\end_layout
+
+\end_inset
+</cell>
+<cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\end_inset
+</cell>
+<cell multicolumn="1" alignment="none" valignment="top" topline="true" usebox="none" special="c">
+\begin_inset Text
+
+\begin_layout Standard
+five
+\end_layout
+
+\end_inset
+</cell>
+<cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+He 
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+2 
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="right" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+2
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+77234 
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="right" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+45672
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" usebox="none">
+\begin_inset Text
+
+\end_inset
+</cell>
+<cell alignment="right" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+0
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+69 
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+C 
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+C 
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="right" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+12537
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+64 
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="right" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+37
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+66345 
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="right" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+86
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+37 
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Section
+Macros
+\end_layout
+
+\begin_layout Standard
+LyX supports several kinds of macros: def 
+\begin_inset FormulaMacro
+\def\macroa #1{a #1 a}
+\end_inset
+
+ global def 
+\begin_inset FormulaMacro
+\def\macrob #1{b #1 b}
+\end_inset
+
+ long def 
+\begin_inset FormulaMacro
+\def\macroc #1{c #1 c}
+\end_inset
+
+ global long def 
+\begin_inset FormulaMacro
+\def\macrod #1{d #1 d}
+\end_inset
+
+ providecommand 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\backslash
+providecommand{
+\backslash
+macroe}[1]{e #1 e}
+\end_layout
+
+\end_inset
+
+ providecommand* 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\backslash
+providecommand*{
+\backslash
+macrof}[1]{f #1 f}
+\end_layout
+
+\end_inset
+
+ newcommand 
+\begin_inset FormulaMacro
+\newcommand{\macrog}[1]{g #1 g}
+\end_inset
+
+ renewcommand 
+\begin_inset FormulaMacro
+\renewcommand{\macrog}[1]{h #1 h}
+\end_inset
+
+ newcommand* 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\backslash
+newcommand*{
+\backslash
+macroi}[1]{i #1 i}
+\end_layout
+
+\end_inset
+
+ renewcommand* 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\backslash
+renewcommand*{
+\backslash
+macroi}[1]{j #1 j}
+\end_layout
+
+\end_inset
+
+ providecommandx 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\backslash
+providecommandx{
+\backslash
+macrok}[1]{k #1 k}
+\end_layout
+
+\end_inset
+
+ providecommandx* 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\backslash
+providecommandx*{
+\backslash
+macrok}[1]{l #1 l}
+\end_layout
+
+\end_inset
+
+ newcommandx 
+\begin_inset FormulaMacro
+\newcommandx{\macrom}[1]{m #1 m}
+\end_inset
+
+ renewcommandx 
+\begin_inset FormulaMacro
+\renewcommandx{\macrom}[1]{n #1 n}
+\end_inset
+
+ newcommandx* 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\backslash
+newcommandx*{
+\backslash
+macroo}[1]{o #1 o}
+\end_layout
+
+\end_inset
+
+ renewcommandx* 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\backslash
+renewcommandx*{
+\backslash
+macroo}[1]{p #1 p}
+\end_layout
+
+\end_inset
+
+ DeclareRobustCommand 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\backslash
+DeclareRobustCommand{
+\backslash
+macroq}[1]{q #1 q}
+\end_layout
+
+\end_inset
+
+ DeclareRobustCommand* 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\backslash
+DeclareRobustCommand*{
+\backslash
+macror}[1]{r #1 r}
+\end_layout
+
+\end_inset
+
+ DeclareRobustCommandx 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\backslash
+DeclareRobustCommandx{
+\backslash
+macros}[1]{s #1 s}
+\end_layout
+
+\end_inset
+
+ DeclareRobustCommandx* 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\backslash
+DeclareRobustCommandx*{
+\backslash
+macrot}[1]{t #1 t}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+Now use them all: 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\backslash
+macroa
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+{
+\end_layout
+
+\end_inset
+
+x
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+}
+\end_layout
+
+\end_inset
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\backslash
+macrob
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+{
+\end_layout
+
+\end_inset
+
+x
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+}
+\end_layout
+
+\end_inset
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\backslash
+macroc
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+{
+\end_layout
+
+\end_inset
+
+x
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+}
+\end_layout
+
+\end_inset
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\backslash
+macrod
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+{
+\end_layout
+
+\end_inset
+
+x
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+}
+\end_layout
+
+\end_inset
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\backslash
+macroe{
+\end_layout
+
+\end_inset
+
+x
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+}
+\end_layout
+
+\end_inset
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\backslash
+macrof{
+\end_layout
+
+\end_inset
+
+x
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+}
+\end_layout
+
+\end_inset
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\backslash
+macrog{
 \end_layout
 
 \end_inset
@@ -5544,8 +6108,7 @@ x
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 }
 \end_layout
 
@@ -5555,22 +6118,32 @@ status collapsed
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 
 \backslash
-macrob
+macroi{
 \end_layout
 
 \end_inset
 
+x
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+}
+\end_layout
+
+\end_inset
 
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
-{
+\backslash
+macrok{
 \end_layout
 
 \end_inset
@@ -5579,8 +6152,7 @@ x
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 }
 \end_layout
 
@@ -5590,22 +6162,32 @@ status collapsed
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 
 \backslash
-macroc
+macrom{
 \end_layout
 
 \end_inset
 
+x
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+}
+\end_layout
+
+\end_inset
 
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
-{
+\backslash
+macroo{
 \end_layout
 
 \end_inset
@@ -5614,8 +6196,7 @@ x
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 }
 \end_layout
 
@@ -5625,22 +6206,32 @@ status collapsed
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 
 \backslash
-macrod
+macroq{
 \end_layout
 
 \end_inset
 
+x
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+}
+\end_layout
+
+\end_inset
 
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
-{
+\backslash
+macror{
 \end_layout
 
 \end_inset
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 }
 \end_layout
 
 \end_inset
 
+ The following tow don't work, but they should??? 
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
-
+\begin_layout Plain Layout
+%
 \backslash
-macroe{
+macros{x} 
+\backslash
+macrot{x}
 \end_layout
 
 \end_inset
 
-x
-\begin_inset ERT
+
+\end_layout
+
+\begin_layout Section
+Special formattings
+\begin_inset Index idx
 status collapsed
 
+\begin_layout Plain Layout
+Special formattings
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Subsection
+LyX line
+\end_layout
+
+\begin_layout Standard
+test
+\end_layout
+
 \begin_layout Standard
 
-}
+\size tiny
+
 \end_layout
 
+\begin_layout Standard
+\noindent
+
+\size tiny
+
+\begin_inset CommandInset line
+LatexCommand rule
+offset "0.5ex"
+width "100line%"
+height "1pt"
+
 \end_inset
 
+
+\size default
+
+\size tiny
+
+\end_layout
+
+\begin_layout Standard
+test 
+\size giant
+Test
+\size default
  
-\begin_inset ERT
-status collapsed
+\size tiny
+test
+\size default
+ test
+\end_layout
+
+\begin_layout Standard
+\noindent
+
+\begin_inset CommandInset line
+LatexCommand rule
+offset "0.5ex"
+width "100line%"
+height "1pt"
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+test
+\end_layout
+
+\begin_layout Standard
+
+\size giant
+
+\end_layout
+
+\begin_layout Standard
+\noindent
+
+\size giant
+
+\begin_inset CommandInset line
+LatexCommand rule
+offset "0.5ex"
+width "100line%"
+height "1pt"
+
+\end_inset
+
+
+\size default
+
+\size giant
+
+\end_layout
+
+\begin_layout Subsection
+Rules
+\end_layout
+
+\begin_layout Standard
+test
+\end_layout
+
+\begin_layout Standard
+
+\size tiny
+
+\begin_inset CommandInset line
+LatexCommand rule
+offset "0.5ex"
+width "100line%"
+height "1pt"
+
+\end_inset
+
+
+\size default
+
+\size tiny
+
+\end_layout
+
+\begin_layout Standard
+test
+\begin_inset CommandInset line
+LatexCommand rule
+offset "0.1text%"
+width "100col%"
+height "5theight%"
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+test
+\end_layout
+
+\begin_layout Standard
+
+\begin_inset CommandInset line
+LatexCommand rule
+offset "0.5ex"
+width "100col%"
+height "1pt"
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\noindent
+
+\begin_inset CommandInset line
+LatexCommand rule
+width "1ex"
+height "0.5cc"
+
+\end_inset
+
+test
+\end_layout
 
 \begin_layout Standard
 
+\color red
 
-\backslash
-macrof{
-\end_layout
+\begin_inset CommandInset line
+LatexCommand rule
+offset "-4ex"
+width "5in"
+height "1cm"
 
 \end_inset
 
-x
-\begin_inset ERT
-status collapsed
 
-\begin_layout Standard
+\color inherit
 
-}
 \end_layout
 
-\end_inset
-
-\begin_inset ERT
-status collapsed
+\begin_layout Subsection
+Phantoms
+\end_layout
 
 \begin_layout Standard
+test
+\begin_inset Phantom Phantom
+status open
 
-
-\backslash
-macrog{
+\begin_layout Plain Layout
+Wow
 \end_layout
 
 \end_inset
 
-x
-\begin_inset ERT
-status collapsed
+test
+\end_layout
 
 \begin_layout Standard
+test
+\begin_inset Phantom HPhantom
+status open
 
-}
-\end_layout
-
-\end_inset
+\begin_layout Plain Layout
 
-\begin_inset ERT
-status collapsed
+\color green
+W
+\color inherit
 
-\begin_layout Standard
+\series bold
+ow
+\series default
 
+\begin_inset script superscript
 
-\backslash
-macroi{
+\begin_layout Plain Layout
+Wow
 \end_layout
 
 \end_inset
 
-x
-\begin_inset ERT
-status collapsed
-
-\begin_layout Standard
 
-}
 \end_layout
 
 \end_inset
 
-\begin_inset ERT
-status collapsed
+test
+\end_layout
 
 \begin_layout Standard
+test
+\begin_inset Phantom VPhantom
+status open
 
-
+\begin_layout Plain Layout
+Wow
 \backslash
-macrok{
+&%
 \end_layout
 
 \end_inset
 
-x
-\begin_inset ERT
-status collapsed
+test
+\end_layout
 
 \begin_layout Standard
 
-}
-\end_layout
-
+\begin_inset Formula $test\hphantom{Wow}test$
 \end_inset
 
-\begin_inset ERT
-status collapsed
+
+\end_layout
 
 \begin_layout Standard
 
+\begin_inset Formula \[
+test\phantom{\textcolor{green}{W}\mathbf{ow}\textsuperscript{Wow}}test
+\]
+\end_inset
+
 
-\backslash
-macrom{
 \end_layout
 
+\begin_layout Standard
+
+\begin_inset Formula $test\vphantom{Wow\&\%}test$
 \end_inset
 
-x
-\begin_inset ERT
-status collapsed
 
-\begin_layout Standard
+\end_layout
 
-}
+\begin_layout Subsection
+TIPA
 \end_layout
 
-\end_inset
+\begin_layout Standard
 
-\begin_inset ERT
-status collapsed
+\begin_inset IPA
 
 \begin_layout Standard
+e̥ e̊ e̬ e̤ ḛ e̼ e̪ e̺ e̻ e
+\begin_inset script superscript
 
-
-\backslash
-macroo{
+\begin_layout Plain Layout
+h
 \end_layout
 
 \end_inset
 
-x
-\begin_inset ERT
-status collapsed
-
-\begin_layout Standard
+ e̹ e̜ e̟ e̠ (don't mix up with e̱) ë e̽ e̩ e̩ e̯ e˞e
+\begin_inset script superscript
 
-}
+\begin_layout Plain Layout
+w
 \end_layout
 
 \end_inset
 
-\begin_inset ERT
-status collapsed
-
-\begin_layout Standard
-
+ e
+\begin_inset script superscript
 
-\backslash
-macroq{
+\begin_layout Plain Layout
+j
 \end_layout
 
 \end_inset
 
-x
-\begin_inset ERT
-status collapsed
-
-\begin_layout Standard
+ e
+\begin_inset script superscript
 
-}
+\begin_layout Plain Layout
 \end_layout
 
 \end_inset
 
-\begin_inset ERT
-status collapsed
-
-\begin_layout Standard
-
+ e
+\begin_inset script superscript
 
-\backslash
-macror{
+\begin_layout Plain Layout
 \end_layout
 
 \end_inset
 
-x
-\begin_inset ERT
-status collapsed
-
-\begin_layout Standard
+ e̴ e̝ e̞ e̘ e̙ ẽ e
+\begin_inset script superscript
 
-}
+\begin_layout Plain Layout
+n
 \end_layout
 
 \end_inset
 
- The following tow don't work, but they should??? 
-\begin_inset ERT
-status collapsed
-
-\begin_layout Standard
+ e
+\begin_inset script superscript
 
-%
-\backslash
-macros{x} 
-\backslash
-macrot{x}
+\begin_layout Plain Layout
+l
 \end_layout
 
-\begin_layout Standard
+\end_inset
 
+ e˺ e̋
+\end_layout
 
+\begin_layout Standard
+è ē é ȅ ě ê e᷄ e᷅ e᷈ ĕ 
 \end_layout
 
 \end_inset
@@ -5895,164 +6629,205 @@ macrot{x}
 
 \end_layout
 
-\begin_layout Section
+\begin_layout Standard
 
-Special formattings
-\begin_inset Index idx
+\begin_inset IPA
+
+\begin_layout Standard
+pbtd
+\begin_inset ERT
 status collapsed
 
 \begin_layout Plain Layout
 
-Special formattings
+\backslash
+:
 \end_layout
 
 \end_inset
 
+t
+\begin_inset ERT
+status collapsed
 
-\end_layout
+\begin_layout Plain Layout
 
-\begin_layout Subsection
+\backslash
+:
+\end_layout
 
+\end_inset
 
+dcɟkɡq
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
-LyX
+\backslash
+;
 \end_layout
 
 \end_inset
 
- line
+G
 \end_layout
 
-\begin_layout Standard
+\end_inset
 
-test
-\end_layout
+\begin_inset IPA
 
 \begin_layout Standard
+PmMn
+\begin_inset ERT
+status collapsed
 
+\begin_layout Plain Layout
 
-\size tiny
-
+\backslash
+:
 \end_layout
 
-\begin_layout Standard
-\noindent
-
-\size tiny
-
-
-\begin_inset CommandInset line
-LatexCommand rule
-offset "0.5ex"
-width "100line%"
-height "1pt"
-
 \end_inset
 
+nɲN
+\begin_inset ERT
+status collapsed
 
-\size default
-
-\size tiny
+\begin_layout Plain Layout
 
+\backslash
+;
 \end_layout
 
-\begin_layout Standard
-
-test 
-\size giant
-Test
-\size default
-\size tiny
-test
-\size default
- test
-\end_layout
+\end_inset
 
-\begin_layout Standard
-\noindent
+N
+\begin_inset ERT
+status collapsed
 
+\begin_layout Plain Layout
 
-\begin_inset CommandInset line
-LatexCommand rule
-offset "0.5ex"
-width "100line%"
-height "1pt"
+\backslash
+;
+\end_layout
 
 \end_inset
 
+Br
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
 
+\backslash
+;
 \end_layout
 
-\begin_layout Standard
+\end_inset
 
-test
+RR
 \end_layout
 
+\end_inset
+
+\begin_inset IPA
+
 \begin_layout Standard
 
+\begin_inset ERT
+status collapsed
 
-\size giant
+\begin_layout Plain Layout
 
+\backslash
+:
 \end_layout
 
-\begin_layout Standard
-\noindent
+\end_inset
 
-\size giant
+rFBfvTDszSZ
+\begin_inset ERT
+status collapsed
 
+\begin_layout Plain Layout
 
-\begin_inset CommandInset line
-LatexCommand rule
-offset "0.5ex"
-width "100line%"
-height "1pt"
+\backslash
+:
+\end_layout
 
 \end_inset
 
+s
+\end_layout
 
-\size default
+\end_inset
 
-\size giant
+\begin_inset IPA
+
+\begin_layout Standard
 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\backslash
+:
 \end_layout
 
-\begin_layout Subsection
+\end_inset
 
-rules
+zçJxGXKħQhHɬ
 \end_layout
 
+\end_inset
+
+\begin_inset IPA
+
 \begin_layout Standard
+ɮVɹ
+\begin_inset ERT
+status collapsed
 
-test
-\begin_inset CommandInset line
-LatexCommand rule
-offset "0.1text%"
-width "100col%"
-height "5theight%"
+\begin_layout Plain Layout
+
+\backslash
+:
+\end_layout
 
 \end_inset
 
+Rhɰl
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
 
+\backslash
+:
 \end_layout
 
-\begin_layout Standard
+\end_inset
 
-test
-\end_layout
+lL
+\begin_inset ERT
+status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
+\backslash
+;
+\end_layout
 
-\begin_inset CommandInset line
-LatexCommand rule
-offset "0.5ex"
-width "100col%"
-height "1pt"
+\end_inset
+
+L
+\end_layout
 
 \end_inset
 
@@ -6060,80 +6835,68 @@ height "1pt"
 \end_layout
 
 \begin_layout Standard
-\noindent
 
+\begin_inset IPA
 
-\begin_inset CommandInset line
-LatexCommand rule
-width "1ex"
-height "0.5cc"
+\begin_layout Standard
+ʘ|!ǂ||ɓɗʄɠʛe'
+\end_layout
 
 \end_inset
 
-test
+
 \end_layout
 
 \begin_layout Standard
 
+\begin_inset IPA
 
+\begin_layout Standard
+iy1ʉW
 \color red
-
-\begin_inset CommandInset line
-LatexCommand rule
-offset "-4ex"
-width "5in"
-height "1cm"
+uIY
+\color inherit
+Ueø987o@Eœ3ɞ2Oæ5aɶA6
+\end_layout
 
 \end_inset
 
 
-\color inherit
-
 \end_layout
 
-\begin_layout Subsection
+\begin_layout Standard
 
-Phantoms
-\end_layout
+\begin_inset IPA
 
 \begin_layout Standard
-
-test
-\begin_inset Phantom Phantom
-status open
+ʍw4
+\begin_inset ERT
+status collapsed
 
 \begin_layout Plain Layout
 
-Wow
+\backslash
+;
 \end_layout
 
 \end_inset
 
-test
-\end_layout
-
-\begin_layout Standard
-
-test
-\begin_inset Phantom HPhantom
+HʢʡCʑɺɧ
+\begin_inset IPADeco toptiebar
 status open
 
-\begin_layout Plain Layout
-
+\begin_layout Standard
+ar
+\end_layout
 
-\color green
-W
-\color inherit
+\end_inset
 
-\series bold
-ow
-\series default
 
-\begin_inset script superscript
+\begin_inset IPADeco bottomtiebar
+status open
 
 \begin_layout Standard
-
-Wow
+tz
 \end_layout
 
 \end_inset
@@ -6143,31 +6906,37 @@ Wow
 
 \end_inset
 
-test
+
 \end_layout
 
 \begin_layout Standard
 
-test
-\begin_inset Phantom VPhantom
-status open
+\begin_inset IPA
 
-\begin_layout Plain Layout
+\begin_layout Standard
+:;eˈˌ|‖.͡*
+\begin_inset ERT
+status collapsed
 
-Wow
-\backslash
-&%
+\begin_layout Plain Layout
+{
 \end_layout
 
 \end_inset
 
-test
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+}
 \end_layout
 
-\begin_layout Standard
+\end_inset
 
 
-\begin_inset Formula $test\hphantom{Wow}test$
+\end_layout
+
 \end_inset
 
 
@@ -6175,32 +6944,44 @@ test
 
 \begin_layout Standard
 
+\begin_inset IPA
+
+\begin_layout Standard
+˥˦˧˨˩ꜜꜛ\IPAChar \tone{15}
+\IPAChar \tone{51}
+\IPAChar \tone{45}
+\IPAChar \tone{12}
+\IPAChar \tone{454}
+↗↘
+\end_layout
 
-\begin_inset Formula \[
-test\phantom{\textcolor{green}{W}\mathbf{ow}\textsuperscript{Wow}}test
-\]
 \end_inset
 
 
 \end_layout
 
 \begin_layout Standard
-
-
-\begin_inset Formula $test\vphantom{Wow\&\%}test$
+TIPA code in math: 
+\begin_inset Formula $\textipa{\tone{55}|\text{\!b{}\!d{}\!g{}\!G{}\textglobfall{}\textvertline{}\textdoublevertline{}}}$
 \end_inset
 
 
 \end_layout
 
 \begin_layout Subsection
+Other symbols
+\end_layout
+
+\begin_layout Standard
+All three should be converted to U+00C5: Å Å Å (not U+212B). All three should be converted to U+00E5: å å å.
+\end_layout
 
+\begin_layout Subsection
 Line breaks
 \begin_inset Index breaks
 status collapsed
 
 \begin_layout Plain Layout
-
 Line breaks
 \end_layout
 
@@ -6210,7 +6991,6 @@ Line breaks
 \end_layout
 
 \begin_layout Standard
-
 They can also or be broken by a newline
 \begin_inset Newline newline
 \end_inset
@@ -6219,8 +6999,7 @@ They can also or be broken by a newline
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 
 \backslash
 
@@ -6234,8 +7013,7 @@ or by a newline with space, comment and argument
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 
 \backslash
 
@@ -6257,8 +7035,7 @@ or by a defined line break
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 
 \backslash
 linebreak[4]
@@ -6270,24 +7047,11 @@ linebreak[4]
 \end_layout
 
 \begin_layout Standard
-
-There are even newlines with weird arguments, but these are not handled by 
-\begin_inset ERT
-status collapsed
-
-\begin_layout Standard
-
-LyX
-\end_layout
-
-\end_inset
-
-
+There are even newlines with weird arguments, but these are not handled by LyX
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 
 \backslash
 
@@ -6301,13 +7065,11 @@ status collapsed
 \end_layout
 
 \begin_layout Subsection
-
 Page breaks
 \begin_inset Index breaks
 status collapsed
 
 \begin_layout Plain Layout
-
 Page breaks
 \end_layout
 
@@ -6317,7 +7079,6 @@ Page breaks
 \end_layout
 
 \begin_layout Standard
-
 They can also or be broken by a newpage 
 \begin_inset Newpage newpage
 \end_inset
@@ -6330,8 +7091,7 @@ or by a defined page break
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 
 \backslash
 pagebreak[4]
@@ -6343,13 +7103,11 @@ pagebreak[4]
 \end_layout
 
 \begin_layout Section
-
 Special characters
 \begin_inset Index idx
 status collapsed
 
 \begin_layout Plain Layout
-
 Special characters
 \end_layout
 
@@ -6359,152 +7117,104 @@ Special characters
 \end_layout
 
 \begin_layout Standard
-
 Then one has those macros with a long name for a short meaning, like ~, ^ or 
 \backslash
-, \SpecialChar \slash{}
-, \SpecialChar \nobreakdash-
- and the characters that 
-\begin_inset ERT
-status collapsed
-
-\begin_layout Standard
-
-LaTeX
-\end_layout
-
-\end_inset
-
- wants to espace because they are active, like _&#${}%.
+, \SpecialChar breakableslash
+, \SpecialChar nobreakdash
+ and the characters that LaTeX wants to espace because they are active, like _&#${}%.
 \end_layout
 
 \begin_layout Standard
-
-And what about special characters like hyphe\SpecialChar \-
-nation mark, ellipsis\SpecialChar \ldots{}
-, and end-of-sentence\SpecialChar \@.
-\begin_inset ERT
-status collapsed
-
-\begin_layout Standard
-
-LyX
-\end_layout
-
-\end_inset
-
- also supports a menu separator\SpecialChar \menuseparator
-and a spif\SpecialChar \textcompwordmark{}
+And what about special characters like hyphe\SpecialChar softhyphen
+nation mark, ellipsis\SpecialChar ldots
+, and end-of-sentence\SpecialChar endofsentence
+ LyX also supports a menu separator\SpecialChar menuseparator
+and a spif\SpecialChar ligaturebreak
 fy ligature break.
 \end_layout
 
-\begin_layout Standard
-
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Standard
-
-LyX
-\end_layout
-
-\end_inset
-
- translates the phrases 
-\begin_inset ERT
-status collapsed
-
-\begin_layout Standard
-
-LyX
-\end_layout
-
-\end_inset
-
-, 
+\begin_layout Standard
+There are dashes: endash in short form – and long form –, emdash is alike: — and —. If we really want several hyphens in a row, we need to separate them: -
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
-TeX
+\begin_layout Plain Layout
+{}
 \end_layout
 
 \end_inset
 
-, 
+-, -
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
-LaTeX
+\begin_layout Plain Layout
+{}
 \end_layout
 
 \end_inset
 
-2e and 
+-
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
-LaTeX
+\begin_layout Plain Layout
+{}
 \end_layout
 
 \end_inset
 
- to the commands LyX, TeX, LaTeX2e and LaTeX. If these phrases occur as part of other words (like 1
+-, -
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
-LyX
+\begin_layout Plain Layout
+{}
 \end_layout
 
 \end_inset
 
- or a
+-
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
-TeX
+\begin_layout Plain Layout
+{}
 \end_layout
 
 \end_inset
 
- or 
+-
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
-LaTeX
+\begin_layout Plain Layout
+{}
 \end_layout
 
 \end_inset
 
-3) they should not be put into ERT.
+- etc.
 \end_layout
 
 \begin_layout Standard
+LyX translates the phrases LyX, TeX, LaTeX2e and LaTeX to the commands \SpecialChar LyX
+, \SpecialChar TeX
+, \SpecialChar LaTeX2e
+ and \SpecialChar LaTeX
+. If these phrases occur as part of other words (like 1LyX or aTeX or LaTeX3) they should not be put into ERT.
+\end_layout
 
+\begin_layout Standard
 Test for whitespace handling of commands: The following lines should result in identical output:
 \end_layout
 
 \begin_layout Standard
-
 builtin ^ unicodesymbols ȷ user 
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 
 \backslash
 mycommand
@@ -6516,8 +7226,7 @@ mycommand
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 {}
 \end_layout
 
@@ -6527,13 +7236,11 @@ status collapsed
 \end_layout
 
 \begin_layout Standard
-
 builtin ^ unicodesymbols ȷ user 
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 
 \backslash
 mycommand
@@ -6545,8 +7252,7 @@ mycommand
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 {}
 \end_layout
 
@@ -6556,13 +7262,11 @@ status collapsed
 \end_layout
 
 \begin_layout Standard
-
 builtin ^ unicodesymbols ȷ user 
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 
 \backslash
 mycommand
@@ -6574,13 +7278,11 @@ mycommand
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 % and another
 \end_layout
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 
 \end_layout
 
@@ -6590,8 +7292,7 @@ status collapsed
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 {}
 \end_layout
 
@@ -6601,12 +7302,10 @@ status collapsed
 \end_layout
 
 \begin_layout Standard
-
 A sub
 \begin_inset script subscript
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 sc
 \emph on
 ript
@@ -6619,8 +7318,7 @@ ript
  and super
 \begin_inset script superscript
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 script with 
 \begin_inset Formula $a^2+b^2=c^2$
 \end_inset
@@ -6633,14 +7331,20 @@ script with
 .
 \end_layout
 
-\begin_layout Section
+\begin_layout Standard
+latex2writer outputs quotes in braces like 
+\begin_inset Quotes ers
+\end_inset
+
+. We swallow the, but this was one broken (bug 8903).
+\end_layout
 
+\begin_layout Section
 Mathematics
 \begin_inset Index idx
 status collapsed
 
 \begin_layout Plain Layout
-
 Mathematics
 \end_layout
 
@@ -6650,7 +7354,6 @@ Mathematics
 \end_layout
 
 \begin_layout Standard
-
 Let 
 \begin_inset Formula $f:\left[  a,b\right]  \rightarrow%TCIMACRO{\U{211d} }%
 %BeginExpansion
 
 \begin_layout Standard
 
+\begin_inset Formula \[
+\begin{array}{rclccc}
+1 + 2 & = & 3 
+\multicolumn{3}{c}{4 < 5 \leq 6 }
+\end{array}
+\]
+\end_inset
+
+
+\end_layout
+
+\begin_layout Section
+Lists/Indices
+\end_layout
+
+\begin_layout Standard
+single 
+\backslash
+addcontentsline: 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\backslash
+addcontentsline{toc}{section}{test}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+with 
+\backslash
+addcontentsline and 
+\backslash
+phantomsection:
+\end_layout
+
+\begin_layout Standard
+\begin_inset CommandInset bibtex
+LatexCommand bibtex
+bibfiles "xampl"
+options "bibtotoc,test"
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+normal:
+\end_layout
+
+\begin_layout Standard
+\begin_inset CommandInset bibtex
+LatexCommand bibtex
+bibfiles "xampl"
+options "test"
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+with wrong 
+\backslash
+addcontentsline:
+\end_layout
+
+\begin_layout Standard
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\backslash
+bibliographystyle{test}
+\end_layout
+
+\end_inset
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\backslash
+addcontentsline{toc}{section}{test}
+\end_layout
+
+\end_inset
+
+  
+\begin_inset CommandInset bibtex
+LatexCommand bibtex
+bibfiles "xampl"
+options "test"
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+with 
+\backslash
+addcontentsline and 
+\backslash
+nocite{*}:
+\end_layout
+
+\begin_layout Standard
+  
+\begin_inset CommandInset bibtex
+LatexCommand bibtex
+btprint "btPrintAll"
+bibfiles "xampl"
+options "bibtotoc,test"
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+undefined index:
+\end_layout
+
+\begin_layout Standard
+
+\begin_inset CommandInset index_print
+LatexCommand printindex
+type "idx"
+literal "true"
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+index "idx":
+\end_layout
+
+\begin_layout Standard
+
+\begin_inset CommandInset index_print
+LatexCommand printindex
+type "idx"
+literal "true"
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+index "new":
+\end_layout
+
+\begin_layout Standard
 
 \begin_inset CommandInset index_print
 LatexCommand printindex
+type "new"
+literal "true"
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+subindex "new":
+\end_layout
+
+\begin_layout Standard
+
+\begin_inset CommandInset index_print
+LatexCommand printsubindex
 type "idx"
+literal "true"
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+index of all indices:
+\end_layout
+
+\begin_layout Standard
+
+\begin_inset CommandInset index_print
+LatexCommand printindex*
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+subindex of all indices:
+\end_layout
+
+\begin_layout Standard
+
+\begin_inset CommandInset index_print
+LatexCommand printsubindex*
 
 \end_inset
 
@@ -6675,7 +7592,10 @@ type "idx"
 \end_layout
 
 \begin_layout Standard
+normal nomenclature:
+\end_layout
 
+\begin_layout Standard
 
 \begin_inset CommandInset nomencl_print
 LatexCommand printnomenclature
@@ -6687,13 +7607,11 @@ hello
 \end_layout
 
 \begin_layout Standard
-
-
+manually set width: 
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 
 \backslash
 settowidth{
@@ -6714,7 +7632,10 @@ set_width "none"
 \end_layout
 
 \begin_layout Standard
+nomenclature with set width:
+\end_layout
 
+\begin_layout Standard
 
 \begin_inset CommandInset nomencl_print
 LatexCommand printnomenclature