On 6/22/2023 3:32 PM, Hans van der Meer via ntg-context wrote:
\starttext
x \rightarrowfill x
x \leftarrowfill x
hbox to 5cm:
y\hbox to5cm{\rightarrowfill}y
y\hbox to5cm{\leftarrowfill}y
\stoptext
But obviously not in an dimensioned \hbox, whereas Knuth's version does that
too.
\permanent\protected\def\adaptive{\dowithnextbox{\adaptivecheckbox\nextbox\box\nextbox}}
y\adaptive\hbox to5cm{x\rightarrowfill x}y
y\adaptive\hbox to5cm{x\leftarrowfill x}y
will keep you occupied for a while because now you have to grep for
adaptive
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 : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage : https://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___________________________________________________________________________________