ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [NTG-context] Not getting a page break in the ToC
@ 2023-08-22  4:43 Andres Conrado Montoya
  2023-08-22  6:51 ` [NTG-context] " Andres Conrado Montoya
  0 siblings, 1 reply; 3+ messages in thread
From: Andres Conrado Montoya @ 2023-08-22  4:43 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1513 bytes --]

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=\page]
\starttext
\starttitle[title={Table of contents}]
\placecontent[extras={2=page}]
\stoptitle
\startchapter[title={First chapter}]
\input knuth
\stopchapter
\startchapter[title={Second chapter}]
\input knuth
\stopchapter
\startchapter[title={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és Conrado Montoya
Andi Kú
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ácter está dada por los medios que estamos dispuestos a utilizar, no por
los fines que proclamamos.
----------------------------------------

“You 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, ‘Look at that, you son of a
bitch.’” — Apollo 14 astronaut Edgar Mitchell

[-- Attachment #1.2: Type: text/html, Size: 2224 bytes --]

[-- Attachment #2: Type: text/plain, Size: 495 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-08-22  7:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-22  4:43 [NTG-context] Not getting a page break in the ToC Andres Conrado Montoya
2023-08-22  6:51 ` [NTG-context] " Andres Conrado Montoya
2023-08-22  7:29   ` Hans Hagen via ntg-context

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).