On 9/2/2020 11:10 AM, mf wrote:
Thanks Hans, this solves the problem I had with the new implementation of \wordright. It's not exactly a problem of \wordright, but the combination with \groupedcommand.
that is always tricky as what happens is postponing till the group ends but wordright now kind of hooks into the par construction
Is \nextbox a new entry of latest versions?
no, actually one of the oldest things
I've seen also \nextboxwd, \nextboxht, etc. So you can measure the next box to come in advance. Is it like that?
Is it a vbox when you're in vertical mode and a hbox when you are in horizontal mode?
you just pass the box
Is this interpretation of \dowithnextbox in \dowhatever right?
\dowithnextbox {.1.} \.2. {.3.} 1 COMMAND = {\ifdim\wd\nextbox<\hsize...} 2 CSNAMEĀ = \hbox or \vbox 3 CONTENT = {#1} yes
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 -----------------------------------------------------------------