]> git.lyx.org Git - lyx.git/blobdiff - src/tex2lyx/test/test-insets-basic.lyx.lyx
Update tex2lyx tests after the format change
[lyx.git] / src / tex2lyx / test / test-insets-basic.lyx.lyx
index 4cc035cc1f67f67db932b4cc713350f6dcd8acbb..2e9f919a092bbf21131e4360e2fa70ee1ece7c3e 100644 (file)
@@ -1,5 +1,5 @@
 #LyX file created by tex2lyx 2.4
-\lyxformat 544
+\lyxformat 599
 \begin_document
 \begin_header
 \save_transient_properties true
@@ -42,7 +42,7 @@
 
 \end_preamble
 \use_default_options false
-\maintain_unincluded_children false
+\maintain_unincluded_children no
 \language english
 \language_package none
 \inputencoding iso8859-15
@@ -54,7 +54,9 @@
 \font_default_family default
 \use_non_tex_fonts false
 \font_sc false
-\font_osf false
+\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
@@ -76,7 +78,7 @@
 \pdf_colorlinks 0
 \pdf_backref section
 \pdf_pdfusetitle 0
-\papersize a4paper
+\papersize a4
 \use_geometry false
 \use_package amsmath 2
 \use_package amssymb 2
 \justification true
 \use_refstyle 0
 \use_minted 0
+\use_lineno false
 \index Index
 \shortcut idx
 \color #008000
 \paperpagestyle default
 \tracking_changes false
 \output_changes false
+\change_bars false
 \html_math_output 0
 \html_css_as_file 0
 \html_be_strict false
+\docbook_table_output 0
 \end_header
 
 \begin_body
@@ -375,7 +380,7 @@ LatexCommand citep
 after "after"
 before ""
 key "article-crossref"
-literal "true"
+literal "false"
 
 \end_inset
 
@@ -387,7 +392,7 @@ LatexCommand citep
 after "after"
 before ""
 key "whole-set,article-crossref"
-literal "true"
+literal "false"
 
 \end_inset
 
@@ -407,7 +412,7 @@ LatexCommand citet
 after "after"
 before "before"
 key "article-crossref"
-literal "true"
+literal "false"
 
 \end_inset
 
@@ -419,7 +424,7 @@ LatexCommand citet*
 after "after"
 before "before"
 key "article-crossref"
-literal "true"
+literal "false"
 
 \end_inset
 
@@ -431,7 +436,7 @@ LatexCommand Citet
 after "after"
 before "before"
 key "article-crossref"
-literal "true"
+literal "false"
 
 \end_inset
 
@@ -443,7 +448,7 @@ LatexCommand Citet*
 after "after"
 before "before"
 key "article-crossref"
-literal "true"
+literal "false"
 
 \end_inset
 
@@ -459,7 +464,7 @@ LatexCommand citep
 after "after"
 before "before"
 key "article-crossref"
-literal "true"
+literal "false"
 
 \end_inset
 
@@ -471,7 +476,7 @@ LatexCommand citep*
 after "after"
 before "before"
 key "article-crossref"
-literal "true"
+literal "false"
 
 \end_inset
 
@@ -483,7 +488,7 @@ LatexCommand Citep
 after "after"
 before "before"
 key "article-crossref"
-literal "true"
+literal "false"
 
 \end_inset
 
@@ -495,7 +500,7 @@ LatexCommand Citep*
 after "after"
 before "before"
 key "article-crossref"
-literal "true"
+literal "false"
 
 \end_inset
 
@@ -511,7 +516,7 @@ LatexCommand citealt
 after "after"
 before "before"
 key "article-crossref"
-literal "true"
+literal "false"
 
 \end_inset
 
@@ -523,7 +528,7 @@ LatexCommand citealt*
 after "after"
 before "before"
 key "article-crossref"
-literal "true"
+literal "false"
 
 \end_inset
 
@@ -535,7 +540,7 @@ LatexCommand Citealt
 after "after"
 before "before"
 key "article-crossref"
-literal "true"
+literal "false"
 
 \end_inset
 
@@ -547,7 +552,7 @@ LatexCommand Citealt*
 after "after"
 before "before"
 key "article-crossref"
