]> git.lyx.org Git - lyx.git/blobdiff - src/tex2lyx/test/test-insets.lyx.lyx
Correctly set language after intitle paragraphs
[lyx.git] / src / tex2lyx / test / test-insets.lyx.lyx
index a854dacbac4a05dbefcf174f93f6f9c6b30fe7f4..871a22827d7ba2b30cde383adfe31970453dc607 100644 (file)
@@ -1,10 +1,18 @@
-#LyX file created by tex2lyx 2.1.0svn
-\lyxformat 433
+#LyX file created by tex2lyx 2.4
+\lyxformat 589
 \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_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_roman_osf false
+\font_sans_osf false
+\font_typewriter_osf false
+\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
 \index_command default
 \paperfontsize 12
 \spacing onehalf
-\use_hyperref 0
-\papersize a4paper
+\use_hyperref true
+\pdf_bookmarks 0
+\pdf_bookmarksnumbered 0
+\pdf_bookmarksopen 0
+\pdf_bookmarksopenlevel 1
+\pdf_breaklinks 0
+\pdf_pdfborder 0
+\pdf_colorlinks 0
+\pdf_backref section
+\pdf_pdfusetitle 0
+\papersize a4
 \use_geometry false
 \use_package amsmath 2
-\use_package amssymb 0
+\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
+\use_lineno false
+\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
 
@@ -94,13 +132,11 @@ status collapsed
 \end_layout
 
 \begin_layout Date
-
 two days ago
 \end_layout
 
 \begin_layout Standard
 
-
 \begin_inset CommandInset toc
 LatexCommand tableofcontents
 
@@ -117,18 +153,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
 
@@ -138,7 +171,6 @@ References
 \end_layout
 
 \begin_layout Standard
-
 Let's start with simple things: a label
 \begin_inset space ~
 
@@ -160,6 +192,9 @@ name "lab:test"
 \begin_inset CommandInset ref
 LatexCommand ref
 reference "lab:test"
+plural "false"
+caps "false"
+noprefix "false"
 
 \end_inset
 
@@ -175,7 +210,6 @@ unbreakable space
 \end_layout
 
 \begin_layout Standard
-
 Of course there are other kind of references, like page reference
 \begin_inset space ~
 
@@ -185,6 +219,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
 
@@ -197,6 +234,9 @@ reference "lab:test"
 \begin_inset CommandInset ref
 LatexCommand eqref
 reference "lab:test"
+plural "false"
+caps "false"
+noprefix "false"
 
 \end_inset
 
@@ -209,6 +249,9 @@ reference "lab:test"
 \begin_inset CommandInset ref
 LatexCommand vref
 reference "lab:test"
+plural "false"
+caps "false"
+noprefix "false"
 
 \end_inset
 
@@ -221,6 +264,9 @@ reference "lab:test"
 \begin_inset CommandInset ref
 LatexCommand vpageref
 reference "lab:test"
+plural "false"
+caps "false"
+noprefix "false"
 
 \end_inset
 
@@ -233,20 +279,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
 
@@ -256,7 +350,6 @@ Cites
 \end_layout
 
 \begin_layout Standard
-
 Let's start with simple things: a 
 \backslash
 cite: 
@@ -265,6 +358,7 @@ LatexCommand citep
 after "after"
 before ""
 key "article-crossref"
+literal "false"
 
 \end_inset
 
@@ -276,6 +370,7 @@ LatexCommand citep
 after "after"
 before ""
 key "whole-set,article-crossref"
+literal "false"
 
 \end_inset
 
@@ -283,13 +378,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
@@ -297,6 +390,7 @@ LatexCommand citet
 after "after"
 before "before"
 key "article-crossref"
+literal "false"
 
 \end_inset
 
@@ -308,6 +402,7 @@ LatexCommand citet*
 after "after"
 before "before"
 key "article-crossref"
+literal "false"
 
 \end_inset
 
@@ -319,6 +414,7 @@ LatexCommand Citet
 after "after"
 before "before"
 key "article-crossref"
+literal "false"
 
 \end_inset
 
@@ -330,6 +426,7 @@ LatexCommand Citet*
 after "after"
 before "before"
 key "article-crossref"
+literal "false"
 
 \end_inset
 
@@ -338,7 +435,6 @@ key "article-crossref"
 
 \begin_layout Standard
 
-
 \backslash
 citep: 
 \begin_inset CommandInset citation
@@ -346,6 +442,7 @@ LatexCommand citep
 after "after"
 before "before"
 key "article-crossref"
+literal "false"
 
 \end_inset
 
@@ -357,6 +454,7 @@ LatexCommand citep*
 after "after"
 before "before"
 key "article-crossref"
+literal "false"
 
 \end_inset
 
@@ -368,6 +466,7 @@ LatexCommand Citep
 after "after"
 before "before"
 key "article-crossref"
+literal "false"
 
 \end_inset
 
@@ -379,6 +478,7 @@ LatexCommand Citep*
 after "after"
 before "before"
 key "article-crossref"
+literal "false"
 
 \end_inset
 
@@ -387,7 +487,6 @@ key "article-crossref"
 
 \begin_layout Standard
 
-
 \backslash
 citealt: 
 \begin_inset CommandInset citation
@@ -395,6 +494,7 @@ LatexCommand citealt
 after "after"
 before "before"
 key "article-crossref"
+literal "false"
 
 \end_inset
 
@@ -406,6 +506,7 @@ LatexCommand citealt*
 after "after"
 before "before"
 key "article-crossref"
+literal "false"
 
 \end_inset
 
@@ -417,6 +518,7 @@ LatexCommand Citealt
 after "after"
 before "before"
 key "article-crossref"
+literal "false"
 
 \end_inset
 
@@ -428,6 +530,7 @@ LatexCommand Citealt*
 after "after"
 before "before"
 key "article-crossref"
+literal "false"
 
 \end_inset
 
@@ -436,7 +539,6 @@ key "article-crossref"
 
 \begin_layout Standard
 
-
 \backslash
 citealp: 
 \begin_inset CommandInset citation
@@ -444,6 +546,7 @@ LatexCommand citealp
 after "after"
 before "before"
 key "article-crossref"
+literal "false"
 
 \end_inset
 
@@ -455,6 +558,7 @@ LatexCommand citealp*
 after "after"
 before "before"
 key "article-crossref"
+literal "false"
 
 \end_inset
 
@@ -466,6 +570,7 @@ LatexCommand Citep
 after "after"
 before "before"
 key "article-crossref"
+literal "false"
 
 \end_inset
 
@@ -477,6 +582,7 @@ LatexCommand Citealp*
 after "after"
 before "before"
 key "article-crossref"
+literal "false"
 
 \end_inset
 
@@ -485,7 +591,6 @@ key "article-crossref"
 
 \begin_layout Standard
 
-
 \backslash
 citeauthor: 
 \begin_inset CommandInset citation
@@ -493,6 +598,7 @@ LatexCommand citeauthor
 after "after"
 before "before"
 key "article-crossref"
+literal "false"
 
 \end_inset
 
@@ -504,6 +610,7 @@ LatexCommand citeauthor*
 after "after"
 before "before"
 key "article-crossref"
+literal "false"
 
 \end_inset
 
@@ -515,6 +622,7 @@ LatexCommand Citeauthor
 after "after"
 before "before"
 key "article-crossref"
+literal "false"
 
 \end_inset
 
@@ -526,6 +634,7 @@ LatexCommand Citeauthor*
 after "after"
 before "before"
 key "article-crossref"
+literal "false"
 
 \end_inset
 
@@ -534,7 +643,6 @@ key "article-crossref"
 
 \begin_layout Standard
 
-
 \backslash
 citeyear: 
 \begin_inset CommandInset citation
@@ -542,6 +650,7 @@ LatexCommand citeyear
 after "after"
 before "before"
 key "article-crossref"
+literal "false"
 
 \end_inset
 
@@ -550,7 +659,6 @@ key "article-crossref"
 
 \begin_layout Standard
 
-
 \backslash
 citeyearpar: 
 \begin_inset CommandInset citation
@@ -558,6 +666,7 @@ LatexCommand citeyearpar
 after "after"
 before "before"
 key "article-crossref"
+literal "false"
 
 \end_inset
 
@@ -566,13 +675,13 @@ key "article-crossref"
 
 \begin_layout Standard
 
-
 \backslash
 nocite: 
 \begin_inset CommandInset citation
 LatexCommand nocite
 after ""
 key "article-crossref"
+literal "false"
 
 \end_inset
 
@@ -581,19 +690,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
 
@@ -603,15 +709,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
 
@@ -621,25 +725,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{*}:   
@@ -655,13 +752,13 @@ options "unsrt"
 \end_layout
 
 \begin_layout Standard
-
 From bug 7306: 
 \begin_inset CommandInset citation
 LatexCommand citet
 after ""
 before ""
 key "gur+04"
+literal "false"
 
 \end_inset
 
@@ -670,11 +767,34 @@ key "gur+04"
 
 \begin_layout Bibliography
 
+\begin_inset CommandInset bibitem
+LatexCommand bibitem
+label "Möstl et~al.(2010)"
+key "Mostl2010"
+literal "false"
+
+\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 "false"
 
 \end_inset
 
@@ -692,13 +812,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
 
@@ -708,36 +826,57 @@ 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"
+literal "false"
 
 \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"
