I want to build an item list with the icon replaced with a checkbox. I copied macro itemize-dot
and modified the icon to box:
<assign|itemize-check|<\macro|body>
<compound|<if|<and|<value|<merge|prefix-|itemize-dot>>|<unequal|<value|last-item-nr>|0>>|list*|list>|<macro|name|<aligned-item|<arg|name>
\ >>|<macro|name|<with|mode|math|\<box\>>>|<arg|body>>
</macro>>
But when I press ENTER inside the list, texmacs won’t add the <item>
tag for me. Thus the box icon won’t show.
<\itemize-check>
test
</itemize-check>
It should be:
<\itemize-check>
<item>test
</itemize-check>