Re: [NTG-context] keeping headings with following texts

2013-07-13 Thread Wolfgang Schuster
Am 13.07.2013 um 16:08 schrieb Pablo Rodríguez : >\setuplayout[setups=*lessstrict] >\startsetups[*lessstrict] >\setup[reset] >\widowpenalty=1 >\clubpenalty=1 >\brokenpenalty=1 >\stopsetups \startsetups[lessstrict] \setups[*reset] \s

Re: [NTG-context] keeping headings with following texts

2013-07-13 Thread Pablo Rodríguez
On 13/07/13 17:22, Wolfgang Schuster wrote: > Am 13.07.2013 um 16:39 schrieb Peter Münster : >> On Sat, Jul 13 2013, Pablo Rodríguez wrote: >>> >>> If I replace those lines with \setupbodyfont[pagella,12pt], nothing >>> changes, but if I remove the first two lines quoted above, everything works. >>

Re: [NTG-context] keeping headings with following texts

2013-07-13 Thread Wolfgang Schuster
Am 13.07.2013 um 16:39 schrieb Peter Münster : > On Sat, Jul 13 2013, Pablo Rodríguez wrote: > >>>\usemodule[simplefonts] >>>\setmainfont[TeX Gyre Pagella] >> >> If I replace those lines with \setupbodyfont[pagella,12pt], nothing >> changes, but if I remove the first two lines quoted ab

Re: [NTG-context] keeping headings with following texts

2013-07-13 Thread Peter Münster
On Sat, Jul 13 2013, Pablo Rodríguez wrote: >> \usemodule[simplefonts] >> \setmainfont[TeX Gyre Pagella] > > If I replace those lines with \setupbodyfont[pagella,12pt], nothing > changes, but if I remove the first two lines quoted above, everything works. No. You don't need those lines fo

Re: [NTG-context] keeping headings with following texts

2013-07-13 Thread Pablo Rodríguez
On 13/07/13 16:08, Pablo Rodríguez wrote: > On 13/07/13 15:19, Wolfgang Schuster wrote: >> [...] >> Can you make a minimal tex document out of this. It would be also >> interesting to see your definition for the problematic heading which >> seems to use your own code. > > Here you have it: > >

Re: [NTG-context] keeping headings with following texts

2013-07-13 Thread Pablo Rodríguez
On 13/07/13 15:19, Wolfgang Schuster wrote: > [...] > Can you make a minimal tex document out of this. It would be also > interesting to see your definition for the problematic heading which > seems to use your own code. Here you have it: \usemodule[simplefonts] \setmainfont[TeX Gyre Page

Re: [NTG-context] keeping headings with following texts

2013-07-13 Thread Wolfgang Schuster
Am 13.07.2013 um 15:09 schrieb Pablo Rodríguez : > On 13/07/13 14:23, Wolfgang Schuster wrote: >> Am 13.07.2013 um 14:07 schrieb Pablo Rodríguez : >>> [...] >>> Is there a way to enable the “keep with next” option for all headings? >> >> Do you have a example where this happens because context t

Re: [NTG-context] keeping headings with following texts

2013-07-13 Thread Pablo Rodríguez
On 13/07/13 14:23, Wolfgang Schuster wrote: > Am 13.07.2013 um 14:07 schrieb Pablo Rodríguez : >> [...] >> Is there a way to enable the “keep with next” option for all headings? > > Do you have a example where this happens because context tries to prevent > a page break after a heading which can f

Re: [NTG-context] keeping headings with following texts

2013-07-13 Thread Wolfgang Schuster
Am 13.07.2013 um 14:07 schrieb Pablo Rodríguez : > Dear list, > > writing an article on ConTeXt, I have found what I think is a surprising > feature (at least, a surprising default): headings don’t always keep > with next paragraph, so they can end up in being widowed (heading + page > break + f

[NTG-context] keeping headings with following texts

2013-07-13 Thread Pablo Rodríguez
Dear list, writing an article on ConTeXt, I have found what I think is a surprising feature (at least, a surprising default): headings don’t always keep with next paragraph, so they can end up in being widowed (heading + page break + first paragraph on next page). Sorry, but I’m afraid that I don