Re: TABLE OF CONTENTS bug

2006-12-29 Thread Jürgen Spitzmüller
Peter Kümmel wrote: > Does this help? No. Jürgen

Paragraph-break bug report.

2006-12-29 Thread Bo Peng
Open a document, go to the middle of a paragraph, enter return twice so that there is an empty paragraph in between. Click on the next paragraph, lyx crashes. It seems that Abdel's paragraphMetrics is involved. Backtrace: #1 0x004b6a3f in lyx::Paragraph::getDepth (this=Variable "this" i

Re: Towards LyX 1.4.4 [status update #1]

2006-12-29 Thread Georg Baum
On Friday 29 December 2006 10:13, Jean-Marc Lasgouttes wrote: > > "Georg" == Georg Baum <[EMAIL PROTECTED]> writes: > Georg> Is it OK if I don't implement the chekbox but only make it > Georg> compile? > > Sure. It turned out that that was almost as much work as implementing an additional che

Re: Native file dialogs

2006-12-29 Thread Peter Kümmel
Georg Baum wrote: > On Friday 29 December 2006 20:56, Peter Kümmel wrote: >> Is there a reason not to use the native >> file dialogs on Windows? > > Yes: The extra buttons for examples and documents. We discussed this several OK... > times already. We got complaints from OS X users that the file

Re: TABLE OF CONTENTS bug

2006-12-29 Thread Peter Kümmel
Peter Kümmel wrote: > Maybe this macro is not perfect or the usage is wrong. > I assume that when we replace the macro by hand written > for-each code the bug is fixed. Does this help? Peter Index: src/frontends/qt4/QTocDialog.C ===

Re: [PATCH] LyX/Mac menu merging

2006-12-29 Thread Bennett Helm
On Dec 29, 2006, at 6:59 AM, Jean-Marc Lasgouttes wrote: "Bennett" == Bennett Helm <[EMAIL PROTECTED]> writes: Jean-Marc> Try this one instead. It should additionally show correctly Jean-Marc> the menus when a dialog has focus. Bennett> In both English and French, I get only a LyX menu and no

Re: Native file dialogs

2006-12-29 Thread Edwin Leuven
Georg Baum wrote: > We got complaints from OS X users that the > file dialog looks ugly. when i added the buttons (and got a different result than with the previous qt) i had an exchange with trolltech about this. the result is that they are "aware" of it: http://www.trolltech.com/developer/t

Re: TABLE OF CONTENTS bug

2006-12-29 Thread Georg Baum
On Friday 29 December 2006 20:19, Bo Peng wrote: > > No problems with de_, fr_, and the English version. > > (msvc, Qt 4.2.2) > > I am using gcc 3.4.6 with qt 4.1.4. Maybe Jurgen is using another version > of qt? Maybe. I don't have problems with english and german tutorial either (gcc-Version 4.

Re: TABLE OF CONTENTS bug

2006-12-29 Thread Georg Baum
On Friday 29 December 2006 20:59, Jürgen Spitzmüller wrote: > It does. With --disable-stdlib-debug, I don't get the crash either. So are > we doing something invalid that does only surface when stdlib-debug is > enabled? That is conistent with my findings. I use --disable-stdlib-debug on this mac

Re: TABLE OF CONTENTS bug

2006-12-29 Thread Peter Kümmel
Jürgen Spitzmüller wrote: > Jürgen Spitzmüller wrote: >> However, I have compiled with stdlib-debug enabled. >> I'm just recompiling with --disable-stdlib-debug to check if that makes a >> difference. > > It does. With --disable-stdlib-debug, I don't get the crash either. So are we > doing someth

Re: Native file dialogs

2006-12-29 Thread Georg Baum
On Friday 29 December 2006 20:56, Peter Kümmel wrote: > Is there a reason not to use the native > file dialogs on Windows? Yes: The extra buttons for examples and documents. We discussed this several times already. We got complaints from OS X users that the file dialog looks ugly. After we chang

Re: Native file dialogs

2006-12-29 Thread Abdelrazak Younes
Peter Kümmel wrote: Is there a reason not to use the native file dialogs on Windows? Personally I like our home made file dialog because of the convenient bookmark buttons. The native dialog is really too much... A good compromise would be to use our file dialog for opening or saving LyX fi

Re: TABLE OF CONTENTS bug

2006-12-29 Thread Jürgen Spitzmüller
Jürgen Spitzmüller wrote: > However, I have compiled with stdlib-debug enabled. > I'm just recompiling with --disable-stdlib-debug to check if that makes a > difference. It does. With --disable-stdlib-debug, I don't get the crash either. So are we doing something invalid that does only surface wh

Native file dialogs

2006-12-29 Thread Peter Kümmel
Is there a reason not to use the native file dialogs on Windows? If not, with attached patch they could be enabled. Peter Index: src/frontends/qt4/FileDialog.C === --- src/frontends/qt4/FileDialog.C (revision 16431) +++ src/fron

Re: TABLE OF CONTENTS bug

2006-12-29 Thread Jürgen Spitzmüller
Bo Peng wrote: > > No problems with de_, fr_, and the English version. > > (msvc, Qt 4.2.2) Doesn't matter which version of the tutorial (or even which document) > I am using gcc 3.4.6 with qt 4.1.4. Maybe Jurgen is using another version > of qt? qt 4.2.2, gcc 4.1.2, this is on openSuse 10.2/x64

Re: TABLE OF CONTENTS bug

2006-12-29 Thread Bo Peng
No problems with de_, fr_, and the English version. (msvc, Qt 4.2.2) I am using gcc 3.4.6 with qt 4.1.4. Maybe Jurgen is using another version of qt? Bo

Re: TABLE OF CONTENTS bug

2006-12-29 Thread Peter Kümmel
Bo Peng wrote: > On 12/30/06, Jürgen Spitzmüller <[EMAIL PROTECTED]> wrote: >> Am Freitag, 29. Dezember 2006 19:36 schrieb Peter Kümmel: >> > Status.15x: I could not reproduce this bug: >> >> I still see it with most current svn. Backtrace: > > Fine here. I guess you use tutorial of a different la

Re: TABLE OF CONTENTS bug

2006-12-29 Thread Bo Peng
On 12/30/06, Jürgen Spitzmüller <[EMAIL PROTECTED]> wrote: Am Freitag, 29. Dezember 2006 19:36 schrieb Peter Kümmel: > Status.15x: I could not reproduce this bug: I still see it with most current svn. Backtrace: Fine here. I guess you use tutorial of a different language? Bo

Re: EDITING minipage insert crash

2006-12-29 Thread Bo Peng
On 12/30/06, Peter Kümmel <[EMAIL PROTECTED]> wrote: Status.15x: I also could not reproduce this error: Me neither. Bo

Re: TABLE OF CONTENTS bug

2006-12-29 Thread Jürgen Spitzmüller
Am Freitag, 29. Dezember 2006 19:36 schrieb Peter Kümmel: > Status.15x: I could not reproduce this bug: > > TABLE OF CONTENTS > > * open Tutorial; click on TOC: TOC dialog has no contents; touch TOC slider >    => seg fault. I still see it with most current svn. Backtrace: Program received signal

EDITING minipage insert crash

2006-12-29 Thread Peter Kümmel
Status.15x: I also could not reproduce this error: EDITING * Create a document with an empty table; mark the whole table; insert a minipage in order to have the table inside a minipage => crash

Re: Including the Extended-Insets manual to next LyX 1.4.x release

2006-12-29 Thread Uwe Stöhr
Jean-Marc Lasgouttes schrieb: I have a question about that Uwe: what shall we do to Extended.lyx if we include this new manual? I do not want to duplicate documentation. Extended-Insets is not a superset of the Extended tutorial; it describes only tables, figures, and notes insets while the E

TABLE OF CONTENTS bug

2006-12-29 Thread Peter Kümmel
Status.15x: I could not reproduce this bug: TABLE OF CONTENTS * open Tutorial; click on TOC: TOC dialog has no contents; touch TOC slider => seg fault. Peter

FIX: mark + crtl-L -> crash

2006-12-29 Thread Peter Kümmel
Here a fix for a Status.15x bug: EDITING * Open "de_Intro.lyx"; mark first word ("Einführung"); invoke "ert-insert" => seg fault But the patch only fixes the "symptom", out-of-bound access on a array. Maybe someone who understands this paragraph stuff knows a better solution. Peter Index: src/

Re: Bidi support in Lyx 1.5 svn

2006-12-29 Thread Abdelrazak Younes
Dov Feldstern wrote: Does anyone else have any ideas as to what might be causing these weird problems? Is there anyone else out there testing 1.5.0svn with any BiDi language? I'd like to test it but I don't know if I can install any RTL language keyboard support on my WinXP laptop :-( A

[Patch] Bug 2843: Missing braces around setlength commands (confuses latex2html)

2006-12-29 Thread Jean-Marc Lasgouttes
The following patch fixes the output of setlength commands. It is going in soonish. JMarc Index: src/lyx_sty.C === --- src/lyx_sty.C (revision 16422) +++ src/lyx_sty.C (working copy) @@ -75,7 +75,7 @@ "\\newenvironment{LyXParagrap

Re: What to do if iconv fails?

2006-12-29 Thread Georg Baum
On Thursday 28 December 2006 18:43, Jean-Marc Lasgouttes wrote: > I still think we want to translate to LaTeX macros (xml entities) the > caracters that do not have a good match in the output charset. To be > able to do that, I am not sure what is required, but an exception > seems reasonable. I a

Re: Bidi support in Lyx 1.5 svn

2006-12-29 Thread Georg Baum
On Friday 29 December 2006 00:39, Dov Feldstern wrote: > Hi! > > I don't know what to say, it's working for me even after setting the > locales that you sent. > > Could it have to do with the screen-fonts? Perhaps True-type fonts (I > don't know if that's what you're using) have a built-in BiDi alg

Re: [patch] bug 2908: LyX 1.4.3 crashes when exiting empty subscripts

2006-12-29 Thread Jean-Marc Lasgouttes
> "Jean-Marc" == Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: > "Jean-Marc" == Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: Jean-Marc> The following patch fixes the crash described in the bug: Jean-Marc> popRight should not blindly go one step on the right, since Jean-Marc> notifyC

Re: Hebrew encoding (cp1255)

2006-12-29 Thread Georg Baum
On Friday 29 December 2006 14:33, Dov Feldstern wrote: > Thanks, the patch works in the sense that it doesn't complain now about > not finding the "default" encoding. And the display in the GUI is > actually okay (and there's no reason why it should be affected by the > encoding --- it depends only

Re: [patch] bug 2908: LyX 1.4.3 crashes when exiting empty subscripts

2006-12-29 Thread Jean-Marc Lasgouttes
> "Jean-Marc" == Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: Jean-Marc> The following patch fixes the crash described in the bug: Jean-Marc> popRight should not blindly go one step on the right, since Jean-Marc> notifyCursorLeave may cause a script inset to commit Jean-Marc> suicide. The

[patch] fix bug 3049

2006-12-29 Thread Georg Baum
This patch fixes bug 3049. The problem is that lyx2lyx does not know that LyX files in formt 248 and older can contain text in multiple encodings. This patch fixes that by reencoding the necessary parts in the conversion step 248<->249. That is a hack, because it means that lyx2lyx will store m

Re: Hebrew encoding (cp1255)

2006-12-29 Thread Dov Feldstern
Georg Baum wrote: On Friday 29 December 2006 00:32, Dov Feldstern wrote: So basically, in pre-1.5, the solution is just to use the "default" encoding, rather than "auto". Now we move to 1.5.0: when you try to use "default", you get the following message in the stderr: Unknown inputenc value `

Re: Hebrew encoding (cp1255)

2006-12-29 Thread Georg Baum
On Friday 29 December 2006 00:32, Dov Feldstern wrote: > So basically, in pre-1.5, the solution is just to use the "default" > encoding, rather than "auto". > > Now we move to 1.5.0: when you try to use "default", you get the > following message in the stderr: > > Unknown inputenc value `default'.

Re: [patch] fix bug 2927

2006-12-29 Thread Georg Baum
On Friday 29 December 2006 10:05, Abdelrazak Younes wrote: > Who do you expect would object? You never know :-) Georg

Re: Model/view separation of Paragraph class

2006-12-29 Thread Georg Baum
On Friday 29 December 2006 09:49, Abdelrazak Younes wrote: > Please don't compare the two things, those features are completely > unrelated and orthogonal. I happened to have gained some knowledge about > the metrics stuff and the MVC mantra so let's use it. Georg knows a lot > now about unicode b

Re: Input of CJK characters is O.K. but view fails

2006-12-29 Thread Jean-Marc Lasgouttes
> "한창길" == 한창길 <[EMAIL PROTECTED]> writes: 한창길> Hello, 한창길> I've found it very exciting that without CJK-patch, I can now 한창길> input CJK characters with lyx-1.5.0svn. However, viewing the 한창길> CJK characters (postscript or pdf) fails with the following 한창길> error messages: 한창길> "The output

Re: When will 1.4.4 be released

2006-12-29 Thread Edwin Leuven
jean-marc, what about this one? ed. Leuven, E. wrote: would be nice if something like the attached could go in as well to avoid the updating when clicking and moving the mouse over tables... -Original Message- From: Jean-Marc Lasgouttes [mailto:[EMAIL PROTECTED] Sent: Wed 12/27/06 14:0

Re: LyX 1.5.0 - alpha 1 (Ruby) is out

2006-12-29 Thread Jean-Marc Lasgouttes
> "Jean-Marc" == Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: > "José" == José Matos <[EMAIL PROTECTED]> writes: José> On Thursday 16 November 2006 9:37 am, Peter Kümmel wrote: >>> There are several paces where LYX_DIR_14x is hard coded. Shouldn't >>> it be changed to LYX_DIR_15x? Jos

Re: [PATCH] LyX/Mac menu merging

2006-12-29 Thread Jean-Marc Lasgouttes
> "Bennett" == Bennett Helm <[EMAIL PROTECTED]> writes: Jean-Marc> Try this one instead. It should additionally show correctly Jean-Marc> the menus when a dialog has focus. Bennett> In both English and French, I get only a LyX menu and nothing Bennett> else. In that menu, Preferences is graye

Re: [PATCHes] do not put box inset button on the left when is narrow

2006-12-29 Thread Jean-Marc Lasgouttes
> "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes: Martin> On Tue, 2006-12-19 at 16:45 +0100, Jean-Marc Lasgouttes wrote: >> When one inserts a minipage of, say, 30% of page width, the button >> of the collapsable inset is set on the left and the resulting >> insettext area is unusable.

Re: Including the Extended-Insets manual to next LyX 1.4.x release

2006-12-29 Thread Jean-Marc Lasgouttes
> "Uwe" == Uwe Stöhr <[EMAIL PROTECTED]> writes: Uwe> I would like to add the Extended-Insets manual: Uwe> http://wiki.lyx.org/LyX/DocumentationDevelopment#Extended-Insets Uwe> to SVN but after two months of asking for SVN write permissions I Uwe> give up. (It is annoying to spend much time t

Re: [PATCH 1.4.x] bug 3019: Undo crash with nested font changes in math

2006-12-29 Thread Jean-Marc Lasgouttes
> "Jean-Marc" == Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: Jean-Marc> This patch fixes the following crash recipe: Jean-Marc> How to reproduce: - Open a (new) LyX document - Insert -> Jean-Marc> Math -> Inline Formula - Toggle emphasis twice - Undo Jean-Marc> The problem was that undo

Re: Change Tracking - Status Update

2006-12-29 Thread christian . ridderstrom
On Fri, 29 Dec 2006, Martin Vermeer wrote: (*) Yesterday, they mentioned on German television that it is no longer politically correct to say "Merry Christmas" And what about "Happy New Year", or will that offend people that are depressed. ;-) That if anything is an implicit christianism.

Re: Bidi support in Lyx 1.5 svn

2006-12-29 Thread Dov Feldstern
Does anyone else have any ideas as to what might be causing these weird problems? Is there anyone else out there testing 1.5.0svn with any BiDi language? I'd like to test it but I don't know if I can install any RTL language keyboard support on my WinXP laptop :-( Abdel. Hi Abdel! I

Re: Change Tracking - Status Update

2006-12-29 Thread Martin Vermeer
On Thu, Dec 28, 2006 at 12:12:05PM +, José Matos wrote: > On Saturday 23 December 2006 1:45 pm, Michael Gerz wrote: > > Jose, all, > > Hi Michael, ... > > Anyway, I wish you all happy holidays (*) > > > > Michael > > > > (*) Yesterday, they mentioned on German television that it is no lo

Re: Bidi support in Lyx 1.5 svn

2006-12-29 Thread Abdelrazak Younes
Dov Feldstern wrote: Hi! I don't know what to say, it's working for me even after setting the locales that you sent. Could it have to do with the screen-fonts? Perhaps True-type fonts (I don't know if that's what you're using) have a built-in BiDi algorithm or something? I'm using the culmu

Re: Towards LyX 1.4.4 [status update #1]

2006-12-29 Thread Jean-Marc Lasgouttes
> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes: Georg> On Thursday 28 December 2006 15:07, Jean-Marc Lasgouttes wrote: >> > "Georg" == Georg Baum <[EMAIL PROTECTED]> >> writes: >> 2868 fixedintrunk, patch Vector graphics should be >> converted to pdf >> for pdflatex e... >> Georg> Tha

Re: [patch] fix bug 2927

2006-12-29 Thread Abdelrazak Younes
Georg Baum wrote: This patch fixes bug 2927. Note that we do not have the problem with the "unknown" encoding anymore (I found out that an 8859-6 definition is provided by the same package that provides the cp1256 encoding definition: http://tug.ctan.org/tex-archive/language/arabic/arabi/arabi/

Re: Model/view separation of Paragraph class

2006-12-29 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: We advertise unicode for 1.5.0 a lot, therefore it should at least work with the more common languages (e.g. cjk). Abdelrazak> Indeed, we should not advertise unicode in 1.5 unless cjk Abdelrazak> and R