]> git.lyx.org Git - lyx.git/blobdiff - src/tex2lyx/test/test-insets-basic.lyx.lyx
tex2lyx: update quote handling
[lyx.git] / src / tex2lyx / test / test-insets-basic.lyx.lyx
index ba5c04366a8fdfc5aab5a4087785d804a0a45f92..3c2698d6d2a7fc0888301a29c874dfdaf74fe29c 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
 
@@ -915,6 +977,7 @@ http://www.lyx.org
 LatexCommand nomenclature
 symbol "URL2"
 description "uniform resource locator"
+literal "false"
 
 \end_inset
 
@@ -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,6 +1067,7 @@ ftp2:
 LatexCommand href
 name "www.test.test"
 target "ftp://www.test.test"
+literal "false"
 
 \end_inset
 
@@ -1533,7 +1602,7 @@ Second
 
 \begin_layout Standard
 
-\begin_inset Caption LongTableNoNumber
+\begin_inset Caption Unnumbered
 
 \begin_layout Plain Layout
 standard foot
@@ -1578,7 +1647,7 @@ bottom.
 
 \begin_layout Standard
 
-\begin_inset Caption LongTableNoNumber
+\begin_inset Caption Unnumbered
 
 \begin_layout Plain Layout
 (last foot)
@@ -3050,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
 
@@ -4351,6 +4420,10 @@ status collapsed
 % some comment
 \end_layout
 
+\begin_layout Plain Layout
+
+\end_layout
+
 \end_inset
 
 
@@ -4443,7 +4516,7 @@ status collapsed
 \begin_layout Plain Layout
 
 \backslash
-centering 
+centering
 \end_layout
 
 \end_inset
@@ -5812,7 +5885,7 @@ Special formattings
 \end_layout
 
 \begin_layout Subsection
-LyX line
+Rules
 \end_layout
 
 \begin_layout Standard
@@ -5823,13 +5896,6 @@ test
 
 \size tiny
 
-\end_layout
-
-\begin_layout Standard
-\noindent
-
-\size tiny
-
 \begin_inset CommandInset line
 LatexCommand rule
 offset "0.5ex"
@@ -5857,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
@@ -5901,10 +5949,6 @@ height "1pt"
 
 \end_layout
 
-\begin_layout Subsection
-rules
-\end_layout
-
 \begin_layout Standard
 test
 \begin_inset CommandInset line
@@ -6074,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
@@ -6785,6 +6829,10 @@ status collapsed
 % and another
 \end_layout
 
+\begin_layout Plain Layout
+
+\end_layout
+
 \end_inset
 
 
@@ -7007,6 +7055,7 @@ undefined index:
 \begin_inset CommandInset index_print
 LatexCommand printindex
 type "idx"
+literal "true"
 
 \end_inset
 
@@ -7014,7 +7063,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
@@ -7022,6 +7091,7 @@ index "idx":
 \begin_inset CommandInset index_print
 LatexCommand printindex
 type "idx"
+literal "true"
 
 \end_inset
 
@@ -7029,7 +7099,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
@@ -7037,6 +7127,7 @@ index "new":
 \begin_inset CommandInset index_print
 LatexCommand printindex
 type "new"
+literal "true"
 
 \end_inset
 
@@ -7044,7 +7135,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
@@ -7052,6 +7163,7 @@ subindex "new":
 \begin_inset CommandInset index_print
 LatexCommand printsubindex
 type "idx"
+literal "true"
 
 \end_inset