Re: Lyx is overrideing Layout-Preferences

2004-02-10 Thread Georg Baum
Jean-Marc Lasgouttes wrote: -137??? What kind of change have they done to the xforms package they ship? For example they use the following line to determine the current locale (can be found in patch xforms-1.0-i18n.patch in the .src.rpm): char * loc = setlocale(LC_ALL, ); According to 'man

Re: Lyx is overrideing Layout-Preferences

2004-02-10 Thread Juergen Spitzmueller
Jean-Marc Lasgouttes wrote: Could you (and Juergen?) try the attached patch. On my machine, I get the following debug info: schuss: LC_ALL=de_DE src/lyx parse_init: [1] LC_NUMERIC=C parse_init: [2] LC_NUMERIC=de_DE parse_init: [3] LC_NUMERIC=C As you see, xforms sets the locale to de_DE,

Re: Lyx is overrideing Layout-Preferences

2004-02-10 Thread Juergen Spitzmueller
Georg Baum wrote: For example they use the following line to determine the current locale (can be found in patch xforms-1.0-i18n.patch in the .src.rpm): char * loc = setlocale(LC_ALL, ); According to 'man setlocale' this should be char * loc = setlocale(LC_ALL, NULL); Maybe this is the

Re: Lyx is overrideing Layout-Preferences

2004-02-10 Thread Jean-Marc Lasgouttes
Juergen == Juergen Spitzmueller [EMAIL PROTECTED] writes: Juergen Georg Baum wrote: Maybe this is the problem. This line is inside a function use_fonset() that seems to be called very often, so a workaround in LyX might not be easy. I do not really see how we could do that. Juergen Well

Re: Lyx is overrideing Layout-Preferences

2004-02-10 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: Yes, please. It would be interesting to know where they took the patch from, I do not see any CJK patch for xforms on the CJK-LyX page, and as far as far as I can remember nothing of the sort was sent to the xforms mailing list. I think it was. Attached is a

Re: Lyx is overrideing Layout-Preferences

2004-02-10 Thread Juergen Spitzmueller
Jean-Marc Lasgouttes wrote: Juergen Should I submit a bug report to the package author? Yes, please. Done. It would be interesting to know where they took the patch from, I do not see any CJK patch for xforms on the CJK-LyX page, and as far as far as I can remember nothing of the sort

Re: Lyx is overrideing Layout-Preferences

2004-02-10 Thread Juergen Spitzmueller
Angus Leeming wrote: I think it was. Attached is a something pretty close to the thing that CG Han used to make cjk-lyx 1.3.x. This diff contains only the changes that he made to xforms. It expands to 110kB... Hmm at least it contains the same error (L. 268) -- if this is an error. Jürgen.

Re: Lyx is overrideing Layout-Preferences

2004-02-10 Thread Angus Leeming
Juergen Spitzmueller wrote: Angus Leeming wrote: I think it was. Attached is a something pretty close to the thing that CG Han used to make cjk-lyx 1.3.x. This diff contains only the changes that he made to xforms. It expands to 110kB... Hmm at least it contains the same error (L. 268) --

Re: Lyx is overrideing Layout-Preferences

2004-02-10 Thread Juergen Spitzmueller
Angus Leeming wrote: I think that it is fair to say that CG was hacking the xforms sources to get something useable. Given that I acted as 'consultant' to this hack and given that my knowledge of X is minimal, I'm amazed that the thing got off the ground at all. Angus, it was not my intention

Re: Lyx is overrideing Layout-Preferences

2004-02-10 Thread Angus Leeming
Juergen Spitzmueller wrote: I think that it is fair to say that CG was hacking the xforms sources to get something useable. Given that I acted as 'consultant' to this hack and given that my knowledge of X is minimal, I'm amazed that the thing got off the ground at all. Angus, it was not my

Re: Fuzzy images on explorer (off-topic)

