Disabling automatic hyphenation
Hi Hans, I wan't to disable in a document TeX's automatic hyphenation and allow only manuell brackpoints with \- or settings in \hyphenation. The only working solution I found was to define new language in the core and add a file with empty patterns to the core files, my setting for the language is \def\s!empty{empty} \installlanguage [\s!empty] [\c!default=\s!en, \s!patterns=\s!empty, \c!state=\v!stop] I use now the patterns of this language in my document and set now my own hyphen points with \hyphenation. Can you add this to your own files or do you have a better solution for my problem. Wolfgang
Dnia Fri, Dec 05, 2008 at 07:45:39PM +0100, Wolfgang Schuster napisał(a):
Hi Hans,
I wan't to disable in a document TeX's automatic hyphenation and allow only manuell brackpoints with \- or settings in \hyphenation.
What about \hyphenpenalty=10000 ? Greets -- Marcin Borkowski (http://mbork.pl) Aksjomat wyboru jest w oczywisty sposób prawdziwy. Twierdzenie Zermelo o dobrym uporządkowaniu jest w oczywisty sposób fałszywe. A lemat Kuratowskiego-Zorna? Tak na oko trudno powiedzieć.
Am 07.12.2008 um 14:44 schrieb Marcin Borkowski:
Dnia Fri, Dec 05, 2008 at 07:45:39PM +0100, Wolfgang Schuster napisał(a):
Hi Hans,
I wan't to disable in a document TeX's automatic hyphenation and allow only manuell brackpoints with \- or settings in \hyphenation.
What about \hyphenpenalty=10000 ?
It ignores hyphenation exceptions set with \hyphenation and the ConTeXt for your suggestions is \setupalign[nothyphenated]. You can see in my example the results from 1) TeX hyphenatation 2) hyphenpanelty=10000 and 3) my patch with hyphenation rules for 'components' and 'improvements'. \setuppapersize[A6][A6] \starttext \input knuth \page \start \setupalign[nothyphenated] % == \hyphenpenalty=10000 \hyphenation{si-gni-fi-can-tly} \input knuth \stop \page \setuplanguage[en][patterns=empty] \hyphenation{com-po-nents im-prove-ments} \input knuth \stoptext Wolfgang
participants (2)
-
Marcin Borkowski
-
Wolfgang Schuster