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
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.
Is \nextbox a new entry of latest versions?
I've seen also \nextboxwd, \nextboxht, etc.
So you can measure the next box to
On 9/1/2020 5:47 PM, mf wrote:
\unexpanded\def\groupedwordorparagraphright{\dosingleempty\dogroupedwordorparagraphright}
\def\dogroupedwordorparagraphright[#1]{\groupedcommand{\setbox\scratchbox\hbox\bgroup}
{\egroup\ifdim\wd\scratchbox < \hsize
\wordright{\unhbox\scratchbox}
\else
Hello list,
this is a MWE that worked right in MkIV and in LMTX versions (at least)
until April 22nd, 2020.
There's a macro, \wordorparagraphright, that takes one argument, makes a
hbox with it and measures its width
- if its width is less than \hsize, then it calls \wordright
- if its