]> git.lyx.org Git - lyx.git/blobdiff - src/tex2lyx/test/test-insets.lyx.lyx
Small update of TODO
[lyx.git] / src / tex2lyx / test / test-insets.lyx.lyx
index f7e70f843204bf27f5efb50767479660c65a1e12..0aa2ee886a1f7b0123823654388cd6fe725fa318 100644 (file)
@@ -1,7 +1,9 @@
-#LyX file created by tex2lyx 2.1
-\lyxformat 474
+#LyX file created by tex2lyx 2.3
+\lyxformat 544
 \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 false
+\use_dash_ligatures true
 \graphics default
 \default_output_format default
 \output_sync 0
@@ -69,6 +73,7 @@
 \suppress_date false
 \justification true
 \use_refstyle 0
+\use_minted 0
 \index Index
 \shortcut idx
 \color #008000
 \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
@@ -111,6 +119,10 @@ status collapsed
 %stupid stuff
 \end_layout
 
+\begin_layout Plain Layout
+
+\end_layout
+
 \end_inset
 
 
@@ -177,6 +189,9 @@ name "lab:test"
 \begin_inset CommandInset ref
 LatexCommand ref
 reference "lab:test"
+plural "false"
+caps "false"
+noprefix "false"
 
 \end_inset
 
@@ -201,6 +216,9 @@ Of course there are other kind of references, like page reference
 \begin_inset CommandInset ref
 LatexCommand pageref
 reference "lab:test"
+plural "false"
+caps "false"
+noprefix "false"
 
 \end_inset
 
@@ -213,6 +231,9 @@ reference "lab:test"
 \begin_inset CommandInset ref
 LatexCommand eqref
 reference "lab:test"
+plural "false"
+caps "false"
+noprefix "false"
 
 \end_inset
 
@@ -225,6 +246,9 @@ reference "lab:test"
 \begin_inset CommandInset ref
 LatexCommand vref
 reference "lab:test"
+plural "false"
+caps "false"
+noprefix "false"
 
 \end_inset
 
@@ -237,6 +261,9 @@ reference "lab:test"
 \begin_inset CommandInset ref
 LatexCommand vpageref
 reference "lab:test"
+plural "false"
+caps "false"
+noprefix "false"
 
 \end_inset
 
@@ -249,6 +276,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
 
@@ -284,17 +329,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
@@ -320,6 +355,7 @@ LatexCommand citep
 after "after"
 before ""
 key "article-crossref"
+literal "true"
 
 \end_inset
 
@@ -331,6 +367,7 @@ LatexCommand citep
 after "after"
 before ""
 key "whole-set,article-crossref"
+literal "true"
 
 \end_inset
 
@@ -350,6 +387,7 @@ LatexCommand citet
 after "after"
 before "before"
 key "article-crossref"
+literal "true"
 
 \end_inset
 
@@ -361,6 +399,7 @@ LatexCommand citet*
 after "after"
 before "before"
 key "article-crossref"
+literal "true"
 
 \end_inset
 
@@ -372,6 +411,7 @@ LatexCommand Citet
 after "after"
 before "before"
 key "article-crossref"
+literal "true"
 
 \end_inset
 
@@ -383,6 +423,7 @@ LatexCommand Citet*
 after "after"
 before "before"
 key "article-crossref"
+literal "true"
 
 \end_inset
 
@@ -398,6 +439,7 @@ LatexCommand citep
 after "after"
 before "before"
 key "article-crossref"
+literal "true"
 
 \end_inset
 
@@ -409,6 +451,7 @@ LatexCommand citep*
 after "after"
 before "before"
 key "article-crossref"
+literal "true"
 
 \end_inset
 
@@ -420,6 +463,7 @@ LatexCommand Citep
 after "after"
 before "before"
 key "article-crossref"
+literal "true"
 
 \end_inset
 
@@ -431,6 +475,7 @@ LatexCommand Citep*
 after "after"
 before "before"
 key "article-crossref"
+literal "true"
 
 \end_inset
 
@@ -446,6 +491,7 @@ LatexCommand citealt
 after "after"
 before "before"
 key "article-crossref"
+literal "true"
 
 \end_inset
 
@@ -457,6 +503,7 @@ LatexCommand citealt*
 after "after"
 before "before"
 key "article-crossref"
+literal "true"
 
 \end_inset
 
@@ -468,6 +515,7 @@ LatexCommand Citealt
 after "after"
 before "before"
 key "article-crossref"
+literal "true"
 
 \end_inset
 
