From fff6d35cffcc414ca510714ec739e5fff56367c6 Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Sun, 11 Mar 2018 19:56:04 +0100 Subject: [PATCH] update tex2lyx tests once more. --- src/tex2lyx/test/CJK.lyx.lyx | 22 ++++++- src/tex2lyx/test/test-insets-basic.lyx.lyx | 72 ++++++++++---------- src/tex2lyx/test/test-insets.lyx.lyx | 76 +++++++++++----------- src/tex2lyx/test/test-structure.lyx.lyx | 4 +- 4 files changed, 97 insertions(+), 77 deletions(-) diff --git a/src/tex2lyx/test/CJK.lyx.lyx b/src/tex2lyx/test/CJK.lyx.lyx index 59d3729c3a..c31cba4459 100644 --- a/src/tex2lyx/test/CJK.lyx.lyx +++ b/src/tex2lyx/test/CJK.lyx.lyx @@ -143,7 +143,27 @@ status collapsed \end_inset -texttt{hei} mapping, +texttt +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout +{ +\end_layout + +\end_inset + +hei +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout +} +\end_layout + +\end_inset + + mapping, and the first mapping is empty. \begin_inset ERT status collapsed diff --git a/src/tex2lyx/test/test-insets-basic.lyx.lyx b/src/tex2lyx/test/test-insets-basic.lyx.lyx index 4d7a58ac0b..3c2698d6d2 100644 --- a/src/tex2lyx/test/test-insets-basic.lyx.lyx +++ b/src/tex2lyx/test/test-insets-basic.lyx.lyx @@ -375,7 +375,7 @@ LatexCommand citep after "after" before "" key "article-crossref" -literal "true" +literal "false" \end_inset @@ -387,7 +387,7 @@ LatexCommand citep after "after" before "" key "whole-set,article-crossref" -literal "true" +literal "false" \end_inset @@ -407,7 +407,7 @@ LatexCommand citet after "after" before "before" key "article-crossref" -literal "true" +literal "false" \end_inset @@ -419,7 +419,7 @@ LatexCommand citet* after "after" before "before" key "article-crossref" -literal "true" +literal "false" \end_inset @@ -431,7 +431,7 @@ LatexCommand Citet after "after" before "before" key "article-crossref" -literal "true" +literal "false" \end_inset @@ -443,7 +443,7 @@ LatexCommand Citet* after "after" before "before" key "article-crossref" -literal "true" +literal "false" \end_inset @@ -459,7 +459,7 @@ LatexCommand citep after "after" before "before" key "article-crossref" -literal "true" +literal "false" \end_inset @@ -471,7 +471,7 @@ LatexCommand citep* after "after" before "before" key "article-crossref" -literal "true" +literal "false" \end_inset @@ -483,7 +483,7 @@ LatexCommand Citep after "after" before "before" key "article-crossref" -literal "true" +literal "false" \end_inset @@ -495,7 +495,7 @@ LatexCommand Citep* after "after" before "before" key "article-crossref" -literal "true" +literal "false" \end_inset @@ -511,7 +511,7 @@ LatexCommand citealt after "after" before "before" key "article-crossref" -literal "true" +literal "false" \end_inset @@ -523,7 +523,7 @@ LatexCommand citealt* after "after" before "before" key "article-crossref" -literal "true" +literal "false" \end_inset @@ -535,7 +535,7 @@ LatexCommand Citealt after "after" before "before" key "article-crossref" -literal "true" +literal "false" \end_inset @@ -547,7 +547,7 @@ LatexCommand Citealt* after "after" before "before" key "article-crossref" -literal "true" +literal "false" \end_inset @@ -563,7 +563,7 @@ LatexCommand citealp after "after" before "before" key "article-crossref" -literal "true" +literal "false" \end_inset @@ -575,7 +575,7 @@ LatexCommand citealp* after "after" before "before" key "article-crossref" -literal "true" +literal "false" \end_inset @@ -587,7 +587,7 @@ LatexCommand Citep after "after" before "before" key "article-crossref" -literal "true" +literal "false" \end_inset @@ -599,7 +599,7 @@ LatexCommand Citealp* after "after" before "before" key "article-crossref" -literal "true" +literal "false" \end_inset @@ -615,7 +615,7 @@ LatexCommand citeauthor after "after" before "before" key "article-crossref" -literal "true" +literal "false" \end_inset @@ -627,7 +627,7 @@ LatexCommand citeauthor* after "after" before "before" key "article-crossref" -literal "true" +literal "false" \end_inset @@ -639,7 +639,7 @@ LatexCommand Citeauthor after "after" before "before" key "article-crossref" -literal "true" +literal "false" \end_inset @@ -651,7 +651,7 @@ LatexCommand Citeauthor* after "after" before "before" key "article-crossref" -literal "true" +literal "false" \end_inset @@ -667,7 +667,7 @@ LatexCommand citeyear after "after" before "before" key "article-crossref" -literal "true" +literal "false" \end_inset @@ -683,7 +683,7 @@ LatexCommand citeyearpar after "after" before "before" key "article-crossref" -literal "true" +literal "false" \end_inset @@ -698,7 +698,7 @@ nocite: LatexCommand nocite after "" key "article-crossref" -literal "true" +literal "false" \end_inset @@ -775,7 +775,7 @@ LatexCommand citet after "" before "" key "gur+04" -literal "true" +literal "false" \end_inset @@ -788,7 +788,7 @@ literal "true" LatexCommand bibitem label "Möstl et~al.(2010)" key "Mostl2010" -literal "true" +literal "false" \end_inset @@ -811,7 +811,7 @@ A. 2004, ApJ, 604, 632 LatexCommand bibitem label "{{Gürkan et~al.}(2004)}" key "gur+04" -literal "true" +literal "false" \end_inset @@ -954,7 +954,7 @@ LatexCommand nomenclature prefix "www" symbol "URL" description "uniform resource locator" -literal "true" +literal "false" \end_inset @@ -977,7 +977,7 @@ http://www.lyx.org LatexCommand nomenclature symbol "URL2" description "uniform resource locator" -literal "true" +literal "false" \end_inset @@ -1003,7 +1003,7 @@ link: \begin_inset CommandInset href LatexCommand href target "www.test.test" -literal "true" +literal "false" \end_inset @@ -1015,7 +1015,7 @@ link2: \begin_inset CommandInset href LatexCommand href target "http://www.test.test" -literal "true" +literal "false" \end_inset @@ -1029,7 +1029,7 @@ LatexCommand href name "name" target "www.test.test" type "mailto:" -literal "true" +literal "false" \end_inset @@ -1042,7 +1042,7 @@ file: LatexCommand href target "www.test.test" type "file:" -literal "true" +literal "false" \end_inset @@ -1054,7 +1054,7 @@ ftp: \begin_inset CommandInset href LatexCommand href target "ftp://www.test.test" -literal "true" +literal "false" \end_inset @@ -1067,7 +1067,7 @@ ftp2: LatexCommand href name "www.test.test" target "ftp://www.test.test" -literal "true" +literal "false" \end_inset diff --git a/src/tex2lyx/test/test-insets.lyx.lyx b/src/tex2lyx/test/test-insets.lyx.lyx index 60f7d40491..7997f9231f 100644 --- a/src/tex2lyx/test/test-insets.lyx.lyx +++ b/src/tex2lyx/test/test-insets.lyx.lyx @@ -355,7 +355,7 @@ LatexCommand citep after "after" before "" key "article-crossref" -literal "true" +literal "false" \end_inset @@ -367,7 +367,7 @@ LatexCommand citep after "after" before "" key "whole-set,article-crossref" -literal "true" +literal "false" \end_inset @@ -387,7 +387,7 @@ LatexCommand citet after "after" before "before" key "article-crossref" -literal "true" +literal "false" \end_inset @@ -399,7 +399,7 @@ LatexCommand citet* after "after" before "before" key "article-crossref" -literal "true" +literal "false" \end_inset @@ -411,7 +411,7 @@ LatexCommand Citet after "after" before "before" key "article-crossref" -literal "true" +literal "false" \end_inset @@ -423,7 +423,7 @@ LatexCommand Citet* after "after" before "before" key "article-crossref" -literal "true" +literal "false" \end_inset @@ -439,7 +439,7 @@ LatexCommand citep after "after" before "before" key "article-crossref" -literal "true" +literal "false" \end_inset @@ -451,7 +451,7 @@ LatexCommand citep* after "after" before "before" key "article-crossref" -literal "true" +literal "false" \end_inset @@ -463,7 +463,7 @@ LatexCommand Citep after "after" before "before" key "article-crossref" -literal "true" +literal "false" \end_inset @@ -475,7 +475,7 @@ LatexCommand Citep* after "after" before "before" key "article-crossref" -literal "true" +literal "false" \end_inset @@ -491,7 +491,7 @@ LatexCommand citealt after "after" before "before" key "article-crossref" -literal "true" +literal "false" \end_inset @@ -503,7 +503,7 @@ LatexCommand citealt* after "after" before "before" key "article-crossref" -literal "true" +literal "false" \end_inset @@ -515,7 +515,7 @@ LatexCommand Citealt after "after" before "before" key "article-crossref" -literal "true" +literal "false" \end_inset @@ -527,7 +527,7 @@ LatexCommand Citealt* after "after" before "before" key "article-crossref" -literal "true" +literal "false" \end_inset @@ -543,7 +543,7 @@ LatexCommand citealp after "after" before "before" key "article-crossref" -literal "true" +literal "false" \end_inset @@ -555,7 +555,7 @@ LatexCommand citealp* after "after" before "before" key "article-crossref" -literal "true" +literal "false" \end_inset @@ -567,7 +567,7 @@ LatexCommand Citep after "after" before "before" key "article-crossref" -literal "true" +literal "false" \end_inset @@ -579,7 +579,7 @@ LatexCommand Citealp* after "after" before "before" key "article-crossref" -literal "true" +literal "false" \end_inset @@ -595,7 +595,7 @@ LatexCommand citeauthor after "after" before "before" key "article-crossref" -literal "true" +literal "false" \end_inset @@ -607,7 +607,7 @@ LatexCommand citeauthor* after "after" before "before" key "article-crossref" -literal "true" +literal "false" \end_inset @@ -619,7 +619,7 @@ LatexCommand Citeauthor after "after" before "before" key "article-crossref" -literal "true" +literal "false" \end_inset @@ -631,7 +631,7 @@ LatexCommand Citeauthor* after "after" before "before" key "article-crossref" -literal "true" +literal "false" \end_inset @@ -647,7 +647,7 @@ LatexCommand citeyear after "after" before "before" key "article-crossref" -literal "true" +literal "false" \end_inset @@ -663,7 +663,7 @@ LatexCommand citeyearpar after "after" before "before" key "article-crossref" -literal "true" +literal "false" \end_inset @@ -678,7 +678,7 @@ nocite: LatexCommand nocite after "" key "article-crossref" -literal "true" +literal "false" \end_inset @@ -755,7 +755,7 @@ LatexCommand citet after "" before "" key "gur+04" -literal "true" +literal "false" \end_inset @@ -768,7 +768,7 @@ literal "true" LatexCommand bibitem label "Möstl et~al.(2010)" key "Mostl2010" -literal "true" +literal "false" \end_inset @@ -791,7 +791,7 @@ A. 2004, ApJ, 604, 632 LatexCommand bibitem label "{{Gürkan et~al.}(2004)}" key "gur+04" -literal "true" +literal "false" \end_inset @@ -987,7 +987,7 @@ LatexCommand nomenclature prefix "www" symbol "URL" description "uniform resource locator" -literal "true" +literal "false" \end_inset @@ -1010,7 +1010,7 @@ http://www.lyx.org LatexCommand nomenclature symbol "URL2" description "uniform resource locator" -literal "true" +literal "false" \end_inset @@ -1036,7 +1036,7 @@ link: \begin_inset CommandInset href LatexCommand href target "www.test.test" -literal "true" +literal "false" \end_inset @@ -1048,7 +1048,7 @@ link2: \begin_inset CommandInset href LatexCommand href target "http://www.test.test" -literal "true" +literal "false" \end_inset @@ -1062,7 +1062,7 @@ LatexCommand href name "name" target "www.test.test" type "mailto:" -literal "true" +literal "false" \end_inset @@ -1075,7 +1075,7 @@ file: LatexCommand href target "www.test.test" type "file:" -literal "true" +literal "false" \end_inset @@ -1087,7 +1087,7 @@ ftp: \begin_inset CommandInset href LatexCommand href target "ftp://www.test.test" -literal "true" +literal "false" \end_inset @@ -1100,7 +1100,7 @@ ftp2: LatexCommand href name "www.test.test" target "ftp://www.test.test" -literal "true" +literal "false" \end_inset @@ -1113,7 +1113,7 @@ parser test (stupid, but valid): LatexCommand href name "}" target "http://www.test.test" -literal "true" +literal "false" \end_inset @@ -1126,7 +1126,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 diff --git a/src/tex2lyx/test/test-structure.lyx.lyx b/src/tex2lyx/test/test-structure.lyx.lyx index 76f9c89d2a..52f4e11882 100644 --- a/src/tex2lyx/test/test-structure.lyx.lyx +++ b/src/tex2lyx/test/test-structure.lyx.lyx @@ -1100,7 +1100,7 @@ and bibliography: LatexCommand bibitem label "" key "FOO" -literal "true" +literal "false" \end_inset @@ -1117,7 +1117,7 @@ The Foo Book LatexCommand bibitem label "" key "FO2" -literal "true" +literal "false" \end_inset