Re: Math manual compilation

2009-11-22 Thread Guenter Milde
On 2009-11-23, Uwe Stöhr wrote: > > - if (mustProvide("mhchem")) > > + if (mustProvide("mhchem") && isAvailable("mhchem")) > It is not that easy. ... > Your solution does nevertheless not help because mhchem wouldn't be > loaded when it is not available. But in this case LaTeX cannot insta

Re: r32156 - lyx-devel/trunk/src/insets

2009-11-22 Thread Jürgen Spitzmüller
Vincent van Ravesteijn wrote: > and the last for the longtable captions. > > to Branch ? OK. Jürgen

Re: r32155 - lyx-devel/trunk/src/insets

2009-11-22 Thread Jürgen Spitzmüller
Vincent van Ravesteijn wrote: > to Branch ? OK. Jürgen

Re: Approaching LyX 1.6.5 [status update #1]

2009-11-22 Thread Jürgen Spitzmüller
Pavel Sanda wrote: > i guess its too late for 5211? We don't have a patch, do we? > secondly there seems to be bunch of bugs targeted to next release for > longer time without any progress. either we consider them to be really > fixed before next release goes out or we should move them to 1.6.x

Re: Approaching LyX 1.6.5 [status update #1]

2009-11-22 Thread Jürgen Spitzmüller
Vincent van Ravesteijn wrote: > I've committed the patch to trunk. Thanks. > A patch for branch is attached to the bug. This should wait for 1.6.6, though. Jürgen

Re: Math manual compilation

2009-11-22 Thread Uwe Stöhr
> Then don't try to load mhchem if it is not available (see attached patch). > > - if (mustProvide("mhchem")) > + if (mustProvide("mhchem") && isAvailable("mhchem")) >packages << "\\PassOptionsToPackage{version=3}{mhchem}\n" >"\\usepackage{mhchem}\n"; It is n

[RFC] Hunspell Fixes

2009-11-22 Thread rgheck
Here are some more fixes needed to get hunspell working for me. Comments again welcome. rh

Re: Approaching LyX 1.6.5 [status update #1]

2009-11-22 Thread Vincent van Ravesteijn
Ben M. schreef: I'd like to see some movement on #4360. http://www.lyx.org/trac/ticket/4360 Stefan wrote a substantial patch nine months ago. I don't think anyone committed it to trunk. Then I tried to backport it, but I got stuck. Though I can live with this bug for now, things would be much

[RFC] Spellchecking Fixes

2009-11-22 Thread rgheck
Since I know nothing about the spell checked, I'm posting this little patch. One of the problems I was seeing was that, not having aspell installed here, I was getting it as the default spellchecker anyway, in which case nothing was happening. So that's part of it. The other part is a simple

Re: Approaching LyX 1.6.5 [status update #1]

2009-11-22 Thread Sebastian Guttenberg
On Sun, 2009-11-22 at 16:21 -0500, rgheck wrote: > These are very different. Modules don't necessarily have anything to do > with packages. Oh, sorry, I misunderstood the use of the word "module". Or better said simply didn't know what it was and assumed that it is the lyx-internal package hand

Re: starting lyx when it already is running (bug or enhancement?)

2009-11-22 Thread Sebastian Guttenberg
rgheck wrote: > I'm not sure anyone would object, though I'd guess that doing this > cross-platform is complicated. The attached could probably be adapted to > your purposes, though. Thanks a lot for the script! That's interesting and indeed related. I'll try to understand and adapt it. - Sebas

Re: Spellcheck Issues in Trunk

2009-11-22 Thread rgheck
On 11/22/2009 03:00 AM, Kornel Benko wrote: Am Samstag 21 November 2009 schrieb rgheck: On 11/21/2009 05:31 AM, Jean-Marc Lasgouttes wrote: Le 20/11/2009 23:52, rgheck a écrit : checking hunspell/hunspell.hxx usability... yes checking hunspell/hunspell.hxx presence... yes che

Re: starting lyx when it already is running (bug or enhancement?)

2009-11-22 Thread rgheck
On 11/22/2009 03:03 AM, Sebastian Guttenberg wrote: Hi all The following happened a couple of times to me: Assume lyx is running on desktop one (with around 10 opened files) and I want to open on desktop 2 another lyx to start a new file which is not related to those on desktop 1. It is tempting

Re: r32156 - lyx-devel/trunk/src/insets

2009-11-22 Thread Vincent van Ravesteijn
v...@lyx.org schreef: Author: vfr Date: Sun Nov 22 19:39:48 2009 New Revision: 32156 URL: http://www.lyx.org/trac/changeset/32156 Log: Move the contents of a row into the caption when setting a row as a longtable caption. Modified: lyx-devel/trunk/src/insets/InsetTabular.cpp Modified: lyx-

Re: r32155 - lyx-devel/trunk/src/insets

2009-11-22 Thread Vincent van Ravesteijn
v...@lyx.org schreef: Author: vfr Date: Sun Nov 22 19:37:08 2009 New Revision: 32155 URL: http://www.lyx.org/trac/changeset/32155 Log: Unset all caption rows and dissolve all captions in a long-table when converting to a normal table. Modified: lyx-devel/trunk/src/insets/InsetTabular.cpp M

Re: Approaching LyX 1.6.5 [status update #1]

2009-11-22 Thread Sebastian Guttenberg
Jürgen Spitzmüller wrote: > But a module that just disables and auto-loaded package is > perverting the module idea. At least it's not a thing I'd like to ship with > the distribution (it should go to the Wiki, as a workaround). Isn't that bug (5058 ams-packages) just another example that it is

Re: Approaching LyX 1.6.5 [status update #1]

2009-11-22 Thread Ben M.
I'd like to see some movement on #4360. http://www.lyx.org/trac/ticket/4360 Stefan wrote a substantial patch nine months ago. I don't think anyone committed it to trunk. Then I tried to backport it, but I got stuck. Though I can live with this bug for now, things would be much nicer if it was f

Re: Approaching LyX 1.6.5 [status update #1]

2009-11-22 Thread Pavel Sanda
Jürgen Spitzmüller wrote: > Objections? Any bugs that should be considered in your opinion? Vincent? i guess its too late for 5211? secondly there seems to be bunch of bugs targeted to next release for longer time without any progress. either we consider them to be really fixed before next releas

Re: Approaching LyX 1.6.5 [status update #1]

2009-11-22 Thread Vincent van Ravesteijn
Sam Liddicott schreef: -Original Message- From: Vincent van Ravesteijn Sent: 22 November 2009 13:37 To: Jürgen Spitzmüller Cc: LyX Devel Subject: Re: Approaching LyX 1.6.5 [status update #1] Jürgen Spitzmüller schreef: Vincent van Ravesteijn wrote: I already fixed this. It's pret

Re: Math manual compilation

2009-11-22 Thread Enrico Forestieri
On Sun, Nov 22, 2009 at 04:16:16AM +0100, Uwe Stöhr wrote: > Pavel Sanda schrieb: > > >> I've done this now, please test if the Math manual is now compilable. > > > > now i still see > > ! LaTeX Error: File `mhchem.sty' not found. > > OK. I see now that it is impossible to compile the file wit

RE: Approaching LyX 1.6.5 [status update #1]

2009-11-22 Thread Sam Liddicott
A caption with a label? Maybe footnote? sam -Original Message- From: Vincent van Ravesteijn Sent: 22 November 2009 13:37 To: Jürgen Spitzmüller Cc: LyX Devel Subject: Re: Approaching LyX 1.6.5 [status update #1] Jürgen Spitzmüller schreef: > Vincent van Ravesteijn wrote: > >> I al

Re: Approaching LyX 1.6.5 [status update #1]

2009-11-22 Thread Vincent van Ravesteijn
Jürgen Spitzmüller schreef: Vincent van Ravesteijn wrote: I already fixed this. It's pretty safe as I only fire a few LFUNs. The only problem is that it's not a solution for all cases. It didn't become clear to me from the discussion on trac whether some other changes need to be backp

Re: Approaching LyX 1.6.5 [status update #1]

2009-11-22 Thread Jürgen Spitzmüller
Vincent van Ravesteijn wrote: > I already fixed this. It's pretty safe as I only fire a few LFUNs. The > only problem is that it's not a solution for all cases. It didn't become clear to me from the discussion on trac whether some other changes need to be backported first. If it's just the two c

Re: Approaching LyX 1.6.5 [status update #1]

2009-11-22 Thread Vincent van Ravesteijn
#5754 caption inset not dissolved when unsetting longtable caption I fail to see why this is a 'major' bug. I would not rate it major either, but we can fix it nonetheless. The relevant question is: how much work is that, and how safe is the fix? I already fixed this

Re: Approaching LyX 1.6.5 [status update #1]

2009-11-22 Thread Vincent van Ravesteijn
I found a regression with sort of dataloss. Insert an empty matrix in a document, save, close, and reload. Then you'll see that the matrix now has one row less. The lyx file seems ok to me, so we make an error while reading the document. This has been caused by me removing the last // for an

Re: r32036 - lyx-devel/trunk/src

2009-11-22 Thread Jürgen Spitzmüller
Vincent van Ravesteijn wrote: > Juergen, > > to branch ? If you're really sure about it. Jürgen

Re: Approaching LyX 1.6.5 [status update #1]

2009-11-22 Thread Jürgen Spitzmüller
Vincent van Ravesteijn wrote: > > * We should focus on the major and critical bugs now. AFAICS, these are > > #6251 Crash while quitting LyX. Happens in lyx::Buffer::getChildren > > I had some solution for this I guess, but as I wrote in the bug, all > this master-children stuff is a bit unorg

Re: r31791 - lyx-devel/trunk/src

2009-11-22 Thread Jürgen Spitzmüller
Vincent van Ravesteijn wrote: > If you type text right in front of a displayed equation, the cursor will > jump in front of the displayed equation each time you enter a character. > This fixes this problem. This is a regression introduced by the fix for > bug #5061. > > to branch ? OK. Jürgen

Re: r32036 - lyx-devel/trunk/src

2009-11-22 Thread Vincent van Ravesteijn
v...@lyx.org schreef: Author: vfr Date: Mon Nov 16 00:53:40 2009 New Revision: 32036 URL: http://www.lyx.org/trac/changeset/32036 Log: Allow PgUp and PgDwn to put the cursor on the first or last row. Modified: lyx-devel/trunk/src/TextMetrics.cpp Modified: lyx-devel/trunk/src/TextMetrics.cpp

Re: r31791 - lyx-devel/trunk/src

2009-11-22 Thread Vincent van Ravesteijn
v...@lyx.org schreef: Author: vfr Date: Thu Oct 29 22:02:19 2009 New Revision: 31791 URL: http://www.lyx.org/trac/changeset/31791 Log: Another fix for bug #5061: A slight correction of the patch shown described in http://permalink.gmane.org/gmane.editors.lyx.devel/113507. Modified: lyx-deve

Re: Approaching LyX 1.6.5 [status update #1]

2009-11-22 Thread Vincent van Ravesteijn
* We should focus on the major and critical bugs now. AFAICS, these are #6251 Crash while quitting LyX. Happens in lyx::Buffer::getChildren I had some solution for this I guess, but as I wrote in the bug, all this master-children stuff is a bit unorganized. #5754 caption inset not

Re: Approaching LyX 1.6.5 [status update #1]

2009-11-22 Thread Jürgen Spitzmüller
Sven Hoexter wrote: > what about http://www.lyx.org/trac/ticket/6051 ? I pass the decision to Jean-Marc. Jürgen

Re: Approaching LyX 1.6.5 [status update #1]

2009-11-22 Thread Sven Hoexter
On Sat, Nov 21, 2009 at 05:04:00PM +0100, Jürgen Spitzmüller wrote: Hi, > So it seems we have resolved almost all critical bugs, and in view of the > large list of changes, I think we should get out LyX 1.6.5 soon. [...] > Objections? Any bugs that should be considered in your opinion? Vincent?

Re: branch regressions - number 1

2009-11-22 Thread Jürgen Spitzmüller
Uwe Stöhr wrote: > This needs to be fixed before LyX 1.6.5 because we would otherwise have a > regression. I won't have time to do this the next week(s), so when you > also don't have time, I vote to revert the change were we introduced this. I've reverted the respective change. A proper fix ne

Re: Approaching LyX 1.6.5 [status update #1]

2009-11-22 Thread Jürgen Spitzmüller
Uwe Stöhr wrote: > None, except that we need to resolve this regression bug before LyX 1.6.5, > see http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg155843.html Yes, thanks for the reminder. If everything fails, we'll just revert the "fix". > > Any bugs that should be considered in your o

Re: Approaching LyX 1.6.5 [status update #1]

2009-11-22 Thread Sebastian Guttenberg
> Any bugs that should be considered in your opinion? Neither major nor critical, but it would be nice if someone could have a look at this one, http://www.lyx.org/trac/ticket/6342 to see whether it has an easy fix. Would enhance mathed performance quite a lot! Don't want to be demanding, but I'

starting lyx when it already is running (bug or enhancement?)

2009-11-22 Thread Sebastian Guttenberg
Hi all The following happened a couple of times to me: Assume lyx is running on desktop one (with around 10 opened files) and I want to open on desktop 2 another lyx to start a new file which is not related to those on desktop 1. It is tempting to just click on my lyx-icon on the desktop which how

Re: Spellcheck Issues in Trunk

2009-11-22 Thread Kornel Benko
Am Samstag 21 November 2009 schrieb rgheck: > On 11/21/2009 05:31 AM, Jean-Marc Lasgouttes wrote: > > Le 20/11/2009 23:52, rgheck a écrit : > >> checking hunspell/hunspell.hxx usability... yes > >> checking hunspell/hunspell.hxx presence... yes > >> checking for hunspell/hunspell.hxx... yes > >> ch