Finding simple \at[] statements inadequate for glossaries (where there might be zero, one, or several page references per entry), I'm experimenting with registers, but I'm not getting the expected results: \defineregister[glind][glinds] \setupregister[glind][style=\it] \setupinteraction[state=start] \starttext double\glind[double]{} \page single\glind[single]{} \page double\glind[double]{} \page single should read, '2': (p.\placeglind[single]) double should read, '1, 3': (pp.\placeglind[double]) zero should be blank: (\placeglind[zero]) \stoptext Note the problems: 1. \placeglind[label] doesn't point to the label, it points to any label. 2. Context forces a linebreak before and after the numbers. 3. The numbers aren't italic. Also, it would be nice to set 'p.', 'pp.', or nothing automatically, depending on whether there was one, several or zero instances of the label in the text. Is register not the mechanism to do this? If not, I don't know what is.
participants (1)
-
Michael Saunders