Re: TOC-crach backtrace

2006-11-11 Thread Abdelrazak Younes
Martin Vermeer wrote: On Fri, 10 Nov 2006 17:06:00 +0100 Abdelrazak Younes <[EMAIL PROTECTED]> wrote: Martin Vermeer wrote: On Fri, 2006-11-10 at 11:09 +0100, Jean-Marc Lasgouttes wrote: "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes: Martin> Before going to work on this, consider the

[patch] image file cache

2006-11-11 Thread Georg Baum
As promised I ported the image file cache to 1.5. I use it without problems since several weeks, and it works fine. I added two lyxrc settings (without GUI yet, you have to write them by hand). On windows it is not possible yet to tighten the permissions of the cache files, but I understand that

Re: Advice needed: Change tracking of End-Of-Par

2006-11-11 Thread Michael Gerz
Enrico Forestieri wrote: I have them. I see a change bar only if I make another change other than deleting the end of paragraph. I attach here the latex file exported from LyX. If this works for you, I think I may have some other problem with wide streams on cygwin. I will have look - proba

Re: Advice needed: Change tracking of End-Of-Par

2006-11-11 Thread Enrico Forestieri
On Sat, Nov 11, 2006 at 06:38:04PM +0100, Michael Gerz wrote: > Enrico Forestieri wrote: > > >Sorry, but I don't get a changebar in the output when using the > >attached file. > > > > > IIRC you need pplatex and dvipost. I have them. I see a change bar only if I make another change other than

Re: Advice needed: Change tracking of End-Of-Par

2006-11-11 Thread Michael Gerz
Enrico Forestieri wrote: Sorry, but I don't get a changebar in the output when using the attached file. IIRC you need pplatex and dvipost. Michael

Re: Advice needed: Change tracking of End-Of-Par

2006-11-11 Thread Enrico Forestieri
On Sat, Nov 11, 2006 at 06:00:35PM +0100, Enrico Forestieri wrote: > Sorry, but I don't get a changebar in the output when using the > attached file. This one. -- Enrico #LyX 1.5.0svn created this file. For more info see http://www.lyx.org/ \lyxformat 253 \begin_document \begin_header \textclas

Re: Maximized window bug

2006-11-11 Thread John Levon
On Wed, Nov 08, 2006 at 10:58:25PM +0100, Andre Poenitz wrote: > On Wed, Nov 01, 2006 at 02:42:19PM +, John Levon wrote: > > On Wed, Nov 01, 2006 at 03:28:29PM +0100, Peter Kümmel wrote: > > > > > I've field two bugs, this > > > http://www.trolltech.com/developer/task-tracker/index_html?id=11

Re: Advice needed: Change tracking of End-Of-Par

2006-11-11 Thread Enrico Forestieri
On Sat, Nov 11, 2006 at 04:42:34PM +0100, Michael Gerz wrote: > Enrico Forestieri wrote: > > >In LyX I see a changebar when I delete and end of paragraph, so I know > >something changed even if I don't see what. Could the latex output be > >adapted to at least show a changebar? > > > > > Yes, t

Offering tweaks in the GUI

