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. Deadl
> "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
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 wa
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 intent
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.
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.
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 s
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 som
> "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.
J
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 th
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
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 'ma
Jean-Marc Lasgouttes wrote:
> -137??? What kind of change have they done to the xforms package they
> ship?
Don't know. Maybe some automatic rebuilds?
> 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_ini
> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes:
Georg> Jean-Marc Lasgouttes wrote:
Juergen> I have glibc 2.3.2 (shipped with SuSE, probably updated by
Juergen> SuSE online update once or more). No idea. Maybe I'll try
Juergen> with SuSE 9.0 (which I have on my laptop).
>> Might be nice.
Jean-Marc Lasgouttes wrote:
> Juergen> I have glibc 2.3.2 (shipped with SuSE, probably updated by
> Juergen> SuSE online update once or more). No idea. Maybe I'll try
> Juergen> with SuSE 9.0 (which I have on my laptop).
>
> Might be nice.
I just tried on SuSE 9.0 with packages:
glibc-2.3.2-88
> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes:
Juergen> Jean-Marc Lasgouttes wrote:
>> That's very strange... Using your patch, I get a german interface
>> with the following command and correct debug output:
>>
>> schuss: LC_ALL=de_DE LC_NUMERIC=de_DE src/lyx locale (Numeric
Jean-Marc Lasgouttes wrote:
> That's very strange... Using your patch, I get a german interface with
> the following command and correct debug output:
>
> schuss: LC_ALL=de_DE LC_NUMERIC=de_DE src/lyx
> locale (Numeric): C
> locale (Numeric): C
> locale (Numeric): C
> locale (Numeric): C
> locale (
> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes:
Juergen> OK, I have added a debug message to xforms_helpers which
Juergen> outputs the current LC_NUMERIC setting (setlocale
Juergen> (LC_NUMERIC,NULL)) while running LyX. This is indeeed
Juergen> [EMAIL PROTECTED], so the setloca
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes:
Angus> However, not changing the existing default behaviour is always
Angus> a good thing, no?
Except that this was introduced in 0.89.5 to support input methods,
and I think that it was a bad decision at the time.
>> What kind of flag d
Jean-Marc Lasgouttes wrote:
>>> Actually, the call to setlocale(LC_ALL,"") in xforms is IMO an
>>> error, since a library should never set the locale like that. I
>>> wonder though whether removing it would break some apps relying on
>>> that. Angus, what do you think of that?
>
> Angus> Why not m
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes:
Angus> Jean-Marc Lasgouttes wrote:
>> Actually, the call to setlocale(LC_ALL,"") in xforms is IMO an
>> error, since a library should never set the locale like that. I
>> wonder though whether removing it would break some apps relying on
>
Jean-Marc Lasgouttes wrote:
> Actually, the call to setlocale(LC_ALL,"") in xforms is IMO an
> error, since a library should never set the locale like that. I
> wonder though whether removing it would break some apps relying on
> that. Angus, what do you think of that?
Why not make it configurable
Jean-Marc Lasgouttes wrote:
> Could you give me the exact patch, so that I can try here in the same
> conditions?
Yes. attached (against 1.3.4cvs).
> Juergen> This is indeeed [EMAIL PROTECTED], so the setlocale(LC_NUMERIC, "C")
> Juergen> call in gettext.C seems to have no effect (or seems to be
> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes:
Juergen> OK, I have added a debug message to xforms_helpers which
Juergen> outputs the current LC_NUMERIC setting (setlocale
Juergen> (LC_NUMERIC,NULL)) while running LyX.
Could you give me the exact patch, so that I can try her
Jean-Marc Lasgouttes wrote:
> In gettext.C:locale_init, we do a
> setlocale(LC_NUMERIC, "C");
> which is supposed to reset LC_NUMERIC to a good value. Might it be the
> "C" is not a valid locale for your glibc version? Maybe POSIX is
> better? What does 'man setlocale' say?
SuSE seems to pre
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes:
Lars> I thought 'C' was requried to exits by the standard.
I thought so too, but I do not have a better guess currently.
JMarc
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:
>> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes:
>
| Juergen> Juergen Spitzmueller wrote:
>>> > I saw it too late! Could you experiment with those variables
>>> (also > LC_MONETARY, maybe)? I cannot find any reference about what
> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes:
Juergen> Juergen Spitzmueller wrote:
>> > I saw it too late! Could you experiment with those variables
>> (also > LC_MONETARY, maybe)? I cannot find any reference about what
>> > LC_MEASUREMENT does...
>>
>> Not very much ATM.
J
Juergen Spitzmueller wrote:
> > I saw it too late! Could you experiment with those variables (also
> > LC_MONETARY, maybe)? I cannot find any reference about what
> > LC_MEASUREMENT does...
>
> Not very much ATM.
Well I did it nevertheless. LC_NUMERIC is to blame AFAICS. Setting this
variable to
Am Montag, 02. Februar 2004 17:36 schrieb Jean-Marc Lasgouttes:
> Juergen> Yes, see my previous mail (i guess either LC_NUMERIC or
> Juergen> LC_MEASUREMENT are to blame).
>
> I saw it too late! Could you experiment with those variables (also
> LC_MONETARY, maybe)? I cannot find any reference about
> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes:
Juergen> Jean-Marc Lasgouttes wrote:
>> Do you have any LC_* variables set?
Juergen> Yes, see my previous mail (i guess either LC_NUMERIC or
Juergen> LC_MEASUREMENT are to blame).
I saw it too late! Could you experiment with tho
Jean-Marc Lasgouttes wrote:
> Do you have any LC_* variables set?
Yes, see my previous mail (i guess either LC_NUMERIC or LC_MEASUREMENT are to
blame).
Jürgen
> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes:
Juergen> Jean-Marc Lasgouttes wrote:
>> What are the environment variables that are set when you change
>> your environment?
Juergen> Which ones? Default LANG is [EMAIL PROTECTED]
Do you have any LC_* variables set?
>> I do not
Am Montag, 02. Februar 2004 15:57 schrieb Juergen Spitzmueller:
> > What are the environment variables that are set when you change your
> > environment?
>
> Which ones?
OK, this is the output of locale before switching LANG to en_US:
[EMAIL PROTECTED]
LC_CTYPE="[EMAIL PROTECTED]"
LC_NUMERIC="[EM
Jean-Marc Lasgouttes wrote:
> What are the environment variables that are set when you change your
> environment?
Which ones? Default LANG is [EMAIL PROTECTED]
> I do not understand how LANG can change the writing of
> numbers?
Me neither. Note that this is an xforms specific problem.
> What
> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes:
Juergen> Alfredo Braunstein wrote:
>> Could it be a locale problem?
Juergen> Yes, seems so. The problem disappears when I switch LANG to
Juergen> en_US.
What are the environment variables that are set when you change your
enviro
Alfredo Braunstein wrote:
> Could it be a locale problem?
Yes, seems so. The problem disappears when I switch LANG to en_US.
Jürgen.
Juergen Spitzmueller wrote:
> More debugging showed that the problem is in
> updateWidgetsFromLengthString. This function passes a string const & str
> as LyXLength(str) to update WidgetsFromLength.
> But if I have a string str = 3.2cm, LyXLength(str).asString() returns 3cm.
> Now the question is:
Juergen Spitzmueller wrote:
> OK, this is a bug in the xforms frontend. The problem is that the length
> widgets in the xforms frontend strip all values behind the dot (while
> applying). I suspect that the bug is in xforms_helpers.C
> (getLengthFromWidgets), but it didn't find it.
> Any ideas?
Mo
Anca Tibor- Attila wrote:
> I have a quite big file (dissertation), with my own layout preferences:
> top margin: 2.5cm
> bottom margin: 2.5cm
>
> Lyx is always changing these parameters. If I open the Document and go
> to Layout->Document, there is always 2cm. The file is not
> write-protected, an
40 matches
Mail list logo