Re: LyX crashes on cursor up/down

2007-01-01 Thread Bo Peng
This happens with Copy&Paste: 1) Create a note 2) Collapse it 3) Place the mouse cursor over the inset button. 4) Select the inset with the keyboard 5) type Ctrl-v immediately followed by Ctrl-v. The note inset is then replaced by its own copy. 6) move the inset out of the inset This is somehow

Re: how to include LyX's icon to lyx.exe?

2007-01-01 Thread Bo Peng
Now, manifest... According to http://msdn2.microsoft.com/en-us/library/ms235591(VS.80).aspx , mt.exe will embed manifest file to lyx.exe. This is exactly what scons is doing, except that the manifest file is copied from qtcore.dll.manifest. I remove lyx.exe.manifest from the build directory an

Re: how to include LyX's icon to lyx.exe?

2007-01-01 Thread Bo Peng
You need to also link a resource file when linking the (final) executable. To create that file you take the icon, create a lyx.rc file (that describes the resouce) like IDI_ICON1 ICONDISCARDABLE "/path/to/icon.ico" Then: rc.exe lyx.rc and the result is the resource you need to link

Re: how to include LyX's icon to lyx.exe?

2007-01-01 Thread Michael Abshoff
Bo Peng wrote: >> To solve this the lyx.exe must have an icon included that is >> automatically taken by the dialogs. How can this be achieved? > > We need to embed an icon, as well the manifest file with lyx.exe (and > lyxc.exe if needed). I am investigating it. > > Bo > You need to also link a r

Re: how to include LyX's icon to lyx.exe?

2007-01-01 Thread Bo Peng
To solve this the lyx.exe must have an icon included that is automatically taken by the dialogs. How can this be achieved? We need to embed an icon, as well the manifest file with lyx.exe (and lyxc.exe if needed). I am investigating it. Bo

Simplified literate layouts

2007-01-01 Thread Gregor Gorjanc
Hi! All literate layouts (literate-{article, report, book}.layout) define preamble, but this could be done only once in literate.scrap.inc file that all mentioned files include. Here is the patch: Index: literate-report.layout === -

#3052 tex2lyx skips lines for some noweb files

2007-01-01 Thread Gregor Gorjanc
Hi, tex2lyx skips lines of text after the code chunk if documentation/text is not separated from top of the chunk. I.e. the following: -- some text directly above code chunk <>= someCode @ some text bellow code chunk -- res

Re: TABLE OF CONTENTS bug

2007-01-01 Thread Peter Kümmel
Jürgen Spitzmüller wrote: > Peter Kümmel wrote: >> Importand are the toclevel != -1000 lines and >> >> TocBackend::update(): adding to types_ "tableofcontents" >> >> I assume you don't see this but >> TocBackend::update(): types_ is empty > > No, mine looks quite identical: OK, but is it still th

Re: how to include LyX's icon to lyx.exe?

2007-01-01 Thread Angus Leeming
Uwe Stöhr <[EMAIL PROTECTED]> writes: > Currently the lyx.exe has no icon when it is built it with > SCons under Win. This is a minor problem but I was often asked > about this the last time. > In the installer I register LyX with an icon but this only has > an effect on the main application. That

how to include LyX's icon to lyx.exe?

2007-01-01 Thread Uwe Stöhr
Currently the lyx.exe has no icon when it is built it with SCons under Win. This is a minor problem but I was often asked about this the last time. In the installer I register LyX with an icon but this only has an effect on the main application. That means when the user has for example opened ot

copy/paste problems with todays svn build

2007-01-01 Thread Uwe Stöhr
With the current LyX1.5svn build it isn't possible to paste text from the clipboard to the document. Astonishingly it is possible to paste the text to the LaTeX preamble of the document but copyying stuff from the preamble to the document is currently also not possible. I tested this on Windows.

some remaining UTF-8 problems

2007-01-01 Thread Uwe Stöhr
Today's look at bugzilla lead me to the following UTF-8 related bugs: http://bugzilla.lyx.org/show_bug.cgi?id=3043 (LyX's encoding check can't be ignored) and http://bugzilla.lyx.org/show_bug.cgi?id=3046 (LyX has problems to convert characters with diacritics) Maybe the unicode experts could h

