]> git.lyx.org Git - lyx.git/blobdiff - src/tex2lyx/test/test-insets.lyx.lyx
Amend 26ea1e1 for roundtrip tests
[lyx.git] / src / tex2lyx / test / test-insets.lyx.lyx
index d8bac4e343b6d95379345ae79b90819bffbc96be..0ebed5d7066abe8f5c181cf7fb0c11814370e0cc 100644 (file)
@@ -1,7 +1,8 @@
-#LyX file created by tex2lyx 2.2
-\lyxformat 502
+#LyX file created by tex2lyx 2.4
+\lyxformat 550
 \begin_document
 \begin_header
+\save_transient_properties true
 \origin roundtrip
 \textclass article
 \begin_preamble
@@ -32,6 +33,8 @@
 \font_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
@@ -70,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
@@ -182,6 +189,9 @@ name "lab:test"
 \begin_inset CommandInset ref
 LatexCommand ref
 reference "lab:test"
+plural "false"
+caps "false"
+noprefix "false"
 
 \end_inset
 
@@ -206,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
 
@@ -218,6 +231,9 @@ reference "lab:test"
 \begin_inset CommandInset ref
 LatexCommand eqref
 reference "lab:test"
+plural "false"
+caps "false"
+noprefix "false"
 
 \end_inset
 
@@ -230,6 +246,9 @@ reference "lab:test"
 \begin_inset CommandInset ref
 LatexCommand vref
 reference "lab:test"
+plural "false"
+caps "false"
+noprefix "false"
 
 \end_inset
 
@@ -242,6 +261,9 @@ reference "lab:test"
 \begin_inset CommandInset ref
 LatexCommand vpageref
 reference "lab:test"
+plural "false"
+caps "false"
+noprefix "false"
 
 \end_inset
 
@@ -254,6 +276,9 @@ reference "lab:test"
 \begin_inset CommandInset ref
 LatexCommand formatted
 reference "lab:test"
+plural "false"
+caps "false"
+noprefix "false"
 
 \end_inset
 
@@ -266,6 +291,9 @@ reference "lab:test"
 \begin_inset CommandInset ref
 LatexCommand nameref
 reference "lab:test"
+plural "false"
+caps "false"
+noprefix "false"
 
 \end_inset
 
@@ -327,6 +355,7 @@ LatexCommand citep
 after "after"
 before ""
 key "article-crossref"
+literal "false"
 
 \end_inset
 
@@ -338,6 +367,7 @@ LatexCommand citep
 after "after"
 before ""
 key "whole-set,article-crossref"
+literal "false"
 
 \end_inset
 
@@ -357,6 +387,7 @@ LatexCommand citet
 after "after"
 before "before"
 key "article-crossref"
+literal "false"
 
 \end_inset
 
@@ -368,6 +399,7 @@ LatexCommand citet*
 after "after"
 before "before"
 key "article-crossref"
+literal "false"
 
 \end_inset
 
@@ -379,6 +411,7 @@ LatexCommand Citet
 after "after"
 before "before"
 key "article-crossref"
+literal "false"
 
 \end_inset
 
@@ -390,6 +423,7 @@ LatexCommand Citet*
 after "after"
 before "before"
 key "article-crossref"
+literal "false"
 
 \end_inset
 
@@ -405,6 +439,7 @@ LatexCommand citep
 after "after"
 before "before"
 key "article-crossref"
+literal "false"
 
 \end_inset
 
@@ -416,6 +451,7 @@ LatexCommand citep*
 after "after"
 before "before"
 key "article-crossref"
+literal "false"
 
 \end_inset
 
@@ -427,6 +463,7 @@ LatexCommand Citep
 after "after"
 before "before"
 key "article-crossref"
+literal "false"
 
 \end_inset
 
@@ -438,6 +475,7 @@ LatexCommand Citep*
 after "after"
 before "before"
 key "article-crossref"
+literal "false"
 
 \end_inset
 
@@ -453,6 +491,7 @@ LatexCommand citealt
 after "after"
 before "before"
 key "article-crossref"
+literal "false"
 
 \end_inset
 
@@ -464,6 +503,7 @@ LatexCommand citealt*
 after "after"
 before "before"
 key "article-crossref"
+literal "false"
 
 \end_inset
 
@@ -475,6 +515,7 @@ LatexCommand Citealt
 after "after"
 before "before"
 key "article-crossref"
