On 30/11/2009 17:35, Jürgen Spitzmüller wrote:
Uwe Stöhr wrote:However, I also get the same error and it seems that the listings package doesn't work together with beamer.Not true. You just need the "fragile" frame option, which does not work with \lyxframe. See my previous post. Jürgen
Or you can insert the listing as an external material (from an external file instead of copying it into the presentation) and then you don't need the fragile part.