new "New" functionality

2000-08-04 Thread Lars Gullik Bjønnes
Jürgen, I admit that I didn't think this change mattered eiter way, but now after using it a bit I think it stink! For me it is now a lot more work than it used to be to open a new document: File->New File->Save As change dir write name whereas I used: File->New change dir

menus.bind ditch it!

2000-08-04 Thread Lars Gullik Bjønnes
I strongly belive that we should get rid of menus.bind, they contain duplicate "shortcuts" for the menubar that does not work anyway. There is one section from menus.bind that we want: the bindings for the layout dropdown, this should be moved to a layout.bind. Opinions? Lgb

TexRow::getIdFromRow & InsetError

2000-08-04 Thread Lars Gullik Bjønnes
I really wonder why I spend so much time on this method since it only is used _twice_. I discovered that a bit late... It is used in BufferView::insertErrors and in BufferView::setCursorFromRow. In insertErrors it is correct to increase the pos, but for setCursorFromRow it is not. I have added

Re: XForms cleanup

2000-08-04 Thread Lars Gullik Bjønnes
Baruch Even <[EMAIL PROTECTED]> writes: | On Fri, 4 Aug 2000, Allan Rae wrote: | | > Firstly, Baruch, I like your RadioButtonGroup. Very neat and clever. | | Thanks. | | I considered another implementation for this as a template in order to | avoid the conversion int<-->enum that caused warni

Re: Current CVS

2000-08-04 Thread Lars Gullik Bjønnes
Baruch Even <[EMAIL PROTECTED]> writes: | This two parse problems are the culprit in my opinion the rest just stem | from them. Agree. | The code in question for this two is similar I'll show one part of it: | | Map::const_iterator it = |std::find_if(map.begin(), map.end(), |

Re: Current CVS

