BRANCH_2_0_X on launchpad

2011-07-18 Thread Rainer M Krug
Hi I would like to inform you, that svn:// svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X is is as an import on launchpad. https://code.launchpad.net/~lyx-outline-devel/lyx/lyx_2.0.x In addition, there is also svn://svn.lyx.org/lyx/lyx-devel/trunk at

Re: LyX2 slow with complex documents?

2011-07-18 Thread Enrico Forestieri
On Mon, Jul 18, 2011 at 10:17:35AM +0800, John McCabe-Dansted wrote: On Mon, Jul 18, 2011 at 7:17 AM, Enrico Forestieri for...@lyx.org wrote: On Sun, Jul 17, 2011 at 06:49:43PM +0800, John McCabe-Dansted wrote: It seems that this code should only be called if the math inset has actually

Re: I've committed my first revision (r39333). Expect a plague of locusts ;)

2011-07-18 Thread Richard Heck
On 07/17/2011 04:00 PM, Pavel Sanda wrote: John McCabe-Dansted wrote: Also, is this OK for branch? Should I commit there as well? for any commit to branch (except to documentation) you need explicit OK from branch maintainer, ie Richard. And the usual method is to reply to the commit

Re: #7682: Unicode Math in Children Not Initialized Correctly When Exporting in Thread

2011-07-18 Thread Richard Heck
On 07/18/2011 04:31 AM, LyX Ticket Tracker wrote: #7682: Unicode Math in Children Not Initialized Correctly When Exporting in Thread --+- Reporter: rgheck| Owner: rgheck Type:

Re: New Benchmark Tool for LyX Results.

2011-07-18 Thread Jean-Marc Lasgouttes
Le 14/07/11 14:45, John McCabe-Dansted a écrit : Nice, but the benchmark still reports 800M of memory used in r39299. I've attached some output from valgrind/massif. This can be pretty printed using ms_print This massif output indicates that you have compiled with stdlib-debug enabled (see

Re: recompile one .cpp

2011-07-18 Thread Jean-Marc Lasgouttes
Le 14/07/11 22:49, Julien Rioux a écrit : Just do: touch src/LaTeX.cpp make sudo make install It will recompile LaTeX.cpp and everything that depends on this file. If only source code is changed, you can do (cd src ; sudo make install) And you can also run LyX without installing at all.

Re: LyX2 slow with complex documents?

