Re: [NTG-context] Context index and sorting question
sjoerd siebinga wrote: Could somebody maybe tell me just how the \definesortkey command works? Do I have to define a specific encoding or create "languagespecifics" in order for TEXEXEC or TEXUTIL to use it? you hook it into the language \startlanguagespecifics[no] \definesortkey {\ae}{z}{b}{\ae} \definesortkey {\AE}{z}{b}{\AE} \definesortkey {\o}{z} {c}{\o} \definesortkey {\O}{z} {c}{\O} \definesortkey {\aa}{z}{d}{\aa} \definesortkey {\aring}{z}{d}{\aring} \definesortkey {\AA}{z}{d}{\AA} \definesortkey {\Aring}{z}{d}{\Aring} \stoplanguagespecifics \starttext test \index{amoebe} test \index{\ae roplane} test \index{big issue} \completeindex \stoptext I would imagine that ConTeXt must be able to sort a norwegian words in a separate register say "\indexnw{kr{\o}ypa}}" differently from the english index entries in general \index{} register. hm, this should be doable, if this is important, i can look into it (time to sort out the index mess) Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Context index and sorting question
Am 29.12.2004 um 15:37 schrieb sjoerd siebinga: I would imagine that ConTeXt must be able to sort a norwegian words in a separate register say "\indexnw{kr{\o}ypa}}" differently from the english index entries in general \index{} register. Sorry, I can't help with \definesortkey, only wanted to point out that you can define your own indexes easily: "index" is only the one predefined "register". Look after \defineregister, \setupregister etc. in the manual. Grüßlis vom Hraban! --- http://www.fiee.net/texnique/ http://contextgarden.net ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Context index and sorting question
On 29 Dec 2004, at 14:41, John Culleton wrote: Could someone tell me how I can use the \definesortkey command or for that matter any other ConTeXt mechanism to define sortrules for individual indices? You might want to look into a separate program called Xindy. It more or less replaces Makindex in plain and LaTeX applications, but it could be used in Context most likely. It is specifically designed to address the situations you described, i.e. non-Western European sort rules. Thanks for the quick reply, John. Xindy looks like a great program and provides great solutions. The problem is that I can't seem to get it to work on my Mac OS X machine. A quick look through the xindy mailinglist gave me the impression that no one has been able to get Xindy to run on Mac OS X yet. Could somebody maybe tell me just how the \definesortkey command works? Do I have to define a specific encoding or create "languagespecifics" in order for TEXEXEC or TEXUTIL to use it? I would imagine that ConTeXt must be able to sort a norwegian words in a separate register say "\indexnw{kr{\o}ypa}}" differently from the english index entries in general \index{} register. Sjoerd ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Context index and sorting question
On Wednesday 29 December 2004 04:11, sjoerd siebinga wrote: > Hi all, > > I am currently working on a dictionary with multiple indices of older > language stages like, Old English, Old Norse, Greec, Sanskrit, Hittite, > etc. Most of these languages have different characters, accents and > sorting rules than English. In enco-ini.tex I found the \definesortkey > command, but it is not entirely clear to me how I could use this > command for the individual indices instead of for the overall language > (in my case english). Or even if this is possible at all? > > Could someone tell me how I can use the \definesortkey command or for > that matter any other ConTeXt mechanism to define sortrules for > individual indices? > You might want to look into a separate program called Xindy. It more or less replaces Makindex in plain and LaTeX applications, but it could be used in Context most likely. It is specifically designed to address the situations you described, i.e. non-Western European sort rules. -- John Culleton Short list of publishing/marketing books: http://wexfordpress.com/tex/shortlist.pdf ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Context index and sorting question
Hi all, I am currently working on a dictionary with multiple indices of older language stages like, Old English, Old Norse, Greec, Sanskrit, Hittite, etc. Most of these languages have different characters, accents and sorting rules than English. In enco-ini.tex I found the \definesortkey command, but it is not entirely clear to me how I could use this command for the individual indices instead of for the overall language (in my case english). Or even if this is possible at all? Could someone tell me how I can use the \definesortkey command or for that matter any other ConTeXt mechanism to define sortrules for individual indices? Regards Sjoerd PS why does Texutil strip accents \' \~ \` \" \^ but not \= ? ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context