-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect flagged demerits value #27
Comments
Was that value of 3000 specifically tuned to the needs of Seminumerical Algorithms, and 100 is a better general purpose value? Perhaps 100 wasn't mentioned because it is something that would be different on many systems. Being able to tune this parameter might help with bad line breaking (or Breaking Bad lines!) I'm seeing with the Perl implementation PhilterPaper/Text-KnuthPlass. |
I see, after having taken a dive into the typeset code, that the hyphenation penalty/demerit defaults to 100, and adjacent-incompatibility (excessive fitness change line-to-line) demerit to 3000. I didn't see anything about the two normally being the same value (3000), but then I should probably read Knuth's book of annotated TeX code and see if I can find anything. I would think that you'd normally want to penalize line-ending hyphens a lot less than great changes in line tightness, so maybe that's a typo in the article, or something that was later changed (ease the hyphenation penalty)? |
@PhilterPaper Plain TeX sets |
In typeset (also Text::KnuthPlass Perl port), there are three demerit values used: In the Text::KnuthPlass |
In the Knuth-Plass article, the parameters used for typesetting Seminumerical Algorithms are given:
The default value used in this library, 100, isn't mentioned in the article.
The text was updated successfully, but these errors were encountered: