On 29-3-2011 18:31, Richard Heck wrote:
I'm forwarding this to lyx-devel and, in particular, to our tex2lyx guru. Richard Hi list, I have looked around and I've seen there are a couple of issues with exporting to latex and then reimporting it to lyx. I have run into that problem with a really very simple file (a 1x1 table with a 'program listing' inside), and would like to know if there are any known workarounds to make it work. With the attached lyx document I do File->Export->LaTex(plain) and then File->Import->LaTex(plain) and I get a lyx document that cannot be rendered as a pdf. Any help or pointer is appreciated. Thanks in advance.
We forget to put \usepackage{listings} in the preamble. Vincent