Re: Paragraph questions

2000-10-16 Thread John Levon
On Tue, 17 Oct 2000, Allan Rae wrote: > I'm glad you didn't say a dumb series of short questions because that'd be > an even worse description. > :) > It's used for specifying how wide the labels will be and is used by LaTeX > to get all the lists aligned even though the items have different

Re: BibTeX Database: SIGSEGV signal caught - Abort (core dumped)

2000-10-16 Thread Allan Rae
On Mon, 16 Oct 2000, Angus Leeming wrote: > > I use the "BitTeX Generated Reference". LyX crashes when > > I open the BibTeX dialog and click on ( does > > not cause a crash): > > Looks like this one is my fault, since I hacked the code in insetbib.C so > that it didn't use current_view. > >

Re: Comments on lib/doc/BUGS.lyx

2000-10-16 Thread Allan Rae
On Mon, 16 Oct 2000, Dekel Tsur wrote: > On Mon, Oct 16, 2000 at 03:07:32PM +0200, Jean-Marc Lasgouttes wrote: > > > > Baruch> I don't really understand point 6, is it still relevant? > > > > Not sure how to trigger it, but I do not think it has been fixed. It > > had something to do with bad r

Re: Paragraph questions

2000-10-16 Thread Allan Rae
On Mon, 16 Oct 2000, John Levon wrote: > > The first in a short series of dumb questions. Hints please ! I'm glad you didn't say a dumb series of short questions because that'd be an even worse description. 1) and 2): No idea. > 3) What does labelwidth do in the List environment ? How shoul

A minor fix

2000-10-16 Thread Kayvan A. Sylvan
Here is a minor fix for the "make dist" and "make rpmdist" process: RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/frontends/support/Makefile.am,v retrieving revision 1.4 diff -u -u -r1.4 Makefile.am --- src/frontends/support/Makefile.am 2000/10/16 13:27:56 1.4 +++ src/frontends/support/Mak

Re: [PATCH] Key changes with RO docs

2000-10-16 Thread Allan Rae
On Mon, 16 Oct 2000, John Levon wrote: > On Mon, 16 Oct 2000, Amir Karger wrote: [...] > > I don't think LyX is supposed to be a browser. If it is, we're going to need > > an awful lot of new config options. I would think if you had RO docs you > > read all the time > > *cough* *User's Guide* *c

Re: [PATCH] Fix Gnome/KDE build, ro correctness

2000-10-16 Thread Allan Rae
On Mon, 16 Oct 2000, John Levon wrote: > On Mon, 16 Oct 2000, Allan Rae wrote: > > > So the question is: > > > > Do you _really_ need to disable the various fields when the dialog is > > readonly or will disable OK and Apply suffice? > > > > Remember that when switching to a readonly buffer, t

question about a change to InsetBibtex::getKeys

2000-10-16 Thread Angus Leeming
I recently changed InsetBibtex::getKeys() so that it was passed a Buffer *. It needed this so that it could set Path p(buffer->filepath); without having to use current_view->buffer. Looking at the code again, I see that "p" is not used to find the file path anymore. I'm sure that this i

Re: PATCH small insets cleanup

2000-10-16 Thread Angus Leeming
On Mon, 16 Oct 2000, Angus Leeming wrote: > > For cursor positions and such, you should definitely use > > LyXParagraph::size_type. If you happen to need a signed version of > > this, then you should define LyXParagraph::difference_type. > > Jean-Marc, I've checked the code. It turns out (by chanc

Re: [PATCH] Key changes with RO docs

2000-10-16 Thread John Levon
On Mon, 16 Oct 2000, Amir Karger wrote: > Possible, but remember that every config option that's added makes it that > much harder to find the config options you actually care about. By > configuring your personal keyboard shortcuts file, you can change it without > adding a new option to the pre

Re: LyXText::BreakAgainOneRow

