Re: [NTG-context] bug with \setuplayout[setups=*strict]?

2011-12-11 Thread Pablo Rodríguez
On 12/09/2011 05:27 PM, Hans Hagen wrote:
 On 8-12-2011 13:40, Pablo Rodríguez wrote:
 [...]
 Is there no other way to avoid orphan and widow lines? I need it urgently.
 
 \startsetups [*lessstrict]
 
 \setup[*\s!reset]
 
 \widowpenalty =1000
 \clubpenaltie =1000
 \brokenpenalty=1000
 
 \stopsetups
 
 or whatever makes sense

Thanks for your help, Hans.


Pablo
-- 
http://www.ousia.tk
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] bug with \setuplayout[setups=*strict]?

2011-12-09 Thread Hans Hagen

On 8-12-2011 13:40, Pablo Rodríguez wrote:

Hi there,

I read a previous message on this list form Wolgang that

\setuplayout[setups=*strict]

is the ConTeXt way to avoid orphan and widow lines.

I have tried that before checking that

\widowpenalty=1\clubpenalty=1\raggedbottom

doesn't change anything on my documents.

The problem with the first code is that it breaks some pages in clearly
wrong places (it breaks the page on the seventh line of a A4 page).

I don't know how I could provide an example, since the document is a
personal document that I cannot share with third parties.

Is there no other way to avoid orphan and widow lines? I need it urgently.


\startsetups [*lessstrict]

   \setup[*\s!reset]

   \widowpenalty =1000
   \clubpenaltie =1000
   \brokenpenalty=1000

\stopsetups

or whatever makes sense

Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] bug with \setuplayout[setups=*strict]?

2011-12-08 Thread Pablo Rodríguez
Hi there,

I read a previous message on this list form Wolgang that

\setuplayout[setups=*strict]

is the ConTeXt way to avoid orphan and widow lines.

I have tried that before checking that

\widowpenalty=1\clubpenalty=1\raggedbottom

doesn't change anything on my documents.

The problem with the first code is that it breaks some pages in clearly
wrong places (it breaks the page on the seventh line of a A4 page).

I don't know how I could provide an example, since the document is a
personal document that I cannot share with third parties.

Is there no other way to avoid orphan and widow lines? I need it urgently.

Thanks for your help,


Pablo
-- 
http://www.ousia.tk
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___