Re: [patch] fix broken documents in lib/doc

2005-09-20 Thread Jose' Matos
On Tuesday 20 September 2005 19:16, Georg Baum wrote: > Am Dienstag, 20. September 2005 19:37 schrieb Jose' Matos: > > That is fair, I will take a look into it and I will try to see what > > can be > > > done. > > I already did it - patch follows later after some testing. Passing as destinatio

Re: [patch] fix broken documents in lib/doc

2005-09-20 Thread Georg Baum
Am Dienstag, 20. September 2005 19:37 schrieb Jose' Matos: > That is fair, I will take a look into it and I will try to see what can be > done. I already did it - patch follows later after some testing. Georg

Re: [patch] fix broken documents in lib/doc

2005-09-20 Thread Jose' Matos
On Tuesday 20 September 2005 14:15, Georg Baum wrote: > > > Why? I am not opposing it, I am simply surprised why we need it. > > Some people (including me) like to build outside the source tree... That is fair, I will take a look into it and I will try to see what can be done. > Georg -- J

Re: LyX/Mac 1.4.0 Crash

2005-09-20 Thread Bennett Helm
On Sep 20, 2005, at 10:43 AM, Andreas Vox wrote: Hm... did the patch succeed at all or was it rejected? Gmane isn't nice to patches. It was rejected, but I applied by hand. Same with this new one: patching file src/frontends/qt2/QLyXKeySym.C Hunk #1 FAILED at 54. patch unexpectedly

Re: Menu hotkeys in Italian

2005-09-20 Thread Paul A. Rubin
Jean-Marc Lasgouttes wrote: I guess this depends if Alt-m is really the classical shortcut for Modifica. Probably only italian users can solve this one. Makes sense to me. I wonder, though: are there alternative bind files installed when you select Italian as the language? (I did a test ins

Re: [PATCH] Bug 2033 new math array uses clipboard

2005-09-20 Thread Juergen Spitzmueller
Jean-Marc Lasgouttes wrote: > The fix is simple. Juergen, could you confirm, please? I can confirm that it fixes the bug. (I had no time to check for side effects, though). Jürgen

Re: The preview bug (1817)

2005-09-20 Thread Juergen Spitzmueller
Angus Leeming wrote: > Thanks for the explanation. I think that this should fix things properly. > José can advise on whether "float(ascent)" will work in Python 1.5.2. Hm, either I'm not testing the right file, or things haven't changed... I will investigate further when I find the time (I'll pro

Re: LyX/Mac 1.4.0 Crash

2005-09-20 Thread Jean-Marc Lasgouttes
> "Andreas" == Andreas Vox <[EMAIL PROTECTED]> writes: + encoding_map["C"] = QTextCodec::codecForName("Latin-1"); encoding_map["iso8859-1"] = QTextCodec::codecForName("ISO 8859-1"); A question: why do you use "Latin-1" instead of "ISO 8859-1"? JMarc

Re: LyX/Mac 1.4.0 Crash

2005-09-20 Thread Andreas Vox
Bennett Helm <[EMAIL PROTECTED]> writes: > > I wasn't sure whether this was supposed to be applied on top of Jean- > Marc's encoding.diff or not, so I tried it both ways with the same > results. (See the backtrace below.) Hm... did the patch succeed at all or was it rejected? Gmane isn't nice

Re: byte compilation of lyx2lyx files

2005-09-20 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> Jean-Marc Lasgouttes wrote: Luis> automake 1.7.1, running on mingw/msys, on win98. >> I think this is the problem. Automake 1.8 has had fixes for people >> who do not have python installed. Do you have the possibility to >> upgrade?

Re: byte compilation of lyx2lyx files

2005-09-20 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: Luis> automake 1.7.1, running on mingw/msys, on win98. I think this is the problem. Automake 1.8 has had fixes for people who do not have python installed. Do you have the possibility to upgrade? Then we should update autogen.sh to exit if automake < 1.8? Angus

Re: byte compilation of lyx2lyx files

2005-09-20 Thread Jean-Marc Lasgouttes
> "Luis" == Luis Rivera <[EMAIL PROTECTED]> writes: Luis> JMarc, Sorry Luis, I forgot to answer. >> Luis> You'll find the log below: >> The line that is a problem is probably: PYTHON='' whereas I would >> have liked to see PYTHON=':' >> >> I think my version of the automake python macro ju

Re: LyX/Mac 1.4.0 Crash

2005-09-20 Thread Bennett Helm
On Sep 20, 2005, at 6:16 AM, Andreas Vox wrote: What about this patch: Index: src/frontends/qt2/QLyXKeySym.C == RCS file: /var/cvs/lyx/lyx-devel/src/frontends/qt2/QLyXKeySym.C,v retrieving revision 1.34 diff -u -p -r1.34 QLyXKeySym.C --- src/frontends/qt2/QLyXKeySym.C

Re: LyX/Mac 1.4.0 Crash

2005-09-20 Thread Bennett Helm
On Sep 20, 2005, at 6:16 AM, Andreas Vox wrote: What about this patch: Index: src/frontends/qt2/QLyXKeySym.C == RCS file: /var/cvs/lyx/lyx-devel/src/frontends/qt2/QLyXKeySym.C,v retrieving revision 1.34 diff -u -p -r1.34 QLyXKeySym.C --- src/frontends/qt2/QLyXKeySym.C

Re: [patch] fix broken documents in lib/doc

2005-09-20 Thread Georg Baum
Jose' Matos wrote: > On Tuesday 20 September 2005 14:01, Jean-Marc Lasgouttes wrote: >> Thanks. It would be nice to make it work when building outside of the >> source tree, but I guess this is optional. > > Why? I am not opposing it, I am simply surprised why we need it. Some people (includin

Re: [patch] fix broken documents in lib/doc

2005-09-20 Thread Jose' Matos
On Tuesday 20 September 2005 14:01, Jean-Marc Lasgouttes wrote: > Thanks. It would be nice to make it work when building outside of the > source tree, but I guess this is optional. Why? I am not opposing it, I am simply surprised why we need it. > JMarc -- José Abílio

Re: The preview bug (1817)

2005-09-20 Thread Jose' Matos
On Tuesday 20 September 2005 12:53, Angus Leeming wrote: > José can advise on whether "float(ascent)" will work in Python 1.5.2. It works. :-) In 1.5.2 python already had floats. :-) http://www.python.org/doc/1.5.2p2/lib/typesnumeric.html I think that this support was already present before