@@ -479,6 +527,7 @@ LatexCommand Citealt*
 after "after"
 before "before"
 key "article-crossref"
+literal "true"
 
 \end_inset
 
@@ -494,6 +543,7 @@ LatexCommand citealp
 after "after"
 before "before"
 key "article-crossref"
+literal "true"
 
 \end_inset
 
@@ -505,6 +555,7 @@ LatexCommand citealp*
 after "after"
 before "before"
 key "article-crossref"
+literal "true"
 
 \end_inset
 
@@ -516,6 +567,7 @@ LatexCommand Citep
 after "after"
 before "before"
 key "article-crossref"
+literal "true"
 
 \end_inset
 
@@ -527,6 +579,7 @@ LatexCommand Citealp*
 after "after"
 before "before"
 key "article-crossref"
+literal "true"
 
 \end_inset
 
@@ -542,6 +595,7 @@ LatexCommand citeauthor
 after "after"
 before "before"
 key "article-crossref"
+literal "true"
 
 \end_inset
 
@@ -553,6 +607,7 @@ LatexCommand citeauthor*
 after "after"
 before "before"
 key "article-crossref"
+literal "true"
 
 \end_inset
 
@@ -564,6 +619,7 @@ LatexCommand Citeauthor
 after "after"
 before "before"
 key "article-crossref"
+literal "true"
 
 \end_inset
 
@@ -575,6 +631,7 @@ LatexCommand Citeauthor*
 after "after"
 before "before"
 key "article-crossref"
+literal "true"
 
 \end_inset
 
@@ -590,6 +647,7 @@ LatexCommand citeyear
 after "after"
 before "before"
 key "article-crossref"
+literal "true"
 
 \end_inset
 
@@ -605,6 +663,7 @@ LatexCommand citeyearpar
 after "after"
 before "before"
 key "article-crossref"
+literal "true"
 
 \end_inset
 
@@ -619,6 +678,7 @@ nocite:
 LatexCommand nocite
 after ""
 key "article-crossref"
+literal "true"
 
 \end_inset
 
@@ -636,6 +696,10 @@ status collapsed
 bibliography since LaTeX throws an error.
 \end_layout
 
+\begin_layout Plain Layout
+
+\end_layout
+
 \end_inset
 
 
@@ -648,6 +712,10 @@ status collapsed
 bibliographystyle{unsrt}
 \end_layout
 
+\begin_layout Plain Layout
+
+\end_layout
+
 \end_inset
 
 
@@ -687,6 +755,7 @@ LatexCommand citet
 after ""
 before ""
 key "gur+04"
+literal "true"
 
 \end_inset
 
@@ -695,10 +764,34 @@ key "gur+04"
 
 \begin_layout Bibliography
 
+\begin_inset CommandInset bibitem
+LatexCommand bibitem
+label "Möstl et~al.(2010)"
+key "Mostl2010"
+literal "true"
+
+\end_inset
+
+ Gürkan, M.
+\begin_inset space ~
+
+\end_inset
+
+A., Freitag, M., & Rasio, F.
+\begin_inset space ~
+
+\end_inset
+
+A. 2004, ApJ, 604, 632 
+\end_layout
+
+\begin_layout Bibliography
+
 \begin_inset CommandInset bibitem
 LatexCommand bibitem
 label "{{Gürkan et~al.}(2004)}"
 key "gur+04"
+literal "true"
 
 \end_inset
 
@@ -894,6 +987,7 @@ LatexCommand nomenclature
 prefix "www"
 symbol "URL"
 description "uniform resource locator"
+literal "true"
 
 \end_inset
 
@@ -916,6 +1010,7 @@ http://www.lyx.org
 LatexCommand nomenclature
 symbol "URL2"
 description "uniform resource locator"
+literal "true"
 
 \end_inset
 
@@ -941,6 +1036,7 @@ link:
 \begin_inset CommandInset href
 LatexCommand href
 target "www.test.test"
+literal "true"
 
 \end_inset
 
@@ -952,6 +1048,7 @@ link2:
 \begin_inset CommandInset href
 LatexCommand href
 target "http://www.test.test"
+literal "true"
 
 \end_inset
 
@@ -965,6 +1062,7 @@ LatexCommand href
 name "name"
 target "www.test.test"
 type "mailto:"
+literal "true"
 
 \end_inset
 
@@ -977,6 +1075,7 @@ file:
 LatexCommand href
 target "www.test.test"
 type "file:"
+literal "true"
 
 \end_inset
 
