Re: 13x compared to 14x

2004-04-08 Thread Alfredo Braunstein
John Levon wrote: > It also means you don't see the cursor on the first line due to our > cursor displaying logic. I don't see this problem. > We need the margins back Agreed. Alfredo

Re: New lyx2lyx.

2004-04-08 Thread Georg Baum
Am Donnerstag, 8. April 2004 18:24 schrieb Jose' Matos: > I will apply this next monday unless there is any flagrant error in it. > All comments are welcome, as usual. :-) I like it, really. Unfortunately I also found errors: - revert() in lyx_1_3.py has too many arguments - lyx2lyx -t 22

Re: Another problem related to bug #605

2004-04-08 Thread Georg Baum
Am Donnerstag, 8. April 2004 12:13 schrieb Jean-Marc Lasgouttes: > I applied it. Thanks. Now I can continue to work on the dvi export and graphics inset problems. Georg

Re: [patch] Fixes missing "Figure #:" regression

2004-04-08 Thread Alfredo Braunstein
Angus Leeming wrote: >>> Would the knowledgable please review and apply if appropriate. >> >> I don't remember the details, but I suspect that the updateCounters >> call should be done at the begining of redoParagraph and not at the >> end? (because the label change can modify rebreaking) >> >>

Re: auto tools strangeness

2004-04-08 Thread Georg Baum
Am Mittwoch, 7. April 2004 10:32 schrieb Angus Leeming: > Using --enable-maintainer-mode I find that (as happened yesterday?) > typing 'make' causes autogen.sh and configure to be re-run. Fine. The > strangeness, however, is that the order of directory traversal is > something like: > > intl > boo

Re: New lyx2lyx.

2004-04-08 Thread Jose' Matos
On Thursday 08 April 2004 17:45, Angus Leeming wrote: > Jose' Matos wrote: > > Hi all, > > Attached follows the new lyx2lyx. > > [snip...] > > > _ use the flexity provided by opt.err to output different levels > > of > > debug. > > So all convert and revert functions get passed an 'opt' variabl

Re: Command buffer

2004-04-08 Thread Angus Leeming
John Levon wrote: > On Thu, Apr 08, 2004 at 05:25:10PM +0100, Angus Leeming wrote: > >> Now, personally, I think that it should be there, but leaving that >> to one side, why don't we have a minibuffer that 'appears' when I >> type 'M-x' and 'disappears' when I subsequently hit return? That >> wa

Re: New lyx2lyx.

2004-04-08 Thread Angus Leeming
Jose' Matos wrote: > Hi all, > Attached follows the new lyx2lyx. [snip...] > _ use the flexity provided by opt.err to output different levels > of > debug. So all convert and revert functions get passed an 'opt' variable eventually? And will this opt variable have a dubug level, similar t

Re: Command buffer

2004-04-08 Thread John Levon
On Thu, Apr 08, 2004 at 05:25:10PM +0100, Angus Leeming wrote: > Now, personally, I think that it should be there, but leaving that to > one side, why don't we have a minibuffer that 'appears' when I type > 'M-x' and 'disappears' when I subsequently hit return? That way, its > behaviour is anal

New lyx2lyx.

2004-04-08 Thread Jose' Matos
Hi all, Attached follows the new lyx2lyx. There are several itens missing but this reveals the new structure. I have also merged Georg's latest patch. I will apply this next monday unless there is any flagrant error in it. All comments are welcome, as usual. :-) What

Command buffer

2004-04-08 Thread Angus Leeming
Leaving aside Andre's assertion that it is broken at the moment, the command buffer in the Qt frontend is turned off by default. The rationale is that it eats up screen real estate and only gurus use it anyway. Now, personally, I think that it should be there, but leaving that to one side, why

Cursor navigation

2004-04-08 Thread Angus Leeming
Navigation passed math insets using the cursor keys tends to get stuck. Eg blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah |a=b blah blah blah blah blah blah blah blah blah blah blah blah blah blah

