Consider the following tex file: \documentclass{scrbook} \usepackage{listings} \lstset{language=Octave}
\begin{document} \begin{lstlisting} [x,y] = nice_fun(a,b); \end{lstlisting} \end{document} The problem is that when importing tex2lyx reads the [x,y] as an additional arguments to lstlisting. Is this known? Should I add a new tracker issue? Regards, -- José Abílio