+literal "false"
 
 \end_inset
 
  
-\begin_inset ERT
-status collapsed
+\begin_inset CommandInset include
+LatexCommand include
+preview false
+filename "Dummy Document.tex"
+literal "false"
 
-\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"
+literal "false"
 
-\begin_layout Standard
+\end_inset
+
+\begin_inset CommandInset include
+LatexCommand include
+preview false
+filename "Dummy~Document.lyx.lyx"
+literal "false"
 
+\end_inset
 
-\end_layout
+ 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"
+literal "false"
 
 \end_inset
 
@@ -745,16 +884,14 @@ 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
+       filename ../../../lib/examples/Graphics_and_Insets/iecc05.fen
 
 \end_inset
 
@@ -762,16 +899,14 @@ 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
+       filename ../../../lib/examples/External_Material/longsheet.gnumeric
 
 \end_inset
 
@@ -779,16 +914,29 @@ Spreadsheets:
 \end_layout
 
 \begin_layout Standard
+XFig drawings:
+\end_layout
+
+\begin_layout Standard
+
+\begin_inset External
+       template XFig
+       filename xfigtest.fig
+
+\end_inset
+
 
-and PDF pages:
 \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
+       filename ../../../lib/examples/Presentations/beamer-icsi-logo.pdf
        extra LaTeX "pages=-"
        rotateAngle 22
        rotateOrigin baselineleft
@@ -802,7 +950,6 @@ and PDF pages:
 \end_layout
 
 \begin_layout Standard
-
 If you prefer verbatim input, you can choose between
 \begin_inset space ~
 
@@ -813,6 +960,7 @@ If you prefer verbatim input, you can choose between
 LatexCommand verbatiminput
 preview false
 filename "foo"
+literal "false"
 
 \end_inset
 
@@ -826,6 +974,7 @@ filename "foo"
 LatexCommand verbatiminput*
 preview false
 filename "foo"
+literal "false"
 
 \end_inset
 
@@ -833,13 +982,11 @@ filename "foo"
 \end_layout
 
 \begin_layout Section
-
 URLs and Hyperlinks
 \begin_inset Index idx
 status collapsed
 
 \begin_layout Plain Layout
-
 URL
 \end_layout
 
@@ -851,6 +998,7 @@ LatexCommand nomenclature
 prefix "www"
 symbol "URL"
 description "uniform resource locator"
+literal "false"
 
 \end_inset
 
@@ -858,13 +1006,11 @@ description "uniform resource locator"
 \end_layout
 
 \begin_layout Standard
-
 An URL: 
-\begin_inset Flex Flex:URL
+\begin_inset Flex URL
 status collapsed
 
 \begin_layout Plain Layout
-
 http://www.lyx.org
 \end_layout
 
@@ -875,6 +1021,7 @@ http://www.lyx.org
 LatexCommand nomenclature
 symbol "URL2"
 description "uniform resource locator"
+literal "false"
 
 \end_inset
 
@@ -882,11 +1029,25 @@ description "uniform resource locator"
 \end_layout
 
 \begin_layout Standard
+An URL with strange characters: 
+\begin_inset 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 "false"
 
 \end_inset
 
@@ -894,11 +1055,11 @@ target "www.test.test"
 \end_layout
 
 \begin_layout Standard
-
 link2:
 \begin_inset CommandInset href
 LatexCommand href
 target "http://www.test.test"
+literal "false"
 
 \end_inset
 
@@ -906,13 +1067,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 "false"
 
 \end_inset
 
@@ -920,12 +1081,12 @@ type "mailto:"
 \end_layout
 
 \begin_layout Standard
-
 file:
 \begin_inset CommandInset href
 LatexCommand href
 target "www.test.test"
 type "file:"
+literal "false"
 
 \end_inset
 
@@ -933,11 +1094,11 @@ type "file:"
 \end_layout
 
 \begin_layout Standard
-
 ftp:
 \begin_inset CommandInset href
 LatexCommand href
 target "ftp://www.test.test"
+literal "false"
 
 \end_inset
 
@@ -945,12 +1106,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 "false"
 
 \end_inset
 
@@ -958,26 +1119,37 @@ 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 "false"
 
 \end_inset
 
 
 \end_layout
 
-\begin_layout Section
+\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 "false"
+
+\end_inset
+
+
+\end_layout
 
+\begin_layout Section
 Lists
 \begin_inset Index idx
 status collapsed
 
 \begin_layout Plain Layout
-
 Lists
 \end_layout
 
@@ -988,7 +1160,6 @@ Lists
 
 \begin_layout Standard
 
-
 \begin_inset FloatList figure
 
 \end_inset
@@ -1002,20 +1173,17 @@ Lists
 \end_layout
 
 \begin_layout Section
-
 Listings
 \end_layout
 
 \begin_layout Standard
-
 Inline: 
 \begin_inset listings
-lstparams "language={C++}"
+lstparams "language={C++},keywordstyle={\color{green}}"
 inline true
-status collapsed
+status open
 
 \begin_layout Plain Layout
-
 int a=5;
 \end_layout
 
@@ -1030,29 +1198,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
+status open
 
 \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
 
@@ -1062,7 +1225,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
@@ -1120,54 +1282,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
+status open
 
 \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
 
@@ -1177,15 +1329,13 @@ 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"
 inline false
-status collapsed
+status open
 
 \begin_layout Plain Layout
-
 hello
 \end_layout
 
@@ -1196,15 +1346,13 @@ hello
 
 \begin_layout Standard
 
-
 \begin_inset listings
 lstparams "language=TeX"
 inline true
-status collapsed
+status open
 
 \begin_layout Plain Layout
 
-
 \backslash
 begin{centering} hello
 \end_layout
@@ -1215,13 +1363,11 @@ begin{centering} hello
 \end_layout
 
 \begin_layout Section
-
 Graphics
 \begin_inset Index idx
 status collapsed
 
 \begin_layout Plain Layout
-
 Graphics
 \end_layout
 
@@ -1231,7 +1377,6 @@ Graphics
 \end_layout
 
 \begin_layout Standard
-
 There is also some basic support for graphics, in the form 
 \begin_inset Graphics 
        filename foo.eps
@@ -1242,9 +1387,9 @@ There is also some basic support for graphics, in the form
 \begin_inset Graphics 
        filename foo.eps
        width 1cm
-       height 1cm
        clip
        BoundingBox 10bp 0bp 96bp 96bp
+       special height=1cm
 
 \end_inset
 
@@ -1252,13 +1397,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
 
@@ -1268,15 +1411,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
@@ -1292,8 +1433,7 @@ textsf
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 
 \backslash
 let
@@ -1309,8 +1449,7 @@ textsf
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 
 \backslash
 let
@@ -1326,8 +1465,7 @@ texttt
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 
 \backslash
 providecommand{
@@ -1344,10 +1482,9 @@ clearpage}
 
 \begin_layout Standard
 
-
 \begin_inset Tabular 
-<lyxtabular version="3" rows="64" columns="2">
-<features rotate="0" islongtable="true">
+<lyxtabular version="3" rows="66" columns="2">
+<features islongtable="true" tabularwidth="0pt">
 <column alignment="none" valignment="top" special="@{*}r">
 <column alignment="none" valignment="top" special="|p{1in}@{*}">
 <row endfirsthead="true">
@@ -1355,7 +1492,6 @@ clearpage}
 \begin_inset Text
 
 \begin_layout Standard
-
 KILLED 
 \end_layout
 
@@ -1365,13 +1501,11 @@ KILLED
 \begin_inset Text
 
 \begin_layout Standard
-
 LINE!!!! 
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 
 \backslash
 kill
@@ -1380,16 +1514,15 @@ kill
 \end_inset
 
  
-\begin_inset Caption
-
-\begin_layout Standard
+\begin_inset Caption Standard
 
+\begin_layout Plain Layout
 
-\begin_inset Argument
+\begin_inset Argument 1
 status collapsed
 
-\begin_layout Standard
 
+\begin_layout Standard
 An optional table caption (used in the list of tables)
 \end_layout
 
@@ -1418,7 +1551,6 @@ name "long"
 \begin_inset Text
 
 \begin_layout Standard
-
 This part appears at the top of the table
 \end_layout
 
@@ -1436,7 +1568,6 @@ This part appears at the top of the table
 
 \begin_layout Standard
 
-
 \shape smallcaps
 First
 \shape default
@@ -1450,7 +1581,6 @@ First
 
 \begin_layout Standard
 
-
 \shape smallcaps
 Second
 \shape default
@@ -1466,15 +1596,14 @@ Second
 
 \begin_layout Standard
 
+\begin_inset Caption Standard
 
-\begin_inset Caption
-
-\begin_layout Standard
-
+\begin_layout Plain Layout
 
-\begin_inset Argument
+\begin_inset Argument 1
 status collapsed
 
+
 \end_inset
 
 (continued)
@@ -1498,7 +1627,6 @@ status collapsed
 \begin_inset Text
 
 \begin_layout Standard
-
 This part appears at the top of every other page
 \end_layout
 
@@ -1516,7 +1644,6 @@ This part appears at the top of every other page
 
 \begin_layout Standard
 
-
 \series bold
 First
 \series default
@@ -1530,7 +1657,6 @@ First
 
 \begin_layout Standard
 
-
 \series bold
 Second
 \series default
