<div dir="ltr"><div class="gmail_quote">2012/1/9 Shiva Shankar <span dir="ltr"><<a href="mailto:shivably04sdst@gmail.com">shivably04sdst@gmail.com</a>></span><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div class="gmail_quote"><br><div><br>I want to achieve the following <br><br>We have a package called kanlel.sty to typeset Kannada in TeX/LaTeX.<br>At present we don't have hyphenation patterns for this package.<br>

For the time being what I want to achieve is, let us minimize the breaks at <br>inappropriate places so that it eases many of our tasks.  In Kannada <br></div></div></blockquote><div><br>I think that XeTeX will not hyphenate Kannada words because patterns for the script do not exist. I am not sure about Sanskrit patterns. I am not an expert but it seems to me that Sanskrit text can also be written in any Indic script. The Sanskrit hyphenation patterns cover several scripts. I am not sure whether Kannada is included.<br>
 </div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="gmail_quote"><div>we get characters(Conjuncts) which have to appear below some other character(Consonants) and they cannot <br>

appear independently. Nearly there are 32 such characters and nine other characters which are <br>Vowel diacritics and there also if I can prevent the breaking then I guess output will be good.<br><br></div></div></blockquote>
<div>Without having a huge hyphenated list it may be possible just to write the rule prohibiting hyphenation before and after virama (ie inside the conjunct) and between a consonant and an independent vowel. It seems to me that the Sanskrit patterns were  created that way. Considering all the sandhi rules for gluing the words together there is probably no other way for Sanskrit.<br>
 </div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="gmail_quote"><div>I want to try to build a hyphenation patterns for Kannada (kanlel package). <br>

We have a huge corpus of Kannada and I can create hyphenated list of unique words out of it. <br>And we also have a rule for hyphenation i.e. leftmin should be 2 and rightmin should also be 2. <br>What is the next step that we have to do?<br>

<br></div></div></blockquote><div>You have to run patgen. I am not sure whether there is a special Unicode-aware version. As Petr Sojka found some time ago, it may be useful to set both lefthyphenmin and righthyphemin to 1 when generating the patterns and use the correct values when typsetting.<br>
 </div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="gmail_quote"><div>After generating hyphenation pattern should I compulsorily use babel for using these patterns<br>
or can I use them Independently?<br><br></div></div></blockquote><div>You have to build a new format with the hyphenation pattern. In order to switch hyphenation paterns in your document it is just necessary to assign a proper value to \language. However, in LaTeX you would also like to have localized texts for \chaptername, \contentsname etc. That's why its useful to use some multilingual package. I would prefer polyglossia to babel. Polyglossia is now maintained by Arthur Reuthenauer.<br>
 </div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="gmail_quote"><div>Regards<br>Shivashankar<br> <br></div></div><br></blockquote></div>
<br><br clear="all"><br>-- <br>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><br>

</div>