Re: LyX Qt2 on native win32 screenshot

2002-07-15 Thread John Levon
On Tue, Jul 16, 2002 at 04:57:29PM +1000, Allan Rae wrote: > How hot is too hot? You crazy lot ! Everyone knows that a temperature above 12 degrees C is reason to strip down to no clothes and refuse to do any work in the hope of gaining a "tan" ! Though I did manage to burn my nose at glastonbu

Re: minibuffer design problems

2002-07-15 Thread John Levon
On Tue, Jul 16, 2002 at 04:54:11PM +1000, Allan Rae wrote: > While I agree with the separate implementation you suggest I don't > like the waste of screenspace experienced with KDE/Gnome/Mozilla > because they are afraid of having two separate widgets share the same > space -- especially when the

Re: LyX Qt2 on native win32 screenshot

2002-07-15 Thread Allan Rae
On Tue, 16 Jul 2002, John Levon wrote: > On Tue, Jul 16, 2002 at 08:34:51AM +0200, Juergen Vigna wrote: > > > >Actually doing this and testing it out is something for a rainy day > > > > Well then we will see it quite fast, I have heard some rumors about > > the weather in England ;) > > Tell me

Re: minibuffer design problems

2002-07-15 Thread Allan Rae
On Mon, 15 Jul 2002, John Levon wrote: > On Mon, Jul 15, 2002 at 09:00:09AM +0200, Juergen Vigna wrote: > > > I don't think they are visible at once. There is or the message bar or > > the input buffer visible (well they have the same design so you won't > > notice. But they use the same space. D

Re: Underlined text never gets a newline. Bug or feature?

2002-07-15 Thread R. Lahaye
"Garst R. Reese" wrote: > > "R. Lahaye" wrote: > > > > I added ulem in the preamble. > > No change, though :(. > > This is with 1.3.0cvs. > > Rob. > > > Shucks, guess it does not do it's magic with underbar. Did you check > Herbert's help page? www.lyx.org/help When underbar is used, why not let

Re: Underlined text never gets a newline. Bug or feature?

2002-07-15 Thread R. Lahaye
"Garst R. Reese" wrote: > > "R. Lahaye" wrote: > > > > I added ulem in the preamble. > > No change, though :(. > > This is with 1.3.0cvs. > > Rob. > > > Shucks, guess it does not do it's magic with underbar. Did you check > Herbert's help page? www.lyx.org/help Before I do that, a simple questio

Re: LyX Qt2 on native win32 screenshot

2002-07-15 Thread John Levon
On Tue, Jul 16, 2002 at 08:34:51AM +0200, Juergen Vigna wrote: > >Actually doing this and testing it out is something for a rainy day > > Well then we will see it quite fast, I have heard some rumors about > the weather in England ;) Tell me about it ! Though actually the last two days have bee

Re: LyX Qt2 on native win32 screenshot

2002-07-15 Thread Juergen Vigna
John Levon wrote: > Actually doing this and testing it out is something for a rainy day Well then we will see it quite fast, I have heard some rumors about the weather in England ;) Jug -- -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Dr. Jürgen Vigna

Re: LyX Qt2 on native win32 screenshot

2002-07-15 Thread Andre Poenitz
On Tue, Jul 16, 2002 at 07:08:28AM +0100, John Levon wrote: > If people want to do work on OS independence of course, they are more > than welcome I have no way of testing the results, and in fact I do not care too much... Andre' -- Those who desire to give up Freedom in order to gain Security

Re: Exit confirmation preference

2002-07-15 Thread Allan Rae
On 14 Jul 2002, Jean-Marc Lasgouttes wrote: > > "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: > > Angus> On Friday 12 July 2002 4:07 am, John Levon wrote: > >> What would people think of making this pref default to /off/ > >> > >> (Remember it is really "additional exit confirmation" -

Re: LyX Qt2 on native win32 screenshot

2002-07-15 Thread John Levon
On Tue, Jul 16, 2002 at 07:23:40AM +0200, Andre Poenitz wrote: > > There are no X dependencies left. But there are still some OS > > dependencies on things like fork() > > But the primary goal for 1.3 is still toolkit independence? Yes, but we are actually there now - I can build a fully functi

Re: Underlined text never gets a newline. Bug or feature?

