Re: [NTG-context] page ends with a section title followed by a table

2020-11-10 Thread Aditya Mahajan
On Tue, 10 Nov 2020, Sylvain Hubert wrote: > Indeed. Thanks for the information! > > For the record, this is how the problem is finally solved: > > \setuphead[section][after={\blank[sampage]}] > \begingroup\setupindenting[no]\dontleavehmode\startxtable … > \stopxtable\endgroup Unless

Re: [NTG-context] page ends with a section title followed by a table

2020-11-10 Thread Sylvain Hubert
On Tue, 10 Nov 2020 at 19:23, Wolfgang Schuster < wolfgang.schuster.li...@gmail.com> wrote: > Sylvain Hubert schrieb am 10.11.2020 um 19:11: > > > Weirdly enough, "\hskip 0pt" solves the problem. > > > > \setuphead[section][after={\blank[samepage]\hskip 0pt}] > > \starttext > >

Re: [NTG-context] page ends with a section title followed by a table

2020-11-10 Thread Wolfgang Schuster
Sylvain Hubert schrieb am 10.11.2020 um 19:11: Weirdly enough, "\hskip 0pt" solves the problem.     \setuphead[section][after={\blank[samepage]\hskip 0pt}]     \starttext     \showframe     \dorecurse{50}{a }     \startsection[title=spec]     \startxtable What happens when you \hskip

Re: [NTG-context] page ends with a section title followed by a table

2020-11-10 Thread Sylvain Hubert
On Tue, 10 Nov 2020 at 18:25, Wolfgang Schuster < wolfgang.schuster.li...@gmail.com> wrote: > Sylvain Hubert schrieb am 10.11.2020 um 18:06: > > > Thanks for the suggestion, but as illustrated by the second example, > > copied here, where the section title is at the top of the page: > > > >

Re: [NTG-context] page ends with a section title followed by a table

2020-11-10 Thread Wolfgang Schuster
Sylvain Hubert schrieb am 10.11.2020 um 18:06: Thanks for the suggestion, but as illustrated by the second example, copied here, where the section title is at the top of the page:     \starttext     \showframe     \dorecurse{50}{a }    

Re: [NTG-context] page ends with a section title followed by a table

2020-11-10 Thread Sylvain Hubert
On Tue, 10 Nov 2020 at 17:54, Wolfgang Schuster < wolfgang.schuster.li...@gmail.com> wrote: > Pablo Rodriguez schrieb am 10.11.2020 um 15:59: > > On 11/10/20 9:55 AM, Sylvain Hubert wrote: > >> Dear List, > >> > >> In the following example, the section title appears at the very end of > >> the

Re: [NTG-context] page ends with a section title followed by a table

2020-11-10 Thread Sylvain Hubert
On Tue, 10 Nov 2020 at 17:37, Pablo Rodriguez wrote: > On 11/10/20 5:23 PM, Sylvain Hubert wrote: > > My mistake, but the problem survives the fix: > > > > \setuphead[section][after={\blank[samepage,big]}] > > \starttext > > \showframe > > \dorecurse{50}{a } > >

Re: [NTG-context] page ends with a section title followed by a table

2020-11-10 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 10.11.2020 um 15:59: On 11/10/20 9:55 AM, Sylvain Hubert wrote: Dear List, In the following example, the section title appears at the very end of the first page. [...] Does anyone know where to adjust the penalty in this case, so that the section title can be

Re: [NTG-context] page ends with a section title followed by a table

2020-11-10 Thread Pablo Rodriguez
On 11/10/20 5:23 PM, Sylvain Hubert wrote: > My mistake, but the problem survives the fix: > >     \setuphead[section][after={\blank[samepage,big]}] >     \starttext >     \showframe >     \dorecurse{50}{a } >     \startsection[title=spec] >     \startxtable Hi Sylvain, no fix is required when

Re: [NTG-context] page ends with a section title followed by a table

2020-11-10 Thread Sylvain Hubert
My mistake, but the problem survives the fix: \setuphead[section][after={\blank[samepage,big]}] \starttext \showframe \dorecurse{50}{a } \startsection[title=spec] \startxtable \startxrow \startxcell[ny=30]a\stopxcell\startxcell 1\stopxcell \stopxrow

Re: [NTG-context] page ends with a section title followed by a table

2020-11-10 Thread Sylvain Hubert
On Tue, 10 Nov 2020 at 16:00, Pablo Rodriguez wrote: > On 11/10/20 9:55 AM, Sylvain Hubert wrote: > > Dear List, > > > > In the following example, the section title appears at the very end of > > the first page. > > [...] > > Does anyone know where to adjust the penalty in this case, so that the

Re: [NTG-context] page ends with a section title followed by a table

2020-11-10 Thread Pablo Rodriguez
On 11/10/20 9:55 AM, Sylvain Hubert wrote: > Dear List, > > In the following example, the section title appears at the very end of > the first page. > [...] > Does anyone know where to adjust the penalty in this case, so that the > section title can be repositioned to the next page? Hi Sylvain,