Mathed: lefteqn

2001-10-19 Thread Dekel Tsur
On Thu, Oct 18, 2001 at 03:21:21PM +, [EMAIL PROTECTED] wrote: > some visual support for \lefteqn - The contents of lefteqn do not affect the width of the formula inset, so the pink frame is drawn over the text - If you have \lefteqn{} at the first column of the row, then the empty b

GCC version again...

2001-10-19 Thread Jim Osborn
I know this subject was discussed last July, but I don't recall a definitive resolution. I thought I'd ask this illustrious group for their current thoughts. The ibiblio.org site has a gcc-3.0.1 dated Aug 2001. I'm updating from 2.7.2, so I've got lots of choices :) My question is, are there k

insetfloatlist

2001-10-19 Thread John Levon
why is this not a subclass of insetcommand ? it would gui support much easier ... thanks john -- "I'm frightened of figurines." - Pulp

Re: About latest reLyX

2001-10-19 Thread Dekel Tsur
On Thu, Oct 18, 2001 at 11:56:06AM +0100, Jose Abilio Oliveira Matos wrote: > On Wed, Oct 17, 2001 at 01:42:12PM -0400, Amir Karger wrote: > [...] > > I think the simplest way is just to copy and paste it in. > > (I wonder if "main::my_fast_abs_path(...)" would work?) > > I'll try that. Why do

Re: [Patch] More Tweaks

2001-10-19 Thread Juergen Spitzmueller
Angus Leeming wrote: > Try the patch attached. Thanks a lot! Here is the reworked patch. All should work as expected. As a special candy, the paragraph dialog (Vertical Spaces) has unit choices too now. The unit choices in the tabular dialog will follow as soon as I'll find some time. > Have a

Re: Next ERT glitch

2001-10-19 Thread John Levon
On Fri, Oct 19, 2001 at 06:23:18PM +0100, John Levon wrote: > > [bull] > > ignore me, looking at wrong place, sorry actually, the code of the inset_owner is TEXT. And looking at the source, I see lots of places in insettext that setInsetOwner to the text inset. I see nowhere where the direct ow

Re: Next ERT glitch

2001-10-19 Thread John Levon
On Fri, Oct 19, 2001 at 06:20:43PM +0100, John Levon wrote: > [bull] ignore me, looking at wrong place, sorry john -- "I'm frightened of figurines." - Pulp

Re: Next ERT glitch

2001-10-19 Thread John Levon
On Fri, Oct 19, 2001 at 11:28:59AM +0200, Juergen Vigna wrote: > > what functions are we talking about, in which classes ? > > Easy to debug try to do the cut&paste operations in gdb and stop at the > function 'bool Paragraph::checkInsertChar(LyXFont & font)' (paragraph.C) > then look which "efe

Re: compiler error in mathed

2001-10-19 Thread Andre Poenitz
On Fri, Oct 19, 2001 at 12:57:03PM -0300, Garst R. Reese wrote: > Also math_boxinset.C needs using std:endl; for gcc3.0 > and cerr is undefined. Fixed. Should have been removed... Andre' -- André Pönitz .. [EMAIL PROTECTED]

Re: compiler error in mathed

2001-10-19 Thread Andre Poenitz
On Fri, Oct 19, 2001 at 04:57:29PM +0100, Angus Leeming wrote: > looks like André has confused my compiler again... > > cxx: Error: math_inset.h, line 87: #496 template parameter "T" may not be > redeclared in this scope > MathWriteInfo & operator<<(T const & T) > --

compiler error in mathed

2001-10-19 Thread Angus Leeming
looks like André has confused my compiler again... cxx: Error: math_inset.h, line 87: #496 template parameter "T" may not be redeclared in this scope MathWriteInfo & operator<<(T const & T) -^

coding style

2001-10-19 Thread Andre Poenitz
What's the Official Way to code things { if (cond1) return 1; else if (cond2) [1] return 2; //... } - or - { if (cond1) return 1; if (cond2) [2] return 2;

