2012/1/9 <[email protected]> > Send XeTeX mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > http://tug.org/mailman/listinfo/xetex > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of XeTeX digest..." > > Today's Topics: > > 1. Re: [LeTeX] Spreadsheet::ParseExcel Error (Simon Cozens) > 2. Re: XeTeX Digest, Vol 94, Issue 12 (Shiva Shankar) > 3. Re: XeTeX Digest, Vol 94, Issue 12 (Zdenek Wagner) > > > ---------- Forwarded message ---------- > From: Simon Cozens <[email protected]> > To: Unicode-based TeX for Mac OS X and other platforms <[email protected]> > Cc: > Date: Sun, 08 Jan 2012 22:01:40 +0900 > Subject: Re: [XeTeX] [LeTeX] Spreadsheet::ParseExcel Error > On 08/01/2012 21:55, A u wrote: > >> PS : I have texlive 2011, Active perl, and running on 2011 Macbook Pro >> > > 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. > > Try running this command: > % perldoc -l SpreadSheet::ParseExcel > > 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/**darwin-thread-multi-2level > /System/Library/Perl/5.10.0 /Library/Perl/5.10.0/darwin-**thread-multi-2level > /Library/Perl/5.10.0 /Network/Library/Perl/5.10.0/**darwin-thread-multi-2level > /Network/Library/Perl/5.10.0 /Network/Library/Perl > /System/Library/Perl/Extras/5.**10.0/darwin-thread-multi-**2level > /System/Library/Perl/Extras/5.**10.0 .) > > > > ---------- Forwarded message ---------- > From: Shiva Shankar <[email protected]> > To: [email protected] > Cc: > Date: Mon, 9 Jan 2012 10:40:07 +0530 > Subject: Re: [XeTeX] XeTeX Digest, Vol 94, Issue 12 > > > 2012/1/8 <[email protected]> > >> Send XeTeX mailing list submissions to >> [email protected] >> >> To subscribe or unsubscribe via the World Wide Web, visit >> http://tug.org/mailman/listinfo/xetex >> or, via email, send a message with subject or body 'help' to >> [email protected] >> >> You can reach the person managing the list at >> [email protected] >> >> When replying, please edit your Subject line so it is more specific >> than "Re: Contents of XeTeX digest..." >> >> Today's Topics: >> >> 1. Re: Preventing a line break at a given set of characters >> (Zdenek Wagner) >> 2. HI (chandrasekhar s) >> 3. Re: HI (Zdenek Wagner) >> 4. Re: HI (Yves Codet) >> >> >> ---------- Forwarded message ---------- >> From: Zdenek Wagner <[email protected]> >> To: Unicode-based TeX for Mac OS X and other platforms <[email protected]> >> Cc: >> Date: Sat, 7 Jan 2012 14:50:14 +0100 >> Subject: Re: [XeTeX] Preventing a line break at a given set of characters >> 2012/1/7 Paul Isambert <[email protected]>: >> > Shiva Shankar <[email protected]> a écrit: >> >> >> >> Hi, >> >> >> >> Is it possible to prevent the linebreak at a given set of characters? >> >> for example TeX will never break a line at fullstop(.) I mean >> >> fullstop alone never goto next line (unless there is a space behind >> >> it). Similarly for comma(,), semicolon(;) etc. >> > >> This is not a right question. TeX breaks lines: >> 1. at a glue unless it is preceded by a discardable item >> 2. at a kern it it is immediatelly followed by a glue >> 3. at a penalty no matter what follows or precedes >> 4. at a \discretionary either explicit or resulting from analysis of >> hyphenation pattern. >> >> A hyphen is roughly treated as >> \penalty\exhyphenpenalty\discretionary{-}{}{-}. Thus there is nothing >> in the TeX world as breaking at a character. In order to give good >> advice I need to know what exactly you wish to achieve. If you look at >> the above rules, you see that if you put \kert0pt in between thwo >> characters, TeX will never break there. However, the kern will >> suppress any implicit kern that would otherwise be inserted by >> examining the font metrics and in addition will create word boundary >> so that hyphenation patterns will not match properly the remaining >> parts of the word. If you mark feasible hyphenation points with \-, >> TeX will not examine hyphenation patterns for that word and used only >> \- when optimizing paragraph breaking. The trick with \lccode will >> work too because hyphenation works only if the characters have >> \catcode equal to 11 and nonzero \lccode. >> > > I want to achieve the following > > We have a package called kanlel.sty to typeset Kannada in TeX/LaTeX. > At present we don't have hyphenation patterns for this package. > For the time being what I want to achieve is, let us minimize the breaks > at > inappropriate places so that it eases many of our tasks. In Kannada > we get characters(Conjuncts) which have to appear below some other > character(Consonants) and they cannot > appear independently. Nearly there are 32 such characters and nine other > characters which are > Vowel diacritics and there also if I can prevent the breaking then I guess > output will be good. > > I want to try to build a hyphenation patterns for Kannada (kanlel > package). > We have a huge corpus of Kannada and I can create hyphenated list of > unique words out of it. > And we also have a rule for hyphenation i.e. leftmin should be 2 and > rightmin should also be 2. > What is the next step that we have to do? > > After generating hyphenation pattern should I compulsorily use babel for > using these patterns > or can I use them Independently? > > Regards > Shivashankar > > > >> >> > You can always set \lccode to 0 for the characters you want to be >> > unbreakable, but that will mess with word recognition globally, so you >> > won't have hyphenation where you don't want it, but you won't have it >> > either in many places where expected. A solution might be to add a >> > glue -- preceded by an infinite penalty -- after the character to mark >> > the legitimate end of a word; you might be able to do that automatically >> > with interchartoks; that won't solve problem with \right/lefthyphenmin, >> > though. See e.g.: >> > >> > % Normal hyphenation. >> > \showhyphens{absolutely} >> > >> > % Bad solution. >> > \lccode`\t=0 >> > \showhyphens{absolutely} >> > >> > % Better solution. >> > \XeTeXinterchartokenstate=1 >> > \XeTeXcharclass`\t=10 >> > \XeTeXinterchartoks 10 0 = {\penalty10000\hskip0pt} >> > \showhyphens{absolutely} >> > >> > I'm not sure this is sound. >> > >> > Of course, you can also declare exceptions with \hyphenation, provided >> > you don't have too many of them. >> > >> > Best, >> > Paul >> > >> > >> > >> > -------------------------------------------------- >> > Subscriptions, Archive, and List information, etc.: >> > http://tug.org/mailman/listinfo/xetex >> >> >> >> -- >> Zdeněk Wagner >> http://hroch486.icpf.cas.cz/wagner/ >> http://icebearsoft.euweb.cz >> >> >> >> >> ---------- Forwarded message ---------- >> From: chandrasekhar s <[email protected]> >> To: Unicode-based TeX for Mac OS X and other platforms <[email protected]> >> Cc: >> Date: Sun, 8 Jan 2012 02:32:33 +0530 >> Subject: [XeTeX] HI >> >> [image: enter image description here] >> >> >> 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. >> >> Chandrasekhar >> >> >> >> >> -- >> >> >> >> >> >> ---------- Forwarded message ---------- >> From: Zdenek Wagner <[email protected]> >> To: Unicode-based TeX for Mac OS X and other platforms <[email protected]> >> Cc: >> Date: Sat, 7 Jan 2012 23:10:50 +0100 >> Subject: Re: [XeTeX] HI >> 2012/1/7 chandrasekhar s <[email protected]> >> >>> >>> [image: enter image description here] >>> >>> >>> 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. >>> >> >> Yes, {\dn\dnsamaveda hi\@\ } >> But this is not a XeTeX question. I do not know how to produce it in >> XeTeX. >> >>> >>> Chandrasekhar >>> >>> >>> >>> >>> -- >>> >>> >>> >>> >>> >>> >>> -------------------------------------------------- >>> Subscriptions, Archive, and List information, etc.: >>> http://tug.org/mailman/listinfo/xetex >>> >>> >> >> >> -- >> Zdeněk Wagner >> http://hroch486.icpf.cas.cz/wagner/ >> http://icebearsoft.euweb.cz >> >> >> ---------- Forwarded message ---------- >> From: Yves Codet <[email protected]> >> To: Unicode-based TeX for Mac OS X and other platforms <[email protected]> >> Cc: >> Date: Sun, 8 Jan 2012 07:36:31 +0100 >> Subject: Re: [XeTeX] HI >> Le 7 janv. 2012 à 23:10, Zdenek Wagner a écrit : >> >> > 2012/1/7 chandrasekhar s <[email protected]> >> > >> > >> > >> > >> > 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. >> > >> > Yes, {\dn\dnsamaveda hi\@\ } >> > But this is not a XeTeX question. I do not know how to produce it in >> XeTeX. >> >> You need a font including the last character (U+A8F3 DEVANAGARI SIGN >> CANDRABINDU VIRAMA). There's only Siddhanta as far as Alan Woods knows: >> http://www.alanwood.net/unicode/devanagari-extended.html >> >> Regards, >> >> Yves >> >> >> >> _______________________________________________ >> XeTeX mailing list >> [email protected] >> http://tug.org/mailman/listinfo/xetex >> >> > > > -- > Regards > Shivashankar > Sriranga Digital Software Technologies Pvt. Ltd., > Srirangapatna > > > ---------- Forwarded message ---------- > From: Zdenek Wagner <[email protected]> > To: Unicode-based TeX for Mac OS X and other platforms <[email protected]> > Cc: > Date: Mon, 9 Jan 2012 11:24:31 +0100 > Subject: Re: [XeTeX] XeTeX Digest, Vol 94, Issue 12 > 2012/1/9 Shiva Shankar <[email protected]> >> >> >> >> I want to achieve the following >> >> We have a package called kanlel.sty to typeset Kannada in TeX/LaTeX. >> At present we don't have hyphenation patterns for this package. >> For the time being what I want to achieve is, let us minimize the breaks >> at >> inappropriate places so that it eases many of our tasks. In Kannada >> > > 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. > > >> we get characters(Conjuncts) which have to appear below some other >> character(Consonants) and they cannot >> appear independently. Nearly there are 32 such characters and nine other >> characters which are >> Vowel diacritics and there also if I can prevent the breaking then I >> guess output will be good. >> >> 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. > > >> I want to try to build a hyphenation patterns for Kannada (kanlel >> package). >> We have a huge corpus of Kannada and I can create hyphenated list of >> unique words out of it. >> And we also have a rule for hyphenation i.e. leftmin should be 2 and >> rightmin should also be 2. >> What is the next step that we have to do? >> >> 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. > > >> After generating hyphenation pattern should I compulsorily use babel for >> using these patterns >> or can I use them Independently? >> >> 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. > > >> Regards >> Shivashankar >> >> >> > > > -- > Zdeněk Wagner > http://hroch486.icpf.cas.cz/wagner/ > http://icebearsoft.euweb.cz > > _______________________________________________ > XeTeX mailing list > [email protected] > http://tug.org/mailman/listinfo/xetex > > Thanks for your guidance.
Thank you. -- Regards Shivashankar Sriranga Digital Software Technologies Pvt. Ltd., Srirangapatna
-------------------------------------------------- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex
