Hi, tex2lyx skips lines of text after the code chunk if documentation/text is not separated from top of the chunk. I.e. the following:
-------------------------------------- some text directly above code chunk <<chunk1>>= someCode @ some text bellow code chunk -------------------------------------- results in: -------------------------------------- \begin_layout Standard some text directly above code chunk \end_layout \begin_layout Scrap <<chunk1>>= \newline 1+1 \newline @ \end_layout some text bellow code chunk -------------------------------------- When I open such file I see in terminal: Handling unknown body token: `some text bellow code chunk' That line should be in Standard layout. Example file is uploaded to bugzilla that shows possible combinations and outcome. I have tested this in 1.4.3, 1.4.4svn and 1.5.0svn under Debian GNU/Linux. Gregor