ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* unwanted page break in contents
       [not found] <mailman.2541.1535153034.2042.ntg-context@ntg.nl>
@ 2018-08-26  8:06 ` Jeong Dal
  2018-08-26 15:17   ` Wolfgang Schuster
  0 siblings, 1 reply; 3+ messages in thread
From: Jeong Dal @ 2018-08-26  8:06 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

In the table of contents, there is a unwanted blank space after chapter 2.
There is a page break if the remaining space is not enough to cover the list of the next chapter.
For example, page break after ch 2. in the following example.

Is it possible to list them continuously?

Best regards,

Dalyoung

%%%%%%%%
\starttext
\definepagebreak[emptyodd][yes,header, footer, odd]
\setuphead[chapter][page=emptyodd]

\setuphead[title][incrementnumber=list]
\setupcombinedlist[content][list={title,chapter,section,subsection}]
\setuplist[chapter, title][width=5mm, style=,textcommand={\ss\bf }]
\setuplist[section][width=10mm, style=,textcommand={\ss }]

\showframe
\startfrontmatter
	\completecontent
	\page[empty]
\stopfrontmatter

\startbodymatter
\dorecurse{9}
{\chapter{Ch \recurselevel}
	\dorecurse{8}
	{\section{Section \recurselevel}}
}	
\stopbodymatter
\stoptext
%%%%%%%%
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: unwanted page break in contents
  2018-08-26  8:06 ` unwanted page break in contents Jeong Dal
@ 2018-08-26 15:17   ` Wolfgang Schuster
  2018-08-26 15:24     ` Jeong Dal
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2018-08-26 15:17 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Jeong Dal



Jeong Dal schrieb am 26.08.18 um 10:06:
> Hi,
>
> In the table of contents, there is a unwanted blank space after chapter 2.
> There is a page break if the remaining space is not enough to cover the list of the next chapter.
> For example, page break after ch 2. in the following example.
>
> Is it possible to list them continuously?
>
> Best regards,
>
> Dalyoung
>
> %%%%%%%%
> \starttext
> \definepagebreak[emptyodd][yes,header, footer, odd]
> \setuphead[chapter][page=emptyodd]
>
> \setuphead[title][incrementnumber=list]
> \setupcombinedlist[content][list={title,chapter,section,subsection}]
> \setuplist[chapter, title][width=5mm, style=,textcommand={\ss\bf }]
> \setuplist[section][width=10mm, style=,textcommand={\ss }]

\setuplist
   [section]
   [width=10mm,
    style=,
    textstyle=\ss,
    after={\blank[preference]}]

Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: unwanted page break in contents
  2018-08-26 15:17   ` Wolfgang Schuster
@ 2018-08-26 15:24     ` Jeong Dal
  0 siblings, 0 replies; 3+ messages in thread
From: Jeong Dal @ 2018-08-26 15:24 UTC (permalink / raw)
  To: Wolfgang Schuster; +Cc: mailing list for ConTeXt users


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

Dear Wolfgang,

> 
> \setuplist
>  [section]
>  [width=10mm,
>   style=,
>   textstyle=\ss,
>   after={\blank[preference]}]

It works perfectly.

Thank you so much.

Best regards,

Dalyoung


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

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

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2018-08-26 15:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <mailman.2541.1535153034.2042.ntg-context@ntg.nl>
2018-08-26  8:06 ` unwanted page break in contents Jeong Dal
2018-08-26 15:17   ` Wolfgang Schuster
2018-08-26 15:24     ` Jeong Dal

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).