Hi everybody Lyx 1.5.4 on Mac OS X leopard, Texshop 2.14 I have a latex file which is an export from SAS which is basically huge collection of tables that I need to use in a report which i write in Lyx. I want to import the tables into the Lyx document. The TeX document compiles nicely in Texshop (thanks to earlier help from Konrad on this list) and gives a good quality pdf output. When i use Lyx's import function no table is imported but only a series of ERT blocks with a lot of & s in between (not in ERT for some reason). The stuf in the ERT look like this "\multicolumn{1}{|S{Data}{r}|}{1107.89}". This is the individual cell content. At the beginning of each line there is a \hline and at the end of a row there is a forced linebreak.
The file doesn't compile and gives the error message "Misplaced \omit." and ".n{sastable}{[}c]{rrrr}\hline \multicolumn {1}{|S{Header}{c}|}{Obs} I expect to see \omit only after tab marks or the \cr of an alignment. Proceed, and I'll ignore this case." Is there any hope to ever use this tex file in Lyx or do i have to do my whole lyx document in Texshop? regards Christiaan