+literal "false"
 
 \end_inset
 
@@ -486,6 +527,7 @@ LatexCommand Citealt*
 after "after"
 before "before"
 key "article-crossref"
+literal "false"
 
 \end_inset
 
@@ -501,6 +543,7 @@ LatexCommand citealp
 after "after"
 before "before"
 key "article-crossref"
+literal "false"
 
 \end_inset
 
@@ -512,6 +555,7 @@ LatexCommand citealp*
 after "after"
 before "before"
 key "article-crossref"
+literal "false"
 
 \end_inset
 
@@ -523,6 +567,7 @@ LatexCommand Citep
 after "after"
 before "before"
 key "article-crossref"
+literal "false"
 
 \end_inset
 
@@ -534,6 +579,7 @@ LatexCommand Citealp*
 after "after"
 before "before"
 key "article-crossref"
+literal "false"
 
 \end_inset
 
@@ -549,6 +595,7 @@ LatexCommand citeauthor
 after "after"
 before "before"
 key "article-crossref"
+literal "false"
 
 \end_inset
 
@@ -560,6 +607,7 @@ LatexCommand citeauthor*
 after "after"
 before "before"
 key "article-crossref"
+literal "false"
 
 \end_inset
 
@@ -571,6 +619,7 @@ LatexCommand Citeauthor
 after "after"
 before "before"
 key "article-crossref"
+literal "false"
 
 \end_inset
 
@@ -582,6 +631,7 @@ LatexCommand Citeauthor*
 after "after"
 before "before"
 key "article-crossref"
+literal "false"
 
 \end_inset
 
@@ -597,6 +647,7 @@ LatexCommand citeyear
 after "after"
 before "before"
 key "article-crossref"
+literal "false"
 
 \end_inset
 
@@ -612,6 +663,7 @@ LatexCommand citeyearpar
 after "after"
 before "before"
 key "article-crossref"
+literal "false"
 
 \end_inset
 
@@ -626,6 +678,7 @@ nocite:
 LatexCommand nocite
 after ""
 key "article-crossref"
+literal "false"
 
 \end_inset
 
@@ -702,6 +755,7 @@ LatexCommand citet
 after ""
 before ""
 key "gur+04"
+literal "false"
 
 \end_inset
 
@@ -714,6 +768,7 @@ key "gur+04"
 LatexCommand bibitem
 label "Möstl et~al.(2010)"
 key "Mostl2010"
+literal "false"
 
 \end_inset
 
@@ -736,6 +791,7 @@ A. 2004, ApJ, 604, 632
 LatexCommand bibitem
 label "{{Gürkan et~al.}(2004)}"
 key "gur+04"
+literal "false"
 
 \end_inset
 
@@ -772,6 +828,7 @@ We can input files too, like this
 LatexCommand input
 preview false
 filename "DummyDocument.lyx.lyx"
+literal "false"
 
 \end_inset
 
@@ -780,6 +837,7 @@ filename "DummyDocument.lyx.lyx"
 LatexCommand include
 preview false
 filename "Dummy Document.tex"
+literal "false"
 
 \end_inset
 
@@ -788,6 +846,7 @@ filename "Dummy Document.tex"
 LatexCommand include
 preview false
 filename "Dummy Document.tex"
+literal "false"
 
 \end_inset
 
@@ -796,6 +855,7 @@ filename "Dummy Document.tex"
 LatexCommand include
 preview false
 filename "Dummy~Document.lyx.lyx"
+literal "false"
 
 \end_inset
 
@@ -804,6 +864,7 @@ filename "Dummy~Document.lyx.lyx"
 LatexCommand include
 preview false
 filename "Dummy~Document.lyx.lyx"
+literal "false"
 
 \end_inset
 
@@ -812,6 +873,7 @@ filename "Dummy~Document.lyx.lyx"
 LatexCommand include
 preview false
 filename "Dummy\"Document.tex"
+literal "false"
 
 \end_inset
 
@@ -895,6 +957,7 @@ If you prefer verbatim input, you can choose between
 LatexCommand verbatiminput
 preview false
 filename "foo"
+literal "false"
 
 \end_inset
 
@@ -908,6 +971,7 @@ filename "foo"
 LatexCommand verbatiminput*
 preview false
 filename "foo"
+literal "false"
 
 \end_inset
 
@@ -931,6 +995,7 @@ LatexCommand nomenclature
 prefix "www"
 symbol "URL"
 description "uniform resource locator"
