Re: [XeTeX] Hyphenation in Transliterated Sanskrit
Thanks! How would one set it up so that the English portions are hyphenated according to English rules and the transliteration is hyphenated according to Sanskrit rules? Best Neal On Sat, 10 Sep 2011 19:40:51 -0500, Zdenek Wagner wrote: 2011/9/11 Neal Delmonico : Here is the source files for the pdf. Sorry to take so long to send them. Your default language for polygliglossia is defined as English. You switch to Sanskrit only inside the \skt macro. The text in Devanagari is therefore hyphenated according to Sanskrit rules but the transliterated text is hyphenated according to the English rules. You have to switch the language to Sanskrit also for the transliterated text. Best Neal On Sat, 10 Sep 2011 17:53:42 -0500, Mojca Miklavec wrote: On Sun, Sep 11, 2011 at 00:39, Neal Delmonico wrote: Here is an example of what I mean in the pdf attached. Do I get it right that hyphenation is working, it is just that it misses a lot of valid hyphenation points? You should talk to Yves Codet, the author of Sanskrit patterns. But PLEASE: do post example of your code when you ask for help. If you don't send the source, it is not clear whether you are in fact using Sanskrit patterns or if you are falling back to English when you try to switch fonst. You could just as well sent us PDF with French hyphenation enabled and claim that TeX is buggy since it doesn't hyphenate right. Mojca -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex -- Using Opera's revolutionary email client: http://www.opera.com/mail/ -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex -- Using Opera's revolutionary email client: http://www.opera.com/mail/ -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex
Re: [XeTeX] Hyphenation in Transliterated Sanskrit
2011/9/11 Neal Delmonico : > Here is the source files for the pdf. Sorry to take so long to send them. > Your default language for polygliglossia is defined as English. You switch to Sanskrit only inside the \skt macro. The text in Devanagari is therefore hyphenated according to Sanskrit rules but the transliterated text is hyphenated according to the English rules. You have to switch the language to Sanskrit also for the transliterated text. > Best > > Neal > > On Sat, 10 Sep 2011 17:53:42 -0500, Mojca Miklavec > wrote: > >> On Sun, Sep 11, 2011 at 00:39, Neal Delmonico wrote: >>> >>> Here is an example of what I mean in the pdf attached. >> >> Do I get it right that hyphenation is working, it is just that it >> misses a lot of valid hyphenation points? >> >> You should talk to Yves Codet, the author of Sanskrit patterns. >> >> But PLEASE: do post example of your code when you ask for help. If you >> don't send the source, it is not clear whether you are in fact using >> Sanskrit patterns or if you are falling back to English when you try >> to switch fonst. You could just as well sent us PDF with French >> hyphenation enabled and claim that TeX is buggy since it doesn't >> hyphenate right. >> >> Mojca >> >> >> -- >> Subscriptions, Archive, and List information, etc.: >> http://tug.org/mailman/listinfo/xetex > > > -- > Using Opera's revolutionary email client: http://www.opera.com/mail/ > > > -- > 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 -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex
Re: [XeTeX] Hyphenation in Transliterated Sanskrit
2011/9/11 Mojca Miklavec : > On Sun, Sep 11, 2011 at 00:39, Neal Delmonico wrote: >> Here is an example of what I mean in the pdf attached. > > Do I get it right that hyphenation is working, it is just that it > misses a lot of valid hyphenation points? > > You should talk to Yves Codet, the author of Sanskrit patterns. > > But PLEASE: do post example of your code when you ask for help. If you > don't send the source, it is not clear whether you are in fact using > Sanskrit patterns or if you are falling back to English when you try > to switch fonst. You could just as well sent us PDF with French > hyphenation enabled and claim that TeX is buggy since it doesn't > hyphenate right. > It is really strange that so many hyphenation points are missing and I have even noticed wrong hyphenation between b and h in bha. There must be something wrong in your file. I have just downloaded and installed Charis SIL and I see all characters are present, thus this is not a problem of the font. I have not examined the paterns thoroughly but the number of patterns for each script matches. The patterns contain rules not to hyphenate in the middle of aspirated consonant, so I do not understand why bha is hyphenated in your document. > Mojca > > > -- > 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 -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex
Re: [XeTeX] Hyphenation in Transliterated Sanskrit
On Sun, Sep 11, 2011 at 00:39, Neal Delmonico wrote: > Here is an example of what I mean in the pdf attached. Do I get it right that hyphenation is working, it is just that it misses a lot of valid hyphenation points? You should talk to Yves Codet, the author of Sanskrit patterns. But PLEASE: do post example of your code when you ask for help. If you don't send the source, it is not clear whether you are in fact using Sanskrit patterns or if you are falling back to English when you try to switch fonst. You could just as well sent us PDF with French hyphenation enabled and claim that TeX is buggy since it doesn't hyphenate right. Mojca -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex
Re: [XeTeX] Hyphenation in Transliterated Sanskrit
On Sun, Sep 11, 2011 at 00:08, Neal Delmonico wrote: > How does one do that? Where are the patterns kept and what format needs to > be rebuilt. Sorry for being so clueless about this. The patterns are in hyph-sa.tex (kpsewhich hyph-sa.tex). Mojca -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex
Re: [XeTeX] Hyphenation in Transliterated Sanskrit
2011/9/11 Neal Delmonico : > How does one do that? Where are the patterns kept and what format needs to > be rebuilt. Sorry for being so clueless about this. > Sorry for the noise, I located the patterns and as Mojca wrote, the patterns for the transliteration are present. It should work out of the box unless you use a different transliteration. An example including the log file will help to find the source of the problem. > Best > > Neal > > On Sat, 10 Sep 2011 15:47:38 -0500, Zdenek Wagner > wrote: > >> 2011/9/10 Neal Delmonico : >>> >>> Greetings, >>> >>> I have a question. How does one get the hyphenation to work for >>> transliterated Sanskrit as well as it does for Sanskrit in Devenagari. I >>> use the same text in Devanagari and Roman transliteration and yet in the >>> Devanagari the hyphenation works fine and in the transliteration it does >>> not. Is there some trick to setting up the transliteration so that the >>> hyphenation works? >>> >> It is necessary to modify the hyphenation patterns and then rebuild the >> format. >> >>> Thanks. >>> >>> Neal >>> >>> -- >>> Using Opera's revolutionary email client: http://www.opera.com/mail/ >>> >>> >>> -- >>> Subscriptions, Archive, and List information, etc.: >>> http://tug.org/mailman/listinfo/xetex >>> >> >> >> > > > -- > Using Opera's revolutionary email client: http://www.opera.com/mail/ > > > -- > 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 -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex
Re: [XeTeX] Hyphenation in Transliterated Sanskrit
How does one do that? Where are the patterns kept and what format needs to be rebuilt. Sorry for being so clueless about this. Best Neal On Sat, 10 Sep 2011 15:47:38 -0500, Zdenek Wagner wrote: 2011/9/10 Neal Delmonico : Greetings, I have a question. How does one get the hyphenation to work for transliterated Sanskrit as well as it does for Sanskrit in Devenagari. I use the same text in Devanagari and Roman transliteration and yet in the Devanagari the hyphenation works fine and in the transliteration it does not. Is there some trick to setting up the transliteration so that the hyphenation works? It is necessary to modify the hyphenation patterns and then rebuild the format. Thanks. Neal -- Using Opera's revolutionary email client: http://www.opera.com/mail/ -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex -- Using Opera's revolutionary email client: http://www.opera.com/mail/ -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex
Re: [XeTeX] Hyphenation in Transliterated Sanskrit
On Sat, Sep 10, 2011 at 22:37, Neal Delmonico wrote: > Greetings, > > I have a question. How does one get the hyphenation to work for > transliterated Sanskrit as well as it does for Sanskrit in Devenagari. I > use the same text in Devanagari and Roman transliteration and yet in the > Devanagari the hyphenation works fine and in the transliteration it does > not. Is there some trick to setting up the transliteration so that the > hyphenation works? Please send a minimal example that fails to work. In theory the transliterated Sanskrit should work - at least the patterns are present. (On the other hand I don't know anything about Sanskrit, but if there is some technical issue ...) Mojca -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex
Re: [XeTeX] Hyphenation in Transliterated Sanskrit
2011/9/10 Neal Delmonico : > Greetings, > > I have a question. How does one get the hyphenation to work for > transliterated Sanskrit as well as it does for Sanskrit in Devenagari. I > use the same text in Devanagari and Roman transliteration and yet in the > Devanagari the hyphenation works fine and in the transliteration it does > not. Is there some trick to setting up the transliteration so that the > hyphenation works? > It is necessary to modify the hyphenation patterns and then rebuild the format. > Thanks. > > Neal > > -- > Using Opera's revolutionary email client: http://www.opera.com/mail/ > > > -- > 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 -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex
[XeTeX] Hyphenation in Transliterated Sanskrit
Greetings, I have a question. How does one get the hyphenation to work for transliterated Sanskrit as well as it does for Sanskrit in Devenagari. I use the same text in Devanagari and Roman transliteration and yet in the Devanagari the hyphenation works fine and in the transliteration it does not. Is there some trick to setting up the transliteration so that the hyphenation works? Thanks. Neal -- Using Opera's revolutionary email client: http://www.opera.com/mail/ -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex