I’ve just taken a look back over the discussion of count-max, and I’d
like to float an idea.
That issue was prompted by the need to fetch the count of author names
into a sort key with a limit of 3, to satisfy the sort requirements of
AGU and AGU-based styles. Generality is nice, but on the face of it,
it seems like a simpler solution would be to just give the name
element an additional attribute value form=“count”, and provide an
option name=“max-name-count”. This would keep numeric values in a
familiar location where they are already used (for et-al-min etc), and
wouldn’t clutter up the conditional statement with complex attributes,
some of which work together and some of which don’t.
I know it’s late in the day on this item, but this solution does seem
like a good fit, and I’m curious what people think. It would
certainly be simple to implement, and it would leverage the existing
substitution logic very nicely.
Frank