Re: SVN changeset 16895 fix bug 3127

2007-01-27 Thread Bo Peng
But yes please do so! I'm able to compile Qt 4.2.2 but the .lib-files aren't created in the compilation although I followed exactly the steps given by trolltech. I have uploaded the latest installer and deps package with qt4.2.2 to http://www.lyx.org/~bpeng . They seem to work. I am not very s

Crash in 1.5.0svn Table of Contents with math

2007-01-27 Thread John McCabe-Dansted
1) Press Cntl-n 2) type 6x6. 3) Select the 6x6 (but not the '.') 4) Press Cntl-m 5) Press Alt-d t Then my LyX 1.5.0svn (revision 16897) crashes with: X Error: BadDevice, invalid or uninitialized input device 154 Extension:143 (XInputExtension) Minor opcode: 3 (X_OpenDevice) Resource id:

[PATCH] Fix ChkTeX in 1.5.0svn

2007-01-27 Thread John McCabe-Dansted
On 1/23/07, John McCabe-Dansted <[EMAIL PROTECTED]> wrote: > ChkTex does not create .tex file before running chktex, causing "could > not run chktex successfully" error. This is caused by runChkTeX outputting the .tex file to the same directory as the lyx file. Fixed in the patch below. > Even if

Re: r16842 - /lyx-devel/branches/BRANCH_1_4_X/lib/doc/gl_Tuto...

2007-01-27 Thread Uwe Stöhr
> BTW, what about lib/clipart/buffer-export_pdf2.png and > lib/clipart/buffer-view_dvi.png? I thought they are no longer needed? Respect, you always keep the overview. I've fotgotten to remove them, done now. thanks and regards Uwe

Re: Regarding LyXWinInstaller - proposal

2007-01-27 Thread Bo Peng
Uwe, I like your email, despite my objections. 1. Joost continues the official installer as it is. He has always had some nice ideas to push LyX on Windows forward! I only have one wish: Joost, could you announce your solutions to the list please? I'm always interested in the Windows stuff an

Re: Regarding LyxWinInstaller

2007-01-27 Thread Uwe Stöhr
Christian wrote: >>I designed the installer to be able to have a full functional LyX. > With full functional LyX, I assume you mean "fully functional document processing/preparation > system" :-) I guess one problem is where to draw the line - should it include drawing software > for insta

Regarding LyXWinInstaller - proposal

2007-01-27 Thread Uwe Stöhr
To come to a decision I propose the following: 1. Joost continues the official installer as it is. He has always had some nice ideas to push LyX on Windows forward! I only have one wish: Joost, could you announce your solutions to the list please? I'm always interested in the Windows stuff and

Re: [PATCH] confirm overwrite asked twice

2007-01-27 Thread Bo Peng
The reason is that the qt save dialog asks and lyx itself asks too. The qt part can easily be turned off by the attached patch. I would say yes but let us wait for a qt guy's opinion. Bo

Re: Regarding LyxWinInstaller

2007-01-27 Thread Bo Peng
I think your attack was bad. Naugthy Bo, bad Bo! SCNR :-) I am too old to be called naughty, but I agree that I could be more diplomatic. For various reasons, I have a strong feelings against forking. I've gotten the impression Uwe is upset because he feels Joost took his code, got it in SVN

Re: SVN changeset 16895 fix bug 3127

2007-01-27 Thread Uwe Stöhr
Bo Peng schrieb: I have qt 4.1.2 and 4.2.2, 4.1.2 has the same problem but 4.2.2 is fine. Please upgrade to 4.2.2. I can upload a qt4.2.2-deps bundle if you have some difficulties in compiling qt 4.2.2. Sorry I had a tipo here, I have 4.2.1 not 4.1.2. But yes please do so! I'm able to compile

Re: SVN changeset 16895 fix bug 3127

2007-01-27 Thread Bo Peng
On 1/27/07, Uwe Stöhr <[EMAIL PROTECTED]> wrote: Bo, this change destroys here the display of the view/update toolbar. This toolbar is set to be diplayed at the richt side, now it is displayed above the File menu. Although compiled with Qt 4.2.1 I think there is something not correct in you imp

[pathch] fix bug 1988

