8 Feb
2007
8 Feb
'07
10:10 a.m.
Currently parts are listed in the TOC as: Part 1 foo 1-5
What I want on the right hand side is just the page number. Part 1 foo 5 Also I want the chapters to be numbered squentially without regard to part. Ditto numbering of pages.
I can simply not use the \part statement at all and just do a \writebetweenlist[chapter]{Part 1 foo \hfil \pageno} but there should be a more legitimate way.
Indeed there is: \setuphead[part][placehead=yes,resetnumber=no,partnumber=no] \setuplist[part][partnumber=no] \setuplist[chapter][partnumber=no] \setuppagenumbering[way=bytext] \starttext \completecontent \part{the first}\page[yes] \chapter{one}\page[yes] \part{the second}\page[yes] \chapter{two}\page[yes] \stoptext Duncan