Thierry Lemeunier <[EMAIL PROTECTED]> writes:

| When I need to insert some code in LyX I use the latex Listings package.
| There're about 38 recognized languages (C, C++, java, Lisp, csh, etc.)
| and you can define your own language if you need it.
| 
| You can :
|       - use line numbering in different styles
|       - use color package
|       - insert a source file code or just insert a part of a source file
|       - and more.
| 
| I think it's more simple than lgring (that I don't known well) because
| you don't
| need to do a preprocessing. You have to insert some ERT lines. For
| example :

This is really a great package.
I just tested with buffer.C in the LyX distribution and it worked
flawlessly.

I think we should somehow create support for this in LyX.
The listings package seems to be actively maintained too.

        Lgb

Reply via email to