<pre>\documentclass[12pt,a4paper]{book}<br>\usepackage{fontspec}<br>\setromanfont[Script=Devanagari]{Code2000}<br>\language=\sanskrit<br><br>\begin{document}<br><br>उद्दिष्टः समाहितचित्तस्य योगः&nbsp;। कथं व्युत्थितचित्तोऽपि योगयुक्तः स्यादित्येतदारभ्यते&nbsp;।<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">&lt;<a href="mailto:reinhard.kotucha@web.de">reinhard.kotucha@web.de</a>&gt;</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>
&nbsp;&gt; I want to use xelatex to write Sanskrit. I need to have hyphenation<br>
&nbsp;&gt; for my project. I saw<br>
&nbsp;&gt; <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>
&nbsp;&gt; can&#39;t use this hyphenation. when I put \language=\sanskrit, it<br>
&nbsp;&gt; gives error.<br>
&nbsp;&gt;<br>
&nbsp;&gt; can someone help me?<br>
<br>
</div>It&#39;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. &nbsp;If you don&#39;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>
 &nbsp;Reinhard<br>
<font color="#888888"><br>
--<br>
----------------------------------------------------------------------------<br>
Reinhard Kotucha &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Phone: +49-511-3373112<br>
Marschnerstr. 25<br>
D-30167 Hannover &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;mailto:<a href="mailto:reinhard.kotucha@web.de">reinhard.kotucha@web.de</a><br>
----------------------------------------------------------------------------<br>
Microsoft isn&#39;t the answer. Microsoft is the question, and the answer is NO.<br>
----------------------------------------------------------------------------<br>
</font></blockquote></div><br>