Re: Updated bug lists

2001-10-19 Thread Juergen Vigna
On 19-Oct-2001 John Levon wrote: >> Fixed (after my next commit ;) > > ace ! does this fix just this case, or the opening of insets when traversing them ? Well generall for all insets which should not be spellchecked, for the moment actually we have only ERT insets with this attitude.

Re: [Patch] More Tweaks

2001-10-19 Thread Angus Leeming
On Friday 19 October 2001 12:39, Juergen Spitzmueller wrote: > Hi, > > The attached patch adds a value choice for Default Skip > (Document->Class) and rearranges the class tab a bit. > Unfortunately, there's one unsolved problem with the update of the > input field. Angus, maybe you can help m

whitespace changes only

2001-10-19 Thread Andre Poenitz
See attachment, please apply. Andre' -- André Pönitz .. [EMAIL PROTECTED] Index: commandtags.h === RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/commandtags.h,v retrieving revision 1.

lost 'greek-insert' function

2001-10-19 Thread Andre Poenitz
This one somehow got lost some time ago... Andre' -- André Pönitz .. [EMAIL PROTECTED] Index: BufferView_pimpl.C === RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/BufferView_pimpl.C,v

Re: Alt-A doesn't apply button in Graphics dialog

2001-10-19 Thread John Levon
On Fri, Oct 19, 2001 at 09:24:03AM +0100, Angus Leeming wrote: > Well test it and give it an alternative shortcut if possible! but it takes so long to build ... ok ok john -- How many Bavarian Illuminati does it take to screw in a lightbulb? Three: one to screw it in, and one to confuse the

Re: [PATCH] emergencyCleanup take 2

2001-10-19 Thread John Levon
On Fri, Oct 19, 2001 at 10:17:33AM +0200, Jean-Marc Lasgouttes wrote: > John> I accidentally missed some things from the last one > > It would be nice to keep the name of out and in pipes (like > inpipename, outpipename, or inline [in|out]pipenname() methods) and > use ChangeExtension() instead

Re: Updated bug lists

2001-10-19 Thread John Levon
On Fri, Oct 19, 2001 at 11:49:53AM +0200, Juergen Vigna wrote: > >> - The spell checker opens ERT insets (even though this is not needed) > > > > I doubt this will be fixed any time soon. > > Fixed (after my next commit ;) ace ! does this fix just this case, or the opening of insets when trave

Re: CVS Update: lyx-devel

2001-10-19 Thread Juergen Vigna
On 19-Oct-2001 Juergen Vigna wrote: >> So I probably used getRow in the wrong way, since it gave me big >> trouble with this right address thing. > > What bigger problems than we have already?! I've seen the problem and the solution is to return the width of the longest row of that paragraph!

Re: CVS Update: lyx-devel

2001-10-19 Thread Juergen Vigna
On 19-Oct-2001 Jean-Marc Lasgouttes wrote: > So I probably used getRow in the wrong way, since it gave me big > trouble with this right address thing. What bigger problems than we have already?! Jug -- -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Dr. Jürgen Vign

Re: CVS Update: lyx-devel

2001-10-19 Thread Juergen Vigna
On 19-Oct-2001 Jean-Marc Lasgouttes wrote: > Juergen> Here it definitively displays wrong :(, but it doesn't hang. > > So what is the right way to fix the display here? I am a bit lost. Mee too! > We should maybe return a fixed length in this case?? I'll have a look! Maybe we need also the R

DocBook: No-Break SPace

2001-10-19 Thread ben
Hi, I suggest the following patch to have the entity   when a protected space is used: --- insets/insetspecialchar.C.old Tue Sep 4 13:02:07 2001 +++ insets/insetspecialchar.C.new Fri Oct 19 15:43:59 2001 @@ -271,7 +271,16 @@ int InsetSpecialChar::docbook(Buffer const * buf, ostream & os) cons

Re: config/lyxinclude.m4

2001-10-19 Thread Yves Bastide
On Fri, Oct 19, 2001 at 03:50:33PM +0200, Jean-Marc Lasgouttes wrote: > > "Yves" == Yves Bastide <[EMAIL PROTECTED]> writes: > > Yves> Not at this time, sorry: I've just moved, leaving my computer > Yves> 600 km back.. > > And you arms are to short to get to the keyboard? Of course not. Th

Re: config/lyxinclude.m4

2001-10-19 Thread Yves Bastide
On Fri, Oct 19, 2001 at 02:52:14PM +0200, Jean-Marc Lasgouttes wrote: > > I have fixed the configure stuff to work with autoconf 2.52 and > automake 1.5. Can you confirm that it works? Not at this time, sorry: I've just moved, leaving my computer 600 km back.. > > JMarc -- Yves Bastide IRISA

Re: dependencies

2001-10-19 Thread Andre Poenitz
On Fri, Oct 19, 2001 at 02:43:04PM +0200, Jean-Marc Lasgouttes wrote: > Andre> [make in src/ works to rebuilt the binary if any .C file is > Andre> changend in src/mathed] > > Is your problem fixed now? Don't know... I decided not to look too hard at src/inset... Andre' -- André Pönitz ..

[Patch] More Tweaks

2001-10-19 Thread Juergen Spitzmueller
Hi, The attached patch adds a value choice for Default Skip (Document->Class) and rearranges the class tab a bit. Unfortunately, there's one unsolved problem with the update of the input field. Angus, maybe you can help me here if you find the time: - If I insert a value, say "2" and chose "c

Re: CVS Update: lyx-devel

2001-10-19 Thread Juergen Vigna
On 19-Oct-2001 Jean-Marc Lasgouttes wrote: > It seems anyway that the time to walk the entire paragraph list is > negligible wrt the time to walk the rows (if my code works :). So it > seems that I will not need to do that anyway. More later. Well we don't really "walk" paragraphs we jump from

Re: CVS Update: lyx-devel

2001-10-19 Thread Juergen Vigna
>> Incidentally, and general point: it's Friday. Why all the smileys? I noticed that too! > Because I did not work on Wednesday it is the second working day of the > current week, which makes today a Tuesday... Well I would say that this is a REALLY lame excuse what has Friday to do with worki

Re: CVS Update: lyx-devel

2001-10-19 Thread Angus Leeming
On Friday 19 October 2001 12:07, Andre Poenitz wrote: > > I've never worked out how to forward-declare foo::bar. > > It's not possible. > > The point is, you can hide it if you are willing to pay for an extra > indirection: Gotcha. Many thanks. Shame it's so ugly! > > Incidentally, and genera

Re: CVS Update: lyx-devel

2001-10-19 Thread Juergen Vigna
On 19-Oct-2001 Jean-Marc Lasgouttes wrote: > However, when trying to insert an ERT inset in a right address (try > letter template) I get screenfulls of > topx_set && owner() > topx_set && owner() > topx_set && owner() > topx_set && owner() > topx_set && owner() This are debug messages I

Re: CVS Update: lyx-devel

2001-10-19 Thread Andre Poenitz
On Fri, Oct 19, 2001 at 11:57:34AM +0100, Angus Leeming wrote: > > [And you can use a lot of forward declarations instead of including whole > > headers (especially true for enums)...] > > Tell me how! (PLEASE!) I've always been irritated by this. How do you deal > with: > > struct foo { > en

Re: CVS Update: lyx-devel

2001-10-19 Thread Angus Leeming
> [And you can use a lot of forward declarations instead of including whole > headers (especially true for enums)...] Tell me how! (PLEASE!) I've always been irritated by this. How do you deal with: struct foo { enum bar { ... }; }; class foo2 { func(foo::bar); }; I've never w

Re: CVS Update: lyx-devel

2001-10-19 Thread Andre Poenitz
On Fri, Oct 19, 2001 at 12:02:19PM +0200, Jean-Marc Lasgouttes wrote: > I'm not sure this would be so easy. I will be ad-hoc structure with > the things needed by such and such method. I do not like that either. One could start with exactly that kind of structure. But than, magically, the interfa

Re: BUGREPORT: lyxpipe deletion

2001-10-19 Thread Stephan Witt
Andre Poenitz wrote: > > On Fri, Oct 19, 2001 at 12:11:06PM +0200, Stephan Witt wrote: > > > How do you get "The IP-address" of some machine? > > > This logic is flawed. > > > > You need the IP-address of your own machine to > > My machine can have any number of IP adresses, including 0, 1, and

Re: inputfield: question

2001-10-19 Thread Juergen Spitzmueller
Angus Leeming wrote: > You need to modify FormDocument::CheckDocumentInput I guess. I've found it in the meantime. Thanks, Jürgen > A

Re: inputfield: question

2001-10-19 Thread Angus Leeming
On Friday 19 October 2001 10:02, Juergen Spitzmueller wrote: > Hi, > > I have added a value choice to Document->Class->Default Skip. > I have added all necessary things AFAIK, but one problem remains: what > do I have to change to activate the OK/ Apply buttons if a unsigned > number is inserte

Re: BUGREPORT: lyxpipe deletion

2001-10-19 Thread Andre Poenitz
On Fri, Oct 19, 2001 at 12:11:06PM +0200, Stephan Witt wrote: > > How do you get "The IP-address" of some machine? > > This logic is flawed. > > You need the IP-address of your own machine to My machine can have any number of IP adresses, including 0, 1, and 42. So which is the "right" one? > I

Re: BUGREPORT: lyxpipe deletion

2001-10-19 Thread Stephan Witt
Andre Poenitz wrote: > > On Fri, Oct 19, 2001 at 11:50:33AM +0200, Stephan Witt wrote: > > 1. Create the symlink on startup, use IP-Addr:Processnumber > > How do you get "The IP-address" of some machine? > This logic is flawed. You need the IP-address of your own machine to compare with the IP

Re: BUGREPORT: lyxpipe deletion

2001-10-19 Thread Andre Poenitz
On Fri, Oct 19, 2001 at 11:50:33AM +0200, Stephan Witt wrote: > 1. Create the symlink on startup, use IP-Addr:Processnumber How do you get "The IP-address" of some machine? This logic is flawed. Andre' -- André Pönitz .. [EMAIL PROTECTED]

Re: segfault under RH 6.1

2001-10-19 Thread Juergen Vigna
> On the failing machines I'm getting this picture: > $ ldd /usr/bin/lyx > libforms.so.0.89 => /usr/lib/libforms.so.0.89 (0x4001a000) > libXpm.so.4 => /usr/X11R6/lib/libXpm.so.4 (0x400fa000) > libpthread.so.0 => /lib/libpthread.so.0 (0x40107000) > libSM.so.6 => /us

Re: BUGREPORT: lyxpipe deletion

2001-10-19 Thread Stephan Witt
Juergen Vigna wrote: > > On 18-Oct-2001 Moritz Moeller-Herrmann wrote: > > > On startup lyx could check if another lyx process of the same user was running > > and if not it could just delete the lypipe. > > This would be a good idea, the problem is how to detect in a "portable" > way that the

Re: Updated bug lists

2001-10-19 Thread Juergen Vigna
On 19-Oct-2001 John Levon wrote: >> - The spell checker opens ERT insets (even though this is not needed) > > I doubt this will be fixed any time soon. Fixed (after my next commit ;) >> - When inside a "description"/"itemize" paragraph, the box of a footnote inset >> expands beyond the rig

Re: segfault under RH 6.1

2001-10-19 Thread Christoph Kukulies
On Fri, Oct 19, 2001 at 11:00:26AM +0200, Jean-Marc Lasgouttes wrote: > > "Christoph" == Christoph Kukulies <[EMAIL PROTECTED]> writes: > > Christoph> I compiled Lyx 1.1.6 (w xforms 0.89) under Redhat Linux > Christoph> 6.1. I'm getting segmenation faults preferably when running > Christoph>

Re: CVS Update: lyx-devel

2001-10-19 Thread Andre Poenitz
On Fri, Oct 19, 2001 at 11:17:40AM +0200, Jean-Marc Lasgouttes wrote: > Here is what I propose: > > 1/ store the owning paragraph in any inset (a par_owner_ member in > Inset class). This is very easy and safe to do in > Paragraph::Pimpl::insertInset, as far as I can see. Then one would > just ha

Re: CVS Update: lyx-devel

2001-10-19 Thread Juergen Vigna
On 19-Oct-2001 Jean-Marc Lasgouttes wrote: > I was thinking about a different solution, but it seems you have been > faster than me :) What I do not like about your solution is that it I had a few moments yesterday to spare as I finished one of the projects and start with the next only next wee

