Hi List, i'm looking for an code layout (environment) for LyX, wich automaticly inserts line numbers and a "table of contents" for all listings. If it's possible to configure this layout to look a bit like old "endless paper" (one line with white background, one with green) this would be exactly what i'm looking for, but that would be a goody. If there is a tutorial how to write layouts, a RTFM with a link will be enough. I knwo i can use the LaTeX "listing package", but ERT's are not really comfortable.
-- Mit freundlichem Gruss Yours sincerely Roland Schmitz