]> git.lyx.org Git - lyx.git/blobdiff - src/tex2lyx/test/test-insets.lyx.lyx
Cmake build: Project names *should* be uniq
[lyx.git] / src / tex2lyx / test / test-insets.lyx.lyx
index 6d49239ab1541af7753492981e172a43c8173098..1d6404a5fedde5d441cafe482af03512ad73a493 100644 (file)
@@ -1,7 +1,9 @@
-#LyX file created by tex2lyx 2.1.0dev
-\lyxformat 463
+#LyX file created by tex2lyx 2.3
+\lyxformat 535
 \begin_document
 \begin_header
+\save_transient_properties true
+\origin roundtrip
 \textclass article
 \begin_preamble
 
 \language_package none
 \inputencoding iso8859-15
 \fontencoding T1
-\font_roman default
-\font_sans default
-\font_typewriter default
-\font_math auto
+\font_roman "default" "default"
+\font_sans "default" "default"
+\font_typewriter "default" "default"
+\font_math "auto" "auto"
 \font_default_family default
 \use_non_tex_fonts false
 \font_sc false
 \font_osf false
-\font_sf_scale 100
-\font_tt_scale 100
+\font_sf_scale 100 100
+\font_tt_scale 100 100
+\use_microtype 0
 \graphics default
 \default_output_format default
 \output_sync 0
@@ -39,7 +42,7 @@
 \paperfontsize 12
 \spacing onehalf
 \use_hyperref true
-\pdf_bookmarks 1
+\pdf_bookmarks 0
 \pdf_bookmarksnumbered 0
 \pdf_bookmarksopen 0
 \pdf_bookmarksopenlevel 1
 \pdf_pdfborder 0
 \pdf_colorlinks 0
 \pdf_backref section
-\pdf_pdfusetitle 1
+\pdf_pdfusetitle 0
 \papersize a4paper
 \use_geometry false
 \use_package amsmath 2
 \use_package amssymb 2
+\use_package cancel 0
 \use_package esint 1
 \use_package mathdots 0
 \use_package mathtools 0
@@ -84,7 +88,7 @@
 \tocdepth 3
 \paragraph_separation indent
 \paragraph_indentation 3mm
-\quotes_language english
+\quotes_style english
 \papercolumns 1
 \papersides 1
 \paperpagestyle default
@@ -110,6 +114,10 @@ status collapsed
 %stupid stuff
 \end_layout
 
+\begin_layout Plain Layout
+
+\end_layout
+
 \end_inset
 
 
@@ -176,6 +184,9 @@ name "lab:test"
 \begin_inset CommandInset ref
 LatexCommand ref
 reference "lab:test"
+plural "false"
+caps "false"
+noprefix "false"
 
 \end_inset
 
@@ -200,6 +211,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
 
@@ -212,6 +226,9 @@ reference "lab:test"
 \begin_inset CommandInset ref
 LatexCommand eqref
 reference "lab:test"
+plural "false"
+caps "false"
+noprefix "false"
 
 \end_inset
 
@@ -224,6 +241,9 @@ reference "lab:test"
 \begin_inset CommandInset ref
 LatexCommand vref
 reference "lab:test"
+plural "false"
+caps "false"
+noprefix "false"
 
 \end_inset
 
@@ -236,6 +256,9 @@ reference "lab:test"
 \begin_inset CommandInset ref
 LatexCommand vpageref
 reference "lab:test"
+plural "false"
+caps "false"
+noprefix "false"
 
 \end_inset
 
@@ -248,6 +271,24 @@ 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
 
@@ -283,17 +324,7 @@ status collapsed
 
 \end_inset
 
- will be parsed in ERT, since 
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-LyX
-\end_layout
-
-\end_inset
-
- does not support refstyle and prettyref natively at the same time.
+ will be parsed in ERT, since LyX does not support refstyle and prettyref natively at the same time.
 \end_layout
 
 \begin_layout Section
@@ -319,6 +350,7 @@ LatexCommand citep
 after "after"
 before ""
 key "article-crossref"
+literal "true"
 
 \end_inset
 
@@ -330,6 +362,7 @@ LatexCommand citep
 after "after"
 before ""
 key "whole-set,article-crossref"
+literal "true"
 
 \end_inset
 
