Please could someone competent with Lyx 1.6.3 try this; create a literate (noweb) document and have a scrap immediately follow a lyx-code section.
In the generated .nw file (in the /tmp/lyx* dir when creating a dvi preview) the file looks like this: \} \end{lyxcode} \selectlanguage{english}% \inputencoding{latin9}<<dfs_search_first()>>= { NTSTATUS status; The error being that "<<dfs_search_first()>>=" is the start of scrap and should start on a new line. I shall try and compile lyx 1.6.3 debs against the ubuntu 1.6.2 .dsc file soon. Sam