Re-opening an old thread..
On Tue, Aug 31, 2010 at 9:28 PM, Guenter Milde <mi...@users.berlios.de> wrote: > On 2010-08-31, Jürgen Spitzmüller wrote: > >> 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). > > How about a "fragile frame" inset? > I came up with two hacks which sofar work just fine in combination with the Sweave module (for R output). One usage note: you need to use 'EndFrame' env before RragileFrame, when the latter comes immediately after the Beamer title or after a regular Frame. Later I'll look into making this a module; now you'd simply need to add this to your beamer.layout. Regards Liviu InsetLayout Flex:FragileFrame LyXType custom LatexType Environment LatexName frame LatexParam [fragile] Decoration Classic MultiPar 1 LabelString "Fragile Frame" NeedProtect 0 Spellcheck 1 End InsetLayout Flex:FragileTitle LyXType custom LatexType Command LatexName frametitle LabelString "Fragile Title" Decoration Classic Spellcheck 1 End > InsetLayout FragileFrame > LyXType custom > LatexType Environment > LatexName ??? > ... > > > Günter > > -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail