Am 2018-06-10 um 13:07 schrieb Henning Hraban Ramm <te...@fiee.net>: >> I think this may achieve what you want: >> \setupregister[index][method={zm,zc}] >> I hope it helps, > > Thank you very much! > > I overlooked that there is indeed some documentation: > http://wiki.contextgarden.net/Command/keyword:method
But reading through that and the source I’m still confused. Source snippet: local validmethods = tohash { "ch", -- raw character (for tracing) "mm", -- minus mapping "zm", -- zero mapping "pm", -- plus mapping "mc", -- lower case - 1 "zc", -- lower case "pc", -- lower case + 1 "uc", -- unicode } local predefinedmethods = { [v_default] = "zc,pc,zm,pm,uc", [v_before] = "mm,mc,uc", [v_after] = "pm,mc,uc", [v_first] = "pc,mm,uc", [v_last] = "pc,mm,uc", } I’d like to write a proper explanation for the wiki (and my book). Is there anywhere documentation about the meaning/goal of the presets or algorithms? Are these codes translatable into something like "ignore diacritics", "ignore upper/lowercase" etc.? Greetlings, Hraban --- https://www.fiee.net http://wiki.contextgarden.net https://www.dreiviertelhaus.de GPG Key ID 1C9B22FD ___________________________________________________________________________________ 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 ___________________________________________________________________________________