Roundtrip test corrected, due to changes of tex2lyx (less emty lines)

This commit is contained in:
Kornel Benko 2012-12-14 13:31:21 +01:00
parent 275b889501
commit c3256a2d52
4 changed files with 0 additions and 754 deletions

File diff suppressed because it is too large Load Diff

View File

@ -74,28 +74,23 @@ theorems-ams
\begin_body
\begin_layout Standard
This is a dummy file
\end_layout
\begin_layout Standard
It has a theorem, a lemma and a proof.
\end_layout
\begin_layout Standard
The theorem is recognized is a style provided by the module theorems-ams, since the preamble code matches.
\end_layout
\begin_layout Standard
The lemma is not recognized as a command provided by a module, since the preamble code is from an older version of
\begin_inset ERT
status collapsed
\begin_layout Standard
LyX
\end_layout
@ -107,19 +102,16 @@ theorem.
\end_layout
\begin_layout Standard
The proof is recognized as a builtin style provided by the text class.
\end_layout
\begin_layout Standard
\begin_inset ERT
status collapsed
\begin_layout Standard
\backslash
begin{lem}
\end_layout
@ -132,7 +124,6 @@ status collapsed
\begin_layout Standard
\backslash
end{lem}
\end_layout
@ -143,12 +134,10 @@ end{lem}
\end_layout
\begin_layout Theorem
this is the theorem
\end_layout
\begin_layout Proof
this is the proof
\end_layout

View File

