Re: [patch] Some fixes for listings

2008-09-04 Thread Bo Peng
> - First, Entering "backgroundcolor=\color{red}" into the Listings settings > box will result in "backgroundcolor={\color{red}}" in the output file. This > makes the latex file uncompilable. To solve this I just used the already > defined, but unused, function "getParamValue" in InsetListingsParam

Re: r26305 - /lyx-devel/trunk/development/scons/SConstruct

2008-09-04 Thread Bo Peng
On Thu, Sep 4, 2008 at 8:29 PM, <[EMAIL PROTECTED]> wrote: > Author: bpeng > Date: Fri Sep 5 03:29:27 2008 > New Revision: 26305 > > URL: http://www.lyx.org/trac/changeset/26305 > Log: > Scons: do not check minor version of 0.96. Require at least 0.97. Jurgen, This is also needed for 1.5.x. Bo

Re: [patch] Some fixes for listings

2008-09-04 Thread Bo Peng
> - Second, after removing the {}'s, the file is still not compilable because > the color package is not loaded. Since LyX enthusiastically tells the user > to specify the colors in the settings, I think we should require the package > color when a color is specified. Will color package be added o

[patch] Some fixes for listings

2008-09-04 Thread Vincent van Ravesteijn - TNW
Hi, This patch fixes some problems when using listings : - First, Entering "backgroundcolor=\color{red}" into the Listings settings box will result in "backgroundcolor={\color{red}}" in the output file. This makes the latex file uncompilable. To solve this I just used the already defined, b

Re: Berlin meeting

2008-09-04 Thread Christian Ridderström
On Thu, 4 Sep 2008, Jean-Marc Lasgouttes wrote: Andre Poenitz <[EMAIL PROTECTED]> writes: Ok, as promised our scheduled is set now, and 25.10. and 1.11. are out of the game: My update below. Stephan was missing. I've updated with him from the wiki (on the wiki). Here's a copy of the current

compilation problem with SCons 1.0

2008-09-04 Thread Uwe Stöhr
I updated my SCons to version 1.0 and cannot compile LyX: scons: Reading SConscript files ... ValueError: invalid literal for int() with base 10: '': File "D:\LyXSVN\lyx-devel\development\scons\SConstruct", line 47: version = map(int, __version__.split('.')) When I comment out the problema

Re: [Request for Review] Embedding files to .lyx file.

2008-09-04 Thread rgheck
Andre Poenitz wrote: On Thu, Sep 04, 2008 at 07:54:23AM -0500, Bo Peng wrote: On Thu, Sep 4, 2008 at 4:07 AM, Jürgen Spitzmüller <[EMAIL PROTECTED]> wrote: Pol wrote: I can make my patch work for rc2 if people will be thinking about embedding. I think that it is wort

Re: [Cvslog] r26295 -in/lyx-devel/trunk/src/frontends/qt4:GuiSendto...

