Re: math-matrix dialog broken on systems without support for wchar_t

2007-07-29 Thread Stefan Schimanski
Doh! Seems that the Mac also needs using our custom facets. Please try the attached patch and let me know if it works. You'll have to recompile lyx pratically from scratch, sorry for that. Hmpf... better use this one, I goofed (__APPLE_ vs __APPLE__). Your patch works. I get a matrix of th

Re: Massive Bug in 1.5.0 according to tabs

2007-07-29 Thread Andre Poenitz
On Sun, Jul 29, 2007 at 05:40:19PM -0500, Bo Peng wrote: > > I think I have been very verbose on the multi-view thing. > > For this particular feature, the consensus was that we should decide > whether or not to disable it when 1.5.0 is released. As far as I can > see, multi-view was so stable at

Re: 1.4.5.1 (1.4.5 second try)

2007-07-29 Thread christian . ridderstrom
On Thu, 26 Jul 2007, Jürgen Spitzmüller wrote: José Matos wrote: Someone with write permissions should announce LyX 1.4.5.1 and 1.5.0 on the LyX website. Michael Don't you have access? I am sorry, I have to leave now. The packages are already in the stable section of ftp.devel.lyx.org I've

Re: Layout question

2007-07-29 Thread christian . ridderstrom
On Sun, 29 Jul 2007, Paul A. Rubin wrote: José Matos wrote: On Sunday 15 July 2007 22:06:10 Paul A. Rubin wrote: > If some kind developer would test these and then commit them if > appropriate, I would be obliged. If you'd prefer diff files, that could > probably be arranged. Sorry for th

[patch] bug 4076: math-matrix dialog broken on systems without support for wchar_t

2007-07-29 Thread Enrico Forestieri
http://bugzilla.lyx.org/show_bug.cgi?id=4076 I have finally implemented all the missing facets for idocstreams. Will commit the patch tomorrow if I don't get objections. Jürgen, may I also commit to branch? -- Enrico Index: src/support/docstring.cpp ==

Re: 1.5.0 "slowness"

2007-07-29 Thread Bob Lounsbury
On 7/28/07, Martin Vermeer <[EMAIL PROTECTED]> wrote: > On Fri, Jul 27, 2007 at 02:54:30PM -0600, Bob Lounsbury wrote: > > I know this has been discussed in the past and I've been one to bring > > it up, since I'm using a 600Mhz iBook running Ubuntu and OSX. > > > > Just for the information, I've t

Re: Massive Bug in 1.5.0 according to tabs

2007-07-29 Thread Bo Peng
> I think I have been very verbose on the multi-view thing. For this particular feature, the consensus was that we should decide whether or not to disable it when 1.5.0 is released. As far as I can see, multi-view was so stable at the end of the RC cycle that no one suggested to disable it. The o

Re: Massive Bug in 1.5.0 according to tabs

2007-07-29 Thread Andre Poenitz
On Sun, Jul 29, 2007 at 01:57:16PM -0500, Bo Peng wrote: > > Which reminds me of the recent poll regarding issues of the 1.5 > > development cycle: There were too many people pushing their favourite > > half-baked feature very late in the process and there have been several > > Just-because-I-can s

Re: 1.5.0 "slowness"