2000-08-04 Thread Baruch Even
This is regarding the template problem that Amir had with my template code in src/support/translator.h On Thu, 3 Aug 2000, Amir Karger wrote: > gcc version 2.95 19990728 (release) > CVS updated just now > > > Making all in insets > make[3]: Entering directory `/home/karger/lyx/CVS/lyx-devel/sr

Re: XForms cleanup

2000-08-04 Thread Baruch Even
On Fri, 4 Aug 2000, Allan Rae wrote: > Firstly, Baruch, I like your RadioButtonGroup. Very neat and clever. Thanks. I considered another implementation for this as a template in order to avoid the conversion int<-->enum that caused warnings and found to require a static_cast to overcome a prob

Re: InsetGraphics disabling patch

2000-08-04 Thread Baruch Even
On 4 Aug 2000, Lars Gullik Bjønnes wrote: > Baruch Even <[EMAIL PROTECTED]> writes: > > | Hello, > | > | Attached is a patch to add some configure magic that will by default > | disable InsetGraphics and can be easily enabled with a > | --enable-inset-graphics flag. > > I will not apply this.

Re: InsetGraphics disabling patch

2000-08-04 Thread Baruch Even
On 4 Aug 2000, Lars Gullik Bjønnes wrote: > Baruch Even <[EMAIL PROTECTED]> writes: > > | Hello, > | > | Attached is a patch to add some configure magic that will by default > | disable InsetGraphics and can be easily enabled with a > | --enable-inset-graphics flag. > > I will not apply this.

Re: Still unable to compile

2000-08-04 Thread Baruch Even
On 4 Aug 2000, Lars Gullik Bjønnes wrote: > Baruch Even <[EMAIL PROTECTED]> writes: > > | Anyhow I'll work now to provide an insetgraphics disabler configure magic > | I had one formerly but dumped it, as I don't provide the merchandise fast > | enough I think it will be a good idea to make it a

Re: InsetGraphics disabling patch

2000-08-04 Thread Lars Gullik Bjønnes
Baruch Even <[EMAIL PROTECTED]> writes: | Hello, | | Attached is a patch to add some configure magic that will by default | disable InsetGraphics and can be easily enabled with a | --enable-inset-graphics flag. I will not apply this. This is code that is supposed to compile and will also be th

Re: Still unable to compile

2000-08-04 Thread Lars Gullik Bjønnes
Baruch Even <[EMAIL PROTECTED]> writes: | I admit, translator.h is my wrongdoings. | I'll be glad if you can send me a complete log of the error message that | you get so I can try and trace it. I changed some stuff in translator.h now, that might help. | Anyhow I'll work now to provide an ins

Re: cannot compile on dec with gcc 2.95

2000-08-04 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | When compiling with gcc 2.95.2, I get | | g++ -DHAVE_CONFIG_H -I. -I../../../lyx-devel/src/mathed -I../../src | -I../../../lyx-devel/images -I../../../lyx-devel/src/mathed/../ | -I../.. -I../../../lyx-devel -I/afs/rocq/home/meval/common/include

Re: FormToc patch

2000-08-04 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | Jürgen> Attention that we now have text-insets, I don't think you'll find the | Jürgen> paragraph by its id (or this is not yet implemented). | | Is the idea to eventually have a document that is simply a linked list of | insets? And, furthermore, some

Re: code clean up

2000-08-04 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | In buffer.C, line 853, there is a | | #if 1 | readInset(lex, par, pos, font); | #else | // Should be moved out into its own function/method. (Lgb) | | #endif | | the contents of the #else being no longer

Re: cvs compile fails

2000-08-04 Thread Lars Gullik Bjønnes
Juergen Vigna <[EMAIL PROTECTED]> writes: | > | > Relevant code: | > RowList::const_iterator cit = rowlist.begin(); | > RowList::const_iterator end = rowlist.end(); | | change the above code so that you have | | > RowList::iterator end = rowlist.end(); | | And it will compil

Re: cvs update

2000-08-04 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | Not true. These directories do NOT exist on my machine. Who was talking about _your_ directories? Those directories exist in the cvs repository. | I already use "cvs update -dP". | However, when updating, I get the messages | cvs server: Updating conf

InsetGraphics disabling patch

2000-08-04 Thread Baruch Even
Hello, Attached is a patch to add some configure magic that will by default disable InsetGraphics and can be easily enabled with a --enable-inset-graphics flag. I hope this will help cover up my faults until I can fix them correctly. I will still would like it if peoples test my additions for c

Re: Still unable to compile

2000-08-04 Thread Baruch Even
On Fri, 4 Aug 2000, Amir Karger wrote: > On Fri, Aug 04, 2000 at 05:37:41PM +0100, Angus Leeming wrote: > > Amir> I was hoping that Angus' patch would magically fix my problem, but it > > Amir> hasn't. Angus, do you have any ideas about what's causing my compile > > Amir> problem? > > > > Sorry

Re: Still unable to compile

2000-08-04 Thread Amir Karger
On Fri, Aug 04, 2000 at 05:37:41PM +0100, Angus Leeming wrote: > Amir> I was hoping that Angus' patch would magically fix my problem, but it > Amir> hasn't. Angus, do you have any ideas about what's causing my compile > Amir> problem? > > Sorry Amir, can't really help. I know nothing about this c

lyx2html

2000-08-04 Thread Steffen Evers
I needed to generate a HTML version of my diploma thesis which I have originally written with LyX. As the output of latex2html didn't fulfill my requirements, I have spent some time on sed and shell scripting to improve the results. Maybe some of you would like to have a look at it and adjust it

Re: Still unable to compile

2000-08-04 Thread Angus Leeming
Amir> I was hoping that Angus' patch would magically fix my problem, but it Amir> hasn't. Angus, do you have any ideas about what's causing my compile Amir> problem? Amir> In file included from insetgraphicsParams.C:19: Amir> ../../src/support/translator.h: In method `const T2 & Amir> TTranslator

Still unable to compile

2000-08-04 Thread Amir Karger
I was hoping that Angus' patch would magically fix my problem, but it hasn't. Angus, do you have any ideas about what's causing my compile problem? In file included from insetgraphicsParams.C:19: ../../src/support/translator.h: In method `const T2 & Translator::find(const T1 &) const': ../../src/

Re: FormToc patch

2000-08-04 Thread Angus Leeming
Jürgen> Attention that we now have text-insets, I don't think you'll find the Jürgen> paragraph by its id (or this is not yet implemented). Is the idea to eventually have a document that is simply a linked list of insets? And, furthermore, some insets (eg text-insets) cab contain other insets? D

Re: FormToc patch

2000-08-04 Thread Angus Leeming
JMarc> Personally, I'll have to wait until next month, since I will in JMarc> vacation from tonight until Sep 4. Bonne vacances. Moi aussi; je départ à Canada le 10 aôut, retournant le 1 septembre. Je ne parle pas le français comme une vache espanol, huh! Angus

cannot compile on dec with gcc 2.95

2000-08-04 Thread Jean-Marc Lasgouttes
When compiling with gcc 2.95.2, I get g++ -DHAVE_CONFIG_H -I. -I../../../lyx-devel/src/mathed -I../../src -I../../../lyx-devel/images -I../../../lyx-devel/src/mathed/../ -I../.. -I../../../lyx-devel -I/afs/rocq/home/meval/common/include -I/usr/local/include -g -O -fno-rtti -fno-exceptions -fs

