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
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to