2004-02-10 Thread Helge Hafting
Jan-Åke Larsson wrote: Perhaps you are using Exploder? I've just had a look at that page in IE on a high-res laptop. The system is tuned for 120 dpi rather than the 96 dpi that usually is standard. It seems MS in their infinite wisdom have decided to scale all images 125% on such displays. Which

Re: Fuzzy images on explorer (off-topic)

2004-02-10 Thread Jan-Åke Larsson
Helge Hafting wrote: Jan-Åke Larsson wrote: I have yet to find a fix for this. The images are _generated_ at the appropriate scale. NO SCALING is necessary. Possibly, I could scale the images 80% first shudder. Any better suggestions? Read that page. It says that scaling happens when some

Re: Lyx is overrideing Layout-Preferences

2004-02-10 Thread Jean-Marc Lasgouttes
Angus == Angus Leeming [EMAIL PROTECTED] writes: Angus If the man pages say use NULL, then use NULL. If you tell CG Angus [EMAIL PROTECTED], then he'll be able to Angus correct his sources too, or at least explain why he made the Angus change. Could you do it, or do you want me to? JMarc

Re: Lyx is overrideing Layout-Preferences

2004-02-10 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: Angus If the man pages say use NULL, then use NULL. If you tell CG Angus [EMAIL PROTECTED], then he'll be able to Angus correct his sources too, or at least explain why he made the Angus change. Could you do it, or do you want me to? You please. Deadlines loom

LyX 1.3.3/Qt/cygwin works

2004-02-10 Thread Sivan Toledo
I finally managed to build LyX 1.3.3 (essentially no source changes, except for 3 declarations that I had to comment out) on top of Qt 3 on cygwin, as an X11 client. See the details at http://www.tau.ac.il/~stoledo/lyx_cygwin.html The page mentions a few problems in the sources (these few

[(nowhere)] [Bug 1483] 0 font sizes after saving personal values

2004-02-10 Thread Jean-Marc Lasgouttes
Juergen, Georg, could you confirm that this works? I think this means that I have nothing to do to fix the bug in LyX... I like that! JMarc ---BeginMessage--- http://bugzilla.lyx.org/show_bug.cgi?id=1483 --- Additional Comments From [EMAIL PROTECTED] 2004-02-10 16:32 --- If this

Re: AGUplus fix

2004-02-10 Thread Jean-Marc Lasgouttes
Martin == Martin Vermeer [EMAIL PROTECTED] writes: Martin On Mon, Feb 09, 2004 at 03:39:56PM +0100, Jean-Marc Lasgouttes Martin spake thusly: ... Could you also send me a one line description of what you did (for the announcement?) Martin OK here it is. Thanks, I added everything to

LaTeX-symbols in XFigs using figtops?

2004-02-10 Thread Claus Hindsgaul
Hi LyX developers, The package fig2ps in Debian unstable contain a small perl script by Vincent Fourmond, which does excactly what it says. But compared to the fig2dev (used by default by LyX 1.3.3), it lets LaTeX process any text in the figure with the special flag set, so that you can have any

Re: [(nowhere)] [Bug 1483] 0 font sizes after saving personal values

2004-02-10 Thread Georg Baum
Jean-Marc Lasgouttes wrote: Juergen, Georg, could you confirm that this works? Wow, that was quick. I could not test on 9.0 this time, but on 8.2 it works indeed. I think this means that I have nothing to do to fix the bug in LyX... I like that! ;-) Georg

Re: LyX 1.3.3/Qt/cygwin works

2004-02-10 Thread Kayvan A. Sylvan
On Tue, Feb 10, 2004 at 05:35:53PM +0200, Sivan Toledo wrote: Also, I think that the run-time configure script could use a little upgrade on Windows. This is because the path names that LyX emits now (e.g. inside generated LaTeX files) are good for Win32 TeX's (I use fpTeX), but they do not

Re: LaTeX-symbols in XFigs using figtops?