@@ -988,6 +1087,7 @@ ftp:
 \begin_inset CommandInset href
 LatexCommand href
 target "ftp://www.test.test"
+literal "true"
 
 \end_inset
 
@@ -1000,6 +1100,7 @@ ftp2:
 LatexCommand href
 name "www.test.test"
 target "ftp://www.test.test"
+literal "true"
 
 \end_inset
 
@@ -1012,6 +1113,7 @@ parser test (stupid, but valid):
 LatexCommand href
 name "}"
 target "http://www.test.test"
+literal "true"
 
 \end_inset
 
@@ -1024,6 +1126,7 @@ parser test (escaped):
 LatexCommand href
 name "a brace } and another one { and something"
 target "http://www.test.test"
+literal "true"
 
 \end_inset
 
@@ -1402,11 +1505,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
@@ -1483,11 +1587,12 @@ Second
 
 \begin_inset Caption Standard
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 \begin_inset Argument 1
 status collapsed
 
+
 \end_inset
 
 (continued)
@@ -1556,19 +1661,9 @@ Second
 
 \begin_layout Standard
 
-\begin_inset Caption LongTableNoNumber
-
-\begin_layout Standard
-
-\begin_inset Argument 1
-status collapsed
-
-\begin_layout Standard
-An optional table foot caption (used in the list of tables)
-\end_layout
-
-\end_inset
+\begin_inset Caption Unnumbered
 
+\begin_layout Plain Layout
 standard foot
 \end_layout
 
@@ -1611,15 +1706,9 @@ bottom.
 
 \begin_layout Standard
 
-\begin_inset Caption LongTableNoNumber
-
-\begin_layout Standard
-
-\begin_inset Argument 1
-status collapsed
-
-\end_inset
+\begin_inset Caption Unnumbered
 
+\begin_layout Plain Layout
 (last foot)
 \end_layout
 
@@ -3110,7 +3199,8 @@ row
 \begin_inset Quotes erd
 \end_inset
 
- of the table can take up several lines. Note however that TeX
+ of the table can take up several lines. Note however that \SpecialChar TeX
+
 \begin_inset space \space{}
 
 \end_inset
@@ -3437,17 +3527,7 @@ like this.
 \end_layout
 
 \begin_layout Standard
