Re: two questions to be able to update the UserGuide

2009-08-03 Thread Uwe Stöhr
> You can directly send the output of your LyX document as a Fax. You need an > appropriate Fax program, such as kprintfax on KDE. If there are appropriate > Windows (or Mac) programs, you just need to add them to configure.py. I don't understand how this works. There are various Fax programs on

Re: trac page name

2009-08-03 Thread Christian Ridderström
2009/8/2 Pavel Sanda : > Christian, > > I failed to setup some title for the page > http://www.lyx.org/trac/wiki/BugTrackerHome. > It would be good to have there something like "LyX bug tracker" so one can use > this in google feeling lucky button ;) Do you have idea how to do that? Hi Pavel, So

Re: r30602 - lyx-devel/trunk/src/insets

2009-08-03 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: Abdelrazak Younes writes: This is (1) irrelevant to the discussion Well, provided that Inset has a buffer_ member, this will at least solve the problem of Buffer access in Paragraph ;-) Except that paragraph already has buffer access. No, becau

Re: r30602 - lyx-devel/trunk/src/insets

2009-08-03 Thread Jean-Marc Lasgouttes
Abdelrazak Younes writes: >> This is (1) irrelevant to the discussion > > Well, provided that Inset has a buffer_ member, this will at least > solve the problem of Buffer access in Paragraph ;-) Except that paragraph already has buffer access. >> and (2) not a good idea since >> this mixes vert

Re: r30602 - lyx-devel/trunk/src/insets

2009-08-03 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: Abdelrazak Younes writes: But I would go much farther: Paragraph should inherit Inset. This is (1) irrelevant to the discussion Well, provided that Inset has a buffer_ member, this will at least solve the problem of Buffer access in Paragraph ;-) and

Re: r30821 - lyx-devel/trunk/src

2009-08-03 Thread Andre Poenitz
On Mon, Aug 03, 2009 at 01:21:59PM +0200, Pavel Sanda wrote: > Vincent van Ravesteijn - TNW wrote: > > > > >> Modified: lyx-devel/trunk/src/Paragraph.cpp > > >> > > > > == > > >> --- lyx-devel/trunk/src/Paragraph.cpp

Re: r30602 - lyx-devel/trunk/src/insets

2009-08-03 Thread Jean-Marc Lasgouttes
Abdelrazak Younes writes: > But I would go much farther: Paragraph should inherit Inset. This is (1) irrelevant to the discussion and (2) not a good idea since this mixes vertical mode and horizontal mode. We could however have specialized versions of Paragraph for some uses. But we had this dis

Re: r30602 - lyx-devel/trunk/src/insets

2009-08-03 Thread Jean-Marc Lasgouttes
"Vincent van Ravesteijn - TNW" writes: > Paragraph has a member function setBuffer(Buffer & b) which sets the > buffer member of all Insets. Paragraph itself has no Buffer member > whatsoever. I'd think that if something would be related to the buffer, > a paragraph would be one of the closest. >

Re: r30602 - lyx-devel/trunk/src/insets

2009-08-03 Thread Abdelrazak Younes
Vincent van Ravesteijn - TNW wrote: However, not having a buffer() member for some sorts of insets complicates the rest of the code. I noticed the following: Paragraph has a member function setBuffer(Buffer & b) which sets the buffer member of all Insets. Paragraph itself has no Buffer me

RE: r30602 - lyx-devel/trunk/src/insets

2009-08-03 Thread Vincent van Ravesteijn - TNW
> However, not having a buffer() member for some sorts > of insets complicates the rest of the code. I noticed the following: Paragraph has a member function setBuffer(Buffer & b) which sets the buffer member of all Insets. Paragraph itself has no Buffer member whatsoever. I'd think that if somet

Re: r30821 - lyx-devel/trunk/src

2009-08-03 Thread Jean-Marc Lasgouttes
Andre Poenitz writes: > On Mon, Aug 03, 2009 at 01:11:38PM +0200, Vincent van Ravesteijn - TNW wrote: >> P.S I'm always struggling with these kind of if-statements, I'm starting >> to get confused with the general rule: >> >> if (bla == bla2 >> && bla3 == bla4) >> do_something; I'd say

Re: r30602 - lyx-devel/trunk/src/insets

2009-08-03 Thread Jean-Marc Lasgouttes
Andre Poenitz writes: > At the time it was a conscious decision to not have a buffer_ member > in math, as we have one inset per character (if not more) in math > and the additional member was heavier than in text where usually > an inset contains several dozen or hundreds char. > > Now the situa

Re: r30557 - in lyx-devel/trunk/src: . frontends frontends/qt4

2009-08-03 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: Abdelrazak Younes writes: Jürgen Spitzmüller wrote: Am Dienstag 14 Juli 2009 13:48:35 schrieb Jean-Marc Lasgouttes: Juergen this is needed in branch too, maybe after some testing. Ticket 1720 is: LyX/Mac: TOC Menus entries are not correctly disabled

RE: r30677 - lyx-devel/trunk/src

2009-08-03 Thread Vincent van Ravesteijn - TNW
>>> In r30560, the setLayout function was removed from >>> InsetCollapsable. This function also set the buttonLabel >>> for the inset. After removing the setLayout calls in >>> this place, the button label is not initialized for >>> Notes, Boxes and Phantoms. >> >> JMarc, >> >> You might want to ha

Re: r30557 - in lyx-devel/trunk/src: . frontends frontends/qt4

2009-08-03 Thread Jean-Marc Lasgouttes
Abdelrazak Younes writes: > Jürgen Spitzmüller wrote: >> Am Dienstag 14 Juli 2009 13:48:35 schrieb Jean-Marc Lasgouttes: >>> Juergen this is needed in branch too, maybe after some testing. >>> >>> Ticket 1720 is: LyX/Mac: TOC Menus entries are not correctly >>> disabled when a dialog has focus >>

