Re: [NTG-context] unwanted page break in contents

2018-08-26 Thread Jeong Dal
Dear Wolfgang,

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

It works perfectly.

Thank you so much.

Best regards,

Dalyoung

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

Re: [NTG-context] unwanted page break in contents

2018-08-26 Thread Wolfgang Schuster



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
___

[NTG-context] unwanted page break in contents

2018-08-26 Thread Jeong Dal
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
___