Am 24.07.2013 um 20:54 schrieb Marco Patzer <home...@lavabit.com>: > Apparently \brokenpenalty is not supposed to be used with > \setpenalties, see spac-ver.mkiv : > > \setpenalties\widowpenalties\plustwo\maxdimen > \setpenalties\clubpenalties \plustwo\maxdimen > \brokenpenalty \maxdimen > > Actually I don't yet know what's the deal with the \setpenalties > command and why it's used for some penalties and not for others.
You have to differ between the \…penalty command which come from Knuths TeX and \…penalties which are introduced with etex. While Knuths command accept only a single value (e.g. \widowpenlty=1000) the new commands accepts multiple values which are taken for individual lines of a paragraph (e.g. \widowpenalties 3 3000 4500 9000). The \setpenalties command simplifies the setups of the new commands. The reason why \widowpenalties doesn’t work with \setpenalties is that no command with this names exist (I never checked this for my example in the past). A penalties command wouldn’t even make sense because the penalty prevents only the page break after a hyphen. 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 ___________________________________________________________________________________