2000-10-16 Thread Dekel Tsur
On Mon, Oct 16, 2000 at 02:56:39PM +0200, Jean-Marc Lasgouttes wrote: > > "Dekel" == Dekel Tsur <[EMAIL PROTECTED]> writes: > > Dekel> Here is a patch that fixes this problem (plus other few fixes). > Dekel> It should also applied to 1.1.5fix. > > I applied it to both repositories. I had to

Re: [PATCH] Key changes with RO docs

2000-10-16 Thread Amir Karger
On Mon, Oct 16, 2000 at 06:27:08PM +0100, John Levon wrote: > On Mon, 16 Oct 2000, Amir Karger wrote: > > > IMO, this is a major change in interface, and I don't know if it's worth it. > > maybe it should be a config option. Possible, but remember that every config option that's added makes it

Re: [PATCH] Key changes with RO docs

2000-10-16 Thread John Levon
On Mon, 16 Oct 2000, Amir Karger wrote: > IMO, this is a major change in interface, and I don't know if it's worth it. maybe it should be a config option. > On my computer, page up and -> are about the same distance. hmm, it is backspace not -> that does page-up. and anyway the really advantag

Re: [PATCH] Key changes with RO docs

2000-10-16 Thread Amir Karger
On Mon, Oct 16, 2000 at 04:42:39PM +0100, John Levon wrote: > > The attached patch makes > > Up/Down/Space/BackSpace navigate around read-only documents > in the same way as netscape. > > Personally I think this is way more convenient than navigating with the > cursor, or stretching all the way

Re: PATCH small insets cleanup

2000-10-16 Thread Angus Leeming
> For cursor positions and such, you should definitely use > LyXParagraph::size_type. If you happen to need a signed version of > this, then you should define LyXParagraph::difference_type. Jean-Marc, I've checked the code. It turns out (by chance!) that the only stuff I changed to LyXParagraph:

Re: make install problem in lib/

2000-10-16 Thread Amir Karger
On Mon, Oct 16, 2000 at 02:43:25PM +1000, Allan Rae wrote: > [problem snipped] > > The net result being that when you start lyx you get a warning about not > being able to find textclasslist and then when you open a document you get > a segfault because there are no loaded textclasses. It seems

[PATCH] KDE Paragraph, re-organisation

