Looks like a bug in the parser. Stefan
Am 22.02.2008 um 12:12 schrieb Dominik Böhm:
Hi, I am not sure if that's a bug or just not supported. That's the reason why I send this message to the lyx-devel list. When you create a new math-macro and insert some "\begin{sideways}#1\end{sideways}", save the file and reload it, LyX isn't able to load the macro properly. Instead of "\begin{sideways}#1\end{sideways}" LyX loads "\begin{sideways}#1\end{sideways}{sideways}". Each time I save and reload the file, another "{sideways}" gets added. Please find attached a simple lyx-file that shows the error. Why is that, does LyX simply not support environments in math-macros? Best regards and thanks Dominik <error-file.lyx>