Am 30.03.2013 um 22:15 schrieb Ian-Mathew Hornburg:

> \latinfont will likely attempt to select a font set up for the actual
> Latin language, since that’s a language supported by polyglossia.
> \begin{english} / \textenglish{} / etc. is gonna be what you want, per
> the polyglossia documentation.

I think this is simpler:

        \newfontfamily\malayalamfont[Script=Malayalam]{Rachana}
        \newfontfamily\latinfont{Minion Pro}
        
        \newcount\n
        \n=`\ം \loop \XeTeXcharclass \n=4 \ifnum\n<`\ൿ \advance\n by 1 \repeat
        
        \XeTeXinterchartoks   0 4 {\malayalamfont}
        \XeTeXinterchartoks 255 4 {\malayalamfont}
        \XeTeXinterchartoks 255 0 {\latinfont}
        \XeTeXinterchartoks   4 0 {\latinfont}
                
        \XeTeXinterchartokenstate=1

Well, here in Apple's Mail.app I cannot see the characters from which the loop 
starts (\n=`\ം) and where it ends (\n<`\ൿ). They are from MALAYALAM SIGN 
ANUSVARA, U+0D02, until MALAYALAM LETTER CHILLU K, U+0D7F.

--
Greetings

  Pete

If you're not confused, you're not paying attention.




--------------------------------------------------
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex

Reply via email to