2011-07-18 Thread Jean-Marc Lasgouttes
Le 17/07/11 12:36, John McCabe-Dansted a écrit : It shows at 30496 this takes 8 seconds of CPU time (about 8ms per move). From 30497 on it takes about 160 seconds of CPU time, an increase of 20x! With --enable-build-type=rel there is still a significant difference (from 1.8sec to 5.8sec of CPU

Missing features in Flex insets and style definition question

2011-07-18 Thread Uwe Stöhr
I often have the case that I need to define an inset that is internally a LaTeX command. I use for this the Flex inset. But why does it not support optional and required arguments. I mean it represents a LaTeX command, the same way as a normal Style declaration. Using OptionalArgs1

[PATCH] Cleaner windows title

2011-07-18 Thread Jean-Marc Lasgouttes
It occurred to me that it is better to let Qt make a nice windows title for us. The following patch does that (Qt = 4.4). The main gain is to get the sexy mac os features that are useless and therefore a must-have - a black dot in the windows close button to indicate that the file is

Re: build error with trunk on openSUSE

2011-07-18 Thread Jean-Marc Lasgouttes
Le 13/07/11 17:22, Cor Blom a écrit : It happens on all version I build for: 11.3 with qt 4.6.3, 11.4 with 4.7.1 and factory with 4.7.3 Cor P.S. you can view all details here: https://build.opensuse.org/package/show?package=lyx-2.1- svnproject=home%3Acornelisbb%3Alyx-unstable There is

Re: Missing features in Flex insets and style definition question

2011-07-18 Thread Richard Heck
On 07/18/2011 01:46 PM, Uwe Stöhr wrote: I often have the case that I need to define an inset that is internally a LaTeX command. I use for this the Flex inset. But why does it not support optional and required arguments. I mean it represents a LaTeX command, the same way as a normal Style

Re: Missing features in Flex insets and style definition question

2011-07-18 Thread Jean-Marc Lasgouttes
Le 18/07/11 22:26, Richard Heck a écrit : Styles in this sense are paragraph-level entities, so I don't think you can do this. Flex insets are what you would want in this case. It would be possible using parbreakisnewline if this was made to work generally. JMarc

Re: Missing features in Flex insets and style definition question

2011-07-18 Thread Liviu Andronic
On Mon, Jul 18, 2011 at 7:46 PM, Uwe Stöhr uwesto...@web.de wrote: I often have the case that I need to define an inset that is internally a LaTeX command. I use for this the Flex inset. But why does it not support optional and required arguments. I mean it represents a LaTeX command, the same

Re: Patch: Modify tex2lyx to use instant preview for tikz pictures

2011-07-18 Thread Jean-Marc Lasgouttes
Le 15/07/11 23:20, Kristi a écrit : This patch puts tikzpicture blocks inside of an instant preview inset so that tikz pictures can be previewed in lyx when converting tex files. I've also attached a test tex file, tikz_test.tex and the corresponding lyx output after being converted. This also

Re: build error with trunk on openSUSE

2011-07-18 Thread Cor Blom
Op maandag 18 juli 2011 21:34:05 schreef Jean-Marc Lasgouttes: Le 13/07/11 17:22, Cor Blom a écrit : It happens on all version I build for: 11.3 with qt 4.6.3, 11.4 with 4.7.1 and factory with 4.7.3 Cor P.S. you can view all details here:

Re: [patch] Re: \textvisiblespace

2011-07-18 Thread Jean-Marc Lasgouttes
Le 15/07/11 22:30, Uwe Stöhr a écrit : I don't agree that implementing it as part of the space inset is a good idea. \textvisiblespace is not a space in the sense of the meaning but a special character. It does not create a space, but a character. I would therefore like to implement this as

Re: build error with trunk on openSUSE

2011-07-18 Thread Jean-Marc Lasgouttes
Le 18/07/11 23:58, Cor Blom a écrit : Adding bc to BuildRequires solved the problem. Thanks for the help. Interesting, but what does bc stand for? JMarc

Re: [patch] Re: \textvisiblespace

2011-07-18 Thread Uwe Stöhr
Am 19.07.2011 00:05, schrieb Jean-Marc Lasgouttes: Le 15/07/11 22:30, Uwe Stöhr a écrit : I don't agree that implementing it as part of the space inset is a good idea. \textvisiblespace is not a space in the sense of the meaning but a special character. It does not create a space, but a

Re: SV: Towards RC4/final release

2011-07-18 Thread Uwe Stöhr
Am 17.07.2011 22:21, schrieb Helge Hafting: There is the ideal, and there is what we have. The ideal way would be to ensure that the extra paragraph types for running headers appear if and only if page layout fancy is checked. Currently, that can't be done with modules. But at least we have

Re: Missing features in Flex insets and style definition question

2011-07-18 Thread Uwe Stöhr
Am 18.07.2011 22:30, schrieb Jean-Marc Lasgouttes: Le 18/07/11 22:26, Richard Heck a écrit : Styles in this sense are paragraph-level entities, so I don't think you can do this. Flex insets are what you would want in this case. It would be possible using parbreakisnewline if this was made to

Re: RFI: label prefix not actualized when section heading type is changed

2011-07-18 Thread Uwe Stöhr
Am 17.07.2011 11:43, schrieb Jürgen Spitzmüller: Pavel Sanda wrote: i have some vague feeling that its even possible to have document which has set master although master is not aware of it? then this automatic bussiness would spoil references. Yes. And also with xr.sty, things will become

Re: I've committed my first revision (r39333). Expect a plague of locusts ;)

2011-07-18 Thread Uwe Stöhr
Am 17.07.2011 14:47, schrieb John McCabe-Dansted: I have finally exercised my commit privileges by committing r39333. Welcome on board! regards Uwe

Re: changeset/39333

2011-07-18 Thread Uwe Stöhr
Am 17.07.2011 21:57, schrieb Pavel Sanda: The author of the change is cmd. Who is that? Can we please use usernames where it is clear who is it? care to read devel list? :) just one message previous to yours. John was given commit access together with Julien, but had no oportunity to commit

Re: Fwd: Additional manual

2011-07-18 Thread Uwe Stöhr
Am 17.07.2011 22:02, schrieb Pavel Sanda: Uwe Stöhr wrote: So give me some more hours please. no problem, just was not sure if its not overlooked... p It is now in English and part of the EmbeddedObjects manual. regards Uwe

Re: [PATCH] Cleaner windows title

2011-07-18 Thread BH
On Mon, Jul 18, 2011 at 2:47 PM, Jean-Marc Lasgouttes lasgout...@lyx.org wrote: It occurred to me that it is better to let Qt make a nice windows title for us. The following patch does that (Qt = 4.4). The main gain is to get the sexy mac os features that are useless and therefore a must-have

changeset 39344

2011-07-18 Thread Uwe Stöhr
Richard, am I allowed to remove the file enumitem.lyx from branch too? Its content is now in the UserGuide. My goal was to merge all these infos into one place because before we described customized lists in the Additional manual and the enumitem example file. thanks and regards Uwe

