crash in math

2010-08-10 Thread Edwin Leuven
changing the formula in the attached document to diplayed formule (for example through the context menu) crashes lyx (also 1.6.7) ed. LyX.exe!std::vectorlyx::MathData,std::allocatorlyx::MathData ::operator[](unsigned int _Pos=5) Line 779 + 0x17 bytesC++

LyX and refstyle

2010-08-10 Thread Jean-Pierre Chrétien
Hello Danie, LyX http://www.lyx.org is a highly integrated frontend to LaTeX, maybe you are aware of its existence and have used it already. The software currently provides support for basic labels and crossrefs in LaTeX, and some features of more sophisticated cross referencing, namely

Re: crashes in alpha5 (r35036)

2010-08-10 Thread Liviu Andronic
On Sat, 7 Aug 2010 20:31:06 +0200 Jean-Marc Lasgouttes lasgout...@lyx.org wrote: --enable-build-type=release disables debug by default. But with -- enable-debug, you have Strangely, after re-building with debug enabled, I started getting a lot fewer crashes. This happened this morning, but

Naming custom insets

2010-08-10 Thread Jean-Marc Lasgouttes
While trying to fix #6786 (http://www.lyx.org/trac/ticket/6786), I found out that the naming of Flex insets is very weird. Most insets use for InsetLayout a simple and predictable naming: Name:type. Name is the inset name used in the lyx file (Note, Branch...), and type is a subtype of

Re: r35118 - lyx-devel/trunk/lib/layouts

2010-08-10 Thread Richard Heck
On 08/10/2010 03:01 PM, lasgout...@lyx.org wrote: Author: lasgouttes Date: Tue Aug 10 21:01:28 2010 New Revision: 35118 URL: http://www.lyx.org/trac/changeset/35118 Log: Fix a syntax error in the class declaration. This created an error in configure.py, without any good explanation. Annoying.

Re: Naming custom insets

2010-08-10 Thread Richard Heck
On 08/10/2010 05:16 PM, Jean-Marc Lasgouttes wrote: While trying to fix #6786 (http://www.lyx.org/trac/ticket/6786), I found out that the naming of Flex insets is very weird. I think I looked at this once before and also found it weird. So I know I am coming after the battle here, but I

Re: r35118 - lyx-devel/trunk/lib/layouts

2010-08-10 Thread Jean-Marc Lasgouttes
Le 10 août 10 à 23:46, Richard Heck a écrit : I've tried to do something about that issue. Thanks a lot. You are my python saviour :) JMarc

Re: Naming custom insets

2010-08-10 Thread Jean-Marc Lasgouttes
Le 11 août 10 à 00:04, Richard Heck a écrit : Then this gets written in the lyx file as \begin_inset Flex Noun ... Question: Why even bother with the Flex: prefix? We don't have a default InsetLayout Flex and I don't see any reason to have one. Also It is a namespace. If we have

Re: Naming custom insets

2010-08-10 Thread Jean-Marc Lasgouttes
Le 11 août 10 à 00:29, Jean-Marc Lasgouttes a écrit : So I'd just forget about Flex:, and I don't think this would actually take much work. I.e., I could do it. I'd really rather keep it, for the reasons outlined above. Think in a few years, where the underlying lyx will be inset

Re: Naming custom insets

2010-08-10 Thread Richard Heck
On 08/10/2010 06:29 PM, Jean-Marc Lasgouttes wrote: The plan would be: * layout2layout: for all insets layouts which name is not in the hardcoded list (Note, Branch...), including Custom:, CharStyle:, and Element:, remove the existing prefix and replace it with Flex: * lyx2lyx: do the

Re: changeset/35060 - color regressions

2010-08-10 Thread Uwe Stöhr
I don't agree that every program should inherit the system-wide colors. Every program has its own purpose and thus needs different ergonomics settings. I agree that some programs require that, but the point where we disagree is that LyX is so `special'. I don't see that LyX is so special.

Re: r35120 - lyx-devel/trunk/lib/layouts

2010-08-10 Thread Jürgen Spitzmüller
lasgouttes wrote: Author: lasgouttes Date: Wed Aug 11 00:34:08 2010 New Revision: 35120 URL: http://www.lyx.org/trac/changeset/35120 Log: little cleanup to memoir class please backport if needed. Jürgen

Re: r35118 - lyx-devel/trunk/lib/layouts

2010-08-10 Thread Jürgen Spitzmüller
lasgout...@lyx.org wrote: Author: lasgouttes Date: Tue Aug 10 21:01:28 2010 New Revision: 35118 URL: http://www.lyx.org/trac/changeset/35118 Log: Fix a syntax error in the class declaration. This created an error in configure.py, without any good explanation. Annoying. Thanks to

