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] balanced vertical spaces under \startcolumnset
Dear Sytse Knypstra, Thank you for your reply. I read the manual “Columns” as you suggested. The command \setupcolumnsetstart made a balanced output. But my problem is little different from it. I want exam paper of two columns in a page and in each column two problems located with the same space for solution. In general, it worked well, except the solution space of the last problem. Without \column, the heights of the two problems in the last column are different. With \column, the heights are same, but it create another extra blank page. It is not a big problem, but I wonder there is a solution. Thank you for your concern. Best regards, Dalyoung > > \setuplayout[grid=yes] > \emptylines[...] % see the command \emptylines in ConTeXtgarden > \setupcolumnsetstart[...][...][...][...] % see the manual COLUMNS, page 9 > \setupcolumnsetlines[...][...][...][...] % see the manual COLUMNS, page 9 > %\showgrid % uncomment if you want to see the grid lines and line numbers > > You find the manual COLUMNS under the heading 'Layout' on > https://wiki.contextgarden.net/Manuals. > > With kind regards, > > Sytse ___ 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 ___