Re: Inserting source code examples.

2001-10-05 Thread Remzi Seker
Use package listings... Here is an example file to include some Matlab code. It works for C and many other languages. On Friday 05 October 2001 07:04, Ben Logan wrote: > Hi, > > I'm helping write a book (http://opencbp.sourceforge.net) in LyX, and > we need to include examples of C source code.

Re: Inserting source code examples.

2001-10-05 Thread Herbert Voss
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

Inserting source code examples.

2001-10-05 Thread Ben Logan
Hi, 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