Re: lyx-devel src/mathed/: math_decorationinset.C math_dotsins ...

2004-04-08 Thread Angus Leeming
[EMAIL PROTECTED] wrote: > CVSROOT: /usr/local/lyx/cvsroot > Module name: lyx-devel > Repository: lyx-devel/src/mathed/ > Changes by: [EMAIL PROTECTED]04/04/08 17:20:05 > > Modified files: > lyx-devel/src/mathed/: math_decorationinset.C math_dotsinset.C > math_support.C > > Log

Re: Online bibliography support

2004-04-08 Thread Janus Sandsgaard
On Monday 05 April 2004 20:02, Andre Poenitz wrote: > Tell me about DSL. You know, we've got the Most Modern Telco Network > in the Known Universe(tm) over here. Which means glass fibre up to the > kitchen sink. But no DSL. Sad. Here in Denmark we have FiWi in the bathroom. In Finland I gues it c

Re: [patch] Fixes missing "Figure #:" regression

2004-04-08 Thread Angus Leeming
Alfredo Braunstein wrote: >> Comparing redoParagraphs in lyx 13x and 14x, the new code is >> missing an updateCounters call just before it exits the routine. In >> fact there appear to be many more calls to updateCounters in 13x. I >> don't know how many of these updateCounters are needed anymore,

Uninitialised 'x' in MathDotsInset::draw

2004-04-08 Thread Angus Leeming
I tracked down the reason why the dot of \dot{m} isn't drawn. The attached, diagnostic patch demostrates that the 'x' passed to mathed_draw_deco is uninitialised for a math inset '\dot{m}' Typical output: mathed_draw_deco "dot", x=271716953, y=646, w=6, h=6 mathed_draw_deco ptr = 0x120525a38 dr

Re: [patch] Fixes missing "Figure #:" regression

2004-04-08 Thread Alfredo Braunstein
Angus Leeming wrote: > Comparing redoParagraphs in lyx 13x and 14x, the new code is missing > an updateCounters call just before it exits the routine. In fact > there appear to be many more calls to updateCounters in 13x. I don't > know how many of these updateCounters are needed anymore, but addi

Re: 13x compared to 14x

2004-04-08 Thread John Levon
On Thu, Apr 08, 2004 at 12:52:53PM +0200, Juergen Spitzmueller wrote: > * In 1.4, the top/bottom margin in the lyxview is close to zero. Personally, I > don't like this. It also means you don't see the cursor on the first line due to our cursor displaying logic. We need the margins back john

Re: [patch 13x, 14x]: use providecommand for boldsymbol

2004-04-08 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> Juergen Spitsmueller has verified that this one-liner cures the Angus> problem. Ok to apply to 13x and to 14x? Angus> * lyx_sty.C (boldsymbol_def): modify so that it outputs Angus> "\providecommand" rather than "newcommand"

[patch 13x, 14x]: use providecommand for boldsymbol

2004-04-08 Thread Angus Leeming
Juergen Spitsmueller has verified that this one-liner cures the problem. Ok to apply to 13x and to 14x? * lyx_sty.C (boldsymbol_def): modify so that it outputs "\providecommand" rather than "newcommand", thereby preventing clashes with packages that define "boldsymbol" the

[patch] Fixes missing "Figure #:" regression

2004-04-08 Thread Angus Leeming
Comparing redoParagraphs in lyx 13x and 14x, the new code is missing an updateCounters call just before it exits the routine. In fact there appear to be many more calls to updateCounters in 13x. I don't know how many of these updateCounters are needed anymore, but adding one to redoPragraphs fi

Re: 13x compared to 14x

2004-04-08 Thread Juergen Spitzmueller
Angus Leeming wrote: > Differences: * In 1.4, the top/bottom margin in the lyxview is close to zero. Personally, I don't like this. Jürgen.

13x compared to 14x