Re: Including the Extended-Insets manual to next LyX 1.4.x release

2007-01-01 Thread Uwe Stöhr
[EMAIL PROTECTED] schrieb: Uwe> p.s. what about the SVN permissions, could you eventually help me Uwe> here? Maybe I can, but I do not know how :) If you have root access, I think I know how. Log in to aussie.lyx.org, become root and execute this command ... JMarc, could you please try thi

Re: Hebrew encoding (cp1255)

2007-01-01 Thread Abdelrazak Younes
Georg Baum wrote: I finally found a way to do the encoding change for LaTeX output without the ugly hack that I did earlier (following the long comment). The drawback is that a) I am not sure whether the new code is standard conformant and works with MSVC The code compile and I can load the e

Re: LyX crashes on cursor up/down

2007-01-01 Thread Abdelrazak Younes
Bo Peng wrote: There is an easy crash to reproduce though with mouse-hover when you pass on top of the first Note with the mouse. The crash happens at line 1073 of BufferView.C because last_inset points to invalid memory... Bo, I guess this is for you ;-) I can not reproduce it. Could you ple

Re: LyX crashes on cursor up/down

2007-01-01 Thread Bo Peng
> * insert->note->lyx note, enter a few chars, collapse the note. Copy the note > several times (three lines?), use mouse to select. Lyx crashes with > > Assertion triggered in void lyx::LyXText::dispatch(lyx::LCursor&, lyx::FuncRequest&) by failing check "cur.text() == this" in file src/text

Re: TABLE OF CONTENTS bug

2007-01-01 Thread Jürgen Spitzmüller
Peter Kümmel wrote: > Importand are the toclevel != -1000 lines and > > TocBackend::update(): adding to types_ "tableofcontents" > > I assume you don't see this but > TocBackend::update(): types_ is empty No, mine looks quite identical: toclevel = -1000, min_toclevel = -1, tocdepth = 3 toclevel =

Re: TOC dialog from Status-1.5

2007-01-01 Thread Abdelrazak Younes
Georg Baum wrote: Am Montag, 1. Januar 2007 17:48 schrieb Abdelrazak Younes: Can someone reproduce this bug (I cannot)? * open Tutorial; click on TOC: TOC dialog has no contents; touch TOC slider => seg fault. Yes, it appears with --endable-stdlib-debug on linux. This is discussed in

Bug in export to DocBook

2007-01-01 Thread Harshula
Hi, Problem === When exporting a DocBook LyX document to a DocBook SGML/XML file there's a problem with the generation of tags. When a sub list (embedded list) is present, Lyx opens a new tag for the sub list after closing the already open tag instead of including the sub list within the al

Re: TOC dialog from Status-1.5

2007-01-01 Thread Jürgen Spitzmüller
Abdelrazak Younes wrote: > Can someone reproduce this bug (I cannot)? > > * open Tutorial; click on TOC: TOC dialog has no contents; touch TOC slider >     => seg fault. You need to enable stdlib-debug. See this thread: http://marc.theaimsgroup.com/?l=lyx-devel&m=116741717002209&w=2 Regards, Jür

Re: TOC dialog from Status-1.5

2007-01-01 Thread Georg Baum
Am Montag, 1. Januar 2007 17:48 schrieb Abdelrazak Younes: > Can someone reproduce this bug (I cannot)? > > * open Tutorial; click on TOC: TOC dialog has no contents; touch TOC slider > => seg fault. Yes, it appears with --endable-stdlib-debug on linux. This is discussed in the "TABLE OF CO

TOC dialog from Status-1.5

2007-01-01 Thread Abdelrazak Younes
Can someone reproduce this bug (I cannot)? * open Tutorial; click on TOC: TOC dialog has no contents; touch TOC slider => seg fault. Abdel.

Re: Hebrew encoding (cp1255)

2007-01-01 Thread Georg Baum
Am Sonntag, 31. Dezember 2006 22:05 schrieb Dov Feldstern: > Georg, you win. I stand corrected. And thanks for the detailed > explanation, I think I understand the situation now. When you know how it works everything is easy :-) > So it seems to me that what we really want (for Hebrew, at least)

