I am trying to use the ConTeXt command \inframed to add a border to arbitrary text within a line/paragraph. MWE to show problem:
\starttext
a \inframed{b} c
\blank
\inframed{d} e
\stoptext
Expected output: "d" and "e" appear on same line, as with "a", "b", and "c".
Actual output: line break after "d".
Is this supposed to happen, and in either case, what can be done to prevent it? The ConTeXt Wiki pages on the "(in)framed" command and a Google search yielded no leads.





\dontleavehmode\inframed{d} e: See http://www.mail-archive.com/ntg-context@ntg.nl/msg30719.html – Marco Daniel Feb 26 '17 at 13:15\mbox{\inframed{d} e}might solve your problem as well, except I'm not super familiar with ConTeXt. – Artillect Feb 26 '17 at 15:47