]> git.lyx.org Git - lyx.git/blobdiff - src/tex2lyx/test/test-insets-basic.lyx.lyx
tex2lyx: complete minted support (inputminted)
[lyx.git] / src / tex2lyx / test / test-insets-basic.lyx.lyx
index c4a2886efa87bf449811353dc586a40197a42ca2..540c80c5d6128c06224268e2a4429c57a04119a9 100644 (file)
@@ -1,8 +1,9 @@
-#LyX file created by tex2lyx 2.2
-\lyxformat 495
+#LyX file created by tex2lyx 2.3
+\lyxformat 544
 \begin_document
 \begin_header
-\origin D:/LyXGit/Master/src/tex2lyx/test/
+\save_transient_properties true
+\origin roundtrip
 \textclass article
 \begin_preamble
 %% Do not edit unless you really know what you are doing.
 
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands.
-\providecommand{\LyX}{L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}
-\newcommand{\lyxline}[1][1pt]{%
-  \par\noindent%
-  \rule[.5ex]{\linewidth}{#1}\par}
 
-\newcommand{\lyxarrow}{\leavevmode\,$\triangleright$\,\allowbreak}
+
+
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
 
 \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
@@ -97,6 +97,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
@@ -205,6 +209,9 @@ name "lab:test"
 \begin_inset CommandInset ref
 LatexCommand ref
 reference "lab:test"
+plural "false"
+caps "false"
+noprefix "false"
 
 \end_inset
 
@@ -229,6 +236,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
 
@@ -241,6 +251,9 @@ reference "lab:test"
 \begin_inset CommandInset ref
 LatexCommand eqref
 reference "lab:test"
+plural "false"
+caps "false"
+noprefix "false"
 
 \end_inset
 
@@ -253,6 +266,9 @@ reference "lab:test"
 \begin_inset CommandInset ref
 LatexCommand vref
 reference "lab:test"
+plural "false"
+caps "false"
+noprefix "false"
 
 \end_inset
 
@@ -265,6 +281,9 @@ reference "lab:test"
 \begin_inset CommandInset ref
 LatexCommand vpageref
 reference "lab:test"
+plural "false"
+caps "false"
+noprefix "false"
 
 \end_inset
 
@@ -277,6 +296,9 @@ reference "lab:test"
 \begin_inset CommandInset ref
 LatexCommand formatted
 reference "lab:test"
+plural "false"
+caps "false"
+noprefix "false"
 
 \end_inset
 
@@ -289,6 +311,9 @@ reference "lab:test"
 \begin_inset CommandInset ref
 LatexCommand nameref
 reference "lab:test"
+plural "false"
+caps "false"
+noprefix "false"
 
 \end_inset
 
@@ -350,6 +375,7 @@ LatexCommand citep
 after "after"
 before ""
 key "article-crossref"
+literal "false"
 
 \end_inset
 
@@ -361,6 +387,7 @@ LatexCommand citep
 after "after"
 before ""
 key "whole-set,article-crossref"
+literal "false"
 
 \end_inset
 
@@ -380,6 +407,7 @@ LatexCommand citet
 after "after"
 before "before"
 key "article-crossref"
+literal "false"
 
 \end_inset
 
@@ -391,6 +419,7 @@ LatexCommand citet*
 after "after"
 before "before"
 key "article-crossref"
+literal "false"
 
 \end_inset
 
@@ -402,6 +431,7 @@ LatexCommand Citet
 after "after"
 before "before"
 key "article-crossref"
+literal "false"
 
 \end_inset
 
@@ -413,6 +443,7 @@ LatexCommand Citet*
 after "after"
 before "before"
 key "article-crossref"
+literal "false"
 
 \end_inset
 
@@ -428,6 +459,7 @@ LatexCommand citep
 after "after"
 before "before"
 key "article-crossref"
+literal "false"
 
 \end_inset
 
@@ -439,6 +471,7 @@ LatexCommand citep*
 after "after"
 before "before"
 key "article-crossref"
+literal "false"
 
 \end_inset
 
@@ -450,6 +483,7 @@ LatexCommand Citep
 after "after"
 before "before"
 key "article-crossref"
+literal "false"
 
 \end_inset
 
@@ -461,6 +495,7 @@ LatexCommand Citep*
 after "after"
 before "before"
 key "article-crossref"
+literal "false"
 
 \end_inset
 
@@ -476,6 +511,7 @@ LatexCommand citealt
 after "after"
 before "before"
 key "article-crossref"
+literal "false"
 
 \end_inset
 
@@ -487,6 +523,7 @@ LatexCommand citealt*
 after "after"
 before "before"
 key "article-crossref"
+literal "false"
 
 \end_inset
 
@@ -498,6 +535,7 @@ LatexCommand Citealt
 after "after"
 before "before"
 key "article-crossref"
+literal "false"
 
 \end_inset
 
@@ -509,6 +547,7 @@ LatexCommand Citealt*
 after "after"
 before "before"
 key "article-crossref"
+literal "false"
 
 \end_inset
 
@@ -524,6 +563,7 @@ LatexCommand citealp
 after "after"
 before "before"
 key "article-crossref"
+literal "false"
 
 \end_inset
 
@@ -535,6 +575,7 @@ LatexCommand citealp*
 after "after"
 before "before"
 key "article-crossref"
+literal "false"
 
 \end_inset
 
@@ -546,6 +587,7 @@ LatexCommand Citep
 after "after"
 before "before"
 key "article-crossref"
+literal "false"
 
 \end_inset
 
@@ -557,6 +599,7 @@ LatexCommand Citealp*
 after "after"
 before "before"
 key "article-crossref"
+literal "false"
 
 \end_inset
 
@@ -572,6 +615,7 @@ LatexCommand citeauthor
 after "after"
 before "before"
 key "article-crossref"
+literal "false"
 
 \end_inset
 
@@ -583,6 +627,7 @@ LatexCommand citeauthor*
 after "after"
 before "before"
 key "article-crossref"
+literal "false"
 
 \end_inset
 
@@ -594,6 +639,7 @@ LatexCommand Citeauthor
 after "after"
 before "before"
 key "article-crossref"
+literal "false"
 
 \end_inset
 
@@ -605,6 +651,7 @@ LatexCommand Citeauthor*
 after "after"
 before "before"
 key "article-crossref"
+literal "false"
 
 \end_inset
 
@@ -620,6 +667,7 @@ LatexCommand citeyear
 after "after"
 before "before"
 key "article-crossref"
+literal "false"
 
 \end_inset
 
@@ -635,6 +683,7 @@ LatexCommand citeyearpar
 after "after"
 before "before"
 key "article-crossref"
+literal "false"
 
 \end_inset
 
@@ -649,6 +698,7 @@ nocite:
 LatexCommand nocite
 after ""
 key "article-crossref"
+literal "false"
 
 \end_inset
 
@@ -666,6 +716,10 @@ status collapsed
 bibliography since LaTeX throws an error.
 \end_layout
 
+\begin_layout Plain Layout
+
+\end_layout
+
 \end_inset
 
 
@@ -678,6 +732,10 @@ status collapsed
 bibliographystyle{unsrt}
 \end_layout
 
+\begin_layout Plain Layout
+
+\end_layout
+
 \end_inset
 
 
@@ -717,6 +775,7 @@ LatexCommand citet
 after ""
 before ""
 key "gur+04"
+literal "false"
 
 \end_inset
 
@@ -729,6 +788,7 @@ key "gur+04"
 LatexCommand bibitem
 label "Möstl et~al.(2010)"
 key "Mostl2010"
+literal "false"
 
 \end_inset
 
@@ -751,6 +811,7 @@ A. 2004, ApJ, 604, 632
 LatexCommand bibitem
 label "{{Gürkan et~al.}(2004)}"
 key "gur+04"
+literal "false"
 
 \end_inset
 
@@ -786,7 +847,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
 
@@ -794,7 +855,7 @@ filename "DummyDocument.lyx"
 \begin_inset CommandInset include
 LatexCommand include
 preview false
-filename "Dummy Document.lyx"
+filename "Dummy Document.tex"
 
 \end_inset
 
@@ -802,7 +863,7 @@ filename "Dummy Document.lyx"
 \begin_inset CommandInset include
 LatexCommand include
 preview false
-filename "Dummy Document.lyx"
+filename "Dummy Document.tex"
 
 \end_inset
 
@@ -810,7 +871,7 @@ filename "Dummy Document.lyx"
 \begin_inset CommandInset include
 LatexCommand include
 preview false
-filename "Dummy~Document.lyx"
+filename "Dummy~Document.lyx.lyx"
 
 \end_inset
 
@@ -818,7 +879,7 @@ filename "Dummy~Document.lyx"
 \begin_inset CommandInset include
 LatexCommand include
 preview false
-filename "Dummy~Document.lyx"
+filename "Dummy~Document.lyx.lyx"
 
 \end_inset
 
@@ -893,6 +954,7 @@ LatexCommand nomenclature
 prefix "www"
 symbol "URL"
 description "uniform resource locator"
+literal "false"
 
 \end_inset
 
@@ -901,7 +963,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
@@ -915,6 +977,7 @@ http://www.lyx.org
 LatexCommand nomenclature
 symbol "URL2"
 description "uniform resource locator"
+literal "false"
 
 \end_inset
 
@@ -923,7 +986,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
@@ -940,6 +1003,7 @@ link:
 \begin_inset CommandInset href
 LatexCommand href
 target "www.test.test"
+literal "false"
 
 \end_inset
 
@@ -951,6 +1015,7 @@ link2:
 \begin_inset CommandInset href
 LatexCommand href
 target "http://www.test.test"
+literal "false"
 
 \end_inset
 
@@ -964,6 +1029,7 @@ LatexCommand href
 name "name"
 target "www.test.test"
 type "mailto:"
+literal "false"
 
 \end_inset
 
@@ -976,6 +1042,7 @@ file:
 LatexCommand href
 target "www.test.test"
 type "file:"
+literal "false"
 
 \end_inset
 
@@ -987,6 +1054,7 @@ ftp:
 \begin_inset CommandInset href
 LatexCommand href
 target "ftp://www.test.test"
+literal "false"
 
 \end_inset
 
@@ -999,30 +1067,7 @@ ftp2:
 LatexCommand href
 name "www.test.test"
 target "ftp://www.test.test"
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Standard
-parser test (stupid, but valid):
-\begin_inset CommandInset href
-LatexCommand href
-name "}"
-target "http://www.test.test"
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Standard
-parser test (escaped):
-\begin_inset CommandInset href
-LatexCommand href
-name "a brace } and another one { and something"
-target "http://www.test.test"
+literal "false"
 
 \end_inset
 
@@ -1066,7 +1111,7 @@ Inline:
 \begin_inset listings
 lstparams "language={C++},keywordstyle={\color{green}}"
 inline true
-status collapsed
+status open
 
 \begin_layout Plain Layout
 int a=5;
@@ -1086,7 +1131,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
@@ -1170,7 +1215,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):
@@ -1218,7 +1263,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
@@ -1234,7 +1279,7 @@ hello
 \begin_inset listings
 lstparams "language=TeX"
 inline true
-status collapsed
+status open
 
 \begin_layout Plain Layout
 
@@ -1557,7 +1602,7 @@ Second
 
 \begin_layout Standard
 
-\begin_inset Caption LongTableNoNumber
+\begin_inset Caption Unnumbered
 
 \begin_layout Plain Layout
 standard foot
@@ -1602,7 +1647,7 @@ bottom.
 
 \begin_layout Standard
 
-\begin_inset Caption LongTableNoNumber
+\begin_inset Caption Unnumbered
 
 \begin_layout Plain Layout
 (last foot)
@@ -3074,12 +3119,12 @@ status collapsed
 \begin_layout Plain Layout
 
 \backslash
-raggedleft 
+raggedleft
 \end_layout
 
 \end_inset
 
-This last column is a 
+ This last column is a 
 \begin_inset Quotes eld
 \end_inset
 
@@ -4375,6 +4420,10 @@ status collapsed
 % some comment
 \end_layout
 
+\begin_layout Plain Layout
+
+\end_layout
+
 \end_inset
 
 
@@ -4467,7 +4516,7 @@ status collapsed
 \begin_layout Plain Layout
 
 \backslash
-centering 
+centering
 \end_layout
 
 \end_inset
@@ -5836,7 +5885,7 @@ Special formattings
 \end_layout
 
 \begin_layout Subsection
-LyX line
+Rules
 \end_layout
 
 \begin_layout Standard
@@ -5847,13 +5896,6 @@ test
 
 \size tiny
 
-\end_layout
-
-\begin_layout Standard
-\noindent
-
-\size tiny
-
 \begin_inset CommandInset line
 LatexCommand rule
 offset "0.5ex"
@@ -5881,24 +5923,6 @@ test
  test
 \end_layout
 
-\begin_layout Standard
-\noindent
-
-\begin_inset CommandInset line
-LatexCommand rule
-offset "0.5ex"
-width "100line%"
-height "1pt"
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Standard
-test
-\end_layout
-
 \begin_layout Standard
 
 \size giant
@@ -5925,10 +5949,6 @@ height "1pt"
 
 \end_layout
 
-\begin_layout Subsection
-rules
-\end_layout
-
 \begin_layout Standard
 test
 \begin_inset CommandInset line
@@ -6098,7 +6118,7 @@ h
 
 \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 Plain Layout
@@ -6449,22 +6469,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
@@ -6809,6 +6819,10 @@ status collapsed
 % and another
 \end_layout
 
+\begin_layout Plain Layout
+
+\end_layout
+
 \end_inset
 
 
@@ -7031,6 +7045,7 @@ undefined index:
 \begin_inset CommandInset index_print
 LatexCommand printindex
 type "idx"
+literal "true"
 
 \end_inset
 
@@ -7038,7 +7053,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
@@ -7046,6 +7081,7 @@ index "idx":
 \begin_inset CommandInset index_print
 LatexCommand printindex
 type "idx"
+literal "true"
 
 \end_inset
 
@@ -7053,7 +7089,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
@@ -7061,6 +7117,7 @@ index "new":
 \begin_inset CommandInset index_print
 LatexCommand printindex
 type "new"
+literal "true"
 
 \end_inset
 
@@ -7068,7 +7125,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
@@ -7076,6 +7153,7 @@ subindex "new":
 \begin_inset CommandInset index_print
 LatexCommand printsubindex
 type "idx"
+literal "true"
 
 \end_inset