Re: [Cvslog] r23263 - /lyx-devel/trunk/src/mathed/InsetMathNest.cpp

2008-02-27 Thread Uwe Stöhr
Andre Poenitz schrieb: No 'using ;' in header files ... OK. I committed the changed patch. You already changed it in trunk acordingly. thanks and regards Uwe

Re: [Cvslog] r23263 - /lyx-devel/trunk/src/mathed/InsetMathNest.cpp

2008-02-27 Thread Andre Poenitz
On Wed, Feb 27, 2008 at 11:19:31PM +0100, Uwe Stöhr wrote: > Andre Poenitz schrieb: > >>> +#include >>> + >>> +#include "MathParser.h" >>> + >>> #include "support/docstring.h" >>> #include >> System headers last. > > So you want?: > > #include "support/docstring.h" > #include > #include Yes,

Re: [Cvslog] r23263 - /lyx-devel/trunk/src/mathed/InsetMathNest.cpp

2008-02-27 Thread Uwe Stöhr
Andre Poenitz schrieb: +#include + +#include "MathParser.h" + #include "support/docstring.h" #include System headers last. So you want?: #include "support/docstring.h" #include #include +using std::map; + No using on file scope in header files. What do you mean? > Yes, up to An

Re: [Cvslog] r23263 - /lyx-devel/trunk/src/mathed/InsetMathNest.cpp

2008-02-27 Thread Stefan Schimanski
The word list is in 1.5 available as well. You have to apply the patch though from some days ago to make it accessible. In 1.5 the math command list is private to the MathFactory file. The part with the macros does not work. But you can easily remove that case in the if clause. Like the att

Re: [Cvslog] r23263 - /lyx-devel/trunk/src/mathed/InsetMathNest.cpp

2008-02-27 Thread Andre Poenitz
On Wed, Feb 27, 2008 at 10:10:58PM +0100, Uwe Stöhr wrote: > Index: MathFactory.h > === > --- MathFactory.h (revision 23288) > +++ MathFactory.h (working copy) > @@ -12,9 +12,15 @@ > #ifndef MATH_FACTORY_H > #define MATH_FACT

Re: [Cvslog] r23263 - /lyx-devel/trunk/src/mathed/InsetMathNest.cpp

2008-02-27 Thread Uwe Stöhr
Stefan Schimanski schrieb: The word list is in 1.5 available as well. You have to apply the patch though from some days ago to make it accessible. In 1.5 the math command list is private to the MathFactory file. The part with the macros does not work. But you can easily remove that case in t

Re: [Cvslog] r23263 - /lyx-devel/trunk/src/mathed/InsetMathNest.cpp

2008-02-27 Thread Stefan Schimanski
Am 27.02.2008 um 17:55 schrieb Stefan Schimanski: Am 27.02.2008 um 17:09 schrieb Uwe Stöhr: > Something like the following. You have now committed a working version in http://www.lyx.org/trac/changeset/23273 Can this code be used for LyX 1.5 too or does it use code that is new to LyX 1.6

Re: [Cvslog] r23263 - /lyx-devel/trunk/src/mathed/InsetMathNest.cpp

2008-02-27 Thread Stefan Schimanski
Am 27.02.2008 um 17:09 schrieb Uwe Stöhr: > Something like the following. You have now committed a working version in http://www.lyx.org/trac/changeset/23273 Can this code be used for LyX 1.5 too or does it use code that is new to LyX 1.6 (e.g. the word list)? The word list is in 1.5 avai

Re: [Cvslog] r23263 - /lyx-devel/trunk/src/mathed/InsetMathNest.cpp

2008-02-27 Thread Uwe Stöhr
> Something like the following. You have now committed a working version in http://www.lyx.org/trac/changeset/23273 Can this code be used for LyX 1.5 too or does it use code that is new to LyX 1.6 (e.g. the word list)? regards Uwe

Re: [Cvslog] r23263 - /lyx-devel/trunk/src/mathed/InsetMathNest.cpp

2008-02-26 Thread Uwe Stöhr
> 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? Sounds resonable and when this can easily be done, we should do this. regards Uwe

Re: [Cvslog] r23263 - /lyx-devel/trunk/src/mathed/InsetMathNest.cpp

2008-02-26 Thread Stefan Schimanski
Something like the following. But it does not work (yet). I won't have time to fix that now or tomorrow. So if anybody wants to do it... Stefan diff --git a/src/mathed/InsetMathNest.cpp b/src/mathed/InsetMathNest.cpp index 73df673..6a66fd1 100644 --- a/src/mathed/InsetMathNest.cpp +++ b/src/ma

Re: [Cvslog] r23263 - /lyx-devel/trunk/src/mathed/InsetMathNest.cpp

2008-02-26 Thread Stefan Schimanski
Am 27.02.2008 um 00:28 schrieb Andre Poenitz: On Tue, Feb 26, 2008 at 10:41:01PM -, [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 possi

Re: [Cvslog] r23263 - /lyx-devel/trunk/src/mathed/InsetMathNest.cpp

2008-02-26 Thread Andre Poenitz
On Tue, Feb 26, 2008 at 10:41:01PM -, [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*" > >