On 9/5/2016 9:06 AM, Robert Blackstone wrote:
Dear all (but maybe in particular Dear Hans),
I need a pagebreak in the ToC to avoid a widow. So far I used the method given in sept 2010 in https://mailman.ntg.nl/pipermail/ntg-context/2010/052739.html, and still on http://wiki.contextgarden.net/Table_of_Contents#Forced_Page_Break, but it does not seem to work anymore.
MWE (from the first-mentioned site): %%%%%%%%%%%%%%%
\definelistextra[page][before=\page,after=\page]
\starttext
\placelist[chapter,section][criterium=text,extras={1.1=page}]
\chapter{x1} \section{xx1} \section{xx2} \chapter{y2} \section{yy1} \section{yy2}
\stoptext
%%%%%%%%%%%%%%%%% Compiled with a recent mkiv, from between sept 2015 till july 2016, the result shows no page break in the ToC. What can be done about this?
\showinjector \setinjector[register][3][\column] \setinjector[list] [2][{\blank[3*big]}] \starttext \placelist[section][criterium=text] \blank[3*big] \placeregister[index][criterium=text] \page \startsection[title=Alpha] first \index{first} \stopsection \startsection[title=Beta] second \index{second} \stopsection \startsection[title=Gamma] third \index{third} \stopsection \startsection[title=Delta] fourth \index{fourth} \stopsection \stoptext ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------