Re: Math oddity in todays CVS

2005-04-10 Thread Lars Gullik Bjønnes
Andre Poenitz <[EMAIL PROTECTED]> writes: | Indeed. Right now we should just add the missing 'cur.undispatched()' | calls. And we should work to make the cursor a bit simpler, not even more complex. It is quite fat you know... -- Lgb

Re: Hard to navigate by clicking table cells

2005-04-10 Thread Martin Vermeer
On Sun, 2005-04-10 at 19:07, Helge Hafting wrote: > Insert a table, left justify the columns. Write someting in the > first cell to increase the column width. > > Notice that it is hard to position the cursor by clicking on the > cell below, that works only if clicking in the leftmost part, > i.e

Re: [patch] fix qt dialog list resizing (bug 1033)

2005-04-10 Thread John Levon
On Sun, Apr 10, 2005 at 06:47:05PM +0200, Juergen Spitzmueller wrote: > I finally got sick by the fact that the navigating listviews in the prefs and > document dialog crop the text of the listview items (especially in the German My current comment indicates my feelings towards this change: i.e

Re: Space in path to graphics

2005-04-10 Thread Uwe Stöhr
>> It's correct that Lyx doesn't allow spaces and other special >> characters in the file dialog, because the \includegraphics command >> used in the background doesn't allow them in image filenames. It >> seems to be a restriction of the LaTeX-package "graphicx". > > Not so. I've just got this to

Re: Math oddity in todays CVS

2005-04-10 Thread Martin Vermeer
> So I wonder if this was the right approach - or would a special > case in pasting be better? ... > I wonder if this was the right approach - or would a special > case in pasting be better? > > Helge Hafting Attached the special-casing solution. You were right, even if special casing is

Re: Math crash recipe for matched parantheses

2005-04-10 Thread Lars Gullik Bjønnes
Andre Poenitz <[EMAIL PROTECTED]> writes: | BTW: What's our '} else' vs '}\nelse' policy? > | Could well be that I started the '} else' thing here wearing a TCL head | but now I seem to remember LyX style is '}\nelse' no... we do the curlys on the same line as the else if () { } else { } --

Re: Space in path to graphics

2005-04-10 Thread Angus Leeming
Angus Leeming wrote: Alternatively you could replace each space with "\\space ". Sorry, Georg, you'll have to be more explicit. I had a look at your tex2lyx patch. It turns out that this works: \includegraphics[% width=7cm]{"C:/Documents\space and\space Settings/Angus/LOCALS\string~1/Temp/lyx_t

Re: Math oddity in todays CVS

2005-04-10 Thread Andre Poenitz
On Sun, Apr 10, 2005 at 12:32:19PM +0200, Helge Hafting wrote: > 1. Applying n-root over a selection improved.(Good) > 2. DVI output still matches what's on screen(no change) > 3. "edit->math->computer algebra->maxima" >results still correct. (no c

Re: [patch] fix \input, \include and \verbatiminput in tex2lyx

2005-04-10 Thread Andre Poenitz
On Sun, Apr 10, 2005 at 06:15:25PM +0200, Georg Baum wrote: > The attached, fully tested patch fixes several things in tex2lyx: > - interpret relative filenames the same way as tex > - don't convert verbatim files > - recognize files without extension > > I'll commit this unless somebody objects.

Re: Math oddity in todays CVS

2005-04-10 Thread Andre Poenitz
On Sun, Apr 10, 2005 at 05:22:12PM +0300, Martin Vermeer wrote: > I do believe that we should have "read" methods in all the insets to > replace the monolithic math parser. How to do that, is another question. It's on the agenda, but not for 1.4.0. Each inset would have to register it's 'reader' w

Re: Math oddity in todays CVS