+literal "false"
 
 \end_inset
 
@@ -939,7 +1004,7 @@ description "uniform resource locator"
 
 \begin_layout Standard
 An URL: 
-\begin_inset Flex Flex:URL
+\begin_inset Flex URL
 status collapsed
 
 \begin_layout Plain Layout
@@ -953,6 +1018,7 @@ http://www.lyx.org
 LatexCommand nomenclature
 symbol "URL2"
 description "uniform resource locator"
+literal "false"
 
 \end_inset
 
@@ -961,7 +1027,7 @@ description "uniform resource locator"
 
 \begin_layout Standard
 An URL with strange characters: 
-\begin_inset Flex Flex:URL
+\begin_inset Flex URL
 status collapsed
 
 \begin_layout Plain Layout
@@ -978,6 +1044,7 @@ link:
 \begin_inset CommandInset href
 LatexCommand href
 target "www.test.test"
+literal "false"
 
 \end_inset
 
@@ -989,6 +1056,7 @@ link2:
 \begin_inset CommandInset href
 LatexCommand href
 target "http://www.test.test"
+literal "false"
 
 \end_inset
 
@@ -1002,6 +1070,7 @@ LatexCommand href
 name "name"
 target "www.test.test"
 type "mailto:"
+literal "false"
 
 \end_inset
 
@@ -1014,6 +1083,7 @@ file:
 LatexCommand href
 target "www.test.test"
 type "file:"
+literal "false"
 
 \end_inset
 
@@ -1025,6 +1095,7 @@ ftp:
 \begin_inset CommandInset href
 LatexCommand href
 target "ftp://www.test.test"
+literal "false"
 
 \end_inset
 
@@ -1037,6 +1108,7 @@ ftp2:
 LatexCommand href
 name "www.test.test"
 target "ftp://www.test.test"
+literal "false"
 
 \end_inset
 
@@ -1049,6 +1121,7 @@ parser test (stupid, but valid):
 LatexCommand href
 name "}"
 target "http://www.test.test"
+literal "false"
 
 \end_inset
 
@@ -1061,6 +1134,7 @@ parser test (escaped):
 LatexCommand href
 name "a brace } and another one { and something"
 target "http://www.test.test"
+literal "false"
 
 \end_inset
 
@@ -1104,7 +1178,7 @@ Inline:
 \begin_inset listings
 lstparams "language={C++},keywordstyle={\color{green}}"
 inline true
-status collapsed
+status open
 
 \begin_layout Plain Layout
 int a=5;
@@ -1124,7 +1198,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
@@ -1208,7 +1282,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):
@@ -1256,7 +1330,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
@@ -1272,7 +1346,7 @@ hello
 \begin_inset listings
 lstparams "language=TeX"
 inline true
-status collapsed
+status open
 
 \begin_layout Plain Layout
 
@@ -1595,7 +1669,7 @@ Second
 
 \begin_layout Standard
 
-\begin_inset Caption LongTableNoNumber
+\begin_inset Caption Unnumbered
 
 \begin_layout Plain Layout
 standard foot
@@ -1640,7 +1714,7 @@ bottom.
 
 \begin_layout Standard
 
-\begin_inset Caption LongTableNoNumber
+\begin_inset Caption Unnumbered
 
 \begin_layout Plain Layout
 (last foot)
@@ -6848,22 +6922,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
@@ -6902,6 +6966,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
@@ -7434,6 +7506,7 @@ undefined index:
 \begin_inset CommandInset index_print
 LatexCommand printindex
 type "idx"
+literal "true"
 
 \end_inset
 
@@ -7441,7 +7514,27 @@ type "idx"
 \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
@@ -7449,6 +7542,7 @@ index "idx":
 \begin_inset CommandInset index_print
 LatexCommand printindex
 type "idx"
+literal "true"
 
 \end_inset
 
@@ -7456,7 +7550,27 @@ type "idx"
 \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
@@ -7464,6 +7578,7 @@ index "new":
 \begin_inset CommandInset index_print
 LatexCommand printindex
 type "new"
+literal "true"
 
 \end_inset
 
@@ -7471,7 +7586,27 @@ type "new"
 \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
@@ -7479,6 +7614,7 @@ subindex "new":
 \begin_inset CommandInset index_print
 LatexCommand printsubindex
 type "idx"
+literal "true"
 
 \end_inset