# [OS X TeX] Malayalam and other Indian languages on Mac

Peter Dyballa Peter_Dyballa at Web.DE
Sat Jul 7 21:02:56 CEST 2012

Am 07.07.2012 um 17:27 schrieb NMPOST7:

> \documentclass[dvips]{article}

Why are you setting dvips as DVI to PostScript convertor? PdfTeX can do that in one step. And produce PDF, not just PS which needs to be converted to PDF in another step.

> \usepackage{fontspec}
> \setmainfont[Script=Malayalam]{AnjaliOldLipi}

Here you are using XeTeX. What is the relation of dvips to XeTeX? (There is, if at all, only a very small list of packages or class files that need to be told the name of the TeX engine.)

> \begin{document}
> മലയാളം    malay\=alam
> \end{document}
>
>
> when compiled the Malayalam letters remain. The other letters are in sans serif
> but the accent disappears! :(

Does the font have ā? (With the XeTeX engine you can use the xunicode package to construct accented characters from the ASCII character plus some accent.)

--
Greetings

Pete

The human animal differs from the lesser primates in his passion for lists of "Ten Best."
– H. Allen Smith