A macro like widget can only be used (properly) within a passage with a specific tag, that of [widget], and so giving an warning if it is used outside of it would be a good idea. Doing this is probably not too hard, just an extra check when processing the macros.
A macro like
widget
can only be used (properly) within a passage with a specific tag, that of[widget]
, and so giving an warning if it is used outside of it would be a good idea. Doing this is probably not too hard, just an extra check when processing the macros.