@@ -1540,25 +1666,73 @@ 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
+
+
 \end_layout
 
 \end_inset
 </cell>
-<cell alignment="none" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+<cell multicolumn="2" alignment="none" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\end_inset
+</cell>
+</row>
+<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>
@@ -1567,7 +1741,6 @@ bottom.
 \begin_inset Text
 
 \begin_layout Standard
-
 These lines will
 \end_layout
 
@@ -1577,7 +1750,6 @@ These lines will
 \begin_inset Text
 
 \begin_layout Standard
-
 appear
 \end_layout
 
@@ -1589,7 +1761,6 @@ appear
 \begin_inset Text
 
 \begin_layout Standard
-
 in place of the 
 \end_layout
 
@@ -1599,7 +1770,6 @@ in place of the
 \begin_inset Text
 
 \begin_layout Standard
-
 usual foot
 \end_layout
 
@@ -1611,7 +1781,6 @@ usual foot
 \begin_inset Text
 
 \begin_layout Standard
-
 at the end
 \end_layout
 
@@ -1621,7 +1790,6 @@ at the end
 \begin_inset Text
 
 \begin_layout Standard
-
 of the table
 \end_layout
 
@@ -1634,12 +1802,10 @@ of the table
 
 \begin_layout Standard
 
-
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 
 \backslash
 env
@@ -1651,8 +1817,7 @@ env
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 {
 \end_layout
 
@@ -1662,8 +1827,7 @@ longtable
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 }
 \end_layout
 
@@ -1678,7 +1842,6 @@ status collapsed
 \begin_inset Text
 
 \begin_layout Standard
-
 in the 
 \end_layout
 
@@ -1690,13 +1853,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
@@ -1708,8 +1869,7 @@ env
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 {
 \end_layout
 
@@ -1719,8 +1879,7 @@ tabular
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 }
 \end_layout
 
@@ -1735,7 +1894,6 @@ status collapsed
 \begin_inset Text
 
 \begin_layout Standard
-
 environment.
 \end_layout
 
@@ -1748,12 +1906,10 @@ environment.
 
 \begin_layout Standard
 
-
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 
 \backslash
 code
@@ -1765,8 +1921,7 @@ code
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 {
 \end_layout
 
@@ -1776,8 +1931,7 @@ status collapsed
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 }
 \end_layout
 
@@ -1792,7 +1946,6 @@ status collapsed
 \begin_inset Text
 
 \begin_layout Standard
-
 in this case.
 \end_layout
 
@@ -1804,7 +1957,6 @@ in this case.
 \begin_inset Text
 
 \begin_layout Standard
-
 Each row ends with a
 \end_layout
 
@@ -1815,12 +1967,10 @@ Each row ends with a
 
 \begin_layout Standard
 
-
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 
 \backslash
 code
@@ -1832,8 +1982,7 @@ code
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 {
 \end_layout
 
@@ -1847,8 +1996,7 @@ status collapsed
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 }
 \end_layout
 
@@ -1865,13 +2013,11 @@ status collapsed
 \begin_inset Text
 
 \begin_layout Standard
-
 The 
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 
 \backslash
 code
@@ -1883,8 +2029,7 @@ code
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 {
 \end_layout
 
@@ -1898,8 +2043,7 @@ status collapsed
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 }
 \end_layout
 
@@ -1914,7 +2058,6 @@ status collapsed
 \begin_inset Text
 
 \begin_layout Standard
-
 optional
 \end_layout
 
@@ -1926,7 +2069,6 @@ optional
 \begin_inset Text
 
 \begin_layout Standard
-
 argument, just as in
 \end_layout
 
@@ -1936,7 +2078,6 @@ argument, just as in
 \begin_inset Text
 
 \begin_layout Standard
-
 the
 \end_layout
 
@@ -1949,12 +2090,10 @@ the
 
 \begin_layout Standard
 
-
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 
 \backslash
 env
@@ -1966,8 +2105,7 @@ env
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 {
 \end_layout
 
@@ -1977,8 +2115,7 @@ tabular
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 }
 \end_layout
 
@@ -1993,7 +2130,6 @@ status collapsed
 \begin_inset Text
 
 \begin_layout Standard
-
 environment.
 \end_layout
 
@@ -2005,13 +2141,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
@@ -2023,8 +2157,7 @@ code
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 {
 \end_layout
 
@@ -2038,8 +2171,7 @@ status collapsed
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 }
 \end_layout
 
@@ -2054,7 +2186,6 @@ status collapsed
 \begin_inset Text
 
 \begin_layout Standard
-
 ?
 \end_layout
 
@@ -2066,7 +2197,6 @@ status collapsed
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -2076,7 +2206,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -2088,7 +2217,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -2098,7 +2226,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -2110,7 +2237,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -2120,7 +2246,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -2132,7 +2257,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -2142,7 +2266,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -2154,13 +2277,11 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Also 
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 
 \backslash
 code
@@ -2172,8 +2293,7 @@ code
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 {
 \end_layout
 
@@ -2185,8 +2305,7 @@ hline
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 }
 \end_layout
 
@@ -2201,13 +2320,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
@@ -2219,8 +2336,7 @@ env
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 {
 \end_layout
 
@@ -2230,8 +2346,7 @@ tabular
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 }
 \end_layout
 
@@ -2248,13 +2363,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
@@ -2266,8 +2379,7 @@ code
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 {
 \end_layout
 
@@ -2279,8 +2391,7 @@ hline
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 }
 \end_layout
 
@@ -2295,7 +2406,6 @@ status collapsed
 \begin_inset Text
 
 \begin_layout Standard
-
 .
 \end_layout
 
@@ -2307,13 +2417,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
@@ -2325,8 +2433,7 @@ code
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 {
 \end_layout
 
@@ -2340,8 +2447,7 @@ hline
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 }
 \end_layout
 
@@ -2356,7 +2462,6 @@ status collapsed
 \begin_inset Text
 
 \begin_layout Standard
-
 .
 \end_layout
 
@@ -2368,13 +2473,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
@@ -2386,8 +2489,7 @@ code
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 {
 \end_layout
 
@@ -2399,8 +2501,7 @@ multicolumn{2}{||c||}
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 }
 \end_layout
 
@@ -2422,13 +2523,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
@@ -2440,8 +2539,7 @@ code
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 {
 \end_layout
 
@@ -2453,8 +2551,7 @@ hline
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 }
 \end_layout
 
@@ -2469,7 +2566,6 @@ status collapsed
 \begin_inset Text
 
 \begin_layout Standard
-
 a line is drawn
 \end_layout
 
@@ -2481,7 +2577,6 @@ a line is drawn
 \begin_inset Text
 
 \begin_layout Standard
-
 at the bottom of one page and at the
 \end_layout
 
@@ -2491,7 +2586,6 @@ at the bottom of one page and at the
 \begin_inset Text
 
 \begin_layout Standard
-
 top of the next.
 \end_layout
 
@@ -2503,13 +2597,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
@@ -2521,8 +2613,7 @@ code
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 {
 \end_layout
 
@@ -2532,8 +2623,7 @@ status collapsed
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 }
 \end_layout
 
@@ -2543,8 +2633,7 @@ status collapsed
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 
 \backslash
 env
@@ -2556,8 +2645,7 @@ env
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 {
 \end_layout
 
@@ -2567,8 +2655,7 @@ tabular
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 }
 \end_layout
 
@@ -2583,7 +2670,6 @@ status collapsed
 \begin_inset Text
 
 \begin_layout Standard
-
 can not be used.
 \end_layout
 
@@ -2595,7 +2681,6 @@ can not be used.
 \begin_inset Text
 
 \begin_layout Standard
-
 The optional argument may be one of
 \end_layout
 
@@ -2606,12 +2691,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
@@ -2623,8 +2706,7 @@ code
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 {
 \end_layout
 
@@ -2634,8 +2716,7 @@ status collapsed
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 }
 \end_layout
 
@@ -2652,7 +2733,6 @@ status collapsed
 \begin_inset Text
 
 \begin_layout Standard
-
 to specify whether the table should be
 \end_layout
 
@@ -2662,7 +2742,6 @@ to specify whether the table should be
 \begin_inset Text
 
 \begin_layout Standard
-
 adjusted
 \end_layout
 
@@ -2674,7 +2753,6 @@ adjusted
 \begin_inset Text
 
 \begin_layout Standard
-
 to the left, right
 \end_layout
 
@@ -2684,7 +2762,6 @@ to the left, right
 \begin_inset Text
 
 \begin_layout Standard
-
 or centrally.
 \end_layout
 
@@ -2696,7 +2773,6 @@ or centrally.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -2706,7 +2782,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -2718,7 +2793,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -2728,7 +2802,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -2740,7 +2813,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -2750,7 +2822,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -2762,7 +2833,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -2772,7 +2842,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -2784,7 +2853,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -2794,7 +2862,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -2806,7 +2873,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -2816,7 +2882,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -2828,7 +2893,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -2838,7 +2902,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -2850,7 +2913,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -2860,7 +2922,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -2872,7 +2933,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -2882,7 +2942,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -2894,7 +2953,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -2904,7 +2962,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -2916,7 +2973,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -2926,7 +2982,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -2938,7 +2993,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -2948,7 +3002,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -2960,7 +3013,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -2970,7 +3022,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -2982,7 +3033,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -2992,7 +3042,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -3004,7 +3053,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -3014,7 +3062,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -3026,7 +3073,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -3036,7 +3082,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -3048,7 +3093,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -3058,7 +3102,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -3070,7 +3113,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -3080,7 +3122,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -3092,7 +3133,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -3102,7 +3142,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -3114,7 +3153,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -3124,7 +3162,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -3136,7 +3173,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Some lines may take up a lot of space, like this: 
 \end_layout
 
