Re: [PATCH]gtk mousewheel-scrolling support

2004-09-23 Thread Alfredo Braunstein
John Levon wrote: > Not a very nice one. Apply John's patch, darn it! I'm feeling some first > name solidarity here. LOL, it's in. Alfredo

Re: [PATCH]gtk mousewheel-scrolling support

2004-09-23 Thread John Levon
On Thu, Sep 23, 2004 at 08:11:57PM +0200, Lars Gullik Bj?nnes wrote: > | +bool GWorkArea::onScrollWheel(GdkEventScroll * event) > | +{ > | + double step; > | + Gtk::Adjustment * adjustment = vscrollbar_.get_adjustment(); > | + if (event->state & GDK_CONTROL_MASK) > | + step = adjus

clicking inside math

2004-09-23 Thread Alfredo Braunstein
it seems that coordinate detection of nested math insets are messed up for other than the first page of the document. If you go scroll down you cannot click inside some nested math inset, the cursor is always stuck on the outer level. Alfredo

[bug] paragraph labels

2004-09-23 Thread Alfredo Braunstein
If we have two consecutive paragraphs in "Definition" style for instance, we are exporting them to LaTeX as a single environment (ok, at least it's what we are used to) but showing on screen as if they were two: Definition 0.1. something Definition 0.2. something else Alfredo

[crash] math macro

2004-09-23 Thread Alfredo Braunstein
new doc insert a math-macro "M-x math-macro a" go to the first box in the math-macro (pressing cursor right) press cursor end -> crash Alfredo

Re: [PATCH]gtk mousewheel-scrolling support

2004-09-23 Thread Lars Gullik Bjønnes
John Spray <[EMAIL PROTECTED]> writes: | On Thu, 2004-09-23 at 18:33, Lars Gullik Bjønnes wrote: >> I have one more nit though... sorry about that. >> >> | +bool GWorkArea::onScrollWheel(GdkEventScroll * event) >> | +{ >> | + double step; >> >> move this down > | I have a better idea: I'll impl

Re: [PATCH]gtk mousewheel-scrolling support

2004-09-23 Thread John Spray
On Thu, 2004-09-23 at 18:33, Lars Gullik Bjønnes wrote: > I have one more nit though... sorry about that. > > | +bool GWorkArea::onScrollWheel(GdkEventScroll * event) > | +{ > | + double step; > > move this down I have a better idea: I'll implement the reason that I actually did it this way to

Re: [PATCH]gtk mousewheel-scrolling support

2004-09-23 Thread Lars Gullik Bjønnes
John Spray <[EMAIL PROTECTED]> writes: | On Thu, 2004-09-23 at 17:37, Lars Gullik Bjønnes wrote: >> You should probably read the >> Development/lyx-devel/development/Code_rules/Rules document. > | In my haste I only skimmed that before: I've read it properly now. | Thanks for your advice Lars & A

Re: [PATCH]gtk mousewheel-scrolling support

2004-09-23 Thread John Spray
On Thu, 2004-09-23 at 17:37, Lars Gullik Bjønnes wrote: > You should probably read the > Development/lyx-devel/development/Code_rules/Rules document. In my haste I only skimmed that before: I've read it properly now. Thanks for your advice Lars & Alfredo. Revised patch attached (now including ch

Re: [PATCH]gtk mousewheel-scrolling support

2004-09-23 Thread Lars Gullik Bjønnes
John Spray <[EMAIL PROTECTED]> writes: | Hi, > | Sending this to the list, because I'm not sure where is best to send | it. Would it be better to submit stuff like this into the bugzilla? Only if there is already a case in bugzilla. If not this is the better place. | Anyway, this handles the g

Re: Can't change document settings in current 140cvs

2004-09-23 Thread Bennett Helm
On Sep 23, 2004, at 10:24 AM, Andreas Vox wrote: Subject says it all about my problem (well, most). I'm using MacOS X. When I open the document settings and change the class to 'Article (Koma script)' and then close the settings dialog with 'Ok' or with 'Apply + Close', the setting is not committ

Re: LyX compiles on Win32 with mingw & gpl qt library

2004-09-23 Thread Kuba Ober
On czwartek 23 wrzesieÅ 2004 05:17 am, Ruurd Reitsma wrote: > Actually, someone already made an installer for Win32. Just havenÂt had the > time to do anything with it... I volunteer to make one with NSIS, if need be. Cheers, Kuba Ober

Re: [PATCH]gtk mousewheel-scrolling support

2004-09-23 Thread Alfredo Braunstein
John Spray wrote: > Hi, Hi! > Sending this to the list, because I'm not sure where is best to send > it. Would it be better to submit stuff like this into the bugzilla? This is the correct place for patches. > Anyway, this handles the gtk scroll event to catch scrollwheels, and > scrolls th

Re: Can I help with Docbook XML support?

2004-09-23 Thread José Abílio Oliveira Matos
On Thu, Sep 23, 2004 at 04:32:22PM +0200, Andreas Vox wrote: > Hi! > > I would like to offer help with the Docbook XML support. My C++ days > are 6 years gone so I missed all the new stuff with namespaces, STL and > exceptions, but I could code some small patches. No problem, as long as you s

Can I help with Docbook XML support?

2004-09-23 Thread Andreas Vox
Hi! I would like to offer help with the Docbook XML support. My C++ days are 6 years gone so I missed all the new stuff with namespaces, STL and exceptions, but I could code some small patches. Who is currently working on these features? Is there a roadmap or a list of assigned tasks? Cheers A

Can't change document settings in current 140cvs

2004-09-23 Thread Andreas Vox
Hi! Subject says it all about my problem (well, most). I'm using MacOS X. When I open the document settings and change the class to 'Article (Koma script)' and then close the settings dialog with 'Ok' or with 'Apply + Close', the setting is not committed: The next time I open setting it's back t

Re: Finally: built on MacOSX

2004-09-23 Thread Jean-Marc Lasgouttes
> "Bennett" == Bennett Helm <[EMAIL PROTECTED]> writes: >> I would be interested to see the error messages in config.log, >> just in case... Bennett> I think I've got the right bits of it in the attached Bennett> file Hmm, the errors in stdarg.h seem strange indeed. Bennett> For some

[PATCH]gtk mousewheel-scrolling support

2004-09-23 Thread John Spray
Hi, Sending this to the list, because I'm not sure where is best to send it. Would it be better to submit stuff like this into the bugzilla? Anyway, this handles the gtk scroll event to catch scrollwheels, and scrolls the document accordingly. John Index: GWorkArea.C ===

Feature request: Non-numerical input for width

2004-09-23 Thread Cyrille Artho
Hi all, for figures, the input widget for "Output/Width: ... [scale%]" only allows a numerical input. However, this is not very good because I would like to use constants for this, e.g. \CODESCALEFACTOR for several EPS figures containing code. It should be trivial to allow text input also; can

Re: Finally: built on MacOSX

2004-09-23 Thread Bennett Helm
On Sep 23, 2004, at 6:29 AM, Jean-Marc Lasgouttes wrote: Bennett> Yes I did experiment with the 10.2 SDK and adding Bennett> "--with-extra-prefix=/Developer/SDKs/MacOSX10.2.8.sdk/usr" to Bennett> ./configure ...; but configuring failed when it couldn't Bennett> compile a simple Qt executable, compl

Re: LyX compiles on Win32 with mingw & gpl qt library

2004-09-23 Thread Georg Baum
Angus Leeming wrote: > minsys comes with vim. Not ideal for this emacs-junky, but bearable. This is the right one for me ;-) > Don't you find it amazing that competent programmers are baffled by > Windows and its idiosyncrasies? I guess that unix has coloured our > judgement. Probably! Thanks f

Re: Towards LyX 1.3.5 [status update #2]

2004-09-23 Thread Georg Baum
Jean-Marc Lasgouttes wrote: > I fear this is going out of hand: for example, the rpm wil depend on > the latex/dvi program that happen to be the preference of the > packager. Who said we should have a dependency on xdvi and not kdvi or > whatever gnome uses? Actually, who said that we need to have

Re: Finally: built on MacOSX

2004-09-23 Thread Jean-Marc Lasgouttes
> "Bennett" == Bennett Helm <[EMAIL PROTECTED]> writes: Bennett> On Sep 22, 2004, at 3:50 AM, Jean-Marc Lasgouttes wrote: >> If you are reasonably confident that the 1.3.5 skeleton is OK right >> now, I can upload it to ftp.lyx.org. Did you include the changes >> from Ronald to make it work on

Re: Towards LyX 1.3.5 [status update #2]

2004-09-23 Thread Jean-Marc Lasgouttes
> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes: Georg> Jean-Marc Lasgouttes wrote: >> Things that remain to be done: >> >> - shall we fix the lyx.spec file, or wait until 1.4.0? Georg> The patch I sent a few days ago works, but it does not make Georg> rpmbuild stop if the needed packages

Re: LyX compiles on Win32 with mingw & gpl qt library

2004-09-23 Thread Angus Leeming
Georg Baum wrote: >> Jean-Marc Lasgouttes wrote: >>> But this cross-compiler stuff is not needed to build LyX on windows, >>> is it? I guess I do not really understand how building LyX on windows >>> works... > > No, it is not needed. But it is convenient for my personal environment, > because I h

Re: LyX compiles on Win32 with mingw & gpl qt library

2004-09-23 Thread Georg Baum
Angus Leeming wrote: > Jean-Marc Lasgouttes wrote: >> But this cross-compiler stuff is not needed to build LyX on windows, >> is it? I guess I do not really understand how building LyX on windows >> works... No, it is not needed. But it is convenient for my personal environment, because I have a

Re: [PATCH] Document --with-frontend=gtk

2004-09-23 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> John Spray <[EMAIL PROTECTED]> writes: | Revised patch attached. Lars> This is ok. I applied it. Thanks, John. JMarc

Re: LyX compiles on Win32 with mingw & gpl qt library

2004-09-23 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: >>> I might try the cross compiler if I find some time. What is the >>> difficult part with qt? > > Ruurd> It´s very difficult to build with a cross compiler. Much easier > Ruurd> to build Qt on windows, and then use the lib on another OS. > > But this cross-compiler

Re: enter key after a math-display: a bug?

2004-09-23 Thread Jean-Marc Lasgouttes
> "Alysson" == Alysson Ferrari <[EMAIL PROTECTED]> writes: Alysson> Consider the following Lyx file, which consists basically in Alysson> a math-display in the middle of some paragraph of text: Alysson> Some text, \begin_inset Formula \[ 1+1\] Alysson> \end_inset Alysson> and more text. (..

Re: LyX compiles on Win32 with mingw & gpl qt library

2004-09-23 Thread Jean-Marc Lasgouttes
> "Ruurd" == Ruurd Reitsma <[EMAIL PROTECTED]> writes: Ruurd> "Georg Baum" <[EMAIL PROTECTED]> wrote in message Ruurd> news:[EMAIL PROTECTED] >> I might try the cross compiler if I find some time. What is the >> difficult part with qt? Ruurd> It´s very difficult to build with a cross compil

Re: LyX compiles on Win32 with mingw & gpl qt library

2004-09-23 Thread Jean-Marc Lasgouttes
> "Ruurd" == Ruurd Reitsma <[EMAIL PROTECTED]> writes: Ruurd> In the Mathed example file, math characters are 1 meter tall, This can't be good, indeed :) Could you try to use/browse these fonts with another Qt-based tool, to see if the problem is in Qt/win itself or in mathed? Ruurd> and whe

Re: LyX compiles on Win32 with mingw & gpl qt library

2004-09-23 Thread Ruurd Reitsma
"Georg Baum" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > I might try the cross compiler if I find some time. What is the difficult > part with qt? > It´s very difficult to build with a cross compiler. Much easier to build Qt on windows, and then use the lib on another OS. Ruu

Re: LyX compiles on Win32 with mingw & gpl qt library

2004-09-23 Thread Ruurd Reitsma
In the Mathed example file, math characters are 1 meter tall, and when scrolling around LyX crashes. Ruurd "Jean-Marc Lasgouttes" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] How far is it from being usable? What kind of weird things happens with mathed? We should probably try to i

Re: LyX compiles on Win32 with mingw & gpl qt library

2004-09-23 Thread Ruurd Reitsma
Actually, someone already made an installer for Win32. Just haven´t had the time to do anything with it... Ruurd "Kayvan A. Sylvan" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Wow, that's great! Does that mean that a LyX Win32 installer can be created at some point? Thanks for d

Re: Development of gtk frontend

2004-09-23 Thread Jean-Marc Lasgouttes
> "Asger" == Asger Kunuk Ottar Alstrup <[EMAIL PROTECTED]> writes: Hi Asger, Asger> Also, it seems there is substantial interest in a GTK front-end Asger> in the wild. See for instance this recent review: Asger> http://www.newsforge.com/article.pl?sid=04/09/15/1345248 Asger> and the associa

Re: [PATCH] Document --with-frontend=gtk

2004-09-23 Thread Lars Gullik Bjønnes
John Spray <[EMAIL PROTECTED]> writes: | Revised patch attached. This is ok. -- Lgb