X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ftex2lyx%2Ftest%2Ftest-insets.lyx.lyx;h=871a22827d7ba2b30cde383adfe31970453dc607;hb=b5722962fb0393299e02df0b146522770e98aef6;hp=8424bdb27373d66d07b716a3d0ea9ad06c9fb449;hpb=20328c4a44dcde0343322197006d306634674ab1;p=lyx.git diff --git a/src/tex2lyx/test/test-insets.lyx.lyx b/src/tex2lyx/test/test-insets.lyx.lyx index 8424bdb273..871a22827d 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 512 +#LyX file created by tex2lyx 2.4 +\lyxformat 589 \begin_document \begin_header \save_transient_properties true @@ -30,10 +30,13 @@ \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 0 +\use_microtype false +\use_dash_ligatures true \graphics default \default_output_format default \output_sync 0 @@ -51,7 +54,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 @@ -72,6 +75,8 @@ \suppress_date false \justification true \use_refstyle 0 +\use_minted 0 +\use_lineno false \index Index \shortcut idx \color #008000 @@ -88,7 +93,10 @@ \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 @@ -184,6 +192,9 @@ name "lab:test" \begin_inset CommandInset ref LatexCommand ref reference "lab:test" +plural "false" +caps "false" +noprefix "false" \end_inset @@ -208,6 +219,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 @@ -220,6 +234,9 @@ reference "lab:test" \begin_inset CommandInset ref LatexCommand eqref reference "lab:test" +plural "false" +caps "false" +noprefix "false" \end_inset @@ -232,6 +249,9 @@ reference "lab:test" \begin_inset CommandInset ref LatexCommand vref reference "lab:test" +plural "false" +caps "false" +noprefix "false" \end_inset @@ -244,6 +264,9 @@ reference "lab:test" \begin_inset CommandInset ref LatexCommand vpageref reference "lab:test" +plural "false" +caps "false" +noprefix "false" \end_inset @@ -256,6 +279,9 @@ reference "lab:test" \begin_inset CommandInset ref LatexCommand formatted reference "lab:test" +plural "false" +caps "false" +noprefix "false" \end_inset @@ -268,6 +294,9 @@ reference "lab:test" \begin_inset CommandInset ref LatexCommand nameref reference "lab:test" +plural "false" +caps "false" +noprefix "false" \end_inset @@ -329,6 +358,7 @@ LatexCommand citep after "after" before "" key "article-crossref" +literal "false" \end_inset @@ -340,6 +370,7 @@ LatexCommand citep after "after" before "" key "whole-set,article-crossref" +literal "false" \end_inset @@ -359,6 +390,7 @@ LatexCommand citet after "after" before "before" key "article-crossref" +literal "false" \end_inset @@ -370,6 +402,7 @@ LatexCommand citet* after "after" before "before" key "article-crossref" +literal "false" \end_inset @@ -381,6 +414,7 @@ LatexCommand Citet after "after" before "before" key "article-crossref" +literal "false" \end_inset @@ -392,6 +426,7 @@ LatexCommand Citet* after "after" before "before" key "article-crossref" +literal "false" \end_inset @@ -407,6 +442,7 @@ LatexCommand citep after "after" before "before" key "article-crossref" +literal "false" \end_inset @@ -418,6 +454,7 @@ LatexCommand citep* after "after" before "before" key "article-crossref" +literal "false" \end_inset @@ -429,6 +466,7 @@ LatexCommand Citep after "after" before "before" key "article-crossref" +literal "false" \end_inset @@ -440,6 +478,7 @@ LatexCommand Citep* after "after" before "before" key "article-crossref" +literal "false" \end_inset @@ -455,6 +494,7 @@ LatexCommand citealt after "after" before "before" key "article-crossref" +literal "false" \end_inset @@ -466,6 +506,7 @@ LatexCommand citealt* after "after" before "before" key "article-crossref" +literal "false" \end_inset @@ -477,6 +518,7 @@ LatexCommand Citealt after "after" before "before" key "article-crossref" +literal "false" \end_inset @@ -488,6 +530,7 @@ LatexCommand Citealt* after "after" before "before" key "article-crossref" +literal "false" \end_inset @@ -503,6 +546,7 @@ LatexCommand citealp after "after" before "before" key "article-crossref" +literal "false" \end_inset @@ -514,6 +558,7 @@ LatexCommand citealp* after "after" before "before" key "article-crossref" +literal "false" \end_inset @@ -525,6 +570,7 @@ LatexCommand Citep after "after" before "before" key "article-crossref" +literal "false" \end_inset @@ -536,6 +582,7 @@ LatexCommand Citealp* after "after" before "before" key "article-crossref" +literal "false" \end_inset @@ -551,6 +598,7 @@ LatexCommand citeauthor after "after" before "before" key "article-crossref" +literal "false" \end_inset @@ -562,6 +610,7 @@ LatexCommand citeauthor* after "after" before "before" key "article-crossref" +literal "false" \end_inset @@ -573,6 +622,7 @@ LatexCommand Citeauthor after "after" before "before" key "article-crossref" +literal "false" \end_inset @@ -584,6 +634,7 @@ LatexCommand Citeauthor* after "after" before "before" key "article-crossref" +literal "false" \end_inset @@ -599,6 +650,7 @@ LatexCommand citeyear after "after" before "before" key "article-crossref" +literal "false" \end_inset @@ -614,6 +666,7 @@ LatexCommand citeyearpar after "after" before "before" key "article-crossref" +literal "false" \end_inset @@ -628,6 +681,7 @@ nocite: LatexCommand nocite after "" key "article-crossref" +literal "false" \end_inset @@ -704,6 +758,7 @@ LatexCommand citet after "" before "" key "gur+04" +literal "false" \end_inset @@ -716,6 +771,7 @@ key "gur+04" LatexCommand bibitem label "Möstl et~al.(2010)" key "Mostl2010" +literal "false" \end_inset @@ -738,6 +794,7 @@ A. 2004, ApJ, 604, 632 LatexCommand bibitem label "{{Gürkan et~al.}(2004)}" key "gur+04" +literal "false" \end_inset @@ -774,6 +831,7 @@ We can input files too, like this LatexCommand input preview false filename "DummyDocument.lyx.lyx" +literal "false" \end_inset @@ -782,6 +840,7 @@ filename "DummyDocument.lyx.lyx" LatexCommand include preview false filename "Dummy Document.tex" +literal "false" \end_inset @@ -790,6 +849,7 @@ filename "Dummy Document.tex" LatexCommand include preview false filename "Dummy Document.tex" +literal "false" \end_inset @@ -798,6 +858,7 @@ filename "Dummy Document.tex" LatexCommand include preview false filename "Dummy~Document.lyx.lyx" +literal "false" \end_inset @@ -806,6 +867,7 @@ filename "Dummy~Document.lyx.lyx" LatexCommand include preview false filename "Dummy~Document.lyx.lyx" +literal "false" \end_inset @@ -814,6 +876,7 @@ filename "Dummy~Document.lyx.lyx" LatexCommand include preview false filename "Dummy\"Document.tex" +literal "false" \end_inset @@ -828,7 +891,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 @@ -843,7 +906,7 @@ Spreadsheets: \begin_inset External template GnumericSpreadsheet - filename ../../../lib/examples/longsheet.gnumeric + filename ../../../lib/examples/External_Material/longsheet.gnumeric \end_inset @@ -873,7 +936,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 @@ -897,6 +960,7 @@ If you prefer verbatim input, you can choose between LatexCommand verbatiminput preview false filename "foo" +literal "false" \end_inset @@ -910,6 +974,7 @@ filename "foo" LatexCommand verbatiminput* preview false filename "foo" +literal "false" \end_inset @@ -933,6 +998,7 @@ LatexCommand nomenclature prefix "www" symbol "URL" description "uniform resource locator" +literal "false" \end_inset @@ -941,7 +1007,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 @@ -955,6 +1021,7 @@ http://www.lyx.org LatexCommand nomenclature symbol "URL2" description "uniform resource locator" +literal "false" \end_inset @@ -963,7 +1030,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 @@ -980,6 +1047,7 @@ link: \begin_inset CommandInset href LatexCommand href target "www.test.test" +literal "false" \end_inset @@ -991,6 +1059,7 @@ link2: \begin_inset CommandInset href LatexCommand href target "http://www.test.test" +literal "false" \end_inset @@ -1004,6 +1073,7 @@ LatexCommand href name "name" target "www.test.test" type "mailto:" +literal "false" \end_inset @@ -1016,6 +1086,7 @@ file: LatexCommand href target "www.test.test" type "file:" +literal "false" \end_inset @@ -1027,6 +1098,7 @@ ftp: \begin_inset CommandInset href LatexCommand href target "ftp://www.test.test" +literal "false" \end_inset @@ -1039,6 +1111,7 @@ ftp2: LatexCommand href name "www.test.test" target "ftp://www.test.test" +literal "false" \end_inset @@ -1051,6 +1124,7 @@ parser test (stupid, but valid): LatexCommand href name "}" target "http://www.test.test" +literal "false" \end_inset @@ -1063,6 +1137,7 @@ parser test (escaped): LatexCommand href name "a brace } and another one { and something" target "http://www.test.test" +literal "false" \end_inset @@ -1106,7 +1181,7 @@ Inline: \begin_inset listings lstparams "language={C++},keywordstyle={\color{green}}" inline true -status collapsed +status open \begin_layout Plain Layout int a=5; @@ -1126,7 +1201,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 @@ -1210,7 +1285,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): @@ -1258,7 +1333,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 @@ -1274,7 +1349,7 @@ hello \begin_inset listings lstparams "language=TeX" inline true -status collapsed +status open \begin_layout Plain Layout @@ -1312,9 +1387,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 @@ -1409,7 +1484,7 @@ clearpage} \begin_inset Tabular - + @@ -3466,7 +3541,7 @@ like this. From bug 7412 another example with more captions (can currently not produced in LyX): \begin_inset Tabular - + @@ -4424,7 +4499,7 @@ status collapsed \begin_inset Tabular - + @@ -4529,7 +4604,7 @@ status collapsed \begin_inset Tabular - + @@ -4579,75 +4654,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 @@ -4696,7 +4707,7 @@ Detector thickness in µm \end_inset - + \begin_inset Text \begin_layout Standard @@ -4705,7 +4716,7 @@ Detector thickness in µm \end_inset - + \begin_inset Text \begin_layout Standard @@ -4714,7 +4725,7 @@ Detector thickness in µm \end_inset - + \begin_inset Text \begin_layout Standard @@ -5016,7 +5027,7 @@ status open \begin_inset Tabular - + @@ -5349,16 +5360,13 @@ status open \begin_layout Standard \begin_inset Tabular - - + + - - - - - - + + + \begin_inset Text @@ -5378,7 +5386,7 @@ Two \end_inset - + \begin_inset Text \begin_layout Standard @@ -5387,12 +5395,7 @@ Three \end_inset - -\begin_inset Text - -\end_inset - - + \begin_inset Text \begin_layout Standard @@ -5401,23 +5404,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 @@ -5440,7 +5433,7 @@ two \end_inset - + \begin_inset Text \begin_layout Standard @@ -5449,12 +5442,7 @@ three \end_inset - -\begin_inset Text - -\end_inset - - + \begin_inset Text \begin_layout Standard @@ -5463,23 +5451,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 @@ -5502,52 +5480,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 @@ -5572,56 +5527,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 @@ -6850,22 +6778,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 @@ -6909,7 +6827,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 @@ -7444,6 +7406,7 @@ undefined index: \begin_inset CommandInset index_print LatexCommand printindex type "idx" +literal "true" \end_inset @@ -7451,7 +7414,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 @@ -7459,6 +7442,7 @@ index "idx": \begin_inset CommandInset index_print LatexCommand printindex type "idx" +literal "true" \end_inset @@ -7466,7 +7450,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 @@ -7474,6 +7478,7 @@ index "new": \begin_inset CommandInset index_print LatexCommand printindex type "new" +literal "true" \end_inset @@ -7481,7 +7486,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 @@ -7489,6 +7514,7 @@ subindex "new": \begin_inset CommandInset index_print LatexCommand printsubindex type "idx" +literal "true" \end_inset