On 8/16/2023 7:23 PM, Wolfgang Schuster wrote:
Hi,

The \ifzerodim check (one line 1599 in strc-itm.mklx) doesn't work here because it happens after the box is flushed and the width is always 0pt.

\def\strc_itemgroups_handle_groups_text_item
   {\hbox
      {\ifconditional\c_strc_itemgroups_sub
         \dostarttagged\t!ignore\empty
         +\enspace
         \dostoptagged
       \fi
       \box\b_strc_itemgroups
       \ifzerodim\wd\b_strc_itemgroups\else
        \hskip\interwordspace % not configureable (yet), could be \c!textdistance
       \fi}%
    \nobreak}
ha, just in time as i was going to upload

\def\strc_itemgroups_handle_groups_text_item
  {\hbox
     {\ifconditional\c_strc_itemgroups_sub
        \dostarttagged\t!ignore\empty
        +\enspace
        \dostoptagged
      \fi
      \scratchwidth\wd\b_strc_itemgroups
      \box\b_strc_itemgroups
      \ifzerodim\scratchwidth\else
\hskip\interwordspace % not configureable (yet), could be \c!textdistance
      \fi}%
   \nobreak}


-----------------------------------------------------------------
                                          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
To unsubscribe send an email to dev-context-le...@ntg.nl

Reply via email to