2004-02-10 Thread Angus Leeming
Claus Hindsgaul wrote: The package fig2ps in Debian unstable contain a small perl script by Vincent Fourmond, which does excactly what it says. But compared to the fig2dev (used by default by LyX 1.3.3), it lets LaTeX process any text in the figure with the special flag set, so that you can

Re: [(nowhere)] [Bug 1483] 0 font sizes after saving personal values

2004-02-10 Thread Juergen Spitzmueller
Jean-Marc Lasgouttes wrote: Juergen, Georg, could you confirm that this works? It does. Mike Fabian has been very kind (and fast). Here is the fix (based on our proposals): diff -ru xforms-1.0-release.orig/lib/flresource.c xforms-1.0-release/lib/flresource.c ---

Re: [(nowhere)] [Bug 1483] 0 font sizes after saving personal values

2004-02-10 Thread Juergen Spitzmueller
Jean-Marc Lasgouttes wrote: Juergen, Georg, could you confirm that this works? It does. Mike Fabian has been very kind (and fast). Here is the fix (based on our proposals): diff -ru xforms-1.0-release.orig/lib/flresource.c xforms-1.0-release/lib/flresource.c ---

Patch for LyX/Mac localedir (1.3.4cvs)

2004-02-10 Thread Ronald Florence
This patch adapts Jean-Marc's proposed localdir patch so it works only for LyX/Mac. It allows LyX/Mac to find its localedir in the relocatable Application bundle. Should have no effect on other architectures. (For 1.3.4) -- Ronald lyx-localedir.patch Description: Binary data

Re: [PATCH] Make LyX find its localized messages without hardcoding

2004-02-10 Thread Ronald Florence
Lars Gullik Bjønnes wrote: | What is wrong with including this patch and adding a caveat to the | documentation telling a user who has done something like |./configure --prefix=/usr/share --localedir=/usr/lib/locale | to set LYX_LOCALEDIR in the environment? Why can't a LyX/Aqua user do

Re: Lyx is overrideing Layout-Preferences

2004-02-10 Thread Georg Baum
Jean-Marc Lasgouttes wrote: > -137??? What kind of change have they done to the xforms package they > ship? For example they use the following line to determine the current locale (can be found in patch xforms-1.0-i18n.patch in the .src.rpm): char * loc = setlocale(LC_ALL, ""); According to

Re: Lyx is overrideing Layout-Preferences

2004-02-10 Thread Juergen Spitzmueller
Jean-Marc Lasgouttes wrote: > Could you (and Juergen?) try the attached patch. On my machine, I get > the following debug info: > > schuss: LC_ALL=de_DE src/lyx > parse_init: [1] LC_NUMERIC=C > parse_init: [2] LC_NUMERIC=de_DE > parse_init: [3] LC_NUMERIC=C > > As you see, xforms sets the locale

Re: Lyx is overrideing Layout-Preferences

2004-02-10 Thread Juergen Spitzmueller
Georg Baum wrote: > For example they use the following line to determine the current locale > (can be found in patch xforms-1.0-i18n.patch in the .src.rpm): > > char * loc = setlocale(LC_ALL, ""); > > According to 'man setlocale' this should be > > char * loc = setlocale(LC_ALL, NULL); > > Maybe

Re: Lyx is overrideing Layout-Preferences

2004-02-10 Thread Jean-Marc Lasgouttes
> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes: Juergen> Georg Baum wrote: >> Maybe this is the problem. This line is inside a function >> use_fonset() that seems to be called very often, so a workaround in >> LyX might not be easy. I do not really see how we could do that.

Re: Lyx is overrideing Layout-Preferences

2004-02-10 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: > Yes, please. It would be interesting to know where they took the > patch from, I do not see any CJK patch for xforms on the CJK-LyX > page, and as far as far as I can remember nothing of the sort was > sent to the xforms mailing list. I think it was. Attached is a

