Hi I am sorry, I don't know the appropriate terminology. Could be used *************** END or a different special string, to end any headline scope? Like an "end parenthesis" for the headline just above it. Maybe in this way, all headlines would be the same: if the special string appears, the headline scope ends there (inlinetask). If no special string, the scope would end before the next headline (or at the end of the document).