On 3/12/12 12:31, Dominik Wujastyk wrote:
No, /this/ is a minimal sample:

    \documentclass{book}
    \usepackage[utf8]{inputenc}
    \usepackage[T1]{fontenc}
    \setmainfont[Script=Malayalam]{Rachana}
    \usepackage[oldlipi]{omal}
    \begin{document}
    ഇതൊരു സാമ്പിള്‍ ഫയല്‍. ഇതൊരു സാമ്പിള്‍ ഫയല്‍. ഇതൊരു സാമ്പിള്‍ ഫയല്‍. ഇതൊരു
    സാമ്പിള്‍ ഫയല്‍. ഇതൊരു സാമ്പിള്‍ ഫയല്‍. ഇതൊരു സാമ്പിള്‍ ഫയല്‍. ഇതൊരു 
സാമ്പിള്‍
    ഫയല്‍. ഇതൊരു സാമ്പിള്‍ ഫയല്‍. ഇതൊരു സാമ്പിള്‍ ഫയല്‍. ഇതൊരു സാമ്പിള്‍ ഫയല്‍. 
ഇതൊരു
    സാമ്പിള്‍
    ഫയല്‍. ഇതൊരു സാമ്പിള്‍ ഫയല്‍.
    \end{document}



As others have already said, use fontspec or polyglossia (the latter
calls fontspec, and adds some other nice language-handling stuff).
Don't use inputenc or fontenc.  Fontspec and Polyglossia replace all
that pre-unicode stuff.

I don't have omal on my system, and I haven't time to explore what it
does, so I can't test that.
A Google search for "omal tex package" quickly reveals that (as implied by the error message about \ocp) this is a package specifically intended for typesetting Malayalam using Omega. As such, it won't work in any other *TeX engine. And it's certainly not needed/wanted in xe(la)tex. Just remove it.

JK



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

Reply via email to