On Wed, Dec 18, 2013 at 11:25 PM, Hans Hagen <pra...@wxs.nl> wrote:
> On 12/18/2013 11:17 PM, Rajeesh K Nambiar wrote:
>>>
>>>
>>>
>>>>> i uploaded a beta that has the patterns and language definitions .. but
>>>>> up
>>>>> to you to check it and provide better settings if needed
>>>>
>>>>
>>
>> Thanks, Hans!
>> Now mkiv correctly loads the patterns and hyphenation works (though
>> even with \language[ml], log says "language 'en' is active").
>
>
> \language is a local command, use \mainlanguage instead

Does not seem to have an effect here. MWE:

\starttext
%\language[ml]
\mainlanguage[ml]
\definedfont[file:rachana*default]
കോണ്‍ടെക്സ്റ്റില്‍ മലയാളം ടൈപ്പ്സെറ്റ് ചെയ്തത്
\stoptext

The font, Rachana, could be found here:
http://download.savannah.gnu.org/releases/smc/fonts/malayalam-fonts-6.0/Rachana/Rachana.ttf

>
>
>> Is there a way to also enable mkii/texexec to load the patterns?
>> I did copy-paste the section from lang-def.mkiv to lang-ind.mkii and
>
>
> probably some more is needed, but in mkii you then also need tp use utf 8 i
> guess and have the right 8 bit fonts
>
>
>> also added an entry in lang-def.lua but the log does not show pattern
>> for ml loaded, in addition to mentioning "language ml is undefined".
>
>
> forget about mkii, using 8 bit tex is a bit of a nightmare for ml i think

Indeed, but I am using mkii with XeTeX backend (texexec --xetex). I'm
trying to make Malayalam shaping work on mkiv (taking Devanagari
font-odv.lua as example) but it is quite complex, till then I'm
depending on mkii+xetex.

>
>
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to