Shailesh Kumar wrote: > I am new to Lyx though have used latex before. I am creating a > presentation in Lyx using the breamer class. I want to introduce some > source code listings (using Insert -> Program Listing). Doing this leads > to errors. I suppose this can be fixed if a beamer frame can be declared > as fragile. I could not figure out any way to do this in the user > interface. Does someone know how to fix this?
You need to use TeX-Mode: http://marc.info/?l=lyx-users&m=125957115114257&w=2 This is due to the fact how frames are defined in LyX. Unfortunately, this rules out native support for fragile frames (unless someone comes up with a new definition of \lyxframe). Jürgen