2006-11-11 Thread leslie . polzer
Dear LyX developers, LaTeX often requires little modifications that are hard to find out for the beginner. I am talking about, for example, removing the page numbering from the first page or having an empty author (and I mean "empty", like in lambda or epsilon, not "blank", like in "only space

Re: [patch] fix math parser bug

2006-11-11 Thread Georg Baum
Am Montag, 6. November 2006 14:49 schrieb Jean-Marc Lasgouttes: > Well, my fixes in this area were not mainly this point, and I _seem_ > to remember that I did that only because it looked nicer. So I think > indeed that we should revert this. I did this in 1.4 and trunk. Joost, could you please c

Re: Advice needed: Change tracking of End-Of-Par

2006-11-11 Thread Michael Gerz
Georg Baum wrote: I believe that a special end-of-paragraph inset will create other problems: It must never be placed anywhere else than at the end of a paragraph. This will probably require some code to ensure that. It cannot be selected by the user, because it is not visible. There are proba

Re: Advice needed: Change tracking of End-Of-Par

2006-11-11 Thread Michael Gerz
Enrico Forestieri wrote: In LyX I see a changebar when I delete and end of paragraph, so I know something changed even if I don't see what. Could the latex output be adapted to at least show a changebar? Yes, the LaTeX output shows a changebar if "Show changes in output" is activated. As

Re: Advice needed: Change tracking of End-Of-Par

2006-11-11 Thread Georg Baum
Am Samstag, 11. November 2006 14:56 schrieb Michael Gerz: > Thus my question: Do you think that it is worth changing the current > approach? Or do you think that the restriction imposed by (2) is > acceptable from a user's perspective (After all, it may be a matter of > how this happens). I be

Re: Advice needed: Change tracking of End-Of-Par

2006-11-11 Thread Enrico Forestieri
On Sat, Nov 11, 2006 at 02:56:23PM +0100, Michael Gerz wrote: > Thus my question: Do you think that it is worth changing the current > approach? Or do you think that the restriction imposed by (2) is > acceptable from a user's perspective (After all, it may be a matter of > how this happens).

Re: problems with lyx 1.5

2006-11-11 Thread Michael Gerz
Pavel Sanda wrote: * when opening already opened document(or document with newer backup), mouse pointer is switched into the clock, although it waits for confirmation dialog. I added it to Status.15x. * backuping works weirdly A known issue. * environments when using czech translat

Re: [patch] esint support

2006-11-11 Thread Georg Baum
Am Samstag, 11. November 2006 14:59 schrieb Abdelrazak Younes: > Georg Baum wrote: > > I changed the stuff in InsetInclude to not load the document anymore. That > > speeds up loading of the master a lot. Of course the included docs are now > > only shown in the navigate menu if they are alread

Re: Failed assertion in ParagraphPimpl::eraseChars()

2006-11-11 Thread Michael Gerz
Michael Gerz wrote: int Paragraph::Pimpl::eraseChars(pos_type start, pos_type end, bool trackChanges) { BOOST_ASSERT(start >= 0 && start <= size()); BOOST_ASSERT(end > start && end <= size() + 1); I check for end > start, because the caller of eraseChars may mistakenly assume

Re: Advice needed: Change tracking of End-Of-Par

2006-11-11 Thread Michael Gerz
Michael Gerz wrote: Thus my question: Do you think that it is worth changing the current approach? Or do you think that the restriction imposed by (2) is acceptable from a user's perspective (After all, it may be a matter of how this happens). ... how OFTEN this happens ... Personally, I co

Re: [patch] esint support

2006-11-11 Thread Abdelrazak Younes
Abdelrazak Younes wrote: Jean-Marc Lasgouttes wrote: "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> I was partly wrong. While disabling these methods Abdelrazak> definitely helps (with the attached patch), the csrss.exe Abdelrazak> problem and the poor typing perform

Re: [patch] esint support

2006-11-11 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> I was partly wrong. While disabling these methods Abdelrazak> definitely helps (with the attached patch), the csrss.exe Abdelrazak> problem and the poor typing performance at the end the doc Ab

Re: [patch] esint support

2006-11-11 Thread Abdelrazak Younes
Georg Baum wrote: Am Samstag, 11. November 2006 03:05 schrieb Abdelrazak Younes: Abdelrazak Younes wrote: I wonder if this addToToc() method is a good idea at all... I'd prefer the TocBackend to it himself. InsetInclude doesn't need to know how to do that. The same goes for InsetFloat and Inse

Advice needed: Change tracking of End-Of-Par

2006-11-11 Thread Michael Gerz
Hello everybody, I need your advice on a possibly critical issue: Presently, LyX does not have an end-of-par character. However, for change tracking purposes, it is essential to track the deletion and insertion of paragraph breaks. Therefore, in the LyX 1.4 code (and also in the current 1.5 i

Re: [patch] esint support

2006-11-11 Thread Abdelrazak Younes
Georg Baum wrote: Am Samstag, 11. November 2006 03:05 schrieb Abdelrazak Younes: I wonder if this addToToc() method is a good idea at all... I'd prefer the TocBackend to it himself. InsetInclude doesn't need to know how to do that. The same goes for InsetFloat and InsetWrap I guess. It is a g

Re: [patch] esint support

2006-11-11 Thread Georg Baum
Am Samstag, 11. November 2006 03:05 schrieb Abdelrazak Younes: > Abdelrazak Younes wrote: > > I wonder if this addToToc() method is a good idea at all... I'd prefer > > the TocBackend to it himself. InsetInclude doesn't need to know how to > > do that. The same goes for InsetFloat and InsetWrap I

Re: [patch] Allow unicode labels in layout files

2006-11-11 Thread Georg Baum
Am Freitag, 10. November 2006 11:22 schrieb Georg Baum: > Jean-Marc Lasgouttes wrote: > > >> "Georg" == Georg Baum > >> <[EMAIL PROTECTED]> > >> writes: > > > > Georg> BTW, why is layout->labelstring() sometimes used untranslated? > > > > Where? > > When setting the setLabelWidthStr

Re: [patch] esint support

2006-11-11 Thread Georg Baum
Am Samstag, 11. November 2006 03:05 schrieb Abdelrazak Younes: > > I wonder if this addToToc() method is a good idea at all... I'd prefer > > the TocBackend to it himself. InsetInclude doesn't need to know how to > > do that. The same goes for InsetFloat and InsetWrap I guess. It is a good idea

Re: TOC-crach backtrace

2006-11-11 Thread Martin Vermeer
On Fri, 10 Nov 2006 17:06:00 +0100 Abdelrazak Younes <[EMAIL PROTECTED]> wrote: > Martin Vermeer wrote: > > On Fri, 2006-11-10 at 11:09 +0100, Jean-Marc Lasgouttes wrote: > >>> "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes: > >> Martin> Before going to work on this, consider the patch

Re: [patch] esint support

2006-11-11 Thread Georg Baum
Am Freitag, 10. November 2006 22:39 schrieb Abdelrazak Younes: > Because the plan is to move toc.[Ch] altogether. We can then rename > TocBackend to something else if you want. I don't care about the name as long as the code speaks for itself. > > I do neither understand why TocBackend is not in

Re: r15615 - in /lyx-devel/trunk/src: insets/insettabular.C m...

2006-11-11 Thread Georg Baum
Am Mittwoch, 8. November 2006 19:18 schrieb Andre Poenitz: > On Mon, Oct 30, 2006 at 02:41:15PM +0100, Georg Baum wrote: > > Yes, that was the reason for similar problems in the past, but I could not > > find any undefined virtual method. Are we all blind? BTW Abdel your latest > > patch does not

Re: [Cvslog] r15791 - in /lyx-devel/trunk/src: frontends/FontMetrics.h...

2006-11-11 Thread Georg Baum
Am Mittwoch, 8. November 2006 21:37 schrieb Andre Poenitz: > On Tue, Nov 07, 2006 at 08:46:40PM -, [EMAIL PROTECTED] wrote: > > Author: baum > > Date: Tue Nov 7 21:46:38 2006 > > New Revision: 15791 > > > > URL: http://www.lyx.org/trac/changeset/15791 > > Log: > > document docstring abuse for

Re: [patch] esint support

2006-11-11 Thread Jean-Marc Lasgouttes
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> I was partly wrong. While disabling these methods Abdelrazak> definitely helps (with the attached patch), the csrss.exe Abdelrazak> problem and the poor typing performance at the end the doc Abdelrazak> is still there.

Re: About New TabBar and Multiple-Windows

2006-11-11 Thread christian . ridderstrom
On Wed, 8 Nov 2006, Andre Poenitz wrote: > As in "can't run batch converters anymore just because someone views a > lyx file"? Shouldn't at least this one be easy if single instance v.s. multiple instances is controlled via options on the command line (or have a setting in the preferences). It

Re: About New TabBar and Multiple-Windows

2006-11-11 Thread Abdelrazak Younes
Andre Poenitz wrote: On Wed, Nov 01, 2006 at 08:11:11PM +0100, Joost Verburg wrote: José Matos wrote: What is the difference to what we have now? Why don't we see people complaining about that? In LyX 1.4 there is one window per process. However now one process can have multiple windows, th

Re: About New TabBar and Multiple-Windows

2006-11-11 Thread Andre Poenitz
On Wed, Nov 01, 2006 at 07:05:34PM +0100, Abdelrazak Younes wrote: > Joost Verburg wrote: > >Abdelrazak Younes wrote: > >>>Sometimes you want to edit to same document in two places. However > >>>now we have this multiple window feature, it should not be possible > >>>anymore to start multiple LyX

Re: Movable toolbars

2006-11-11 Thread Andre Poenitz
On Tue, Oct 31, 2006 at 03:51:44PM +0100, Peter Kümmel wrote: > José Matos wrote: > > GuiView.C:78: error: ISO C++ forbids declaration of 'QTabBar' with no type > > I've added the include of QTabBar. > Does this help? > > Maybe I should remove the Qt headers from the precompiled msvc-headers. Wh

Re: Let us remove the multi-window support ! (was Re: About New TabBar and Multiple-Windows)

2006-11-11 Thread Andre Poenitz
On Thu, Nov 02, 2006 at 01:34:20PM +0100, Peter Kümmel wrote: > Thanks Abdel, this is very good. We should add it some where in the wiki. And to the code somewhere. Perhaps BufferView.C with pointers from buffer and LyXView. Andre'

Re: [Cvslog] r15728 - /lyx-devel/trunk/src/mathed/MathParser.C

2006-11-11 Thread Andre Poenitz
On Sun, Nov 05, 2006 at 04:00:39PM +0100, Abdelrazak Younes wrote: > Enrico Forestieri wrote: > >On Sun, Nov 05, 2006 at 09:58:28AM +0100, Georg Baum wrote: > >>>I think that we should leave the 256, but if you and others don't agree, > >>>then please also make the corresponding changes to texparse

Re: About New TabBar and Multiple-Windows

2006-11-11 Thread Andre Poenitz
On Wed, Nov 01, 2006 at 06:25:05PM +0100, Joost Verburg wrote: > Peter Kümmel wrote: > >I don't understand why we need this new Window feature. > >If someone wants two top level LyX programs then he could > >start LyX twice. > > Sometimes you want to edit to same document in two places. However no

Re: [Cvslog] r15791 - in /lyx-devel/trunk/src: frontends/FontMetrics.h...

2006-11-11 Thread Andre Poenitz
On Tue, Nov 07, 2006 at 08:46:40PM -, [EMAIL PROTECTED] wrote: > Author: baum > Date: Tue Nov 7 21:46:38 2006 > New Revision: 15791 > > URL: http://www.lyx.org/trac/changeset/15791 > Log: > document docstring abuse for symbol font code points I wonder whether a 'drawSymbol' function would no

Re: r15615 - in /lyx-devel/trunk/src: insets/insettabular.C m...

2006-11-11 Thread Andre Poenitz
On Mon, Oct 30, 2006 at 02:41:15PM +0100, Georg Baum wrote: > Yes, that was the reason for similar problems in the past, but I could not > find any undefined virtual method. Are we all blind? BTW Abdel your latest > patch does not help either (although callinf the Painter() constructor is a > good

Re: About New TabBar and Multiple-Windows

2006-11-11 Thread Andre Poenitz
On Wed, Nov 01, 2006 at 07:11:34PM +0100, Joost Verburg wrote: > Lars Gullik Bjønnes wrote: > >| Sometimes you want to edit to same document in two places. However now > >| we have this multiple window feature, it should not be possible > >| anymore to start multiple LyX instances. Can someone take

Re: [Cvslog] r15728 - /lyx-devel/trunk/src/mathed/MathParser.C

2006-11-11 Thread Andre Poenitz
On Sun, Nov 05, 2006 at 09:33:42PM +0100, Herbert Voss wrote: > Georg Baum schrieb: > > Am Sonntag, 5. November 2006 19:22 schrieb Herbert Voss: > >> I am interested in seeing how someone will parse a tex source, where > >> _every_ macro or environment can be hide after several other macros > >> or

Re: About New TabBar and Multiple-Windows

2006-11-11 Thread Andre Poenitz
On Wed, Nov 01, 2006 at 06:48:33PM +0100, Enrico Forestieri wrote: > On Wed, Nov 01, 2006 at 06:25:05PM +0100, Joost Verburg wrote: > > > Peter Kümmel wrote: > > > I don't understand why we need this new Window feature. > > > If someone wants two top level LyX programs then he could > > > start Ly

Re: About New TabBar and Multiple-Windows

2006-11-11 Thread Andre Poenitz
On Wed, Nov 01, 2006 at 09:18:53PM +0100, Joost Verburg wrote: > Abdelrazak Younes wrote: > >>I can explain you how it works on Windows, > > > >Yes please. > > You can use a mutex to detect the running process and a window message > to have the existing process start a new document. Windows has

Re: Movable toolbars

2006-11-11 Thread Andre Poenitz
On Tue, Oct 31, 2006 at 03:30:43PM +, John Levon wrote: > On Tue, Oct 31, 2006 at 03:22:34PM +, José Matos wrote: > > > On Tuesday 31 October 2006 2:43 pm, John Levon wrote: > > > On Tue, Oct 31, 2006 at 03:42:32PM +0100, Peter Kümmel wrote: > > > > I've just enabled it. > > > > > > Nice :

Re: About New TabBar and Multiple-Windows

2006-11-11 Thread Andre Poenitz
On Wed, Nov 01, 2006 at 08:09:08PM +0100, Joost Verburg wrote: > Lars Gullik Bjønnes wrote: > >sure it does. I do this all the time with emacs and firefox. > > Firefox has only a single process for all windows. > > In LyX you can have right now: > > 1) Multiple LyX instances (different processes

Re: Maximized window bug

2006-11-11 Thread Andre Poenitz
On Wed, Nov 01, 2006 at 02:42:19PM +, John Levon wrote: > On Wed, Nov 01, 2006 at 03:28:29PM +0100, Peter Kümmel wrote: > > > I've field two bugs, this > > http://www.trolltech.com/developer/task-tracker/index_html?id=119684+&method=entry > > and the maximized, but they say they can't do anyth

Re: [Cvslog] r15630 - in /lyx-devel/trunk: INSTALL development/TodoPla...

2006-11-11 Thread Andre Poenitz
On Mon, Oct 30, 2006 at 09:45:38PM -, [EMAIL PROTECTED] wrote: > +++ lyx-devel/trunk/src/frontends/qt4/GuiFontLoader.C Mon Oct 30 22:45:37 2006 > @@ -141,7 +141,6 @@ > return true; > } > > - // Qt 3.2 beta1 returns "xft" for all xft fonts > // Qt 4.1 returns "Mul

Re: About New TabBar and Multiple-Windows

2006-11-11 Thread Andre Poenitz
On Wed, Nov 01, 2006 at 08:11:11PM +0100, Joost Verburg wrote: > José Matos wrote: > > What is the difference to what we have now? > > > > Why don't we see people complaining about that? > > In LyX 1.4 there is one window per process. However now one process can > have multiple windows, there s

Re: [Updated PATCH] session/toolbar.

2006-11-11 Thread Andre Poenitz
On Thu, Nov 02, 2006 at 12:37:41PM +1800, Bo Peng wrote: > >> The major problem is with > >> math/review/table toolbars. The logic is now: > >> > >> 1. if math is on when lyx exists, I assume it is always on > >> 2. if math is off when lyx exists, I assume it is auto. > > > >But now it does not rem

Re: [Patch] optimize utf8_to_ucs4

2006-11-11 Thread Andre Poenitz
On Mon, Oct 30, 2006 at 08:49:36PM +0100, Joost Verburg wrote: > Georg Baum wrote: > >OK, so it is like that: Up to 4 bytes per code point are used for the > >currently defined 21 bits of UCS4, but UTF8 is designed in such a way that > >it is possible to encode all 36 bits of UCS4 with at most 6

Re: [patch] xymatrix

2006-11-11 Thread Andre Poenitz
On Mon, Oct 30, 2006 at 10:04:15PM +0100, Georg Baum wrote: > This patch makes it possible to read and write all \xymatrix commands. > There is no UI, meaning it is not possible to enter the extended commands > in mathed other than copying the pure LaTeX from outside of LyX or texted, > and you

Re: About New TabBar and Multiple-Windows

2006-11-11 Thread Andre Poenitz
On Wed, Nov 01, 2006 at 09:04:51PM +0100, Jean-Marc Lasgouttes wrote: > > "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: > > | In LyX 1.4 there is one window per process. However now one process > | can have multiple windows, there should only be one running process. > > Lars> I d

Re: Movable toolbars

2006-11-11 Thread Andre Poenitz
On Wed, Nov 01, 2006 at 08:43:19AM +1800, Bo Peng wrote: > >I've just enabled it. > > > > Then, it makes sense to save toolbar position in session. Could you > please tell me the functions to get/set toolbar position? Note that > the interface has to be done independent of frontend. Why don't you

Re: New Mac Profile

2006-11-11 Thread Andre Poenitz
On Wed, Nov 01, 2006 at 11:03:18AM +0100, Abdelrazak Younes wrote: > The nice thing about it is that we draw directly on screen thus > eliminating the transfer of the old backing pixmap onto the screen. > On the other hand, the screen estate is not saved. This means that, if > part of the WorkAre

Re: [patch] Fix writing a space after a latex macro

2006-11-11 Thread Andre Poenitz
On Mon, Oct 30, 2006 at 08:03:56PM +0100, Enrico Forestieri wrote: > On Mon, Oct 30, 2006 at 07:49:46PM +0100, Georg Baum wrote: > > > Am Montag, 30. Oktober 2006 19:17 schrieb Enrico Forestieri: > > > The attached patch fixes the \sinx problem. > > > > Good that you found it. > > > > > Any obje

Re: About New TabBar and Multiple-Windows

2006-11-11 Thread Andre Poenitz
On Wed, Nov 01, 2006 at 09:39:02PM +0100, Joost Verburg wrote: > Lars Gullik Bjønnes wrote: > >We have a filesystem... > >Filesystems are shared between computers... > >Computer have users... > >Users run LyX... > >LyX loads the same file... > > LyX can set a write lock on open files. How? NFS l

Re: [Cvslog] r15792 - in /lyx-devel/trunk/src: BufferView.C frontends/...

2006-11-11 Thread Andre Poenitz
On Tue, Nov 07, 2006 at 09:31:35PM -, [EMAIL PROTECTED] wrote: > Author: alstrup > Date: Tue Nov 7 22:31:33 2006 > New Revision: 15792 > > URL: http://www.lyx.org/trac/changeset/15792 > Log: > - Avoid lyxerr[] like the plague. Use if (lyxerr.debugging( ... )) instead. > > Modified: > lyx

Re: New Mac Profile

2006-11-11 Thread Andre Poenitz
On Tue, Oct 31, 2006 at 09:36:49PM +0100, Abdelrazak Younes wrote: > Bennett Helm wrote: > >On Oct 31, 2006, at 12:23 PM, Andreas Vox wrote: > > >I didn't save the old profile, so I've created a new one. The screenshot > >can be found here: > > > >

Re: citation dialog

2006-11-11 Thread Alfredo Braunstein
Georg Baum wrote: > Am Donnerstag, 9. November 2006 16:09 schrieb Jean-Marc Lasgouttes: >> > "Alfredo" == Alfredo Braunstein >> > <[EMAIL PROTECTED]> writes: >> >> Alfredo> PS: there's a surprising (good) amount of activity on this >> Alfredo> list! >> >> Hello Alfredo, >> >> Do you fee