Re: Lyx is overrideing Layout-Preferences

2004-02-10 Thread Juergen Spitzmueller
Jean-Marc Lasgouttes wrote: > Juergen> Should I submit a bug report to the package author? > > Yes, please. Done. > It would be interesting to know where they took the patch > from, I do not see any CJK patch for xforms on the CJK-LyX page, and > as far as far as I can remember nothing of the

Re: Lyx is overrideing Layout-Preferences

2004-02-10 Thread Juergen Spitzmueller
Angus Leeming wrote: > I think it was. Attached is a something pretty close to the thing that > CG Han used to make cjk-lyx 1.3.x. This diff contains only the > changes that he made to xforms. It expands to 110kB... Hmm at least it contains the same error (L. 268) -- if this is an error. Jürgen.

Re: Lyx is overrideing Layout-Preferences

2004-02-10 Thread Angus Leeming
Juergen Spitzmueller wrote: > Angus Leeming wrote: >> I think it was. Attached is a something pretty close to the thing >> that CG Han used to make cjk-lyx 1.3.x. This diff contains only the >> changes that he made to xforms. It expands to 110kB... > > Hmm at least it contains the same error (L.

Re: Lyx is overrideing Layout-Preferences

2004-02-10 Thread Juergen Spitzmueller
Angus Leeming wrote: > I think that it is fair to say that CG was hacking the xforms sources > to get something useable. Given that I acted as 'consultant' to this > hack and given that my knowledge of X is minimal, I'm amazed that the > thing got off the ground at all. Angus, it was not my

Re: Lyx is overrideing Layout-Preferences

2004-02-10 Thread Angus Leeming
Juergen Spitzmueller wrote: >> I think that it is fair to say that CG was hacking the xforms >> sources to get something useable. Given that I acted as >> 'consultant' to this hack and given that my knowledge of X is >> minimal, I'm amazed that the thing got off the ground at all. > > Angus, it

Re: Fuzzy images on explorer (off-topic)

2004-02-10 Thread Helge Hafting
Jan-Åke Larsson wrote: Perhaps you are using Exploder? I've just had a look at that page in IE on a high-res laptop. The system is tuned for 120 dpi rather than the 96 dpi that usually is standard. It seems MS in their infinite wisdom have decided to scale all images 125% on such displays. Which

Re: Fuzzy images on explorer (off-topic)

2004-02-10 Thread Jan-Åke Larsson
Helge Hafting wrote: > Jan-Åke Larsson wrote: > >I have yet to find a fix for this. The images are _generated_ at the > >appropriate scale. NO SCALING is necessary. Possibly, I could scale > >the images 80% first . Any better suggestions? > > Read that page. It says that scaling happens when some

Re: Lyx is overrideing Layout-Preferences

2004-02-10 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> If the man pages say use NULL, then use NULL. If you tell CG Angus> <[EMAIL PROTECTED]>, then he'll be able to Angus> correct his sources too, or at least explain why he made the Angus> change. Could you do it, or do you want me

Re: Lyx is overrideing Layout-Preferences

2004-02-10 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: > Angus> If the man pages say use NULL, then use NULL. If you tell CG > Angus> <[EMAIL PROTECTED]>, then he'll be able to > Angus> correct his sources too, or at least explain why he made the > Angus> change. > > Could you do it, or do you want me to? You please.

LyX 1.3.3/Qt/cygwin works

2004-02-10 Thread Sivan Toledo
I finally managed to build LyX 1.3.3 (essentially no source changes, except for 3 declarations that I had to comment out) on top of Qt 3 on cygwin, as an X11 client. See the details at http://www.tau.ac.il/~stoledo/lyx_cygwin.html The page mentions a few problems in the sources (these few

[(nowhere)] [Bug 1483] 0 font sizes after saving personal values

2004-02-10 Thread Jean-Marc Lasgouttes
Juergen, Georg, could you confirm that this works? I think this means that I have nothing to do to fix the bug in LyX... I like that! JMarc --- Begin Message --- http://bugzilla.lyx.org/show_bug.cgi?id=1483 --- Additional Comments From [EMAIL PROTECTED] 2004-02-10 16:32 --- If

Re: AGUplus fix

2004-02-10 Thread Jean-Marc Lasgouttes
> "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes: Martin> On Mon, Feb 09, 2004 at 03:39:56PM +0100, Jean-Marc Lasgouttes Martin> spake thusly: ... >> Could you also send me a one line description of what you did (for >> the announcement?) Martin> OK here it is. Thanks, I added

LaTeX-symbols in XFigs using figtops?

2004-02-10 Thread Claus Hindsgaul
Hi LyX developers, The package fig2ps in Debian unstable contain a small perl script by Vincent Fourmond, which does excactly what it says. But compared to the fig2dev (used by default by LyX 1.3.3), it lets LaTeX process any text in the figure with the "special" flag set, so that you can have

Re: [(nowhere)] [Bug 1483] 0 font sizes after saving personal values

2004-02-10 Thread Georg Baum
Jean-Marc Lasgouttes wrote: > Juergen, Georg, could you confirm that this works? Wow, that was quick. I could not test on 9.0 this time, but on 8.2 it works indeed. > I think this means that I have nothing to do to fix the bug in LyX... > I like that! ;-) Georg