2007-01-27 Thread Uwe Stöhr
The current \lyxline definition is buggy. The attached patch changes it to the definition Herbert Voss proposed. OK? JMarc, also OK for LyX 1.4.x? regards Uwe Index: lyx_sty.C === --- lyx_sty.C (revision 16894) +++ lyx_sty.C (w

[patch] fix bug 895

2007-01-27 Thread Uwe Stöhr
As I understood the bug report, only a file filter for aspell dictionaries is missing. The attached trivial patch fixes this. JMarc, also for 1.4.x? regards Uwe Index: ControlPrefs.C === --- ControlPrefs.C (revision 16895) +++ Con

Re: Regarding LyxWinInstaller

2007-01-27 Thread christian . ridderstrom
On Fri, 26 Jan 2007, Asger Ottar Alstrup wrote: Choose between: 1) Click on a download link once, go and have coffee. Start the installer, click Next, click Next, click Next, click Next, click Next. LyX is easy. 2) Click on a download link. Start the installer, read what it says, choose to

Re: Regarding LyxWinInstaller

2007-01-27 Thread christian . ridderstrom
Hi Bo, I found it a difficult to get the feeling/purpose behind your post... I wouldn't be surprised if it (or its purpose) is misunderstood. So take my response in that vein - at least I start from the approach that probably have gotten you completely wrong :-) On Sun, 28 Jan 2007, Bo Peng

SVN changeset 16895 fix bug 3127

2007-01-27 Thread Uwe Stöhr
Bo, this change destroys here the display of the view/update toolbar. This toolbar is set to be diplayed at the richt side, now it is displayed above the File menu. Although compiled with Qt 4.2.1 I think there is something not correct in you implementation. Could this be or is eevrything fine w

Re: Regarding LyxWinInstaller

2007-01-27 Thread christian . ridderstrom
Apologies for the long post. In my defense, it took a while to create and I gave it some thought. First I'd like to say something I think holds for Windows users: Most of them us will want to install several additional packages. The majority probably won't even be interested in selecting which

[PATCH] immediatly display saved filename in tab

2007-01-27 Thread Bernhard Roider
Uwe Stöhr already denoted this small bug in his mail from 03 Jan 2007 - but the discussion then was only about the status of status.15x ;-) After saving a new file or "save as.." the filename is not updated in the tab. This patch fixes this. Bernhard Index: src/lyxfunc.C ==

[PATCH] confirm overwrite asked twice

2007-01-27 Thread Bernhard Roider
in the current trunk version lyx asks twice if it should overwrite a file when saving. The reason is that the qt save dialog asks and lyx itself asks too. The qt part can easily be turned off by the attached patch. Bernhard Index: src/frontends/qt4/FileDialog.C ===

Re: Regarding LyxWinInstaller

2007-01-27 Thread Abdelrazak Younes
Bo Peng wrote: Then, what if you believe you are right, and obviously some users and developers are at your side, but a bad guy named Bo just does not get it? You need to realize that Bo speaks only for himself, and his opinion is as important as yours. Abdel thinks that there's some truth in

Re: Regarding LyxWinInstaller

2007-01-27 Thread Bo Peng
Uwe, It is a pity that you decide to maintain your own installer. Although not everyone agrees with my attack to your inclusion of LyxWinInstaller in the trunk, I am pretty sure that nobody likes having two independent windows installers. Your decision makes me wonder what I would do if I am in

Re: tex2lyx dummy headers