2005-04-10 Thread Andre Poenitz
On Sun, Apr 10, 2005 at 10:47:37AM +0300, Martin Vermeer wrote: > This sounds great... to make it perfectly clear, you propose to replace > the loop at > > 204 for (; depth(); pop()) { > ... > 214 disp_.update(true); > 215 disp_

Re: Math oddity in todays CVS

2005-04-10 Thread Martin Vermeer
On Sun, Apr 10, 2005 at 06:48:33PM +0200, Georg Baum wrote: > Am Sonntag, 10. April 2005 16:22 schrieb Martin Vermeer: > > On Sun, Apr 10, 2005 at 12:32:19PM +0200, Helge Hafting wrote: > > > I wonder if this was the right approach - or would a special > > > case in pasting be better? > > > > > >

Re: Space in path to graphics

2005-04-10 Thread Angus Leeming
Georg Baum wrote: Am Samstag, 9. April 2005 14:54 schrieb Angus Leeming: If the file name contains spaces then the name must be enclosed >>in quotes. Alternatively you could replace each space with "\\space ". Sorry, Georg, you'll have to be more explicit. Certainly this doesn't work. Angus \docume

Re: Space in path to graphics

2005-04-10 Thread Georg Baum
Am Samstag, 9. April 2005 14:54 schrieb Angus Leeming: > If the file name contains spaces then the name must be enclosed in quotes. Alternatively you could replace each space with "\\space ". Georg

Re: Math oddity in todays CVS

2005-04-10 Thread Georg Baum
Am Sonntag, 10. April 2005 16:22 schrieb Martin Vermeer: > On Sun, Apr 10, 2005 at 12:32:19PM +0200, Helge Hafting wrote: > > I wonder if this was the right approach - or would a special > > case in pasting be better? > > > > Helge Hafting > > I am afraid I must apologize for underestimating thi

Re: Insets font, spelling fixes

2005-04-10 Thread Martin Vermeer
On Sun, Apr 10, 2005 at 05:58:23PM +0200, Lars Gullik Bjønnes wrote: > Martin Vermeer <[EMAIL PROTECTED]> writes: > > | Committed. > > You are sure this is nit causing what Helge is seeing? > > -- > Lgb Yes, this is the villain. Attached fixes it. G... lyxfont hell indeed ;-/ - Ma

[patch] fix qt dialog list resizing (bug 1033)

2005-04-10 Thread Juergen Spitzmueller
http://bugzilla.lyx.org/show_bug.cgi?id=1033 I finally got sick by the fact that the navigating listviews in the prefs and document dialog crop the text of the listview items (especially in the German translation, where almost half of the text is cropped in some cases). Since there seems to be

Re: Lyx-1.4cvs: label inserted inside ERT

2005-04-10 Thread Georg Baum
Am Montag, 28. März 2005 22:33 schrieb Angus Leeming: > Georg Baum wrote: > > Therefore I took the idea a bit further and came up with the attached > > patch. checkStatus() is implemented in the base class and calls > > getStatus with LFUN_INSET_APPLY. This is handled in > > InsetBase::getStatus()

[patch] fix \input, \include and \verbatiminput in tex2lyx

2005-04-10 Thread Georg Baum
The attached, fully tested patch fixes several things in tex2lyx: - interpret relative filenames the same way as tex - don't convert verbatim files - recognize files without extension I'll commit this unless somebody objects. Georg diff -p -r -U 3 -X excl.tmp lyx-1.4-clean/src/tex2lyx/ChangeLog

Re: Insets font, spelling fixes

2005-04-10 Thread Lars Gullik Bjønnes
Martin Vermeer <[EMAIL PROTECTED]> writes: | Committed. You are sure this is nit causing what Helge is seeing? -- Lgb

Hard to navigate by clicking table cells

2005-04-10 Thread Helge Hafting
Insert a table, left justify the columns. Write someting in the first cell to increase the column width. Notice that it is hard to position the cursor by clicking on the cell below, that works only if clicking in the leftmost part, i.e. in a spot where it actually is possible to put the cursor.

Re: todays cvs: blue underlining everywhere

2005-04-10 Thread Lars Gullik Bjønnes
Helge Hafting <[EMAIL PROTECTED]> writes: | While testing patches, I also updated to today's cvs. | Now I get blue underlining everywhere, as if everything was | typed in a foreign language. (The document is | norwegian by default.) > | Also, the spellchecker suddenly can't find a wordlist for

todays cvs: blue underlining everywhere

2005-04-10 Thread Helge Hafting
While testing patches, I also updated to today's cvs. Now I get blue underlining everywhere, as if everything was typed in a foreign language. (The document is norwegian by default.) Also, the spellchecker suddenly can't find a wordlist for the language no_NO. The saved file contain no other l

Re: [patch] Re: Bad latex generated with paragraphstyle "labeling"

2005-04-10 Thread Helge Hafting
On Sun, Apr 10, 2005 at 03:39:17PM +0200, Juergen Spitzmueller wrote: > Helge Hafting wrote: > > I used several paragraphs of labeling.  One of them had > > a label only (no text following the label).  That resulted > > in invalid latex from lyx-1.4cvs > > We forgot to close the curly brackets of

Re: Math oddity in todays CVS

2005-04-10 Thread Martin Vermeer
On Sun, Apr 10, 2005 at 12:32:19PM +0200, Helge Hafting wrote: > On Sun, Apr 10, 2005 at 10:52:54AM +0300, Martin Vermeer wrote: > > On Sun, Apr 10, 2005 at 12:05:29AM +0200, Andre Poenitz wrote: > > > On Sat, Apr 09, 2005 at 04:46:45PM +0200, Helge Hafting wrote: > > > > The problem is mostly the

Re: Lyx1.4 longtable UI bug (qt)

2005-04-10 Thread John Levon
On Sun, Apr 10, 2005 at 01:40:03PM +0200, Helge Hafting wrote: > I inserted a table, and made it a longtable. > I made the first row a header row, by checking that box. Then I made > a mistake, and checked "footer" as well. It turned out to > be impossible to uncheck that box. Neither footer no

Insets font, spelling fixes

2005-04-10 Thread Martin Vermeer
Committed. - Martin pgpPp2iIx3Ecq.pgp Description: PGP signature

[patch] Re: Bad latex generated with paragraphstyle "labeling"

2005-04-10 Thread Juergen Spitzmueller
Helge Hafting wrote: > I used several paragraphs of labeling.  One of them had > a label only (no text following the label).  That resulted > in invalid latex from lyx-1.4cvs We forgot to close the curly brackets of the \item argument when there is no content. Fix attached. OK? Jürgen Index: pa

Re: Math oddity in todays CVS

2005-04-10 Thread Martin Vermeer
> The "write" part in math_rootinset.C was changed, and we need > a corresponding change wherever the "read" takes place. It takes place here (math_parser.C): 1026 if (ar.size()) { 1027 cell->push_back(MathAtom(new MathRootInset)); 1028 cell->bac

Table cells erroneously get "language english" and other settings

2005-04-10 Thread Helge Hafting
I inserted a table, and got blue underlines in some cells. I saved and looked at the .lyx file, and some of the cells had everything set explicit, i.e.: \begin_inset Text \begin_layout Standard \family roman \series medium \shape up \size normal \emph off \bar no \noun off \color none \lang en

Lyx1.4 longtable UI bug (qt)

2005-04-10 Thread Helge Hafting
I inserted a table, and made it a longtable. I made the first row a header row, by checking that box. Then I made a mistake, and checked "footer" as well. It turned out to be impossible to uncheck that box. Neither footer nor header could be turned off in that dialog. Helge Hafting

Re: Math oddity in todays CVS

2005-04-10 Thread Martin Vermeer
... > 4. An old saved document with the fourth root of 81 >now loaded as the 81th root of four. Saving and >reloading also swaps the n-root components. (Quite bad!) ... > 6. The third root special now sticks the "3" under >the root sign. (Wr

Re: Math oddity in todays CVS

2005-04-10 Thread Martin Vermeer
On Sun, Apr 10, 2005 at 12:32:19PM +0200, Helge Hafting wrote: > On Sun, Apr 10, 2005 at 10:52:54AM +0300, Martin Vermeer wrote: > > On Sun, Apr 10, 2005 at 12:05:29AM +0200, Andre Poenitz wrote: > > > On Sat, Apr 09, 2005 at 04:46:45PM +0200, Helge Hafting wrote: > > > > The problem is mostly the

Re: The LyX licence

2005-04-10 Thread Bernd Rellermeyer
Yes, I grant permission to license my contribution under the GPL. Angus Leeming schrieb: Dear all, please excuse the personal email, but I'm trying to do something about the messy state of the LyX licence and need your help. LyX is currently licenced under the GPL with a huge hole blowing it wid

Re: Math oddity in todays CVS

2005-04-10 Thread Helge Hafting
On Sun, Apr 10, 2005 at 10:52:54AM +0300, Martin Vermeer wrote: > On Sun, Apr 10, 2005 at 12:05:29AM +0200, Andre Poenitz wrote: > > On Sat, Apr 09, 2005 at 04:46:45PM +0200, Helge Hafting wrote: > > > The problem is mostly the same if applying the n-root, one expect > > > the selection to go under

Re: [Patch] spelling

2005-04-10 Thread Martin Vermeer
On Sun, Apr 10, 2005 at 12:19:04PM +0300, Martin Vermeer wrote: > > This goes in unless there are weighty reasons not to change silly > identifiers in CVS. Shout if you can think of any. > > - Martin > ...and here's the patch. - M Index: ChangeLog ==

[Patch] spelling

2005-04-10 Thread Martin Vermeer
This goes in unless there are weighty reasons not to change silly identifiers in CVS. Shout if you can think of any. - Martin pgpEPWcF5fLAw.pgp Description: PGP signature

Re: Math oddity in todays CVS

2005-04-10 Thread Martin Vermeer
On Sun, Apr 10, 2005 at 12:05:29AM +0200, Andre Poenitz wrote: > On Sat, Apr 09, 2005 at 04:46:45PM +0200, Helge Hafting wrote: > > The problem is mostly the same if applying the n-root, one expect > > the selection to go under the root, not above it. So perhaps > > the n-root ought to be a little

Re: Math oddity in todays CVS

2005-04-10 Thread Martin Vermeer
On Sun, Apr 10, 2005 at 12:02:35AM +0200, Andre Poenitz wrote: > On Sat, Apr 09, 2005 at 05:33:18PM +0300, Martin Vermeer wrote: > > Here is the next patch... adding a cur.undispatched() statement did > > the job. So the LFUN_FINISHED mechanism seems to work... in this > > case, it allowed he curs

Re: [Discussion patch] lyxfont hell

2005-04-10 Thread Martin Vermeer
On Sat, Apr 09, 2005 at 11:49:53PM +0200, Andre Poenitz wrote: > On Sat, Apr 09, 2005 at 04:32:50PM +0300, Martin Vermeer wrote: > > I am not even pretending that I understand this problem field. Does > > anyone else? And is this patch, trial-and-error as it is, welcome in > > 1.4.0cvs? > > The f