Am 27.02.2008 um 00:28 schrieb Andre Poenitz:

On Tue, Feb 26, 2008 at 10:41:01PM -0000, [EMAIL PROTECTED] wrote:
Author: sts
Date: Tue Feb 26 23:40:59 2008
New Revision: 23263

URL: http://www.lyx.org/trac/changeset/23263
Log:
* fix for http://bugzilla.lyx.org/show_bug.cgi?id=4584:
 "not possible to use the command \tag*"

Modified:
   lyx-devel/trunk/src/mathed/InsetMathNest.cpp

Modified: lyx-devel/trunk/src/mathed/InsetMathNest.cpp
URL: 
http://www.lyx.org/trac/file/lyx-devel/trunk/src/mathed/InsetMathNest.cpp?rev=23263
=
=
=
=
=
=
=
=
=
=====================================================================
--- lyx-devel/trunk/src/mathed/InsetMathNest.cpp (original)
+++ lyx-devel/trunk/src/mathed/InsetMathNest.cpp Tue Feb 26 23:40:59 2008
@@ -1333,7 +1333,7 @@
                        return true;
                }

-               if (isAlphaASCII(c)) {
+               if (isAlphaASCII(c) || c == '*') {

Are you sure this parses  '\a*b' the way it did before?

No, it does not in fact. But this way you see what mathed is doing in this case (i.e. not leaving the macro). Before you were not even able to enter \tag*. I wonder what a better solution would be. We can check (using the MathWordList) whether the command exists with the * and then behave differently for \alpha* and for \tag*. That would be easy to do. Opinions?

Stefan

Reply via email to