Re: LyX crashes on cursor up/down

2007-01-01 Thread Abdelrazak Younes
Peter Kümmel wrote: * insert->note->lyx note, enter a few chars, collapse the note. Copy the note several times (three lines?), use mouse to select. Lyx crashes with Assertion triggered in void lyx::LyXText::dispatch(lyx::LCursor&, lyx::FuncRequest&) by failing check "cur.text() == this" in

Just fixed bug with Up arrow key...

2007-01-01 Thread Abdelrazak Younes
Hello, I just committed a fix to LyXText::cursorUp(). A "return false" was missing. The fix is quite obvious (well, at least to me) but I wonder why it was missing at the first place... Any idea someone? It was missing also in cursorDown() last year but I've added the early at that time. Abd

Re: LyX crashes on cursor up/down

2007-01-01 Thread Peter Kümmel
Abdelrazak Younes wrote: > Enrico Forestieri wrote: >> Latest svn. Load any sufficiently long document and scroll it down and up >> using the arrow keys. Sooner than later LyX asserts. I get two different >> assertions: >> >> Assertion triggered in lyx::Point lyx::CoordCache::get(const >> lyx::LyXT

Re: TABLE OF CONTENTS bug

2007-01-01 Thread Peter Kümmel
Here my output with attached patch and -dbg gui when opening the de_Intro: toclevel = -1000, min_toclevel = -1, tocdepth = 3 toclevel = -1000, min_toclevel = -1, tocdepth = 3 toclevel = -1000, min_toclevel = -1, tocdepth = 3 toclevel = -1000, min_toclevel = -1, tocdepth = 3 toclevel = -1000, min_t

Re: TABLE OF CONTENTS bug

2007-01-01 Thread Jürgen Spitzmüller
Georg Baum wrote: > I don't know how qt's configure works, but with autotools configure you > would use something like > > configure CPPFLAGS="-D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC" That's how I understood qt configure help: -D Add an explicit define to the preprocessor. > You

Re: par breaking

2007-01-01 Thread Abdelrazak Younes
Edwin Leuven wrote: i've noticed that breaking a paragraph is much quicker than "unbreaking" it (cursor at beginning of par and then backspace) i think that this has always been the case, Actually, breaking a paragraph has been optimized when within a non-numbered layout (look at the updateL

Re: TABLE OF CONTENTS bug

2007-01-01 Thread Georg Baum
Am Sonntag, 31. Dezember 2006 14:10 schrieb Jürgen Spitzmüller: > Georg Baum wrote: > > If you have the time it would > > be nice if you could compile qt with these macros defined and see whether > > the crash disappears. > > I did that, i.e. I compiled qt with > ./configure -D_GLIBCXX_DEBUG -D_

Re: [patch] fix bug 3049

2007-01-01 Thread Georg Baum
Am Freitag, 29. Dezember 2006 14:37 schrieb Georg Baum: > Is this patch acceptble? If yes, did I get the nesting right (I think so, but > am not 100% sure)? I put it in for now, since it is clearly better than what we have, and prevents data corruption. If anybody has complaints we can still fi

par breaking

2007-01-01 Thread Edwin Leuven
i've noticed that breaking a paragraph is much quicker than "unbreaking" it (cursor at beginning of par and then backspace) i think that this has always been the case, but i was wondering whether there is something that can be done about it? (i guess i am looking at you abdel ;-) and of cour

Re: LyX crashes on cursor up/down

2007-01-01 Thread Abdelrazak Younes
Enrico Forestieri wrote: Latest svn. Load any sufficiently long document and scroll it down and up using the arrow keys. Sooner than later LyX asserts. I get two different assertions: Assertion triggered in lyx::Point lyx::CoordCache::get(const lyx::LyXText*, lyx::pit_type) const by failing che

Re: LyX crashes on cursor up/down

2007-01-01 Thread Abdelrazak Younes
Enrico Forestieri wrote: Latest svn. Load any sufficiently long document and scroll it down and up using the arrow keys. Sooner than later LyX asserts. I get two different assertions: Assertion triggered in lyx::Point lyx::CoordCache::get(const lyx::LyXText*, lyx::pit_type) const by failing che