On 5/8/19 9:28 PM, Wolfgang Schuster wrote: > [...] >> Is there any way to avoid that \lastsubpagenumber counts the blank page >> that might be placed among two chapters? > You have to reset the subpage counter at the end of each chapter. > > \startsetups [chapter:after] > \page > \resetsubpagenumber > \stopsetups > > \setuphead > [chapter] > [aftersection=\directsetup{chapter:after}]
Many thanks for your fast reply, Wolfgang. It works perfectly fine. It doesn’t work in my real document, but it took me a while to realize that I was using \chapter instead of \startchapter...\stopchapter. Time to get a break... Many thanks for your help, Pablo -- http://www.ousia.tk ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________