Jean-Marc Lasgouttes wrote: > Le 06/02/2013 13:43, Kornel Benko a écrit : >> tex2lyx tests: >> 1.) Remove empty layout 'Plain' >> 2.) Adapt to changed look of layout 'Verbatim' > > I am not sure (yet) whether this is a good thing. The fact is that my > new code avoids extra empty paragraphs at the end of verbatim, but I am > not sure whether they had a purpose. Georg, Uwe, could you comment?
IIRC there was a bug in LyX that required these empty paragraphs for the re- exported .tex to be equivalent. I don't know if this bug still exists. IMHO the exported .lyx is correct if the re-exported .tex is equivalent to the imported .tex. > BTW, is there somewhere a description of how these test work? A readme > file would be nice. This has been requested several times, but I did not find the time to write one up to now. I do not want to dump it into a hidden place where nobody will find it. Recently I had the idea of a development manual in lib/doc that could contain descriptions for testing, code design issues etc. This might even help to convert more users to developers (it would be more visible, and IMHO it looks friendly if the development docs are as accessible as the user docs). What do you think? Georg