Re: [patch] support for Urdu

2016-10-27 Thread Uwe Stöhr

Am 27.10.2016 um 00:12 schrieb Jean-Marc Lasgouttes:


I dis not have time to look at it but I guess it is actually fine if 
polyglossia does the work.


OK, it is in now.

regards Uwe


Re: [patch] support for Urdu

2016-10-26 Thread Jean-Marc Lasgouttes
I dis not have time to look at it but I guess it is actually fine if 
polyglossia does the work.

JMarc

Le 27 octobre 2016 00:06:30 GMT+02:00, "Uwe Stöhr"  a écrit :
>Am 23.10.2016 um 16:49 schrieb Uwe Stöhr:
>
>>> Why would we have
>>> lots of hardcoded tests for arabic and friends but not urdu?? Did
>you
>>> look at each of these tests as I advised and then decided that each
>of
>>> them was unnecessary for Urdu?
>>
>> No, since I did not know that we need special tests for the different
>> languages. I can also not find these tests, where are they? Could you
>> please what I should do with the Arabic tests for Urdu? That would be
>> nice since I never used these tests yet.
>
>Ping.
>
>Jamil reported it works for him so I would put Urdu support in soon.
>
>thanks and regards
>Uwe


Re: [patch] support for Urdu

2016-10-26 Thread Uwe Stöhr

Am 23.10.2016 um 16:49 schrieb Uwe Stöhr:


Why would we have
lots of hardcoded tests for arabic and friends but not urdu?? Did you
look at each of these tests as I advised and then decided that each of
them was unnecessary for Urdu?


No, since I did not know that we need special tests for the different
languages. I can also not find these tests, where are they? Could you
please what I should do with the Arabic tests for Urdu? That would be
nice since I never used these tests yet.


Ping.

Jamil reported it works for him so I would put Urdu support in soon.

thanks and regards
Uwe


Re: [patch] support for Urdu

2016-10-23 Thread Uwe Stöhr

Am 23.10.2016 um 13:26 schrieb Jean-Marc Lasgouttes:


I do not see the code that make the LaTeX output work.


One does not need special LaTeX code, that is the advantage of 
LuaTeX/XeTeX with polyglossia. No more nasty hacks. If one tells 
polyglossia that the following text is in Urdu, LuaTeX and XeTeX will 
handle it correctly. I googled around a lot and it seems that people are 
happy with this.
As I understood it, ArabTeX was once invented in times of 8bit chars and 
its last release is therefore from 2004. Arabi was once created to 
handle Arabic script despite that LaTeX could not handle Unicode input. 
XeTeX and LuaTeX can handle Unicode input and I also found out that one 
can e.g. also use Korean via polyglossia and then also no special LaTeX 
commands are necessary. So as I understood it, with an Unicode-TeX 
engine one can use any language like a language using Latin script.
And yes, LyX uses this already. Look e.g. at Telugu: we support it for 
years, it has its own script system but we don't need any special LaTeX 
code.


Nevertheless I just sent a mail to the Urdu guy who once tested our Urdu 
support. I hope he could have a look.


> Why would we have

lots of hardcoded tests for arabic and friends but not urdu?? Did you
look at each of these tests as I advised and then decided that each of
them was unnecessary for Urdu?


No, since I did not know that we need special tests for the different 
languages. I can also not find these tests, where are they? Could you 
please what I should do with the Arabic tests for Urdu? That would be 
nice since I never used these tests yet.


thanks and regards
Uwe


Re: [patch] support for Urdu

2016-10-23 Thread Jean-Marc Lasgouttes

Le 23/10/2016 à 04:09, Uwe Stöhr a écrit :

Support for Urdu was once denied because of font problems. The
corresponding bug reported by an Urdu-speaking LyX user is fixed in LyX
2.2: http://www.lyx.org/trac/ticket/9066

Therefore I don't see a reason why LyX cannot support Urdu. Attached is
the patch and a LyX testfile to play with.


I do not see the code that make the LaTeX output work. Why would we have 
lots of hardcoded tests for arabic and friends but not urdu?? Did you 
look at each of these tests as I advised and then decided that each of 
them was unnecessary for Urdu?


JMarc