On 8/2/24 01:13, Gerion Entrup wrote: > Ok, I think I understand that in principal. Thanks for the explanation. > Can I somehow know in advance that a margin note makes use of \framed?
Hi Gerion, there is an \ifinframed conditional, such as in: \starttext \framed{\ifinframed a\else b\fi} \ifinframed a\else b\fi \framed{\doiftextelse{\ifinframed a\fi} {framed} {not framed}} \doiftextelse{\ifinframed a\fi} {framed} {not framed} \stoptext This may help to achieve what you want. Just in case it helps, Pablo ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________________