ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Stop Hyphenating Across Columns and Page Breaks
@ 2014-07-09 12:29 "H. Özoguz"
  0 siblings, 0 replies; 4+ messages in thread
From: "H. Özoguz" @ 2014-07-09 12:29 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________


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

* Re: Stop Hyphenating Across Columns and Page Breaks
@ 2014-07-10 10:24 "H. Özoguz"
  0 siblings, 0 replies; 4+ messages in thread
From: "H. Özoguz" @ 2014-07-10 10:24 UTC (permalink / raw)
  To: ntg-context

> 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
___________________________________________________________________________________


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

* Re: Stop Hyphenating Across Columns and Page Breaks
  2014-07-09 15:57 "H. Özoguz"
@ 2014-07-10 10:17 ` Wolfgang Schuster
  0 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Schuster @ 2014-07-10 10:17 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 09.07.2014 um 17:57 schrieb H. Özoguz <h.oezoguz@mmnetz.de>:

> Adding one information: In TeX \brokenpenalty=10000 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
___________________________________________________________________________________


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

* Re: Stop Hyphenating Across Columns and Page Breaks
@ 2014-07-09 15:57 "H. Özoguz"
  2014-07-10 10:17 ` Wolfgang Schuster
  0 siblings, 1 reply; 4+ messages in thread
From: "H. Özoguz" @ 2014-07-09 15:57 UTC (permalink / raw)
  To: ntg-context

Adding one information: In TeX \brokenpenalty=10000 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
___________________________________________________________________________________


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

end of thread, other threads:[~2014-07-10 10:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-09 12:29 Stop Hyphenating Across Columns and Page Breaks "H. Özoguz"
2014-07-09 15:57 "H. Özoguz"
2014-07-10 10:17 ` Wolfgang Schuster
2014-07-10 10:24 "H. Özoguz"

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).