<br><br><div class="gmail_quote">2012/1/9  <span dir="ltr"><<a href="mailto:xetex-request@tug.org">xetex-request@tug.org</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Send XeTeX mailing list submissions to<br>
        <a href="mailto:xetex@tug.org">xetex@tug.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://tug.org/mailman/listinfo/xetex" target="_blank">http://tug.org/mailman/listinfo/xetex</a><br>
or, via email, send a message with subject or body 'help' to<br>
        <a href="mailto:xetex-request@tug.org">xetex-request@tug.org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:xetex-owner@tug.org">xetex-owner@tug.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of XeTeX digest..."<br>
<br>Today's Topics:<br>
<br>
   1. Re: [LeTeX] Spreadsheet::ParseExcel Error (Simon Cozens)<br>
   2. Re: XeTeX Digest, Vol 94, Issue 12 (Shiva Shankar)<br>
   3. Re: XeTeX Digest, Vol 94, Issue 12 (Zdenek Wagner)<br>
<br><br>---------- Forwarded message ----------<br>From: Simon Cozens <<a href="mailto:simon@simon-cozens.org">simon@simon-cozens.org</a>><br>To: Unicode-based TeX for Mac OS X and other platforms <<a href="mailto:xetex@tug.org">xetex@tug.org</a>><br>
Cc: <br>Date: Sun, 08 Jan 2012 22:01:40 +0900<br>Subject: Re: [XeTeX] [LeTeX] Spreadsheet::ParseExcel Error<br>On 08/01/2012 21:55, A u wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
PS : I have texlive 2011, Active perl, and running on 2011 Macbook Pro<br>
</blockquote>
<br>
Not knowing the details, Activeperl is probably your problem; my guess is that it has its own location for storing modules. TeX will probably be calling the system Perl. I don't see much reason to use ActivePerl on OS X - Perl is already installed by default.<br>

<br>
Try running this command:<br>
 % perldoc -l SpreadSheet::ParseExcel<br>
<br>
and compare the path with the paths that the perl run from TeX is searching. (/Library/Perl/Updates/5.10.0 /System/Library/Perl/5.10.0/<u></u>darwin-thread-multi-2level /System/Library/Perl/5.10.0 /Library/Perl/5.10.0/darwin-<u></u>thread-multi-2level /Library/Perl/5.10.0 /Network/Library/Perl/5.10.0/<u></u>darwin-thread-multi-2level /Network/Library/Perl/5.10.0 /Network/Library/Perl /System/Library/Perl/Extras/5.<u></u>10.0/darwin-thread-multi-<u></u>2level /System/Library/Perl/Extras/5.<u></u>10.0 .)<br>

<br>
<br><br>---------- Forwarded message ----------<br>From: Shiva Shankar <<a href="mailto:shivably04sdst@gmail.com">shivably04sdst@gmail.com</a>><br>To: <a href="mailto:xetex@tug.org">xetex@tug.org</a><br>Cc: <br>Date: Mon, 9 Jan 2012 10:40:07 +0530<br>
Subject: Re: [XeTeX] XeTeX Digest, Vol 94, Issue 12<br><br><br><div class="gmail_quote">2012/1/8  <span dir="ltr"><<a href="mailto:xetex-request@tug.org" target="_blank">xetex-request@tug.org</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Send XeTeX mailing list submissions to<br>
        <a href="mailto:xetex@tug.org" target="_blank">xetex@tug.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://tug.org/mailman/listinfo/xetex" target="_blank">http://tug.org/mailman/listinfo/xetex</a><br>
or, via email, send a message with subject or body 'help' to<br>
        <a href="mailto:xetex-request@tug.org" target="_blank">xetex-request@tug.org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:xetex-owner@tug.org" target="_blank">xetex-owner@tug.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of XeTeX digest..."<br>
<br>Today's Topics:<br>
<br>
   1. Re: Preventing a line break at a given set of characters<br>
      (Zdenek Wagner)<br>
   2. HI (chandrasekhar s)<br>
   3. Re: HI (Zdenek Wagner)<br>
   4. Re: HI (Yves Codet)<br>
<br><br>---------- Forwarded message ----------<br>From: Zdenek Wagner <<a href="mailto:zdenek.wagner@gmail.com" target="_blank">zdenek.wagner@gmail.com</a>><br>To: Unicode-based TeX for Mac OS X and other platforms <<a href="mailto:xetex@tug.org" target="_blank">xetex@tug.org</a>><br>

Cc: <br>Date: Sat, 7 Jan 2012 14:50:14 +0100<br>Subject: Re: [XeTeX] Preventing a line break at a given set of characters<br>2012/1/7 Paul Isambert <<a href="mailto:zappathustra@free.fr" target="_blank">zappathustra@free.fr</a>>:<br>


