[NTG-context] insert pagebreak in toc (MkIV)

Robert Blackstone blackstone.robert at gmail.com
Mon Sep 5 09:06:38 CEST 2016


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?

Thanks in advance for any help.

Best regards,
Robert Blackstone

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20160905/226dd925/attachment.html>


More information about the ntg-context mailing list