Re: patches: make lyx 1.2.0 work for Turkish again

2002-08-13 Thread Jean-Marc Lasgouttes
> "Mike" == Mike Fabian <[EMAIL PROTECTED]> writes: Mike> But this patch is really only a hack and certainly should not Mike> applied like that to the upstream version of LyX. I only Mike> attached it to show what the problem is. There must be a better Mike> solution. Yes, but I really do no

Re: patches: make lyx 1.2.0 work for Turkish again

2002-07-22 Thread Mike Fabian
Togan Muftuoglu <[EMAIL PROTECTED]> writes: > * Jean-Marc Lasgouttes; <[EMAIL PROTECTED]> on 03 Jul, 2002 wrote: >>> "Togan" == Togan Muftuoglu <[EMAIL PROTECTED]> writes: >> >>Togan> In my opinion this has nothing to do with Lyx as the Turkish >>Togan> keyboard mapping file is broken with XF

Re: patches: make lyx 1.2.0 work for Turkish again

2002-07-16 Thread Jean-Marc Lasgouttes
> "Jean-Marc" == Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: Jean-Marc> I'd appreciate comments on this patch (and testing). I plan Jean-Marc> to apply it to 1.2.1, and apply something cleaner (if Jean-Marc> possible; ideas are welcome) to 1.3.0cvs. I applied it to 1.2.x branch and will

Re: patches: make lyx 1.2.0 work for Turkish again

2002-07-16 Thread Jean-Marc Lasgouttes
> "Togan" == Togan Muftuoglu <[EMAIL PROTECTED]> writes: Togan> * Jean-Marc Lasgouttes; <[EMAIL PROTECTED]> on 16 Jul, Togan> 2002 wrote: >> Andre> Looks straight forward, doesn't it? >> Mostly, except that in some cases we want case changing to respect >> the locale (search&replace). Also,

Re: patches: make lyx 1.2.0 work for Turkish again

2002-07-16 Thread Togan Muftuoglu
* Jean-Marc Lasgouttes; <[EMAIL PROTECTED]> on 16 Jul, 2002 wrote: > >Andre> Looks straight forward, doesn't it? > >Mostly, except that in some cases we want case changing to respect the >locale (search&replace). Also, I'd like some turkish locale users to >try it out and check that it does what I

Re: patches: make lyx 1.2.0 work for Turkish again

2002-07-16 Thread Jean-Marc Lasgouttes
> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: Andre> On Tue, Jul 16, 2002 at 12:01:10AM +0200, Jean-Marc Lasgouttes Andre> wrote: >> I'd appreciate comments on this patch Andre> Looks straight forward, doesn't it? Mostly, except that in some cases we want case changing to respect t

Re: patches: make lyx 1.2.0 work for Turkish again

2002-07-15 Thread Andre Poenitz
On Tue, Jul 16, 2002 at 12:01:10AM +0200, Jean-Marc Lasgouttes wrote: > I'd appreciate comments on this patch Looks straight forward, doesn't it? Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)

Re: patches: make lyx 1.2.0 work for Turkish again

2002-07-15 Thread Jean-Marc Lasgouttes
Hello, Here is an adapted version of the lyx-1.2.0-turkish.patch that Mike posted. The main difference is that I created a ascii_lowercase function because there are some occasions where one wants to honor locale in case, and others when it is unwanted. I'd appreciate comments on this patch (and

Re: patches: make lyx 1.2.0 work for Turkish again

2002-07-10 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> | Why do we want case insensitive token anyway? Lars> Same question I have. Actually I think now that we should first add methods to check token values regardless of case sensitivity. The core code does not have t know about

Re: patches: make lyx 1.2.0 work for Turkish again

2002-07-04 Thread Andre Poenitz
On Thu, Jul 04, 2002 at 05:33:03PM +0200, Jean-Marc Lasgouttes wrote: > Andre> ... and since a few layouts distributed with LyX are already > Andre> only relevant for certain languages (dinbrief for instance) > Andre> "dumb ascii-only case-compare" is not a proper solution, > Andre> either. > > H

Re: patches: make lyx 1.2.0 work for Turkish again

2002-07-04 Thread Jean-Marc Lasgouttes
> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: Andre> On Thu, Jul 04, 2002 at 05:07:15PM +0200, Jean-Marc Lasgouttes Andre> wrote: >> Let me repeat: we want 'Input' and 'input' to be the same. They are >> not the same under turkish locale. Conclusion: we need either (1) >> to use a du

Re: patches: make lyx 1.2.0 work for Turkish again

2002-07-04 Thread Andre Poenitz
On Thu, Jul 04, 2002 at 05:07:15PM +0200, Jean-Marc Lasgouttes wrote: > Let me repeat: we want 'Input' and 'input' to be the same. They are > not the same under turkish locale. Conclusion: we need either (1) to > use a dumb ascii-only case-compare (what we do now) or (2) to get rid > of the case-i

Re: patches: make lyx 1.2.0 work for Turkish again

2002-07-04 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> It enables you (us?) to treat two strings that differ only by Angus> case as if they are identical. Angus> It is guaranteed to work correctly for all locales. Let me repeat: we want 'Input' and 'input' to be the same. They are no

Re: patches: make lyx 1.2.0 work for Turkish again