crash in math

2010-08-10 Thread Edwin Leuven
changing the formula in the attached document to diplayed formule (for example through the context menu) crashes lyx (also 1.6.7) ed. LyX.exe!std::vector::operator[](unsigned int _Pos=5) Line 779 + 0x17 bytesC++ >

LyX and refstyle

2010-08-10 Thread Jean-Pierre Chrétien
Hello Danie, LyX is a highly integrated frontend to LaTeX, maybe you are aware of its existence and have used it already. The software currently provides support for basic labels and crossrefs in LaTeX, and some features of more sophisticated cross referencing, namely

Re: crashes in alpha5 (r35036)

2010-08-10 Thread Liviu Andronic
On Sat, 7 Aug 2010 20:31:06 +0200 Jean-Marc Lasgouttes wrote: > --enable-build-type=release disables debug by default. But with -- > enable-debug, you have > Strangely, after re-building with debug enabled, I started getting a lot fewer crashes. This happened this morning,

Naming custom insets

2010-08-10 Thread Jean-Marc Lasgouttes
While trying to fix #6786 (http://www.lyx.org/trac/ticket/6786), I found out that the naming of Flex insets is very weird. Most insets use for InsetLayout a simple and predictable naming: Name:type. "Name" is the inset name used in the lyx file (Note, Branch...), and type is a subtype of

Re: r35118 - lyx-devel/trunk/lib/layouts

2010-08-10 Thread Richard Heck
On 08/10/2010 03:01 PM, lasgout...@lyx.org wrote: Author: lasgouttes Date: Tue Aug 10 21:01:28 2010 New Revision: 35118 URL: http://www.lyx.org/trac/changeset/35118 Log: Fix a syntax error in the class declaration. This created an error in configure.py, without any good explanation. Annoying.

Re: Naming custom insets

2010-08-10 Thread Richard Heck
On 08/10/2010 05:16 PM, Jean-Marc Lasgouttes wrote: While trying to fix #6786 (http://www.lyx.org/trac/ticket/6786), I found out that the naming of Flex insets is very weird. I think I looked at this once before and also found it weird. So I know I am coming after the battle here, but I

Re: r35118 - lyx-devel/trunk/lib/layouts

2010-08-10 Thread Jean-Marc Lasgouttes
Le 10 août 10 à 23:46, Richard Heck a écrit : I've tried to do something about that issue. Thanks a lot. You are my python saviour :) JMarc

Re: Naming custom insets

2010-08-10 Thread Jean-Marc Lasgouttes
Le 11 août 10 à 00:04, Richard Heck a écrit : Then this gets written in the lyx file as \begin_inset Flex Noun ... Question: Why even bother with the "Flex:" prefix? We don't have a default "InsetLayout Flex" and I don't see any reason to have one. Also It is a namespace. If we have

Re: Naming custom insets

2010-08-10 Thread Jean-Marc Lasgouttes
Le 11 août 10 à 00:29, Jean-Marc Lasgouttes a écrit : So I'd just forget about "Flex:", and I don't think this would actually take much work. I.e., I could do it. I'd really rather keep it, for the reasons outlined above. Think in a few years, where the underlying lyx will be Then, a

Re: Naming custom insets

2010-08-10 Thread Richard Heck
On 08/10/2010 06:29 PM, Jean-Marc Lasgouttes wrote: The plan would be: * layout2layout: for all insets layouts which name is not in the hardcoded list (Note, Branch...), including Custom:, CharStyle:, and Element:, remove the existing prefix and replace it with Flex: * lyx2lyx: do the

Re: changeset/35060 - color regressions

2010-08-10 Thread Uwe Stöhr
>> I don't agree that every program should inherit the system-wide colors. Every program has its own >> purpose and thus needs different ergonomics settings. > > I agree that some programs require that, but the point where we disagree is that LyX is so > `special'. I don't see that LyX is so

Re: r35120 - lyx-devel/trunk/lib/layouts

2010-08-10 Thread Jürgen Spitzmüller
lasgouttes wrote: > Author: lasgouttes > Date: Wed Aug 11 00:34:08 2010 > New Revision: 35120 > URL: http://www.lyx.org/trac/changeset/35120 > > Log: > little cleanup to memoir class please backport if needed. Jürgen

Re: r35118 - lyx-devel/trunk/lib/layouts

2010-08-10 Thread Jürgen Spitzmüller
lasgout...@lyx.org wrote: > Author: lasgouttes > Date: Tue Aug 10 21:01:28 2010 > New Revision: 35118 > URL: http://www.lyx.org/trac/changeset/35118 > > Log: > Fix a syntax error in the class declaration. This created an error in > configure.py, without any good explanation. Annoying. > > Thanks