@@ -3147,12 +3183,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
@@ -3176,7 +3210,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
@@ -3185,8 +3220,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
@@ -3198,8 +3232,7 @@ code
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 {
 \end_layout
 
@@ -3211,8 +3244,7 @@ hline
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 }
 \end_layout
 
@@ -3229,7 +3261,6 @@ status collapsed
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -3239,7 +3270,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -3251,7 +3281,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -3261,7 +3290,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -3273,7 +3301,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -3283,7 +3310,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -3295,7 +3321,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -3305,7 +3330,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -3317,7 +3341,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -3327,7 +3350,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -3339,7 +3361,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -3349,7 +3370,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -3361,7 +3381,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -3371,7 +3390,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -3383,14 +3401,12 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots
 \begin_inset Foot
 status collapsed
 
 
 \begin_layout Standard
-
 This is a footnote.
 \end_layout
 
@@ -3405,7 +3421,6 @@ This is a footnote.
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -3417,7 +3432,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -3427,7 +3441,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this
 \begin_inset Foot
 status collapsed
@@ -3435,12 +3448,10 @@ status collapsed
 
 \begin_layout Standard
 
-
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 
 \backslash
 env
@@ -3452,8 +3463,7 @@ env
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 {
 \end_layout
 
@@ -3463,8 +3473,7 @@ longtable
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 }
 \end_layout
 
@@ -3486,7 +3495,6 @@ status collapsed
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -3496,7 +3504,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -3508,7 +3515,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -3518,7 +3524,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this. 
 \end_layout
 
@@ -3533,22 +3538,10 @@ 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">
+<features islongtable="true" lastFootEmpty="true" tabularwidth="0pt">
 <column alignment="left" valignment="top">
 <column alignment="left" valignment="top">
 <row endfirsthead="true" caption="true">
@@ -3557,11 +3550,9 @@ LyX
 
 \begin_layout Standard
 
+\begin_inset Caption Standard
 
-\begin_inset Caption
-
-\begin_layout Standard
-
+\begin_layout Plain Layout
 A long table
 \end_layout
 
@@ -3584,12 +3575,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
@@ -3611,12 +3600,10 @@ A long table -- continued
 
 \begin_layout Standard
 
-
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 {
 \end_layout
 
@@ -3626,8 +3613,7 @@ Continued on next page
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 }
 \end_layout
 
@@ -3649,7 +3635,6 @@ status collapsed
 \begin_inset Text
 
 \begin_layout Standard
-
 Something
 \end_layout
 
@@ -3659,7 +3644,6 @@ Something
 \begin_inset Text
 
 \begin_layout Standard
-
 Description
 \end_layout
 
@@ -3671,7 +3655,6 @@ Description
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -3681,7 +3664,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -3693,7 +3675,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -3703,7 +3684,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -3715,7 +3695,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -3725,7 +3704,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -3737,7 +3715,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -3747,7 +3724,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -3759,7 +3735,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -3769,7 +3744,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -3781,7 +3755,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -3791,7 +3764,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -3803,7 +3775,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -3813,7 +3784,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -3825,7 +3795,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -3835,7 +3804,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -3847,7 +3815,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -3857,7 +3824,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -3869,7 +3835,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -3879,7 +3844,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -3891,7 +3855,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -3901,7 +3864,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -3913,7 +3875,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -3923,7 +3884,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -3935,7 +3895,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -3945,7 +3904,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -3957,7 +3915,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -3967,7 +3924,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -3979,7 +3935,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -3989,7 +3944,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -4001,7 +3955,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -4011,7 +3964,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -4023,7 +3975,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -4033,7 +3984,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -4045,7 +3995,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -4055,7 +4004,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -4067,7 +4015,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -4077,7 +4024,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -4089,7 +4035,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -4099,7 +4044,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -4111,7 +4055,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -4121,7 +4064,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -4133,7 +4075,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -4143,7 +4084,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -4155,7 +4095,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -4165,7 +4104,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -4177,7 +4115,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -4187,7 +4124,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -4199,7 +4135,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -4209,7 +4144,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -4221,7 +4155,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -4231,7 +4164,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -4243,7 +4175,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -4253,7 +4184,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -4265,7 +4195,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -4275,7 +4204,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -4287,7 +4215,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -4297,7 +4224,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -4309,7 +4235,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -4319,7 +4244,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -4331,7 +4255,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -4341,7 +4264,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -4353,7 +4275,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -4363,7 +4284,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -4375,7 +4295,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -4385,7 +4304,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -4397,7 +4315,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -4407,7 +4324,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -4419,7 +4335,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -4429,7 +4344,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -4441,7 +4355,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -4451,7 +4364,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -4463,7 +4375,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -4473,7 +4384,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -4485,7 +4395,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -4495,7 +4404,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -4507,7 +4415,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -4517,7 +4424,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -4529,7 +4435,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -4539,7 +4444,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -4551,7 +4455,6 @@ like this.
 \begin_inset Text
 
 \begin_layout Standard
-
 Lots of lines
 \end_layout
 
@@ -4561,7 +4464,6 @@ Lots of lines
 \begin_inset Text
 
 \begin_layout Standard
-
 like this.
 \end_layout
 
@@ -4576,23 +4478,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
 
@@ -4601,7 +4499,7 @@ status collapsed
 
 \begin_inset Tabular 
 <lyxtabular version="3" rows="2" columns="2">
-<features rotate="0" tabularvalignment="bottom" tabularwidth="80col%">
+<features tabularvalignment="bottom" tabularwidth="80col%">
 <column alignment="left" valignment="top">
 <column alignment="right" valignment="top">
 <row>
@@ -4609,7 +4507,6 @@ status collapsed
 \begin_inset Text
 
 \begin_layout Standard
-
 two
 \end_layout
 
@@ -4626,7 +4523,6 @@ two
 \begin_inset Text
 
 \begin_layout Standard
-
 lonely
 \end_layout
 
@@ -4636,7 +4532,6 @@ lonely
 \begin_inset Text
 
 \begin_layout Standard
-
 lines
 \end_layout
 
@@ -4651,13 +4546,11 @@ lines
 \end_layout
 
 \begin_layout Standard
-
 A booktabs table:
 \end_layout
 
 \begin_layout Standard
 
-
 \begin_inset Float table
 placement h
 wide false
@@ -4667,11 +4560,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
@@ -4689,12 +4580,10 @@ Special booktabs-table
 
 \begin_layout Standard
 
-
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 
 \backslash
 centering
@@ -4706,8 +4595,7 @@ centering
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 {}
 \end_layout
 
@@ -4716,7 +4604,7 @@ status collapsed
 
 \begin_inset Tabular 
 <lyxtabular version="3" rows="8" columns="4">
-<features rotate="0" booktabs="true" tabularvalignment="middle" tabularwidth="0pt">
+<features booktabs="true" tabularvalignment="middle" tabularwidth="0pt">
 <column alignment="center" valignment="top">
 <column alignment="center" valignment="top">
 <column alignment="center" valignment="top">
@@ -4726,7 +4614,6 @@ status collapsed
 \begin_inset Text
 
 \begin_layout Standard
-
 System 
 \end_layout
 
@@ -4736,7 +4623,6 @@ System
 \begin_inset Text
 
 \begin_layout Standard
-
 Chip
 \begin_inset space \thinspace{}
 
@@ -4751,7 +4637,6 @@ Chip
 \begin_inset Text
 
 \begin_layout Standard
-
 Chip
 \begin_inset space \thinspace{}
 
@@ -4769,159 +4654,81 @@ Chip
 </cell>
 </row>
 <row>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" usebox="none">
 \begin_inset Text
 
 \begin_layout Standard
 
-
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 
 \backslash
-cmidrule
+morecmidrules
 \end_layout
 
 \end_inset
 
-(r)
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
-{
+\backslash
+cmidrule
 \end_layout
 
 \end_inset
 
-2-2
+
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
-}
+\begin_layout Plain Layout
+{
 \end_layout
 
 \end_inset
 
-
+2-4
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
-
-\backslash
-cmidrule
+\begin_layout Plain Layout
+}
 \end_layout
 
 \end_inset
 
-(l)
-\begin_inset ERT
-status collapsed
-
-\begin_layout Standard
-
-{
+Detector thickness in µm 
 \end_layout
 
 \end_inset
-
-3-4
-\begin_inset ERT
-status collapsed
+</cell>
+<cell alignment="center" valignment="top" topline="true" toplinertrim="true" usebox="none">
+\begin_inset Text
 
 \begin_layout Standard
-
-}
-\end_layout
-
-\end_inset
-
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Standard
-
-
-\backslash
-morecmidrules
-\end_layout
-
-\end_inset
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Standard
-
-
-\backslash
-cmidrule
-\end_layout
-
-\end_inset
-
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Standard
-
-{
-\end_layout
-
-\end_inset
-
-2-4
-\begin_inset ERT
-status collapsed
-
-\begin_layout Standard
-
-}
-\end_layout
-
-\end_inset
-
-Detector thickness in µm 
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" usebox="none">
-\begin_inset Text
-
-\begin_layout Standard
-
-300 
+300 
 \end_layout
 
 \end_inset
 </cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" toplineltrim="true" usebox="none">
 \begin_inset Text
 
 \begin_layout Standard
