![](https://secure.gravatar.com/avatar/9201745b65bdc18b2c17efdce6c19bd0.jpg?s=120&d=mm&r=g)
Hi, Does anyone know about a way to "reset" the state in a combined list. Let me illustrate with an example: \setuplist[chapter][alternative=f,margin=0cm,distance=0cm,before=,after=] \setuplist[section][alternative=b,style=bold,width=5mm,margin=0mm,distance=0mm] \setuplist[subsection][alternative=c,style=normal,margin=5mm,width=7mm,distance=2mm] \chapter{A} % not indented in toc \section{1} \subsection{a} \section{2} \chapter{B} % indented as a section in toc \section{1} \subsection{a} \chapter{C} % indented as a subsection Thanks, Olivier
![](https://secure.gravatar.com/avatar/9201745b65bdc18b2c17efdce6c19bd0.jpg?s=120&d=mm&r=g)
Answering to myself. Seems like the alternative f is more sensitive than the command one~: \def\MyCommand#1#2#3{\framed[width=\hsize]{use#1#2#3aswanted}} \setuplist[chapter][alternative=command,command=\MyCommand] is enough to get rid of the indentation issue. Olivier
participants (1)
-
Olivier