Am 03.09.2015 um 07:20 schrieb Maaneli Derakhshani: > Hi LyX Users, > > I have been cut/pasting source code from a LyX document to a LaTeX > document, and compiling the latter without difficulty until now.
How do you do this, exactly? Export the Lyx document to Latex (pdflatex) and then compile it with pdflatex? > Out of > nowhere, after the last pasting from LyX to LaTeX, I suddenly get a > compiling error which doesn't go away when I undo the pasting. The > GotoError button isn't helpful - it just highlights "\begin{document}" > at the beginning of the TeX document. I have no idea what the problem > is, so any help would be greatly appreciated. Can you please show us a minimal example reproducing the error. Otherwise it's nearly impossible to tell what's wrong David