2004-04-08 Thread Angus Leeming
I have two screen shots here (total 80kB) of the same document displayed in 13x and in 14x. The primary point to make is that the similarity of appearance between the two is very impressive. The line breaking algorithm appears to be identical. Differences: * The minibuffer has disappeared :-(

Re: [patch] fix temp dir deletion

2004-04-08 Thread Jean-Marc Lasgouttes
> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes: Georg> Jean-Marc Lasgouttes wrote: >> Georg, should it be applied to 1.3.x too? Georg> Yes, 1.3 has the same problem, and I think it is safe enough. Thanks. I applied it. JMarc

Re: Another problem related to bug #605

2004-04-08 Thread Jean-Marc Lasgouttes
> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes: Georg> Jean-Marc Lasgouttes wrote: >> OK, OK I surrender, please stop hitting my head it hurts! Georg> Well, I did not intend to hit your head, if Angus' post had Georg> arrived before I wrote mine I would have been quiet. >> Nevertheless,

Re: Can't enter a math inset by clicking on it...

2004-04-08 Thread Alfredo Braunstein
Angus Leeming wrote: > Also, if you enter using the keyboard arrow keys, then the cursor is > displayed elsewhere, even though the inset is 'active'. Typing new > stuff into the inset works fine. > > This is current cvs, including Andre's 1 line change to > math_scriptinset.C. This seems to be c

text selection

2004-04-08 Thread Alfredo Braunstein
the new mouse text selection behaviour is cool (!) one problem: start selecting outside an inset, go inside -> crash. Alfredo

[patch] cursor position inside math insets

2004-04-08 Thread Alfredo Braunstein
Not sure if this is the "correct" solution though. The top_y habdling should be probably completely centralized in some setCachePos like in insets/, but I've lost track inside the math/ hierarchy. I think we should put bv.top_y inside PainterInfo directly so we can avoid including BufferView.h in

Re: gtk frontend

2004-04-08 Thread Alfredo Braunstein
Angus Leeming wrote: > C_FormBaseInputCB is a callback function of the now-dead FormBase > class. So, what's calling it? A. build_forks is the routine used > to build the forks dialog. But the forks dialog is also dead... OMG I have a superpower... I see dead dialogs ;-) > Alfredo, FormForks

Re: My next target?

2004-04-08 Thread Angus Leeming
John Levon wrote: > On Thu, Apr 08, 2004 at 12:04:26AM +0100, Angus Leeming wrote: > >> Question 1 >> == >> Is this safe? Ie, will it work if $FIG is empty? >> +if test "$FIG" = "xfig"; then >> >> The usual strategy is: >> +if test "x$FIG" = "xxfig"; then >> >> which is guaranteed to wo

Re: gtk frontend

2004-04-08 Thread Angus Leeming
Alfredo Braunstein wrote: > after configuring with > > ../configure --enable-maintainer-mode --with-version-suffix \ > --with-frontend="qt xforms gtk" --disable-debug > > and compiling successfully, the thing breaks on the final linking > step of the gtk frontend with > > frontends/gtk/.libs/li

[patch] fix crash on cursor left

2004-04-08 Thread Alfredo Braunstein
... into an inset with more than one paragraph. Alfredo Index: text2.C === RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/text2.C,v retrieving revision 1.569 diff -u -p -u -r1.569 text2.C --- text2.C 7 Apr 2004 16:57:56 - 1.569 ++

Re: My next target?

2004-04-08 Thread Georg Baum
Angus Leeming wrote: > Question 1 > == > Is this safe? Ie, will it work if $FIG is empty? > +if test "$FIG" = "xfig"; then I forgot the reason for putting the x in there. But if this is unsafe, then there are other unsafe things already: test $tex_to_lyx_command = "reLyX" && tex_to_lyx_c

gtk frontend

2004-04-08 Thread Alfredo Braunstein
after configuring with ../configure --enable-maintainer-mode --with-version-suffix \ --with-frontend="qt xforms gtk" --disable-debug and compiling successfully, the thing breaks on the final linking step of the gtk frontend with frontends/gtk/.libs/libgtk.a(xforms.o)(.text+0x6f516): In function