Re: LyX-QT for Mac: Insert->Math mangles keyboard input

2005-09-20 Thread Bennett Helm
On Sep 20, 2005, at 6:29 AM, Stephen Cornell wrote: Using the top menu bar, Insert->Math->Inline equation or Insert- >Math->Display equation equation. Subsequent keyboard input does not cause math text to appear in the new math box but rather in bizarre behaviour. E.g. Insert->Math->Inlin

Re: [patch] fix broken documents in lib/doc

2005-09-20 Thread Jean-Marc Lasgouttes
> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes: Georg> Jean-Marc Lasgouttes wrote: >> 5. Remove the TOC docs from the repository and create them at "make >> dist" time >> >> This would avoid python for installation. Georg> This is the best solution IMO if the premise is to have no Georg>

Re: The preview bug (1817)

2005-09-20 Thread Angus Leeming
Juergen Spitzmueller wrote: Angus Leeming wrote: It's a sensible thing to do anyway... ok. So the metrics file contains the correct number of entries? Are they all reasonable looking or does it contain your "ridiculous" entry? Each snippet gets its own metrics file, calculated from the

Re: [patch] fix broken documents in lib/doc

2005-09-20 Thread Georg Baum
Jean-Marc Lasgouttes wrote: > 5. Remove the TOC docs from the repository and create them at "make dist" > time > > This would avoid python for installation. This is the best solution IMO if the premise is to have no python build dependency. I'll prepare a patch. Georg

Re: [patch] fix broken documents in lib/doc

2005-09-20 Thread Jose' Matos
On Tuesday 20 September 2005 12:52, Jean-Marc Lasgouttes wrote: > 5. Remove the TOC docs from the repository and create them at "make dist" >  time > > This would avoid python for installation. Now, it is your choice. :-) At least for 1.4 that is probably a good thing to do. > JMarc -- Jos

Re: [patch] fix broken documents in lib/doc

2005-09-20 Thread Georg Baum
Jose' Matos wrote: > On Monday 19 September 2005 12:51, Georg Baum wrote: >> What shall we do with the original patch? I did some further research and >> found out that the *_TOC.lyx documents in the repository are not >> generated by doc_toc.py. > > As I told bellow this was done to avoid a ru

[PATCH] Bug 2033 new math array uses clipboard

2005-09-20 Thread Jean-Marc Lasgouttes
http://bugzilla.lyx.org/show_bug.cgi?id=2033 The fix is simple. Juergen, could you confirm, please? JMarc Index: src/ChangeLog === RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/ChangeLog,v retrieving revision 1.2285 diff -u -p -r1

Re: The preview bug (1817)

2005-09-20 Thread Juergen Spitzmueller
Angus Leeming wrote: > It's a sensible thing to do anyway... ok. > So the metrics file contains the correct number of entries? > Are they all reasonable looking or does it contain your "ridiculous" entry? Each snippet gets its own metrics file, calculated from the corresponding logfile. In a f

Re: [patch] fix broken documents in lib/doc

2005-09-20 Thread Jean-Marc Lasgouttes
> "Jose'" == Jose' Matos <[EMAIL PROTECTED]> writes: >> 4. Remove the TOC docs from the repository and create them at build >> time Jose'> This option implies that you have to use python for Jose'> installation. Certainly I don't mind. ;-) or 5. Remove the TOC docs from the repository and