@@ -349,6 +382,7 @@ LatexCommand citet
 after "after"
 before "before"
 key "article-crossref"
+literal "true"
 
 \end_inset
 
@@ -360,6 +394,7 @@ LatexCommand citet*
 after "after"
 before "before"
 key "article-crossref"
+literal "true"
 
 \end_inset
 
@@ -371,6 +406,7 @@ LatexCommand Citet
 after "after"
 before "before"
 key "article-crossref"
+literal "true"
 
 \end_inset
 
@@ -382,6 +418,7 @@ LatexCommand Citet*
 after "after"
 before "before"
 key "article-crossref"
+literal "true"
 
 \end_inset
 
@@ -397,6 +434,7 @@ LatexCommand citep
 after "after"
 before "before"
 key "article-crossref"
+literal "true"
 
 \end_inset
 
@@ -408,6 +446,7 @@ LatexCommand citep*
 after "after"
 before "before"
 key "article-crossref"
+literal "true"
 
 \end_inset
 
@@ -419,6 +458,7 @@ LatexCommand Citep
 after "after"
 before "before"
 key "article-crossref"
+literal "true"
 
 \end_inset
 
@@ -430,6 +470,7 @@ LatexCommand Citep*
 after "after"
 before "before"
 key "article-crossref"
+literal "true"
 
 \end_inset
 
@@ -445,6 +486,7 @@ LatexCommand citealt
 after "after"
 before "before"
 key "article-crossref"
+literal "true"
 
 \end_inset
 
@@ -456,6 +498,7 @@ LatexCommand citealt*
 after "after"
 before "before"
 key "article-crossref"
+literal "true"
 
 \end_inset
 
@@ -467,6 +510,7 @@ LatexCommand Citealt
 after "after"
 before "before"
 key "article-crossref"
+literal "true"
 
 \end_inset
 
@@ -478,6 +522,7 @@ LatexCommand Citealt*
 after "after"
 before "before"
 key "article-crossref"
+literal "true"
 
 \end_inset
 
@@ -493,6 +538,7 @@ LatexCommand citealp
 after "after"
 before "before"
 key "article-crossref"
+literal "true"
 
 \end_inset
 
@@ -504,6 +550,7 @@ LatexCommand citealp*
 after "after"
 before "before"
 key "article-crossref"
+literal "true"
 
 \end_inset
 
@@ -515,6 +562,7 @@ LatexCommand Citep
 after "after"
 before "before"
 key "article-crossref"
+literal "true"
 
 \end_inset
 
@@ -526,6 +574,7 @@ LatexCommand Citealp*
 after "after"
 before "before"
 key "article-crossref"
+literal "true"
 
 \end_inset
 
@@ -541,6 +590,7 @@ LatexCommand citeauthor
 after "after"
 before "before"
 key "article-crossref"
+literal "true"
 
 \end_inset
 
@@ -552,6 +602,7 @@ LatexCommand citeauthor*
 after "after"
 before "before"
 key "article-crossref"
+literal "true"
 
 \end_inset
 
@@ -563,6 +614,7 @@ LatexCommand Citeauthor
 after "after"
 before "before"
 key "article-crossref"
+literal "true"
 
 \end_inset
 
@@ -574,6 +626,7 @@ LatexCommand Citeauthor*
 after "after"
 before "before"
 key "article-crossref"
+literal "true"
 
 \end_inset
 
@@ -589,6 +642,7 @@ LatexCommand citeyear
 after "after"
 before "before"
 key "article-crossref"
+literal "true"
 
 \end_inset
 
@@ -604,6 +658,7 @@ LatexCommand citeyearpar
 after "after"
 before "before"
 key "article-crossref"
+literal "true"
 
 \end_inset
 
@@ -618,6 +673,7 @@ nocite:
 LatexCommand nocite
 after ""
 key "article-crossref"
+literal "true"
 
 \end_inset
 
@@ -635,6 +691,10 @@ status collapsed
 bibliography since LaTeX throws an error.
 \end_layout
 
+\begin_layout Plain Layout
+
+\end_layout
+
 \end_inset
 
 
@@ -647,6 +707,10 @@ status collapsed
 bibliographystyle{unsrt}
 \end_layout
 
+\begin_layout Plain Layout
+
+\end_layout
+
 \end_inset
 
 
