Possible bug: spaces in commands in text in math editor

2007-11-18 Thread Edward Z. Yang
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I was using the instant preview hack detailed at in order to get live previews of mhchem, and the technique mostly works. However, it difficult/impossible to edit the all but the simplest formulae inside math edit

Re: drawing artifacts

2007-11-18 Thread Martin Vermeer
On Mon, Nov 19, 2007 at 12:38:22AM +0100, Andre Poenitz wrote: > On Sun, Nov 18, 2007 at 10:49:58PM +0100, Abdelrazak Younes wrote: > > Abdelrazak Younes wrote: > >> Andre Poenitz wrote: > >>> Since yesterday or maybe the day before yesterday I see things like the > >>> attached. > >> Probably my f

Re: index-bug in 1.6.0svn with data loss

2007-11-18 Thread Martin Vermeer
On Sun, Nov 18, 2007 at 09:55:11PM +0200, sebastian guttenberg wrote: > > BTW did you revert the previous patch before applying the > > new one? > > No. How do I do that? Sorry, as I said, I don't know anything about > patching... If you still have the patch, you do patch -R old.diff (both comm

Re: drawing artifacts

2007-11-18 Thread Abdelrazak Younes
Andre Poenitz wrote: On Sun, Nov 18, 2007 at 10:49:58PM +0100, Abdelrazak Younes wrote: http://www.lyx.org/trac/file/lyx-devel/trunk/src/ParagraphMetrics.cpp?rev=21666 == --- lyx-devel/trunk/src/ParagraphMetrics.cpp (ori

Re: drawing artifacts

2007-11-18 Thread Andre Poenitz
On Sun, Nov 18, 2007 at 10:49:58PM +0100, Abdelrazak Younes wrote: > Abdelrazak Younes wrote: >> Andre Poenitz wrote: >>> Since yesterday or maybe the day before yesterday I see things like the >>> attached. >> Probably my fault, I noticed some new problems also with the anchor >> position and Pag

Re: drawing artifacts

2007-11-18 Thread Abdelrazak Younes
Abdelrazak Younes wrote: Andre Poenitz wrote: Since yesterday or maybe the day before yesterday I see things like the attached. Probably my fault, I noticed some new problems also with the anchor position and PageDown/Up scrolling. I'll correct that. Ouch! The problem was in our incorrect

Re: drawing artifacts

2007-11-18 Thread Abdelrazak Younes
Andre Poenitz wrote: Since yesterday or maybe the day before yesterday I see things like the attached. Probably my fault, I noticed some new problems also with the anchor position and PageDown/Up scrolling. I'll correct that. Abdel.

Re: index-bug in 1.6.0svn with data loss

2007-11-18 Thread sebastian guttenberg
> BTW did you revert the previous patch before applying the > new one? No. How do I do that? Sorry, as I said, I don't know anything about patching... -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.

Re: index-bug in 1.6.0svn with data loss

2007-11-18 Thread Martin Vermeer
On Sun, Nov 18, 2007 at 08:29:55PM +0200, sebastian guttenberg wrote: > Thanks for sending the patch! Unfortunately, I am unable to do the > patching. I obtain the following: > > [EMAIL PROTECTED]:~/lyx-devel/lib/lyx2lyx$ patch patching file lyx_1_6.py > Hunk #1 FAILED at 359. > 1 out of 1 hunk F

Re: index-bug in 1.6.0svn with data loss

2007-11-18 Thread sebastian guttenberg
Thanks for sending the patch! Unfortunately, I am unable to do the patching. I obtain the following: [EMAIL PROTECTED]:~/lyx-devel/lib/lyx2lyx$ patch lyx_1_6.py.rej Description: application/reject

Re: index-bug in 1.6.0svn with data loss

2007-11-18 Thread Martin Vermeer
On Sun, Nov 18, 2007 at 02:05:10PM +0200, sebastian guttenberg wrote: > > That would be good (or a small part of your file containing > > problem entries), as I am currently working in the blind. > > Ok, here's a file with only the index-entries. Bug shows up for me with > this short file as well.

Re: typing is dead slow in math-environment (1.6.0svn)

2007-11-18 Thread sebastian guttenberg
I think I have to take back the claim that typing is not slow, when the macros are not defined. Apparently, I tested it in the wrong equation. In the first equation of appendix C, typing is still dead slow, even with undefined macros. So probably it's not the fault of your macros! Sorry for all th

Re: typing is dead slow in math-environment (1.6.0svn)

2007-11-18 Thread sebastian guttenberg
> Is it really slower at the document end than at the beginning? Cannot > see a big difference here. In principle I thought that there is such a relation, because in the first equation of the document, there is no dilatation at all, while at later parts there is. BUT: I just figured out, that ty

Re: typing is dead slow in math-environment (1.6.0svn)

