Hans Hagen <[EMAIL PROTECTED]> wrote: > itemgroups cannot be miced
Though there's no problem without those references in [brackets], so the mixing works most of the time anyway. > this catches it Thanks! With two small changes, your definition makes the mixing work even when using references. The two changes: (1) the macro needed a closing brace, and (2) there's no \currentitemlevel in any context source file so I guessed that \itemlevel was the intention. So: \def\dostartitemgroup[#1][#2][#3]% {\bgroup \ifnum\itemlevel=\zerocount \def\currentitemgroup{#1}% no nested mixing of itemgroups \fi \ifthirdargument \dodostartitemgroup[#2][#3]% \else \doifassignmentelse{#2} {\dodostartitemgroup[][#2]} {\dodostartitemgroup[#2][]}% } Is this macro worth putting into the official distribution or is it a special hack to keep with my documents that need it? -Sanjoy `Until lions have their historians, tales of the hunt shall always glorify the hunters.' --African Proverb ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________