@@ -686,6 +750,7 @@ LatexCommand citet
 after ""
 before ""
 key "gur+04"
+literal "true"
 
 \end_inset
 
@@ -694,10 +759,34 @@ key "gur+04"
 
 \begin_layout Bibliography
 
+\begin_inset CommandInset bibitem
+LatexCommand bibitem
+label "Möstl et~al.(2010)"
+key "Mostl2010"
+literal "true"
+
+\end_inset
+
+ Gürkan, M.
+\begin_inset space ~
+
+\end_inset
+
+A., Freitag, M., & Rasio, F.
+\begin_inset space ~
+
+\end_inset
+
+A. 2004, ApJ, 604, 632 
+\end_layout
+
+\begin_layout Bibliography
+
 \begin_inset CommandInset bibitem
 LatexCommand bibitem
 label "{{Gürkan et~al.}(2004)}"
 key "gur+04"
+literal "true"
 
 \end_inset
 
@@ -733,7 +822,7 @@ We can input files too, like this
 \begin_inset CommandInset include
 LatexCommand input
 preview false
-filename "DummyDocument.lyx"
+filename "DummyDocument.lyx.lyx"
 
 \end_inset
 
@@ -741,7 +830,7 @@ filename "DummyDocument.lyx"
 \begin_inset CommandInset include
 LatexCommand include
 preview false
-filename "Dummy Document.lyx"
+filename "Dummy Document.tex"
 
 \end_inset
 
@@ -749,7 +838,7 @@ filename "Dummy Document.lyx"
 \begin_inset CommandInset include
 LatexCommand include
 preview false
-filename "Dummy Document.lyx"
+filename "Dummy Document.tex"
 
 \end_inset
 
@@ -757,7 +846,7 @@ filename "Dummy Document.lyx"
 \begin_inset CommandInset include
 LatexCommand include
 preview false
-filename "Dummy~Document.lyx"
+filename "Dummy~Document.lyx.lyx"
 
 \end_inset
 
@@ -765,11 +854,11 @@ filename "Dummy~Document.lyx"
 \begin_inset CommandInset include
 LatexCommand include
 preview false
-filename "Dummy~Document.lyx"
+filename "Dummy~Document.lyx.lyx"
 
 \end_inset
 
- File names containg double quotes are not legal on windows, so no test file is provided. Nevertheless, they are legal on unix, so we test at least the paring. Since the file does not exist, the variant without extension would not work (tex2lyx can't deduce the correct extension of nonexisting files). 
+ 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
@@ -893,6 +982,7 @@ LatexCommand nomenclature
 prefix "www"
 symbol "URL"
 description "uniform resource locator"
+literal "true"
 
 \end_inset
 
@@ -915,6 +1005,7 @@ http://www.lyx.org
 LatexCommand nomenclature
 symbol "URL2"
 description "uniform resource locator"
+literal "true"
 
 \end_inset
 
@@ -940,6 +1031,7 @@ link:
 \begin_inset CommandInset href
 LatexCommand href
 target "www.test.test"
+literal "true"
 
 \end_inset
 
@@ -951,6 +1043,7 @@ link2:
 \begin_inset CommandInset href
 LatexCommand href
 target "http://www.test.test"
+literal "true"
 
 \end_inset
 
@@ -964,6 +1057,7 @@ LatexCommand href
 name "name"
 target "www.test.test"
 type "mailto:"
+literal "true"
 
 \end_inset
 
@@ -976,6 +1070,7 @@ file:
 LatexCommand href
 target "www.test.test"
 type "file:"
+literal "true"
 
 \end_inset
 
@@ -987,6 +1082,7 @@ ftp:
 \begin_inset CommandInset href
 LatexCommand href
 target "ftp://www.test.test"
+literal "true"
 
 \end_inset
 
@@ -999,6 +1095,7 @@ ftp2:
 LatexCommand href
 name "www.test.test"
 target "ftp://www.test.test"
+literal "true"
 
 \end_inset
 
@@ -1011,6 +1108,7 @@ parser test (stupid, but valid):
 LatexCommand href
 name "}"
 target "http://www.test.test"
+literal "true"
 
 \end_inset
 
@@ -1023,6 +1121,7 @@ parser test (escaped):
 LatexCommand href
 name "a brace } and another one { and something"
 target "http://www.test.test"
+literal "true"
 
 \end_inset
 
@@ -1368,7 +1467,7 @@ clearpage}
 \begin_layout Standard
 
 \begin_inset Tabular 
