On 7/26/2018 5:27 PM, Henning Hraban Ramm wrote:
Am 2018-07-26 um 16:03 schrieb Hans Hagen
: \def\MyFill#1% {\leaders\hbox to 1em{\hss.\hss}\hfill \rlap{\hbox to \rightskip{\hss#1}}}
\showframe
\starttext
\startnarrower[2*right] \startitemize[packed,joinedup] \startitem \input tufte \MyFill{33} \stopitem \startitem \input knuth \MyFill{99} \stopitem \stopitemize \stopnarrower
\stoptext
Thank you very much! I can even put \start/stopnarrower in before/after of \setupitemgroup. Its width parameter doesn’t work (at least not together with inmargin).
But in your solution the dots (leaders) also stop with the text, and I’d like them to continue up to the number. I tried:
\def\MyFill#1{\leaders\hbox to 1em{\hss. }\hfill \rlap{\hbox to \rightskip{\leaders\hbox to 1em{. \hss}\hfill#1}}}
But that’s ugly and gives an irregular gap between the two sets. I don’t understand this low level TeX enough... maybe time that i start a manual about tex basics ...
\starttexdefinition MyFill #1 \removeunwantedspaces \begingroup \parfillskip-1\rightskip plus 1fil\relax \cleaders\hbox spread 1em{\hss.\hss}\hfill \hbox{#1} \par \endgroup \stoptexdefinition \showframe \starttext \startnarrower[2*right] \startitemize[packed,joinedup] \startitem \input tufte \MyFill{33} \stopitem \startitem \input knuth \MyFill{99} \stopitem \stopitemize \stopnarrower \stoptext ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------