Re: LyX 1.3.3/Qt/cygwin works

2004-02-10 Thread Kayvan A. Sylvan
On Tue, Feb 10, 2004 at 05:35:53PM +0200, Sivan Toledo wrote: > Also, I think that the run-time configure script could use a little > upgrade on Windows. This is because the path names that LyX emits now > (e.g. inside generated LaTeX files) are good for Win32 TeX's (I use > fpTeX), but they do

Re: LaTeX-symbols in XFigs using figtops?

2004-02-10 Thread Angus Leeming
Claus Hindsgaul wrote: > The package fig2ps in Debian unstable contain a small perl script by > Vincent Fourmond, which does excactly what it says. > But compared to the fig2dev (used by default by LyX 1.3.3), it lets > LaTeX process any text in the figure with the "special" flag set, so > that

Re: [(nowhere)] [Bug 1483] 0 font sizes after saving personal values

2004-02-10 Thread Juergen Spitzmueller
Jean-Marc Lasgouttes wrote: > Juergen, Georg, could you confirm that this works? It does. Mike Fabian has been very kind (and fast). Here is the fix (based on our proposals): diff -ru xforms-1.0-release.orig/lib/flresource.c xforms-1.0-release/lib/flresource.c ---

Re: [(nowhere)] [Bug 1483] 0 font sizes after saving personal values

2004-02-10 Thread Juergen Spitzmueller
Jean-Marc Lasgouttes wrote: > Juergen, Georg, could you confirm that this works? It does. Mike Fabian has been very kind (and fast). Here is the fix (based on our proposals): diff -ru xforms-1.0-release.orig/lib/flresource.c xforms-1.0-release/lib/flresource.c ---

Patch for LyX/Mac localedir (1.3.4cvs)

2004-02-10 Thread Ronald Florence
This patch adapts Jean-Marc's proposed localdir patch so it works only for LyX/Mac. It allows LyX/Mac to find its localedir in the relocatable Application bundle. Should have no effect on other architectures. (For 1.3.4) -- Ronald lyx-localedir.patch Description: Binary data

Re: [PATCH] Make LyX find its localized messages without hardcoding

2004-02-10 Thread Ronald Florence
Lars Gullik Bjønnes wrote: | What is wrong with including this patch and adding a caveat to the | documentation telling a user who has done something like |./configure --prefix=/usr/share --localedir=/usr/lib/locale | to set LYX_LOCALEDIR in the environment? Why can't a LyX/Aqua user do