Re: r30677 - lyx-devel/trunk/src

2009-08-03 Thread Jean-Marc Lasgouttes
Vincent van Ravesteijn writes: >> In r30560, the setLayout function was removed from InsetCollapsable. >> This function also set the buttonLabel for the inset. After removing >> the setLayout calls in this place, the button label is not >> initialized for Notes, Boxes and Phantoms. > JMarc, > > Y

Re: r30821 - lyx-devel/trunk/src

2009-08-03 Thread Andre Poenitz
On Mon, Aug 03, 2009 at 01:11:38PM +0200, Vincent van Ravesteijn - TNW wrote: > P.S I'm always struggling with these kind of if-statements, I'm starting > to get confused with the general rule: > > if (bla == bla2 > && bla3 == bla4) > do_something; > > Or > > if (bla == bla2 > &&

Re: r30821 - lyx-devel/trunk/src

2009-08-03 Thread Pavel Sanda
Vincent van Ravesteijn - TNW wrote: > > >> Modified: lyx-devel/trunk/src/Paragraph.cpp > >> > > == > >> --- lyx-devel/trunk/src/Paragraph.cpp Sat Aug 1 23:49:26 2009 > (r30820) > >> +++ lyx-devel/trunk/src/Paragrap

RE: r30821 - lyx-devel/trunk/src

2009-08-03 Thread Vincent van Ravesteijn - TNW
>> Modified: lyx-devel/trunk/src/Paragraph.cpp >> == >> --- lyx-devel/trunk/src/Paragraph.cppSat Aug 1 23:49:26 2009 (r30820) >> +++ lyx-devel/trunk/src/Paragraph.cppSat Aug 1 23:54:13 2009 (r30821) >>

Re: r30602 - lyx-devel/trunk/src/insets

2009-08-03 Thread Andre Poenitz
On Sat, Aug 01, 2009 at 11:45:25PM +0200, Jean-Marc Lasgouttes wrote: > Le 01/08/2009 18:29, Abdelrazak Younes a écrit : >> In case this question was left unanswered, we don't want a buffer_ >> member in InsetMathChar because this sucks 4 bytes of memory for each >> inset. And, AFAICS, there's no n

Re: r30821 - lyx-devel/trunk/src

2009-08-03 Thread Andre Poenitz
On Sat, Aug 01, 2009 at 11:54:13PM +0200, v...@lyx.org wrote: > Author: vfr > Date: Sat Aug 1 23:54:13 2009 > New Revision: 30821 > URL: http://www.lyx.org/trac/changeset/30821 > > Log: > Add a pending space after math if it is not the last of the selection. This > fixes problems like in bug #60

Re: Next assertion... math-macro

2009-08-03 Thread Jean-Marc Lasgouttes
rgheck writes: > On 07/19/2009 06:25 PM, Vincent van Ravesteijn wrote: >> Insert a math-macro, click with the mouse somewhere on the name.. -> >> !buffer = true. >> > We might just disable that assertion again, until JMarc gets back. I think the problem is fixed now. Is it? JMarc

Re: r30769 - lyx-devel/trunk/src

2009-08-03 Thread Jean-Marc Lasgouttes
sp...@lyx.org writes: > * LyXFunc.cpp: > - make sure there are no pending key sequences when applying the prefs, > since the key bindings are changed and this will make the status bar > messages go crazy and crash (bug 6064). Is there a reason why we do not clear pending keys

Re: [PATCH] set recursively buffer in mathed.

2009-08-03 Thread Jean-Marc Lasgouttes
Abdelrazak Younes writes: > Looks good. And the initial misbehaviour is probably my fault. I applied it, then. What I have to check now is what happens when a cell is created (inset array row...). > I remember fixing one last week-end. I saw that too. JMarc

Re: [PATCH] set recursively buffer in mathed.

2009-08-03 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: Hi, The following patch should fix many/most of the buffer missettings in mathed. Looks good. And the initial misbehaviour is probably my fault. However, I did not keep trace of the ways to trigger a null buffer assertion with trunk. Could somebody refresh my mem

[PATCH] set recursively buffer in mathed.

2009-08-03 Thread Jean-Marc Lasgouttes
Hi, The following patch should fix many/most of the buffer missettings in mathed. However, I did not keep trace of the ways to trigger a null buffer assertion with trunk. Could somebody refresh my memory? JMarc svndiff Index: src/mathed/InsetMathHull.cpp ===

Re: two questions to be able to update the UserGuide

2009-08-03 Thread Abdelrazak Younes
Vincent van Ravesteijn wrote: Uwe Stöhr schreef: - When you open the manual Extended.lyx in branch you see that two different authors have modified the file using change tracking. From where can I get the information who made the changes? If you click on a change, the statusbar will say who t

iconv fails on Unicode dashes

2009-08-03 Thread Jean-Pierre Chrétien
Hello, I recently discovered that I could not convert some docs from UTF to latin1 with iconv, which stops on message: iconv: illegal input sequence at position 851 The reason is the Unicode encoding of dashes, e.g. emdash (exported all right in LaTeX as \textemdash), iconv does not seem to be ab

Re: two questions to be able to update the UserGuide

2009-08-03 Thread Jürgen Spitzmüller
Uwe Stöhr wrote: > - In the File menu we have an entry named "Fax". It is below the entry > "Print" but doesn't appear here on Windows. What is this entry for and what > needs to be done that it appears? You can directly send the output of your LyX document as a Fax. You need an appropriate Fax p