[XeTeX] Justifying text in a paragraph and hyphenating long words in a Devanagari document

Ravi Parimi rparimi at gmail.com
Tue Dec 29 14:28:26 CET 2009


Dear Yves,

Thanks a lot for your help. My doc now looks perfect!

Regards,
Ravi

On Tue, Dec 29, 2009 at 12:56 AM, Yves Codet <ycodet at club-internet.fr> wrote:
> Hello Ravi.
>
> Polyglossia can do want you want, but you have to tell it that your text is
> in sanskrit:
> \setdefaultlanguage{sanskrit}
> and to define a Sanskrit font:
> \newfontfamily\sanskritfont[RawFeature={Conjuncts=Additional
> Conjuncts}]{Devanagari MT}
> Polyglossia will load Sanskrit hyphenation patterns and your text should
> look like you wish.
>
> Please try the modified version of your sample file which is attached below.
>
> Best wishes,
>
> Yves
>
>
>
>
>
>
>


More information about the XeTeX mailing list