Long time ago, I wrote:
5 - The command variants might need specials (eg \setupinterlinespace).
Yes, the current solution for that command is not very nice. But there are more than a few commands with such variant calling conventions,
I can only find setupinterlinespace in cont-en.xml. The xml-element is cd:choice, and only appears in that cmd. What others (undocumented) commands are there that have this?
and it is hard to come up with a nice-looking solution. Suggestions for solutions are welcome.
instead of
\setupinterlinespace[...]|[...,...=...,...] [...] reset small medium big on off height number depth number line dimension top number bottom number
we could have two entries:
\setupinterlinespace[...] [...] reset small medium big on off
\setupinterlinespace[...,...=...,...] height number depth number line dimension top number bottom number
Could we split this up with variant="1" and variant="2"? (see attached
patch)
This would give: