Re: How to make Lyx DRAMATICALLY better.

2007-06-05 Thread Enrico Forestieri
On Tue, Jun 05, 2007 at 04:46:56PM -0500, Bo Peng wrote: Please, no changing colours, no special effects, no eye candies... These things may be easier to implement but are very annoying. Please test the patch I proposed (the newer version), along with the problems I described. Actually, I

Re: How to make Lyx DRAMATICALLY better.

2007-06-05 Thread Enrico Forestieri
On Tue, Jun 05, 2007 at 05:05:05PM -0500, Bo Peng wrote: Actually, I tested it. As I had changed the background colours, I saw flashing colours all around when I moved the cursor over a math inset. mathbg and mathhoverbg are the same as background. If you set them to flashing colors,

Re: [PATCH] Change default mathbg and add mathhoverbg.

2007-06-05 Thread Enrico Forestieri
On Wed, Jun 06, 2007 at 12:07:05AM +0200, Jean-Marc Lasgouttes wrote: Enrico == Enrico Forestieri [EMAIL PROTECTED] writes: Enrico On Tue, Jun 05, 2007 at 11:37:48PM +0200, Jean-Marc Lasgouttes Enrico wrote: Bo == Bo Peng [EMAIL PROTECTED] writes: Bo I can not imagine anything else

Re: How to make Lyx DRAMATICALLY better.

2007-06-05 Thread Enrico Forestieri
On Tue, Jun 05, 2007 at 05:17:20PM -0500, Bo Peng wrote: No, you are making my problems ;-) When I want to change background I have to take into account mathhoverbg, too. Please, remove that. This part is true, but the same goes to buttonbg and buttonhoverbg. Seems that you are making me

Re: [PATCH] Change default mathbg and add mathhoverbg.

2007-06-05 Thread Enrico Forestieri
On Wed, Jun 06, 2007 at 12:28:54AM +0200, Andre Poenitz wrote: On Tue, Jun 05, 2007 at 11:48:25PM +0200, Enrico Forestieri wrote: On Tue, Jun 05, 2007 at 11:37:48PM +0200, Jean-Marc Lasgouttes wrote: Bo == Bo Peng [EMAIL PROTECTED] writes: Bo I can not imagine anything else you might

Re: [PATCH] Change default mathbg and add mathhoverbg.

2007-06-05 Thread Enrico Forestieri
On Wed, Jun 06, 2007 at 12:38:08AM +0200, Andre Poenitz wrote: On Wed, Jun 06, 2007 at 12:23:27AM +0200, Enrico Forestieri wrote: On Wed, Jun 06, 2007 at 12:07:05AM +0200, Jean-Marc Lasgouttes wrote: Enrico == Enrico Forestieri [EMAIL PROTECTED] writes: Enrico On Tue, Jun 05, 2007

Re: [PATCH] Bug 3823 -- bad color output for LyXNotes

2007-06-06 Thread Enrico Forestieri
On Wed, Jun 06, 2007 at 08:53:36PM +0200, Juergen Spitzmueller wrote: Herbert Voss wrote: \providecolor{LyXshadecolor}{RGB}{...}    to be save BTW, Herbert, which definition is to be preferred to fix bug 3817: http://bugzilla.lyx.org/show_bug.cgi?id=3817

Re: [PATCH] Hover over mathed show mathed corners.

2007-06-07 Thread Enrico Forestieri
On Wed, Jun 06, 2007 at 09:38:39AM -0500, Bo Peng wrote: I deem that this will be more acceptable than my previous patch. I was wrong so this is now http://bugzilla.lyx.org/show_bug.cgi?id=3825 . Maybe you will have more luck if you remove mathhoverbg from the patch ;-) -- Enrico

Re: Remembering settings in PS/PDF viewer

2007-06-07 Thread Enrico Forestieri
On Fri, Jun 08, 2007 at 12:39:54AM +1000, Darren Freeman wrote: I originally dropped generating DVI because it wouldn't print (xdvi sucks!). I disagree. Try compiling xdvi using --with-xdvi-x-toolkit=motif I attach here a screenshot I took on Solaris. -- Enrico attachment: xdvi.png

Re: [patch] bug 3510: make IEEEtran template compilable

2007-06-11 Thread Enrico Forestieri
On Sat, Jun 09, 2007 at 08:41:52AM +0200, Jürgen Spitzmüller wrote: http://bugzilla.lyx.org/show_bug.cgi?id=3510 The problem is an interference of newer babel bundles with the way \markboth is defined (if \markboth is defined after babel, babel somehow gets the language in uppercase and

Re: [PATCH] Change default mathbg and add mathhoverbg.

2007-06-11 Thread Enrico Forestieri
On Mon, Jun 11, 2007 at 11:56:42AM -0500, Bo Peng wrote: Bo This feature does help the $x^2$is case. But if people really want to know what is happening, they have instant preview. With this on, there is no confusion IMO. I agree with you here. There is no additional pixels around

Re: [patch] bug 3510: make IEEEtran template compilable

2007-06-11 Thread Enrico Forestieri
On Mon, Jun 11, 2007 at 06:57:07PM +0200, Jürgen Spitzmüller wrote: A general problem I see is the following: I assume (but I'm not sure) IEEETran.cls is mostly used by people who actually want to submit a LaTeX file to an IEEE journal. In this case it might be relevant that your solution

Re: [patch] bug 3510: make IEEEtran template compilable

2007-06-12 Thread Enrico Forestieri
On Tue, Jun 12, 2007 at 06:29:03AM +0200, Jürgen Spitzmüller wrote: Enrico Forestieri wrote: Well, either we remove the MarkBoth environment or actually add code to the preamble in order to avoid a latex failure when someone uses MarkBoth in the document without disabling babel. Also take

Re: [patch] bug 3510: make IEEEtran template compilable

2007-06-12 Thread Enrico Forestieri
On Tue, Jun 12, 2007 at 10:55:41PM +0200, Juergen Spitzmueller wrote: Enrico Forestieri wrote: As regards the OptArgs, do you have something specific in mind? I just noticed an [ERT] OptArg in the template (author or something). There might be others. Yes, you're right. All theorem like

Re: [patch] bug 3510: make IEEEtran template compilable

2007-06-13 Thread Enrico Forestieri
On Wed, Jun 13, 2007 at 07:41:46AM +0200, Juergen Spitzmueller wrote: Enrico Forestieri wrote: Yes, you're right. All theorem like environments accept an optional argument. Updated patch attached. You should also probably update the Format of the layout (or put in the Format parameter

Re: [patch] bug 3510: make IEEEtran template compilable

2007-06-13 Thread Enrico Forestieri
On Wed, Jun 13, 2007 at 09:47:44AM +0200, Jean-Marc Lasgouttes wrote: Concerning the \markboth problem, what about the following simpler approach? The only problem I could see is that hyphenation could be incorrect in headings, but this looks like a useless feature to me. Elementary, my dear

Re: [PATCH] 2697: SplitLayout environment.

2007-06-13 Thread Enrico Forestieri
On Wed, Jun 13, 2007 at 06:26:45PM +0200, Juergen Spitzmueller wrote: Bo Peng wrote: Patch submitted, please test or read user's guide, section 3.4.4. Enrico, you might use this Split environment instead of the clumsy ERT in the IEEEtran template (last section). Yes, I think so. Please,

Re: [patch] bug 3510: make IEEEtran template compilable

2007-06-13 Thread Enrico Forestieri
On Wed, Jun 13, 2007 at 11:19:22PM +0100, José Matos wrote: On Wednesday 13 June 2007 19:11:41 Jean-Marc Lasgouttes wrote: Looks OK to me. JMarc OK. Committed: http://www.lyx.org/trac/changeset/18767. JMarc, what about 1.4.x? -- Enrico

Re: [patch] bug 3510: make IEEEtran template compilable

2007-06-14 Thread Enrico Forestieri
On Thu, Jun 14, 2007 at 10:41:05AM +0200, Jean-Marc Lasgouttes wrote: Enrico == Enrico Forestieri [EMAIL PROTECTED] writes: Enrico On Wed, Jun 13, 2007 at 11:19:22PM +0100, José Matos wrote: On Wednesday 13 June 2007 19:11:41 Jean-Marc Lasgouttes wrote: Looks OK to me. JMarc

Re: [patch] bug 3510: make IEEEtran template compilable

2007-06-14 Thread Enrico Forestieri
On Thu, Jun 14, 2007 at 04:26:18PM +0200, Jean-Marc Lasgouttes wrote: Enrico == Enrico Forestieri [EMAIL PROTECTED] writes: Enrico Yes, I know. I've only modified the MarkBoth environment and Enrico removed the white space at the beginning of line in preamble Enrico stuff, which has always

Re: [PATCH] Make HTML Export Work (Bugs 3090, 3047, etc)

2007-06-14 Thread Enrico Forestieri
On Thu, Jun 14, 2007 at 04:06:16PM -0400, Richard Heck wrote: I've added two scripts: a dir_copy.py script, that simply copies the entire temporary directory over to a subdirectory of the intended output directory, and a tex4html_copy.py script that copies only .png, .html, and .css files,

Re: [PATCH] Make HTML Export Work (Bugs 3090, 3047, etc)

2007-06-14 Thread Enrico Forestieri
On Thu, Jun 14, 2007 at 06:49:17PM -0400, Richard Heck wrote: Enrico Forestieri wrote: On Thu, Jun 14, 2007 at 04:06:16PM -0400, Richard Heck wrote: I've added two scripts: a dir_copy.py script, that simply copies the entire temporary directory over to a subdirectory

Re: [PATCH-updated] Make HTML Export Work

2007-06-15 Thread Enrico Forestieri
On Fri, Jun 15, 2007 at 12:39:01AM -0400, Richard Heck wrote: This patch is now slightly updated. In place of the two scripts tex4html_copy.py and dir_copy.py, there is now just one, ext_copy.py. Without any optional arguments, this script acts like dir_copy.py did: It copies all files in

Re: [Cvslog] r18692 - /lyx-devel/trunk/src/LaTeXFeatures.cpp

2007-06-16 Thread Enrico Forestieri
On Sat, Jun 16, 2007 at 12:29:55PM +0200, Michael Gerz wrote: [EMAIL PROTECTED] schrieb: Author: rgheck Date: Wed Jun 6 21:33:57 2007 New Revision: 18692 URL: http://www.lyx.org/trac/changeset/18692 Log: Fix bug 3823: Division needs not to return an integer. Also added some

Re: [Fwd: Re: [Cvslog] r18692 - /lyx-devel/trunk/src/LaTeXFeatures.cpp]

2007-06-16 Thread Enrico Forestieri
On Sat, Jun 16, 2007 at 11:08:19AM -0400, Richard Heck wrote: - There are two more places where a floating point division may be useful. Yes. Surprising no bug reports about that one, as it'll give the same problem. But anyway, we should just have: Yes. Possibly, limiting the

Re: Shaded note = Colored Note???

2007-06-17 Thread Enrico Forestieri
On Sun, Jun 17, 2007 at 11:19:37AM +0200, Michael Gerz wrote: Here comes a first proposal that cleans up the code. Personally, I think that we call too many things a note. At least, we are supposed to be consistent (internally externally) with this patch. What is missing is a lyx2lyx

Re: tear-off math panels

2007-06-17 Thread Enrico Forestieri
On Tue, Jun 12, 2007 at 11:28:37PM +0200, Edwin Leuven wrote: +// FIXME: this can go when we move to Qt 4.3 +#define QT_VERSION_CHECK(major, minor, patch) ((major16)|(minor8)|(patch)) + +#if QT_VERSION = QT_VERSION_CHECK(4, 2, 0) Wouldn't that give a 'redefine macro' ith 4.3?

Re: tear-off math panels

2007-06-18 Thread Enrico Forestieri
On Mon, Jun 18, 2007 at 08:03:21AM +0200, Andre Poenitz wrote: On Mon, Jun 18, 2007 at 04:20:13AM +0200, Enrico Forestieri wrote: On Tue, Jun 12, 2007 at 11:28:37PM +0200, Edwin Leuven wrote: +// FIXME: this can go when we move to Qt 4.3 +#define QT_VERSION_CHECK(major, minor, patch

Re: Empty Math Panel Popups

2007-06-18 Thread Enrico Forestieri
On Mon, Jun 18, 2007 at 12:06:50PM +0200, Leuven, E. wrote: --- src/frontends/qt4/IconPalette.h (revision 18812) +++ src/frontends/qt4/IconPalette.h (working copy) @@ -20,7 +20,7 @@ // FIXME: this can go when we move to Qt 4.3 #define QT_VERSION_CHECK(major, minor, patch)

Re: Empty Math Panel Popups

2007-06-18 Thread Enrico Forestieri
On Mon, Jun 18, 2007 at 02:09:34PM +0200, Abdelrazak Younes wrote: Enrico Forestieri wrote: On Mon, Jun 18, 2007 at 12:06:50PM +0200, Leuven, E. wrote: --- src/frontends/qt4/IconPalette.h(revision 18812) +++ src/frontends/qt4/IconPalette.h(working copy) @@ -20,7 +20,7

Re: Re: Empty Math Panel Popups

2007-06-18 Thread Enrico Forestieri
On Mon, Jun 18, 2007 at 04:22:09PM +0200, Leuven, E. wrote: can people try the attached? it is another approach to tear off the panels: simply move the panel this time only using 4.1 stuff ... Works for me with both Qt 4.1.4 and 4.2.2. However, the panel disappears after making a choice,

Re: RE: Re: Empty Math Panel Popups

2007-06-18 Thread Enrico Forestieri
On Mon, Jun 18, 2007 at 06:20:07PM +0200, Leuven, E. wrote: Tried it (qt 4.2.3 here). Doesn't seem to work well: the panel gets a decoration like normal windows when opened (so it's already detached) , and moreover closes itself when clicking on a symbol. no! no! no! ;-) the idea is

