I have an itemized list like this:
\starttext
\startitemize[n]
\item This is some text.
\item This is some more text.
\item This is some yet more text text.
\stopitemize
\stoptext
How can I assign a custom macro to surround all of the text in the list, it would be equivalent to this:
\define[1]\mymacro{Do some stuff #1}
\starttext
\startitemize[n]
\item \mymacro{This is some text.}
\item \mymacro{This is some more text.}
\item \mymacro{This is some yet more text text.}
\stopitemize
\stoptext
Basically I need to do some settings to the itemize such that the equivalent of placing \mymacro{}
around every item in the itemized list.
How can I get a macro to surround \item
's text in ConTeXt?
\startitem…\stopitem
syntax instead of plain\item
and then use the usual hooks.