BRANCH_2_0_X on launchpad

2011-07-18 Thread Rainer M Krug
Hi I would like to inform you, that svn:// svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X is is as an import on launchpad. https://code.launchpad.net/~lyx-outline-devel/lyx/lyx_2.0.x In addition, there is also svn://svn.lyx.org/lyx/lyx-devel/trunk at

Re: LyX2 slow with complex documents?

2011-07-18 Thread Enrico Forestieri
On Mon, Jul 18, 2011 at 10:17:35AM +0800, John McCabe-Dansted wrote: > On Mon, Jul 18, 2011 at 7:17 AM, Enrico Forestieri wrote: > > On Sun, Jul 17, 2011 at 06:49:43PM +0800, John McCabe-Dansted wrote: > > > >> It seems that this code should only be called if the math inset has >

Re: I've committed my first revision (r39333). Expect a plague of locusts ;)

2011-07-18 Thread Richard Heck
On 07/17/2011 04:00 PM, Pavel Sanda wrote: > John McCabe-Dansted wrote: > >> Also, is this OK for branch? Should I commit there as well? > for any commit to branch (except to documentation) you need explicit > OK from branch maintainer, ie Richard. > And the usual method is to reply to the commit

Re: #7682: Unicode Math in Children Not Initialized Correctly When Exporting in Thread

2011-07-18 Thread Richard Heck
On 07/18/2011 04:31 AM, LyX Ticket Tracker wrote: > #7682: Unicode Math in Children Not Initialized Correctly When Exporting in > Thread > --+- > Reporter: rgheck| Owner: rgheck >

Re: New Benchmark Tool for LyX & Results.

2011-07-18 Thread Jean-Marc Lasgouttes
Le 14/07/11 14:45, John McCabe-Dansted a écrit : Nice, but the benchmark still reports 800M of memory used in r39299. I've attached some output from valgrind/massif. This can be pretty printed using ms_print This massif output indicates that you have compiled with stdlib-debug enabled (see

Re: recompile one .cpp

2011-07-18 Thread Jean-Marc Lasgouttes
Le 14/07/11 22:49, Julien Rioux a écrit : Just do: touch src/LaTeX.cpp make sudo make install It will recompile LaTeX.cpp and everything that depends on this file. If only source code is changed, you can do (cd src ; sudo make install) And you can also run LyX without installing at all.

Re: LyX2 slow with complex documents?