-From bug 7412 another example with more captions (can currently not produced in 
-\begin_inset ERT
-status collapsed
-
-\begin_layout 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">
@@ -3461,7 +3541,7 @@ LyX
 
 \begin_inset Caption Standard
 
-\begin_layout Standard
+\begin_layout Plain Layout
 A long table
 \end_layout
 
@@ -3486,8 +3566,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
@@ -4399,6 +4479,10 @@ status collapsed
 % some comment
 \end_layout
 
+\begin_layout Plain Layout
+
+\end_layout
+
 \end_inset
 
 
@@ -4467,7 +4551,7 @@ status open
 
 \begin_inset Caption Standard
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 \begin_inset CommandInset label
 LatexCommand label
@@ -4980,164 +5064,793 @@ 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
-\end_layout
 
-\end_inset
+\begin_layout Standard
 
- supports several kinds of macros: def 
-\begin_inset FormulaMacro
-\def\macroa #1{a #1 a}
-\end_inset
+\begin_inset Tabular 
+<lyxtabular version="3" rows="4" columns="5">
+<features rotate="0" tabularvalignment="middle" tabularwidth="0pt">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="none" valignment="top" special="d">
+<column alignment="none" valignment="top" special="d">
+<column alignment="none" valignment="top" special="d">
+<row>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
 
- global def 
-\begin_inset FormulaMacro
-\def\macrob #1{b #1 b}
-\end_inset
+\begin_layout Standard
+One
+\end_layout
 
- long def 
-\begin_inset FormulaMacro
-\def\macroc #1{c #1 c}
 \end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+Two
+\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
+Three
+\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
+Four
+\family default
 
-\backslash
-providecommand*{
-\backslash
-macrof}[1]{f #1 f}
 \end_layout
 
 \end_inset
+</cell>
+<cell multicolumn="1" alignment="none" valignment="top" usebox="none" special="c">
+\begin_inset Text
 
- newcommand 
-\begin_inset FormulaMacro
-\newcommand{\macrog}[1]{g #1 g}
-\end_inset
+\begin_layout Standard
+
+\family roman
+Five
+\family default
+
+\end_layout
 
- renewcommand 
-\begin_inset FormulaMacro
-\renewcommand{\macrog}[1]{h #1 h}
 \end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
 
- newcommand* 
-\begin_inset ERT
-status collapsed
+\begin_layout Standard
+one
+\end_layout
 
-\begin_layout Plain Layout
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
 
-\backslash
-newcommand*{
-\backslash
-macroi}[1]{i #1 i}
+\begin_layout Standard
+two
 \end_layout
 
 \end_inset
+</cell>
+<cell alignment="none" valignment="top" topline="true" usebox="none">
+\begin_inset Text
 
- renewcommand* 
-\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
-renewcommand*{
-\backslash
-macroi}[1]{j #1 j}
+
+\begin_layout Standard
+three
 \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
+</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]{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_layout
+
 \end_inset
+</cell>
+<cell alignment="none" valignment="top" topline="true" usebox="none">
+\begin_inset Text
 
- newcommandx* 
-\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
-newcommandx*{
-\backslash
-macroo}[1]{o #1 o}
+
+\begin_layout Standard
+five
 \end_layout
 
 \end_inset
 
- renewcommandx* 
-\begin_inset ERT
-status collapsed
 
-\begin_layout Plain Layout
+\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
+
+ 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*{
@@ -5565,17 +6278,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
@@ -5665,7 +6368,30 @@ height "1pt"
 \end_layout
 
 \begin_layout Subsection
-rules
+Rules
+\end_layout
+
+\begin_layout Standard
+test
+\end_layout
+
+\begin_layout Standard
+
+\size tiny
+
+\begin_inset CommandInset line
+LatexCommand rule
+offset "0.5ex"
+width "100line%"
+height "1pt"
+
+\end_inset
+
+
+\size default
+
+\size tiny
+
 \end_layout
 
 \begin_layout Standard
@@ -5763,7 +6489,7 @@ ow
 
 \begin_inset script superscript
 
-\begin_layout Standard
+\begin_layout Plain Layout
 Wow
 \end_layout
 
@@ -5831,16 +6557,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
 
@@ -5849,7 +6575,7 @@ w
  e
 \begin_inset script superscript
 
-\begin_layout Standard
+\begin_layout Plain Layout
 j
 \end_layout
 
@@ -5858,7 +6584,7 @@ j
  e
 \begin_inset script superscript
 
-\begin_layout Standard
+\begin_layout Plain Layout
 ɣ
 \end_layout
 
@@ -5867,7 +6593,7 @@ j
  e
 \begin_inset script superscript
 
-\begin_layout Standard
+\begin_layout Plain Layout
 ʕ
 \end_layout
 
@@ -5876,7 +6602,7 @@ j
  e̴ e̝ e̞ e̘ e̙ ẽ e
 \begin_inset script superscript
 
-\begin_layout Standard
+\begin_layout Plain Layout
 n
 \end_layout
 
@@ -5885,7 +6611,7 @@ n
  e
 \begin_inset script superscript
 
-\begin_layout Standard
+\begin_layout Plain Layout
 l
 \end_layout
 
@@ -6242,6 +6968,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
@@ -6313,17 +7047,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
 
@@ -6395,122 +7119,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
@@ -6590,6 +7282,10 @@ status collapsed
 % and another
 \end_layout
 
+\begin_layout Plain Layout
+
+\end_layout
+
 \end_inset
 
 
@@ -6609,7 +7305,7 @@ status collapsed
 A sub
 \begin_inset script subscript
 
-\begin_layout Standard
+\begin_layout Plain Layout
 sc
 \emph on
 ript
@@ -6622,7 +7318,7 @@ ript
  and super
 \begin_inset script superscript
 
-\begin_layout Standard
+\begin_layout Plain Layout
 script with 
 \begin_inset Formula $a^2+b^2=c^2$
 \end_inset
@@ -6635,6 +7331,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
@@ -6661,6 +7365,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
@@ -6791,6 +7508,7 @@ undefined index:
 \begin_inset CommandInset index_print
 LatexCommand printindex
 type "idx"
+literal "true"
 
 \end_inset
 
@@ -6806,6 +7524,7 @@ index "idx":
 \begin_inset CommandInset index_print
 LatexCommand printindex
 type "idx"
+literal "true"
 
 \end_inset
 
@@ -6821,6 +7540,7 @@ index "new":
 \begin_inset CommandInset index_print
 LatexCommand printindex
 type "new"
+literal "true"
 
 \end_inset
 
@@ -6836,6 +7556,7 @@ subindex "new":
 \begin_inset CommandInset index_print
 LatexCommand printsubindex
 type "idx"
+literal "true"
 
 \end_inset