[XeTeX] Problem with compling an xelatex file

Jonathan Kew jfkthame at googlemail.com
Mon Dec 3 13:45:33 CET 2012


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



More information about the XeTeX mailing list