X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ftex2lyx%2Ftest%2Ftest-insets.lyx.lyx;h=871a22827d7ba2b30cde383adfe31970453dc607;hb=b5722962fb0393299e02df0b146522770e98aef6;hp=5b5a22abd3b2b38907a439c434dd719d11273bee;hpb=fae697a65cdf64bfac837bea09845f50982ea63c;p=lyx.git diff --git a/src/tex2lyx/test/test-insets.lyx.lyx b/src/tex2lyx/test/test-insets.lyx.lyx index 5b5a22abd3..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 539 +#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,9 +93,10 @@ \tocdepth 3 \paragraph_separation indent \paragraph_indentation 3mm -\is_formula_indent 0 -\formula_indentation +\is_math_indent 0 +\math_numbering_side default \quotes_style english +\dynamic_quotes 0 \papercolumns 1 \papersides 1 \paperpagestyle default @@ -352,7 +358,7 @@ LatexCommand citep after "after" before "" key "article-crossref" -literal "true" +literal "false" \end_inset @@ -364,7 +370,7 @@ LatexCommand citep after "after" before "" key "whole-set,article-crossref" -literal "true" +literal "false" \end_inset @@ -384,7 +390,7 @@ LatexCommand citet after "after" before "before" key "article-crossref" -literal "true" +literal "false" \end_inset @@ -396,7 +402,7 @@ LatexCommand citet* after "after" before "before" key "article-crossref" -literal "true" +literal "false" \end_inset @@ -408,7 +414,7 @@ LatexCommand Citet after "after" before "before" key "article-crossref" -literal "true" +literal "false" \end_inset @@ -420,7 +426,7 @@ LatexCommand Citet* after "after" before "before" key "article-crossref" -literal "true" +literal "false" \end_inset @@ -436,7 +442,7 @@ LatexCommand citep after "after" before "before" key "article-crossref" -literal "true" +literal "false" \end_inset @@ -448,7 +454,7 @@ LatexCommand citep* after "after" before "before" key "article-crossref" -literal "true" +literal "false" \end_inset @@ -460,7 +466,7 @@ LatexCommand Citep after "after" before "before" key "article-crossref" -literal "true" +literal "false" \end_inset @@ -472,7 +478,7 @@ LatexCommand Citep* after "after" before "before" key "article-crossref" -literal "true" +literal "false" \end_inset @@ -488,7 +494,7 @@ LatexCommand citealt after "after" before "before" key "article-crossref" -literal "true" +literal "false" \end_inset @@ -500,7 +506,7 @@ LatexCommand citealt* after "after" before "before" key "article-crossref" -literal "true" +literal "false" \end_inset @@ -512,7 +518,7 @@ LatexCommand Citealt after "after" before "before" key "article-crossref" -literal "true" +literal "false" \end_inset @@ -524,7 +530,7 @@ LatexCommand Citealt* after "after" before "before" key "article-crossref" -literal "true" +literal "false" \end_inset @@ -540,7 +546,7 @@ LatexCommand citealp after "after" before "before" key "article-crossref" -literal "true" +literal "false" \end_inset @@ -552,7 +558,7 @@ LatexCommand citealp* after "after" before "before" key "article-crossref" -literal "true" +literal "false" \end_inset @@ -564,7 +570,7 @@ LatexCommand Citep after "after" before "before" key "article-crossref" -literal "true" +literal "false" \end_inset @@ -576,7 +582,7 @@ LatexCommand Citealp* after "after" before "before" key "article-crossref" -literal "true" +literal "false" \end_inset @@ -592,7 +598,7 @@ LatexCommand citeauthor after "after" before "before" key "article-crossref" -literal "true" +literal "false" \end_inset @@ -604,7 +610,7 @@ LatexCommand citeauthor* after "after" before "before" key "article-crossref" -literal "true" +literal "false" \end_inset @@ -616,7 +622,7 @@ LatexCommand Citeauthor after "after" before "before" key "article-crossref" -literal "true" +literal "false" \end_inset @@ -628,7 +634,7 @@ LatexCommand Citeauthor* after "after" before "before" key "article-crossref" -literal "true" +literal "false" \end_inset @@ -644,7 +650,7 @@ LatexCommand citeyear after "after" before "before" key "article-crossref" -literal "true" +literal "false" \end_inset @@ -660,7 +666,7 @@ LatexCommand citeyearpar after "after" before "before" key "article-crossref" -literal "true" +literal "false" \end_inset @@ -675,7 +681,7 @@ nocite: LatexCommand nocite after "" key "article-crossref" -literal "true" +literal "false" \end_inset @@ -752,7 +758,7 @@ LatexCommand citet after "" before "" key "gur+04" -literal "true" +literal "false" \end_inset @@ -765,7 +771,7 @@ literal "true" LatexCommand bibitem label "Möstl et~al.(2010)" key "Mostl2010" -literal "true" +literal "false" \end_inset @@ -788,7 +794,7 @@ A. 2004, ApJ, 604, 632 LatexCommand bibitem label "{{Gürkan et~al.}(2004)}" key "gur+04" -literal "true" +literal "false" \end_inset @@ -825,6 +831,7 @@ We can input files too, like this LatexCommand input preview false filename "DummyDocument.lyx.lyx" +literal "false" \end_inset @@ -833,6 +840,7 @@ filename "DummyDocument.lyx.lyx" LatexCommand include preview false filename "Dummy Document.tex" +literal "false" \end_inset @@ -841,6 +849,7 @@ filename "Dummy Document.tex" LatexCommand include preview false filename "Dummy Document.tex" +literal "false" \end_inset @@ -849,6 +858,7 @@ filename "Dummy Document.tex" LatexCommand include preview false filename "Dummy~Document.lyx.lyx" +literal "false" \end_inset @@ -857,6 +867,7 @@ filename "Dummy~Document.lyx.lyx" LatexCommand include preview false filename "Dummy~Document.lyx.lyx" +literal "false" \end_inset @@ -865,6 +876,7 @@ filename "Dummy~Document.lyx.lyx" LatexCommand include preview false filename "Dummy\"Document.tex" +literal "false" \end_inset @@ -879,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 @@ -894,7 +906,7 @@ Spreadsheets: \begin_inset External template GnumericSpreadsheet - filename ../../../lib/examples/longsheet.gnumeric + filename ../../../lib/examples/External_Material/longsheet.gnumeric \end_inset @@ -924,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 @@ -948,6 +960,7 @@ If you prefer verbatim input, you can choose between LatexCommand verbatiminput preview false filename "foo" +literal "false" \end_inset @@ -961,6 +974,7 @@ filename "foo" LatexCommand verbatiminput* preview false filename "foo" +literal "false" \end_inset @@ -984,7 +998,7 @@ LatexCommand nomenclature prefix "www" symbol "URL" description "uniform resource locator" -literal "true" +literal "false" \end_inset @@ -993,7 +1007,7 @@ literal "true" \begin_layout Standard An URL: -\begin_inset Flex Flex:URL +\begin_inset Flex URL status collapsed \begin_layout Plain Layout @@ -1007,7 +1021,7 @@ http://www.lyx.org LatexCommand nomenclature symbol "URL2" description "uniform resource locator" -literal "true" +literal "false" \end_inset @@ -1016,7 +1030,7 @@ literal "true" \begin_layout Standard An URL with strange characters: -\begin_inset Flex Flex:URL +\begin_inset Flex URL status collapsed \begin_layout Plain Layout @@ -1033,7 +1047,7 @@ link: \begin_inset CommandInset href LatexCommand href target "www.test.test" -literal "true" +literal "false" \end_inset @@ -1045,7 +1059,7 @@ link2: \begin_inset CommandInset href LatexCommand href target "http://www.test.test" -literal "true" +literal "false" \end_inset @@ -1059,7 +1073,7 @@ LatexCommand href name "name" target "www.test.test" type "mailto:" -literal "true" +literal "false" \end_inset @@ -1072,7 +1086,7 @@ file: LatexCommand href target "www.test.test" type "file:" -literal "true" +literal "false" \end_inset @@ -1084,7 +1098,7 @@ ftp: \begin_inset CommandInset href LatexCommand href target "ftp://www.test.test" -literal "true" +literal "false" \end_inset @@ -1097,7 +1111,7 @@ ftp2: LatexCommand href name "www.test.test" target "ftp://www.test.test" -literal "true" +literal "false" \end_inset @@ -1110,7 +1124,7 @@ parser test (stupid, but valid): LatexCommand href name "}" target "http://www.test.test" -literal "true" +literal "false" \end_inset @@ -1123,7 +1137,7 @@ parser test (escaped): LatexCommand href name "a brace } and another one { and something" target "http://www.test.test" -literal "true" +literal "false" \end_inset @@ -1167,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; @@ -1187,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 @@ -1271,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): @@ -1319,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 @@ -1335,7 +1349,7 @@ hello \begin_inset listings lstparams "language=TeX" inline true -status collapsed +status open \begin_layout Plain Layout @@ -1373,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 @@ -1470,7 +1484,7 @@ clearpage} \begin_inset Tabular - + @@ -3527,7 +3541,7 @@ like this. From bug 7412 another example with more captions (can currently not produced in LyX): \begin_inset Tabular - + @@ -4485,7 +4499,7 @@ status collapsed \begin_inset Tabular - + @@ -4590,7 +4604,7 @@ status collapsed \begin_inset Tabular - + @@ -4640,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 @@ -4757,7 +4707,7 @@ Detector thickness in µm \end_inset - + \begin_inset Text \begin_layout Standard @@ -4766,7 +4716,7 @@ Detector thickness in µm \end_inset - + \begin_inset Text \begin_layout Standard @@ -4775,7 +4725,7 @@ Detector thickness in µm \end_inset - + \begin_inset Text \begin_layout Standard @@ -5077,7 +5027,7 @@ status open \begin_inset Tabular - + @@ -5410,16 +5360,13 @@ status open \begin_layout Standard \begin_inset Tabular - - + + - - - - - - + + + \begin_inset Text @@ -5439,7 +5386,7 @@ Two \end_inset - + \begin_inset Text \begin_layout Standard @@ -5448,12 +5395,7 @@ Three \end_inset - -\begin_inset Text - -\end_inset - - + \begin_inset Text \begin_layout Standard @@ -5462,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 @@ -5501,7 +5433,7 @@ two \end_inset - + \begin_inset Text \begin_layout Standard @@ -5510,12 +5442,7 @@ three \end_inset - -\begin_inset Text - -\end_inset - - + \begin_inset Text \begin_layout Standard @@ -5524,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 @@ -5563,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 @@ -5633,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 @@ -6911,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 @@ -6970,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 @@ -7513,7 +7414,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 @@ -7529,7 +7450,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 @@ -7545,7 +7486,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