2007-01-27 Thread Peter Kümmel
Peter Kümmel wrote: >>> In short: Could I apply attached patch >> It does not look OK: <> is for system stuff, "" for our own. It should be >> possible to do the same as autotools do in cmake (just replacw the >> symlinks by copies and add a rule to update these copies when the original >> files

Re: Toolbar management problem

2007-01-27 Thread Bo Peng
Unfortunately, LyX don't remember the position completely. The problem is partially fixed, but 1. qt >= 4.2.2 is required 2. toolbars on the same line are restored to different lines I also save posx, posy to session but they can not be restored yet because move(posx, posy) does not work for t

Re: crash after saving new buffer and change to another new buffer

2007-01-27 Thread Bernhard Roider
Has this been fixed in the meantime? Otherwise, I suggest adding a bug report to http://bugzilla.lyx.org. Michael In my mail yesterday i suggested a fix that avoids the assert, but i don't know if there are any other side effects due to the correlations i described in that mail. I have too

Re: [FINAL PATCH] Inset Caption

2007-01-27 Thread Enrico Forestieri
On Sat, Jan 27, 2007 at 04:08:10PM +0100, Georg Baum wrote: > - AFAIK not all layouts have a caption style, but with this patch we allow > captions in any documents. Is this a problem? I think that even the more stupid things should be allowed as far as they don't produce errors, ie. latex accep

Re: Regarding LyxWinInstaller

2007-01-27 Thread Georg Baum
Am Samstag, 27. Januar 2007 16:44 schrieb Uwe Stöhr: > Bo Peng schrieb: > > > Also, in theory, lyx can function without Ghostscript and ImageMagick. > > But only in theory! LyX without Imagemagick is practically useless. For many people, yes, but this is not true in general. I know somebody who

Re: [PATCH 3] Inset Caption

2007-01-27 Thread Abdelrazak Younes
Georg Baum wrote: Am Samstag, 27. Januar 2007 16:12 schrieb Enrico Forestieri: This is still wrong, as I can have several labels in the same float. I have not applied the patch, so I don't know if the attached document still compiles correctly. It does. Note that the code in question was for s

Re: Regarding LyxWinInstaller

2007-01-27 Thread Abdelrazak Younes
Uwe Stöhr wrote: So let me be frank this one time: Joost took my installer code and modified it on his own without informing me what and why he has changed things. Then he upload it to SVN and boom: We had a new official LyX installer! This was a real shock because I worked well together with

Re: [FINAL PATCH] Inset Caption

2007-01-27 Thread Abdelrazak Younes
Georg Baum wrote: Am Samstag, 27. Januar 2007 13:10 schrieb Abdelrazak Younes: Georg, if you're going to do the lyx2lyx support, please take the patch and commit it at the same time. Here is the complete patch, but I discovered some problems that need to be solved before it can go in: - Y

Re: [PATCH] warn if pplatex not being used

2007-01-27 Thread Michael Gerz
John McCabe-Dansted schrieb: On 1/27/07, Bo Peng <[EMAIL PROTECTED]> wrote: On 1/25/07, John McCabe-Dansted <[EMAIL PROTECTED]> wrote: > Currently if the user chooses to "Show changes in output", > but does not use pplatex as an output filter, LyX happily > throws all the new text and old text i

Re: Regarding LyxWinInstaller

2007-01-27 Thread Uwe Stöhr
Bo Peng schrieb: Also, in theory, lyx can function without Ghostscript and ImageMagick. But only in theory! LyX without Imagemagick is practically useless. More important is the support: I started the installer without having the needed programs included but this lead to lots of unnecessary

Re: [PATCH 3] Inset Caption

2007-01-27 Thread Georg Baum
Am Samstag, 27. Januar 2007 16:12 schrieb Enrico Forestieri: > This is still wrong, as I can have several labels in the same float. > I have not applied the patch, so I don't know if the attached document > still compiles correctly. It does. Note that the code in question was for screen display, b

Re: [FINAL PATCH] Inset Caption

2007-01-27 Thread Georg Baum
Am Samstag, 27. Januar 2007 13:10 schrieb Abdelrazak Younes: > Jürgen Spitzmüller wrote: > > Am Freitag, 26. Januar 2007 22:57 schrieb Abdelrazak Younes: > >> 1) LateX doesn't accept multiple lines caption so we might have to > >> forbid that I guess. > > > > I think a line break is allowed, but n

Re: [PATCH 3] Inset Caption

2007-01-27 Thread Enrico Forestieri
On Sat, Jan 27, 2007 at 03:56:08PM +0100, Abdelrazak Younes wrote: > Georg Baum wrote: > > Am Samstag, 27. Januar 2007 15:44 schrieb Enrico Forestieri: > >> On Fri, Jan 26, 2007 at 11:58:02PM +0100, Abdelrazak Younes wrote: > >> > >>> Abdelrazak Younes wrote: > Georg Baum wrote: > I just

Re: [PATCH] warn if pplatex not being used

2007-01-27 Thread Jürgen Spitzmüller
John McCabe-Dansted wrote: > > How can I reproduce this? Move away pplatex or set some wrong filter? > > Please clarify. > > The easiest way is to try output to PDF (pdflatex). I don't understand. If you chose pdflatex, you should get the correct result (not the change tracking margins, but the s

