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 of the listing in the lyx file was not very
> > friendly to this.
>
> This is why I tend to use external files as listings child documents.
> It is easier to modify an external file than doing so within lyx. An
> advantage of this approach is that  you can use 'firstline',
> 'lastline' options to include part of the file. There is also a more
> flexible linerange option in the latest listings package.
>

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.


Reply via email to