-literal "true"
+literal "false"
 
 \end_inset
 
@@ -563,7 +568,7 @@ LatexCommand citealp
 after "after"
 before "before"
 key "article-crossref"
-literal "true"
+literal "false"
 
 \end_inset
 
@@ -575,7 +580,7 @@ LatexCommand citealp*
 after "after"
 before "before"
 key "article-crossref"
-literal "true"
+literal "false"
 
 \end_inset
 
@@ -587,7 +592,7 @@ LatexCommand Citep
 after "after"
 before "before"
 key "article-crossref"
-literal "true"
+literal "false"
 
 \end_inset
 
@@ -599,7 +604,7 @@ LatexCommand Citealp*
 after "after"
 before "before"
 key "article-crossref"
-literal "true"
+literal "false"
 
 \end_inset
 
@@ -615,7 +620,7 @@ LatexCommand citeauthor
 after "after"
 before "before"
 key "article-crossref"
-literal "true"
+literal "false"
 
 \end_inset
 
@@ -627,7 +632,7 @@ LatexCommand citeauthor*
 after "after"
 before "before"
 key "article-crossref"
-literal "true"
+literal "false"
 
 \end_inset
 
@@ -639,7 +644,7 @@ LatexCommand Citeauthor
 after "after"
 before "before"
 key "article-crossref"
-literal "true"
+literal "false"
 
 \end_inset
 
@@ -651,7 +656,7 @@ LatexCommand Citeauthor*
 after "after"
 before "before"
 key "article-crossref"
-literal "true"
+literal "false"
 
 \end_inset
 
@@ -667,7 +672,7 @@ LatexCommand citeyear
 after "after"
 before "before"
 key "article-crossref"
-literal "true"
+literal "false"
 
 \end_inset
 
@@ -683,7 +688,7 @@ LatexCommand citeyearpar
 after "after"
 before "before"
 key "article-crossref"
-literal "true"
+literal "false"
 
 \end_inset
 
@@ -698,7 +703,7 @@ nocite:
 LatexCommand nocite
 after ""
 key "article-crossref"
-literal "true"
+literal "false"
 
 \end_inset
 
@@ -775,7 +780,7 @@ LatexCommand citet
 after ""
 before ""
 key "gur+04"
-literal "true"
+literal "false"
 
 \end_inset
 
@@ -788,7 +793,7 @@ literal "true"
 LatexCommand bibitem
 label "Möstl et~al.(2010)"
 key "Mostl2010"
-literal "true"
+literal "false"
 
 \end_inset
 
@@ -811,7 +816,7 @@ A. 2004, ApJ, 604, 632
 LatexCommand bibitem
 label "{{Gürkan et~al.}(2004)}"
 key "gur+04"
-literal "true"
+literal "false"
 
 \end_inset
 
@@ -848,6 +853,7 @@ We can input files too, like this
 LatexCommand input
 preview false
 filename "DummyDocument.lyx.lyx"
+literal "false"
 
 \end_inset
 
@@ -856,6 +862,7 @@ filename "DummyDocument.lyx.lyx"
 LatexCommand include
 preview false
 filename "Dummy Document.tex"
+literal "false"
 
 \end_inset
 
@@ -864,6 +871,7 @@ filename "Dummy Document.tex"
 LatexCommand include
 preview false
 filename "Dummy Document.tex"
+literal "false"
 
 \end_inset
 
@@ -872,6 +880,7 @@ filename "Dummy Document.tex"
 LatexCommand include
 preview false
 filename "Dummy~Document.lyx.lyx"
+literal "false"
 
 \end_inset
 
@@ -880,6 +889,7 @@ filename "Dummy~Document.lyx.lyx"
 LatexCommand include
 preview false
 filename "Dummy~Document.lyx.lyx"
+literal "false"
 
 \end_inset
 
@@ -894,7 +904,7 @@ We can also import PDF pages:
 
 \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
@@ -918,6 +928,7 @@ If you prefer verbatim input, you can choose between
 LatexCommand verbatiminput
 preview false
 filename "DummyDocument.tex"
+literal "false"
 
 \end_inset
 
