[NTG-context] packed list only if items > 5

Pablo Rodriguez oinos at gmx.es
Thu Nov 14 21:07:21 CET 2019


Dear list,

I have the following sample:

    \starttext
    \startitemize[\ifnum\currentnofitems>5 packed\fi]
    \dorecurse{7}
        {\startitem\currentitemnumber/\currentnofitems\stopitem}
    \stopitemize
    \stoptext

Is there any way to get a packed list if and only if it contains more
than a given number of items?

Many thanks for your help,

Pablo
--
http://www.ousia.tk


More information about the ntg-context mailing list