2002-07-15 Thread R. Lahaye
I added ulem in the preamble. No change, though :(. This is with 1.3.0cvs. Rob. "Garst R. Reese" wrote: > > Try \usepackage{ulem} > more info in archives > > "R. Lahaye" wrote: > > > > Underlined (underbarred) text stretches out beyond the right side of > > the paper, without ever getting a ne

Re: patches: make lyx 1.2.0 work for Turkish again

2002-07-15 Thread Andre Poenitz
On Tue, Jul 16, 2002 at 12:01:10AM +0200, Jean-Marc Lasgouttes wrote: > I'd appreciate comments on this patch Looks straight forward, doesn't it? Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)

Re: LyX Qt2 on native win32 screenshot

2002-07-15 Thread Andre Poenitz
On Tue, Jul 16, 2002 at 12:28:52AM +0100, John Levon wrote: > > Charming. How is GUI independence progressing? Any hope for, say, > > gdk under Windows? > > There are no X dependencies left. But there are still some OS > dependencies on things like fork() But the primary goal for 1.3 is still

Re: LyX Qt2 on native win32 screenshot

2002-07-15 Thread Andre Poenitz
On Mon, Jul 15, 2002 at 11:51:40PM +0200, Ruurd Reitsma wrote: > It turns out that supplying a name wich contains 'Qt' gets rid of > 'freeware'. So I guess I'm stuck with 'QtLyX' Must the name begin with Qt or could that be anywhere? If so, I'd prefer 'LyX (Qt)' or something similar. Andre'

Re: lyx-devel src/: ChangeLog bufferlist.C lyxfunc.C lyxfunc.h lyx ...

2002-07-15 Thread John Levon
On Tue, Jul 16, 2002 at 12:27:10PM +1000, Allan Rae wrote: > You shouldn't get so worked up about things John, especially on a > Friday. I defy you to prove that slur etc. etc. john -- "Be sure of this, O young ambition, all mortal greatness is but disease." - Hermann Melville

Graphics: newer ImageMagick version causes trouble for LyX-View

2002-07-15 Thread R. Lahaye
Hi, After a useful communication with Herbert on my problem displaying xpm-files on the LyX canvas, we came to the following conclusion: I'm using a fairly recent version of ImageMagick (5.4.7). This version's convert produces a color output line " c opaque" which causes a horrible quality

Underlined text never gets a newline. Bug or feature?