> Shiva Shankar <<a href="mailto:shivably04sdst@gmail.com" target="_blank">shivably04sdst@gmail.com</a>> a écrit:<br>
>><br>
>> Hi,<br>
>><br>
>> Is it possible to prevent the linebreak at a given set of characters?<br>
>> for example TeX will never break a line at fullstop(.) I mean<br>
>> fullstop alone never goto next line (unless there is a space behind<br>
>> it). Similarly for comma(,), semicolon(;) etc.<br>
><br>
This is not a right question. TeX breaks lines:<br>
1. at a glue unless it is preceded by a discardable item<br>
2. at a kern it it is immediatelly followed by a glue<br>
3. at a penalty no matter what follows or precedes<br>
4. at a \discretionary either explicit or resulting from analysis of<br>
hyphenation pattern.<br>
<br>
A hyphen is roughly treated as<br>
\penalty\exhyphenpenalty\discretionary{-}{}{-}. Thus there is nothing<br>
in the TeX world as breaking at a character. In order to give good<br>
advice I need to know what exactly you wish to achieve. If you look at<br>
the above rules, you see that if you put \kert0pt in between thwo<br>
characters, TeX will never break there. However, the kern will<br>
suppress any implicit kern that would otherwise be inserted by<br>
examining the font metrics and in addition will create word boundary<br>
so that hyphenation patterns will not match properly the remaining<br>
parts of the word. If you mark feasible hyphenation points with \-,<br>
TeX will not examine hyphenation patterns for that word and used only<br>
\- when optimizing paragraph breaking. The trick with \lccode will<br>
work too because hyphenation works only if the characters have<br>
\catcode equal to 11 and nonzero \lccode.<br></blockquote><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>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>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>After generating hyphenation pattern should I compulsorily use babel for using these patterns<br>or can I use them Independently?<br><br>Regards<br>Shivashankar<br><br> </div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">


<br>
> You can always set \lccode to 0 for the characters you want to be<br>
> unbreakable, but that will mess with word recognition globally, so you<br>
> won't have hyphenation where you don't want it, but you won't have it<br>
> either in many places where expected. A solution might be to add a<br>
> glue -- preceded by an infinite penalty -- after the character to mark<br>
> the legitimate end of a word; you might be able to do that automatically<br>
> with interchartoks; that won't solve problem with \right/lefthyphenmin,<br>
> though. See e.g.:<br>
><br>
>    % Normal hyphenation.<br>
>    \showhyphens{absolutely}<br>
><br>
>    % Bad solution.<br>
>    \lccode`\t=0<br>
>    \showhyphens{absolutely}<br>
><br>
>    % Better solution.<br>
>    \XeTeXinterchartokenstate=1<br>
>    \XeTeXcharclass`\t=10<br>
>    \XeTeXinterchartoks 10 0 = {\penalty10000\hskip0pt}<br>
>    \showhyphens{absolutely}<br>
><br>
> I'm not sure this is sound.<br>
><br>
> Of course, you can also declare exceptions with \hyphenation, provided<br>
> you don't have too many of them.<br>
><br>
> Best,<br>
> Paul<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>
<br>
<br>
<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>
<br>
<br>
<br><br>---------- Forwarded message ----------<br>From: chandrasekhar s <<a href="mailto:chandru.mcc@gmail.com" target="_blank">chandru.mcc@gmail.com</a>><br>To: Unicode-based TeX for Mac OS X and other platforms <<a href="mailto:xetex@tug.org" target="_blank">xetex@tug.org</a>><br>

Cc: <br>Date: Sun, 8 Jan 2012 02:32:33 +0530<br>Subject: [XeTeX] HI<br><div><br></div><div><img src="" alt="enter image description here"></div><div><br></div><div><br></div><div><span>Can the above image be produced using the </span><code>devanagari</code><span> package. To produce it I used the </span><code>skt</code><span>package but I am curious to know if this image (that is the chandrabindu along with the halanth) can be produced using the </span><code>devanagari</code><span> package. This symbol very often is used in the "Rudram: Namakam-Camakam" mantra.</span></div>


<div><span><br></span></div><div style="text-align:left"><font color="#393318" face="'Lucida Grande', 'Lucida Sans Unicode', 'Lucida Sans', Tahoma, sans-serif"><span style="font-size:14px;line-height:18px">Chandrasekhar</span></font></div>


<div><br></div><div><br></div><div><br></div><div><br></div>-- <br><div><img src=""><br></div><br><br>
<br><br>---------- Forwarded message ----------<br>From: Zdenek Wagner <<a href="mailto:zdenek.wagner@gmail.com" target="_blank">zdenek.wagner@gmail.com</a>><br>To: Unicode-based TeX for Mac OS X and other platforms <<a href="mailto:xetex@tug.org" target="_blank">xetex@tug.org</a>><br>