2007-07-29 Thread Andre Poenitz
On Sun, Jul 29, 2007 at 09:08:32PM +0300, Martin Vermeer wrote: > On Sun, Jul 29, 2007 at 05:34:14PM +0200, Pavel Sanda wrote: > > > Does this have to do with enabling dri (direct rendering > > > interface? I remember that required 16 bits. > > > > today i accidentaly came to similar problem when

[SOLVED] Re: error on execution of my own built Lyx 1.5.0

2007-07-29 Thread Tim Michelsen
I compiled and installed again. It works now very well. WOW. Great! Lyx 1.5.x is a very nice Program. I am impressed about the huge improvement. I will now be catapulted from old 1.4.3 (current Ubuntu version) to the new 1.5.0 era. Congrats. I will go and spread the word! Thanks.

error on execution of my own built Lyx 1.5.0

2007-07-29 Thread Tim Michelsen
Hello, I successfully compiled and installed my Lyx 1.5.0 that I had bilt from the sources on Ubuntu Feisty Fawn (current stable). But when I try to run Lyx I get the following error: $: lyx-1.5.0 Error: No system directory Unable to determine the syste

Re: Massive Bug in 1.5.0 according to tabs

2007-07-29 Thread Bo Peng
> Which reminds me of the recent poll regarding issues of the 1.5 > development cycle: There were too many people pushing their favourite > half-baked feature very late in the process and there have been several > Just-because-I-can style commits that got never reverted. Everyone knows this and it

Re: [patch] bug 672: Should insets replace selections?

2007-07-29 Thread Bo Peng
On 7/29/07, Jürgen Spitzmüller <[EMAIL PROTECTED]> wrote: > http://bugzilla.lyx.org/show_bug.cgi?id=672 > > This is another long-term issue I wanted to fix long ago. Since the changes > are trivial, I'd like to put this in branch and trunk. The patch also fixes > bug 683 (use selection when inserti

Re: 1.5.0 "slowness"

2007-07-29 Thread Martin Vermeer
On Sun, Jul 29, 2007 at 05:34:14PM +0200, Pavel Sanda wrote: > > Does this have to do with enabling dri (direct rendering > > interface? I remember that required 16 bits. > > today i accidentaly came to similar problem when upgrading my Xorg and > drivers of graphic card - dri didnt initialize wel

Re: Massive Bug in 1.5.0 according to tabs

2007-07-29 Thread Jürgen Spitzmüller
Sven Schreiber wrote: > >> when you create two documents at once LyX 1.5.0. combines the text from > >> the first window with the text in the second one after you changed it by > >> clicking on the specific tab. DVI is OK. But the text in the second > >> window is mixed up with the first one. > > >

[patch] bug 672: Should insets replace selections?

2007-07-29 Thread Jürgen Spitzmüller
http://bugzilla.lyx.org/show_bug.cgi?id=672 This is another long-term issue I wanted to fix long ago. Since the changes are trivial, I'd like to put this in branch and trunk. The patch also fixes bug 683 (use selection when inserting URL). Objections? Jürgen Index: src/Text3.cpp ==

Re: math-matrix dialog broken on systems without support for wchar_t

2007-07-29 Thread Enrico Forestieri
On Sun, Jul 29, 2007 at 06:15:53PM +0200, Enrico Forestieri wrote: > On Sun, Jul 29, 2007 at 05:17:39PM +0200, Stefan Schimanski wrote: > > > > Hmm, I doubt that this is the same case as I think that the Mac has > > > proper support for wchar_t, hasn't it? > > > > > > My problem is due to the fol

Re: math-matrix dialog broken on systems without support for wchar_t

2007-07-29 Thread Enrico Forestieri
On Sun, Jul 29, 2007 at 05:17:39PM +0200, Stefan Schimanski wrote: > > Hmm, I doubt that this is the same case as I think that the Mac has > > proper support for wchar_t, hasn't it? > > > > My problem is due to the following line in InsetMathNest.cpp: > > > > is >> m >> n >> v_align >>

Re: 1.5.0 "slowness"

2007-07-29 Thread Pavel Sanda
> Does this have to do with enabling dri (direct rendering > interface? I remember that required 16 bits. today i accidentaly came to similar problem when upgrading my Xorg and drivers of graphic card - dri didnt initialize well and X fall back from hardware dri to some sofware version of renderin

Re: math-matrix dialog broken on systems without support for wchar_t

2007-07-29 Thread Stefan Schimanski
Hmm, I doubt that this is the same case as I think that the Mac has proper support for wchar_t, hasn't it? My problem is due to the following line in InsetMathNest.cpp: is >> m >> n >> v_align >> h_align; where 'is' is an idocstringstream. The extraction fails because 'm' and 'n

Re: Layout question

2007-07-29 Thread Paul A. Rubin
José Matos wrote: On Sunday 15 July 2007 22:06:10 Paul A. Rubin wrote: If some kind developer would test these and then commit them if appropriate, I would be obliged. If you'd prefer diff files, that could probably be arranged. Sorry for the web links, but I tried posting this through GMANE w

Re: Feature request: Default open command for PDF [OS X]

2007-07-29 Thread Andrea Censi
On 7/29/07, Bennett Helm <[EMAIL PROTECTED]> wrote: > On Jul 29, 2007, at 5:03 AM, Andrea Censi wrote: > > > > The default open command for PDFs is "gv" -- why not set it to the > > generic "open", which then uses my system-wide preference? > > Actually, unless you have changed things in your prefe

Re: Keymaps

2007-07-29 Thread Andre Poenitz
On Fri, Jul 27, 2007 at 05:20:27PM +0300, Dov Feldstern wrote: > >In my case, the majority of my work was written in English, but as I'm > >using a Swedish keyboard (keymap?), I always had the 'åäö' available. > >And I can of course write all English words using a Swedish keymap. > > > >For more d

Re: Keymaps

2007-07-29 Thread Andre Poenitz
On Fri, Jul 27, 2007 at 04:58:46PM +0300, Dov Feldstern wrote: > >>>Or would I have to write \french{Andr\'e} \german{P\"onitz} to get my > >>>name right in LyX? > >>> > >>>Andre' > >>> > >>;) > >> > >>Seriously, though, do you switch keymaps every time you type your name? > >>Or are you already u

Re: Feature request: Default open command for PDF [OS X]

2007-07-29 Thread Bennett Helm
On Jul 29, 2007, at 5:03 AM, Andrea Censi wrote: The default open command for PDFs is "gv" -- why not set it to the generic "open", which then uses my system-wide preference? Actually, unless you have changed things in your preferences, the default viewer for pdfs is "auto" which, on Macs,

Re: Massive Bug in 1.5.0 according to tabs

2007-07-29 Thread Andre Poenitz
On Fri, Jul 27, 2007 at 02:01:25AM +0200, Pavel Sanda wrote: > > > Sorry, Pavel. I cannot understand it. I tested it three times, > > > some hours ago, > > > > no problem, this is not the only bug which is difficult to pinpoint > > and appears only randomly. if you find some way how to reproduce

Re: math-matrix dialog broken on systems without support for wchar_t

2007-07-29 Thread Enrico Forestieri
On Sun, Jul 29, 2007 at 11:13:27AM +0200, Stefan Schimanski wrote: > > Am 29.07.2007 um 09:24 schrieb Enrico Forestieri: > > > Just reported as bug 4076: > > > > The math matrix dialog is broken on systems without support for > > wchar_t, such as Windows (with both mingw and cygwin) and FreeBSD.

Re: 1.5.0 segfault on --export text

2007-07-29 Thread Jürgen Spitzmüller
Neal Becker wrote: > Program received signal SIGSEGV, Segmentation fault. > [Switching to Thread 46912496420320 (LWP 21577)] > lyx::LyX::hideDialogs (this=, [EMAIL PROTECTED], > inset=0x108c4c0) at LyX.cpp:389 (gdb) where Please file a bug report. I'm sure Abdel will fix this in a second when he's

[patch] Re: Bug: screen is not properly redrawn when switching tabs [OS X]

2007-07-29 Thread Jürgen Spitzmüller
Mael Hilléreau wrote: > > probably > > http://bugzilla.lyx.org/show_bug.cgi?id=3969 > > That's it! ;-) Does the attached patch help? Jürgen Index: src/LyXFunc.cpp === --- src/LyXFunc.cpp (Revision 19223) +++ src/LyXFunc.cpp (Arbeitsk

Re: [patch] bug 2571: Colors are not sorted

2007-07-29 Thread Jürgen Spitzmüller
Jürgen Spitzmüller wrote: > http://bugzilla.lyx.org/show_bug.cgi?id=2571 > > This patch from Hartmut has been ignored for too long. I've updated it and > want to put it in branch and trunk. > > Objections? Take this one instead. Jürgen Index: src/frontends/qt4/QPrefs.cpp =

Re: 1.5.0 segfault on --export text

2007-07-29 Thread Neal Becker
Neal Becker wrote: > Program received signal SIGSEGV, Segmentation fault. > [Switching to Thread 46912496420320 (LWP 21577)] > lyx::LyX::hideDialogs (this=, [EMAIL PROTECTED], > inset=0x108c4c0) at LyX.cpp:389 (gdb) where > #0 lyx::LyX::hideDialogs (this=, [EMAIL PROTECTED], > #inset=0x108c4c0) a

1.5.0 segfault on --export text

2007-07-29 Thread Neal Becker
Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 46912496420320 (LWP 21577)] lyx::LyX::hideDialogs (this=, [EMAIL PROTECTED], inset=0x108c4c0) at LyX.cpp:389 (gdb) where #0 lyx::LyX::hideDialogs (this=, [EMAIL PROTECTED], inset=0x108c4c0) at LyX.cpp:389 #1 0x006

[patch] bug 2571: Colors are not sorted

2007-07-29 Thread Jürgen Spitzmüller
http://bugzilla.lyx.org/show_bug.cgi?id=2571 This patch from Hartmut has been ignored for too long. I've updated it and want to put it in branch and trunk. Objections? Jürgen Index: src/frontends/qt4/QPrefs.cpp === --- src/frontend

Re: Bug: screen is not properly redrawn when switching tabs [OS X]

2007-07-29 Thread Mael Hilléreau
Selon Jürgen Spitzmüller <[EMAIL PROTECTED]>: > Mael Hilléreau wrote: > > I can confirm (Intel Mac OS X.4.10). I already noticed this some time ago > > but didn't report as I thought there was a bug report (no more able to find > > it however; perhaps I confused with another one). > > probably > h

Re: Bug: screen is not properly redrawn when switching tabs [OS X]

2007-07-29 Thread Jürgen Spitzmüller
Mael Hilléreau wrote: > I can confirm (Intel Mac OS X.4.10). I already noticed this some time ago > but didn't report as I thought there was a bug report (no more able to find > it however; perhaps I confused with another one). probably http://bugzilla.lyx.org/show_bug.cgi?id=3969 (I confirmed th

Re: Bug (regression): \textdegree [OS X]

2007-07-29 Thread Jürgen Spitzmüller
Andrea Censi wrote: > I attach the document newfile1.lyx and newfile1.tex in a tar.gz > archive, to make sure that the encoding is not changed by email. Strange. Both your LyX- and the LaTeX-example compile fine here (inputenc should have no problem with a native °). Jürgen

Re: Feature request: Forcing re-rendering of math insets?

2007-07-29 Thread Mael Hilléreau
Selon Stefan Schimanski <[EMAIL PROTECTED]>: > I am confused. What do you mean by 3) ? I type $\mycommand$ in the > document. Of course it is rendered as an unknown tex tag on screen, > but rendered correctly in dvi/pdf output. If I change the preample > the screen view does not change, but the pd

Re: Bug: screen is not properly redrawn when switching tabs [OS X]

2007-07-29 Thread Mael Hilléreau
Selon Andrea Censi <[EMAIL PROTECTED]>: > Say I have two documents open. Document A is long and occupies more than > one screen. Document B is short. > If I switch from tab A to tab B, not all the screen is redrawn: there is > document B on the top half, while in the bottom half there is still par

Re: Bug (regression): \textdegree [OS X]

2007-07-29 Thread Andrea Censi
Steps to reproduce: 1) new document, save as newfile1.lyx 2) enter "°" 3) export latex (plain) 4) $ latex newfile1.tex Error: = (/sw/share/texmf-dist/tex/latex/base/ts1cmr.fd) ! Package inputenc Error: Keyboard character used is undefined (inputenc)in inputencoding `latin

Re: Feature request: Forcing re-rendering of math insets?

2007-07-29 Thread Stefan Schimanski
There are two cases to discuss. ### Using \newcommand in the the LyX document preamble. I get this behaviour: 1) new document 2) write this in preamble: \newcommand{\mycommand}{ciao} 3) create math inset (equivalent of $\mycommand$). math is properly rendered 4) change the preamble in

Re: Bug (regression): \textdegree [OS X]

2007-07-29 Thread Jürgen Spitzmüller
Andrea Censi wrote: > On a Mac, if I enter the "degree" symbol (°), LyX writes it as-is on the > LaTeX output, and this produces an inputenc error. Please post the error. Jürgen

Re: Feature request: Forcing re-rendering of math insets?

2007-07-29 Thread Andrea Censi
Stefan Schimanski wrote: >> I make heavy use of macros (\newcommand). If I change one definition, I >> have to close and re-open the LyX file to have the math re-rendered with >> the new definition. How can I force the re-rendering? > > Even with the 1.5 implementation they should be updated autom

Re: Feature request: Forcing re-rendering of math insets?

2007-07-29 Thread Alfredo Braunstein
Stefan Schimanski wrote: > > Am 29.07.2007 um 11:06 schrieb Andrea Censi: > >> I make heavy use of macros (\newcommand). If I change one ^^^ >> definition, I >> have to close and re-open the LyX file to have the math re-rendered >> with >> the new definitio

Re: Feature request: Forcing re-rendering of math insets?

2007-07-29 Thread Stefan Schimanski
Am 29.07.2007 um 11:06 schrieb Andrea Censi: I make heavy use of macros (\newcommand). If I change one definition, I have to close and re-open the LyX file to have the math re-rendered with the new definition. How can I force the re-rendering? Even with the 1.5 implementation they should

Re: math-matrix dialog broken on systems without support for wchar_t

2007-07-29 Thread Stefan Schimanski
Am 29.07.2007 um 09:24 schrieb Enrico Forestieri: Just reported as bug 4076: The math matrix dialog is broken on systems without support for wchar_t, such as Windows (with both mingw and cygwin) and FreeBSD. Whatever value is entered for the number of rows and columns, a 1x1 matrix is always g

Feature request: Forcing re-rendering of math insets?

2007-07-29 Thread Andrea Censi
I make heavy use of macros (\newcommand). If I change one definition, I have to close and re-open the LyX file to have the math re-rendered with the new definition. How can I force the re-rendering? -- Andrea Censi "Life is too important to be taken seriously" (Oscar Wilde) Web: http://www.

Bug: screen is not properly redrawn when switching tabs [OS X]

2007-07-29 Thread Andrea Censi
Say I have two documents open. Document A is long and occupies more than one screen. Document B is short. If I switch from tab A to tab B, not all the screen is redrawn: there is document B on the top half, while in the bottom half there is still part of document A. Pretty figure: Screen displayi

Feature request: Default open command for PDF [OS X]

2007-07-29 Thread Andrea Censi
The default open command for PDFs is "gv" -- why not set it to the generic "open", which then uses my system-wide preference? -- Andrea Censi "Life is too important to be taken seriously" (Oscar Wilde) Web: http://www.dis.uniroma1.it/~censi

Bug (regression): \textdegree [OS X]

2007-07-29 Thread Andrea Censi
On a Mac, if I enter the "degree" symbol (°), LyX writes it as-is on the LaTeX output, and this produces an inputenc error. This happened on a document which compiled fine with LyX 1.4.4. I don't know much about the encoding mess. Should the (°) be substituted with \textdegree ? -- Andrea Cens

Feature request: friendlier reconfigure

2007-07-29 Thread Andrea Censi
Hello everybody! I really enjoyed the new 1.5 release. The wait was well worth it! However, I have run into some old and new glitches, so expect a few emails about my experience with 1.5. --- I have several versions of Latex installed, so I was trying to set the "path" correctly into LyX's prefe

Re: 1.4.5.1 (1.4.5 second try)

2007-07-29 Thread Enrico Forestieri
On Sat, Jul 28, 2007 at 06:06:08PM +0200, Jürgen Spitzmüller wrote: > Enrico Forestieri wrote: > > I have placed a cygwin binary at ftp://ftp.devel.lyx.org/pub/incoming. > > There should be archive named lyx-1.4.5-cygwin.tar.gz which is incomplete > > due to a reset during the upload, and a succes

math-matrix dialog broken on systems without support for wchar_t

2007-07-29 Thread Enrico Forestieri
Just reported as bug 4076: The math matrix dialog is broken on systems without support for wchar_t, such as Windows (with both mingw and cygwin) and FreeBSD. Whatever value is entered for the number of rows and columns, a 1x1 matrix is always generated. On cygwin, LyX hangs after generating the 1