<div dir="ltr">Thank you sir.<div><br></div><div>Now I will start working on that. </div><div><br></div><div>Thanks a lot once again.</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 27, 2015 at 5:02 PM, Zdenek Wagner <span dir="ltr"><<a href="mailto:zdenek.wagner@gmail.com" target="_blank">zdenek.wagner@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Dear Shivashankar,<br><br></div>I do not know Kannada, I even do not know other scripts, I know only Devanagari and I think that the problems will be similar. Hyphenation in Unicode aware engines is quite simple, if you have the patterns. TeX hyphenates words and a word is defined as a sequence of characters with \catcode=11 and nonzero \lccode. The sequence most not contain TeX primitives, explicite \kern etc. If you have a Unicode aware engine, all you have to do is to set \catcode, \lccode, \uccode, and insert the patterns for iniTeX. 8-bit engines do not allow it When placing matras or probably also conjuncts you have to use primitives that must not be inside a word, hyphenation hence cannot be used. However, babel requires specification of a hyphenation file. It is possible to specify zerohyph which means "no hyphenation". Hindi contains mostly short words and hyphenatin is not needed but for Sanskrit it may be important. The Velthuis package solves it in a simple way. The feasible breakpoints can be found algorithmically, so the preprocessor puts \- to all such places. As default \- is not output, you have to switch this feature on.<br><br></div>Hope this helps.<br></div><div class="gmail_extra"><br clear="all"><div><div>Zdeněk Wagner<br><a href="http://hroch486.icpf.cas.cz/wagner/" target="_blank">http://hroch486.icpf.cas.cz/wagner/</a><br><a href="http://icebearsoft.euweb.cz" target="_blank">http://icebearsoft.euweb.cz</a></div></div>
<br><div class="gmail_quote"><div><div class="h5">2015-04-27 13:14 GMT+02:00 Mojca Miklavec <span dir="ltr"><<a href="mailto:mojca.miklavec.lists@gmail.com" target="_blank">mojca.miklavec.lists@gmail.com</a>></span>:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">Dear Shivashankar,<br>
<br>
I'm moving the answer to the mailing list where other people will be<br>
able to help you better than I can (please CC him).<br>
<br>
On Mon, Apr 27, 2015 at 11:49 AM, Shiva Shankar wrote:<br>
><br>
> Hi Mojca,<br>
><br>
> My name is Shivashankar and I am from Srirangapatna, Karnataka, India. I wanted to enable kannada tex package (kanlel.sty) in babel. May I know how to begin. At present I don't have hyphenation pattern for kannada. Without hyphenation patterns is it possible to enable kannada tex in babel.<br>
<br>
We do have hyphenation patterns for Kannada, but they only work in<br>
XeTeX/XeLaTeX or LuaTeX/LuaLaTeX (but LuaTeX doesn't fully support<br>
Indic scripts). There is also Kannada support available in<br>
Polyglossia.<br>
<br>
I don't know kanlel.sty (you should ask someone else about it and it<br>
also doesn't seem to be part of TeX Live), but here's an example that<br>
you should be able to compile with xelatex:<br>
<br>
\documentclass{article}<br>
\usepackage{fontspec}<br>
\newfontfamily{\kannadafont}{Tunga} % or {[tunga.ttf]}<br>
\usepackage{polyglossia}<br>
\setdefaultlanguage{kannada}<br>
\begin{document}<br>
ಏನಿದು ಲಾಟೆಕ್! ಗೊತ್ತಾ ನಿಮಗೆ?<br>
\end{document}<br>
<br>
The example was borrowed from<br>
<a href="http://choorucode.com/2010/01/06/tex-kannada-using-xetex/" target="_blank">http://choorucode.com/2010/01/06/tex-kannada-using-xetex/</a> with added<br>
Polyglossia support.<br>
<br>
I tried to add some longer text from Wikipedia and it seems to hyphenate.<br>
<br>
> If we need to learn more about TeX or LaTeX from where to start. Is there any book on LaTeX programming?<br>
<br>
I leave that question to others.<br>
<br>
> Regards<br>
> Shivashankar<br>
> Sriranga Digital Software Technologies Pvt. Ltd.,<br>
> Srirangapatna<br>
<br>
Mojca<br>
<br>
<br>
<br></div></div>
--------------------------------------------------<br>
Subscriptions, Archive, and List information, etc.:<br>
<a href="http://tug.org/mailman/listinfo/xetex" target="_blank">http://tug.org/mailman/listinfo/xetex</a><br>
</blockquote></div><br></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Regards<br>Shivashankar<br>Sriranga Digital Software Technologies Pvt. Ltd.,<br>Srirangapatna</div>
</div></div>