<pre>\documentclass[12pt,a4paper]{book}<br>\usepackage{fontspec}<br>\setromanfont[Script=Devanagari]{Code2000}<br>\language=\sanskrit<br><br>\begin{document}<br><br>उद्दिष्टः समाहितचित्तस्य योगः । कथं व्युत्थितचित्तोऽपि योगयुक्तः स्यादित्येतदारभ्यते ।<br>
<br><br>\end{document}<br></pre><br>the error says : undefined \language=\sanskrit<br><br><div class="gmail_quote">On Mon, Nov 17, 2008 at 1:16 PM, Reinhard Kotucha <span dir="ltr"><<a href="mailto:reinhard.kotucha@web.de">reinhard.kotucha@web.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">Jim Coroneos writes:<br>
> I want to use xelatex to write Sanskrit. I need to have hyphenation<br>
> for my project. I saw<br>
> <a href="http://ctan.org/tex-archive/macros/xetex/hyphenation/sanhyph/but" target="_blank">http://ctan.org/tex-archive/macros/xetex/hyphenation/sanhyph/but</a> I<br>
> can't use this hyphenation. when I put \language=\sanskrit, it<br>
> gives error.<br>
><br>
> can someone help me?<br>
<br>
</div>It's easier to help you if you provide a minimal example file which<br>
demonstrates the problem.<br>
<br>
Telling us that you encountered an error is not very helpful unless<br>
you provide the the error message itself. If you don't understand the<br>
error message, the best thing you can do is to post the .log file to<br>
the mailing list.<br>
<br>
Regards,<br>
Reinhard<br>
<font color="#888888"><br>
--<br>
----------------------------------------------------------------------------<br>
Reinhard Kotucha Phone: +49-511-3373112<br>
Marschnerstr. 25<br>
D-30167 Hannover mailto:<a href="mailto:reinhard.kotucha@web.de">reinhard.kotucha@web.de</a><br>
----------------------------------------------------------------------------<br>
Microsoft isn't the answer. Microsoft is the question, and the answer is NO.<br>
----------------------------------------------------------------------------<br>
</font></blockquote></div><br>