Hi,
I could find any options to do what you want.
I assume you would have to redefine completecontent command to get
the functionality you need.
I have not checked, but I assume that completecontent accesses a Lua-table
with the TOC information. It should be easy enough to use this table to create
the effect you want.
regards
Keith.
Am 15.03.2013 um 07:46 schrieb H. Özoguz
Maybe I have not made it clear, what I mean?
My Minexample is:
\setuplist[chapter][pagenumber=no] \starttext \completecontent \chapter{Chapter 1} \section{Section 1} \chapter{Chapter 2} \stoptext
Now Chapter 1 is without pagenumber in the TOC, correct, because it has a section after the chapter-title! But Chapter 2 has no sections, so it need a page number, how to do that?