2011-07-18 Thread Jean-Marc Lasgouttes
Le 17/07/11 12:36, John McCabe-Dansted a écrit : It shows at 30496 this takes 8 seconds of CPU time (about 8ms per move). From 30497 on it takes about 160 seconds of CPU time, an increase of 20x! With --enable-build-type=rel there is still a significant difference (from 1.8sec to 5.8sec of CPU

Missing features in Flex insets and style definition question

2011-07-18 Thread Uwe Stöhr
I often have the case that I need to define an inset that is internally a LaTeX command. I use for this the Flex inset. But why does it not support optional and required arguments. I mean it represents a LaTeX command, the same way as a normal Style declaration. Using OptionalArgs1

[PATCH] Cleaner windows title

2011-07-18 Thread Jean-Marc Lasgouttes
It occurred to me that it is better to let Qt make a nice windows title for us. The following patch does that (Qt >= 4.4). The main gain is to get the sexy mac os features that are useless and therefore a must-have - a black dot in the windows close button to indicate that the file is

Re: build error with trunk on openSUSE

2011-07-18 Thread Jean-Marc Lasgouttes
Le 13/07/11 17:22, Cor Blom a écrit : It happens on all version I build for: 11.3 with qt 4.6.3, 11.4 with 4.7.1 and factory with 4.7.3 Cor P.S. you can view all details here: https://build.opensuse.org/package/show?package=lyx-2.1- svn=home%3Acornelisbb%3Alyx-unstable There is special

Re: Missing features in Flex insets and style definition question

2011-07-18 Thread Richard Heck
On 07/18/2011 01:46 PM, Uwe Stöhr wrote: > I often have the case that I need to define an inset that is > internally a LaTeX command. I use for this the Flex inset. But why > does it not support optional and required arguments. I mean it > represents a LaTeX command, the same way as a normal Style

Re: Missing features in Flex insets and style definition question

2011-07-18 Thread Jean-Marc Lasgouttes
Le 18/07/11 22:26, Richard Heck a écrit : Styles in this sense are paragraph-level entities, so I don't think you can do this. Flex insets are what you would want in this case. It would be possible using parbreakisnewline if this was made to work generally. JMarc

Re: Missing features in Flex insets and style definition question

2011-07-18 Thread Liviu Andronic
On Mon, Jul 18, 2011 at 7:46 PM, Uwe Stöhr wrote: > I often have the case that I need to define an inset that is internally a > LaTeX command. I use for this the Flex inset. But why does it not support > optional and required arguments. I mean it represents a LaTeX command, the

Re: Patch: Modify tex2lyx to use instant preview for tikz pictures

2011-07-18 Thread Jean-Marc Lasgouttes
Le 15/07/11 23:20, Kristi a écrit : This patch puts tikzpicture blocks inside of an instant preview inset so that tikz pictures can be previewed in lyx when converting tex files. I've also attached a test tex file, tikz_test.tex and the corresponding lyx output after being converted. This also

Re: build error with trunk on openSUSE

2011-07-18 Thread Cor Blom
Op maandag 18 juli 2011 21:34:05 schreef Jean-Marc Lasgouttes: > Le 13/07/11 17:22, Cor Blom a écrit : > > It happens on all version I build for: 11.3 with qt 4.6.3, 11.4 with > > 4.7.1 and factory with 4.7.3 > > > > Cor > > > > P.S. you can view all details here: > > > >

Re: [patch] Re: \textvisiblespace

2011-07-18 Thread Jean-Marc Lasgouttes
Le 15/07/11 22:30, Uwe Stöhr a écrit : I don't agree that implementing it as part of the space inset is a good idea. \textvisiblespace is not a space in the sense of the meaning but a special character. It does not create a space, but a character. I would therefore like to implement this as

Re: build error with trunk on openSUSE

2011-07-18 Thread Jean-Marc Lasgouttes
Le 18/07/11 23:58, Cor Blom a écrit : Adding bc to BuildRequires solved the problem. Thanks for the help. Interesting, but what does bc stand for? JMarc

Re: [patch] Re: \textvisiblespace

2011-07-18 Thread Uwe Stöhr
Am 19.07.2011 00:05, schrieb Jean-Marc Lasgouttes: Le 15/07/11 22:30, Uwe Stöhr a écrit : I don't agree that implementing it as part of the space inset is a good idea. \textvisiblespace is not a space in the sense of the meaning but a special character. It does not create a space, but a

Re: SV: Towards RC4/final release

2011-07-18 Thread Uwe Stöhr
Am 17.07.2011 22:21, schrieb Helge Hafting: There is the ideal, and there is what we have. The "ideal" way would be to ensure that the extra paragraph types for running headers appear if and only if page layout "fancy" is checked. Currently, that can't be done with modules. But at least we

Re: Missing features in Flex insets and style definition question

2011-07-18 Thread Uwe Stöhr
Am 18.07.2011 22:30, schrieb Jean-Marc Lasgouttes: Le 18/07/11 22:26, Richard Heck a écrit : Styles in this sense are paragraph-level entities, so I don't think you can do this. Flex insets are what you would want in this case. It would be possible using parbreakisnewline if this was made to

Re: RFI: label prefix not actualized when section heading type is changed

2011-07-18 Thread Uwe Stöhr
Am 17.07.2011 11:43, schrieb Jürgen Spitzmüller: Pavel Sanda wrote: i have some vague feeling that its even possible to have document which has set master although master is not aware of it? then this automatic bussiness would spoil references. Yes. And also with xr.sty, things will become

Re: I've committed my first revision (r39333). Expect a plague of locusts ;)

2011-07-18 Thread Uwe Stöhr
Am 17.07.2011 14:47, schrieb John McCabe-Dansted: I have finally exercised my commit privileges by committing r39333. Welcome on board! regards Uwe

Re: changeset/39333

2011-07-18 Thread Uwe Stöhr
Am 17.07.2011 21:57, schrieb Pavel Sanda: The author of the change is "cmd". Who is that? Can we please use usernames where it is clear who is it? care to read devel list? :) just one message previous to yours. John was given commit access together with Julien, but had no oportunity to

Re: Fwd: Additional manual

2011-07-18 Thread Uwe Stöhr
Am 17.07.2011 22:02, schrieb Pavel Sanda: Uwe Stöhr wrote: So give me some more hours please. no problem, just was not sure if its not overlooked... p It is now in English and part of the EmbeddedObjects manual. regards Uwe

Re: [PATCH] Cleaner windows title

2011-07-18 Thread BH
On Mon, Jul 18, 2011 at 2:47 PM, Jean-Marc Lasgouttes wrote: > It occurred to me that it is better to let Qt make a nice windows title for > us. The following patch does that (Qt >= 4.4). > > The main gain is to get the sexy mac os features that are useless and > therefore a

changeset 39344

2011-07-18 Thread Uwe Stöhr
Richard, am I allowed to remove the file enumitem.lyx from branch too? Its content is now in the UserGuide. My goal was to merge all these infos into one place because before we described customized lists in the Additional manual and the enumitem example file. thanks and regards Uwe