X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ftex2lyx%2Ftest%2Ftest-insets.lyx.lyx;h=6c0bc60f6460669729e5106aa4c79dfcffa809a0;hb=b2cee3dcc5eab8b7334e1dd67ffc3ee956613dae;hp=30128ff09632f5f8594612bd7cde8125a86a5381;hpb=384723b63f46a13d459ed641e8c67583e2e50dbb;p=lyx.git diff --git a/src/tex2lyx/test/test-insets.lyx.lyx b/src/tex2lyx/test/test-insets.lyx.lyx index 30128ff096..6c0bc60f64 100644 --- a/src/tex2lyx/test/test-insets.lyx.lyx +++ b/src/tex2lyx/test/test-insets.lyx.lyx @@ -1,5 +1,5 @@ -#LyX file created by tex2lyx 2.3 -\lyxformat 530 +#LyX file created by tex2lyx 2.4 +\lyxformat 576 \begin_document \begin_header \save_transient_properties true @@ -33,7 +33,8 @@ \font_osf false \font_sf_scale 100 100 \font_tt_scale 100 100 -\use_microtype 0 +\use_microtype false +\use_dash_ligatures true \graphics default \default_output_format default \output_sync 0 @@ -72,6 +73,7 @@ \suppress_date false \justification true \use_refstyle 0 +\use_minted 0 \index Index \shortcut idx \color #008000 @@ -88,7 +90,10 @@ \tocdepth 3 \paragraph_separation indent \paragraph_indentation 3mm +\is_math_indent 0 +\math_numbering_side default \quotes_style english +\dynamic_quotes 0 \papercolumns 1 \papersides 1 \paperpagestyle default @@ -350,6 +355,7 @@ LatexCommand citep after "after" before "" key "article-crossref" +literal "false" \end_inset @@ -361,6 +367,7 @@ LatexCommand citep after "after" before "" key "whole-set,article-crossref" +literal "false" \end_inset @@ -380,6 +387,7 @@ LatexCommand citet after "after" before "before" key "article-crossref" +literal "false" \end_inset @@ -391,6 +399,7 @@ LatexCommand citet* after "after" before "before" key "article-crossref" +literal "false" \end_inset @@ -402,6 +411,7 @@ LatexCommand Citet after "after" before "before" key "article-crossref" +literal "false" \end_inset @@ -413,6 +423,7 @@ LatexCommand Citet* after "after" before "before" key "article-crossref" +literal "false" \end_inset @@ -428,6 +439,7 @@ LatexCommand citep after "after" before "before" key "article-crossref" +literal "false" \end_inset @@ -439,6 +451,7 @@ LatexCommand citep* after "after" before "before" key "article-crossref" +literal "false" \end_inset @@ -450,6 +463,7 @@ LatexCommand Citep after "after" before "before" key "article-crossref" +literal "false" \end_inset @@ -461,6 +475,7 @@ LatexCommand Citep* after "after" before "before" key "article-crossref" +literal "false" \end_inset @@ -476,6 +491,7 @@ LatexCommand citealt after "after" before "before" key "article-crossref" +literal "false" \end_inset @@ -487,6 +503,7 @@ LatexCommand citealt* after "after" before "before" key "article-crossref" +literal "false" \end_inset @@ -498,6 +515,7 @@ LatexCommand Citealt after "after" before "before" key "article-crossref" +literal "false" \end_inset @@ -509,6 +527,7 @@ LatexCommand Citealt* after "after" before "before" key "article-crossref" +literal "false" \end_inset @@ -524,6 +543,7 @@ LatexCommand citealp after "after" before "before" key "article-crossref" +literal "false" \end_inset @@ -535,6 +555,7 @@ LatexCommand citealp* after "after" before "before" key "article-crossref" +literal "false" \end_inset @@ -546,6 +567,7 @@ LatexCommand Citep after "after" before "before" key "article-crossref" +literal "false" \end_inset @@ -557,6 +579,7 @@ LatexCommand Citealp* after "after" before "before" key "article-crossref" +literal "false" \end_inset @@ -572,6 +595,7 @@ LatexCommand citeauthor after "after" before "before" key "article-crossref" +literal "false" \end_inset @@ -583,6 +607,7 @@ LatexCommand citeauthor* after "after" before "before" key "article-crossref" +literal "false" \end_inset @@ -594,6 +619,7 @@ LatexCommand Citeauthor after "after" before "before" key "article-crossref" +literal "false" \end_inset @@ -605,6 +631,7 @@ LatexCommand Citeauthor* after "after" before "before" key "article-crossref" +literal "false" \end_inset @@ -620,6 +647,7 @@ LatexCommand citeyear after "after" before "before" key "article-crossref" +literal "false" \end_inset @@ -635,6 +663,7 @@ LatexCommand citeyearpar after "after" before "before" key "article-crossref" +literal "false" \end_inset @@ -649,6 +678,7 @@ nocite: LatexCommand nocite after "" key "article-crossref" +literal "false" \end_inset @@ -725,6 +755,7 @@ LatexCommand citet after "" before "" key "gur+04" +literal "false" \end_inset @@ -737,6 +768,7 @@ key "gur+04" LatexCommand bibitem label "Möstl et~al.(2010)" key "Mostl2010" +literal "false" \end_inset @@ -759,6 +791,7 @@ A. 2004, ApJ, 604, 632 LatexCommand bibitem label "{{Gürkan et~al.}(2004)}" key "gur+04" +literal "false" \end_inset @@ -795,6 +828,7 @@ We can input files too, like this LatexCommand input preview false filename "DummyDocument.lyx.lyx" +literal "false" \end_inset @@ -803,6 +837,7 @@ filename "DummyDocument.lyx.lyx" LatexCommand include preview false filename "Dummy Document.tex" +literal "false" \end_inset @@ -811,6 +846,7 @@ filename "Dummy Document.tex" LatexCommand include preview false filename "Dummy Document.tex" +literal "false" \end_inset @@ -819,6 +855,7 @@ filename "Dummy Document.tex" LatexCommand include preview false filename "Dummy~Document.lyx.lyx" +literal "false" \end_inset @@ -827,6 +864,7 @@ filename "Dummy~Document.lyx.lyx" LatexCommand include preview false filename "Dummy~Document.lyx.lyx" +literal "false" \end_inset @@ -835,6 +873,7 @@ filename "Dummy~Document.lyx.lyx" LatexCommand include preview false filename "Dummy\"Document.tex" +literal "false" \end_inset @@ -849,7 +888,7 @@ We can also import chess diagrams: \begin_inset External template ChessDiagram - filename ../../../lib/examples/iecc05.fen + filename ../../../lib/examples/Graphics_and_Insets/iecc05.fen \end_inset @@ -864,7 +903,7 @@ Spreadsheets: \begin_inset External template GnumericSpreadsheet - filename ../../../lib/examples/longsheet.gnumeric + filename ../../../lib/examples/External_Material/longsheet.gnumeric \end_inset @@ -894,7 +933,7 @@ and 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 +957,7 @@ If you prefer verbatim input, you can choose between LatexCommand verbatiminput preview false filename "foo" +literal "false" \end_inset @@ -931,6 +971,7 @@ filename "foo" LatexCommand verbatiminput* preview false filename "foo" +literal "false" \end_inset @@ -954,6 +995,7 @@ LatexCommand nomenclature prefix "www" symbol "URL" description "uniform resource locator" +literal "false" \end_inset @@ -962,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 @@ -976,6 +1018,7 @@ http://www.lyx.org LatexCommand nomenclature symbol "URL2" description "uniform resource locator" +literal "false" \end_inset @@ -984,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 @@ -1001,6 +1044,7 @@ link: \begin_inset CommandInset href LatexCommand href target "www.test.test" +literal "false" \end_inset @@ -1012,6 +1056,7 @@ link2: \begin_inset CommandInset href LatexCommand href target "http://www.test.test" +literal "false" \end_inset @@ -1025,6 +1070,7 @@ LatexCommand href name "name" target "www.test.test" type "mailto:" +literal "false" \end_inset @@ -1037,6 +1083,7 @@ file: LatexCommand href target "www.test.test" type "file:" +literal "false" \end_inset @@ -1048,6 +1095,7 @@ ftp: \begin_inset CommandInset href LatexCommand href target "ftp://www.test.test" +literal "false" \end_inset @@ -1060,6 +1108,7 @@ ftp2: LatexCommand href name "www.test.test" target "ftp://www.test.test" +literal "false" \end_inset @@ -1072,6 +1121,7 @@ parser test (stupid, but valid): LatexCommand href name "}" target "http://www.test.test" +literal "false" \end_inset @@ -1084,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 @@ -1127,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; @@ -1147,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 @@ -1231,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): @@ -1279,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 @@ -1295,7 +1346,7 @@ hello \begin_inset listings lstparams "language=TeX" inline true -status collapsed +status open \begin_layout Plain Layout @@ -1430,7 +1481,7 @@ clearpage} \begin_inset Tabular - + @@ -3487,7 +3538,7 @@ like this. From bug 7412 another example with more captions (can currently not produced in LyX): \begin_inset Tabular - + @@ -4445,7 +4496,7 @@ status collapsed \begin_inset Tabular - + @@ -4550,7 +4601,7 @@ status collapsed \begin_inset Tabular - + @@ -4600,75 +4651,11 @@ Chip - + \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 @@ -4717,7 +4704,7 @@ Detector thickness in µm \end_inset - + \begin_inset Text \begin_layout Standard @@ -4726,7 +4713,7 @@ Detector thickness in µm \end_inset - + \begin_inset Text \begin_layout Standard @@ -4735,7 +4722,7 @@ Detector thickness in µm \end_inset - + \begin_inset Text \begin_layout Standard @@ -5037,7 +5024,7 @@ status open \begin_inset Tabular - + @@ -5370,16 +5357,13 @@ status open \begin_layout Standard \begin_inset Tabular - - + + - - - - - - + + + \begin_inset Text @@ -5399,7 +5383,7 @@ Two \end_inset - + \begin_inset Text \begin_layout Standard @@ -5408,12 +5392,7 @@ Three \end_inset - -\begin_inset Text - -\end_inset - - + \begin_inset Text \begin_layout Standard @@ -5422,23 +5401,13 @@ Four \end_inset - -\begin_inset Text - -\end_inset - - + \begin_inset Text \begin_layout Standard Five \end_layout -\end_inset - - -\begin_inset Text - \end_inset @@ -5461,7 +5430,7 @@ two \end_inset - + \begin_inset Text \begin_layout Standard @@ -5470,12 +5439,7 @@ three \end_inset - -\begin_inset Text - -\end_inset - - + \begin_inset Text \begin_layout Standard @@ -5484,23 +5448,13 @@ four \end_inset - -\begin_inset Text - -\end_inset - - + \begin_inset Text \begin_layout Standard five \end_layout -\end_inset - - -\begin_inset Text - \end_inset @@ -5523,52 +5477,29 @@ He \end_inset - -\begin_inset Text - -\begin_layout Standard -2 -\end_layout - -\end_inset - - + \begin_inset Text \begin_layout Standard -77234 +2.77234 \end_layout \end_inset - + \begin_inset Text \begin_layout Standard -45672 +45672. \end_layout \end_inset - -\begin_inset Text - -\end_inset - - + \begin_inset Text \begin_layout Standard -0 -\end_layout - -\end_inset - - -\begin_inset Text - -\begin_layout Standard -69 +0.69 \end_layout \end_inset @@ -5593,56 +5524,29 @@ C \end_inset - -\begin_inset Text - -\begin_layout Standard -12537 -\end_layout - -\end_inset - - -\begin_inset Text - -\begin_layout Standard -64 -\end_layout - -\end_inset - - + \begin_inset Text \begin_layout Standard -37 -\end_layout - -\end_inset - - -\begin_inset Text - -\begin_layout Standard -66345 +12537.64 \end_layout \end_inset - + \begin_inset Text \begin_layout Standard -86 +37.66345 \end_layout \end_inset - + \begin_inset Text \begin_layout Standard -37 +86.37 \end_layout \end_inset @@ -6871,22 +6775,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 @@ -6930,7 +6824,51 @@ 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: å å å. +All three should be converted to U+00C5: +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + +\backslash +AA +\end_layout + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout +{} +\end_layout + +\end_inset + + Å Å (not U+212B). All three should be converted to U+00E5: +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + +\backslash +aa +\end_layout + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout +{} +\end_layout + +\end_inset + + å å. \end_layout \begin_layout Subsection @@ -7465,6 +7403,7 @@ undefined index: \begin_inset CommandInset index_print LatexCommand printindex type "idx" +literal "true" \end_inset @@ -7472,7 +7411,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 @@ -7480,6 +7439,7 @@ index "idx": \begin_inset CommandInset index_print LatexCommand printindex type "idx" +literal "true" \end_inset @@ -7487,7 +7447,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 @@ -7495,6 +7475,7 @@ index "new": \begin_inset CommandInset index_print LatexCommand printindex type "new" +literal "true" \end_inset @@ -7502,7 +7483,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 @@ -7510,6 +7511,7 @@ subindex "new": \begin_inset CommandInset index_print LatexCommand printsubindex type "idx" +literal "true" \end_inset