-
 300 
 \end_layout
 
 \end_inset
 </cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" usebox="none">
 \begin_inset Text
 
 \begin_layout Standard
-
 700
 \end_layout
 
@@ -4933,7 +4740,6 @@ Detector thickness in µm
 \begin_inset Text
 
 \begin_layout Standard
-
 Edge angle in ° 
 \end_layout
 
@@ -4943,7 +4749,6 @@ Edge angle in °
 \begin_inset Text
 
 \begin_layout Standard
-
 3.55 
 \end_layout
 
@@ -4953,7 +4758,6 @@ Edge angle in °
 \begin_inset Text
 
 \begin_layout Standard
-
 2.71 
 \end_layout
 
@@ -4963,7 +4767,6 @@ Edge angle in °
 \begin_inset Text
 
 \begin_layout Standard
-
 7.99
 \end_layout
 
@@ -4975,7 +4778,6 @@ Edge angle in °
 \begin_inset Text
 
 \begin_layout Standard
-
 Spatial resolution in µm 
 \end_layout
 
@@ -4985,7 +4787,6 @@ Spatial resolution in µm
 \begin_inset Text
 
 \begin_layout Standard
-
 4.26 
 \end_layout
 
@@ -4995,7 +4796,6 @@ Spatial resolution in µm
 \begin_inset Text
 
 \begin_layout Standard
-
 10.17 
 \end_layout
 
@@ -5005,7 +4805,6 @@ Spatial resolution in µm
 \begin_inset Text
 
 \begin_layout Standard
-
 10.56
 \end_layout
 
@@ -5017,7 +4816,6 @@ Spatial resolution in µm
 \begin_inset Text
 
 \begin_layout Standard
-
 MTF at 
 \begin_inset Formula $f_{\mathrm{max}}$
 \end_inset
@@ -5031,7 +4829,6 @@ MTF at
 \begin_inset Text
 
 \begin_layout Standard
-
 0.53 
 \end_layout
 
@@ -5041,7 +4838,6 @@ MTF at
 \begin_inset Text
 
 \begin_layout Standard
-
 0.37 
 \end_layout
 
@@ -5051,7 +4847,6 @@ MTF at
 \begin_inset Text
 
 \begin_layout Standard
-
 0.39
 \end_layout
 
@@ -5064,12 +4859,10 @@ MTF at
 
 \begin_layout Standard
 
-
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 
 \backslash
 morecmidrules
@@ -5081,8 +4874,7 @@ morecmidrules
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 
 \backslash
 cmidrule
@@ -5094,8 +4886,7 @@ cmidrule
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 {
 \end_layout
 
@@ -5105,8 +4896,7 @@ status collapsed
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 }
 \end_layout
 
@@ -5138,7 +4928,6 @@ LSF-spatial resolution
 \begin_inset Text
 
 \begin_layout Standard
-
 in µm 
 \end_layout
 
@@ -5148,7 +4937,6 @@ in µm
 \begin_inset Text
 
 \begin_layout Standard
-
 129.7 
 \end_layout
 
@@ -5158,7 +4946,6 @@ in µm
 \begin_inset Text
 
 \begin_layout Standard
-
 52.75 
 \end_layout
 
@@ -5168,7 +4955,6 @@ in µm
 \begin_inset Text
 
 \begin_layout Standard
-
 50.78
 \end_layout
 
@@ -5180,7 +4966,6 @@ in µm
 \begin_inset Text
 
 \begin_layout Standard
-
 in % of pixel size 
 \end_layout
 
@@ -5190,7 +4975,6 @@ in % of pixel size
 \begin_inset Text
 
 \begin_layout Standard
-
 76.3 
 \end_layout
 
@@ -5200,7 +4984,6 @@ in % of pixel size
 \begin_inset Text
 
 \begin_layout Standard
-
 95.9 
 \end_layout
 
@@ -5210,7 +4993,6 @@ in % of pixel size
 \begin_inset Text
 
 \begin_layout Standard
-
 92.3
 \end_layout
 
@@ -5229,619 +5011,1759 @@ 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
+\begin_inset Tabular 
+<lyxtabular version="3" rows="4" columns="5">
+<features 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
+
+\begin_layout Standard
+One
 \end_layout
 
 \end_inset
+</cell>
+<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
+Two
+\end_layout
 
- global def 
-\begin_inset FormulaMacro
-\def\macrob #1{b #1 b}
 \end_inset
+</cell>
+<cell multicolumn="1" alignment="none" valignment="top" usebox="none" special="c">
+\begin_inset Text
 
- long def 
-\begin_inset FormulaMacro
-\def\macroc #1{c #1 c}
-\end_inset
+\begin_layout Standard
 
- global long def 
-\begin_inset FormulaMacro
-\def\macrod #1{d #1 d}
-\end_inset
+\family roman
+Three
+\family default
 
- providecommand 
-\begin_inset ERT
-status collapsed
+\end_layout
+
+\end_inset
+</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
-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
+Five
+\family default
 