2008-09-04 Thread rgheck
Andre Poenitz wrote: On Thu, Sep 04, 2008 at 11:11:16PM +0200, Vincent van Ravesteijn - TNW wrote: It looks like currentRow() might return -1 sometimes You are right, if nothing is selected, it returns -1... Andre' Please correct me if I'm wrong (I'm just trying to understa

Re: [Cvslog] r26295 -in/lyx-devel/trunk/src/frontends/qt4:GuiSendto...

2008-09-04 Thread Andre Poenitz
On Thu, Sep 04, 2008 at 11:11:16PM +0200, Vincent van Ravesteijn - TNW wrote: > >> It looks like currentRow() might return -1 sometimes > > > >You are right, if nothing is selected, it returns -1... > > > >Andre' > > Please correct me if I'm wrong (I'm just trying to understand QT). > > I was a

Re: Berlin meeting

2008-09-04 Thread Jean-Marc Lasgouttes
Andre Poenitz <[EMAIL PROTECTED]> writes: > Ok, as promised our scheduled is set now, and 25.10. and 1.11. > are out of the game: My update below. >Abdel Lgb José Chr Ed André JMarctotal so far > 04.10 130405 0 13 > 11.10 532

Re: Berlin meeting

2008-09-04 Thread Christian Ridderström
On Thu, 4 Sep 2008, Abdelrazak Younes wrote: Yep, I've always managed to find a way to get my point across. The main reason for my desire to attend would have been social. But if there's a LyX meeting in Florida, I'll come. Agreed! Hey, if you organize one in Florida I'll come too ;-)

RE: [Cvslog] r26295 -in/lyx-devel/trunk/src/frontends/qt4:GuiSendto...

2008-09-04 Thread Vincent van Ravesteijn - TNW
>> It looks like currentRow() might return -1 sometimes > >You are right, if nothing is selected, it returns -1... > >Andre' Please correct me if I'm wrong (I'm just trying to understand QT). I was a little vague in the above sentence on purpose, because when I was experimenting with this code

Re: [Cvslog] r26295 - in/lyx-devel/trunk/src/frontends/qt4:GuiSendto...

2008-09-04 Thread Andre Poenitz
On Thu, Sep 04, 2008 at 09:23:00PM +0200, Vincent van Ravesteijn - TNW wrote: > It looks like currentRow() might return -1 sometimes You are right, if nothing is selected, it returns -1... Andre'

Re: [patch] Ensure math

2008-09-04 Thread Enrico Forestieri
On Thu, Sep 04, 2008 at 08:07:22PM +0200, Andre Poenitz wrote: > On Thu, Sep 04, 2008 at 02:23:49PM +0200, Enrico Forestieri wrote: > > Index: src/mathed/InsetMathEnsureMath.cpp > > === > > --- src/mathed/InsetMathEnsureMath.cpp (

changeset/26298 makes LyX uncompilable

2008-09-04 Thread Uwe Stöhr
http://www.lyx.org/trac/changeset/26298 makes LyX uncompilable: D:\LyXSVN\lyx-devel\src\LaTeXFeatures.cpp(606) : error C2039: 'getTextClass' : is not a member of 'lyx::BufferParams' d:\lyxsvn\lyx-devel\src\BufferParams.h(53) : see declaration of 'lyx::BufferParams' D:\LyXSVN\lyx-devel\s

RE: [Cvslog] r26295 - in/lyx-devel/trunk/src/frontends/qt4:GuiSendto...

2008-09-04 Thread Vincent van Ravesteijn - TNW
On Thu, Sep 04, 2008 at 09:04:21PM +0200, Vincent van Ravesteijn - TNW wrote: > >On Thu, Sep 04, 2008 at 09:36:45AM -, [EMAIL PROTECTED] wrote: > >> @@ -68,6 +71,13 @@ > >> { > >> all_formats_ = allFormats(); > >> > >> + // Save the current selection if any > >> + Format const *

RE: [Cvslog] r26295 - in /lyx-devel/trunk/src/frontends/qt4:GuiSendto...

2008-09-04 Thread Vincent van Ravesteijn - TNW
>On Thu, Sep 04, 2008 at 09:36:45AM -, [EMAIL PROTECTED] wrote: >> @@ -68,6 +71,13 @@ >> { >> all_formats_ = allFormats(); >> >> + // Save the current selection if any >> + Format const * current_format = 0; >> + int const line = formatLW->currentRow(); >> + if (line >=

Re: [Request for Review] Embedding files to .lyx file.

2008-09-04 Thread Bo Peng
> I guess there won't be much embedding discussion as long as neither > Richard nor you turn up. I'd also expect not much of a discussion if > exactly one of you turn up *hint, hint* And there might be some kind of > reconciliation if both off you are there... So I will not make my patch work for

Re: [Cvslog] r26295 - in /lyx-devel/trunk/src/frontends/qt4: GuiSendto...

2008-09-04 Thread Andre Poenitz
On Thu, Sep 04, 2008 at 09:36:45AM -, [EMAIL PROTECTED] wrote: > @@ -68,6 +71,13 @@ > { > all_formats_ = allFormats(); > > + // Save the current selection if any > + Format const * current_format = 0; > + int const line = formatLW->currentRow(); > + if (line >= 0 && lin

Re: [Request for Review] Embedding files to .lyx file.

2008-09-04 Thread Andre Poenitz
On Thu, Sep 04, 2008 at 07:54:23AM -0500, Bo Peng wrote: > On Thu, Sep 4, 2008 at 4:07 AM, Jürgen Spitzmüller > <[EMAIL PROTECTED]> wrote: > > Pol wrote: > >> > I can make my patch work for rc2 if people will be thinking about > >> > embedding. > >> > >> I think that it is worth trying your patch,

Re: [patch] Ensure math

2008-09-04 Thread Andre Poenitz
On Thu, Sep 04, 2008 at 02:23:49PM +0200, Enrico Forestieri wrote: > Index: src/mathed/InsetMathEnsureMath.cpp > === > --- src/mathed/InsetMathEnsureMath.cpp(revision 0) > +++ src/mathed/InsetMathEnsureMath.cpp(revision

Re: Berlin meeting

2008-09-04 Thread Andre Poenitz
Ok, as promised our scheduled is set now, and 25.10. and 1.11. are out of the game: Abdel Lgb José Chr Ed André total so far 04.10 13040513 11.10 53240519 18.10 330435

Re: [patch] Improved GuiSendTo Dialog implementation

2008-09-04 Thread Andre Poenitz
On Thu, Sep 04, 2008 at 11:54:13AM +0200, Abdelrazak Younes wrote: > Jürgen Spitzmüller wrote: >> Vincent van Ravesteijn - TNW wrote: >> >>> + // Save the current selection if any >>> + Format const * current_format = 0; >>> + int const line = formatLW->currentRow(); >>> +

Math Macro Plus Completion Display Weirdness

2008-09-04 Thread rgheck
Create a macro like: Sat_#1(#2). Now instantiate it, and type \upsilon in the #1 argument slot. The completion thing displays funny. rh

InsetSpace Too Narrow With Ems

2008-09-04 Thread rgheck
Create a 3em custom InsetSpace. It gets drawn way too narrow. rh

Re: [patch] Ensure math

2008-09-04 Thread Jean-Marc Lasgouttes
Enrico Forestieri <[EMAIL PROTECTED]> writes: > On Thu, Sep 04, 2008 at 04:24:57PM +0200, Jean-Marc Lasgouttes wrote: > >> What is the appearance of this thing? > > It appears the same as a nested math in $ $ pairs. When you are > inside it, the status bar says "EnsureMath". > > The difference wit

Re: [patch] Ensure math

2008-09-04 Thread Enrico Forestieri
On Thu, Sep 04, 2008 at 04:24:57PM +0200, Jean-Marc Lasgouttes wrote: > What is the appearance of this thing? It appears the same as a nested math in $ $ pairs. When you are inside it, the status bar says "EnsureMath". The difference with respect to using $ $ is that it can also appear in math m

Re: Berlin meeting

2008-09-04 Thread Abdelrazak Younes
Steve Litt wrote: On Tuesday 02 September 2008 11:16:28 am Christian Ridderström wrote: On Tue, 2 Sep 2008, Steve Litt wrote: I'm in Florida/USA so I can't come to the Berlin meeting :-( Hi Steve, You can collaborate over the internet, there are these things called e-mail li

Re: [patch] Ensure math

2008-09-04 Thread Jean-Marc Lasgouttes
José Matos <[EMAIL PROTECTED]> writes: > I do not have any objection but I would like to hear from others as this may > be tricky. This also in the borderline of a new feature the only reason I > don't object more is the code is clean and a simple expansion from present > code. > > What do other

Re: [Request for Review] Embedding files to .lyx file.

2008-09-04 Thread Pavel Sanda
Pol wrote: > >>> This was in trunk but was removed due to disagreement about design > >>> issues. It's possible we'll return to it for 1.7. > > I can make my patch work for rc2 if people will be thinking about > > embedding. > > > > I think that it is worth trying your patch, so that developers c

Re: [patch] Ensure math

2008-09-04 Thread Enrico Forestieri
On Thu, Sep 04, 2008 at 04:00:03PM +0200, Pavel Sanda wrote: > Enrico Forestieri wrote: > > The attached patch introduces the EnsureMath inset, obtained by typing > > \ensuremath in mathed, alleviating the previous shortcomings. > > btw isn't some lyx2lyx routine needed too? No, as no file format

Re: [Request for Review] Embedding files to .lyx file.

2008-09-04 Thread rgheck
Bo Peng wrote: On Thu, Sep 4, 2008 at 4:07 AM, Jürgen Spitzmüller <[EMAIL PROTECTED]> wrote: Pol wrote: I can make my patch work for rc2 if people will be thinking about embedding. I think that it is worth trying your patch, so that developers can get early feedback about such

Re: [patch] Ensure math

2008-09-04 Thread José Matos
On Thursday 04 September 2008 13:23:49 Enrico Forestieri wrote: > The attached patch introduces the EnsureMath inset, obtained by typing > \ensuremath in mathed, alleviating the previous shortcomings. > > José, can this go in? I do not have any objection but I would like to hear from others as thi

Re: Berlin meeting

2008-09-04 Thread Steve Litt
On Tuesday 02 September 2008 11:16:28 am Christian Ridderström wrote: > On Tue, 2 Sep 2008, Steve Litt wrote: > > I'm in Florida/USA so I can't come to the Berlin meeting :-( > > Hi Steve, > > You can collaborate over the internet, there are these things called > e-mail lists and IM and ... SCNR >

Re: [patch] Ensure math

2008-09-04 Thread Pavel Sanda
Enrico Forestieri wrote: > The attached patch introduces the EnsureMath inset, obtained by typing > \ensuremath in mathed, alleviating the previous shortcomings. btw isn't some lyx2lyx routine needed too? pavel

Re: [patch] Window close menu item is always enabled

2008-09-04 Thread Jean-Marc Lasgouttes
rgheck <[EMAIL PROTECTED]> writes: > On Linux, anyway, I do have a File>Close Window, bound to C-S-W, as > well as a Close Tab, IF there is more than one tab open. Indeed. I missed it... > The Firefox behavior seems to me sensible: Why have two menu items > that do the same thing? But I don't kn

Re: Berlin meeting

2008-09-04 Thread Stephan Witt
Stephan 04.10. 3 11.10. 5 18.10. 3 25.10. 0 01.11. 4 08.11. 4 15.11. 4 22.11. 4 29.11. 2 06.12 2 13.12 1

Re: [Request for Review] Embedding files to .lyx file.

2008-09-04 Thread Bo Peng
On Thu, Sep 4, 2008 at 4:07 AM, Jürgen Spitzmüller <[EMAIL PROTECTED]> wrote: > Pol wrote: >> > I can make my patch work for rc2 if people will be thinking about >> > embedding. >> >> I think that it is worth trying your patch, so that developers can get >> early feedback about such big change. (th

[patch] Ensure math

2008-09-04 Thread Enrico Forestieri
In mathed, sometimes one needs to typeset something in math-in-text mode. For example, this may be the case with \tag or other text commands. TeX allows nesting math inside a text mode command, for example \[y=f(x) \tag{$1\alpha$}\] is a valid construct. However, this is cumbersome to achieve in Ly

Re: [patch] Window close menu item is always enabled

2008-09-04 Thread rgheck
Jean-Marc Lasgouttes wrote: "Vincent van Ravesteijn - TNW" <[EMAIL PROTECTED]> writes: I would like to state that Mac users and Windows users all have the same point of view in this. To see this, realize that the motivation for the current implementation of the item is to enable Mac users to

RE: Berlin meeting

2008-09-04 Thread leuven edwin
Abdel Lgb José Chr Ed 04.10 130 4 0 11.10 532 4 0 18.10 330 4 3 25.10 503 4 0 01.11 434 5 3 08.11 335 5 0 15.11 335 4 0 22.11 335 4 3 29.11 335 4 0 06.12 330

Re: [Request for Review] Embedding files to .lyx file.

2008-09-04 Thread rgheck
Jürgen Spitzmüller wrote: Pol wrote: I can make my patch work for rc2 if people will be thinking about embedding. I think that it is worth trying your patch, so that developers can get early feedback about such big change. (the underlying design might change, in time) OTOH I th

Re: Berlin meeting

2008-09-04 Thread Christian Ridderström
On Thu, 4 Sep 2008, José Matos wrote: Abdel Lgb José Chr 04.10. 13 04 11.10. 53 24 18.10. 33 04 25.10. 50 34 01.11. 43 45 08.11. 33 55 15.11. 33 54 22.11. 33 5

Re: Berlin meeting

2008-09-04 Thread José Matos
On Thursday 04 September 2008 11:32:02 Abdelrazak Younes wrote: > There are no student holiday period during October or November? No. :-( > Abdel. -- José Abílio

Re: [patch] Improved GuiSendTo Dialog implementation

2008-09-04 Thread Jürgen Spitzmüller
Abdelrazak Younes wrote: > > We use space rather than tab here. > >     > > Are you sure? Yes. This is how I see it overall in our sources. Jürgen

Re: Berlin meeting

2008-09-04 Thread Abdelrazak Younes
José Matos wrote: Abdel Lgb José 04.10. 13 0 11.10. 53 2 18.10. 33 0 25.10. 50 3 01.11. 43 4 08.11. 33 5 15.11. 33 5 22.11. 33 5 29.11. 33 5 06.12 3

Re: Berlin meeting

2008-09-04 Thread José Matos
Abdel Lgb José 04.10. 13 0 11.10. 53 2 18.10. 33 0 25.10. 50 3 01.11. 43 4 08.11. 33 5 15.11. 33 5 22.11. 33 5 29.11. 33 5 06.12 33 0 13.12 33

Re: [patch] Improved GuiSendTo Dialog implementation

2008-09-04 Thread Abdelrazak Younes
Abdelrazak Younes wrote: Jürgen Spitzmüller wrote: Vincent van Ravesteijn - TNW wrote: + // Save the current selection if any + Format const * current_format = 0; + int const line = formatLW->currentRow(); + if (line>= 0&& line<= formatLW->count() +&& formatLW->selecte

Re: r26290 - /lyx-devel/trunk/src/mathed/InsetMathHull.cpp

2008-09-04 Thread Abdelrazak Younes
Enrico Forestieri wrote: On Wed, Sep 03, 2008 at 02:43:13PM +0200, Abdelrazak Younes wrote: OK. But this deserves a FIXME tag IMHO. I did that. Thanks Enrico. Abdel.

Re: [patch] Improved GuiSendTo Dialog implementation

2008-09-04 Thread Abdelrazak Younes
Jürgen Spitzmüller wrote: Vincent van Ravesteijn - TNW wrote: + // Save the current selection if any + Format const * current_format = 0; + int const line = formatLW->currentRow(); + if (line>= 0&& line<= formatLW->count() +&& formatLW->selectedItems().size()> 0)

Re: LyX version 1.6.0 (release candidate 2) is released

2008-09-04 Thread José Matos
On Monday 01 September 2008 19:53:35 Joost Verburg wrote: > I've uploaded Windows installers to http://www.lyx.org/~joost/ Thanks, I have placed them in the now with the other binary installers. > Joost -- José Abílio

Re: LyX version 1.6.0 (release candidate 2) is released

2008-09-04 Thread José Matos
On Saturday 30 August 2008 01:09:11 Uwe Stöhr wrote: > > We are pleased to announce the second release candidate of LyX 1.6.0. > > I've put the Windows installer here: > http://download.berlios.de/lyxwininstall/LyX-16rc2-4-08-AltInstaller-Small. >exe > > Could you please upload it? Done. I am so

Re: [patch] Improved GuiSendTo Dialog implementation

2008-09-04 Thread Jürgen Spitzmüller
Vincent van Ravesteijn - TNW wrote: > A new patch is attached. Thanks (I'm glad to see I'm not the only user of that dialog). I did some further polishing and committed. First, I do not like the passing around of signals. So I implemented the combo handling in GuiSendto itself. Then, there wer

Re: [Request for Review] Embedding files to .lyx file.

2008-09-04 Thread Jürgen Spitzmüller
Pol wrote: > > I can make my patch work for rc2 if people will be thinking about > > embedding. > > I think that it is worth trying your patch, so that developers can get > early feedback about such big change. (the underlying design might change, > in time) OTOH I think that 1.6 is no option for

Re: [patch] Window close menu item is always enabled

2008-09-04 Thread Jean-Marc Lasgouttes
"Vincent van Ravesteijn - TNW" <[EMAIL PROTECTED]> writes: > Although you might object fiercely, Fiercely is probably an overstatement :) > I would like to state that Mac users and Windows users all have the > same point of view in this. To see this, realize that the motivation > for the current

Re: [Request for Review] Embedding files to .lyx file.

2008-09-04 Thread Pol
Bo Peng wrote: >>> This was in trunk but was removed due to disagreement about design >>> issues. It's possible we'll return to it for 1.7. > I can make my patch work for rc2 if people will be thinking about > embedding. > I think that it is worth trying your patch, so that developers can get ea