Dear all,<br><br>  I  following this code.<br><br>
<style type="text/css">p, li { white-space: pre-wrap; }</style>
<p style="margin: 0px; text-indent: 0px;">\documentclass{article}</p>
<p style="margin: 0px; text-indent: 0px;">\usepackage{fontspec}</p>
<p style="margin: 0px; text-indent: 0px;">\setmainfont{DejaVu Serif}</p>
<p style="margin: 0px; text-indent: 0px;">\newfontfamily{\tam}[Script=Tamil]{Lohit Tamil}</p>
<p style="margin: 0px; text-indent: 0px;">\defaultfontfeatures{Scale=MatchLowercase}</p>
<p style="margin: 0px; text-indent: 0px;">\begin{document}</p>
<p style="margin: 0px; text-indent: 0px;">நலம் </p>
<p style="margin: 0px; text-indent: 0px;">\end{document}</p><br><br>Error Message:<br>
<style type="text/css">p, li { white-space: pre-wrap; }</style>
<p style="margin: 0px; text-indent: 0px;">! Fatal fontspec error: "not-pdftex"</p>
<p style="margin: 0px; text-indent: 0px;">!</p>
<p style="margin: 0px; text-indent: 0px;">! Requires XeTeX or LuaTeX to function!</p>
<p style="margin: 0px; text-indent: 0px;">!</p>
<p style="margin: 0px; text-indent: 0px;">! See the fontspec documentation for further information.</p>
<p style="margin: 0px; text-indent: 0px;">! For immediate help type H <return>.</p><br>Now i am using Texlive2010 and Ubuntu10.10.<br><br><br>What solution.,.,.<br>-- <br>with regards,<br>T.Sengottuvel<br>