Re: [PATCH] warn if pplatex not being used

2007-01-27 Thread Bo Peng
The easiest way is to try output to PDF (pdflatex). Here, pdflatex produce perfect output without change tracking stuff, no co-existence of old and changed texts. Bo

Re: [PATCH 3] Inset Caption

2007-01-27 Thread Abdelrazak Younes
Georg Baum wrote: Am Samstag, 27. Januar 2007 15:44 schrieb Enrico Forestieri: On Fri, Jan 26, 2007 at 11:58:02PM +0100, Abdelrazak Younes wrote: Abdelrazak Younes wrote: Georg Baum wrote: I just tried to view the dvi. There's some problem here: 1) LateX doesn't accept multiple lines caption

Re: [PATCH 3] Inset Caption

2007-01-27 Thread Georg Baum
Am Samstag, 27. Januar 2007 15:44 schrieb Enrico Forestieri: > On Fri, Jan 26, 2007 at 11:58:02PM +0100, Abdelrazak Younes wrote: > > > Abdelrazak Younes wrote: > > > Georg Baum wrote: > > > I just tried to view the dvi. There's some problem here: > > > > > > 1) LateX doesn't accept multiple line

Re: Regarding LyxWinInstaller

2007-01-27 Thread Uwe Stöhr
John McCabe-Dansted schrieb: Acrobat really doesn't work with the default LyX behavior, especially the windows version, so fixing that would be a high priority on the windows side. I am not convinced that the behavior is correct for other applications either. The fix only affects Acrobat/Adobe

Re: [PATCH] warn if pplatex not being used

2007-01-27 Thread John McCabe-Dansted
On 1/27/07, Bo Peng <[EMAIL PROTECTED]> wrote: On 1/25/07, John McCabe-Dansted <[EMAIL PROTECTED]> wrote: > Currently if the user chooses to "Show changes in output", > but does not use pplatex as an output filter, LyX happily > throws all the new text and old text into a big confusing > jumble.

Re: [part 2] again about LyX's default settings

2007-01-27 Thread Uwe Stöhr
Joost Verburg schrieb: > - For Acrobat 5 to 7 I used the pdfclose/pdfopen programs, available > at CTAN (but without source code) . Since Acrobat 8 this leads to a > crash. I therefore wrote two programs to handle both cases. Should I > upload it to SVN? (You may not like it because it's wri

Re: [PATCH 3] Inset Caption

2007-01-27 Thread Enrico Forestieri
On Fri, Jan 26, 2007 at 11:58:02PM +0100, Abdelrazak Younes wrote: > Abdelrazak Younes wrote: > > Georg Baum wrote: > > I just tried to view the dvi. There's some problem here: > > > > 1) LateX doesn't accept multiple lines caption so we might have to > > forbid that I guess. > > > > 2) If you

Re: [PATCH] warn if pplatex not being used

2007-01-27 Thread Bo Peng
On 1/25/07, John McCabe-Dansted <[EMAIL PROTECTED]> wrote: Currently if the user chooses to "Show changes in output", but does not use pplatex as an output filter, LyX happily throws all the new text and old text into a big confusing jumble. How can I reproduce this? Move away pplatex or set so

Re: [FINAL PATCH] Inset Caption

2007-01-27 Thread Jürgen Spitzmüller
Abdelrazak Younes wrote: > What is a line break? If it is mean the one with Ctrl-Enter, Yes. > LateX does > not like it. If you mean normal row-breaking (word-wrap), that is OK > with LateX. Works for me (article.cls). What error do you get? > >> 2) If you put multiple captions inside a same

Re: Toolbar management problem

2007-01-27 Thread Bo Peng
I think that the problem is that Qt4 does not allow this kind of (x,y) positionning of the toolbars. Qt4 just needs to know the logical position (top, bottom, left, or right) of the toolbars and the order. I am not quite sure. As I have said, if you stop at show(), with an added move() call, the

Re: tex2lyx dummy headers