Cc: <br>Date: Sat, 7 Jan 2012 23:10:50 +0100<br>Subject: Re: [XeTeX] HI<br><div dir="ltr"><div class="gmail_quote">2012/1/7 chandrasekhar s <span dir="ltr"><<a href="mailto:chandru.mcc@gmail.com" target="_blank">chandru.mcc@gmail.com</a>></span><br>

<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div><br></div><div><img src="" alt="enter image description here"></div><div><br></div><div><br></div><div><span>Can the above image be produced using the </span><code>devanagari</code><span> package. To produce it I used the </span><code>skt</code><span>package but I am curious to know if this image (that is the chandrabindu along with the halanth) can be produced using the </span><code>devanagari</code><span> package. This symbol very often is used in the "Rudram: Namakam-Camakam" mantra.</span></div>


</blockquote><div><br>Yes, {\dn\dnsamaveda hi\@\ }<br>But this is not a XeTeX question. I do not know how to produce it in XeTeX. <br></div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">


<span><font color="#888888">
<div><span><br></span></div><div style="text-align:left"><font color="#393318" face="'Lucida Grande', 'Lucida Sans Unicode', 'Lucida Sans', Tahoma, sans-serif"><span style="font-size:14px;line-height:18px">Chandrasekhar</span></font></div>



<div><br></div><div><br></div><div><br></div><div><br></div>-- <br><div><img src=""><br></div><br><br>
</font></span><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><br>



</div>
<br><br>---------- Forwarded message ----------<br>From: Yves Codet <<a href="mailto:yves.codet@sfr.fr" target="_blank">yves.codet@sfr.fr</a>><br>To: Unicode-based TeX for Mac OS X and other platforms <<a href="mailto:xetex@tug.org" target="_blank">xetex@tug.org</a>><br>

Cc: <br>Date: Sun, 8 Jan 2012 07:36:31 +0100<br>Subject: Re: [XeTeX] HI<br>Le 7 janv. 2012 à 23:10, Zdenek Wagner a écrit :<br>
<br>
> 2012/1/7 chandrasekhar s <<a href="mailto:chandru.mcc@gmail.com" target="_blank">chandru.mcc@gmail.com</a>><br>
><br>
><br>
><br>
><br>
> Can the above image be produced using the devanagari package. To produce it I used the sktpackage but I am curious to know if this image (that is the chandrabindu along with the halanth) can be produced using the devanagari package. This symbol very often is used in the "Rudram: Namakam-Camakam" mantra.<br>


><br>
> Yes, {\dn\dnsamaveda hi\@\ }<br>
> But this is not a XeTeX question. I do not know how to produce it in XeTeX.<br>
<br>
You need a font including the last character (U+A8F3 DEVANAGARI SIGN CANDRABINDU VIRAMA). There's only Siddhanta as far as Alan Woods knows:<br>
<a href="http://www.alanwood.net/unicode/devanagari-extended.html" target="_blank">http://www.alanwood.net/unicode/devanagari-extended.html</a><br>
<br>
Regards,<br>
<br>
Yves<br>
<br>
<br>
<br>_______________________________________________<br>
XeTeX mailing list<br>
<a href="mailto:XeTeX@tug.org" target="_blank">XeTeX@tug.org</a><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>Regards<br>Shivashankar<br>Sriranga Digital Software Technologies Pvt. Ltd.,<br>Srirangapatna<br>
<br><br>---------- Forwarded message ----------<br>From: Zdenek Wagner <<a href="mailto:zdenek.wagner@gmail.com">zdenek.wagner@gmail.com</a>><br>To: Unicode-based TeX for Mac OS X and other platforms <<a href="mailto:xetex@tug.org">xetex@tug.org</a>><br>
Cc: <br>Date: Mon, 9 Jan 2012 11:24:31 +0100<br>Subject: Re: [XeTeX] XeTeX Digest, Vol 94, Issue 12<br><div dir="ltr"><div class="gmail_quote">2012/1/9 Shiva Shankar <span dir="ltr"><<a href="mailto:shivably04sdst@gmail.com" target="_blank">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>
<br>_______________________________________________<br>
XeTeX mailing list<br>
<a href="mailto:XeTeX@tug.org">XeTeX@tug.org</a><br>
<a href="http://tug.org/mailman/listinfo/xetex" target="_blank">http://tug.org/mailman/listinfo/xetex</a><br>
<br></blockquote></div><br>Thanks for your guidance. <br><br>Thank you. <br><br clear="all"><br>-- <br>Regards<br>Shivashankar<br>Sriranga Digital Software Technologies Pvt. Ltd.,<br>Srirangapatna<br>