-<lyxtabular version="3" rows="64" columns="2">
+<lyxtabular version="3" rows="66" columns="2">
 <features rotate="0" islongtable="true">
 <column alignment="none" valignment="top" special="@{*}r">
 <column alignment="none" valignment="top" special="|p{1in}@{*}">
@@ -1401,11 +1500,12 @@ kill
  
 \begin_inset Caption Standard
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 \begin_inset Argument 1
 status collapsed
 
+
 \begin_layout Standard
 An optional table caption (used in the list of tables)
 \end_layout
@@ -1482,11 +1582,12 @@ Second
 
 \begin_inset Caption Standard
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 \begin_inset Argument 1
 status collapsed
 
+
 \end_inset
 
 (continued)
@@ -1546,11 +1647,36 @@ Second
 
 \end_layout
 
+\end_inset
+</cell>
+</row>
+<row endfoot="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
+standard foot
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+<cell multicolumn="2" alignment="none" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
 \end_inset
 </cell>
 </row>
 <row endfoot="true">
-<cell alignment="none" valignment="top" topline="true" bottomline="true" usebox="none">
+<cell alignment="none" valignment="top" topline="true" usebox="none">
 \begin_inset Text
 
 \begin_layout Standard
@@ -1559,13 +1685,38 @@ This goes at the
 
 \end_inset
 </cell>
-<cell alignment="none" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+<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>
@@ -3043,7 +3194,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
@@ -3370,17 +3522,7 @@ like this.
 \end_layout
 
 \begin_layout Standard
