![](https://secure.gravatar.com/avatar/ac3fbaf0a287c4cffbc9f18fa931586c.jpg?s=120&d=mm&r=g)
Hello, I am using: \setupfootertexts [chapter] \setupheadertexts [section] \setupheadertexts [][pagenumber] [pagenumber][] % doublesided to place the chapter title in the footer and the section title in the header. (Of course, I also use \setuphead [chapter] [header=nomarking,footer=empty,page=right] \setuphead [part] [header=nomarking,footer=empty,page=right] so that \chapter{} and \part{} begin on an odd page without a text header nor a footer.) However, a \chapter{} may begin with a long introduction (several pages) before seeing a \section{}. In this case, the header gets the title of the last section of the preceeding chapter. Similarly, a \part{} may begin with a long introduction (several pages) before seeing a \chapter{}. In this case, the footer gets the title of the last chapter of the preceeding part. This is incorrect. Is there some way to have the section text reset for each \chapter and the chapter text reset for each \part? (I would expect a "way=bychapter" and "way=bypart" type of option and also suggest that this be the default behavior). Alan By the way, there appears to be a (recent) bug in that \setupheadertexts [section] \setupheadertexts [][pagenumber] [pagenumber][] % doublesided works, whereas \setupheadertexts [][pagenumber] [pagenumber][] % doublesided \setupheadertexts [section] currently is broken (no page numbers occur).