Le 29/03/11 19:02, Georg Baum a écrit :
This is a known problem. tex2lyx does not support listings (http://www.lyx.org/trac/ticket/5194) or the standard verbatim environment (http://www.lyx.org/trac/ticket/5408) at all. Fixing this is possible, but not easy, since the usual TeX parsing cannot be used for listings and verbatim code. It needs to be modified depending on the given listings settings, i.e. the escape character. Therefore I would not expect that this bug gets fixed soon.
Since we use catcodes, it should be possible without too much sweat, but things will probably become interesting as soon as somebody actually tries to do it :)
JMarc