2007-01-27 Thread Peter Kümmel
Peter Kümmel wrote: > Georg Baum wrote: >>> In short: Could I apply attached patch >> It does not look OK: <> is for system stuff, "" for our own. It should be >> possible to do the same as autotools do in cmake (just replacw the >> symlinks by copies and add a rule to update these copies when th

Re: tex2lyx dummy headers

2007-01-27 Thread Peter Kümmel
Georg Baum wrote: > Am Samstag, 27. Januar 2007 13:35 schrieb Peter Kümmel: >> When building lyx a found this problem: >> lyx uses a dummy impl for lyxfont.h: >> "src/tex2lyx/lyxfont.h" which should be >> used by "src/lyxlayout.C". >> >> src/lyxlayout.C includes "lyxfont.h", which >> is "src/lyxfo

Re: tex2lyx dummy headers

2007-01-27 Thread Georg Baum
Am Samstag, 27. Januar 2007 13:35 schrieb Peter Kümmel: > When building lyx a found this problem: > lyx uses a dummy impl for lyxfont.h: > "src/tex2lyx/lyxfont.h" which should be > used by "src/lyxlayout.C". > > src/lyxlayout.C includes "lyxfont.h", which > is "src/lyxfont.h" and not "src/tex2lyx

Re: Is the glossary in 1.5svn supposed to work?

2007-01-27 Thread Michael Gerz
Helge Hafting schrieb: I noticed the glossary stuff while translating. Inserting a few entries as well as a glossary don't do anything though. No errors - and no glossary. I tested the glossary stuff on my machine. It works. Is there anything else I ought to do or install? Should lyx check tha

Re: crash after saving new buffer and change to another new buffer

2007-01-27 Thread Michael Gerz
Bernhard Roider schrieb: i just found a problem in current 1.5svn (WinXP debug only!): A BOOST_ASSERT is triggered in LyXAction.C line 424. To reproduce: Start LyX create two new buffers, save the second one (the file name on the tab is not updated until a buffer change, but i think this was

Re: r16838 - /lyx-devel/trunk/src/insets/insettext.C

2007-01-27 Thread Michael Gerz
Abdelrazak Younes schrieb: Michael Gerz wrote: Abdel, Jean-Marc, here is my first attempt to incorporate a simple & efficient DEPM into accept/reject change. I like it. If it works, I would suggest to try to share some code between the two DEPMs. There are some cases where this new DEPM wou

Re: r16838 - /lyx-devel/trunk/src/insets/insettext.C

2007-01-27 Thread Michael Gerz
Abdelrazak Younes schrieb: Michael Gerz wrote: Abdel, Jean-Marc, here is my first attempt to incorporate a simple & efficient DEPM into accept/reject change. I like it. If it works, I would suggest to try to share some code between the two DEPMs. There are some cases where this new DEPM wou

Re: tex2lyx dummy headers

2007-01-27 Thread Peter Kümmel
Peter Kümmel wrote: > When building lyx a found this problem: > lyx uses a dummy impl for lyxfont.h: tey2lyx uses a dummy implementation ... > "src/tex2lyx/lyxfont.h" which should be > used by "src/lyxlayout.C".

tex2lyx dummy headers

2007-01-27 Thread Peter Kümmel
When building lyx a found this problem: lyx uses a dummy impl for lyxfont.h: "src/tex2lyx/lyxfont.h" which should be used by "src/lyxlayout.C". src/lyxlayout.C includes "lyxfont.h", which is "src/lyxfont.h" and not "src/tex2lyx/lyxfont.h". As I understand it #include "" always searches first

Re: [PATCH] warn if pplatex not being used

2007-01-27 Thread Michael Gerz
Georg Baum schrieb: Can somebody please take a look at this and comment? I don't know the change stuff well enough to do so, but since this is the second time John sends this patch he certainly deserves an answer. Georg, John, I will comment on it ASAP. Unfortunately, I have a job and a wif

[patch] Add two beamer templates

2007-01-27 Thread Georg Baum
Jean-Pierre Chretien discovered that the beamer CVS contains two more LyX files that I forgot to transfer. This patch adds them as templates. Is this OK for trunk and 1.4? Jean-Pierre has also a french translation that I would also add if he sends it. Georg Index: lib/templates/beamer-confere

[FINAL PATCH] Inset Caption

2007-01-27 Thread Abdelrazak Younes
Jürgen Spitzmüller wrote: Am Freitag, 26. Januar 2007 22:57 schrieb Abdelrazak Younes: 1) LateX doesn't accept multiple lines caption so we might have to forbid that I guess. I think a line break is allowed, but no paragraph break. What is a line break? If it is mean the one with Ctrl-Enter,

Re: Translation mystery - badly translated string is not in the po-file

2007-01-27 Thread Michael Gerz
Helge Hafting schrieb: Menu warning: menu entry "Ren tekst..." does not contain shortcut `a'. ("Ren tekst" is the translation of "Plain Text") The shortcut "a" is hard-coded in configure.py. I am afraid there is little we can do about this problem without rewriting the l10n machinery. Michael

Re: DEPM question

2007-01-27 Thread Michael Gerz
Jean-Marc Lasgouttes schrieb: Michael> Question of the day: Why don't we strip leading spaces in Michael> DEPM() if there is only one paragraph? When is this behavior triggered in practice ? I cannot really understand by reading the code... JMarc PS: be careful with this code. But you know tha

Re: [PATCH] warn if pplatex not being used

2007-01-27 Thread Georg Baum
Am Freitag, 26. Januar 2007 05:56 schrieb John McCabe-Dansted: > Currently if the user chooses to "Show changes in output", > but does not use pplatex as an output filter, LyX happily > throws all the new text and old text into a big confusing > jumble. > > I suggest that if the user trys to use l

Re: [PATCH] Re: Insert > File > Child Document won't work for filenames with spaces

2007-01-27 Thread Peter Kümmel
Bernhard Roider wrote: >> ... Please update the bugzilla entry. >> > > I uploaded the patch > >> PS: It's always a pleasure to have some new blood here so let me >> welcome you! Welcome too, Bernhard!!! > > Thanks for your welcome. Unfortunately my spare time is scarce, so i can > not often go

Re: Toolbar management problem

2007-01-27 Thread Abdelrazak Younes
Bo Peng wrote: > I agree with you but right now, the easy solution may be what I have > suggested. Moving frontend/MLToolbar to qt4/ is something for later. Agreed. Abdel, I can not figure out how to restore toolbar position. (move does not seem to work). I think that the problem is that Qt

Re: r16878 - in /lyx-devel/trunk/src/frontends: WorkArea.C Wo...

2007-01-27 Thread Abdelrazak Younes
Hello, I just committed this in preparation of potential advanced mouse click selection. Jose, rest assured that this patch does not modify anything at all and that I will not commit any new feature before it's ready and approved. I just wanted to show the way ;-) Thanks, Abdel. [EMAIL PROT

Re: r16874 - /lyx-devel/trunk/src/frontends/qt4/iconpalette.C

2007-01-27 Thread Abdelrazak Younes
Jürgen Spitzmüller wrote: [EMAIL PROTECTED] wrote: + // FIXME: This is a hack to work around bug 2859 + // http://bugzilla.lyx.org/show_bug.cgi?id=2859 + // Short description of the bug: + /* + Open the math panel and detach the operator panel by pressing the +

Re: r16874 - /lyx-devel/trunk/src/frontends/qt4/iconpalette.C

2007-01-27 Thread Jürgen Spitzmüller
[EMAIL PROTECTED] wrote: > + // FIXME: This is a hack to work around bug 2859 > + // http://bugzilla.lyx.org/show_bug.cgi?id=2859 > + // Short description of the bug: > + /* > + Open the math panel and detach the operator panel by pressing the > + "Detach Panel" button. The

Re: Toolbar management problem

2007-01-27 Thread Jürgen Spitzmüller
Abdelrazak Younes wrote: > > Now, if you really want to use the saveState and restoreState > > functions, session itself is not a problem.  You can choose to add a > > binary field to ToolbarSection::ToolbarInfo, or use saveSessionInfo to > > save a string-repsentation of QByteArray. > > > > You th

Re: [Updated PATCH] Inset Caption

2007-01-27 Thread Jürgen Spitzmüller
Am Freitag, 26. Januar 2007 22:57 schrieb Abdelrazak Younes: > 1) LateX doesn't accept multiple lines caption so we might have to > forbid that I guess. I think a line break is allowed, but no paragraph break. > 2) If you put multiple captions inside a same float, they are numbered > sequentially