Re: [Bug 2882] not possible to delete row in ERT inset

2006-10-10 Thread Georg Baum
Juergen Spitzmueller wrote: > Andre Poenitz wrote: >> Have a function 'Inset***::backspaceShouldDeleteEmptyLines()' and be >> done. > > I don't understand. Backspace should _always_ delete empty lines AFAICS. > The problem is that backspace is lazy and passes the job to dEPM, which > doesn't have

Re: Please include LyXWinInstaller's toolbar in the official LyX Windows installer

2006-10-10 Thread Juergen Spitzmueller
José Matos wrote: > Why not both, with preferences being the preferred and the toolbar settings > being the default? > >   It seems perfect to me: :-) If we do this (double way), an alternative to preferences could be session. This way, we could have a "View->Toolbars" Dialog (which is what most

Future of LyX/Windows installers

2006-10-10 Thread Joost Verburg
Uwe Stöhr wrote: Maybe my email sound a bit grumpy but what are you talking about? I am working together with you to improve the installer (...) I really appreciate your help. Here I'm talking about having one official Windows installer instead of both official and unofficial versions. We'v

Re: Please include LyXWinInstaller's toolbar in the official LyX Windows installer

2006-10-10 Thread Uwe Stöhr
Joost wrote: > I know. I already tried many times to convince Uwe to join the > official installer project and to integrate his modifications with the > official LyX in a good way. This is a lot more effective compared to > maintaining a "fork" and it makes his ideas available for all users > ins

Re: [1.5svn] [BUG] iterator code issue

2006-10-10 Thread Timothy Reaves
Jean-Marc Lasgouttes wrote: "Timothy" == Timothy Reaves <[EMAIL PROTECTED]> writes: Timothy> When I click on my documents TOC button, it immediately Timothy> crashes with this: Can you get a backtrace? JMarc One is not printed anywhere that I can find. Can one be forced out to a log?

Re: Please include LyXWinInstaller's toolbar in the official LyX Windows installer

2006-10-10 Thread Joost Verburg
Georg Baum wrote: If the effort invested into the unofficial installer would have been invested in this feature we would already have it. I know. I already tried many times to convince Uwe to join the official installer project and to integrate his modifications with the official LyX in a goo

Re: Please include LyXWinInstaller's toolbar in the official LyX Windows installer

2006-10-10 Thread Georg Baum
Am Dienstag, 10. Oktober 2006 20:05 schrieb Joost Verburg: > One of the main reasons why Uwe keeps creating his own unofficial > Windows installers instead of joining the official installer project, is > that he want to bundle unofficial ui files with auto math/table toolbars > and view buttons

Re: Please include LyXWinInstaller's toolbar in the official LyX Windows installer

2006-10-10 Thread Michael Gerz
Jean-Marc Lasgouttes wrote: If I see a patch, I will be able to tell whether it is unintrusive enough to go in 1.4.x. Otherwise, it could go in 1.5. I guess that this is a rather simple task. But before you ask: no, I do not have time at the moment :-( Michael

Re: [Bug 2882] not possible to delete row in ERT inset

2006-10-10 Thread Juergen Spitzmueller
Andre Poenitz wrote: > Have a function 'Inset***::backspaceShouldDeleteEmptyLines()' and be done. I don't understand. Backspace should _always_ delete empty lines AFAICS. The problem is that backspace is lazy and passes the job to dEPM, which doesn't have a clue whether an empty par is there bec

Re: [Bug 2882] not possible to delete row in ERT inset

2006-10-10 Thread Andre Poenitz
On Tue, Oct 10, 2006 at 12:06:37PM +0200, [EMAIL PROTECTED] wrote: > The trick to circumvent this for keepEmpty layouts in LyXText::backspacePos0 > cannot be expanded easily for paragraphs in ERT, because isFreeSpacing() and > allowEmpty() always return true if code == InsetBase::ERT_CODE (see >

Re: Please include LyXWinInstaller's toolbar in the official LyX Windows installer

2006-10-10 Thread Joost Verburg
José Matos wrote: Why not both, with preferences being the preferred and the toolbar settings being the default? It seems perfect to me: :-) I totally agree. If users can configure the toolbars from the preferences window, it will also become possible to add additional toolbars (like th

Re: 1.5.0 compile error on Mac

2006-10-10 Thread Bennett Helm
On Oct 10, 2006, at 11:56 AM, Abdelrazak Younes wrote: Bennett Helm wrote: Any suggestions? It's fixed now. That does it -- thanks. Bennett

Re: Please include LyXWinInstaller's toolbar in the official LyX Windows installer

2006-10-10 Thread Jean-Marc Lasgouttes
> "Joost" == Joost Verburg <[EMAIL PROTECTED]> writes: Joost> Microsoft Office 2007 will have a very nice user interface with Joost> a context-sensitive ribbon: Joost> http://blogs.msdn.com/photos/jensenh/images/547376/original.aspx Joost> This way you won't have a separate menu and toolbar

Re: Please include LyXWinInstaller's toolbar in the official LyX Windows installer

2006-10-10 Thread Jean-Marc Lasgouttes
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> Joost Verburg wrote: >> Jean-Marc Lasgouttes wrote: >>> In retrospect, I think it was an error to have the on/off/auto and >>> top/bottom settings for toolbars in the ui files themselves. They >>> would be easier to ha

Re: Please include LyXWinInstaller's toolbar in the official LyX Windows installer

2006-10-10 Thread José Matos
On Tuesday 10 October 2006 17:12, Jean-Marc Lasgouttes wrote: > In retrospect, I think it was an error to have the on/off/auto and > top/bottom settings for toolbars in the ui files themselves. They > would be easier to handle if they were in the prefs. Why not both, with preferences being the p

Re: Please include LyXWinInstaller's toolbar in the official LyX Windows installer

2006-10-10 Thread Abdelrazak Younes
Joost Verburg wrote: Enrico Forestieri wrote: Another idea is using a toolbar which always is context sensitive. I mean it does not appear or disappear but only shows buttons having a meaning for that context. When you change context, the buttons change accordingly. Microsoft Office 2007 will

Re: Please include LyXWinInstaller's toolbar in the official LyX Windows installer

2006-10-10 Thread Abdelrazak Younes
Joost Verburg wrote: Jean-Marc Lasgouttes wrote: In retrospect, I think it was an error to have the on/off/auto and top/bottom settings for toolbars in the ui files themselves. They would be easier to handle if they were in the prefs. Yes, that is the main problem. Why not correct this mistake

Re: [PATCH] Painter::text() returns drawn text width()

2006-10-10 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> Abdelrazak Younes wrote: Hello, As the title says. I've been testing this patch for some days and I didn't see any side effect. The contrary would be surprising as the changes are pretty simp

Re: Please include LyXWinInstaller's toolbar in the official LyX Windows installer

2006-10-10 Thread Joost Verburg
Jean-Marc Lasgouttes wrote: In retrospect, I think it was an error to have the on/off/auto and top/bottom settings for toolbars in the ui files themselves. They would be easier to handle if they were in the prefs. Yes, that is the main problem. Why not correct this mistake? Joost

Re: Please include LyXWinInstaller's toolbar in the official LyX Windows installer

2006-10-10 Thread Joost Verburg
Enrico Forestieri wrote: Another idea is using a toolbar which always is context sensitive. I mean it does not appear or disappear but only shows buttons having a meaning for that context. When you change context, the buttons change accordingly. Microsoft Office 2007 will have a very nice user

Re: [PATCH] Painter::text() returns drawn text width()

2006-10-10 Thread Jean-Marc Lasgouttes
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> Abdelrazak Younes wrote: >> Hello, >> >> As the title says. I've been testing this patch for some days and I >> didn't see any side effect. The contrary would be surprising as the >> changes are pretty simple. >> >>

Re: Please include LyXWinInstaller's toolbar in the official LyX Windows installer

2006-10-10 Thread Jean-Marc Lasgouttes
> "Joost" == Joost Verburg <[EMAIL PROTECTED]> writes: Joost> Not having auto toolbars makes them very difficult to use, Joost> because you'll have to reopen them again every time you start Joost> LyX (unless you know how to hack the ui files, you can't expect Joost> that from a normal Windows

Re: Please include LyXWinInstaller's toolbar in the official LyX Windows installer

2006-10-10 Thread Jean-Marc Lasgouttes
> "Enrico" == Enrico Forestieri <[EMAIL PROTECTED]> writes: Enrico> Another idea is using a toolbar which always is context Enrico> sensitive. I mean it does not appear or disappear but only Enrico> shows buttons having a meaning for that context. When you Enrico> change context, the buttons c

Re: 1.5.0 compile error on Mac

2006-10-10 Thread Abdelrazak Younes
Bennett Helm wrote: Any suggestions? It's fixed now. Abdel.

[patch] bug 2882: not possible to delete an empty row in ERT

2006-10-10 Thread Juergen Spitzmueller
http://bugzilla.lyx.org/show_bug.cgi?id=2882 The cause of the bug is the following: When you press backspace in an empty paragraph (which is equivalent to pressing delete in the lastpos of the paragraph above), LyXText::backspacePos0 just moves the cursor to the left and lets deleteEmptyParagra

1.5.0 compile error on Mac

2006-10-10 Thread Bennett Helm
Any suggestions? Bennett --- if /bin/sh ../../../libtool --tag=CXX --mode=compile g++-4 - DHAVE_CONFIG_H -I. -I. -I../../../src -DQT_CLEAN_NAMESPACE - DQT_GENUINE_STR -DQT_NO_STL -DQT_NO_KEYWORDS -I../../../src - I../../../src/frontends -I../../../images -I/Users/bennett/lyx/ gcc-

Re: libtool: link: cannot find the library `'

2006-10-10 Thread Abdelrazak Younes
Bennett Helm wrote: On Oct 9, 2006, at 12:04 PM, Abdelrazak Younes wrote: If you can find a sponsor that send me a Mac Powerbook for free, I sure will make it as fast as hell ;-) You're winking, but let me take you seriously. I was not very serious indeed... In the US, I can get a 400 MHz G

Re: Help adding a class

2006-10-10 Thread Enrico Forestieri
On Tue, Oct 10, 2006 at 09:18:09AM -0400, Sarjoun Skaff wrote: > I am using windows and I added the class file to > C:\texmf\tex\latex\base. I did this because the classes used by > default are all in this directory. I do not know how to get the system > to recognize that I added the class. Using

Re: [PATCH] Painter::text() returns drawn text width()

2006-10-10 Thread Abdelrazak Younes
Abdelrazak Younes wrote: Hello, As the title says. I've been testing this patch for some days and I didn't see any side effect. The contrary would be surprising as the changes are pretty simple. Will commit tomorrow if there's no objection. done.

Help adding a class

2006-10-10 Thread Sarjoun Skaff
Hi, I am having a hard time installing a new class in LyX. I read the help documentation (Customization.lyx, Section 5) and created a .layout file. The problem is that I am unable to get Lyx to recognize the .cls file.LyX lists the new text class as unavailable and warns me that the TeX class is

Re: LyX for Windows Polish localization

2006-10-10 Thread Sanda Pavel
andrzej, 1) does it help to add SET OUTPUT_CHARSET=cp-1250 into lyx.bat ? if so, does it help to replace it by SET OUTPUT_CHARSET=nonsense 2) are there correct dialogs labels ? i.e. open preferences and look whether there are only polish strings not mixed with english strings. If s

Re: Please include LyXWinInstaller's toolbar in the official LyX Windows installer

2006-10-10 Thread Enrico Forestieri
On Tue, Oct 10, 2006 at 09:38:34AM +0200, Joost Verburg wrote: > Jean-Marc Lasgouttes wrote: > >Because I think there will be as many people annoyed by auto toolbars > >then people who like them. Personally, having toolbars which flash in > >and out when I do pageup/down annoys me. > > Not having

Re: Please include LyXWinInstaller's toolbar in the official LyX Windows installer

2006-10-10 Thread Enrico Forestieri
On Tue, Oct 10, 2006 at 08:59:35AM +0200, Jean-Marc Lasgouttes wrote: > > "Joost" == Joost Verburg <[EMAIL PROTECTED]> writes: > Joost> Why not put the auto toolbars in default and create a > Joost> default-noautotoolbars? > > Because I think there will be as many people annoyed by auto toolb

Re: [PATCH] Painter::text() returns drawn text width()

2006-10-10 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> Hello, As the title says. I've been testing this patch for Abdelrazak> some days and I didn't see any side effect. The contrary Abdelrazak> would be surprising as the changes are pretty simple.

Re: [PATCH] Painter::text() returns drawn text width()

2006-10-10 Thread Abdelrazak Younes
John Levon wrote: On Mon, Oct 09, 2006 at 06:55:35PM +0200, Abdelrazak Younes wrote: As the title says. I've been testing this patch for some days and I didn't see any side effect. The contrary would be surprising as the changes are pretty simple. Is font metrics any faster these days? There

Re: libtool: link: cannot find the library `'

2006-10-10 Thread Abdelrazak Younes
Andre Poenitz wrote: On Mon, Oct 09, 2006 at 06:17:52PM +0200, Abdelrazak Younes wrote: Jean-Marc Lasgouttes wrote: "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> Well, I've made it faster in the past with Bennett's help. Abdelrazak> I am quite confident that we'll f

Re: Please include LyXWinInstaller's toolbar in the official LyX Windows installer

2006-10-10 Thread Joost Verburg
Jean-Marc Lasgouttes wrote: Because I think there will be as many people annoyed by auto toolbars then people who like them. Personally, having toolbars which flash in and out when I do pageup/down annoys me. Not having auto toolbars makes them very difficult to use, because you'll have to reo

Re: Will commit now... (was Re: [SVN updated patch] Introduce frontends/FontMetrics virtual interface

2006-10-10 Thread Abdelrazak Younes
Andre Poenitz wrote: On Sat, Oct 07, 2006 at 06:07:26PM +0200, Abdelrazak Younes wrote: Abdelrazak Younes wrote: Andre Poenitz wrote: I think I'd prefer something like +x_ += theFontMetrics(font).width(&str[0], str.size()); Going 'optically' through four layers is not adding clarity. I

Re: [PATCH] Painter::text() returns drawn text width()

2006-10-10 Thread Jean-Marc Lasgouttes
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> Hello, As the title says. I've been testing this patch for Abdelrazak> some days and I didn't see any side effect. The contrary Abdelrazak> would be surprising as the changes are pretty simple. Abdelrazak> Will commit

Re: [1.5svn] [BUG] iterator code issue

2006-10-10 Thread Jean-Marc Lasgouttes
> "Timothy" == Timothy Reaves <[EMAIL PROTECTED]> writes: Timothy> When I click on my documents TOC button, it immediately Timothy> crashes with this: Can you get a backtrace? JMarc