FuncStatus question

2005-04-20 Thread Georg Baum
FuncStatus.h lacks documentation: I don't understand the difference between FuncStatus::setOnOff() and FuncStatus::enabled(). That boils down to the enum values OFF vs DISABLED and ON vs OK. Can somebody please enlighten me? Georg

Re: Inserting a table using the toolbar doesn't ask how big I want it

2005-04-20 Thread Martin Vermeer
On Thu, 2005-04-21 at 01:08, John Levon wrote: > On Wed, Apr 20, 2005 at 10:18:16PM +0200, Helge Hafting wrote: > > > I believe removing those arguments should be default, I don't think > > there is any particular table size much more common than others. > > So there is no good default. Insert->t

Re: UI problem with custom bullet dialog

2005-04-20 Thread Martin Vermeer
On Wed, 2005-04-20 at 23:14, Helge Hafting wrote: > On Wed, Apr 20, 2005 at 03:03:08PM +0300, Martin Vermeer wrote: > > On Wed, 2005-04-20 at 00:59, Helge Hafting wrote: > > > Lyx allow custom bullets for the bulleted list. There is a nice selection > > > from available fonts, and even an option fo

[PATCH] Re: Adjusting table column alignment failed with cursor inside math

2005-04-20 Thread Martin Vermeer
On Wed, 2005-04-20 at 23:12, Martin Vermeer wrote: > On Wed, Apr 20, 2005 at 05:47:57PM +0300, Martin Vermeer wrote: ... > A radical, alternative idea would therefore be to just _merge_ the two > menus, to the extent that they have entries in common; let the menu > structure reflect the internal

Re: Adjusting table column alignment failed with cursor inside math

2005-04-20 Thread Andre Poenitz
On Wed, Apr 20, 2005 at 06:59:34PM +0300, Martin Vermeer wrote: > Yes, that's precisely the problem. With my patch, in a nestinset, all > tabular features should be disabled including the six alignments. The > others are, but the alignments are not. > > Where are they turned on? In my understandin

Re: Portability problem with lib/configure srcipt on Solaris

2005-04-20 Thread Andre Poenitz
On Wed, Apr 20, 2005 at 01:54:09PM +0100, Angus Leeming wrote: > Attached. Looks scary, but the textclass.lst and chklayouts.tex files are > unchanged by this manipulation. +# For lines containing "\Declare(LaTeX|DocBook|LinuxDoc)Class" +/\\Declare[LD][a-zA-Z]\{1,\}Class/{ The comment does not m

Re: [tex-k] About spaces in file names

2005-04-20 Thread Karl Berry
Greetings, We are in the process of porting LyX (www.lyx.org, a frontend to LaTeX) to windows Happy to hear it. Is this a known limitation of this spaces handling? I haven't seen it mentioned before, for whatever that's worth (not much). Are there known workarounds? I can't

Re: Inserting a table using the toolbar doesn't ask how big I want it

2005-04-20 Thread John Levon
On Wed, Apr 20, 2005 at 10:18:16PM +0200, Helge Hafting wrote: > I believe removing those arguments should be default, I don't think > there is any particular table size much more common than others. > So there is no good default. Insert->tabular is great, because > one can get the table correctl

Compile CVS lyx on Cygwin: forkedcontr.C: signal not declared

2005-04-20 Thread Kayvan A. Sylvan
Hi everyone. Here is the error: g++ -DHAVE_CONFIG_H -I. -I../../../lyx/src/support -I../../src -I../../../lyx/src/support/.. -I../../../lyx/boost -I/usr/local/include -W -Wall -I/usr/X11R6/include -O2 -fno-exceptions -mms-bitfields -MT forkedcontr.lo -MD -MP -MF .deps/forkedcontr.Tpo -c ../..

Re: patch tested

2005-04-20 Thread Angus Leeming
Helge Hafting wrote: > Now to something completely different - is there a simple way > to make cvs update all files as they are in the lyx-devel repository, > i.e. obliterate every patch and change I've done locally without > actually downloading the entire source tree from scratch? It'd > be nice

patch tested