2007-11-18 Thread Stefan Schimanski
Is it really slower at the document end than at the beginning? Cannot see a big difference here. Stefan Am 18.11.2007 um 15:35 schrieb sebastian guttenberg: Let's see. There is a hope that the 20% figure was not so precise and it's more in fact ;-) I just figured out that typing at the end

Re: typing is dead slow in math-environment (1.6.0svn)

2007-11-18 Thread sebastian guttenberg
> Let's see. There is a hope that the 20% figure was not so precise and > it's more in fact ;-) I just figured out that typing at the end of the document is not slow when I do not define the math-macros at the beginning. -sebastian -- This message has been scanned for viruses and dangerous c

Re: never quit lyx1.6.0svn in fullscreen mode...

2007-11-18 Thread sebastian guttenberg
> Btw note that there is no need to install LyX at all, you can run the > binary from the place where it is compiled. Ah! That's a good hint! Thanks for the tip. That sounds like the simplest solution! -Sebastian -- This message has been scanned for viruses and dangerous content by MailScanner

drawing artifacts

2007-11-18 Thread Andre Poenitz
Since yesterday or maybe the day before yesterday I see things like the attached. Andre' <>

QT_FLUSH_PAINT

2007-11-18 Thread Andre Poenitz
I recently learned about a fairly useful trick to debug paint events in Qt based applications: Set environment variables QT_FLUSH_PAINT and/or QT_FLUSH_UPDATE to 1 and see what happens. Andre'

Re: never quit lyx1.6.0svn in fullscreen mode...

2007-11-18 Thread Andre Poenitz
On Sun, Nov 18, 2007 at 01:58:39PM +0200, sebastian guttenberg wrote: > Is this the output you want? > ~/.lyx-1.6.0svn$ ls -lh /usr/local/bin/lyx-1.6.0svn > > -rwxr-xr-x 1 root root 13M 2007-11-18 11:48 /usr/local/bin/lyx-1.6.0svn This is most likely stripped. Btw note that there is no need to

Re: typing is dead slow in math-environment (1.6.0svn)

2007-11-18 Thread Stefan Schimanski
Am 18.11.2007 um 14:02 schrieb sebastian guttenberg: The macro part takes 20% of the runtime, when writing math at the document end. I already have ideas how to reduce that. Otherwise there are a lot of metrics and draw calls around taking much time. Not sure if that is related to macros at

Re: typing is dead slow in math-environment (1.6.0svn)

2007-11-18 Thread sebastian guttenberg
> The macro part takes 20% of the runtime, when writing math at the > document end. I already have ideas how to reduce that. Otherwise there > are a lot of metrics and draw calls around taking much time. Not sure > if that is related to macros at all. Aha. Thanks a lot for the info! That mea

Re: never quit lyx1.6.0svn in fullscreen mode...

2007-11-18 Thread Pavel Sanda
> Secondly, an answer to Pavels question > > > you havent answered my question about checkinstall. > > I am really sorry, I have now seen that you posted several answers to my > questions. Somehow they appeared only with delay (in the mailing-list, > they are listed much earlier than messages th

Re: index-bug in 1.6.0svn with data loss

2007-11-18 Thread sebastian guttenberg
> That would be good (or a small part of your file containing > problem entries), as I am currently working in the blind. Ok, here's a file with only the index-entries. Bug shows up for me with this short file as well. - Sebastian -- This message has been scanned for viruses and dangerous conte

Re: index-bug in 1.6.0svn with data loss

2007-11-18 Thread Martin Vermeer
On Sun, Nov 18, 2007 at 12:32:17PM +0200, sebastian guttenberg wrote: BTW I posted a patch to bug 4333 (the \" problem) on bugzilla. - Martin

Re: never quit lyx1.6.0svn in fullscreen mode...

2007-11-18 Thread sebastian guttenberg
Sorry guys for my late response. Have been offline for a day. Also it took extremely long, until my original post became visible at the email-list, so I had almost forgotten about it... Firstly, a short remark: I have discovered that after deleting the file ".lyx/session", I could restart lyx. Fun

Re: index-bug in 1.6.0svn with data loss

2007-11-18 Thread Martin Vermeer
On Sun, Nov 18, 2007 at 12:32:17PM +0200, sebastian guttenberg wrote: > Hi Martin! > Thanks for the answers and the patch! And sorry for the late response. I > haven't been online yesterday... > However, the patch doesn't seem to change anything for me. I obtain the > same corrupted index-entries.

Re: index-bug in 1.6.0svn with data loss

2007-11-18 Thread sebastian guttenberg
Hi Martin! Thanks for the answers and the patch! And sorry for the late response. I haven't been online yesterday... However, the patch doesn't seem to change anything for me. I obtain the same corrupted index-entries. I am not very experienced in patching, so let me shortly describe what I did, s