From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,HTML_MESSAGE,MAILING_LIST_MULTI, URIBL_SBL_A autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 5868 invoked from network); 22 Aug 2023 06:54:32 -0000 Received: from cgl.ntg.nl (5.39.185.202) by inbox.vuxu.org with ESMTPUTF8; 22 Aug 2023 06:54:32 -0000 Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id AD68D482B11 for ; Tue, 22 Aug 2023 08:53:34 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id C97l7gJ1wAxs for ; Tue, 22 Aug 2023 08:53:34 +0200 (CEST) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 6019D482C40 for ; Tue, 22 Aug 2023 08:52:45 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 1108548289E for ; Tue, 22 Aug 2023 08:52:20 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VRNI2tQdfJ0X for ; Tue, 22 Aug 2023 08:52:18 +0200 (CEST) Received: from mail-ed1-f43.google.com (mail-ed1-f43.google.com [209.85.208.43]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by cgl.ntg.nl (Postfix) with ESMTPS id CFC1D48289A for ; Tue, 22 Aug 2023 08:52:18 +0200 (CEST) Received: by mail-ed1-f43.google.com with SMTP id 4fb4d7f45d1cf-5280ef23593so4892248a12.3 for ; Mon, 21 Aug 2023 23:52:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1692687138; x=1693291938; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=b7+6oOpY3TSgzKfQ2kJUjjerjbUkRfvzFsHlrvlzpmA=; b=d6t1w7kB7pvdzl7LQZV9YRIWOEjoIv8t7+fWzTHwNDgmsf+vrnY3JVejJ4SMIQRncL Ld53FgYdOoO2F1cQdYC5AfVwSFNkQHqmam6Hb/Ww/6dkpNwlf2e+iUAjic+AMMbuIvXb 7rXK7wExlNObHUsJb6FKcjDa3JOQvMnJeDAf0xgY/MdWKX0gFSNxNt7brDhCgr5RMMmq Zu9eiSICbKF5jm5RlokHDcoMvo6KQ5gm95ynvoOcyLYkyGNoCLe2hebcckcu54ZXaqHV yf71UePx2n82lCSnbOEBcJG/Wl26nXMimeCsM1MorZBk0Q6RiSNA06Ki98h26fsb5OkX jlYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692687138; x=1693291938; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=b7+6oOpY3TSgzKfQ2kJUjjerjbUkRfvzFsHlrvlzpmA=; b=Y7wJ2aaeuCjm5cUeBFpwZKVR1sYU15HvGB9RXf6L9leD87nUhsYKKbF28TiDETUEge wVj1FWCw47xOv9qgfo7suTLthyDVyWnkpYtc3zrl3PWDFha4hPefMqAIQSx90FWbZUr1 1rLMUs2q8Vyq6/x+HzyDUuG7u/ajE4LqrSIbRWKAM+hdNM15j+x4ou+XHT2cGVrkuqWx m9R8VgHvt4HkHR5bjHcUObe0lgWiG6oXMOFv+FhV9Do7Aj0jwN4MneJVEd6qKrYUp+7e v+dOqPRlHUAId9/veMMAqSpiuSu9DxbKRfIzjy9KThFN+dwMv6rXaGC5ChOR3F0aEBzc DDJQ== X-Gm-Message-State: AOJu0Yw1PJ/Swg4cmuFGHZ51BbH8jtb9LDl2DKhpcHy6886znueTPg6A hjxo4kl1QjSR7lZCF+VS/ztBiIcKDoX9mC/mQ7ypbjfVawE= X-Google-Smtp-Source: AGHT+IG2Qr0k5bHBk4VAJgCFOi6zB5M2DdMuDd98QCcoeJWHVRdguuE2gNRk6+l0GKK7lhPJU8GV1e2jaaIvLfVq2H4= X-Received: by 2002:aa7:d402:0:b0:523:1fa2:4f40 with SMTP id z2-20020aa7d402000000b005231fa24f40mr6133479edq.19.1692687137926; Mon, 21 Aug 2023 23:52:17 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Andres Conrado Montoya Date: Tue, 22 Aug 2023 01:51:41 -0500 Message-ID: To: mailing list for ConTeXt users Message-ID-Hash: YISBPOOP7AJZOYDZZA7UTGGDDS33JKC3 X-Message-ID-Hash: YISBPOOP7AJZOYDZZA7UTGGDDS33JKC3 X-MailFrom: andresconrado@gmail.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list Reply-To: mailing list for ConTeXt users Subject: [NTG-context] Re: Not getting a page break in the ToC List-Id: mailing list for ConTeXt users Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: multipart/mixed; boundary="===============1358943711178503316==" --===============1358943711178503316== Content-Type: multipart/alternative; boundary="00000000000092714906037d6fd4" --00000000000092714906037d6fd4 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Apologies, I just found the solution: https://wiki.contextgarden.net/Command/setinjector El lun, 21 ago 2023 a las 23:43, Andres Conrado Montoya (< andresconrado@gmail.com>) escribi=C3=B3: > I'm trying to force a page break in a table of contents, using what is > recommended at > https://wiki.contextgarden.net/Table_of_Contents#Forced_Page_Break > > However, it does not work. Here's a MWE: > > \definelistextra[page][before=3D\page] > \starttext > \starttitle[title=3D{Table of contents}] > \placecontent[extras=3D{2=3Dpage}] > \stoptitle > \startchapter[title=3D{First chapter}] > \input knuth > \stopchapter > \startchapter[title=3D{Second chapter}] > \input knuth > \stopchapter > \startchapter[title=3D{Third chapter}] > \input knuth > \stopchapter > \stoptext > > Is there a new way of obtaining a page break before a given part, chapter > or section in the ToC? > > Thank you in advance. > > -- > Andr=C3=A9s Conrado Montoya > Andi K=C3=BA > andresconrado@gmail.com > http://sesentaycuatro.com > http://messier87.com > http://chiquitico.org > ---------------------------------------- > Los fines no justifican los medios, porque la medida verdadera de nuestro > car=C3=A1cter est=C3=A1 dada por los medios que estamos dispuestos a util= izar, no por > los fines que proclamamos. > ---------------------------------------- > > =E2=80=9CYou develop an instant global consciousness, a people orientatio= n, an > intense dissatisfaction with the state of the world, and a compulsion to = do > something about it. From out there on the moon, international politics lo= ok > so petty. You want to grab a politician by the scruff of the neck and dra= g > him a quarter of a million miles out and say, =E2=80=98Look at that, you = son of a > bitch.=E2=80=99=E2=80=9D =E2=80=94 Apollo 14 astronaut Edgar Mitchell > --=20 Andr=C3=A9s Conrado Montoya Andi K=C3=BA andresconrado@gmail.com http://sesentaycuatro.com http://messier87.com http://chiquitico.org ---------------------------------------- Los fines no justifican los medios, porque la medida verdadera de nuestro car=C3=A1cter est=C3=A1 dada por los medios que estamos dispuestos a utiliz= ar, no por los fines que proclamamos. ---------------------------------------- =E2=80=9CYou develop an instant global consciousness, a people orientation,= an intense dissatisfaction with the state of the world, and a compulsion to do something about it. From out there on the moon, international politics look so petty. You want to grab a politician by the scruff of the neck and drag him a quarter of a million miles out and say, =E2=80=98Look at that, you so= n of a bitch.=E2=80=99=E2=80=9D =E2=80=94 Apollo 14 astronaut Edgar Mitchell --00000000000092714906037d6fd4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Apologies, I just found the solution:=C2=A0https://wiki.contextgarden.= net/Command/setinjector

El lun, 21 ago 2023 a las 23:43, Andres Conrado = Montoya (<andresconrado@gmail= .com>) escribi=C3=B3:
I'm trying to force a page break in = a table of contents, using what is recommended=C2=A0at=C2=A0https://wiki.contextgarden.net/Table_of_Contents#Forced_Page_Break

However, it does not work. Here's a MWE:

\definelistextra[page][before=3D\page]
\starttext
\= starttitle[title=3D{Table of contents}]
\placecontent[extras=3D{2=3Dpage= }]
\stoptitle
\startchapter[title=3D{First chapter}]
\input knuth<= br>\stopchapter
\startchapter[title=3D{Second chapter}]
\input knuth<= br>\stopchapter
\startchapter[title=3D{Third chapter}]
\input knuth\stopchapter
\stoptext

Is there a new=C2=A0way of o= btaining a page break before a given part, chapter or section in the ToC?= =C2=A0

Thank=C2=A0you in advance.

--
-----------------------------------= -----
Los fines no justifican los medios, porque la medida verdadera de = nuestro car=C3=A1cter est=C3=A1 dada por los medios que estamos dispuestos = a utilizar, no por los fines que proclamamos.
--------------------------= --------------

=E2=80=9CYou develop an instant global consciousness, = a people orientation,=20 an intense dissatisfaction with the state of the world, and a compulsion to do something about it. From out there on the moon, international=20 politics look so petty. You want to grab a politician by the scruff of=20 the neck and drag him a quarter of a million miles out and say, =E2=80=98Lo= ok at that, you son of a bitch.=E2=80=99=E2=80=9D =E2=80=94 Apollo 14 astronaut = Edgar Mitchell



--
Andr=C3=A9s Conrado Montoya
An= di K=C3=BA
= andresconrado@gmail.com
http://sesentaycuatro.com
----------------------------------------
Los fines no justifican los me= dios, porque la medida verdadera de nuestro car=C3=A1cter est=C3=A1 dada po= r los medios que estamos dispuestos a utilizar, no por los fines que procla= mamos.
----------------------------------------

=E2=80=9CYou devel= op an instant global consciousness, a people orientation,=20 an intense dissatisfaction with the state of the world, and a compulsion to do something about it. From out there on the moon, international=20 politics look so petty. You want to grab a politician by the scruff of=20 the neck and drag him a quarter of a million miles out and say, =E2=80=98Lo= ok at that, you son of a bitch.=E2=80=99=E2=80=9D =E2=80=94 Apollo 14 astronaut = Edgar Mitchell

--00000000000092714906037d6fd4-- --===============1358943711178503316== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___________________________________________________________________________________ --===============1358943711178503316==--