Suppose I have a macro like this: \define[1]\thisismylist{ This list has n items. \startitemize #1\stopitemize
} And in the document it might have this: \thisismylist{\item cat\item dog\item tree } How can I make n display three, as there are three items? "This list has 3 items: 1. cat2. dog3. tree I will use this as a means to check if the description before a list needs a plural or not: Read the prompts below: - Do you think cats should be banned from university dormitories?- Should public schools provide free breakfast? And that way, if there is only one prompt, it changes the instructions to be: Read the prompt below: - Do you think cats should be banned from university dormitories? --Joel
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________________