@@ -931,6 +942,7 @@ filename "DummyDocument.tex"
 LatexCommand verbatiminput*
 preview false
 filename "DummyDocument.tex"
+literal "false"
 
 \end_inset
 
@@ -954,7 +966,7 @@ LatexCommand nomenclature
 prefix "www"
 symbol "URL"
 description "uniform resource locator"
-literal "true"
+literal "false"
 
 \end_inset
 
@@ -977,7 +989,7 @@ http://www.lyx.org
 LatexCommand nomenclature
 symbol "URL2"
 description "uniform resource locator"
-literal "true"
+literal "false"
 
 \end_inset
 
@@ -1003,7 +1015,7 @@ link:
 \begin_inset CommandInset href
 LatexCommand href
 target "www.test.test"
-literal "true"
+literal "false"
 
 \end_inset
 
@@ -1015,7 +1027,7 @@ link2:
 \begin_inset CommandInset href
 LatexCommand href
 target "http://www.test.test"
-literal "true"
+literal "false"
 
 \end_inset
 
@@ -1029,7 +1041,7 @@ LatexCommand href
 name "name"
 target "www.test.test"
 type "mailto:"
-literal "true"
+literal "false"
 
 \end_inset
 
@@ -1042,7 +1054,7 @@ file:
 LatexCommand href
 target "www.test.test"
 type "file:"
-literal "true"
+literal "false"
 
 \end_inset
 
@@ -1054,7 +1066,7 @@ ftp:
 \begin_inset CommandInset href
 LatexCommand href
 target "ftp://www.test.test"
-literal "true"
+literal "false"
 
 \end_inset
 
@@ -1067,7 +1079,7 @@ ftp2:
 LatexCommand href
 name "www.test.test"
 target "ftp://www.test.test"
-literal "true"
+literal "false"
 
 \end_inset
 
@@ -1111,7 +1123,7 @@ Inline:
 \begin_inset listings
 lstparams "language={C++},keywordstyle={\color{green}}"
 inline true
-status collapsed
+status open
 
 \begin_layout Plain Layout
 int a=5;
@@ -1131,7 +1143,7 @@ int a=5;
 \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
@@ -1215,7 +1227,7 @@ symbol
 \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):
@@ -1263,7 +1275,7 @@ 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
@@ -1279,7 +1291,7 @@ hello
 \begin_inset listings
 lstparams "language=TeX"
 inline true
-status collapsed
+status open
 
 \begin_layout Plain Layout
 
@@ -1317,9 +1329,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
 
@@ -1414,7 +1426,7 @@ clearpage}
 
 \begin_inset Tabular 
 <lyxtabular version="3" rows="66" columns="2">
-<features rotate="0" islongtable="true">
+<features islongtable="true" tabularwidth="0pt">
 <column alignment="none" valignment="top" special="@{*}r">
 <column alignment="none" valignment="top" special="|p{1in}@{*}">
 <row endfirsthead="true">
@@ -3471,7 +3483,7 @@ like this.
 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">
@@ -4429,7 +4441,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>
@@ -4534,7 +4546,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">
@@ -4584,75 +4596,11 @@ 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 Plain Layout
-
-\backslash
-cmidrule
-\end_layout
-
-\end_inset
-
-(r)
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-{
-\end_layout
-
-\end_inset
-
-2-2
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-}
-\end_layout
-
-\end_inset
-
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-\backslash
-cmidrule
-\end_layout
-
-\end_inset
-
-(l)
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-{
-\end_layout
-
-\end_inset
-
-3-4
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-}
-\end_layout
-
-\end_inset
-
-
 \begin_inset ERT
 status collapsed
 
@@ -4701,7 +4649,7 @@ Detector thickness in µm
 
 \end_inset
 </cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" toplinertrim="true" usebox="none">
 \begin_inset Text
 
 \begin_layout Standard
@@ -4710,7 +4658,7 @@ Detector thickness in µm
 
 \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
@@ -4719,7 +4667,7 @@ Detector thickness in µm
 
 \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
@@ -5020,16 +4968,13 @@ status open
 \begin_layout Standard
 
 \begin_inset Tabular 