2005-04-20 Thread Helge Hafting
On Wed, Apr 20, 2005 at 05:47:57PM +0300, Martin Vermeer wrote: > On Wed, 2005-04-20 at 14:55, Helge Hafting wrote: > > The tabel dialog normally lets you adjust the columns > > to left, right, and centered. The dialog allows these adjustments > > if the cursor is inside some math inside a table c

Re: Inserting a table using the toolbar doesn't ask how big I want it

2005-04-20 Thread Helge Hafting
On Wed, Apr 20, 2005 at 03:10:11PM +0300, Martin Vermeer wrote: > On Wed, 2005-04-20 at 14:45, Helge Hafting wrote: > > Inserting a table through insert->table ask me how big a table I want. > > Inserting a table using the toolbar gives a 4x4 table no matter what. > > Somewhat inconsistent, and the

Re: Adjusting table column alignment failed with cursor inside math

2005-04-20 Thread Martin Vermeer
On Wed, Apr 20, 2005 at 05:47:57PM +0300, Martin Vermeer wrote: > On Wed, 2005-04-20 at 14:55, Helge Hafting wrote: ... > 1) If you have math inside a tabular, both menu items Edit->Table and > Edit->Math are enabled. > > 2) At least part of their entries are cross-useable, like Alignment. Not

Re: UI problem with custom bullet dialog

2005-04-20 Thread Helge Hafting
On Wed, Apr 20, 2005 at 03:03:08PM +0300, Martin Vermeer wrote: > On Wed, 2005-04-20 at 00:59, Helge Hafting wrote: > > Lyx allow custom bullets for the bulleted list. There is a nice selection > > from available fonts, and even an option for entering your own > > latex command for a custom bullet.

Re: Portability problem with lib/configure srcipt on Solaris

2005-04-20 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: > Angus> Attached. Looks scary, but the textclass.lst and chklayouts.tex > Angus> files are unchanged by this manipulation. > > Thanks. After testing with --without-latex-config (which invokes the > first sed machniery), I see in textclass.lst: > > "aapaper" "aa" "arti

Re: Adjusting table column alignment failed with cursor inside math

2005-04-20 Thread Martin Vermeer
On Wed, Apr 20, 2005 at 06:43:33PM +0200, Georg Baum wrote: > Martin Vermeer wrote: > > >> Where are they turned on? In my understanding an empty inlined > >> mathinset is a 'bare' nestinset. What do I fail to see? > >> > >> - Martin > > > > To answer my own question: MathHullInset! > > That ma

Re: Adjusting table column alignment failed with cursor inside math

2005-04-20 Thread Helge Hafting
On Wed, Apr 20, 2005 at 05:47:57PM +0300, Martin Vermeer wrote: > On Wed, 2005-04-20 at 14:55, Helge Hafting wrote: > > The tabel dialog normally lets you adjust the columns > > to left, right, and centered. The dialog allows these adjustments > > if the cursor is inside some math inside a table c

Re: Adjusting table column alignment failed with cursor inside math

2005-04-20 Thread Martin Vermeer
On Wed, Apr 20, 2005 at 06:43:33PM +0200, Georg Baum wrote: > Martin Vermeer wrote: > > >> Where are they turned on? In my understanding an empty inlined > >> mathinset is a 'bare' nestinset. What do I fail to see? > >> > >> - Martin > > > > To answer my own question: MathHullInset! > > That ma

Re: Adjusting table column alignment failed with cursor inside math

2005-04-20 Thread Georg Baum
Martin Vermeer wrote: >> Where are they turned on? In my understanding an empty inlined >> mathinset is a 'bare' nestinset. What do I fail to see? >> >> - Martin > > To answer my own question: MathHullInset! That makes sense: MathHullInset::getStatus() needs to be refined. Can we expect a patch

Re: Adjusting table column alignment failed with cursor inside math

2005-04-20 Thread Martin Vermeer
On Wed, Apr 20, 2005 at 06:59:34PM +0300, Martin Vermeer wrote: > On Wed, Apr 20, 2005 at 05:50:48PM +0200, Georg Baum wrote: > > Martin Vermeer wrote: > > > > > (There should be a way to turn the alignment submenu off in > > > math_nestinset. I haven't found it.) > > > > It will be disabled auto

Re: LyX meeting in Paris. When?

2005-04-20 Thread Jean-Marc Lasgouttes
> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes: Georg> Jean-Marc Lasgouttes wrote: >> Other takers? Angus? Georg> You forgot me. Or is this a subtle hint not to come? :-) Oops, sorry. Here is the new list: Jul 16Jul 23Jul 30 Aug 06 JMarc 5 5 5

