![](https://secure.gravatar.com/avatar/60f3cc97f94fa3690ba406f8c1a7fc4f.jpg?s=120&d=mm&r=g)
On 09/08/2016 12:12 PM, Thomas A. Schmitz wrote:
On 08.09.2016 11:08, Henri Menke wrote:
I have constructed a better example (and eliminated a grammar error), see below. I think what »|-|« does is essentially »-\penalty\zerocount\hskip\zeropoint«. When I insert this as is the margin kerning is correct. Still, I have no idea how to fix |-|.
Just add
\setbreakpoints[compound]
Oh yeah, right! Sorry for wasting your time :/ However, as I only want compounds with a hyphen to be breakable (for now) I came up with my own configuration. \definebreakpoints[hyphen] \definebreakpoint [hyphen] [-] [nleft=3,nright=3,type=6,range=yes] \setbreakpoints[hyphen]
to the preamble of your documents, and you get both hyphenation and margin kerning, no need for |-|.
Thomas ___________________________________________________________________________________ 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 ___________________________________________________________________________________