-<lyxtabular version="3" rows="4" columns="8">
-<features rotate="0" tabularvalignment="middle" tabularwidth="0pt">
+<lyxtabular version="3" rows="4" columns="5">
+<features 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">
+<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
@@ -5049,7 +4994,7 @@ Two
 
 \end_inset
 </cell>
-<cell multicolumn="1" alignment="none" valignment="top" usebox="none" special="c">
+<cell alignment="none" valignment="top" usebox="none" special="c">
 \begin_inset Text
 
 \begin_layout Standard
@@ -5058,12 +5003,7 @@ Three
 
 \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">
+<cell alignment="none" valignment="top" usebox="none" special="c">
 \begin_inset Text
 
 \begin_layout Standard
@@ -5072,23 +5012,13 @@ Four
 
 \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">
+<cell 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>
@@ -5111,7 +5041,7 @@ two
 
 \end_inset
 </cell>
-<cell multicolumn="1" alignment="none" valignment="top" topline="true" usebox="none" special="c">
+<cell alignment="none" valignment="top" topline="true" usebox="none" special="c">
 \begin_inset Text
 
 \begin_layout Standard
@@ -5120,12 +5050,7 @@ three
 
 \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">
+<cell alignment="none" valignment="top" topline="true" usebox="none" special="c">
 \begin_inset Text
 
 \begin_layout Standard
@@ -5134,23 +5059,13 @@ four
 
 \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">
+<cell 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>
@@ -5173,52 +5088,29 @@ He
 
 \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">
+<cell alignment="decimal" valignment="top" usebox="none">
 \begin_inset Text
 
 \begin_layout Standard
-45672
+2.77234 
 \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">
+<cell alignment="decimal" valignment="top" usebox="none">
 \begin_inset Text
 
 \begin_layout Standard
-0
+45672.
 \end_layout
 
 \end_inset
 </cell>
-<cell alignment="none" valignment="top" usebox="none">
+<cell alignment="decimal" valignment="top" usebox="none">
 \begin_inset Text
 
 \begin_layout Standard
-69 
+0.69 
 \end_layout
 
 \end_inset
 
 \end_inset
 </cell>
-<cell alignment="right" valignment="top" usebox="none">
+<cell alignment="decimal" valignment="top" usebox="none">
 \begin_inset Text
 
 \begin_layout Standard
-12537
+12537.64 
 \end_layout
 
 \end_inset
 </cell>
-<cell alignment="none" valignment="top" usebox="none">
+<cell alignment="decimal" valignment="top" usebox="none">
 \begin_inset Text
 
 \begin_layout Standard
-64 
+37.66345 
 \end_layout
 
 \end_inset
 </cell>
-<cell alignment="right" valignment="top" usebox="none">
+<cell alignment="decimal" 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 
+86.37 
 \end_layout
 
 \end_inset
@@ -6469,22 +6334,12 @@ tz
 \begin_inset IPA
 
 \begin_layout Standard
-:;eˈˌ|‖.͡*
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-{
-\end_layout
-
-\end_inset
+:;eˈˌ|‖.
+\begin_inset IPADeco bottomtiebar
+status open
 
+\begin_layout Standard
  
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-}
 \end_layout
 
 \end_inset
@@ -7063,7 +6918,27 @@ literal "true"
 \end_layout
 
 \begin_layout Standard
-index "idx":
+index 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+"
+\end_layout
+
+\end_inset
+
+idx
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+"
+\end_layout
+
+\end_inset
+
+:
 \end_layout
 
 \begin_layout Standard
@@ -7079,7 +6954,27 @@ literal "true"
 \end_layout
 
 \begin_layout Standard
-index "new":
+index 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+"
+\end_layout
+
+\end_inset
+
+new
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+"
+\end_layout
+
+\end_inset
+
+:
 \end_layout
 
 \begin_layout Standard
@@ -7095,7 +6990,27 @@ literal "true"
 \end_layout
 
 \begin_layout Standard
-subindex "new":
+subindex 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+"
+\end_layout
+
+\end_inset
+
+new
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+"
+\end_layout
+
+\end_inset
+
+:
 \end_layout
 
 \begin_layout Standard