<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Date: Thu, 24 Jun 2010 18:14:11 +0200<br>
From: Ulrike Fischer <<a href="mailto:news3@nililand.de">news3@nililand.de</a>><br>
To: <a href="mailto:xetex@tug.org">xetex@tug.org</a><br>
Subject: Re: [XeTeX] Hyphenating Tamil<br>
Message-ID: <<a href="mailto:pg13j5aup6am.dlg@nililand.de">pg13j5aup6am.dlg@nililand.de</a>><br>
Content-Type: text/plain; charset="us-ascii"<br>
<br>
Am Thu, 24 Jun 2010 15:55:50 +0530 schrieb Venkatesan. S.K. (TNQ):<br>
<br>
> Hi,<br>
><br>
> I am trying to demo XeTeX for a Tamil conference coming up in a couple of<br>
> days from now.<br>
> I am not able to make words break although I try different things.<br>
> I found that Santhosh Thottingal's hyphenation patterns is there<br>
> (texmf\tex\generic\hyph-utf8\patterns\hyph-ta.tex)<br>
> and it does get loaded by<br>
> texmf\tex\generic\hyph-utf8\loadhyph\loadhyph-ta.tex file also.<br>
> But I am not able to break any word at all.<br>
<br>
Well you are using the french language (\usepackage[french]{babel})<br>
so naturally it will not use tamil hyphenation. Try<br>
\hyphenrules{tamil} at the start of the document (after<br>
\begin{document}) or \begin{hyphenrule}{tamil} ...<br>
\end{hyphenrules}} if you want the hyphenation only for some parts<br>
of your document.<br>
<br>
You should also consider to use \usepackage[french]{polyglossia}<br>
instead of babel.<br>
<br>
<br>
--<br>
Ulrike Fischer<br>
<br></blockquote><div><br><br>Thanks that seems to work in Windows...<br>No luck yet with my Ubuntu (9.10 - the Karmic Koala)..<br><br>I try:<br><br>\documentclass[11pt]{article}<br>\usepackage{xltxtra}<br>\usepackage[french]{polyglossia}<br>
\setmainfont[Mapping=tex-text, Script=Tamil]{FreeSerif}<br>\begin{document}<br>\begin{hyphenrules}{tamil}<br><br>I get among other things...<br><br>(/usr/share/texmf-texlive/tex/xelatex/misc/makecmds.sty)<br>Undefined control sequence.<br>
l.94 \newXeTeXintercharclass<br> \xpg@normalclass %TODO<br><br>I suppose some things are seriously broken....<br>May be I can solve it by upgrading to latest Ubuntu<br> and upgrading the packages...<br>
<br>Suki<br></div></div>