Ben Logan wrote: > > I'm helping write a book (http://opencbp.sourceforge.net) in LyX, and > we need to include examples of C source code. The way I'm doing it > right now is to use the Include File feature and check the Verbatim > option. This works just fine, except that I wish LyX could take care > of automatically numbering the examples, and I wish I could add a > caption. The reason I'm not using algorithm floats is that the images > generated are large, and seem to cause problems (if, for example, the > source code spans multiple pages). > > Is there any way to do this?
http://www.educat.hu-berlin.de/~voss/lyx/listings/listings.html Herbert -- http://www.educat.hu-berlin.de/~voss/lyx/