On 11/16/2021 3:59 PM, Taco Hoekwater wrote:
Hi,
Something goes wrong rather oddly in lmtx with \fillinline. In vmode, it does
not actually
show the fill-in line, but then it does remember it because it will appear in
the *next*
paragraph.
mkiv is fine, for comparison.
Best wishes.
Taco
% MWE:
\setuppapersize[A6,landscape]
\starttext
OK: \fillinline[width=2cm]{\it OK (hmode)} \par
\fillinline[width=2cm]{\it NOT OK (vmode)} \par
NOK, spillover!\par
\stoptext
we can add a \dontleavehmode
\permanent\tolerant\protected\def\fillinline[#1]%
{\dontleavehmode
\registerparwrapper
{fillinline}%
{\pack_fillinline_before{#1}}%
{\pack_fillinline_after {#1}%
\unregisterparwrapper{fillinline}}}
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
_______________________________________________
dev-context mailing list
dev-context@ntg.nl
https://mailman.ntg.nl/mailman/listinfo/dev-context