Re: [patch] fix broken documents in lib/doc

2005-09-20 Thread Jose' Matos
On Monday 19 September 2005 12:51, Georg Baum wrote: > What shall we do with the original patch? I did some further research and > found out that the *_TOC.lyx documents in the repository are not generated > by doc_toc.py. As I told bellow this was done to avoid a run time dependency on python.

Re: The preview bug (1817)

2005-09-20 Thread Angus Leeming
Juergen Spitzmueller wrote: Angus Leeming wrote: Indentation is important to python and I think it's wrong here. If you line up the "m" of "metrics.write" with the "i" of "if abs(ascent..." then the metrics info will be written. This does not cure it, unfortunately. Jürgen It's a sensible

Re: The preview bug (1817)

2005-09-20 Thread Juergen Spitzmueller
Angus Leeming wrote: > Indentation is important to python and I think it's wrong here. > If you line up the "m" of "metrics.write" with the > "i" of "if abs(ascent..." then the metrics info will be written. This does not cure it, unfortunately. Jürgen

Re: [patch] fix bug 2031

2005-09-20 Thread Jose' Matos
On Monday 19 September 2005 23:14, Lars Gullik Bjønnes wrote: > If Jose oks it. I did not tested the code but I trust George's testing. The code changes are sensible/reasonable so you have an OK from me. :-) > -- > Lgb -- José Abílio

LyX-QT for Mac: Insert->Math mangles keyboard input

2005-09-20 Thread Stephen Cornell
Using the top menu bar, Insert->Math->Inline equation or Insert->Math->Display equation equation. Subsequent keyboard input does not cause math text to appear in the new math box but rather in bizarre behaviour. E.g. Insert->Math->Inline equation, typing `d' causes the math box to toggle bet

Re: LyX/Mac 1.4.0 Crash

2005-09-20 Thread Andreas Vox
Bennett Helm <[EMAIL PROTECTED]> writes: > > On Sep 19, 2005, at 9:53 AM, Jean-Marc Lasgouttes wrote: > > The problem seems to be with the new locale code that has been written > > in Paris. What messages do you get on console when starting up? > > > > Andreas, are you reading this? Reading lyx

Re: The preview bug (1817)

2005-09-20 Thread Angus Leeming
Juergen Spitzmueller wrote: Angus Leeming wrote: Make the addPreview call conditional on "snippet" not being empty: Thanks, Angus. Actually, it's not that easy, unfortunately, since snippet is never empty. For empty insets, it's '$ $'. A check for cell(0).empty() is better, but that fails

Re: The preview bug (1817)

2005-09-20 Thread Juergen Spitzmueller
Angus Leeming wrote: > Make the addPreview call conditional on "snippet" not being empty: Thanks, Angus. Actually, it's not that easy, unfortunately, since snippet is never empty. For empty insets, it's '$ $'. A check for cell(0).empty() is better, but that fails for nested empty insets, e.g. $\

Re: lyx-devel src/: ChangeLog text2.C

2005-09-20 Thread Jean-Marc Lasgouttes
> "Michael" == Michael Gerz <[EMAIL PROTECTED]> writes: Michael> [EMAIL PROTECTED] wrote: >> Log message: fix bug 2010 (boundary effects at the end of text >> insets) Michael> Sorry, I had to reopen bug #2010. Don;t be sorry for being a good tester :) Michael> I tested various scenarios an

Re: [PATCH] bug 1927: Compile messages: PAPER_CUSTOM not handled in switch, etc.

2005-09-20 Thread Jean-Marc Lasgouttes
> "Jose'" == Jose' Matos <[EMAIL PROTECTED]> writes: Jose'> On Monday 19 September 2005 16:09, Jean-Marc Lasgouttes wrote: >> The following trivial patch fixes most of the compiler warnings I >> get when building LyX. >> >> Committing soon. Jose'> Thanks Jean-Marc. I hope you are feeling

Re: [PATCH] Binding for paste-primary-selection

2005-09-20 Thread Jean-Marc Lasgouttes
> "Michael" == Michael Gerz <[EMAIL PROTECTED]> writes: Michael> What if we just add this binding Michael> \bind "C-M-v" "primary-selection-paste" Michael> but leave all existing bindings untouched? This would be OK. Patch? JMarc

Re: Menu hotkeys in Italian

2005-09-20 Thread Jean-Marc Lasgouttes
> "Paul" == Paul A Rubin <[EMAIL PROTECTED]> writes: Paul> Hi, This came up in the general discussion group. It occurred Paul> with a Windows install, but I assume it's not platform-specific. Paul> In the English version, the edit menu is labeled 'Edit' and the Paul> hot key is Alt-E (M-E in g