Re: Adjusting table column alignment failed with cursor inside math

2005-04-20 Thread Martin Vermeer
On Wed, Apr 20, 2005 at 05:50:48PM +0200, Georg Baum wrote: > Martin Vermeer wrote: > > > (There should be a way to turn the alignment submenu off in > > math_nestinset. I haven't found it.) > > It will be disabled automatically if every item in it is disabled. > > > Georg Yes, that's precisel

Re: [patch] Add missing math environments to the math_insert menu

2005-04-20 Thread Jean-Marc Lasgouttes
> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes: Georg> What can we do instead? IMHO the supported environments should Georg> be accessible from the GUI. The truth is, I don't know. Maybe combox in the toolbar or math panel. JMarc

Re: Adjusting table column alignment failed with cursor inside math

2005-04-20 Thread Georg Baum
Martin Vermeer wrote: > (There should be a way to turn the alignment submenu off in > math_nestinset. I haven't found it.) It will be disabled automatically if every item in it is disabled. Georg

Re: LyX meeting in Paris. When?

2005-04-20 Thread Georg Baum
Jean-Marc Lasgouttes wrote: > Other takers? Angus? You forgot me. Or is this a subtle hint not to come? :-) Georg

Re: [patch] Add missing math environments to the math_insert menu

2005-04-20 Thread Georg Baum
Jean-Marc Lasgouttes wrote: >> "Georg" == Georg Baum >> <[EMAIL PROTECTED]> >> writes: > > Georg> It was pointed out on the users list that the aligned > Georg> environment is not available in the math menu. This patch fixes > Georg> that. OK to apply? > > I guess so, but our menus a

Re: [PATCH 13x, 14x] child processes

2005-04-20 Thread Lars Gullik Bjønnes
Andre Poenitz <[EMAIL PROTECTED]> writes: | On Wed, Apr 20, 2005 at 12:02:58PM +0200, Jean-Marc Lasgouttes wrote: >> > "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: >> >> | OK, it seems that our Code_Rules do not say anything about that... >> >> Lars> I am in favour of the "#if d

Re: LyX meeting in Paris. When?

2005-04-20 Thread Jean-Marc Lasgouttes
> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: >> Everybody weights (even beer non-drinkers). Andre> Are there any other new rules to be expected? Rules are funnier when they are unexpected. JMarc

Re: [PATCH 13x, 14x] child processes

2005-04-20 Thread Andre Poenitz
On Wed, Apr 20, 2005 at 12:02:58PM +0200, Jean-Marc Lasgouttes wrote: > > "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: > > | OK, it seems that our Code_Rules do not say anything about that... > > Lars> I am in favour of the "#if defined(FOO)" style. > > The we should add it to t

Re: LyX meeting in Paris. When?

2005-04-20 Thread Andre Poenitz
On Tue, Apr 19, 2005 at 11:20:50AM +0200, Jean-Marc Lasgouttes wrote: > Stephan> Of course my name shouldn't weight to much on this list. I > Stephan> cannot contribute any hardware but I don't need a bed for the > Stephan> night. And I'm not a "beer drinker" :) > > Everybody weights (even beer no

Re: Adjusting table column alignment failed with cursor inside math

2005-04-20 Thread Martin Vermeer
On Wed, 2005-04-20 at 14:55, Helge Hafting wrote: > The tabel dialog normally lets you adjust the columns > to left, right, and centered. The dialog allows these adjustments > if the cursor is inside some math inside a table cell, but nothing > acutally happens to the document in that case. I.e. c

Re: LyX meeting in Paris. When?

2005-04-20 Thread Jean-Marc Lasgouttes
Another update: I managed to convince Martin to come :) This yields: Jul 16Jul 23Jul 30 Aug 06 JMarc 5 5 5 5 Jose' 5 5 0 0 Lars 5 5 5 5 Michael5 0 0 0 Andre' 5

Re: Portability problem with lib/configure srcipt on Solaris

