Renaud Aubin wrote:
> Hi all,
>
> The following code
>
> % frenchitemize
> \setbox0=\hbox{--~}
> \def\indenteddash#1{\hskip\parindent--~}
> \definesymbol[indentdash][\indenteddash]
> \defineitemgroup[frenchitemize]
> \setupitemgroup[frenchitemize]
> [each]
> [indentdash,packed,joinedup]%,intext] % comment� le 2611
> [indentnext=yes,width=\dimexpr \parindent + \wd0 \relax]
>
> % testitemize
> \defineitemgroup[testitemize]
> \setupitemgroup[testitemize]
> [each]
> [indentdash,packed,joinedup,intext] % comment� le 2611
> [indentnext=yes,width=\dimexpr \parindent + \wd0 \relax]
>
apart from you rproblem ... best store the wd0 instead of relying on the
fact that box 0 stays the same
\setbox0=\hbox{--~} \edef\MyWidth{\the\wd0}
\def\indenteddash#1{\hskip\parindent--~}
\definesymbol[indentdash][\indenteddash]
\defineitemgroup[frenchitemize]
\setupitemgroup[frenchitemize]
[each]
[indentdash,packed,joinedup]%,intext] % comment? le 2611
[indentnext=yes,width=\dimexpr \parindent + \MyWidth \relax]
% testitemize
\defineitemgroup[testitemize]
\setupitemgroup[testitemize]
[each]
[indentdash,packed,joinedup,intext] % comment? le 2611
[indentnext=yes,width=\dimexpr \parindent + \MyWidth \relax]
-
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context