[XeTeX] Hyphenating Tamil

Venkatesan. S.K. (TNQ) skvenkat at tnq.co.in
Sat Jun 26 06:40:56 CEST 2010


> Date: Thu, 24 Jun 2010 18:14:11 +0200
> From: Ulrike Fischer <news3 at nililand.de>
> To: xetex at tug.org
> Subject: Re: [XeTeX] Hyphenating Tamil
> Message-ID: <pg13j5aup6am.dlg at nililand.de>
> Content-Type: text/plain; charset="us-ascii"
>
> Am Thu, 24 Jun 2010 15:55:50 +0530 schrieb Venkatesan. S.K. (TNQ):
>
> > Hi,
> >
> > I am trying to demo XeTeX for a Tamil conference coming up in a couple of
> > days from now.
> > I am not able to make words break although I try different things.
> > I found that Santhosh Thottingal's hyphenation patterns is there
> > (texmf\tex\generic\hyph-utf8\patterns\hyph-ta.tex)
> > and it does get loaded by
> > texmf\tex\generic\hyph-utf8\loadhyph\loadhyph-ta.tex file also.
> > But I am not able to break any word at all.
>
> Well you are using the french language (\usepackage[french]{babel})
> so naturally it will not use tamil hyphenation. Try
> \hyphenrules{tamil} at the start of the document (after
> \begin{document}) or \begin{hyphenrule}{tamil} ...
> \end{hyphenrules}} if you want the hyphenation only for some parts
> of your document.
>
> You should also consider to use \usepackage[french]{polyglossia}
> instead of babel.
>
>
> --
> Ulrike Fischer
>
>

Thanks that seems to work in Windows...
No luck yet with my Ubuntu (9.10 - the Karmic Koala)..

I try:

\documentclass[11pt]{article}
\usepackage{xltxtra}
\usepackage[french]{polyglossia}
\setmainfont[Mapping=tex-text, Script=Tamil]{FreeSerif}
\begin{document}
\begin{hyphenrules}{tamil}

I get among other things...

(/usr/share/texmf-texlive/tex/xelatex/misc/makecmds.sty)
Undefined control sequence.
l.94 \newXeTeXintercharclass
                            \xpg at normalclass %TODO

I suppose some things are seriously broken....
May be I can solve it by upgrading to latest Ubuntu
 and upgrading the packages...

Suki
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/xetex/attachments/20100626/51a2725c/attachment.html>


More information about the XeTeX mailing list