On 4/8/2026 12:01 PM, Max Chernoff via ntg-context wrote:
Hi Emanuel,
On Wed, 2026-04-08 at 18:45 +0900, Emanuel Han wrote:
What is a „horizontal mode“?
\starttext
\ruledvbox \bgroup \showmakeup
test
\egroup
\ruledvbox \bgroup \showmakeup
\dontleavehmode test
\egroup
\ruledvbox \bgroup \showmakeup
\hbox{!}
\egroup
\ruledvbox \bgroup \showmakeup
\dontleavehmode \hbox{!}
\egroup
\stoptext
The third alternative is explicltly there (in the tex engine) in order
to be able to pack boxes without them being seen as paragraphs.
I didn’t find any information about [...] \dontleavehmode in the Wiki.
\dontleavehmode is ConTeXt's equivalent to \leavevmode:
https://tex.stackexchange.com/q/22852/270600
fwiw, at that time we introduced that in order to prevent unwanted
interferences
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] /
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
___________________________________________________________________________________