![](https://secure.gravatar.com/avatar/728f11d61a15b6777af9251e409ce379.jpg?s=120&d=mm&r=g)
17 Apr
2014
17 Apr
'14
9:27 a.m.
Hello, How can I get the following table of contents? Contents Chapter first MyTitle Chapter II MyTitle Chapter III MyTitle I have tried: \MyNumber{\doifelse{\currentsectioncountervalue}{1}{first}{#1}} setuplist[chapter][numbercommand=\MyNumber] but it does not work. Actually because \currentsectioncountervalue always returns 0 in the table of contents. So I need another command which gives me the current number for testing if it is equal to one (first chapter). Thank you in advance.