Re: only every second line is used in listings

2007-05-14 Thread Bo Peng
I use ERT in Lyx 1.3.7. I do not have 1.3.7 to test right now but AFAIK, ERT in 1.3.7 output par1 par2 as par1 par2 so you will have to use Ctrl-Enter (\newline) to enter paragraphs if you want output par1 par2 Any, lyx 1.5.0 is not far away from being released so you may want to try the

Re: only every second line is used in listings

2007-05-14 Thread Bo Peng
On 5/14/07, Christopher Eckert <[EMAIL PROTECTED]> wrote: Hello, I've got a problem with the listings package. When I insert code from a file like this: Do you use ERT in lyx.1.4 or the listings inset in lyx 1.5.0 svn? Bo

only every second line is used in listings

2007-05-14 Thread Christopher Eckert
Hello, I've got a problem with the listings package. When I insert code from a file like this: \begin{lstlisting}[caption=program1,frame=Tb,rulesep=10pt,numbers=left,numbersep=5pt,numberstyle=\tiny,language=C] for (i=0;i<=j;i++){ i+=1; } \end{lstlisting} Example output: 1 for (i=0;i<=j;i++){