From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/96028 Path: news.gmane.org!.POSTED!not-for-mail From: Robert Blackstone Newsgroups: gmane.comp.tex.context Subject: insert pagebreak in toc (MkIV) Date: Mon, 5 Sep 2016 09:06:38 +0200 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Content-Type: multipart/mixed; boundary="===============6405874053943106925==" X-Trace: blaine.gmane.org 1473059250 10213 195.159.176.226 (5 Sep 2016 07:07:30 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 5 Sep 2016 07:07:30 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Mon Sep 05 09:07:26 2016 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bgo01-0001lm-Fk for gctc-ntg-context-518@m.gmane.org; Mon, 05 Sep 2016 09:07:21 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 3583B16EB4; Mon, 5 Sep 2016 09:06:59 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8p4O0eCsftgo; Mon, 5 Sep 2016 09:06:56 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 8957916EAF; Mon, 5 Sep 2016 09:06:56 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id E1A2416EAF for ; Mon, 5 Sep 2016 09:06:54 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id u9hs0nEoYpLU for ; Mon, 5 Sep 2016 09:06:54 +0200 (CEST) Original-Received: from mail-wm0-f41.google.com (mail-wm0-f41.google.com [74.125.82.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 2038916EAD for ; Mon, 5 Sep 2016 09:06:44 +0200 (CEST) Original-Received: by mail-wm0-f41.google.com with SMTP id 1so121639166wmz.1 for ; Mon, 05 Sep 2016 00:06:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:date:subject:to:message-id:mime-version; bh=jOnzvJm6WT+Hqy114tT3Fv0DtYw+U7ZdZxrSKGZKwGI=; b=pWXpG8bslX8YpZrzsfHPRFnX4IW8Bg/3gGyM8q/xn8qVynq8ex4iThD9eZD8PFwr5G RglHwH+dGnJ7iEYrhXZUysWxmT/4NZhd7SCHTyA5HdGgHVZuHQQkfK14jZjS9EiLa65f YfT+zw0soGXATcyOoH2++TjS9FsdkX0tKMTICmVWBevh6q/rPOA5h/pN1k7H5hHfUQJ0 +iTfkxIhuCHZTSV59smvV0EecXHan516Ry9zaYI4XxhTTAa4GGKmHtMPXo5QTEzQfQ5n KzwM4ZZ6nn6vk5pmnBhIuQIRGKeF5ftdeDWOdsB9uKswcxLSwYbhVOEVUFgFzdAXPU5P l6KA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:date:subject:to:message-id:mime-version; bh=jOnzvJm6WT+Hqy114tT3Fv0DtYw+U7ZdZxrSKGZKwGI=; b=RiOUkEGycGOyjIGfIxHKP3gKXoeD5hrnSobTDljeL0NWGXGk4yzX1D87Tpve1e3E5X 0JF4WuEFMcAHWVIay0j/Oc/3OJXdNdJi64z2/nAysBo/HD/QO1UU91aBRGc0+LmjdKNE oraGA3x9QiWbYcCP83tYfQB5TgkycEoajNDZbVmiaVVFk0VQpQ0ogQ45ceqbDoN/aa7k X8TSDReRvfZH2Z1f6pQfIyBpVgilbi/f2MPW2Nx45e6prCEl1Ara/ugeKINE/z7aMPoJ Fyo3Z5pnhqM59B+FASIWATLtRLGWtglOKjJFbVh1wzCuBQjnUo272XaYwjrStBQLznZY E7Uw== X-Gm-Message-State: AE9vXwMb1rtH45ypgaFEg4jFFd7MlmdcwxfdYgmHs2639+KB2qLFYr7Zy5813owNtMkR5A== X-Received: by 10.194.238.42 with SMTP id vh10mr33110981wjc.111.1473059203562; Mon, 05 Sep 2016 00:06:43 -0700 (PDT) Original-Received: from [192.168.0.6] (178-85-223-59.dynamic.upc.nl. [178.85.223.59]) by smtp.gmail.com with ESMTPSA id m5sm13471723wmd.1.2016.09.05.00.06.41 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 05 Sep 2016 00:06:42 -0700 (PDT) X-Mailer: Apple Mail (2.1878.6) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:96028 Archived-At: --===============6405874053943106925== Content-Type: multipart/alternative; boundary="Apple-Mail=_B9FF6B70-7057-4256-B713-F5BDC67A233E" --Apple-Mail=_B9FF6B70-7057-4256-B713-F5BDC67A233E Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii 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=3D\page,after=3D\page] \starttext \placelist[chapter,section][criterium=3Dtext,extras=3D{1.1=3Dpage}] \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 =20= --Apple-Mail=_B9FF6B70-7057-4256-B713-F5BDC67A233E Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii 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 htt= ps://mailman.ntg.nl/pipermail/ntg-context/2010/052739.html, and = still on http://wiki.contextgarden.net/Table_of_Contents#Forced_Page_Break,&nb= sp; but it does not seem to work = anymore.

MWE (from the first-mentioned = site):
%%%%%%%%%%%%%%%

\definelist= extra[page][before=3D\page,after=3D\page]

\startt= ext

    =  \placelist[chapter,section][criterium=3Dtext,extras=3D{1.1=3Dpage}]<= /div>

    =  \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

 
= --Apple-Mail=_B9FF6B70-7057-4256-B713-F5BDC67A233E-- --===============6405874053943106925== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============6405874053943106925==--