2000-10-16 Thread John Levon
The attached patch adds a 90% KDE FormParagraph, and re-organises all the file/class names to be less wordy (after thinking that formgeneralparadialog.dlg was a bit silly ;). I had to fix up the new files by hand (why doesn't cvs diff generate diff's with paths i.e. src/frontends/kde/paradlg.C i

Re: [PATCH] Fix Gnome/KDE build, ro correctness

2000-10-16 Thread John Levon
On Mon, 16 Oct 2000, Allan Rae wrote: > So the question is: > > Do you _really_ need to disable the various fields when the dialog is > readonly or will disable OK and Apply suffice? > > Remember that when switching to a readonly buffer, toggling readonly on or > opening a readonly file the use

Re: Compiling LyX using AthlonGCC

2000-10-16 Thread John Levon
On 15 Oct 2000, Lars Gullik Bjønnes wrote: > John Levon <[EMAIL PROTECTED]> writes: > > | Lars does this guideline also apply to trivial functions like : > | > | do_something() { > | do_it_now(); > | done = 1; > | } > > In principle yes, but often those kind of

Paragraph questions

2000-10-16 Thread John Levon
The first in a short series of dumb questions. Hints please ! 1) I separate out parts of LyXGlueLength for the paragraph space above/below. My question is, is this always guaranteed to contain a LyXGlueLength instead of just LyXLength ? How should I access the information I need (namely

Re: Comments on lib/doc/BUGS.lyx

2000-10-16 Thread Angus Leeming
> No, the problem is with the remarks inside [] in \cite. It should be > possible to enter general text here with a text inset. However, I am > not sure it is really doable. Maybe a checkbox 'add remark' in the > popup, and then the text inset would appear inside the boxed citation > inset (is tha

Re: Comments on lib/doc/BUGS.lyx

2000-10-16 Thread Dekel Tsur
On Mon, Oct 16, 2000 at 03:07:32PM +0200, Jean-Marc Lasgouttes wrote: > > Baruch> I don't really understand point 6, is it still relevant? > > Not sure how to trigger it, but I do not think it has been fixed. It > had something to do with bad repainting of a partly obscured window, I > think. I

Re: PATCH small insets cleanup

2000-10-16 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: >> So, I'd rather be sure you doublechecked it before applying the >> patch (in fact this was the reason why I did not make the changes >> myself :). Angus> No! Will do. I'll apply the patch later, then. Angus> Incidentally, should I u

Re: PATCH small insets cleanup

2000-10-16 Thread Angus Leeming
> Angus, did you check in all places that the values for positions, etc > are always positive? Currently LyXParagraph::size_type is signed, but > this will probably change later. This has the potential for creating > problems: in particular when comparing signed and unsigned values. > > So, I'd ra

Re: BibTeX Database: SIGSEGV signal caught - Abort (core dumped)

2000-10-16 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> Looks like this one is my fault, since I hacked the code in Angus> insetbib.C so that it didn't use current_view. Angus> Actually, I claim that the fault is in the foul code in this Angus> file! This was a bug waiting to happen. P

Re: PATCH small insets cleanup

2000-10-16 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> The attached patch removes those "conversion to integral type Angus> of smaller size" warnings from a couple of files in src/insets. Angus> This directory now compiles cleanly. Angus> On Sat, 14 Oct 2000, Lars Gullik Bjønnes wrote

PATCH small insets cleanup

2000-10-16 Thread Angus Leeming
The attached patch removes those "conversion to integral type of smaller size" warnings from a couple of files in src/insets. This directory now compiles cleanly. On Sat, 14 Oct 2000, Lars Gullik Bjønnes wrote: > One small comment: when you know the type to be "large enough" we can > use this s

[PATCH] Key changes with RO docs

2000-10-16 Thread John Levon
The attached patch makes Up/Down/Space/BackSpace navigate around read-only documents in the same way as netscape. Personally I think this is way more convenient than navigating with the cursor, or stretching all the way to those oh-so-distant PageUp/Down keys ;) john -- "Whereof one cannot

Re: BibTeX Database: SIGSEGV signal caught - Abort (core dumped)

2000-10-16 Thread Angus Leeming
> I use the "BitTeX Generated Reference". LyX crashes when > I open the BibTeX dialog and click on ( does > not cause a crash): Looks like this one is my fault, since I hacked the code in insetbib.C so that it didn't use current_view. Actually, I claim that the fault is in the foul code in th

small bugette in 1.1.6cvs

2000-10-16 Thread John Levon
When I try to type two spaces the info message appears in the minibuffer then disappears immediately ... john -- "Whereof one cannot speak, thereof one must be silent." - Wittgenstein

Re: [PATCH] Fix Gnome/KDE build, ro correctness

2000-10-16 Thread John Levon
On Sat, 14 Oct 2000, Allan Rae wrote: > If use is made of the button controller and an appropriate ReadOnly policy > then all the dangerous bits can be disabled. The Goto/GoBack button can > still work and the user gets to see a full list of references within a > document. So you'd get (or shou

Re: Comments on lib/doc/BUGS.lyx

2000-10-16 Thread Jean-Marc Lasgouttes
> "Baruch" == Baruch Even <[EMAIL PROTECTED]> writes: Baruch> Yes. This is much better. OK, I'll check that in. Baruch> I understand it now. If you meant that you updated the file in Baruch> cvs I'll update soon and check. No, I did not. But feel free to propose an alternate wording. JMar

Re: Comments on lib/doc/BUGS.lyx

2000-10-16 Thread Baruch Even
On 16 Oct 2000, Jean-Marc Lasgouttes wrote: > > "Baruch" == Baruch Even <[EMAIL PROTECTED]> writes: > > Baruch> Copy&Paste is working, if style is not preserved its another > Baruch> bug, but basic copy and paste is working. The wording should > Baruch> be changed to reflect the actual bug.

Re: Comments on lib/doc/BUGS.lyx

2000-10-16 Thread Jean-Marc Lasgouttes
> "Baruch" == Baruch Even <[EMAIL PROTECTED]> writes: Baruch> Copy&Paste is working, if style is not preserved its another Baruch> bug, but basic copy and paste is working. The wording should Baruch> be changed to reflect the actual bug. Would the following be better? 12. When copying from

Re: Comments on lib/doc/BUGS.lyx

2000-10-16 Thread Baruch Even
On 16 Oct 2000, Jean-Marc Lasgouttes wrote: > > "Baruch" == Baruch Even <[EMAIL PROTECTED]> writes: > > Baruch> It seems like Point 9 is till true (It is about citation inset > Baruch> not escaping special characters on LaTeX output), this > Baruch> shouldn't be too hard to fix though, a sim

Re: Comments on lib/doc/BUGS.lyx

2000-10-16 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> Jean-Marc, once 1.1.6 is released, I plan to go back and sort Angus> out the citation stuff properly. Natbib etc. Great. Angus> Can you explain yourself a little further, therefore. Do you Angus> mean using a text inset to store

Re: Comments on lib/doc/BUGS.lyx

2000-10-16 Thread Baruch Even
On 16 Oct 2000, Jean-Marc Lasgouttes wrote: > > "Baruch" == Baruch Even <[EMAIL PROTECTED]> writes: > > Baruch> Isn't point 13 already taken care of in one of the last fix > Baruch> rounds, it is a problem of being unable to copy&paste from lyx > Baruch> to other X11 apps. > > No, being una

Re: Tasks for 1.1.6!

2000-10-16 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> I _think_ we have resolved most of the issues that need Lars> resolving before 1.1.6. I'd like to get a prerelease out during Lars> the next week. This will give us a larger audience to get things Lars> fixed. One thing that w

Re: Comments on lib/doc/BUGS.lyx

2000-10-16 Thread Angus Leeming
> The right thing would be to attach a text inset to the citation > reference, but I do not know how easy/convenient it would be. > Basically, the code to escape characters is already here in lyxformat > reading/writing. Jean-Marc, once 1.1.6 is released, I plan to go back and sort out the citat

Re: [PATCH] character dialog

2000-10-16 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> The patch attached fixes a crash when launching the character Angus> dialog. It appears that the choice_layout variable must be Angus> initialised. Doesn't matter to what, since it is to be Angus> overwritten by the combox. Applie

[PATCH] character dialog

2000-10-16 Thread Angus Leeming
The patch attached fixes a crash when launching the character dialog. It appears that the choice_layout variable must be initialised. Doesn't matter to what, since it is to be overwritten by the combox. I also modified the .fd file a little to make use of a labelframe rather than an engraved f

Re: BUGS file language

2000-10-16 Thread Jean-Marc Lasgouttes
> "Baruch" == Baruch Even <[EMAIL PROTECTED]> writes: Baruch> The bugs file has language "default" which is not recognized Baruch> anymore and is converted (more or less) silently to "english" Baruch> before doing a new release it might be better to change the Baruch> files to "english". I c

Re: Comments on lib/doc/BUGS.lyx

2000-10-16 Thread Jean-Marc Lasgouttes
> "Baruch" == Baruch Even <[EMAIL PROTECTED]> writes: Baruch> Point number 4 is Baruch> irrelevant, there is no Options->Keyboard popup anymore. It is still here in 1.1.5fix, but I agree we can remove it right now. Baruch> A "feature" of LyX is that when you switch a document it does Baruch

Re: [PATCH] Fix up point 28 in the BUGS file

2000-10-16 Thread Jean-Marc Lasgouttes
> "Baruch" == Baruch Even <[EMAIL PROTECTED]> writes: Baruch> A fix for this is in the attached patch. Applied. Thanks. JMarc

Re: LyXText::BreakAgainOneRow

2000-10-16 Thread Jean-Marc Lasgouttes
> "Dekel" == Dekel Tsur <[EMAIL PROTECTED]> writes: Dekel> Here is a patch that fixes this problem (plus other few fixes). Dekel> It should also applied to 1.1.5fix. I applied it to both repositories. I had to apply by hand the fix to text.C for 1.1.5fixcvs. Can you check (I'll commit soon)

Re: You only fix twice (status update #2)

2000-10-16 Thread Jean-Marc Lasgouttes
> "Dekel" == Dekel Tsur <[EMAIL PROTECTED]> writes: Dekel> Here is the patch (for 1.1.5). Applied. JMarc

Re: Converter quirks

2000-10-16 Thread Jean-Marc Lasgouttes
> "Dekel" == Dekel Tsur <[EMAIL PROTECTED]> writes: >> - In the File->Update menu, although I have only one way to export >> to dvi, I see "DVI (using latex)". That's annoying, and the code >> should be smart enough to catch that. Dekel> Here is a patch that fixes this. Thanks. I'll apply i

Re: Small "make dist" patch

2000-10-16 Thread Jean-Marc Lasgouttes
> "Kayvan" == Kayvan A Sylvan <[EMAIL PROTECTED]> writes: Kayvan> libfrontendsupport_la_SOURCES = \ LyXImage.h \ - LyXImage.C + Kayvan> LyXImage.C \ + LyXImage_X.h \ + LyXImage_X.C + I am not sure this patch is right. If you look at it closely, the _X files are included from the non _X ones

Re: The CREDITS file

2000-10-16 Thread Jean-Marc Lasgouttes
> "Garst" == Garst R Reese <[EMAIL PROTECTED]> writes: Garst> Garst R. Reese reese @isn.net provided hollywood and broadway Garst> classes for writing screen scripts and plays Indeed. I am surprised that your name was not already in. Fixed now. JMarc

Re: patch to snprintf.h

2000-10-16 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> Patch attached allows current CVS to link on a DEC Alpha Angus I'll apply it. JMarc

patch to snprintf.h

2000-10-16 Thread Angus Leeming
Patch attached allows current CVS to link on a DEC Alpha Angus Index: src/support/snprintf.h === RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/support/snprintf.h,v retrieving revision 1.1 diff -u -r1.1 snprintf.h --- src/suppor

Re: You only fix twice (status update #2)

2000-10-16 Thread Jean-Marc Lasgouttes
> "Lior" == Lior Silberman <[EMAIL PROTECTED]> writes: Lior> I would like to suggest that in some cases it may be useful to Lior> have the temporary directory around after a crash for debugging Lior> purposes. So, a mechanism to remove it should honor a debug flag Lior> not to remove the dir,

Re: [PATCH] Fix Gnome/KDE build, ro correctness

2000-10-16 Thread Allan Rae
On Mon, 16 Oct 2000, Juergen Vigna wrote: > On 14-Oct-2000 Allan Rae wrote: > > > > If use is made of the button controller and an appropriate ReadOnly policy > > then all the dangerous bits can be disabled. The Goto/GoBack button can > > still work and the user gets to see a full list of refer

Re: [PATCH] Fix Gnome/KDE build, ro correctness

2000-10-16 Thread Juergen Vigna
On 14-Oct-2000 Allan Rae wrote: > > If use is made of the button controller and an appropriate ReadOnly policy > then all the dangerous bits can be disabled. The Goto/GoBack button can > still work and the user gets to see a full list of references within a > document. So you'd get (or should