ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* bug with \setuplayout[setups=*strict]?
@ 2011-12-08 12:40 Pablo Rodríguez
  2011-12-09 16:27 ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Pablo Rodríguez @ 2011-12-08 12:40 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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=10000\clubpenalty=10000\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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: bug with \setuplayout[setups=*strict]?
  2011-12-08 12:40 bug with \setuplayout[setups=*strict]? Pablo Rodríguez
@ 2011-12-09 16:27 ` Hans Hagen
  2011-12-11 16:23   ` Pablo Rodríguez
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2011-12-09 16:27 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Pablo Rodríguez

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=10000\clubpenalty=10000\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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: bug with \setuplayout[setups=*strict]?
  2011-12-09 16:27 ` Hans Hagen
@ 2011-12-11 16:23   ` Pablo Rodríguez
  0 siblings, 0 replies; 3+ messages in thread
From: Pablo Rodríguez @ 2011-12-11 16:23 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-12-11 16:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-08 12:40 bug with \setuplayout[setups=*strict]? Pablo Rodríguez
2011-12-09 16:27 ` Hans Hagen
2011-12-11 16:23   ` Pablo Rodríguez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).