I have a section, <<simple-list>> that I want to show when the field "status" is fold or partial or order. Now I repeat the code three times:
Is there any way to make it easier?
\define my-macro()
<$list filter="[[fold]] [[partial]] [[sort]] +[match{!!status}]"> <<simple-list>> </$list>
<$list filter="[[unfold]] [[unsort]] +[match{!!status}]"> <<long-list>> </$list>
\end