@ -108,24 +108,20 @@ logicalmkup
\begin_body
\begin_layout Title
Title
\end_layout
\begin_layout Standard
\begin_inset ERT
status collapsed
\begin_layout Standard
% this should be recognized as empty date:
\end_layout
\begin_layout Standard
\end_layout
\end_inset
@ -134,17 +130,14 @@ status collapsed
\end_layout
\begin_layout Standard
This document contains all sorts of layouts we are supposed to support, along with weird nestings.
\end_layout
\begin_layout Standard
At time you will see that I use subsubsections in weird places. The intent is just to make sure that I can include a macro-type layout everyzhere it makes sense.
\end_layout
\begin_layout Standard
A normal paragraph
\begin_inset Formula \begin{equation}
x = \sin y
@ -155,24 +148,20 @@ with maths inside it.
\end_layout
\begin_layout Quote
An environment...
\end_layout
\begin_layout Quote
... with two paragraphs
\end_layout
\begin_layout Standard
\begin_inset ERT
status collapsed
\begin_layout Standard
\backslash
begin{foo}
\end_layout
@ -185,7 +174,6 @@ status collapsed
\begin_layout Standard
\backslash
end{foo}
\end_layout
@ -196,19 +184,16 @@ end{foo}
\end_layout
\begin_layout Section
A section
\end_layout
\begin_layout Section
\begin_inset Argument 999
status collapsed
\begin_layout Standard
Hello!
\end_layout
@ -218,13 +203,11 @@ A section with optional argument
\end_layout
\begin_layout Standard
This causes the
\begin_inset Flex Flex:Strong
status collapsed
\begin_layout Standard
logikalmkup
\end_layout
@ -234,12 +217,10 @@ logikalmkup
\end_layout
\begin_layout Quote
An environment
\end_layout
\begin_layout Standard
We also support change tracking:
\change_inserted -443692588 1320572379
Added text some parts remain
@ -248,13 +229,11 @@ This was the original text some parts remain
\end_layout
\begin_layout Section*
A starred section for floats
\end_layout
\begin_layout Standard
\begin_inset Float figure
wide false
sideways false
@ -263,11 +242,9 @@ status open
\begin_layout Standard
\begin_inset Caption
\begin_layout Standard
\emph on
@ -291,7 +268,6 @@ is
\begin_layout Standard
\begin_inset Float figure
wide false
sideways false
@ -300,17 +276,14 @@ status open
\begin_layout Standard
\begin_inset Caption
\begin_layout Standard
\begin_inset Argument 1
status collapsed
\begin_layout Standard
s
\noun on
ho
@ -339,7 +312,6 @@ is
\begin_layout Standard
\begin_inset Float table
wide true
sideways true
@ -348,11 +320,9 @@ status open
\begin_layout Standard
\begin_inset Caption
\begin_layout Standard
rotated table, spanning all columns
\end_layout
@ -363,13 +333,11 @@ rotated table, spanning all columns
\begin_layout Standard
\begin_inset ERT
status collapsed
\begin_layout Standard
\backslash
centering
\end_layout
@ -381,7 +349,6 @@ centering
status collapsed
\begin_layout Standard
{}
\end_layout
@ -398,7 +365,6 @@ status collapsed
\begin_inset Text
\begin_layout Standard
a
\end_layout
@ -408,7 +374,6 @@ a
\begin_inset Text
\begin_layout Standard
b
\end_layout
@ -420,7 +385,6 @@ b
\begin_inset Text
\begin_layout Standard
d
\end_layout
@ -430,7 +394,6 @@ d
\begin_inset Text
\begin_layout Standard
c
\end_layout
@ -451,7 +414,6 @@ c
\begin_layout Standard
\begin_inset Wrap figure
lines 4
placement L
@ -462,17 +424,14 @@ status open
\begin_layout Standard
\align center
fdgsdfdh
\end_layout
\begin_layout Standard
\begin_inset Caption
\begin_layout Standard
test1
\end_layout
@ -487,13 +446,11 @@ test1
\end_layout
\begin_layout Standard
LyX is a document preparation system. It excels at letting you create complex technical and scientific articles with mathematics, cross-references, bibliographies, indices, etc. It is very good at documents of any length in which the usual processing abilities are required: automatic sectioning and pagination, spell checking, and so forth. It can also be used to write a letter to your mom, though granted, there are probably simpler programs available for that. It is definitely not the best tool for creating banners, flyers, or advertisements (we'll explain why later), though with some effort all these can be done, too.
\end_layout
\begin_layout Standard
\begin_inset Wrap figure
lines 0
placement o
@ -504,17 +461,14 @@ status open
\begin_layout Standard
\align center
fdgs
\end_layout
\begin_layout Standard
\begin_inset Caption
\begin_layout Standard
test2
\end_layout
@ -529,13 +483,11 @@ test2
\end_layout
\begin_layout Standard
LyX is a document preparation system. It excels at letting you create complex technical and scientific articles with mathematics, cross-references, bibliographies, indices, etc. It is very good at documents of any length in which the usual processing abilities are required: automatic sectioning and pagination, spell checking, and so forth. It can also be used to write a letter to your mom, though granted, there are probably simpler programs available for that. It is definitely not the best tool for creating banners, flyers, or advertisements (we'll explain why later), though with some effort all these can be done, too.
\end_layout
\begin_layout Standard
\begin_inset Wrap table
lines 0
placement i
@ -546,11 +498,9 @@ status open
\begin_layout Standard
\begin_inset Caption
\begin_layout Standard
fdg
\end_layout
@ -561,13 +511,11 @@ fdg
\begin_layout Standard
\begin_inset ERT
status collapsed
\begin_layout Standard
\backslash
centering
\end_layout
@ -579,7 +527,6 @@ centering
status collapsed
\begin_layout Standard
{}
\end_layout
@ -594,13 +541,11 @@ dfgd
\end_layout
\begin_layout Standard
LyX is a document preparation system. It excels at letting you create complex technical and scientific articles with mathematics, cross-references, bibliographies, indices, etc. It is very good at documents of any length in which the usual processing abilities are required: automatic sectioning and pagination, spell checking, and so forth. It can also be used to write a letter to your mom, though granted, there are probably simpler programs available for that. It is definitely not the best tool for creating banners, flyers, or advertisements (we'll explain why later), though with some effort all these can be done, too.
\end_layout
\begin_layout Standard
\begin_inset Float table
wide false
sideways false
@ -609,11 +554,9 @@ status open
\begin_layout Standard
\begin_inset Caption
\begin_layout Standard
lkälöä
\end_layout
@ -624,7 +567,6 @@ lkälöä
\begin_layout Standard
\begin_inset Float table
wide false
sideways false
@ -632,7 +574,6 @@ status collapsed
\begin_layout Standard
klöä
\end_layout
@ -640,7 +581,6 @@ klöä
\begin_inset Caption
\begin_layout Standard
ölkälö
\end_layout
@ -662,7 +602,6 @@ klöä
\begin_layout Standard
\begin_inset Float figure
wide false
sideways false
@ -671,7 +610,6 @@ status open
\begin_layout Standard
\begin_inset Float figure
wide false
sideways false
@ -679,7 +617,6 @@ status collapsed
\begin_layout Standard
sub
\color red
fig
@ -691,7 +628,6 @@ u%re 1
\begin_inset Caption
\begin_layout Standard
te%st
\end_layout
@ -708,7 +644,6 @@ te%st
\begin_layout Standard
\begin_inset space \hfill{}
\end_inset
@ -721,7 +656,6 @@ status collapsed
\begin_layout Standard
subfigure 2ö
\end_layout
@ -731,7 +665,6 @@ subfigure 2ö
\begin_layout Standard
\end_layout
\end_inset
@ -746,7 +679,6 @@ subfigure 2ö
\begin_layout Standard
\begin_inset Float figure
wide false
sideways false
@ -754,7 +686,6 @@ status collapsed
\begin_layout Standard
subfigure 3
\end_layout
@ -765,11 +696,9 @@ subfigure 3
\begin_layout Standard
\begin_inset Caption
\begin_layout Standard
figure caption
\end_layout
@ -779,7 +708,6 @@ figure caption
\end_layout
\begin_layout Standard
strange usage, but valid
\end_layout
@ -789,19 +717,16 @@ strange usage, but valid
\end_layout
\begin_layout Subsection
Some paragraph stuff
\end_layout
\begin_layout Standard
A paragraph
\begin_inset Foot
status collapsed
\begin_layout Standard
hello
\end_layout
@ -813,12 +738,10 @@ status collapsed
\begin_layout Standard
hello
\end_layout
\begin_layout Standard
there
\end_layout
@ -832,178 +755,146 @@ there
\end_layout
\begin_layout Standard
and another paragraph
\end_layout
\begin_layout Standard
\align center
Some centered stuff
\end_layout
\begin_layout Quotation
An environment
\end_layout
\begin_deeper
\begin_layout Subsubsection*
with a command inside it
\end_layout
\end_deeper
\begin_layout --Separator--
\end_layout
\begin_layout Quotation
Another environment
\end_layout
\begin_deeper
\begin_layout Quotation
With another one inside it (with same layout)
\end_layout
\begin_layout Quotation
[this one even has several paragraphs!]
\end_layout
\end_deeper
\begin_layout Standard
We can also nest enumerations
\end_layout
\begin_layout Enumerate
Item1
\end_layout
\begin_deeper
\begin_layout Enumerate
Item1.a
\end_layout
\begin_layout Enumerate
Item1.b (there is a paragraph break in front of this)
\end_layout
\begin_deeper
\begin_layout Itemize
Item1.b.*
\end_layout
\begin_layout Itemize
Item1.b.*
\end_layout
\end_deeper
\end_deeper
\begin_layout Enumerate
Item2
\end_layout
\begin_layout --Separator--
\end_layout
\begin_layout Enumerate
Item1 (appears as Item3 with bug 5716)
\end_layout
\begin_deeper
\begin_layout Standard
Normal paragraph in Item1
\end_layout
\begin_layout Enumerate
Item1.a
\end_layout
\end_deeper
\begin_layout Standard
Let's see what happens when normal paragraphs are inserted in lists:
\end_layout
\begin_layout Itemize
the first item
\end_layout
\begin_deeper
\begin_layout Standard
with some explanatory text under it
\end_layout
\begin_layout Standard
and a second paragraph for good measure
\end_layout
\begin_layout Subsubsection*
we can even have one as a subsubsection
\end_layout
\end_deeper
\begin_layout Itemize
the second item
\end_layout
\begin_layout Itemize
the third item
\end_layout
\begin_deeper
\begin_layout Subsubsection*
and a sssection heading inside it (why not?)
\end_layout
\end_deeper
\begin_layout Standard
What else? Well, we have descriptions:
\end_layout
\begin_layout Description
ABC first item
\end_layout
\begin_layout Description
BCD second one
\end_layout
\begin_layout Description
\begin_inset ERT
status collapsed
\begin_layout Standard
x y z
\end_layout
@ -1014,17 +905,14 @@ x y z
\begin_layout Description
\begin_inset ERT
status collapsed
\begin_layout Standard
x y % bla
\end_layout
\begin_layout Standard
z
\end_layout
@ -1034,13 +922,11 @@ z
\end_layout
\begin_layout Standard
labelings:
\end_layout
\begin_layout Labeling
\labelwidthstring 00.00.0000
label
\begin_inset space ~
@ -1050,7 +936,6 @@ label
\end_layout
\begin_layout Labeling
label
\begin_inset space ~
@ -1061,12 +946,10 @@ label
\begin_layout Labeling
\begin_inset ERT
status collapsed
\begin_layout Standard
$
\backslash
left[
@ -1082,7 +965,6 @@ right]^{x}$
\end_layout
\begin_layout Standard
verbatim:
\end_layout
@ -1122,7 +1004,6 @@ status collapsed
\begin_layout Standard
\backslash
verb~
\backslash
@ -1137,7 +1018,6 @@ status collapsed
\begin_layout Standard
\backslash
verb+
\backslash
@ -1152,7 +1032,6 @@ status collapsed
\begin_layout Standard
\backslash
verb+something
\backslash
@ -1165,13 +1044,11 @@ verb+something
\end_layout
\begin_layout Standard
and bibliography:
\end_layout
\begin_layout Bibliography
\begin_inset CommandInset bibitem
LatexCommand bibitem
label ""
@ -1188,7 +1065,6 @@ The Foo Book
\begin_layout Bibliography
\begin_inset CommandInset bibitem
LatexCommand bibitem
label ""
@ -1206,18 +1082,15 @@ The Müller Book
\begin_layout Standard
\start_of_appendix
\begin_inset ERT
status collapsed
\begin_layout Standard
%dummy comment inserted by tex2lyx to ensure that this paragraph is not empty
\end_layout
\begin_layout Standard
\end_layout
\end_inset
@ -1226,18 +1099,15 @@ status collapsed
\end_layout
\begin_layout Section
This is the Appendix
\end_layout
\begin_layout Standard
\noindent
blabla bla bla
\end_layout
\begin_layout Standard
switch to german:
\lang german
Hallo!
@ -1284,21 +1154,18 @@ english
\begin_layout Section
\lang newzealand
Another Appendix section
\end_layout
\begin_layout Standard
\lang newzealand
blub
\end_layout
\begin_layout Standard
\lang newzealand
Test for missing
\backslash
end_deeper (file format 278). This must stay at the very end of the document!
@ -1307,7 +1174,6 @@ end_deeper (file format 278). This must stay at the very end of the document!
\begin_layout Itemize
\lang newzealand
par1
\end_layout
@ -1315,14 +1181,12 @@ par1
\begin_layout Standard
\lang newzealand
par2
\end_layout
\begin_layout Enumerate
\lang newzealand
par1
\end_layout
@ -1330,7 +1194,6 @@ par1
\begin_layout Standard
\lang newzealand
par2
\end_layout

View File

@ -78,13 +78,11 @@
\begin_body
\begin_layout Title
Test Document
\end_layout
\begin_layout Standard
\begin_inset CommandInset toc
LatexCommand tableofcontents
@ -94,12 +92,10 @@ LatexCommand tableofcontents
\end_layout
\begin_layout Section
First Section
\end_layout
\begin_layout Standard
This
\size large
a
@ -117,13 +113,11 @@ d
status collapsed
\begin_layout Standard
%Midline comment
\end_layout
\begin_layout Standard
\end_layout
\end_inset
@ -144,7 +138,6 @@ status open
\begin_layout Standard
What are you doing \SpecialChar \ldots{}
Dave
\end_layout
@ -155,13 +148,11 @@ Dave
\end_layout
\begin_layout Section*
MySection
\end_layout
\begin_layout Standard
\begin_inset CommandInset label
LatexCommand label
name "sec:mysection"
@ -181,7 +172,6 @@ quoted
status collapsed
\begin_layout Standard
{
\end_layout
@ -193,7 +183,6 @@ status collapsed
\begin_layout Standard
\backslash
em
\end_layout
@ -206,12 +195,10 @@ status collapsed
\begin_layout Standard
This is a great footnote because:
\end_layout
\begin_layout Itemize
The footnote is not
\emph on
emphasized
@ -220,12 +207,10 @@ emphasized
\end_layout
\begin_layout Itemize
The text is
\end_layout
\begin_layout Standard
How cool is that!?
\end_layout
@ -239,7 +224,6 @@ text.
\end_layout
\begin_layout Standard
I keep
\begin_inset Quotes erd
\end_inset
@ -249,7 +233,6 @@ I keep
status collapsed
\begin_layout Standard
}
\end_layout
@ -277,7 +260,6 @@ status collapsed
\begin_layout Standard
i.e., characters which must be escaped
\end_layout
@ -287,19 +269,16 @@ i.e., characters which must be escaped
\end_layout
\begin_layout Standard
_ is a neat token.
\begin_inset ERT
status collapsed
\begin_layout Standard
% This line won't print!
\end_layout
\begin_layout Standard
\end_layout
\end_inset
@ -308,7 +287,6 @@ status collapsed
\end_layout
\begin_layout Standard
Now I
\family sans
want
@ -329,36 +307,30 @@ q_{p}^{(i)} & = & q^{water}_{H}+dq_{H}\times (P_{deg}^{(i-1)}-P^{(i+1)}_{deg})
\end_layout
\begin_layout Standard
Here's an itemized list
\end_layout
\begin_layout Itemize
this is an item
\end_layout
\begin_deeper
\begin_layout Enumerate
this is a numbered item
\end_layout
\begin_deeper
\begin_layout Standard
But now I want to write some text.
\end_layout
\end_deeper
\begin_layout Enumerate
this is another numbered item
\end_layout
\begin_deeper
\begin_layout Standard
More text
\end_layout
@ -366,32 +338,27 @@ More text
\end_deeper
\begin_deeper
\begin_layout Standard
Yet more text
\end_layout
\end_deeper
\begin_layout Itemize
this is another unnumbered item
\end_layout
\begin_deeper
\begin_layout Standard
Final text
\end_layout
\end_deeper
\begin_layout Section
\begin_inset Argument 999
status collapsed
\begin_layout Standard
hi
\end_layout
@ -401,13 +368,11 @@ New Section
\end_layout
\begin_layout Standard
Here's a
\begin_inset ERT
status collapsed
\begin_layout Standard
{
\end_layout
@ -419,7 +384,6 @@ status collapsed
\begin_layout Standard
\backslash
em
\end_layout
@ -430,23 +394,19 @@ em
\end_layout
\begin_layout Quotation
Hello there how are you?
\end_layout
\begin_layout Quotation
I am fine. Thanks
\end_layout
\begin_layout Standard
This
\begin_inset ERT
status collapsed
\begin_layout Standard
}
\end_layout
@ -471,7 +431,6 @@ reference "sec:mysection"
\begin_layout Standard
\begin_inset Tabular
<lyxtabular version="3" rows="2" columns="2">
<features rotate="0" tabularvalignment="middle" tabularwidth="0pt">
@ -482,7 +441,6 @@ reference "sec:mysection"
\begin_inset Text
\begin_layout Standard
foo
\end_layout
@ -492,7 +450,6 @@ foo
\begin_inset Text
\begin_layout Standard
bar
\end_layout
@ -504,7 +461,6 @@ bar
\begin_inset Text
\begin_layout Standard
bar
\end_layout
@ -514,7 +470,6 @@ bar
\begin_inset Text
\begin_layout Standard
foo
\end_layout
@ -529,17 +484,14 @@ foo
\end_layout
\begin_layout Standard
Let's try a few unicode characters: the (R) symbol ®(and the same one with braces ® and a space after) or maybe an accented a á or this one á or this î.
\end_layout
\begin_layout Standard
Watch out: ®should be glued to its successor here.
\end_layout
\begin_layout Standard
Final Text.
\end_layout