-\backslash
-providecommand*{
-\backslash
-macrof}[1]{f #1 f}
 \end_layout
 
 \end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
 
- newcommand 
-\begin_inset FormulaMacro
-\newcommand{\macrog}[1]{g #1 g}
-\end_inset
+\begin_layout Standard
+one
+\end_layout
 
- renewcommand 
-\begin_inset FormulaMacro
-\renewcommand{\macrog}[1]{h #1 h}
 \end_inset
-
- newcommand* 
-\begin_inset ERT
-status collapsed
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
 
 \begin_layout Standard
-
-
-\backslash
-newcommand*{
-\backslash
-macroi}[1]{i #1 i}
+two
 \end_layout
 
 \end_inset
-
- renewcommand* 
-\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
-renewcommand*{
-\backslash
-macroi}[1]{j #1 j}
+
+\begin_layout Standard
+three
 \end_layout
 
 \end_inset
 
- providecommandx 
-\begin_inset ERT
-status collapsed
-
-\begin_layout Standard
-
 
-\backslash
-providecommandx{
-\backslash
-macrok}[1]{k #1 k}
 \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
+four
 \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
+five
 \end_layout
 
 \end_inset
 
- renewcommandx* 
-\begin_inset ERT
-status collapsed
 
-\begin_layout Standard
+\end_layout
+
+\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="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
+
+\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
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+C
+\begin_inset Foot
+status collapsed
+
+
+\begin_layout Standard
+Some tables require footnotes.
+\end_layout
+
+\end_inset
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+C
+\begin_inset Foot
+status collapsed
+
+
+\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="5">
+<features tabularvalignment="middle" tabularwidth="0pt">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="decimal" decimal_point="." valignment="top">
+<column alignment="decimal" decimal_point="." valignment="top">
+<column alignment="decimal" decimal_point="." valignment="top">
+<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 alignment="none" valignment="top" usebox="none" special="c">
+\begin_inset Text
+
+\begin_layout Standard
+Three
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" usebox="none" special="c">
+\begin_inset Text
+
+\begin_layout Standard
+Four
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" usebox="none" special="c">
+\begin_inset Text
+
+\begin_layout Standard
+Five
+\end_layout
+
+\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 alignment="none" valignment="top" topline="true" usebox="none" special="c">
+\begin_inset Text
+
+\begin_layout Standard
+three
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" topline="true" usebox="none" special="c">
+\begin_inset Text
+
+\begin_layout Standard
+four
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" topline="true" usebox="none" special="c">
+\begin_inset Text
+
+\begin_layout Standard
+five
+\end_layout
+
+\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="decimal" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+2.77234 
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="decimal" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+45672.
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="decimal" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+0.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="decimal" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+12537.64 
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="decimal" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+37.66345 
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="decimal" 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 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
+
+x
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+}
+\end_layout
+
+\end_inset
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\backslash
+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 Plain Layout
+
+\backslash
+macrok{
+\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
+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 Plain Layout
+
+\backslash
+macroo{
+\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
+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 Plain Layout
+
+\backslash
+macror{
+\end_layout
+
+\end_inset
+
+x
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+}
+\end_layout
+
+\end_inset
+
+ The following tow don't work, but they should??? 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+%
+\backslash
+macros{x} 
+\backslash
+macrot{x}
+\end_layout
+
+\end_inset
+
+
+\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
+\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
 
-\backslash
-renewcommandx*{
-\backslash
-macroo}[1]{p #1 p}
 \end_layout
 
-\end_inset
+\begin_layout Subsection
+Rules
+\end_layout
 
- DeclareRobustCommand 
-\begin_inset ERT
-status collapsed
+\begin_layout Standard
+test
+\end_layout
 
 \begin_layout Standard
 
+\size tiny
 
-\backslash
-DeclareRobustCommand{
-\backslash
-macroq}[1]{q #1 q}
-\end_layout
+\begin_inset CommandInset line
+LatexCommand rule
+offset "0.5ex"
+width "100line%"
+height "1pt"
 
 \end_inset
 
- DeclareRobustCommand* 
-\begin_inset ERT
-status collapsed
 
-\begin_layout Standard
+\size default
 
+\size tiny
 
-\backslash
-DeclareRobustCommand*{
-\backslash
-macror}[1]{r #1 r}
 \end_layout
 
+\begin_layout Standard
+test
+\begin_inset CommandInset line
+LatexCommand rule
+offset "0.1text%"
+width "100col%"
+height "5theight%"
+
 \end_inset
 
- DeclareRobustCommandx 
-\begin_inset ERT
-status collapsed
+
+\end_layout
 
 \begin_layout Standard
+test
+\end_layout
 
+\begin_layout Standard
 
-\backslash
-DeclareRobustCommandx{
-\backslash
-macros}[1]{s #1 s}
-\end_layout
+\begin_inset CommandInset line
+LatexCommand rule
+offset "0.5ex"
+width "100col%"
+height "1pt"
 
 \end_inset
 
- DeclareRobustCommandx* 
-\begin_inset ERT
-status collapsed
+
+\end_layout
 
 \begin_layout Standard
+\noindent
+
+\begin_inset CommandInset line
+LatexCommand rule
+width "1ex"
+height "0.5cc"
 
+\end_inset
 
-\backslash
-DeclareRobustCommandx*{
-\backslash
-macrot}[1]{t #1 t}
+test
 \end_layout
 
+\begin_layout Standard
+
+\color red
+
+\begin_inset CommandInset line
+LatexCommand rule
+offset "-4ex"
+width "5in"
+height "1cm"
+
 \end_inset
 
 
+\color inherit
+
+\end_layout
+
+\begin_layout Subsection
+Phantoms
 \end_layout
 
 \begin_layout Standard
+test
+\begin_inset Phantom Phantom
+status open
 
-Now use them all: 
-\begin_inset ERT
-status collapsed
+\begin_layout Plain Layout
+Wow
+\end_layout
+
+\end_inset
+
+test
+\end_layout
 
 \begin_layout Standard
+test
+\begin_inset Phantom HPhantom
+status open
 
+\begin_layout Plain Layout
 
-\backslash
-macroa
-\end_layout
+\color green
+W
+\color inherit
 
-\end_inset
+\series bold
+ow
+\series default
 
+\begin_inset script superscript
 
-\begin_inset ERT
-status collapsed
+\begin_layout Plain Layout
+Wow
+\end_layout
+
+\end_inset
 
-\begin_layout Standard
 
-{
 \end_layout
 
 \end_inset
 
-x
-\begin_inset ERT
-status collapsed
+test
+\end_layout
 
 \begin_layout Standard
+test
+\begin_inset Phantom VPhantom
+status open
 
-}
+\begin_layout Plain Layout
+Wow
+\backslash
+&%
 \end_layout
 
 \end_inset
 
-\begin_inset ERT
-status collapsed
+test
+\end_layout
 
 \begin_layout Standard
 
+\begin_inset Formula $test\hphantom{Wow}test$
+\end_inset
+
 
-\backslash
-macrob
 \end_layout
 
+\begin_layout Standard
+
+\begin_inset Formula \[
+test\phantom{\textcolor{green}{W}\mathbf{ow}\textsuperscript{Wow}}test
+\]
 \end_inset
 
 
-\begin_inset ERT
-status collapsed
+\end_layout
 
 \begin_layout Standard
 
-{
+\begin_inset Formula $test\vphantom{Wow\&\%}test$
+\end_inset
+
+
 \end_layout
 
-\end_inset
+\begin_layout Subsection
+TIPA
+\end_layout
 
-x
-\begin_inset ERT
-status collapsed
+\begin_layout Standard
+
+\begin_inset IPA
 
 \begin_layout Standard
+e̥ e̊ e̬ e̤ ḛ e̼ e̪ e̺ e̻ e
+\begin_inset script superscript
 
-}
+\begin_layout Plain Layout
+h
 \end_layout
 
 \end_inset
 
-\begin_inset ERT
-status collapsed
+ e̹ e̜ e̟ e̠ (don't mix up with e̱) ë e̽ e̩ e̩ e̯ e˞e
+\begin_inset script superscript
 
-\begin_layout Standard
+\begin_layout Plain Layout
+w
+\end_layout
 
+\end_inset
 
-\backslash
-macroc
+ e
+\begin_inset script superscript
+
+\begin_layout Plain Layout
+j
 \end_layout
 
 \end_inset
 
+ e
+\begin_inset script superscript
 
-\begin_inset ERT
-status collapsed
+\begin_layout Plain Layout
+\end_layout
 
-\begin_layout Standard
+\end_inset
 
-{
+ e
+\begin_inset script superscript
+
+\begin_layout Plain Layout
 \end_layout
 
 \end_inset
 
-x
-\begin_inset ERT
-status collapsed
+ e̴ e̝ e̞ e̘ e̙ ẽ e
+\begin_inset script superscript
 
-\begin_layout Standard
+\begin_layout Plain Layout
+n
+\end_layout
 
-}
+\end_inset
+
+ e
+\begin_inset script superscript
+
+\begin_layout Plain Layout
+l
 \end_layout
 
 \end_inset
 
-\begin_inset ERT
-status collapsed
+ e˺ e̋
+\end_layout
 
 \begin_layout Standard
+è ē é ȅ ě ê e᷄ e᷅ e᷈ ĕ 
+\end_layout
+
+\end_inset
 
 
-\backslash
-macrod
 \end_layout
 
-\end_inset
+\begin_layout Standard
 
+\begin_inset IPA
 
+\begin_layout Standard
+pbtd
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
-{
+\backslash
+:
 \end_layout
 
 \end_inset
 
-x
+t
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
-}
+\backslash
+:
 \end_layout
 
 \end_inset
 
+dcɟkɡq
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 
 \backslash
-macroe{
+;
 \end_layout
 
 \end_inset
 
-x
-\begin_inset ERT
-status collapsed
-
-\begin_layout Standard
-
-}
+G
 \end_layout
 
 \end_inset
 
  
-\begin_inset ERT
-status collapsed
+\begin_inset IPA
 
 \begin_layout Standard
+PmMn
+\begin_inset ERT
+status collapsed
 
+\begin_layout Plain Layout
 
 \backslash
-macrof{
+:
 \end_layout
 
 \end_inset
 
-x
+nɲN
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
-}
+\backslash
+;
 \end_layout
 
 \end_inset
 
+N
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 
 \backslash
-macrog{
+;
 \end_layout
 
 \end_inset
 
-x
+Br
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
-}
+\backslash
+;
+\end_layout
+
+\end_inset
+
+RR
 \end_layout
 
 \end_inset
 
  
-\begin_inset ERT
-status collapsed
+\begin_inset IPA
 
 \begin_layout Standard
 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
 
 \backslash
-macroi{
+:
 \end_layout
 
 \end_inset
 
-x
+rFBfvTDszSZ
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
-}
+\backslash
+:
+\end_layout
+
+\end_inset
+
+s
 \end_layout
 
 \end_inset
 
  
-\begin_inset ERT
-status collapsed
+\begin_inset IPA
 
 \begin_layout Standard
 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
 
 \backslash
-macrok{
+:
 \end_layout
 
 \end_inset
 
-x
-\begin_inset ERT
-status collapsed
-
-\begin_layout Standard
-
-}
+zçJxGXKħQhHɬ
 \end_layout
 
 \end_inset
 
  
-\begin_inset ERT
-status collapsed
+\begin_inset IPA
 
 \begin_layout Standard
+ɮVɹ
+\begin_inset ERT
+status collapsed
 
+\begin_layout Plain Layout
 
 \backslash
-macrom{
+:
 \end_layout
 
 \end_inset
 
-x
+Rhɰl
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
-}
+\backslash
+:
 \end_layout
 
 \end_inset
 
+lL
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 
 \backslash
-macroo{
+;
 \end_layout
 
 \end_inset
 
-x
-\begin_inset ERT
-status collapsed
-
-\begin_layout Standard
-
-}
+L
 \end_layout
 
 \end_inset
 
-\begin_inset ERT
-status collapsed
+
+\end_layout
 
 \begin_layout Standard
 
+\begin_inset IPA
 
-\backslash
-macroq{
+\begin_layout Standard
+ʘ|!ǂ||ɓɗʄɠʛe'
 \end_layout
 
 \end_inset
 
-x
-\begin_inset ERT
-status collapsed
+
+\end_layout
 
 \begin_layout Standard
 
-}
+\begin_inset IPA
+
+\begin_layout Standard
+iy1ʉW
+\color red
+uIY
+\color inherit
+Ueø987o@Eœ3ɞ2Oæ5aɶA6
 \end_layout
 
 \end_inset
 
-\begin_inset ERT
-status collapsed
+
+\end_layout
 
 \begin_layout Standard
 
+\begin_inset IPA
+
+\begin_layout Standard
+ʍw4
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
 
 \backslash
-macror{
+;
 \end_layout
 
 \end_inset
 
-x
-\begin_inset ERT
-status collapsed
+HʢʡCʑɺɧ
+\begin_inset IPADeco toptiebar
+status open
 
 \begin_layout Standard
-
-}
+ar
 \end_layout
 
 \end_inset
 
- The following tow don't work, but they should??? 
-\begin_inset ERT
-status collapsed
 
-\begin_layout Standard
+\begin_inset IPADeco bottomtiebar
+status open
 
-%
-\backslash
-macros{x} 
-\backslash
-macrot{x}
+\begin_layout Standard
+tz
 \end_layout
 
-\begin_layout Standard
+\end_inset
 
 
 \end_layout
@@ -5851,15 +6773,17 @@ macrot{x}
 
 \end_layout
 
-\begin_layout Section
+\begin_layout Standard
 
-Special formattings
-\begin_inset Index idx
-status collapsed
+\begin_inset IPA
 
-\begin_layout Plain Layout
+\begin_layout Standard
+:;eˈˌ|‖.
+\begin_inset IPADeco bottomtiebar
+status open
 
-Special formattings
+\begin_layout Standard
 \end_layout
 
 \end_inset
@@ -5867,148 +6791,185 @@ Special formattings
 
 \end_layout
 
-\begin_layout Subsection
+\end_inset
 
 
-\begin_inset ERT
-status collapsed
+\end_layout
 
 \begin_layout Standard
 
-LyX
+\begin_inset IPA
+
+\begin_layout Standard
+˥˦˧˨˩ꜜꜛ\IPAChar \tone{15}
+\IPAChar \tone{51}
+\IPAChar \tone{45}
+\IPAChar \tone{12}
+\IPAChar \tone{454}
+↗↘
 \end_layout
 
 \end_inset
 
- line
-\end_layout
-
-\begin_layout Standard
 
-test
 \end_layout
 
 \begin_layout Standard
+TIPA code in math: 
+\begin_inset Formula $\textipa{\tone{55}|\text{\!b{}\!d{}\!g{}\!G{}\textglobfall{}\textvertline{}\textdoublevertline{}}}$
+\end_inset
 
 
-\size tiny
+\end_layout
 
+\begin_layout Subsection
+Other symbols
 \end_layout
 
 \begin_layout Standard
-\noindent
-
-\size tiny
+All three should be converted to U+00C5: 
+\begin_inset ERT
+status collapsed
 
+\begin_layout Plain Layout
 
-\begin_inset CommandInset line
-LatexCommand rule
-offset "0.5ex"
-width "100line%"
-height "1pt"
+\backslash
+AA
+\end_layout
 
 \end_inset
 
 
-\size default
-
-\size tiny
+\begin_inset ERT
+status collapsed
 
+\begin_layout Plain Layout
+{}
 \end_layout
 
-\begin_layout Standard
+\end_inset
 
-test 
-\size giant
-Test
-\size default
-\size tiny
-test
-\size default
- test
+ Å Å (not U+212B). All three should be converted to U+00E5: 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\backslash
+aa
 \end_layout
 
-\begin_layout Standard
-\noindent
+\end_inset
 
 
-\begin_inset CommandInset line
-LatexCommand rule
-offset "0.5ex"
-width "100line%"
-height "1pt"
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+{}
+\end_layout
 
 \end_inset
 
+ å å.
+\end_layout
+
+\begin_layout Subsection
+Line breaks
+\begin_inset Index breaks
+status collapsed
 
+\begin_layout Plain Layout
+Line breaks
 \end_layout
 
-\begin_layout Standard
+\end_inset
+
 
-test
 \end_layout
 
 \begin_layout Standard
+They can also or be broken by a newline
+\begin_inset Newline newline
+\end_inset
+
+ or by a starred newline 
+\begin_inset ERT
+status collapsed
 
+\begin_layout Plain Layout
 
-\size giant
+\backslash
 
+\backslash
+*
 \end_layout
 
-\begin_layout Standard
-\noindent
+\end_inset
 
-\size giant
+or by a newline with space, comment and argument 
+\begin_inset ERT
+status collapsed
 
+\begin_layout Plain Layout
 
-\begin_inset CommandInset line
-LatexCommand rule
-offset "0.5ex"
-width "100line%"
-height "1pt"
+\backslash
+
+\backslash
+[3cm]
+\end_layout
 
 \end_inset
 
+ or by a newline command 
+\begin_inset Newline newline
+\end_inset
 
-\size default
+or by a line break 
+\begin_inset Newline linebreak
+\end_inset
 
-\size giant
+or by a defined line break 
+\begin_inset ERT
+status collapsed
 
+\begin_layout Plain Layout
+
+\backslash
+linebreak[4]
 \end_layout
 
-\begin_layout Subsection
+\end_inset
+
 
-rules
 \end_layout
 
 \begin_layout Standard
+There are even newlines with weird arguments, but these are not handled by LyX
+\begin_inset ERT
+status collapsed
 
-test
-\begin_inset CommandInset line
-LatexCommand rule
-offset "0.1text%"
-width "100col%"
-height "5theight%"
-
-\end_inset
+\begin_layout Plain Layout
 
+\backslash
 
+\backslash
+*[1cm]
 \end_layout
 
-\begin_layout Standard
+\end_inset
 
-test
+ so we try to use ERT in this case.
 \end_layout
 
-\begin_layout Standard
-
+\begin_layout Subsection
+Page breaks
+\begin_inset Index breaks
+status collapsed
 
-\begin_inset CommandInset line
-LatexCommand rule
-offset "0.5ex"
-width "100col%"
-height "1pt"
+\begin_layout Plain Layout
+Page breaks
+\end_layout
 
 \end_inset
 
@@ -6016,255 +6977,273 @@ height "1pt"
 \end_layout
 
 \begin_layout Standard
-\noindent
+They can also or be broken by a newpage 
+\begin_inset Newpage newpage
+\end_inset
 
+or by a page break 
+\begin_inset Newpage pagebreak
+\end_inset
 
-\begin_inset CommandInset line
-LatexCommand rule
-width "1ex"
-height "0.5cc"
+or by a defined page break 
+\begin_inset ERT
+status collapsed
 
-\end_inset
+\begin_layout Plain Layout
 
-test
+\backslash
+pagebreak[4]
 \end_layout
 
-\begin_layout Standard
+\end_inset
 
 
-\color red
+\end_layout
 
-\begin_inset CommandInset line
-LatexCommand rule
-offset "-4ex"
-width "5in"
-height "1cm"
+\begin_layout Section
+Special characters
+\begin_inset Index idx
+status collapsed
 
-\end_inset
+\begin_layout Plain Layout
+Special characters
+\end_layout
 
+\end_inset
 
-\color inherit
 
 \end_layout
 
-\begin_layout Subsection
-
-Phantoms
+\begin_layout Standard
+Then one has those macros with a long name for a short meaning, like ~, ^ or 
+\backslash
+, \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 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
 
-test
-\begin_inset Phantom Phantom
-status open
+\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 Plain Layout
-
-Wow
+{}
 \end_layout
 
 \end_inset
 
-test
+-, -
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+{}
 \end_layout
 
-\begin_layout Standard
+\end_inset
 
-test
-\begin_inset Phantom HPhantom
-status open
+-
+\begin_inset ERT
+status collapsed
 
 \begin_layout Plain Layout
+{}
+\end_layout
 
+\end_inset
 
-\color green
-W
-\color inherit
+-, -
+\begin_inset ERT
+status collapsed
 
-\series bold
-ow
-\series default
+\begin_layout Plain Layout
+{}
+\end_layout
 
-\begin_inset script superscript
+\end_inset
 
-\begin_layout Standard
+-
+\begin_inset ERT
+status collapsed
 
-Wow
+\begin_layout Plain Layout
+{}
 \end_layout
 
 \end_inset
 
+-
+\begin_inset ERT
+status collapsed
 
+\begin_layout Plain Layout
+{}
 \end_layout
 
 \end_inset
 
-test
+- 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
 
-test
-\begin_inset Phantom VPhantom
-status open
+\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 Plain Layout
 
-Wow
 \backslash
-&%
+mycommand
 \end_layout
 
 \end_inset
 
-test
-\end_layout
 
-\begin_layout Standard
+\begin_inset ERT
+status collapsed
 
+\begin_layout Plain Layout
+{}
+\end_layout
 
-\begin_inset Formula $test\hphantom{Wow}test$
 \end_inset
 
-
+ xx
 \end_layout
 
 \begin_layout Standard
+builtin ^ unicodesymbols ȷ user 
+\begin_inset ERT
+status collapsed
 
+\begin_layout Plain Layout
 
-\begin_inset Formula \[
-test\phantom{\textcolor{green}{W}\mathbf{ow}\textsuperscript{Wow}}test
-\]
-\end_inset
-
-
+\backslash
+mycommand
 \end_layout
 
-\begin_layout Standard
-
-
-\begin_inset Formula $test\vphantom{Wow\&\%}test$
 \end_inset
 
 
-\end_layout
-
-\begin_layout Subsection
-
-Line breaks
-\begin_inset Index breaks
+\begin_inset ERT
 status collapsed
 
 \begin_layout Plain Layout
-
-Line breaks
+{}
 \end_layout
 
 \end_inset
 
-
+ xx
 \end_layout
 
 \begin_layout Standard
-
-They can also or be broken by a newline
-\begin_inset Newline newline
-\end_inset
-
- or by a starred newline 
+builtin ^ unicodesymbols ȷ user 
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
-
-\backslash
+\begin_layout Plain Layout
 
 \backslash
-*
+mycommand
 \end_layout
 
 \end_inset
 
-or by a newline with space, comment and argument 
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
+% and another
+\end_layout
 
-\backslash
+\begin_layout Plain Layout
 
-\backslash
-[3cm]
 \end_layout
 
 \end_inset
 
- or by a newline command 
-\begin_inset Newline newline
-\end_inset
-
-or by a line break 
-\begin_inset Newline linebreak
-\end_inset
 
-or by a defined line break 
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
-
-\backslash
-linebreak[4]
+\begin_layout Plain Layout
+{}
 \end_layout
 
 \end_inset
 
-
+ xx
 \end_layout
 
 \begin_layout Standard
+A sub
+\begin_inset script subscript
 
-There are even newlines with weird arguments, but these are not handled by 
-\begin_inset ERT
-status collapsed
-
-\begin_layout Standard
+\begin_layout Plain Layout
+sc
+\emph on
+ript
+\emph default
 
-LyX
 \end_layout
 
 \end_inset
 
+ and super
+\begin_inset script superscript
 
-\begin_inset ERT
-status collapsed
-
-\begin_layout Standard
-
-
-\backslash
+\begin_layout Plain Layout
+script with 
+\begin_inset Formula $a^2+b^2=c^2$
+\end_inset
 
-\backslash
-*[1cm]
+ math
 \end_layout
 
 \end_inset
 
- so we try to use ERT in this case.
+.
 \end_layout
 
-\begin_layout Subsection
+\begin_layout Standard
+latex2writer outputs quotes in braces like 
+\begin_inset Quotes ers
+\end_inset
 
-Page breaks
-\begin_inset Index breaks
+. 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
-
-Page breaks
+Mathematics
 \end_layout
 
 \end_inset
@@ -6273,40 +7252,45 @@ Page breaks
 \end_layout
 
 \begin_layout Standard
-
-They can also or be broken by a newpage 
-\begin_inset Newpage newpage
-\end_inset
-
-or by a page break 
-\begin_inset Newpage pagebreak
+Let 
+\begin_inset Formula $f:\left[  a,b\right]  \rightarrow%TCIMACRO{\U{211d} }%
+%BeginExpansion
+\mathbb{R}
+%EndExpansion
+$
 \end_inset
 
-or by a defined page break 
-\begin_inset ERT
-status collapsed
+.
+\end_layout
 
 \begin_layout Standard
 
-
-\backslash
-pagebreak[4]
-\end_layout
-
+\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
 
-Special characters
-\begin_inset Index idx
+\begin_layout Standard
+single 
+\backslash
+addcontentsline: 
+\begin_inset ERT
 status collapsed
 
 \begin_layout Plain Layout
 
-Special characters
+\backslash
+addcontentsline{toc}{section}{test}
 \end_layout
 
 \end_inset
@@ -6315,290 +7299,236 @@ Special characters
 \end_layout
 
 \begin_layout Standard
-
-Then one has those macros with a long name for a short meaning, like ~, ^ or 
+with 
 \backslash
-, \SpecialChar \slash{}
-, \SpecialChar \nobreakdash-
- and the characters that 
-\begin_inset ERT
-status collapsed
+addcontentsline and 
+\backslash
+phantomsection:
+\end_layout
 
 \begin_layout Standard
-
-LaTeX
-\end_layout
+\begin_inset CommandInset bibtex
+LatexCommand bibtex
+bibfiles "xampl"
+options "bibtotoc,test"
 
 \end_inset
 
- 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
+normal:
+\end_layout
 
 \begin_layout Standard
-
-LyX
-\end_layout
+\begin_inset CommandInset bibtex
+LatexCommand bibtex
+bibfiles "xampl"
+options "test"
 
 \end_inset
 
- also supports a menu separator\SpecialChar \menuseparator
-and a spif\SpecialChar \textcompwordmark{}
-fy ligature break.
+
 \end_layout
 
 \begin_layout Standard
+with wrong 
+\backslash
+addcontentsline:
+\end_layout
 
+\begin_layout Standard
 
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
-LyX
+\backslash
+bibliographystyle{test}
 \end_layout
 
 \end_inset
 
- translates the phrases 
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
-LyX
+\backslash
+addcontentsline{toc}{section}{test}
 \end_layout
 
 \end_inset
 
-, 
-\begin_inset ERT
-status collapsed
-
-\begin_layout Standard
-
-TeX
-\end_layout
+  
+\begin_inset CommandInset bibtex
+LatexCommand bibtex
+bibfiles "xampl"
+options "test"
 
 \end_inset
 
-, 
-\begin_inset ERT
-status collapsed
-
-\begin_layout Standard
 
-LaTeX
 \end_layout
 
-\end_inset
-
-2e and 
-\begin_inset ERT
-status collapsed
-
 \begin_layout Standard
-
-LaTeX
+with 
+\backslash
+addcontentsline and 
+\backslash
+nocite{*}:
 \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
-\end_layout
+  
+\begin_inset CommandInset bibtex
+LatexCommand bibtex
+btprint "btPrintAll"
+bibfiles "xampl"
+options "bibtotoc,test"
 
 \end_inset
 
- or a
-\begin_inset ERT
-status collapsed
-
-\begin_layout Standard
 
-TeX
 \end_layout
 
-\end_inset
-
- or 
-\begin_inset ERT
-status collapsed
+\begin_layout Standard
+undefined index:
+\end_layout
 
 \begin_layout Standard
 
-LaTeX
-\end_layout
+\begin_inset CommandInset index_print
+LatexCommand printindex
+type "idx"
+literal "true"
 
 \end_inset
 
-3) they should not be put into ERT.
+
 \end_layout
 
 \begin_layout Standard
+index 
+\begin_inset ERT
+status collapsed
 
-Test for whitespace handling of commands: The following lines should result in identical output:
+\begin_layout Plain Layout
+"
 \end_layout
 
-\begin_layout Standard
+\end_inset
 
-builtin ^ unicodesymbols ȷ user 
+idx
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
-
-\backslash
-mycommand
+\begin_layout Plain Layout
+"
 \end_layout
 
 \end_inset
 
-
-\begin_inset ERT
-status collapsed
+:
+\end_layout
 
 \begin_layout Standard
 
-{}
-\end_layout
+\begin_inset CommandInset index_print
+LatexCommand printindex
+type "idx"
+literal "true"
 
 \end_inset
 
- xx
+
 \end_layout
 
 \begin_layout Standard
-
-builtin ^ unicodesymbols ȷ user 
+index 
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
-
-\backslash
-mycommand
+\begin_layout Plain Layout
+"
 \end_layout
 
 \end_inset
 
-
+new
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
-{}
+\begin_layout Plain Layout
+"
 \end_layout
 
 \end_inset
 
- xx
+:
 \end_layout
 
 \begin_layout Standard
 
-builtin ^ unicodesymbols ȷ user 
-\begin_inset ERT
-status collapsed
-
-\begin_layout Standard
-
-
-\backslash
-mycommand
-\end_layout
+\begin_inset CommandInset index_print
+LatexCommand printindex
+type "new"
+literal "true"
 
 \end_inset
 
-\begin_inset ERT
-status collapsed
-
-\begin_layout Standard
 
-% and another
 \end_layout
 
 \begin_layout Standard
+subindex 
+\begin_inset ERT
+status collapsed
 
-
+\begin_layout Plain Layout
+"
 \end_layout
 
 \end_inset
 
-
+new
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
-{}
+\begin_layout Plain Layout
+"
 \end_layout
 
 \end_inset
 
- xx
+:
 \end_layout
 
 \begin_layout Standard
 
-A sub
-\begin_inset script subscript
-
-\begin_layout Standard
-
-sc
-\emph on
-ript
-\emph default
-
-\end_layout
+\begin_inset CommandInset index_print
+LatexCommand printsubindex
+type "idx"
+literal "true"
 
 \end_inset
 
- and super
-\begin_inset script superscript
-
-\begin_layout Standard
-
-script with 
-\begin_inset Formula $a^2+b^2=c^2$
-\end_inset
 
- math
 \end_layout
 
-\end_inset
-
-.
+\begin_layout Standard
+index of all indices:
 \end_layout
 
-\begin_layout Section
-
-Mathematics
-\begin_inset Index idx
-status collapsed
-
-\begin_layout Plain Layout
+\begin_layout Standard
 
-Mathematics
-\end_layout
+\begin_inset CommandInset index_print
+LatexCommand printindex*
 
 \end_inset
 
@@ -6606,24 +7536,13 @@ Mathematics
 \end_layout
 
 \begin_layout Standard
-
-Let 
-\begin_inset Formula $f:\left[  a,b\right]  \rightarrow%TCIMACRO{\U{211d} }%
-%BeginExpansion
-\mathbb{R}
-%EndExpansion
-$
-\end_inset
-
-.
+subindex of all indices:
 \end_layout
 
 \begin_layout Standard
 
-
 \begin_inset CommandInset index_print
-LatexCommand printindex
-type "idx"
+LatexCommand printsubindex*
 
 \end_inset
 
@@ -6631,7 +7550,10 @@ type "idx"
 \end_layout
 
 \begin_layout Standard
+normal nomenclature:
+\end_layout
 
+\begin_layout Standard
 
 \begin_inset CommandInset nomencl_print
 LatexCommand printnomenclature
@@ -6643,13 +7565,11 @@ hello
 \end_layout
 
 \begin_layout Standard
-
-
+manually set width: 
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
-
+\begin_layout Plain Layout
 
 \backslash
 settowidth{
@@ -6670,7 +7590,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