Re: [NTG-context] sorting for particular sub entries to register

2022-02-01 Thread jbf via ntg-context
Thanks Robert, Initially I thought it would probably be Lua which could come up with a simple solution, though Hans had made it clear that 'messing with' the key was the way to go, and, as always, he was proven correct. I simply had to find out the best way to do the messing! But when time

Re: [NTG-context] sorting for particular sub entries to register

2022-01-31 Thread Robert via ntg-context
Hi Julian, Another solution could be to use Lua. I have a multilingual document in which some elements to be printed bold (Language 1), and collected in an index (trk) arranged according their (verbal) stems. Elements from Language 2 are to be printed in italics in the text and collected in a

Re: [NTG-context] sorting for particular sub entries to register

2022-01-31 Thread jbf via ntg-context
Yes, Adam, that works. Though it can be a laborious solution, since it means creating keys for everything in a sub entry list (and I have many instances, 40 or more in some cases). However, I did not ask for a 'simple' solution, just a solution! Thank you. Julian On 1/2/22 11:09, Adam

Re: [NTG-context] sorting for particular sub entries to register

2022-01-31 Thread Adam Reviczky via ntg-context
Hi Julian, How about using the keys in every instance? \setupregister[index][n=1,method={zc,pc,zm,pm,uc},style=WORD] \defineprocessor[special][style=italic] \starttext P\index[Plenary+periti]{Plenary Council+{\it periti} (experts)} B\index[Plenary+beriti]{Plenary Council+{\it beriti} (experts)}

[NTG-context] sorting for particular sub entries to register

2022-01-31 Thread jbf via ntg-context
Let me come back to the unresolved (for me) question of two situations in sub entries to a book index (register). Sub entries that have formatting or sub entries that are surrounded by quote marks (straight or curly, it makes no difference) do not appear in the correct alphabetical order.