Hi Karl, most certainly this problem comes from temporary files created by LaTeX. When you created a new file and copied everything on it, those files where not present and thus, the document compiled. I had my share of those and are always solved the same way. Check if the folder in which the original LyX file was created have some temporary LaTeX files.
Regards. ------------------------------------------------- Julio Rojas [email protected] On Sun, Sep 18, 2011 at 2:50 AM, Karl Linek <[email protected]> wrote: > Hi, > > I have two files. The first one I wrote with LyX 1.6.7. Then I installed > LyX 2.0. I copied the file to a USB-stick. Suddenly I got always 4 > errors > > "Undefined control sequence." > > for example with the description > > "ist $\unit[1]{\lyxmathsym{\textdegree}C} > $ gleich $\unit[1]{K}$. > The control sequence at the end of the top line > of your error message was never \def'ed. If you have > misspelled it (e.g., `\hobx'), type `I' and the correct > spelling (e.g., `I\hbox'). Otherwise just continue, > and I'll forget about whatever was undefined." > > That was not useful. I tried a lot of things. Once I succeeded to reduce > the error by one. > > The last trial was to copy the text, to make a new file and to paste the > text. I did the same with all the options and settings. At least I had a > manually copied file. And... > > It worked. No errors, no complains. > > > I think LyX does not delete all the code if one changes some settings. > > lg, > Karl > > > > >