Re: FormToc patch

2000-08-04 Thread Jean-Marc Lasgouttes
> "Juergen" == Juergen Vigna <[EMAIL PROTECTED]> writes: Juergen> I wanted to commit all the changes I did till now, but I Juergen> still have some small problems I want to resolve before (now Juergen> a tabular-inset is scrolled automatically ;) commiting so you Juergen> have to wait till ne

Re: FormToc patch

2000-08-04 Thread Juergen Vigna
> > I would think that reading/writing to/from a stringstream will do that > for you (for example a function in lstrings.C to do the convertions). > Lars, do you have ideas on the subject? If you feel using pointer is > silly, you could use the id() of the paragraph (so that LyX cannot be > crash

Re: FormToc patch

2000-08-04 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> Well then, we have three choices. Angus> 1. We keep the code as it was, with the "move around the Angus> ducument" functionality in the dialog. As I understand it, this Angus> is contrary to the "keep functionality out of the dial

Re: FormToc patch

2000-08-04 Thread Angus Leeming
JMarc> Angus> Attached is a small patch that moves the "moving around the JMarc> Angus> document" functionality out of the xforms-specific dialog and JMarc> Angus> into a new BufferView::Dispatch() method where it belongs. This JMarc> Angus> method will eventually also govern other "moving around

Re: FormToc patch

2000-08-04 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> Attached is a small patch that moves the "moving around the Angus> document" functionality out of the xforms-specific dialog and Angus> into a new BufferView::Dispatch() method where it belongs. This Angus> method will eventually a

Re: InsetRef suggestion: comments please

2000-08-04 Thread Angus Leeming
Angus> I'd like to change this behaviour so that clicking on the inset Angus> launches a new reference dialog. JMarc> Then maybe the goto feature shold assigned to another event, like JMarc> Shift-Click1. Good. I'll have a go. A.

FormToc patch

2000-08-04 Thread Angus Leeming
Attached is a small patch that moves the "moving around the document" functionality out of the xforms-specific dialog and into a new BufferView::Dispatch() method where it belongs. This method will eventually also govern other "moving around the document" behaviour, (eg for InsetRef and the refere

Re: InsetRef suggestion: comments please

2000-08-04 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> I'd like to change this behaviour so that clicking on the inset Angus> launches a new reference dialog. Then maybe the goto feature shold assigned to another event, like Shift-Click1. JMarc

Re: XForms cleanup

2000-08-04 Thread Angus Leeming
Angus> The user hits Cancel and we revert to the original Angus> contents and to buttons 1 JMarc> I'm not sure I like that. For most applications, Cancel closes the JMarc> form. Hmmm! Good point! Idea scratched.

Re: XForms cleanup

2000-08-04 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> The user hits Cancel and we revert to the original Angus> contents and to buttons 1 I'm not sure I like that. For most applications, Cancel closes the form. JMarc

Re: XForms cleanup

2000-08-04 Thread Angus Leeming
Allan> We should probably change the Cancel label to Close once someone has Allan> pressed Apply since this more accurately reflects reality. I did this in Allan> the old tree and advocate it in the GUII doc. It's pretty easy to Allan> implement. Allan, I like this idea, but think we can do bett

Re: Bug Problem

2000-08-04 Thread Jean-Marc Lasgouttes
> "Arshad" == Arshad I A <[EMAIL PROTECTED]> writes: Arshad> Content-Type: text/plain; charset=us-ascii Arshad> Content-Transfer-Encoding: 7bit Arshad> I am using 1.0.1 version of lyx and facing a bug problem in a Arshad> lyx file. I tried to resolve it by taking the help from help Arshad> m

InsetRef suggestion: comments please

2000-08-04 Thread Angus Leeming
Afternoon, all I have got as far as InsertRef in my game of "let's play with the insets". Once the inset is created, (somewhere else. Doesn't matter), and we have an inset sitting in the text, we can do two things with it: 1. Clicking on it takes us to the label to which it refers. 2. Typing "M

Re: lyx 1.1.5fix1 under Solaris

2000-08-04 Thread Jean-Marc Lasgouttes
> "Uwe" == Uwe Wolfram <[EMAIL PROTECTED]> writes: Uwe> First of all I'm not a C++ expert nor do I know much about OOP! Uwe> We have lyx 1.0.4 running on a Sparc Solaris 2.6 machine using Uwe> Sun's C++ 5.0 compiler with the latest patches installed. This is known to have problems, and we ar

Re: patch

2000-08-04 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> Attached is quite a large patch of small bits and pieces. A Angus> clean-up really. I'll apply it. JMarc

Re: one line patch to INSTALL

2000-08-04 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> Noting that Lior couldn't upload his file to a non-existent ftp Angus> directory Yes, I planned to do that. Done now. JMarc

Re: Where can I find binary version of LyX for Solaris

2000-08-04 Thread Jean-Marc Lasgouttes
> "Lior" == Lior Silberman <[EMAIL PROTECTED]> writes: Lior> Great idea! (do the core developers approve?) Lior> I won't have time to do this this week, but maybe the next one. Of course, go ahead. However, if this is becoming a sort of official binary distribution for sun, make sure that i

one line patch to INSTALL

2000-08-04 Thread Angus Leeming
Noting that Lior couldn't upload his file to a non-existent ftp directory Index: INSTALL === RCS file: /usr/local/lyx/cvsroot/lyx-devel/INSTALL,v retrieving revision 1.16 diff -u -r1.16 INSTALL --- INSTALL 2000/07/19 10:22:10

patch

2000-08-04 Thread Angus Leeming
Attached is quite a large patch of small bits and pieces. A clean-up really. The real change is that InsetIndex now behaves exactly as it used to. Can now index-insert at the start of a paragraph and index-insert-last without launching the pop-up. Clean ups: All insets derived from InsetCommand

RE: cvs compile fails

2000-08-04 Thread Juergen Vigna
> > Relevant code: > RowList::const_iterator cit = rowlist.begin(); > RowList::const_iterator end = rowlist.end(); change the above code so that you have > RowList::iterator end = rowlist.end(); And it will compile! Jürgen -- -._-._-._-._-._-._-._-._-._-._-._-._-._-._

Re: Where can I find binary version of LyX for Solaris

2000-08-04 Thread Lior Silberman
On Thu, 3 Aug 2000, Emmanuel GUREGHIAN wrote: > A real good thing would be to make a > package for it. > > See http://www.sunfreeware.com/ for it and why not upload it to > http://www.sunfreeware.com/ too ? > > I can't help here our last sun is quite old > and it runs solaris 2.4. > > > > I h

Re: Where can I find binary version of LyX for Solaris

2000-08-04 Thread Lior Silberman
On 3 Aug 2000, Lars Gullik Bj&resh;nnes wrote: > Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: > > | > "Lior" == Lior Silberman <[EMAIL PROTECTED]> writes: > | > | Lior> I have just smoothly compiled a Solaris 2.7 binary distribution, > | Lior> but I can't upload it :-( > | > | Lars, what

code clean up

2000-08-04 Thread Angus Leeming
In buffer.C, line 853, there is a #if 1 readInset(lex, par, pos, font); #else // Should be moved out into its own function/method. (Lgb) #endif the contents of the #else being no longer used and enormous. Shall I remove it? Angus

cvs compile fails

2000-08-04 Thread Angus Leeming
Can't compile cvs at the moment, failing in texrow.C Angus cxx -std strict_ansi -nocleanup -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -I../src/cheaders -I/usr/local/include -ptr ../lyx_cxx_repository -O2 -MD -c texrow.C cxx: Error: texrow.C, line 67: no operator "!=" matches these operands

Re: XForms cleanup

2000-08-04 Thread Angus Leeming
Allan> ### Allan> The rest is mainly for Angus. I took a quick look at FormCitation.C and Allan> noticed something which will be a problem when we move to having multiple Allan> LyXViews (ie. multiple main windows): Allan> static vector citekeys; Allan> ... Allan> Allan> These 3 variables at fi

Re: cvs update

2000-08-04 Thread Angus Leeming
On Thu, 03 Aug 2000, Lars wrote: Lars> Angus Leeming <[EMAIL PROTECTED]> writes: Lars> Lars> | I notice that the cvs server attempts to update directories that no longer Lars> | exist. Specifically: Lars> | Lars> | config/gnome Lars> | src/frontends/gtk Lars> | src/frontends/include Lars> Lars>

Re: Export ps silently failing

2000-08-04 Thread Allan Rae
On Fri, 4 Aug 2000, R. Lahaye wrote: > "Garst R. Reese" wrote: > > > > Allan Rae wrote: > > > > > I thought I just got export-ps to call the new Print dialog. > > > Then again this would probably be even less useful when using André's > > > --export facility. > > > > > > Garst you could always