[XeTeX] Latex+Tamil
Shrisha Rao
shrao at nyx.net
Sat Dec 11 14:33:54 CET 2010
El dic 11, 2010, a las 6:58 p.m., Sengottuvel escribió:
> Dear all,
>
> I following this code.
>
> \documentclass{article}
> \usepackage{fontspec}
> \setmainfont{DejaVu Serif}
> \newfontfamily{\tam}[Script=Tamil]{Lohit Tamil}
> \defaultfontfeatures{Scale=MatchLowercase}
> \begin{document}
> நலம்
> \end{document}
>
>
> Error Message:
> ! Fatal fontspec error: "not-pdftex"
> !
> ! Requires XeTeX or LuaTeX to function!
> !
> ! See the fontspec documentation for further information.
> ! For immediate help type H <return>.
>
> Now i am using Texlive2010 and Ubuntu10.10.
>
>
> What solution.,.,.
As others have pointed out, using fontspec is possible with XeLaTeX but not with plain old LaTeX.
It also seems to me that the Tamil text in your file is actually supposed to be rendered using DejaVu Serif, as you have not enclosed the same in {\tam ...}.
Regards,
Shrisha Rao
> T.Sengottuvel
More information about the XeTeX
mailing list