Re: [NTG-context] formatting index entries: alphabetical order in Unicode
> On 13. Sep 2019, at 12:31, luigi scarso wrote: > > > On Fri, Sep 13, 2019 at 12:20 PM Robert Zydenbos wrote: > > When ConTeXt MkIV (rather: LuaTeX) supports Indic fonts, I'll gladly do that. > :-) > > > luahbtex (in texlive 2020) has harfbuzz embedded . That sounds like *the* solution (for my next book, in 2020). I've had excellent experiences with harfbuzz-embedded software. RZ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] formatting index entries: alphabetical order in Unicode
On 9/13/2019 12:20 PM, Robert Zydenbos wrote: On 22. Aug 2019, at 18:17, Wolfgang Schuster wrote: A PDF with the wrong sorting order doesn't help when you can't show a working minimal example to reproduce the problem. When you need more control about the sorting order of the index you should switch to MkIV which has more options. Wolfgang When ConTeXt MkIV (rather: LuaTeX) supports Indic fonts, I'll gladly do that. :-) context does to some extend ... a few month ago some more indic scripts were added but of course one needs the fonts and right settings Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] formatting index entries: alphabetical order in Unicode
On Fri, Sep 13, 2019 at 12:20 PM Robert Zydenbos wrote: > On 22. Aug 2019, at 18:17, Wolfgang Schuster < > wolfgang.schuster.li...@gmail.com> wrote: > > > A PDF with the wrong sorting order doesn't help when you can't show a > working minimal example to reproduce the problem. When you need more > control about the sorting order of the index you should switch to MkIV > which has more options. > > > > Wolfgang > > When ConTeXt MkIV (rather: LuaTeX) supports Indic fonts, I'll gladly do > that. :-) > luahbtex (in texlive 2020) has harfbuzz embedded . -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] formatting index entries: alphabetical order in Unicode
On 22. Aug 2019, at 18:17, Wolfgang Schuster wrote: > A PDF with the wrong sorting order doesn't help when you can't show a working > minimal example to reproduce the problem. When you need more control about > the sorting order of the index you should switch to MkIV which has more > options. > > Wolfgang When ConTeXt MkIV (rather: LuaTeX) supports Indic fonts, I'll gladly do that. :-) Robert ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] formatting index entries: alphabetical order in Unicode
Robert Zydenbos schrieb am 22.08.2019 um 17:52: You're right. I just compared my earlier attempts with the results of the sample solutions you and Pablo had sent me and assumed that also everybody else knew what I was talking about. Your problem was easy to understand but without more information it's just guess work. On 22. Aug 2019, at 16:53, Wolfgang Schuster wrote: Robert Zydenbos schrieb am 22.08.2019 um 01:42: I seem to have a problem with Unicode in the indexing function for my book: a word like āyitu (beginning with an 'a' with a macron over it) is considered a word that starts with a 'y'; the word īga (beginning with an i with a macron) is placed as if it is 'ga'. Is there any way to tell the indexing function how to deal with such special characters? How should we know why you have problems with your index entries when you're unable to provide a working minimal example, all you have shown so far are snippets. Attached I am sending a longer example, compiled from a few chapters. There you can see that the word 'āddariṃda' is listed as if it starts with a 'd'. This happens with every word that begins with a vowel with a macron. As I mentioned in my last posting, I already have a primitive workaround solution – but this could become an issue for some later user for whom the index is more important. A PDF with the wrong sorting order doesn't help when you can't show a working minimal example to reproduce the problem. When you need more control about the sorting order of the index you should switch to MkIV which has more options. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] formatting index entries: alphabetical order in Unicode
Robert Zydenbos schrieb am 22.08.2019 um 01:42: I seem to have a problem with Unicode in the indexing function for my book: a word like āyitu (beginning with an 'a' with a macron over it) is considered a word that starts with a 'y'; the word īga (beginning with an i with a macron) is placed as if it is 'ga'. Is there any way to tell the indexing function how to deal with such special characters? How should we know why you have problems with your index entries when you're unable to provide a working minimal example, all you have shown so far are snippets. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] formatting index entries: alphabetical order in Unicode
That helps! But in any case, it looks like the problems are actually several (also the one of the precise order of the words in the index), and I think the 'fastest' solution for now is that I just compile the index (only 4 pages), make a separate component file and rearrange the contents by copy-and-paste. Not the most elegant of solutions, but it works. :-) > On 22. Aug 2019, at 01:58, Richard Mahoney | Indica et Buddhica > wrote: > > Robert, > > In IV one can do something such as this: > > % Registers (Indices) > > \defineregister[TIB] > > \setupregister[TIB][indicator=yes,compress=yes] > > and then in the body: > > \TIB[don du gner ba]{don du gñer ba : patthanā : wish}don du gñer ba'i > phyir rdzogs par byed do > > \TIB[non mons]{ñon moṅs : kilesa : defilements}ñon moṅs pa śin tu che > ba yin-no > > > Richard ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] formatting index entries: alphabetical order in Unicode
Robert, In IV one can do something such as this: % Registers (Indices) \defineregister[TIB] \setupregister[TIB][indicator=yes,compress=yes] and then in the body: \TIB[don du gner ba]{don du gñer ba : patthanā : wish}don du gñer ba'i phyir rdzogs par byed do \TIB[non mons]{ñon moṅs : kilesa : defilements}ñon moṅs pa śin tu che ba yin-no Richard -- Richard Mahoney | Indica et Buddhica Littledene Bay Road Oxford NZ T: +6433121699 M: +64210640216 r.maho...@indica-et-buddhica.org https://indica-et-buddhica.org/ -Original Message- From: Robert Zydenbos Reply-To: mailing list for ConTeXt users To: mailing list for ConTeXt users Subject: [NTG-context] formatting index entries: alphabetical order in Unicode Date: Thu, 22 Aug 2019 01:42:40 +0200 Mailer: I seem to have a problem with Unicode in the indexing function for my book: a word like āyitu (beginning with an 'a' with a macron over it) is considered a word that starts with a 'y'; the word īga (beginning with an i with a macron) is placed as if it is 'ga'. Is there any way to tell the indexing function how to deal with such special characters? Robert __ _ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net __ _ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] formatting index entries: alphabetical order in Unicode
I seem to have a problem with Unicode in the indexing function for my book: a word like āyitu (beginning with an 'a' with a macron over it) is considered a word that starts with a 'y'; the word īga (beginning with an i with a macron) is placed as if it is 'ga'. Is there any way to tell the indexing function how to deal with such special characters? Robert ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___