Re: Next ERT glitch

2001-10-19 Thread Juergen Vigna
On 19-Oct-2001 John Levon wrote: >> I already told this to people on the list various time. This is a problem >> I cannot understand and is of class inheritance. In some cases instead >> of calling the right functions inside the class it calls some other functions >> just try to debug it and you

Re: BUGREPORT: lyxpipe deletion

2001-10-19 Thread Juergen Vigna
On 18-Oct-2001 Moritz Moeller-Herrmann wrote: > On startup lyx could check if another lyx process of the same user was running > and if not it could just delete the lypipe. This would be a good idea, the problem is how to detect in a "portable" way that the user is running another lyx process.

Re: BUGREPORT: lyxpipe deletion

2001-10-19 Thread Juergen Vigna
On 18-Oct-2001 John Levon wrote: > On Thu, Oct 18, 2001 at 04:45:17PM +0200, Andre Poenitz wrote: > >> The problem seems to be that calling ::abort in support/abort.C prevents >> the LyX server's (and a few more) destructors from running. >> >> I'd just throw some uncaught exception, but than L

Re: Bad bug: spell checker and quotes

2001-10-19 Thread Juergen Vigna
On 19-Oct-2001 John Levon wrote: > On Tue, Oct 09, 2001 at 10:00:47AM -0400, Mark van Rossum wrote: > >> The 'OSA is nice'. > > the spellchecker for me "works", but flags "The" and "nice" as > not in the dictionary (and they don't seem to be). Do you have "english" as document language?

inputfield: question

2001-10-19 Thread Juergen Spitzmueller
Hi, I have added a value choice to Document->Class->Default Skip. I have added all necessary things AFAIK, but one problem remains: what do I have to change to activate the OK/ Apply buttons if a unsigned number is inserted (I have already implemented the fl_unsigned_float_filter, but the dial

Re: Updated bug lists

2001-10-19 Thread Angus Leeming
> > - Graphics dialog: > >- It is not a good idea to clear the width and height fields if "scale" > > is chosen (and vice versa); IMHO new buttons for the three sections > > default/height+width/scale should be added and the "Width"/"Height"/ > > "Scale" labels should become

Re: [PATCH] emergencyCleanup take 2

2001-10-19 Thread Angus Leeming
On Friday 19 October 2001 09:17, Jean-Marc Lasgouttes wrote: > It would probably also be nice to be able to register an > emergencycleanup function in Assert code, so that Assert.C does not > have to depend on main code (things in support/ are not supposed to). Especially since Lars' original p

Re: Alt-A doesn't apply button in Graphics dialog

2001-10-19 Thread Angus Leeming
On Friday 19 October 2001 02:51, John Levon wrote: > On Thu, Oct 04, 2001 at 03:51:30PM -0400, Richard E. Hawkins wrote: > > > Once it has been used, the button can no longer be activated with Alt-A > > completely untested diff attached Well test it and give it an alternative shortcut if possib