Re: Using listings package with beamer.

2007-05-19 Thread Jürgen Spitzmüller
Bo Peng wrote: > > [fragile] should work, theoretically. > > No. It does not. :-( Does it work if you insert the frame with ERT? I always pass options that way. Jürgen

Re: Using listings package with beamer.

2007-05-19 Thread Bo Peng
> You can also try to define an optional argument for Frame in the layout. We > should do this anyway. Simple replacement of plain with fragile does not seem to work. Style BeginFragileFrame KeepEmpty 1 LatexType Command LatexName lyxframeend{}\lyxfragileframe Margin

Re: Using listings package with beamer.

2007-05-19 Thread Bo Peng
On 5/19/07, Jürgen Spitzmüller <[EMAIL PROTECTED]> wrote: Bo Peng wrote: > [fragile] > > Nothing works. See attached. [fragile] should work, theoretically. No. It does not. :-( You can also try to define an optional argument for Frame in the layout. We should do this anyway. Then how about

Re: Using listings package with beamer.

2007-05-19 Thread Martin Vermeer
On Sat, May 19, 2007 at 12:18:20AM -0500, Bo Peng wrote: > Dear all, > > I am trying to use listings with beamer, I learned > that > > 1. beamer 3.07 is required. > > 2. listings can not be float (understandable) > > 3. the option fragile after \begin{frame} is > necessary. > > How would I i

Re: Using listings package with beamer.

2007-05-19 Thread Jürgen Spitzmüller
Bo Peng wrote: > [fragile] > > Nothing works. See attached. [fragile] should work, theoretically. You can also try to define an optional argument for Frame in the layout. We should do this anyway. Jürgen

Re: Using listings package with beamer.

2007-05-19 Thread Bo Peng
"You can pass options and an overlay specification to a frame by giving these in TEX-mode as the first thing in the frame title. (Some magic is performed to extract them in LYX-mode from there.)" I tried <[fragile]> [] [fragile] Nothing works. See attached. Bo beamer-listings.lyx Descriptio

Re: Using listings package with beamer.

2007-05-18 Thread Jürgen Spitzmüller
Bo Peng wrote: > How would I insert this [fragile] option in lyx? Citing beameruserguide, p. 48: "You can pass options and an overlay specification to a frame by giving these in TEX-mode as the first thing in the frame title. (Some magic is performed to extract them in LYX-mode from there.)" Jür

Using listings package with beamer.

2007-05-18 Thread Bo Peng
Dear all, I am trying to use listings with beamer, I learned that 1. beamer 3.07 is required. 2. listings can not be float (understandable) 3. the option fragile after \begin{frame} is necessary. How would I insert this [fragile] option in lyx? Bo

Using listings package

2004-10-26 Thread Michael Creel
Hello, I'm using the listings package to display source code in a Lyx document. See http://www.texnik.de/listings/listings.phtml, for example. The way I use this is to open an ERT box that holds \begin_inset ERT status Open \layout Standard \backslash begin{lstlisting}[language=Octave,% \newli

Re: Big Problems in using listings package with lyx

2002-05-16 Thread Herbert Voss
Thomas Schuler wrote: > rpm package for redhat 7.x ? Or another way: I've tried to update my latex > manually by replacing the listings package with the latest one - this would be > fine, but I can't find the newest graphics package 1.10 or later which is used > in the listings package. Who can h

Re: Big Problems in using listings package with lyx

2002-05-16 Thread Thomas Schuler
Sorry, there's an error occurred! It should be: In that Redhat Packages is still listings 0.21 used, not 1.0. 1.0 can't used because listings 1.0 needs graphics 1.10 but in that packages is still graphics 1.0 used... Thomas

Re: Big Problems in using listings package with lyx

2002-05-15 Thread Thomas Schuler
Hi Herbert, thanks for your answer - but it didn't solve the problem...:-( > This example-file is for the old listings.sty-version. > > try the attached one. > > Herbert I've tried it with my Lyx 1.1.6fix4 and it told that the attached file has some extensions that it can't recognize. So I t

Re: Big Problems in using listings package with lyx

2002-05-15 Thread Herbert Voss
Thomas Schuler wrote: > I've got really big problems in using the listings package in Lyx 1.1.6.fix 3 > with tetex on my Redhat 7.2 Linuxbox...I would be very grateful if anybody is > out there who can give me the final tip...:-) > > I installed the listings package as described but if I want

Big Problems in using listings package with lyx

2002-05-15 Thread Thomas Schuler
Hello there! I've got really big problems in using the listings package in Lyx 1.1.6.fix 3 with tetex on my Redhat 7.2 Linuxbox...I would be very grateful if anybody is out there who can give me the final tip...:-) I installed the listings package as described but if I want to create an expor