-From bug 7412 another example with more captions (can currently not produced in 
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-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">
@@ -3394,7 +3536,7 @@ LyX
 
 \begin_inset Caption Standard
 
-\begin_layout Standard
+\begin_layout Plain Layout
 A long table
 \end_layout
 
@@ -3419,8 +3561,8 @@ A long table
 
 \begin_inset Caption Standard
 
-\begin_layout Standard
-A long table -- continued
+\begin_layout Plain Layout
+A long table  continued
 \end_layout
 
 \end_inset
@@ -4332,6 +4474,10 @@ status collapsed
 % some comment
 \end_layout
 
+\begin_layout Plain Layout
+
+\end_layout
+
 \end_inset
 
 
@@ -4400,7 +4546,7 @@ status open
 
 \begin_inset Caption Standard
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 \begin_inset CommandInset label
 LatexCommand label
@@ -4913,136 +5059,765 @@ in % of pixel size
 
 \end_layout
 
-\begin_layout Section
-Macros
+\begin_layout Standard
+A table using dcolumn:
 \end_layout
 
 \begin_layout Standard
 
-\begin_inset ERT
-status collapsed
+\begin_inset Float table
+wide false
+sideways false
+status open
 
-\begin_layout Plain Layout
-LyX
+
+\begin_layout Standard
+
+\begin_inset Tabular 
+<lyxtabular version="3" rows="4" columns="5">
+<features rotate="0" tabularvalignment="middle" tabularwidth="0pt">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="none" valignment="top" special="d">
+<column alignment="none" valignment="top" special="d">
+<column alignment="none" valignment="top" special="d">
+<row>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\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
+
+\family roman
+Three
+\family default
+
+\end_layout
 
- global long def 
-\begin_inset FormulaMacro
-\def\macrod #1{d #1 d}
 \end_inset
+</cell>
+<cell multicolumn="1" alignment="none" valignment="top" usebox="none" special="c">
+\begin_inset Text
 
- providecommand 
-\begin_inset ERT
-status collapsed
+\begin_layout Standard
 
-\begin_layout Plain Layout
+\family roman
+Four
+\family default
 
-\backslash
-providecommand{
-\backslash
-macroe}[1]{e #1 e}
 \end_layout
 
 \end_inset
+</cell>
+<cell multicolumn="1" alignment="none" valignment="top" usebox="none" special="c">
+\begin_inset Text
 
- providecommand* 
-\begin_inset ERT
-status collapsed
+\begin_layout Standard
 
-\begin_layout Plain Layout
+\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
+
+\begin_layout Standard
+one
+\end_layout
 
- newcommand 
-\begin_inset FormulaMacro
-\newcommand{\macrog}[1]{g #1 g}
 \end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+two
+\end_layout
 
- renewcommand 
-\begin_inset FormulaMacro
-\renewcommand{\macrog}[1]{h #1 h}
 \end_inset
+</cell>
+<cell alignment="none" valignment="top" topline="true" usebox="none">
+\begin_inset Text
 
- newcommand* 
-\begin_inset ERT
-status collapsed
+\begin_layout Standard
 
-\begin_layout Plain Layout
+\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
-newcommand*{
-\backslash
-macroi}[1]{i #1 i}
+
+\begin_layout Standard
+three
 \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
+</cell>
+<cell alignment="none" valignment="top" topline="true" usebox="none">
+\begin_inset Text
 
- providecommandx 
-\begin_inset ERT
-status collapsed
+\begin_layout Standard
 
-\begin_layout Plain Layout
+\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]{k #1 k}
+
+\begin_layout Standard
+four
 \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 
+</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
+
+
+\begin_layout Standard
+five
+\end_layout
+
+\end_inset
+
+
+\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="8">
+<features rotate="0" tabularvalignment="middle" tabularwidth="0pt">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="right" valignment="top">
+<column alignment="none" valignment="top" special="@{\extracolsep{0pt}.}l">
+<column alignment="right" valignment="top">
+<column alignment="none" valignment="top" special="@{\extracolsep{0pt}.}l">
+<column alignment="right" valignment="top">
+<column alignment="none" valignment="top" special="@{\extracolsep{0pt}.}l">
+<row>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+One 
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+Two 
+\end_layout
+
+\end_inset
+</cell>
+<cell multicolumn="1" alignment="none" valignment="top" usebox="none" special="c">
+\begin_inset Text
+
+\begin_layout Standard
+Three
+\end_layout
+
+\end_inset
+</cell>
+<cell multicolumn="2" alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\end_inset
+</cell>
+<cell multicolumn="1" alignment="none" valignment="top" usebox="none" special="c">
+\begin_inset Text
+
+\begin_layout Standard
+Four
+\end_layout
+
+\end_inset
+</cell>
+<cell multicolumn="2" alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\end_inset
+</cell>
+<cell multicolumn="1" alignment="none" valignment="top" usebox="none" special="c">
+\begin_inset Text
+
+\begin_layout Standard
+Five
+\end_layout
+
+\end_inset
+</cell>
+<cell multicolumn="2" alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+one 
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+two 
+\end_layout
+
+\end_inset
+</cell>
+<cell multicolumn="1" alignment="none" valignment="top" topline="true" usebox="none" special="c">
+\begin_inset Text
+
+\begin_layout Standard
+three
+\end_layout
+
+\end_inset
+</cell>
+<cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\end_inset
+</cell>
+<cell multicolumn="1" alignment="none" valignment="top" topline="true" usebox="none" special="c">
+\begin_inset Text
+
+\begin_layout Standard
+four
+\end_layout
+
+\end_inset
+</cell>
+<cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\end_inset
+</cell>
+<cell multicolumn="1" alignment="none" valignment="top" topline="true" usebox="none" special="c">
+\begin_inset Text
+
+\begin_layout Standard
+five
+\end_layout
+
+\end_inset
+</cell>
+<cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+He 
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+2 
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="right" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+2
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+77234 
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="right" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+45672
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" usebox="none">
+\begin_inset Text
+
+\end_inset
+</cell>
+<cell alignment="right" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+0
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+69 
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+C 
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+C 
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="right" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+12537
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+64 
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="right" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+37
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+66345 
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="right" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+86
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="none" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+37 
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Section
+Macros
+\end_layout
+
+\begin_layout Standard
+LyX supports several kinds of macros: def 
+\begin_inset FormulaMacro
+\def\macroa #1{a #1 a}
+\end_inset
+
+ global def 
+\begin_inset FormulaMacro
+\def\macrob #1{b #1 b}
+\end_inset
+
+ long def 
+\begin_inset FormulaMacro
+\def\macroc #1{c #1 c}
+\end_inset
+
+ global long def 
+\begin_inset FormulaMacro
+\def\macrod #1{d #1 d}
+\end_inset
+
+ providecommand 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\backslash
+providecommand{
+\backslash
+macroe}[1]{e #1 e}
+\end_layout
+
+\end_inset
+
+ providecommand* 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\backslash
+providecommand*{
+\backslash
+macrof}[1]{f #1 f}
+\end_layout
+
+\end_inset
+
+ newcommand 
+\begin_inset FormulaMacro
+\newcommand{\macrog}[1]{g #1 g}
+\end_inset
+
+ renewcommand 
+\begin_inset FormulaMacro
+\renewcommand{\macrog}[1]{h #1 h}
+\end_inset
+
+ newcommand* 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\backslash
+newcommand*{
+\backslash
+macroi}[1]{i #1 i}
+\end_layout
+
+\end_inset
+
+ renewcommand* 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\backslash
+renewcommand*{
+\backslash
+macroi}[1]{j #1 j}
+\end_layout
+
+\end_inset
+
+ providecommandx 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\backslash
+providecommandx{
+\backslash
+macrok}[1]{k #1 k}
+\end_layout
+
+\end_inset
+
+ providecommandx* 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\backslash
+providecommandx*{
+\backslash
+macrok}[1]{l #1 l}
+\end_layout
+
+\end_inset
+
+ newcommandx 
 \begin_inset FormulaMacro
 \newcommandx{\macrom}[1]{m #1 m}
 \end_inset
@@ -5498,17 +6273,7 @@ Special formattings
 \end_layout
 
 \begin_layout Subsection
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-LyX
-\end_layout
-
-\end_inset
-
- line
+LyX line
 \end_layout
 
 \begin_layout Standard
@@ -5567,20 +6332,47 @@ height "1pt"
 
 \end_layout
 
-\begin_layout Standard
-test
+\begin_layout Standard
+test
+\end_layout
+
+\begin_layout Standard
+
+\size giant
+
+\end_layout
+
+\begin_layout Standard
+\noindent
+
+\size giant
+
+\begin_inset CommandInset line
+LatexCommand rule
+offset "0.5ex"
+width "100line%"
+height "1pt"
+
+\end_inset
+
+
+\size default
+
+\size giant
+
+\end_layout
+
+\begin_layout Subsection
+Rules
 \end_layout
 
 \begin_layout Standard
-
-\size giant
-
+test
 \end_layout
 
 \begin_layout Standard
-\noindent
 
-\size giant
+\size tiny
 
 \begin_inset CommandInset line
 LatexCommand rule
@@ -5593,12 +6385,8 @@ height "1pt"
 
 \size default
 
-\size giant
-
-\end_layout
+\size tiny
 
-\begin_layout Subsection
-rules
 \end_layout
 
 \begin_layout Standard
@@ -5696,7 +6484,7 @@ ow
 
 \begin_inset script superscript
 
-\begin_layout Standard
+\begin_layout Plain Layout
 Wow
 \end_layout
 
@@ -5764,16 +6552,16 @@ TIPA
 e̥ e̊ e̬ e̤ ḛ e̼ e̪ e̺ e̻ e
 \begin_inset script superscript
 
-\begin_layout Standard
+\begin_layout Plain Layout
 h
 \end_layout
 
 \end_inset
 
- e̹ e̜ e̟ e̠  ë e̽ e̩ e̩ e̯ e˞e
+ 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
 
@@ -5782,7 +6570,7 @@ w
  e
 \begin_inset script superscript
 
-\begin_layout Standard
+\begin_layout Plain Layout
 j
 \end_layout
 
@@ -5791,7 +6579,7 @@ j
  e
 \begin_inset script superscript
 
-\begin_layout Standard
+\begin_layout Plain Layout
 ɣ
 \end_layout
 
@@ -5800,7 +6588,7 @@ j
  e
 \begin_inset script superscript
 
-\begin_layout Standard
+\begin_layout Plain Layout
 ʕ
 \end_layout
 
@@ -5809,7 +6597,7 @@ j
  e̴ e̝ e̞ e̘ e̙ ẽ e
 \begin_inset script superscript
 
-\begin_layout Standard
+\begin_layout Plain Layout
 n
 \end_layout
 
@@ -5818,7 +6606,7 @@ n
  e
 \begin_inset script superscript
 
-\begin_layout Standard
+\begin_layout Plain Layout
 l
 \end_layout
 
@@ -5841,7 +6629,43 @@ l
 \begin_inset IPA
 
 \begin_layout Standard
-pbtd t dcɟkɡq G
+pbtd
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\backslash
+:
+\end_layout
+
+\end_inset
+
+t
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\backslash
+:
+\end_layout
+
+\end_inset
+
+dcɟkɡq
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\backslash
+;
+\end_layout
+
+\end_inset
+
+G
 \end_layout
 
 \end_inset
@@ -5850,7 +6674,55 @@ pbtd t dcɟkɡq G
 \begin_inset IPA
 
 \begin_layout Standard
-PmMn nɲN N Br RR
+PmMn
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\backslash
+:
+\end_layout
+
+\end_inset
+
+nɲN
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\backslash
+;
+\end_layout
+
+\end_inset
+
+N
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\backslash
+;
+\end_layout
+
+\end_inset
+
+Br
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\backslash
+;
+\end_layout
+
+\end_inset
+
+RR
 \end_layout
 
 \end_inset
@@ -5859,7 +6731,31 @@ PmMn nɲN N Br RR
 \begin_inset IPA
 
 \begin_layout Standard
- rFBfvTDszSZ s
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\backslash
+:
+\end_layout
+
+\end_inset
+
+rFBfvTDszSZ
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\backslash
+:
+\end_layout
+
+\end_inset
+
+s
 \end_layout
 
 \end_inset
@@ -5868,7 +6764,19 @@ PmMn nɲN N Br RR
 \begin_inset IPA
 
 \begin_layout Standard
- zçJxGXKħQhHɬ
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\backslash
+:
+\end_layout
+
+\end_inset
+
+zçJxGXKħQhHɬ
 \end_layout
 
 \end_inset
@@ -5877,7 +6785,43 @@ PmMn nɲN N Br RR
 \begin_inset IPA
 
 \begin_layout Standard
-ɮVɹ Rhɰl lL L
+ɮVɹ
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\backslash
+:
+\end_layout
+
+\end_inset
+
+Rhɰl
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\backslash
+:
+\end_layout
+
+\end_inset
+
+lL
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\backslash
+;
+\end_layout
+
+\end_inset
+
+L
 \end_layout
 
 \end_inset
@@ -5920,7 +6864,19 @@ Ueø987o@Eœ3ɞ2Oæ5aɶA6
 \begin_inset IPA
 
 \begin_layout Standard
-ʍw4 HʢʡCʑɺɧ
+ʍw4
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\backslash
+;
+\end_layout
+
+\end_inset
+
+HʢʡCʑɺɧ
 \begin_inset IPADeco toptiebar
 status open
 
@@ -6007,6 +6963,14 @@ TIPA code in math:
 
 \end_layout
 
+\begin_layout Subsection
+Other symbols
+\end_layout
+
+\begin_layout Standard
+All three should be converted to U+00C5: Å Å Å (not U+212B). All three should be converted to U+00E5: å å å.
+\end_layout
+
 \begin_layout Subsection
 Line breaks
 \begin_inset Index breaks
@@ -6078,17 +7042,7 @@ linebreak[4]
 \end_layout
 
 \begin_layout Standard
-There are even newlines with weird arguments, but these are not handled by 
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-LyX
-\end_layout
-
-\end_inset
-
-
+There are even newlines with weird arguments, but these are not handled by LyX
 \begin_inset ERT
 status collapsed
 
@@ -6160,122 +7114,90 @@ Special characters
 \begin_layout Standard
 Then one has those macros with a long name for a short meaning, like ~, ^ or 
 \backslash
-, \SpecialChar \slash{}
-, \SpecialChar \nobreakdash-
- and the characters that 
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-LaTeX
-\end_layout
-
-\end_inset
-
- wants to espace because they are active, like _&#${}%.
+, \SpecialChar breakableslash
+, \SpecialChar nobreakdash
+ and the characters that LaTeX wants to espace because they are active, like _&#${}%.
 \end_layout
 
 \begin_layout Standard
-And what about special characters like hyphe\SpecialChar \-
-nation mark, ellipsis\SpecialChar \ldots{}
-, and end-of-sentence\SpecialChar \@.
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-LyX
-\end_layout
-
-\end_inset
-
- also supports a menu separator\SpecialChar \menuseparator
-and a spif\SpecialChar \textcompwordmark{}
+And what about special characters like hyphe\SpecialChar softhyphen
+nation mark, ellipsis\SpecialChar ldots
+, and end-of-sentence\SpecialChar endofsentence
+ LyX also supports a menu separator\SpecialChar menuseparator
+and a spif\SpecialChar ligaturebreak
 fy ligature break.
 \end_layout
 
 \begin_layout Standard
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-LyX
-\end_layout
-
-\end_inset
-
- translates the phrases 
+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
-LyX
+{}
 \end_layout
 
 \end_inset
 
-, 
+-, -
 \begin_inset ERT
 status collapsed
 
 \begin_layout Plain Layout
-TeX
+{}
 \end_layout
 
 \end_inset
 
-, 
+-
 \begin_inset ERT
 status collapsed
 
 \begin_layout Plain Layout
-LaTeX
+{}
 \end_layout
 
 \end_inset
 
-2e and 
+-, -
 \begin_inset ERT
 status collapsed
 
 \begin_layout Plain Layout
-LaTeX
+{}
 \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 Plain Layout
-LyX
+{}
 \end_layout
 
 \end_inset
 
- or a
+-
 \begin_inset ERT
 status collapsed
 
 \begin_layout Plain Layout
-TeX
+{}
 \end_layout
 
 \end_inset
 
- or 
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-LaTeX
+- etc.
 \end_layout
 
-\end_inset
-
-3) they should not be put into ERT.
+\begin_layout Standard
+LyX translates the phrases LyX, TeX, LaTeX2e and LaTeX to the commands \SpecialChar LyX
+, \SpecialChar TeX
+, \SpecialChar LaTeX2e
+ and \SpecialChar LaTeX
+. If these phrases occur as part of other words (like 1LyX or aTeX or LaTeX3) they should not be put into ERT.
 \end_layout
 
 \begin_layout Standard
@@ -6355,6 +7277,10 @@ status collapsed
 % and another
 \end_layout
 
+\begin_layout Plain Layout
+
+\end_layout
+
 \end_inset
 
 
@@ -6374,7 +7300,7 @@ status collapsed
 A sub
 \begin_inset script subscript
 
-\begin_layout Standard
+\begin_layout Plain Layout
 sc
 \emph on
 ript
@@ -6387,7 +7313,7 @@ ript
  and super
 \begin_inset script superscript
 
-\begin_layout Standard
+\begin_layout Plain Layout
 script with 
 \begin_inset Formula $a^2+b^2=c^2$
 \end_inset
@@ -6400,6 +7326,14 @@ script with
 .
 \end_layout
 
+\begin_layout Standard
+latex2writer outputs quotes in braces like 
+\begin_inset Quotes ers
+\end_inset
+
+. We swallow the, but this was one broken (bug 8903).
+\end_layout
+
 \begin_layout Section
 Mathematics
 \begin_inset Index idx
@@ -6426,6 +7360,19 @@ $
 .
 \end_layout
 
+\begin_layout Standard
+
+\begin_inset Formula \[
+\begin{array}{rclccc}
+1 + 2 & = & 3 
+\multicolumn{3}{c}{4 < 5 \leq 6 }
+\end{array}
+\]
+\end_inset
+
+
+\end_layout
+
 \begin_layout Section
 Lists/Indices
 \end_layout
@@ -6556,6 +7503,7 @@ undefined index:
 \begin_inset CommandInset index_print
 LatexCommand printindex
 type "idx"
+literal "true"
 
 \end_inset
 
@@ -6571,6 +7519,7 @@ index "idx":
 \begin_inset CommandInset index_print
 LatexCommand printindex
 type "idx"
+literal "true"
 
 \end_inset
 
@@ -6586,6 +7535,7 @@ index "new":
 \begin_inset CommandInset index_print
 LatexCommand printindex
 type "new"
+literal "true"
 
 \end_inset
 
@@ -6601,6 +7551,7 @@ subindex "new":
 \begin_inset CommandInset index_print
 LatexCommand printsubindex
 type "idx"
+literal "true"
 
 \end_inset