[NTG-context] Stop Hyphenating Across Columns and Page Breaks

2014-07-09 Thread H. Özoguz

Hello,

this is still open, maybe its not clear, what the problem ist. I'll try 
again, my not realistic minexample is this one:


\starttext
\dorecurse{200}{Aprikosengeschmacksrichtung }
\stoptext

But what I mean is a feature, which many other typographic programms 
have, e.g. Adobe Indesign, see here: 
http://indesignsecrets.com/stop-hyphenating-across-columns-and-page-breaks.php


Hyphenation across pages is really ugly and uncomfortable to read, how 
would you prevent them?


Thanks!
Huseyin

___
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] Stop Hyphenating Across Columns and Page Breaks

2014-07-09 Thread H. Özoguz
Adding one information: In TeX \brokenpenalty=1 should do the job. 
But this is ignored in ConText. In this a bug?


Huseyin
___
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] Stop Hyphenating Across Columns and Page Breaks

2014-07-10 Thread Wolfgang Schuster

Am 09.07.2014 um 17:57 schrieb H. Özoguz :

> Adding one information: In TeX \brokenpenalty=1 should do the job. But 
> this is ignored in ConText. In this a bug?

ConTeXt integrated the penalty setups in the layout mechanism, you can create 
your own settings but you should apply them with \setuplayout.

To create your own setting use the following method. Use the setups environment 
where the values are set, the default parameters can be loaded with 
\directsetup{*reset}.

\startsetups[mypenalties]
\directsetup{*reset}
\widowpenalty\plustenthousand
\stopsetups

In the next step you load this setup with the \setuplayout command:

\setuplayout[setups=mypenalties]

When you don want to create you own setting you can choose between two 
predefined ones (the * is part of the name):

- *default (which uses different values in grid mode)
- *strict

Wolfgang
___
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] Stop Hyphenating Across Columns and Page Breaks

2014-07-10 Thread H. Özoguz

ConTeXt integrated the penalty setups in the layout mechanism, you can create 
your own settings but you should apply them with \setuplayout.

To create your own setting use the following method. Use the setups environment 
where the values are set, the default parameters can be loaded with 
\directsetup{*reset}.

 \startsetups[mypenalties]
 \directsetup{*reset}
 \widowpenalty\plustenthousand
 \stopsetups

In the next step you load this setup with the \setuplayout command:

 \setuplayout[setups=mypenalties]

When you don want to create you own setting you can choose between two 
predefined ones (the * is part of the name):

 - *default (which uses different values in grid mode)
 - *strict

Wolfgang


Thank you very much. I already use this own setting for clubs and 
widows, but was not aware that all penaltys must be set in this. Works 
fine, thanks!


Huseyin
___
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
___