2002-07-04 Thread Andre Poenitz
On Thu, Jul 04, 2002 at 03:39:52PM +0100, Angus Leeming wrote: > It enables you (us?) to treat two strings that differ only by case as if they > are identical. > > It is guaranteed to work correctly for all locales. I doubt that this is technically possible as there are languages which map low

Re: patches: make lyx 1.2.0 work for Turkish again

2002-07-04 Thread Angus Leeming
On Thursday 04 July 2002 3:53 pm, Jean-Marc Lasgouttes wrote: > > "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: > > Angus> or we could replace our home grown compare_no_case with a > Angus> "proper", locale-sensitive one. See attached. > > What does this code do exactly? What we want he

Re: patches: make lyx 1.2.0 work for Turkish again

2002-07-04 Thread Andre Poenitz
On Thu, Jul 04, 2002 at 04:50:46PM +0200, Jean-Marc Lasgouttes wrote: > Lars> Same question I have. > > Yes, now is maybe the time to switch to case-sensitive. What sort of > casing? MixedCase? I guess most existing layout files use that. I don't care. So MixedCase is fine with me. Andre' --

Re: patches: make lyx 1.2.0 work for Turkish again

2002-07-04 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> or we could replace our home grown compare_no_case with a Angus> "proper", locale-sensitive one. See attached. What does this code do exactly? What we want here is to compare in a way which is independent of locale (let me remind

Re: patches: make lyx 1.2.0 work for Turkish again

2002-07-04 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> Andre Poenitz <[EMAIL PROTECTED]> writes: Lars> | On Wed, Jul 03, 2002 at 04:27:32PM +0100, Angus Leeming wrote: >>> > Or we could remove these checks, as they are used a bit on a >>> random > basis, and I am not sure how usefu

Re: patches: make lyx 1.2.0 work for Turkish again

2002-07-03 Thread Lars Gullik Bjønnes
Andre Poenitz <[EMAIL PROTECTED]> writes: | On Wed, Jul 03, 2002 at 04:27:32PM +0100, Angus Leeming wrote: >> > Or we could remove these checks, as they are used a bit on a random >> > basis, and I am not sure how useful they actually are. >> > >> > JMarc >> >> or we could replace our home grown

Re: patches: make lyx 1.2.0 work for Turkish again

2002-07-03 Thread Andre Poenitz
On Wed, Jul 03, 2002 at 04:27:32PM +0100, Angus Leeming wrote: > > Or we could remove these checks, as they are used a bit on a random > > basis, and I am not sure how useful they actually are. > > > > JMarc > > or we could replace our home grown compare_no_case with a "proper", > locale-sensiti

Re: patches: make lyx 1.2.0 work for Turkish again

2002-07-03 Thread Angus Leeming
On Wednesday 03 July 2002 4:34 pm, Jean-Marc Lasgouttes wrote: > > "Togan" == Togan Muftuoglu <[EMAIL PROTECTED]> writes: > > Togan> Well it depends as I am using the patched version of Lyx. (the > Togan> very patch Mike was discussing regarding making Lyx 1.2.0 work > Togan> again). So someho

Re: patches: make lyx 1.2.0 work for Turkish again

2002-07-03 Thread Jean-Marc Lasgouttes
> "Togan" == Togan Muftuoglu <[EMAIL PROTECTED]> writes: Togan> Well it depends as I am using the patched version of Lyx. (the Togan> very patch Mike was discussing regarding making Lyx 1.2.0 work Togan> again). So somehow what Mike did has to be incorporated into Togan> LyX. Without Mike's p

Re: patches: make lyx 1.2.0 work for Turkish again

2002-07-03 Thread Togan Muftuoglu
* Jean-Marc Lasgouttes; <[EMAIL PROTECTED]> on 03 Jul, 2002 wrote: >> "Togan" == Togan Muftuoglu <[EMAIL PROTECTED]> writes: > >Togan> In my opinion this has nothing to do with Lyx as the Turkish >Togan> keyboard mapping file is broken with XFree86 4.2 I am using a >Togan> different keyboard f

Re: patches: make lyx 1.2.0 work for Turkish again

2002-07-03 Thread Jean-Marc Lasgouttes
> "Togan" == Togan Muftuoglu <[EMAIL PROTECTED]> writes: Togan> In my opinion this has nothing to do with Lyx as the Turkish Togan> keyboard mapping file is broken with XFree86 4.2 I am using a Togan> different keyboard file and since tr-TR.UTF-8 does not work Togan> with Lyx as long as I hav

Re: patches: make lyx 1.2.0 work for Turkish again

2002-07-01 Thread Togan Muftuoglu
Hi, * Jean-Marc Lasgouttes; <[EMAIL PROTECTED]> on 01 Jul, 2002 wrote: >> "Mike" == Mike Fabian <[EMAIL PROTECTED]> writes: >Mike> Then the problem remains that some Turkish characters cannot by >Mike> typed into LyX when using the Turkish keyboard mapping >Mike> ('setxkbmap tr'). For exampl

Re: patches: make lyx 1.2.0 work for Turkish again

2002-07-01 Thread Jean-Marc Lasgouttes
> "Mike" == Mike Fabian <[EMAIL PROTECTED]> writes: Hello Mike, Thanks for the patches Mike> But there are many other places in the current LyX source code Mike> where tags are converted to lowercase with the locale dependent Mike> tolower() function before conversion and the subsequent Mik