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 oi...@web.de: 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

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 oi...@web.de: [...] 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

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 oi...@web.de: On 13/07/13 14:23, Wolfgang Schuster wrote: Am 13.07.2013 um 14:07 schrieb Pablo Rodríguez oi...@web.de: [...] Is there a way to enable the “keep with next” option for all headings? Do you have a example where this happens

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

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 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 for a

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 pmli...@free.fr: 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

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 pmli...@free.fr: 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

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 oi...@web.de: \setuplayout[setups=*lessstrict] \startsetups[*lessstrict] \setup[reset] \widowpenalty=1 \clubpenalty=1 \brokenpenalty=1 \stopsetups \startsetups[lessstrict] \setups[*reset]