Re: listings improvement

2007-07-12 Thread Bo Peng
Yes, I do mean the latter. It's just like a printer dialog: choose print to device or print to file. If this is hard to implement, then in the interim can we just put some text on this dialog that points the user to the insert child doc? File listings needs a filename + all the options Normal

Re: listings improvement

2007-07-12 Thread Neal Becker
Bo Peng wrote: >> Make external file an option under listings insert would be more >> intuitive. > > Do you mean menu items > > insert -> >program listing >program file listing > > or something in the listings -> right click dialog? The latter is > difficult because file listings is not

Re: listings improvement

2007-07-11 Thread Bo Peng
Make external file an option under listings insert would be more intuitive. Do you mean menu items insert -> program listing program file listing or something in the listings -> right click dialog? The latter is difficult because file listings is not an option of a normal listing (which co

Re: listings improvement

2007-07-11 Thread Neal Becker
On Wednesday 11 July 2007, Bo Peng wrote: > > I can't figure out how to use external file with lyx. I only see 1 kind > > of insert for 'program listing', and nothing in the listing options that > > looks like a file name. > > Insert -> File -> Child Document -> Include Type -> Listing. You will >

Re: listings improvement

2007-07-11 Thread José Matos
On Wednesday 11 July 2007 17:03:50 Bo Peng wrote: > > Insert -> File -> Child Document -> Include Type -> Listing. You will > have to manually enter options like firstline in the option box. > > I am not sure what we can do to make this easier to access... any idea? Merge graphics, external, inc

Re: listings improvement

2007-07-11 Thread Bo Peng
I can't figure out how to use external file with lyx. I only see 1 kind of insert for 'program listing', and nothing in the listing options that looks like a file name. Insert -> File -> Child Document -> Include Type -> Listing. You will have to manually enter options like firstline in the opt

Re: listings improvement

2007-07-11 Thread Neal Becker
On Wednesday 11 July 2007, you wrote: > > I am just trying out listings and it seems pretty good. One problem I > > see is I just needed to re-indent a bunch of code (happens to be python, > > so indent matters). I thought maybe I'd just edit the lyx file in emacs, > > but found out that the form

Re: listings improvement

2007-07-11 Thread Bo Peng
I am just trying out listings and it seems pretty good. One problem I see is I just needed to re-indent a bunch of code (happens to be python, so indent matters). I thought maybe I'd just edit the lyx file in emacs, but found out that the form of the listing in the lyx file was not very friendly

listings improvement

2007-07-11 Thread Neal Becker
I am just trying out listings and it seems pretty good. One problem I see is I just needed to re-indent a bunch of code (happens to be python, so indent matters). I thought maybe I'd just edit the lyx file in emacs, but found out that the form of the listing in the lyx file was not very friendly