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

Wolfgang Schuster schuster.wolfgang at gmail.com
Thu Jul 10 12:17:00 CEST 2014


Am 09.07.2014 um 17:57 schrieb H. Özoguz <h.oezoguz at 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


More information about the ntg-context mailing list