2005-04-20 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> Attached. Looks scary, but the textclass.lst and chklayouts.tex Angus> files are unchanged by this manipulation. Thanks. After testing with --without-latex-config (which invokes the first sed machniery), I see in textclass.lst: "a

Re: UI problem with custom bullet dialog

2005-04-20 Thread Martin Vermeer
On Wed, 2005-04-20 at 15:47, Lars Gullik BjÃnnes wrote: > Martin Vermeer <[EMAIL PROTECTED]> writes: > > | On Wed, 2005-04-20 at 00:59, Helge Hafting wrote: > >> Lyx allow custom bullets for the bulleted list. There is a nice selection > >> from available fonts, and even an option for entering you

Re: Portability problem with lib/configure srcipt on Solaris

2005-04-20 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: >>> How portable is -n? > > Angus> It's portable. > > Angus> As in, it's not mentioned here: > Angus> http://www.student.northpark.edu/pemente/sed/sedfaq6.html#s6.6 > > Fair enough. Could you make a patch? Attached. Looks scary, but the textclass.lst and chklayouts.

Re: UI problem with custom bullet dialog

2005-04-20 Thread Lars Gullik Bjønnes
Martin Vermeer <[EMAIL PROTECTED]> writes: | On Wed, 2005-04-20 at 00:59, Helge Hafting wrote: >> Lyx allow custom bullets for the bulleted list. There is a nice selection >> from available fonts, and even an option for entering your own >> latex command for a custom bullet. Great for using an im

Re: [PATCH] patch worked as advertised

