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.