Minimal example: \starttext \defineitemgroup[Enum][levels=3] \setupitemgroup[Enum][each][fit][symbol=n] \setupitemgroup[Enum][1][stopper={}] \setupitemgroup[Enum][2][stopper={***}] \setupitemgroup[Enum][3][stopper={******}] \startEnum \item item 1 \startEnum \item item 1.1 \startEnum \item item 1.1.1 \item item 1.1.2 \stopEnum \item item 1.2 \stopEnum \item item 2 \stopEnum \stoptext When option 'fit' is used with nested lists, calculated max item widths are saved in reverse order. Maxitemwidths are saved at first pass in \stopitemgrup in reverse order, while are read at second pass in \startitem grpoup in sequental order. Am i right? Best regards, Vasiliy
On 11/13/2014 2:41 PM, Vasiliy Chirkov wrote:
Minimal example:
\starttext \defineitemgroup[Enum][levels=3] \setupitemgroup[Enum][each][fit][symbol=n] \setupitemgroup[Enum][1][stopper={}] \setupitemgroup[Enum][2][stopper={***}] \setupitemgroup[Enum][3][stopper={******}]
\startEnum \item item 1 \startEnum \item item 1.1 \startEnum \item item 1.1.1 \item item 1.1.2 \stopEnum \item item 1.2 \stopEnum \item item 2 \stopEnum \stoptext
When option 'fit' is used with nested lists, calculated max item widths are saved in reverse order. Maxitemwidths are saved at first pass in \stopitemgrup in reverse order, while are read at second pass in \startitem grpoup in sequental order.
Am i right?
yes, i'll fix it (i didn't assume nested fixed usage) ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (2)
-
Hans Hagen
-
Vasiliy Chirkov