20 Nov
2009
20 Nov
'09
7:55 p.m.
berend@pobox.com wrote:
"Taco" == Taco Hoekwater
writes: Taco> You could pre-assign a zero-padded number to each book Taco> (Genesis=001, Exodus=002), and use that number inside the Taco> square brackets.
Right, but that would be extremely annoying to type in all the time :-)
\def\Genesis#1{\index[001 #1]{Genesis #1}} etc. Takes only 66 macros and it even saves you typing :)
I'm looking for a more automated solution, but given that even you don't know one, it seems I have to write some sorting mechanism myself.
Or perhaps use the trick above as the input is XML, and the verses are clearly marked, so I could generate ConTeXt with the proper sort codes.
Who does the index sorting, is that texexec?