Re: Empty Math Panel Popups

2007-06-18 Thread Enrico Forestieri
On Mon, Jun 18, 2007 at 06:44:15PM +0200, Andre Poenitz wrote: On Mon, Jun 18, 2007 at 01:14:44PM +0200, Stefan Schimanski wrote: It does not even compile: #if QT_VERSION = 0x040200 !Q_WS_MACX gives operator '!' has no right operand. Maybe !defined(Q_WS_MACX) is better.

Re: Re: Empty Math Panel Popups

2007-06-18 Thread Enrico Forestieri
On Mon, Jun 18, 2007 at 06:58:32PM +0200, Leuven, E. wrote: Andre Poenitz wrote: On Mon, Jun 18, 2007 at 04:22:09PM +0200, Leuven, E. wrote: +/* i didn't find a smarter way to find out + * whether a move was made by the user + * because we also move the widget ourselves +

Re: Empty Math Panel Popups

2007-06-19 Thread Enrico Forestieri
On Tue, Jun 19, 2007 at 04:14:18PM +0200, Leuven, E. wrote: in summary: - allow panels to tear off using only qt 4.1 functionality - reported to work on windows, linux and mac seeking 2 ok's Edwin, I really appreciate your effort for trying to provide this feature with Qt 4.1. However,

Re: Empty Math Panel Popups

2007-06-19 Thread Enrico Forestieri
On Tue, Jun 19, 2007 at 08:40:52PM +0200, Edwin Leuven wrote: the attached patch has the advantage that it also allows tearoff panels on the mac i would be very surprised if this one doesn't work for you You did it! Works like a charm. A big thank you! -- Enrico

Re: problems to show figures in LyX

2007-06-19 Thread Enrico Forestieri
On Tue, Jun 19, 2007 at 04:22:59PM -0300, Fernando Roig wrote: Hi developers: I am running LyX 1.5.0rc1 on Windows XP SP2. When I include an eps graph, LyX is not able to show it but displays the message Error converting to loadable format I run lyxc.exe -dbg graphics and got the

Re: Can't enter extra whitespace when editing.

2007-06-20 Thread Enrico Forestieri
On Wed, Jun 20, 2007 at 02:07:25PM +1000, Darren Freeman wrote: On Tue, 2007-06-19 at 17:51 +0200, Jean-Marc Lasgouttes wrote: Darren == Darren Freeman [EMAIL PROTECTED] writes: Darren My point was that in the past you could enter them and they Darren would be removed when you moved

Re: problems to show figures in LyX

2007-06-20 Thread Enrico Forestieri
On Wed, Jun 20, 2007 at 09:44:12AM +0100, José Matos wrote: On Wednesday 20 June 2007 00:00:06 Enrico Forestieri wrote: The attached patch fixes it. José, OK to commit? The patch seems right. If you someone to test this and guarantee that it works (no need to be a developer) it can go

Re: problems to show figures in LyX

2007-06-20 Thread Enrico Forestieri
On Wed, Jun 20, 2007 at 09:44:12AM +0100, José Matos wrote: On Wednesday 20 June 2007 00:00:06 Enrico Forestieri wrote: The attached patch fixes it. José, OK to commit? The patch seems right. If you someone to test this and guarantee that it works (no need to be a developer) it can go

Re: Create new document dialog: Create and cancel, reverse action.

2007-06-20 Thread Enrico Forestieri
On Wed, Jun 20, 2007 at 02:42:10PM -0500, Bo Peng wrote: lyx anewfile.lyx Lyx asks: 'The document anewfile.lyx does not yet exist. Do you want to create a new document? Click create. no new document is created. Click cancel: a new document is created. This should be fixed ASAP.

Re: problems to show figures in LyX

2007-06-22 Thread Enrico Forestieri
On Wed, Jun 20, 2007 at 10:00:54PM +0200, Enrico Forestieri wrote: On Wed, Jun 20, 2007 at 09:44:12AM +0100, José Matos wrote: On Wednesday 20 June 2007 00:00:06 Enrico Forestieri wrote: The attached patch fixes it. José, OK to commit? The patch seems right. If you someone to test

Re: RC2 coming soon

2007-06-26 Thread Enrico Forestieri
On Tue, Jun 26, 2007 at 02:18:37PM +0100, José Matos wrote: On Tuesday 26 June 2007 11:07:17 Uwe Stöhr wrote: No, we need an RC2 to test if our fixes to some crash bugs are really fixes. But I also think that RC2 should be released right now (after Jürgen's current fixes are in (bug

Re: Empty Math Panel Popups

2007-06-26 Thread Enrico Forestieri
On Mon, Jun 18, 2007 at 02:09:34PM +0200, Abdelrazak Younes wrote: Enrico Forestieri wrote: On Mon, Jun 18, 2007 at 12:06:50PM +0200, Leuven, E. wrote: --- src/frontends/qt4/IconPalette.h(revision 18812) +++ src/frontends/qt4/IconPalette.h(working copy) @@ -20,7 +20,7

Re: RC2 coming soon

2007-06-26 Thread Enrico Forestieri
On Tue, Jun 26, 2007 at 03:04:31PM +0100, José Matos wrote: On Tuesday 26 June 2007 14:59:58 Enrico Forestieri wrote: Please consider also bug 3904. This is a show stopper on systems whose locale is not utf8 and the tempdir contains non-ascii chars. For sure this affects Windows systems

Re: [PATCH] bug 3537: lyx-1.5.0beta2 dumps core on freebsd-6.2 when it tries to handle strings of filenames etc.

2007-06-26 Thread Enrico Forestieri
On Tue, Jun 26, 2007 at 04:47:25PM +0200, Jean-Marc Lasgouttes wrote: +/* + * the FreeBSD libc uses UCS4, but libstdc++ has no proper wchar_t + * support compiled in: + * http://gcc.gnu.org/onlinedocs/libstdc++/faq/index.html#3_9 + * And we are not interested at all what libc + * does: What

Re: [PATCH] bug 3537: lyx-1.5.0beta2 dumps core on freebsd-6.2 when it tries to handle strings of filenames etc.

2007-06-26 Thread Enrico Forestieri
On Tue, Jun 26, 2007 at 02:19:47PM -0500, Bo Peng wrote: On 6/26/07, Bo Peng [EMAIL PROTECTED] wrote: Are you sure about the name here? Not __NETBSD__? When I google, I see a lot of defined (__FreeBSD__) || defined (__OpenBSD__) || defined(__OpenBSD__) Of course I meant

Re: problems to show figures in LyX

2007-06-26 Thread Enrico Forestieri
On Tue, Jun 26, 2007 at 09:38:44PM +0200, Michael Gerz wrote: Enrico Forestieri schrieb: On Wed, Jun 20, 2007 at 09:44:12AM +0100, José Matos wrote: On Wednesday 20 June 2007 00:00:06 Enrico Forestieri wrote: The attached patch fixes it. José, OK to commit

Re: symbols don't display

2007-06-27 Thread Enrico Forestieri
On Wed, Jun 27, 2007 at 06:48:46PM +0200, Abdelrazak Younes wrote: Leuven, E. wrote: in math, \kappa and \leq don't show others seeing this as well? Since when? dunno, perhaps since forever Everything seems ok here. maybe some font trouble on my side... On my side too.

Re: [patch] doc/TOC.lyx: \usepackage[utf-8]{inputenc} causes 'utf-8.def not found'

2007-06-29 Thread Enrico Forestieri
On Fri, Jun 29, 2007 at 09:31:57AM +0200, Jean-Marc Lasgouttes wrote: Uwe == Uwe Stöhr [EMAIL PROTECTED] writes: I can not compile doc/TOC.lyx. I guess this is caused by line \usepackage[utf-8]{inputenc}. Uwe Because the correct line would be Uwe \usepackage[utf8]{inputenc} Why

Re: 1.5.0beta2: export Latex(plain), why must overwrite my EPS graphics files?

2007-07-01 Thread Enrico Forestieri
On Sun, Jul 01, 2007 at 09:14:08AM +0200, Jürgen Spitzmüller wrote: Rob wrote: For all my graphics files I use eps format, which works OK within LyX. However, when I export my document with Export - LaTeX(plain), a dialog pops up with annoying choices:    The file  

Re: [PATCH] use native file dialog on windows (fix major bug 3907)

2007-07-02 Thread Enrico Forestieri
On Mon, Jul 02, 2007 at 05:02:03PM +0200, Abdelrazak Younes wrote: Jean-Marc Lasgouttes wrote: Abdelrazak == Abdelrazak Younes [EMAIL PROTECTED] writes: Abdelrazak Abdelrazak Younes wrote: Hello, Even though I like our file dialog, I think we have no choice but using native file

Re: Status of LyX 1.5.0?

2007-07-03 Thread Enrico Forestieri
On Tue, Jul 03, 2007 at 08:13:42PM +0200, Peter Kümmel wrote: Peter Kümmel wrote: Jürgen Spitzmüller wrote: Abdelrazak Younes wrote: 3962 cri (Math) Font problems on Windows This one is a packaging issue right? No, AFAIU you need to replace AddFontRessource and

Re: Status of LyX 1.5.0?

2007-07-03 Thread Enrico Forestieri
On Tue, Jul 03, 2007 at 09:46:54PM +0200, Peter Kümmel wrote: Ok, here with the changes for cygwin, BUT I couldn't test it. And here is the result of my tests. I uninstalled the bakoma fonts from the Windows fonts dir and reinstalled the same fonts that were giving problems with \kappa (with

Re: Status of LyX 1.5.0?

2007-07-03 Thread Enrico Forestieri
On Tue, Jul 03, 2007 at 10:36:22PM +0200, Jean-Marc Lasgouttes wrote: Peter == Peter Kümmel [EMAIL PROTECTED] writes: Peter Jürgen Spitzmüller wrote: Abdelrazak Younes wrote: 3962 cri (Math) Font problems on Windows This one is a packaging issue right? No, AFAIU you need to

Re: Status of LyX 1.5.0?

2007-07-04 Thread Enrico Forestieri
On Wed, Jul 04, 2007 at 06:53:10AM +0200, Peter Kümmel wrote: Enrico Forestieri wrote: On Tue, Jul 03, 2007 at 09:46:54PM +0200, Peter Kümmel wrote: Ok, here with the changes for cygwin, BUT I couldn't test it. And here is the result of my tests. I uninstalled the bakoma fonts from

Re: Middle click to paste (Was: Status of LyX 1.5.0?)

2007-07-04 Thread Enrico Forestieri
On Wed, Jul 04, 2007 at 09:24:45AM +0200, [EMAIL PROTECTED] wrote: On Wed, 4 Jul 2007, Jürgen Spitzmüller wrote: [EMAIL PROTECTED] wrote: To be more serious, why should we restrict Windows users from functionality we appreciate elsewhere? Please read the whole thread: because the

Re: Status of LyX 1.5.0?

2007-07-04 Thread Enrico Forestieri
On Wed, Jul 04, 2007 at 01:08:18PM +0200, Enrico Forestieri wrote: On Wed, Jul 04, 2007 at 06:53:10AM +0200, Peter Kümmel wrote: As JMarc suggested, does it work when you rename the font file, and remove the _LyX from the patch? No, as I already tried to say. What is worse

Re: Status of LyX 1.5.0?

2007-07-04 Thread Enrico Forestieri
On Wed, Jul 04, 2007 at 04:31:55PM +0200, Jean-Marc Lasgouttes wrote: Enrico == Enrico Forestieri [EMAIL PROTECTED] writes: Enrico It seems that once you have used AddFontResource to add a font Enrico file, you have no choice and cannot move them from the Enrico original position

Re: issues installing/running lyx-1.5.0rc2

2007-07-05 Thread Enrico Forestieri
On Thu, Jul 05, 2007 at 03:40:20PM +0200, Jean-Marc Lasgouttes wrote: Mikhail == Mikhail Teterin [EMAIL PROTECTED] writes: Mikhail the right place for man-pages is under PREFIX/man (no share Mikhail in between). I now have to add an explicit --mandir flag to Mikhail configure. This was not

Re: Status of LyX 1.5.0?

2007-07-05 Thread Enrico Forestieri
On Thu, Jul 05, 2007 at 03:30:56PM +0200, Jean-Marc Lasgouttes wrote: Enrico == Enrico Forestieri [EMAIL PROTECTED] writes: Enrico No, and this is most astonishing, the thing seems to survive a Enrico reboot. I tried to find whether the info is stored in the Enrico registry, but could

Re: Status of LyX 1.5.0?

2007-07-05 Thread Enrico Forestieri
On Wed, Jul 04, 2007 at 04:31:55PM +0200, Jean-Marc Lasgouttes wrote: With Qt4.2, we can also use QFontDatabase::addApplicationFont http://doc.trolltech.com/4.2/qfontdatabase.html#addApplicationFont I tried this option (see attached patch). It works on Win2k and solves the problem of having

Re: Status of LyX 1.5.0?

2007-07-05 Thread Enrico Forestieri
On Fri, Jul 06, 2007 at 12:48:10AM +0200, Enrico Forestieri wrote: On Wed, Jul 04, 2007 at 04:31:55PM +0200, Jean-Marc Lasgouttes wrote: With Qt4.2, we can also use QFontDatabase::addApplicationFont http://doc.trolltech.com/4.2/qfontdatabase.html#addApplicationFont I tried this option

Re: Status of LyX 1.5.0?

2007-07-05 Thread Enrico Forestieri
On Thu, Jul 05, 2007 at 05:23:52PM +0200, Enrico Forestieri wrote: On Thu, Jul 05, 2007 at 03:30:56PM +0200, Jean-Marc Lasgouttes wrote: Enrico == Enrico Forestieri [EMAIL PROTECTED] writes: Enrico No, and this is most astonishing, the thing seems to survive a Enrico reboot. I tried

Re: Towards LyX 1.4.5 [status update #1]

2007-07-06 Thread Enrico Forestieri
On Fri, Jul 06, 2007 at 01:23:48PM +0200, Jean-Marc Lasgouttes wrote: Hello, Since Jose' plans to release 1.5.0 next week, we'd better be ready with 1.4.5 too. I append the ANNOUNCE file that I just updated. Jose', I would appreciate if you could upgrade lyx2lyx in branch to handle the

Re: r19001 - in /lyx-devel/trunk/src/support: lstrings.cpp ls...

2007-07-06 Thread Enrico Forestieri
On Fri, Jul 06, 2007 at 04:50:17PM +0200, Abdelrazak Younes wrote: [EMAIL PROTECTED] wrote: Author: younes Date: Fri Jul 6 16:43:18 2007 New Revision: 19001 URL: http://www.lyx.org/trac/changeset/19001 Log: * lstring.cpp: - isAscii(): char is signed with MSVC so the

Caught normal exception: St8bad_cast

2007-07-07 Thread Enrico Forestieri
This happens on Windows, I don't get it on Linux. After 1) File-New 2) Document-Settings LyX crashes with the message Caught normal exception: St8bad_cast I verified that this is a consequence of http://www.lyx.org/trac/changeset/18991 Any idea? -- Enrico

Re: Caught normal exception: St8bad_cast

2007-07-07 Thread Enrico Forestieri
On Sat, Jul 07, 2007 at 04:52:02PM +0200, Enrico Forestieri wrote: This happens on Windows, I don't get it on Linux. After 1) File-New 2) Document-Settings LyX crashes with the message Caught normal exception: St8bad_cast I verified that this is a consequence of http://www.lyx.org

Re: Crash only in recent SVN on FreeBSD

2007-07-07 Thread Enrico Forestieri
On Sun, Jul 08, 2007 at 02:13:41AM +0900, Koji Yokota wrote: Hi, Only recently lyx-svn begins to crash when I open some of menus on a FreeBSD machine (I confirmed on revision 19004). Is this only a temporary phenomenon to be fixed soon? If so, please neglect this mail. Lyx crashes, for

Re: Crash only in recent SVN on FreeBSD

2007-07-07 Thread Enrico Forestieri
On Sat, Jul 07, 2007 at 07:40:23PM +0200, Alfredo Braunstein wrote: Wild guess: does the following helps? No, sorry. Index: frontends/controllers/frontend_helpers.cpp === --- frontends/controllers/frontend_helpers.cpp

Re: Crash only in recent SVN on FreeBSD

2007-07-07 Thread Enrico Forestieri
On Sun, Jul 08, 2007 at 03:29:46AM +0900, Koji Yokota wrote: Enrico Forestieri wrote: This is another consequence of http://www.lyx.org/trac/changeset/18988. Try whether reverting that changeset helps. Yes, I identified that reverting it removes the problem. I was sure

Re: Crash only in recent SVN on FreeBSD

2007-07-07 Thread Enrico Forestieri
On Sat, Jul 07, 2007 at 08:37:15PM +0200, Enrico Forestieri wrote: On Sun, Jul 08, 2007 at 03:29:46AM +0900, Koji Yokota wrote: but crash also happens when I start it with env LC_ALL=C lyx In this case, there are no such complaints. Yes, the C locale is always supported

Re: Crash only in recent SVN on FreeBSD

2007-07-07 Thread Enrico Forestieri
On Sun, Jul 08, 2007 at 04:22:29AM +0900, Koji Yokota wrote: Enrico Forestieri wrote: On Sat, Jul 07, 2007 at 08:37:15PM +0200, Enrico Forestieri wrote: On Sun, Jul 08, 2007 at 03:29:46AM +0900, Koji Yokota wrote: but crash also happens when I start it with env LC_ALL=C lyx

Re: Crash only in recent SVN on FreeBSD

2007-07-09 Thread Enrico Forestieri
On Mon, Jul 09, 2007 at 10:51:15AM +0100, José Matos wrote: On Sunday 08 July 2007 18:10:37 Koji Yokota wrote: Yap, it solved the problem. Thank you!! OK Enrico you can commit the patch. Done. -- Enrico

Re: Fwd: readme updates

2007-07-09 Thread Enrico Forestieri
On Mon, Jul 09, 2007 at 01:01:21PM +0200, Jean-Marc Lasgouttes wrote: Pavel == Pavel Sanda [EMAIL PROTECTED] writes: Pavel Sanda schrieb: For the patch to readme.localization, could you please send this as separate patch to the devel list for approval. i wonder what is this list

Re: Towards LyX 1.4.5 [status update #1]

2007-07-09 Thread Enrico Forestieri
On Fri, Jul 06, 2007 at 04:31:24PM +0200, Enrico Forestieri wrote: On Fri, Jul 06, 2007 at 01:23:48PM +0200, Jean-Marc Lasgouttes wrote: Hello, Since Jose' plans to release 1.5.0 next week, we'd better be ready with 1.4.5 too. I append the ANNOUNCE file that I just updated

Re: Towards LyX 1.4.5 [status update #1]

2007-07-09 Thread Enrico Forestieri
On Mon, Jul 09, 2007 at 07:34:03PM +0200, Joost Verburg wrote: Enrico Forestieri wrote: Here it is. I verified that with the patch applied one can have fonts with the same name as the Bakoma ones installed in the system font dir and yet the latter are used in LyX. I just made LyX 1.5

Re: Towards LyX 1.4.5 [status update #1]

2007-07-09 Thread Enrico Forestieri
On Mon, Jul 09, 2007 at 10:48:32PM +0200, Jean-Marc Lasgouttes wrote: Enrico == Enrico Forestieri [EMAIL PROTECTED] writes: Enrico Here it is. I verified that with the patch applied one can Enrico have fonts with the same name as the Bakoma ones installed in Enrico the system font dir

Re: Status of LyX 1.5.0?

2007-07-10 Thread Enrico Forestieri
On Tue, Jul 10, 2007 at 09:40:38PM +0200, Peter Kümmel wrote: Here an updated patch which only calls the Ex functions if they are available. And what was the status? It doesn't work on Vista? And also needs some chmod changes on cygwin? The patch works on Vista. However, for some

Re: r19028 - in /lyx-devel/branches/BRANCH_1_4_X: src/fronten...

2007-07-10 Thread Enrico Forestieri
On Wed, Jul 11, 2007 at 12:14:29AM +0200, Joost Verburg wrote: Abdelrazak Younes wrote: 1) you have a patch ready using LoadLibrary/GetProcAddress before tomorrow: 1.5.0 will support Win9X! Here is the patch. I tested it and it works for me. Hmm. Seems that you and Peter are treading on

Re: Status of LyX 1.5.0?

2007-07-11 Thread Enrico Forestieri
On Wed, Jul 11, 2007 at 07:12:42AM +0200, Peter Kümmel wrote: Enrico Forestieri wrote: On Tue, Jul 10, 2007 at 09:40:38PM +0200, Peter Kümmel wrote: Here an updated patch which only calls the Ex functions if they are available. And what was the status? It doesn't work on Vista

Re: r19028 - in /lyx-devel/branches/BRANCH_1_4_X: src/fronten...

2007-07-11 Thread Enrico Forestieri
On Wed, Jul 11, 2007 at 09:14:27AM +0200, Joost Verburg wrote: Peter Kümmel wrote: What about using my patch and to replace the QLibrary code with your native calls? I think using native calls is safer. This is the standard method that is known to work on all Windows versions. You

Re: r19028 - in /lyx-devel/branches/BRANCH_1_4_X: src/fronten...

2007-07-11 Thread Enrico Forestieri
On Wed, Jul 11, 2007 at 10:56:07AM +0100, José Matos wrote: On Wednesday 11 July 2007 10:25:44 Enrico Forestieri wrote: Please, find attached your patch complemented with the changes for cygwin. This can go with two OKs. I guess that Joost, Uwe, Peter or Abdel are the obvious

Re: r19028 - in /lyx-devel/branches/BRANCH_1_4_X: src/fronten...

2007-07-11 Thread Enrico Forestieri
On Wed, Jul 11, 2007 at 12:08:06PM +0200, Abdelrazak Younes wrote: Joost Verburg wrote: José Matos wrote: On Wednesday 11 July 2007 10:25:44 Enrico Forestieri wrote: Please, find attached your patch complemented with the changes for cygwin. This can go with two OKs. I guess

Re: r19028 - in /lyx-devel/branches/BRANCH_1_4_X: src/fronten...

2007-07-11 Thread Enrico Forestieri
On Wed, Jul 11, 2007 at 12:23:18PM +0200, Abdelrazak Younes wrote: Enrico Forestieri wrote: On Wed, Jul 11, 2007 at 12:08:06PM +0200, Abdelrazak Younes wrote: Joost Verburg wrote: José Matos wrote: On Wednesday 11 July 2007 10:25:44 Enrico Forestieri wrote: Please, find attached your

Re: Exception when opening Document-settings on Solaris

2007-07-11 Thread Enrico Forestieri
On Wed, Jul 11, 2007 at 03:59:51PM +0200, Pavel Sanda wrote: All is OK with 1.5.0rc2, but with 1.5.0-svn, when I want to edit the settings of a template document on Solaris 2.8/Qt4.3.1, I get this: Caught normal exception: locale::facet::_S_create_c_locale name not valid could not

Re: Exception when opening Document-settings on Solaris

2007-07-12 Thread Enrico Forestieri
On Thu, Jul 12, 2007 at 10:05:09AM +0100, José Matos wrote: On Wednesday 11 July 2007 20:36:25 Enrico Forestieri wrote: Yes, this is r18988 striking again :( I don't think that this is related to the platform but rather to the compiler version. I think that gcc 3.x is missing some

Re: Exception when opening Document-settings on Solaris

2007-07-12 Thread Enrico Forestieri
On Thu, Jul 12, 2007 at 09:26:55AM +0200, Jean-Marc Lasgouttes wrote: Pavel == Pavel Sanda [EMAIL PROTECTED] writes: Anyway, after r18988 LyX is not so much forgiving about wrong locales. On Linux, try for example: $ env LC_ALL=foo ./src/lyx-qt4 and you will get that exception,

Re: Exception when opening Document-settings on Solaris

2007-07-12 Thread Enrico Forestieri
On Thu, Jul 12, 2007 at 10:53:54AM +0100, José Matos wrote: On Thursday 12 July 2007 10:41:25 Enrico Forestieri wrote: This one would also catch MSVC, which AFAIK has no problem with the locale sorting. OK. You can commit the change. I did it. -- Enrico

Re: Exception when opening Document-settings on Solaris

2007-07-12 Thread Enrico Forestieri
On Thu, Jul 12, 2007 at 12:54:39PM +0200, Pavel Sanda wrote: wont be possible to avoid any ifdefs by doing something like : try locale stuff (init+sort); catch any_error: do non_locale stuff Note that this is used in a sorting context, so the comparison should be as fast as possible. I

Re: Towards LyX 1.4.5 [status update #1]

2007-07-12 Thread Enrico Forestieri
On Thu, Jul 12, 2007 at 03:50:40PM +0200, Jean-Marc Lasgouttes wrote: Jean-Pierre Chrétien [EMAIL PROTECTED] writes: beamer.layout is not up do date compared to 1.5.version (see attachment http://bugzilla.lyx.org/attachment.cgi?id=1626action=view to bug 3141). I applied the patch. What

Re: Exception when opening Document-settings on Solaris

2007-07-12 Thread Enrico Forestieri
On Thu, Jul 12, 2007 at 05:18:04PM +0100, José Matos wrote: On Thursday 12 July 2007 16:51:55 Jürgen Spitzmüller wrote: For 1.5.0, I propose the attached. Jürgen OK then. Enrico earlier agreed with this and then we will have more time to fix this properly. Please, wait a minute. I

Re: Exception when opening Document-settings on Solaris

2007-07-12 Thread Enrico Forestieri
On Thu, Jul 12, 2007 at 06:32:28PM +0200, Jürgen Spitzmüller wrote: Enrico Forestieri wrote: Please, wait a minute. I have another option. too late. No problem. The attached patch should solve the problems related to sorting according to the locale rules. I think that there is no other way

Re: Exception when opening Document-settings on Solaris

2007-07-12 Thread Enrico Forestieri
On Thu, Jul 12, 2007 at 05:36:03PM +0100, José Matos wrote: On Thursday 12 July 2007 17:26:54 Enrico Forestieri wrote: I have another option. Tell us more. :-) The exception is thrown by the locale constructor, not when the ordering is performed. So, we catch it there and then either use

Re: Exception when opening Document-settings on Solaris

2007-07-12 Thread Enrico Forestieri
On Thu, Jul 12, 2007 at 07:16:45PM +0200, Jürgen Spitzmüller wrote: José Matos wrote: I saw the patch and I agree with the way it is done. This time though I will be on the safe side (read chicken) and I would suggest to delay this for 1.5.1. OK? I was about to say the same. The patch

Re: [patch] bug 1820 --- footnotes in different language

2007-07-12 Thread Enrico Forestieri
On Thu, Jul 12, 2007 at 09:19:15PM +0300, Dov Feldstern wrote: What the patch is trying to fix is the case where a language switch was being missed, for example in the following situation: document language is english \lang english bla bla bla \lang hebrew BLA BLA BLA \footnote \lang

Re: [patch] bug 1820 --- footnotes in different language

2007-07-12 Thread Enrico Forestieri
On Fri, Jul 13, 2007 at 01:27:09AM +0300, Dov Feldstern wrote: Enrico Forestieri wrote: Writing again bla bla bla, I got: (Point 3a) bla bla bla \foreignlanguage{italian}{BLA BLA BLA}% \footnote{bla bla bla% } which lacks the \selectlanguage commands, meaning that I

Re: [patch] bug 1820 --- footnotes in different language

2007-07-12 Thread Enrico Forestieri
On Fri, Jul 13, 2007 at 12:47:20AM +0200, Enrico Forestieri wrote: On Fri, Jul 13, 2007 at 01:27:09AM +0300, Dov Feldstern wrote: Enrico Forestieri wrote: Writing again bla bla bla, I got: (Point 3a) bla bla bla \foreignlanguage{italian}{BLA BLA BLA}% \footnote{bla

Re: [patch] bug 1820 --- footnotes in different language

2007-07-12 Thread Enrico Forestieri
On Fri, Jul 13, 2007 at 02:31:05AM +0300, Dov Feldstern wrote: Enrico Forestieri wrote: With your patch applied, when I mark as english the footnote content I correctly see a \selectlanguage{english} inserted before bla bla bla. But I also see that the whole footnote inset is marked

Re: [patch] bug 1820 --- footnotes in different language

2007-07-12 Thread Enrico Forestieri
On Fri, Jul 13, 2007 at 03:05:39AM +0300, Dov Feldstern wrote: Enrico Forestieri wrote: On Fri, Jul 13, 2007 at 02:31:05AM +0300, Dov Feldstern wrote: Enrico Forestieri wrote: With your patch applied, when I mark as english the footnote content I correctly see a \selectlanguage{english

<    1   2   3   4   5   6   7   8   9   10   >