2002-07-15 Thread R. Lahaye
Hi, Underlined (underbarred) text stretches out beyond the right side of the paper, without ever getting a new line (see attachment). I see this in 1.2.0 as well as in 1.3.0cvs. Is this a bug in LyX, or in LaTeX? Or is this some awkward feature? Thanks, Rob. $ latex -version TeX (Web2C 7.3.1

Re: lyx-devel src/: ChangeLog bufferlist.C lyxfunc.C lyxfunc.h lyx...

2002-07-15 Thread Allan Rae
On Fri, 12 Jul 2002, John Levon wrote: > On Fri, Jul 12, 2002 at 04:25:36PM +1000, Allan Rae wrote: > > > > remove file->new asks for name > > > > Goodbye little feature, you served us well all these years. > > I gave you a last chance to complain. > > \bind "C-n" "command-sequence buffer-new ;

Re: LyX Qt2 on native win32 screenshot

2002-07-15 Thread John Levon
On Tue, Jul 16, 2002 at 12:07:01AM +0200, David Kastrup wrote: > Charming. How is GUI independence progressing? Any hope for, say, > gdk under Windows? There are no X dependencies left. But there are still some OS dependencies on things like fork() regards john -- "Be sure of this, O young

Compile problem with latest CVS

2002-07-15 Thread Kayvan A. Sylvan
g++ -DHAVE_CONFIG_H -I. -I. -I../../src -I./../ -I../../boost -isystem /usr/X11R6/include -O2 -m486 -fno-strength-reduce -W -Wall -c GraphicsImageXPM.C -Wp,-MD,.deps/GraphicsImageXPM.TPlo GraphicsImageXPM.C: In function `static class boost::shared_ptr grfx::ImageXPM::newImage()': GraphicsIma

Re: Is this the right preview info for LyX?

2002-07-15 Thread David Kastrup
Angus Leeming <[EMAIL PROTECTED]> writes: > On Sunday 14 July 2002 1:13 am, David Kastrup wrote: > > Could you adjust your local copy of prlyx.def (and, more importantly, > > the scripts that evaluate its output) so that it will not finish the lines > > with a period? > > > I'll probably commit

Re: LyX Qt2 on native win32 screenshot

2002-07-15 Thread David Kastrup
"Ruurd Reitsma" <[EMAIL PROTECTED]> writes: > > > It means that Trolltech believes that programmers who forget to supply a > > > name for their program (?) are mostly inclined to write programs called > > > 'freeware'. > > > > What a strange assumption. > > > > So how does one supply a name then?

Re: patches: make lyx 1.2.0 work for Turkish again

2002-07-15 Thread Jean-Marc Lasgouttes
Hello, Here is an adapted version of the lyx-1.2.0-turkish.patch that Mike posted. The main difference is that I created a ascii_lowercase function because there are some occasions where one wants to honor locale in case, and others when it is unwanted. I'd appreciate comments on this patch (and

Re: LyX Qt2 on native win32 screenshot

2002-07-15 Thread Ruurd Reitsma
> > It means that Trolltech believes that programmers who forget to supply a > > name for their program (?) are mostly inclined to write programs called > > 'freeware'. > > What a strange assumption. > > So how does one supply a name then? > It turns out that supplying a name wich contains 'Qt' ge

Re: LyX Qt2 on native win32 screenshot

2002-07-15 Thread Ruurd Reitsma
> > It means that Trolltech believes that programmers who forget to supply a > > name for their program (?) are mostly inclined to write programs called > > 'freeware'. > > What a strange assumption. > > So how does one supply a name then? > Well.I have to find out... Ruurd

Re: Preferences' Apply/Save causes SIGSEGV

2002-07-15 Thread John Levon
On Tue, Jul 16, 2002 at 02:34:28AM +0900, R. Lahaye wrote: > This is the corresponding gdb output and backtrace: Fixed thanks. john

Re: lyx-devel src/frontends/qt2/: ChangeLog QLImage.C QLImage.h TO ...

2002-07-15 Thread John Levon
On Mon, Jul 15, 2002 at 06:22:50PM +0100, Angus Leeming wrote: > > Ugh, how do I fix that ? > > > The same way as you fixed xformsImage.[Ch]. But I static_cast to xformsImage const & I should make a shared subclass XGraphicsImage ? john -- "Be sure of this, O young ambition, all mortal great

Re: [Patch] FormFiledialog.[Ch]

2002-07-15 Thread Andre Poenitz
On Mon, Jul 15, 2002 at 06:37:49PM +0100, John Levon wrote: > Our dialog is not winning any awards. Check fdesign if you want to try > it. FL_EXPORT void fl_add_fselector_appbutton Nah... I won't meddle with dialogs... Andre' -- Those who desire to give up Freedom in order to gain Security, w

Re: "Counters" work

2002-07-15 Thread Martin Vermeer
On Mon, Jul 15, 2002 at 05:57:01PM +0100, Angus Leeming wrote: > > OK, next try... attached. > > > > 2002-07-15<[EMAIL PROTECTED]> > > > > * counters.[Ch]: Fleshed out in preparation for taking over > > counters functionality from text2. Compiles, untested. > > > > Martin > > This sh

Re: [Patch] FormFiledialog.[Ch]

2002-07-15 Thread John Levon
On Mon, Jul 15, 2002 at 07:32:32PM +0200, Andre Poenitz wrote: > Shigeru Miyata) was using it IIRC. The last mail I found was from April > this year so I'd think this is still interesting for some people. I see. > [Btw, the link to 'old archive' of lyx-devel is dead] Has been for months and mo

Re: [Patch] FormFiledialog.[Ch]

2002-07-15 Thread Andre Poenitz
On Mon, Jul 15, 2002 at 06:31:09PM +0100, John Levon wrote: > I can't help but feel his time would be better spent elsewhere though My time should be spend preparing a talk I am supposed to give... so I guess you are right... Andre' -- Those who desire to give up Freedom in order to gain Secur

Preferences' Apply/Save causes SIGSEGV

2002-07-15 Thread R. Lahaye
Hi, This is the corresponding gdb output and backtrace: $ gdb src/lyx GNU gdb 4.18 (FreeBSD) Copyright 1998 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. T

Re: [Patch] FormFiledialog.[Ch]

2002-07-15 Thread Andre Poenitz
On Mon, Jul 15, 2002 at 06:07:05PM +0100, Angus Leeming wrote: > "Home", "Documents" buttons? These are real and valuable extras. Ah... indeed. So we need our own dialgoue here. > The existing code is still extremely clunky, but it is possible to clean it > up. I salute André for having a go!

Re: [Patch] FormFiledialog.[Ch]

2002-07-15 Thread Andre Poenitz
On Mon, Jul 15, 2002 at 06:22:38PM +0100, John Levon wrote: > On a related topic, do we really support EMX still ? When was the last > time someone built on OS/2 ? Shigeru Miyata) was using it IIRC. The last mail I found was from April this year so I'd think this is still interesting for some peo

Re: [Patch] FormFiledialog.[Ch]

2002-07-15 Thread John Levon
On Mon, Jul 15, 2002 at 06:07:05PM +0100, Angus Leeming wrote: > > (also why do we have our own filedialog instead of using xforms' ?) > > "Home", "Documents" buttons? These are real and valuable extras. XForms has an API for adding these. > The existing code is still extremely clunky, but it

Re: [Patch] FormFiledialog.[Ch]

2002-07-15 Thread Angus Leeming
On Monday 15 July 2002 6:22 pm, John Levon wrote: > On Mon, Jul 15, 2002 at 07:10:46PM +0200, Andre Poenitz wrote: > > This should not have visible effects but in some places I re-ordered > > code, so please try whether this works for you. > > On a related topic, do we really support EMX still ? W

Re: [Patch] FormFiledialog.[Ch]

2002-07-15 Thread John Levon
On Mon, Jul 15, 2002 at 07:10:46PM +0200, Andre Poenitz wrote: > This should not have visible effects but in some places I re-ordered code, > so please try whether this works for you. On a related topic, do we really support EMX still ? When was the last time someone built on OS/2 ? (also why

Re: "Counters" work

2002-07-15 Thread Angus Leeming
On Monday 15 July 2002 5:57 pm, Martin Vermeer wrote: > On Tue, Jul 02, 2002 at 11:12:01AM +0200, Jean-Marc Lasgouttes wrote: > > > "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes: > > > > Martin> Attached the patch representing my work on the counters.[hC] > > Martin> classes, with a vi

[Patch] FormFiledialog.[Ch]

2002-07-15 Thread Andre Poenitz
Small clean up attached. Removes (on my machine) unneeded #define and #include and renames the member variables. This should not have visible effects but in some places I re-ordered code, so please try whether this works for you. Andre' -- Those who desire to give up Freedom in order to gain

Re: Timestamp question

2002-07-15 Thread Andre Poenitz
On Mon, Jul 15, 2002 at 05:13:06PM +0100, Angus Leeming wrote: > Personally, I'd prefer the Error (as it'll be rather hard to use the image > file in a LaTeX run!) It'll also be easier to code as we'd just call > GraphicsCacheItem::startLoading() and let it get on with it! I think I prefer the

Re: LyX Qt2 on native win32 screenshot

2002-07-15 Thread Andre Poenitz
On Mon, Jul 15, 2002 at 06:26:17PM +0200, Ruurd Reitsma wrote: > It means that Trolltech believes that programmers who forget to supply a > name for their program (?) are mostly inclined to write programs called > 'freeware'. What a strange assumption. So how does one supply a name then? Andre'

Re: "Counters" work

2002-07-15 Thread Martin Vermeer
On Tue, Jul 02, 2002 at 11:12:01AM +0200, Jean-Marc Lasgouttes wrote: > > > "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes: > > Martin> Attached the patch representing my work on the counters.[hC] > Martin> classes, with a view to using them in short title insets. > > There is obviou

Re: Timestamp question

2002-07-15 Thread Andre Poenitz
On Mon, Jul 15, 2002 at 06:21:49PM +0200, Jean-Marc Lasgouttes wrote: > Angus> I plead great ignorance. how efficient is crc? Would there not > Angus> be a big performance penalty if I used lyx::sum(file) every > Angus> time I poled the file? (Every couple of seconds...) > > It is as efficient as

Re: Timestamp question

2002-07-15 Thread John Levon
On Mon, Jul 15, 2002 at 05:13:06PM +0100, Angus Leeming wrote: > Personally, I'd prefer the Error (as it'll be rather hard to use the image > file in a LaTeX run!) It'll also be easier to code as we'd just call > GraphicsCacheItem::startLoading() and let it get on with it! Definitely, we shoul

Re: Timestamp question

2002-07-15 Thread Angus Leeming
On Monday 15 July 2002 5:21 pm, Jean-Marc Lasgouttes wrote: > > "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: > > Angus> I plead great ignorance. how efficient is crc? Would there not > Angus> be a big performance penalty if I used lyx::sum(file) every > Angus> time I poled the file? (E

Re: LyX Qt2 on native win32 screenshot

2002-07-15 Thread Ruurd Reitsma
"Andre Poenitz" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > What's that 'freeware' thingy in the window title? > > I am not exactly sure that this reflects the situation properly... It means that Trolltech believes that programmers who forget to supply a na

Re: Timestamp question

2002-07-15 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> I plead great ignorance. how efficient is crc? Would there not Angus> be a big performance penalty if I used lyx::sum(file) every Angus> time I poled the file? (Every couple of seconds...) It is as efficient as possible :) I know

Re: LyX Qt2 on native win32 screenshot

2002-07-15 Thread John Levon
On Mon, Jul 15, 2002 at 04:44:49PM +0100, Angus Leeming wrote: > I recall that you suggested that it would be possible to also do away with > the timer in the ForkedcallController, but I don't believe you elaborated. I distinctly remember waving my hands ! Anyway we should be able to have a S

Re: Timestamp question

2002-07-15 Thread John Levon
On Mon, Jul 15, 2002 at 04:41:13PM +0100, Angus Leeming wrote: > performance penalty if I used lyx::sum(file) every time I poled the file? > (Every couple of seconds...) Ugh. Polling is crazy. We should just re-check after opening graphics dialog (and/or have an update button). No way is polli

Re: LyX Qt2 on native win32 screenshot

2002-07-15 Thread Angus Leeming
On Monday 15 July 2002 4:43 pm, John Levon wrote: > On Mon, Jul 15, 2002 at 01:50:20PM +0100, Angus Leeming wrote: > > It'd be nice to move the spellchecker's interaction with the forked > > process into Forkedcall. This will need an extension to Forkedcall so > > that we can interact with a forke

Re: Timestamp question

2002-07-15 Thread Angus Leeming
On Monday 15 July 2002 4:45 pm, Jean-Marc Lasgouttes wrote: > > "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: > > Angus> I thought I'd address the bug "LyX doesn't update the image on > Angus> screen if I update the external graphics file". > > Angus> I envisage something as simple as (

Re: Graphics & Qt

2002-07-15 Thread John Levon
On Mon, Jul 15, 2002 at 04:17:35PM +0100, Angus Leeming wrote: > If you feel like re-working the code, go ahead. I have no strong opinions > either way. Hmm, you won't be tricked into doing my dirty work, will you ? :) john -- "Be sure of this, O young ambition, all mortal greatness is but

Re: Timestamp question

2002-07-15 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> I thought I'd address the bug "LyX doesn't update the image on Angus> screen if I update the external graphics file". Angus> I envisage something as simple as (below) but don't know how to Angus> check the timestamp of a file. I d

Re: LyX Qt2 on native win32 screenshot

2002-07-15 Thread John Levon
On Mon, Jul 15, 2002 at 01:50:20PM +0100, Angus Leeming wrote: > It'd be nice to move the spellchecker's interaction with the forked process > into Forkedcall. This will need an extension to Forkedcall so that we can > interact with a forked process, not just receive notification that it has >

Re: LyX Qt2 on native win32 screenshot

2002-07-15 Thread Andre Poenitz
On Mon, Jul 15, 2002 at 04:39:58PM +0100, John Levon wrote: > On Mon, Jul 15, 2002 at 02:03:02PM +0200, Ruurd A. Reitsma wrote: > > http://www.xs4all.nl/~ps28/ruurd/lyx_win32.png What's that 'freeware' thingy in the window title? I am not exactly sure that this reflects the situation properly...

Re: Timestamp question

2002-07-15 Thread Andre Poenitz
On Mon, Jul 15, 2002 at 04:18:28PM +0100, Angus Leeming wrote: > I envisage something as simple as (below) but don't know how to check the > timestamp of a file. I don't suppose piping `ls -l file` through sed is the > way forward! man 2 stat ? Andre' -- Those who desire to give up Freedom

Re: LyX Qt2 on native win32 screenshot

2002-07-15 Thread John Levon
On Mon, Jul 15, 2002 at 02:03:02PM +0200, Ruurd A. Reitsma wrote: > just to show you all that I'm quite content with the Qt2 frontend nearing > completion, here's a screenshot of 1.3.0 cvs on win32: > > http://www.xs4all.nl/~ps28/ruurd/lyx_win32.png That's SO cool ! Excellent stuff !! john -

Timestamp question

2002-07-15 Thread Angus Leeming
I thought I'd address the bug "LyX doesn't update the image on screen if I update the external graphics file". I envisage something as simple as (below) but don't know how to check the timestamp of a file. I don't suppose piping `ls -l file` through sed is the way forward! Can anybody help?

Re: LFUN_DROP_LAYOUTS_CHOICE

2002-07-15 Thread John Levon
On Mon, Jul 15, 2002 at 12:32:02PM +0200, Jean-Marc Lasgouttes wrote: > John> What is the intended use of this ? Can I remove it (one of the > John> best ways of supporting something in GUII is to remove it > John> entirely :) > > It allows to select the style in combox by hand. Try M-p space.

Re: Graphics & Qt

2002-07-15 Thread Angus Leeming
On Monday 15 July 2002 4:35 pm, John Levon wrote: > On Mon, Jul 15, 2002 at 09:46:46AM +0100, Angus Leeming wrote: > > > Another thing: how hard would it be to try and load an image via the > > > toolkit converter /before/ doing any conversion stuff, to see if it > > > succeeds ? Only if it fails

Re: Graphics & Qt

2002-07-15 Thread John Levon
On Mon, Jul 15, 2002 at 09:46:46AM +0100, Angus Leeming wrote: > Why would you want to do that? The loader tells us what formats it can load > directly. Why not trust it? Also, the formats list is not fine-grained enough. What if Qt can't load some weird pnm format, but lyx could convert it ? W

Re: Graphics & Qt

2002-07-15 Thread John Levon
On Mon, Jul 15, 2002 at 09:46:46AM +0100, Angus Leeming wrote: > > Another thing: how hard would it be to try and load an image via the > > toolkit converter /before/ doing any conversion stuff, to see if it > > succeeds ? Only if it fails would it then need to try converting an > > image > > Wh

Re: minibuffer design problems

2002-07-15 Thread John Levon
On Mon, Jul 15, 2002 at 09:00:09AM +0200, Juergen Vigna wrote: > I don't think they are visible at once. There is or the message bar or > the input buffer visible (well they have the same design so you won't > notice. But they use the same space. Do you say you want to make that > part higher and

Re: One for the STL gurus...

2002-07-15 Thread Angus Leeming
On Monday 15 July 2002 3:36 pm, Andre Poenitz wrote: > To the extend where the "algorithm solution" does neither create carpal > symdrome when writing a sore wrist! > nor headaches when reading? > I'd personally use the hand-written loop unless the function object gets > reused in two or three

Re: One for the STL gurus...

2002-07-15 Thread Andre Poenitz
On Mon, Jul 15, 2002 at 01:43:03PM +0100, Angus Leeming wrote: > How seriously do we take Scott Meyer's recommendation "Prefer algorithm calls > to hand-written loops"? (Item 43 of Effective STL) To the extend where the "algorithm solution" does neither create carpal symdrome when writing nor he

Re: overset broken in 1.2.0

2002-07-15 Thread Andre Poenitz
On Mon, Jul 15, 2002 at 01:36:50PM +0200, Jean-Marc Lasgouttes wrote: > OK, I was waiting for feedback on the patch. If Dekel says it works, > I'll apply it. What about a changelog entry, or at least a description > of what it does (for my bugfix list)? The 1.2.0 math parser was dropping pairs of

Re: LyX Qt2 on native win32 screenshot

2002-07-15 Thread Angus Leeming
On Monday 15 July 2002 1:40 pm, Ruurd A. Reitsma wrote: > > > TODO: > > > -make a proper win32 fork controller > > The forked controller is only really used by the graphics code at the > > moment. > The spellchecker also seems to use fork(); if it's only those two parts of > lyx, another solutio

One for the STL gurus...

2002-07-15 Thread Angus Leeming
How seriously do we take Scott Meyer's recommendation "Prefer algorithm calls to hand-written loops"? (Item 43 of Effective STL) For example, these two functions have identical functionality. Which one is prefereable? (and yes, I chose a deliberately simple example...) Angus void func1(Buffer

Re: LyX Qt2 on native win32 screenshot

2002-07-15 Thread Ruurd A. Reitsma
> > > > TODO: > > -make a proper win32 fork controller > > The forked controller is only really used by the graphics code at the moment. > In turn, conversion to a loadable format is controlled through a > LyX-generated shell script. Presumably this will also have to be replaced by > some sort of

Re: LyX Qt2 on native win32 screenshot

2002-07-15 Thread Angus Leeming
On Monday 15 July 2002 1:03 pm, Ruurd A. Reitsma wrote: > Hi, > > just to show you all that I'm quite content with the Qt2 frontend nearing > completion, here's a screenshot of 1.3.0 cvs on win32: > > http://www.xs4all.nl/~ps28/ruurd/lyx_win32.png > > It has been built using qt 2.3.0 non-commercia

Re: overset broken in 1.2.0

2002-07-15 Thread Jean-Marc Lasgouttes
> "Dekel" == Dekel Tsur <[EMAIL PROTECTED]> writes: >> OK, I was waiting for feedback on the patch. If Dekel says it >> works, I'll apply it. What about a changelog entry, or at least a >> description of what it does (for my bugfix list)? Dekel> I already said that the patch works. That's

LyX Qt2 on native win32 screenshot

2002-07-15 Thread Ruurd A. Reitsma
Hi, just to show you all that I'm quite content with the Qt2 frontend nearing completion, here's a screenshot of 1.3.0 cvs on win32: http://www.xs4all.nl/~ps28/ruurd/lyx_win32.png It has been built using qt 2.3.0 non-commercial for windows, M$ Visual Studio, the intel 6.0 compiler and stlport.

Re: [PATCH] Re: Bug in 1.2.1cvs: graphics get LaTeX size and undo

2002-07-15 Thread Jean-Marc Lasgouttes
> "Herbert" == Herbert Voss <[EMAIL PROTECTED]> writes: Herbert> John Levon wrote: >> On Wed, Jun 26, 2002 at 12:56:33AM +0100, Jan Warnking wrote: >>> Basically, when using the "get Latex size" button in the graphics >>> dialog, a custom Latex Size of 90 % of text height gets converted >>> t

Re: [Devel] "Select Graphics file" dialog with faulty extensions

2002-07-15 Thread Angus Leeming
On Monday 15 July 2002 12:55 pm, Jean-Marc Lasgouttes wrote: > >> How come the 'spellchecker options' button has not been removed > >> yet? I thought this had been discussed already. > John> Has it ? Can you summarise ? > I could not find I reference on that, but I thought we said at some > tim

Re: [Devel] "Select Graphics file" dialog with faulty extensions

2002-07-15 Thread Jean-Marc Lasgouttes
> "John" == John Levon <[EMAIL PROTECTED]> writes: >> How come the 'spellchecker options' button has not been removed >> yet? I thought this had been discussed already. John> Has it ? Can you summarise ? I could not find I reference on that, but I thought we said at some time that it was n

Re: overset broken in 1.2.0

2002-07-15 Thread Dekel Tsur
On Mon, Jul 15, 2002 at 01:36:50PM +0200, Jean-Marc Lasgouttes wrote: > > "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: > > Andre> On Thu, Jul 11, 2002 at 05:53:56PM +0300, Dekel Tsur wrote: > >> [example] > > Andre> Ah... The patch has not yet been applied to 1.2.1cvs! > > Andre> So

Re: Re[3]: lyx configure script

2002-07-15 Thread Jean-Marc Lasgouttes
> "Soeren" == Soeren Pietsch <[EMAIL PROTECTED]> writes: Soeren> This time with the patch ;) Soeren Excellent. I applied it to trunk and 1.2.x branch JMarc

Re: overset broken in 1.2.0

2002-07-15 Thread Jean-Marc Lasgouttes
> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: Andre> On Thu, Jul 11, 2002 at 05:53:56PM +0300, Dekel Tsur wrote: >> [example] Andre> Ah... The patch has not yet been applied to 1.2.1cvs! Andre> So it works for me but not for you. OK, I was waiting for feedback on the patch. If Dek

Re: FINISHED_UP/DOWN/...

2002-07-15 Thread Dekel Tsur
On Mon, Jul 15, 2002 at 01:24:26PM +0200, Juergen Vigna wrote: > Dekel Tsur wrote: > >For RTL I need to have a distinction between FINISHED_LEFT/RIGHT > >and FINISHED_BEFORE/AFTER, so in other words, we will need to have > >6 FINISHED* values. > > Why would you need this? IMO we just need LEFT/RI

Re: FINISHED_UP/DOWN/...

2002-07-15 Thread Juergen Vigna
Dekel Tsur wrote: > For RTL I need to have a distinction between FINISHED_LEFT/RIGHT > and FINISHED_BEFORE/AFTER, so in other words, we will need to have > 6 FINISHED* values. Why would you need this? IMO we just need LEFT/RIGHT (not BEFORE/AFTER) IMO that left/right are in the same direction in

Re: FINISHED_UP/DOWN/...

2002-07-15 Thread Dekel Tsur
On Mon, Jul 15, 2002 at 09:08:13AM +0200, Juergen Vigna wrote: > > I would say because there are actions not given by a cursor movement > which will have to move the cursor to the position. Maybe UP is not > one of them but _before_ and _behind_ are needed so I think we should > have all 4 direct

Re: insetContainsInset function?

2002-07-15 Thread Angus Leeming
On Monday 15 July 2002 11:36 am, Juergen Vigna wrote: > Juergen Vigna wrote: > > if (*iit->isInsetInInset(&inset)) > > return true; > > So this obviously should be: > > const int id = inset.id(); > ... > if ((*iit)->getInsetFromID(id)) > return true; Obviously ;-) > Well I hope this wi

Re: insetContainsInset function?

2002-07-15 Thread Juergen Vigna
Juergen Vigna wrote: > if (*iit->isInsetInInset(&inset)) > return true; So this obviously should be: const int id = inset.id(); ... if ((*iit)->getInsetFromID(id)) return true; ... Well I hope this will work, Jug -- -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-

Re: insetContainsInset function?

2002-07-15 Thread Juergen Vigna
Angus Leeming wrote: > On Monday 15 July 2002 10:39 am, Juergen Vigna wrote: > >>Angus Leeming wrote: >> >>>Is there a function >>> bool insetContainsInset(Inset const & container, Inset const & >>>containee); >>> >>>If so, what's it called ! >> >>No there is no such function the one existant

Re: LFUN_DROP_LAYOUTS_CHOICE

2002-07-15 Thread Jean-Marc Lasgouttes
> "John" == John Levon <[EMAIL PROTECTED]> writes: John> What is the intended use of this ? Can I remove it (one of the John> best ways of supporting something in GUII is to remove it John> entirely :) It allows to select the style in combox by hand. Try M-p space. JMarc

Re: insetContainsInset function?

2002-07-15 Thread Juergen Vigna
Angus Leeming wrote: > > VPList::const_iterator vpit = vps.begin(); > VPList::const_iterator vpend = vps.end(); > > for (; vpit != vpend; ++vpit) { > Paragraph * par = vpit->par; > Paragraph::inset_iterator iit = par->inset_iterator_begin(); >

Re: insetContainsInset function?

2002-07-15 Thread Angus Leeming
On Monday 15 July 2002 10:39 am, Juergen Vigna wrote: > Angus Leeming wrote: > > Is there a function > > bool insetContainsInset(Inset const & container, Inset const & > > containee); > > > > If so, what's it called ! > > No there is no such function the one existant is: > bool isInsetInI

Re: insetContainsInset function?

2002-07-15 Thread Angus Leeming
On Monday 15 July 2002 10:39 am, Juergen Vigna wrote: > Angus Leeming wrote: > > Is there a function > > bool insetContainsInset(Inset const & container, Inset const & > > containee); > > > > If so, what's it called ! > > No there is no such function the one existant is: > bool isInsetInI

Re: insetContainsInset function?

2002-07-15 Thread Juergen Vigna
Angus Leeming wrote: > Is there a function > bool insetContainsInset(Inset const & container, Inset const & containee); > > If so, what's it called ! No there is no such function the one existant is: bool isInsetInInset(Inset *) but you could just change the parameters to your needs o

Re: Graphics Inset: what determines the resolution of LyX-View of the figures?

2002-07-15 Thread Angus Leeming
On Friday 12 July 2002 5:05 pm, Garst R. Reese wrote: > Angus Leeming wrote: > > > I'm using xforms-1.0rc4 with 1.2.x CVS > > > I made the above changes in preferences for Postscript->PPM, and > > > commented out the code in xformsGImage.C. No affect. > > > > Rubbish. Huge effect. You can now load

Re: Graphics & Qt

2002-07-15 Thread Angus Leeming
On Friday 12 July 2002 5:07 pm, John Levon wrote: > Another thing: how hard would it be to try and load an image via the > toolkit converter /before/ doing any conversion stuff, to see if it > succeeds ? Only if it fails would it then need to try converting an > image Why would you want to do tha

Re: Is this the right preview info for LyX?

2002-07-15 Thread Angus Leeming
On Sunday 14 July 2002 1:13 am, David Kastrup wrote: > Could you adjust your local copy of prlyx.def (and, more importantly, > the scripts that evaluate its output) so that it will not finish the lines > with a period? > I'll probably commit to CVS tomorrow, have to do a bit of testing > before.

insetContainsInset function?

2002-07-15 Thread Angus Leeming
Is there a function bool insetContainsInset(Inset const & container, Inset const & containee); If so, what's it called ! I need it for my isInsetVisible function which now works perfectly for all insets appearing in the main text. Thanks to Jürgen of course! Angus

Re: Interesting project

2002-07-15 Thread Jean-Marc Lasgouttes
> "John" == John Levon <[EMAIL PROTECTED]> writes: John> http://www.miwie.org/tex-refs/ John> It would be pretty easy to xslt this into context-sensitive help John> files. This might be particularly useful for mathed. Something John> to keep an eye on anyhoo Using db2lyx, for example... JM