I am trying to use LyX v. 1.3.1 to type text mixed with C code. I use the package listings, but I found two problems:
1. LyX writes a white line between every other two that I write. If I, for example, write (in an E.R.T. frame)
this is bug in LyX. Do a Ctrl-Enter instead of a Enter at the end of every line.
2. I cannot use the tab key in ERT. Strange enough, apparently I can cut and paste text with tabs on it to an ERT frame. Tabs are usefull when you are indenting code.
put all the source code in an external file and then
\lstinputlisting{file.c}
Herbert
