Re: Inserting environments in math-macros doesn't work as expected

2008-02-22 Thread Andre Poenitz
On Fri, Feb 22, 2008 at 12:45:22PM +0100, Stefan Schimanski wrote: > I do not really understand the parser very well. So here is a simple minded > patch. Andre, as you are mentioned as author, does this make sense? With > FLAG_ITEM the parser will stop at the closing \end, but ignoring the > {si

Re: Inserting environments in math-macros doesn't work as expected

2008-02-22 Thread Stefan Schimanski
I do not really understand the parser very well. So here is a simple minded patch. Andre, as you are mentioned as author, does this make sense? With FLAG_ITEM the parser will stop at the closing \end, but ignoring the {sideways}. All the other cases of the \begin handler use the FLAG_END.

Re: Inserting environments in math-macros doesn't work as expected

2008-02-22 Thread Dominik Böhm
Number 4573

Re: Inserting environments in math-macros doesn't work as expected

2008-02-22 Thread Stefan Schimanski
Which bug number? Stefan Am 22.02.2008 um 12:34 schrieb Dominik Böhm: On Fri, Feb 22, 2008 at 12:18 PM, Stefan Schimanski <[EMAIL PROTECTED]> wrote: Looks like a bug in the parser. Thanks for the quick answer, I just filed a bug report.

Re: Inserting environments in math-macros doesn't work as expected

2008-02-22 Thread Dominik Böhm
On Fri, Feb 22, 2008 at 12:18 PM, Stefan Schimanski <[EMAIL PROTECTED]> wrote: > Looks like a bug in the parser. Thanks for the quick answer, I just filed a bug report.

Re: Inserting environments in math-macros doesn't work as expected

2008-02-22 Thread Stefan Schimanski
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}", s

Inserting environments in math-macros doesn't work as expected

2008-02-22 Thread 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