<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2014-06-29 16:55 GMT+02:00 Naveen kumar C.M. <span dir="ltr"><<a href="mailto:naveenkumarcm@gmail.com" target="_blank">naveenkumarcm@gmail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div style="font-family:'courier new',monospace;font-size:large;color:rgb(51,51,51)">Hi Sasi Kumar,</div>
<div style="font-family:'courier new',monospace;font-size:large;color:rgb(51,51,51)">

this might help you fix your problem:</div><div style="font-family:'courier new',monospace;font-size:large;color:rgb(51,51,51)"><br></div><div style="font-family:'courier new',monospace;font-size:large;color:rgb(51,51,51)">


<a href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=hyphoff" target="_blank">http://www.tex.ac.uk/cgi-bin/texfaq2html?label=hyphoff</a><br></div></div></blockquote><div><br></div><div>This is a good point but not the solution of a problem. It is true that a hyphen is not hard-wired, it is just a default. Once a font is loaded you can change it by setting its slot number to \hyphenchar\font. If you set -1, hyphenation in the font will be disabled. The trick is to set a slot number of an invisible zero-width character. A good candidate is IMHO zero-width-non-joiner which should be present in any Indic font. Delving deep into plain TeX macros and TeX primitives (these are good friends even for LaTeX users) reveals that even the default hyphenation character is not hard-wired but when the font is loaded, the value of \defaulthyphenchar is used. If you need only Malayalam in your document, set \defaulthyphenchar before loading your fonts.<br>
<br></div><div>Similarly, \sloppy is too sloppy. There is a big difference between \tolerance 10000 (TeX's infinity) and 9999. First set \tolerance=9999 and run the document. If you get overful boxes, you have problems that you have to fix somehow. If you have underfull boxes only, find the one with the largest badness (look it up in the log file). Assume it is 2547. Now change do setting this way:<br>
<br></div><div>\tolerance=2547<br></div><div>\hbadness=\tolerance<br></div><div>\advance\hbadness by -1<br><br></div><div>After reprocessing the document you should have just one underful box. Now you can try to decrease \tolerance by 1 (ie to 2546). Sometimes you will still have just one underful box and no overful box. If you get an overful box, increase \tolerance again. If the tolerance is low enough, remove "\advance\hbadness by -1" and you are finished. If not, set the \tolerance to the allowable value and you have to fix overful lines. For instance, you can put to the end of such a paragraph the following code:<br>
<br></div><div>{\emergencystretch 1em \par}<br><br></div><div>The braces make the chane local just for that paragraph. Of course, you can change \tolerance locally using the same way.<br><br></div><div>I learned this many years ago from a lecture given by Phil Taylor.<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div style="font-family:'courier new',monospace;font-size:large;color:rgb(51,51,51)"></div>
<div style="font-family:'courier new',monospace;font-size:large;color:rgb(51,51,51)">

<br></div><div style="font-family:'courier new',monospace;font-size:large;color:rgb(51,51,51)">Best</div></div><div class="gmail_extra"><br clear="all"><div><div><span style="font-size:large"><font face="'courier new', monospace"><font color="#333333">-Naveen</font></font></span></div>


<div><font face="'courier new', monospace" size="4"><div><font color="#6633ff"><b><br></b></font></div><div style="color:rgb(0,0,0);font-family:arial;font-size:small"><br><div><a href="http://www.pictocular.com/" target="_blank"><img src="http://www.pictocular.com/wp-content/uploads/2011/09/Pictocular_smallest.png" height="39" width="200"></a></div>


<div><br></div></div></font><br><font color="#FF6600">****************************************************************************************************</font><br><font color="#006600"><font face="georgia, serif">I contend that we both are atheists. I just believe in one fewer god than you do.</font></font></div>


<div><font color="#006600"><font face="georgia, serif">When you understand why you dismiss all other possible gods,</font></font></div><div><font face="georgia, serif"><font color="#006600"></font></font><font color="#006600"><font face="georgia, serif">you will </font></font><span style="color:rgb(0,102,0)"><font face="georgia, serif">understand why I dismiss yours.</font></span></div>


<div><font color="#009900"><font face="georgia, serif"><br></font></font><font color="#3333ff"><font face="georgia, serif">                                                                                                             –  Stephen Henry Roberts</font></font></div>


<div><font color="#FF6600">****************************************************************************************************</font></div></div><div><div class="h5">
<br><br><div class="gmail_quote">On 29 June 2014 01:01, Sasi Kumar <span dir="ltr"><<a href="mailto:sasi.fsf@gmail.com" target="_blank">sasi.fsf@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


Hello texnicians,<br>
<br>
I am typesetting a document in Malayalam. In this language, we<br>
normally do not put a hyphen mark when a word braks at the end of a<br>
line, but just continue writing. Is there a way in xelatex to do that?<br>
That is, the word just continues on the next line without a hyphen at<br>
the end of the line.<br>
<br>
 I also find that the right margin is not strictly maintained, with<br>
some characters projecting out in some lines. I have been using latex<br>
and aleph for a long time and have hardly seen this problem.<br>
<br>
Any way to approach the problem and solve it would be very helpful.<br>
<br>
Regards,<br>
Sasi<br>
<span><font color="#888888"><br>
<br>
--<br>
V. Sasi Kumar<br>
Free Software Foundation of India<br>
Please see: <a href="http://swatantryam.blogspot.com/" target="_blank">http://swatantryam.blogspot.com/</a><br>
<br>
<br>
<br>
--------------------------------------------------<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>
</font></span></blockquote></div><br></div></div></div>
<br><br>
<br>
--------------------------------------------------<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>
<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>
</div></div>