2005-04-20 Thread Martin Vermeer
On Tue, 2005-04-19 at 12:31, Helge Hafting wrote: > Lars Gullik BjÃnnes wrote: > > >Angus Leeming <[EMAIL PROTECTED]> writes: > > > >| Helge Hafting wrote: > > > > > >>>In file included from QDocumentDialog_moc.C:11: > >>>../QDocumentDialog.h:90: error: parse error before `<<' token > >>>../QDoc

Re: Inserting a table using the toolbar doesn't ask how big I want it

2005-04-20 Thread Martin Vermeer
On Wed, 2005-04-20 at 14:45, Helge Hafting wrote: > Inserting a table through insert->table ask me how big a table I want. > Inserting a table using the toolbar gives a 4x4 table no matter what. > Somewhat inconsistent, and the question is necessary as 4x4 is not a > "standard" size for tables. I

Re: UI problem with custom bullet dialog

2005-04-20 Thread Martin Vermeer
On Wed, 2005-04-20 at 00:59, Helge Hafting wrote: > Lyx allow custom bullets for the bulleted list. There is a nice selection > from available fonts, and even an option for entering your own > latex command for a custom bullet. Great for using an image, > for example. > > All this works, but ther

Re: Portability problem with lib/configure srcipt on Solaris

2005-04-20 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: >> How portable is -n? Angus> It's portable. Angus> As in, it's not mentioned here: Angus> http://www.student.northpark.edu/pemente/sed/sedfaq6.html#s6.6 Fair enough. Could you make a patch? JMarc

Adjusting table column alignment failed with cursor inside math

2005-04-20 Thread Helge Hafting
The tabel dialog normally lets you adjust the columns to left, right, and centered. The dialog allows these adjustments if the cursor is inside some math inside a table cell, but nothing acutally happens to the document in that case. I.e. column remains unchanged. Helge Hafting

Inserting a table using the toolbar doesn't ask how big I want it

2005-04-20 Thread Helge Hafting
Inserting a table through insert->table ask me how big a table I want. Inserting a table using the toolbar gives a 4x4 table no matter what. Somewhat inconsistent, and the question is necessary as 4x4 is not a "standard" size for tables. I guess this isn't too hard to fix, by letting the button do

Re: Portability problem with lib/configure srcipt on Solaris

2005-04-20 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: > Angus> That's equivalent to: > > Angus> sed -n -e 's/a/b/p' -e 's/c/d/p' -e 's/e/f/p' "$file" > > Angus> which prints out only those lines in "$file" that are > Angus> manipulated. > > How portable is -n? It's portable. As in, it's not mentioned here: http://www.

Re: double/triple clicking (bug 1811)

2005-04-20 Thread Jean-Marc Lasgouttes
> "Jean-Marc" == Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: > "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes: Juergen> The attached patch gets the selection back, but it does not Juergen> work for insets. Double clicking inside a footnote lets the Juergen> cursor jump o

Re: Portability problem with lib/configure srcipt on Solaris

2005-04-20 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> My reading of the above is that egrep is used to filter out Angus> only the DeclareFooClass lines which are then manipulated by Angus> sed. Indeed. As you remember, I am not very good with sed. Angus> That's equivalent to: Angus

Re: Portability problem with lib/configure srcipt on Solaris

2005-04-20 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> Jean-Marc Lasgouttes wrote: Stephan> 2. an problem with grep (extended expression syntax) >> The problem is that there is no guarantee that 'egrep' exists, and >> that some systems do not provide 'grep -E' either... >> >> Autoconf

Re: Portability problem with lib/configure srcipt on Solaris

2005-04-20 Thread Angus Leeming
Angus Leeming wrote: > Looking at the tests themselves: > > - grep '\\Declare\(LaTeX\|DocBook\|LinuxDoc\)Class' "$file" \ > + egrep '\\Declare(LaTeX|DocBook|LinuxDoc)Class' "$file" \ > | sed -e 's/^.*\DeclareLaTeXClass *\(.*\)/\1 "false"/' \ > -e 's/^.*\DeclareDocBookClass *\(.*\

Re: Portability problem with lib/configure srcipt on Solaris

2005-04-20 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> (a|b) is indeed an E.R.E., according to man grep. However, the Angus> same man page (Tru64 Unix) says that 'egrep' is obsolescent and Angus> that 'grep -E' should be used instead. I see here Angus> http://www.cs.biu.ac.il/cgi-bin/ma

Re: Portability problem with lib/configure srcipt on Solaris

2005-04-20 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: > Stephan> 2. an problem with grep (extended expression syntax) > > The problem is that there is no guarantee that 'egrep' exists, and > that some systems do not provide 'grep -E' either... > > Autoconf provides a test for that, I'll look whether it is simple > enough

Re: Portability problem with lib/configure srcipt on Solaris

2005-04-20 Thread Angus Leeming
Stephan Witt wrote: > I've found a porting issue on Solaris. > > The shell script lib/configure is GNU-specific. There is > 1. a badly placed ! operator for test of file existance and > 2. an problem with grep (extended expression syntax) > > These problems are fixed for the 1.3.x Branch with th

Re: Portability problem with lib/configure srcipt on Solaris

2005-04-20 Thread Jean-Marc Lasgouttes
> "Stephan" == Stephan Witt <[EMAIL PROTECTED]> writes: Stephan> I've found a porting issue on Solaris. The shell script Stephan> lib/configure is GNU-specific. Thanks for the report, Stephan. Stephan> 1. a badly placed ! operator for test of file existance and This fix is indeed fine. St

Re: double/triple clicking (bug 1811)

2005-04-20 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | Lars, OK? yes -- Lgb

Re: [PATCH 13x, 14x] child processes

2005-04-20 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: | OK, it seems that our Code_Rules do not say anything about that... Lars> I am in favour of the "#if defined(FOO)" style. The we should add it to the code rules and say when they should used. It seems autoconf style prefers #ifdef

Portability problem with lib/configure srcipt on Solaris

2005-04-20 Thread Stephan Witt
I've found a porting issue on Solaris. The shell script lib/configure is GNU-specific. There is 1. a badly placed ! operator for test of file existance and 2. an problem with grep (extended expression syntax) These problems are fixed for the 1.3.x Branch with the attached patch... Hope it's of any

Re: [PATCH 13x, 14x] child processes

2005-04-20 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: >> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: > >>> I cannot do much to make sure that the new win32 code works, so >>> I'll have to trust you on this :) > | Angus> No, all you have to do is convince yourself that it doesn't | Angus>

Re: [PATCH] prebuilt development/win32/package.C for Visual Studio Windows builds

2005-04-20 Thread Angus Leeming
Rob Bearman wrote: > I've modified the prebuilt development/win32/package.C file based on the > recent changes to package.C.in. I'd appeciate it if this could be > committed. Done. > Thanks > Rob -- Angus