Am 29.11.2012 um 13:12 schrieb H. Özoguz <h.oezo...@mmnetz.de>: > Hi, > > in the following example I use \setbreakpoints[compound], I understood, that > word-breaking would be made (or preferred) at hyphens. > > There could be a perfect line break at the hyphen of "-CC", but there is no > break, and instead the complete word "AA-BB-CC" is printed, then partially in > the margin. > > > \setbreakpoints[compound] > > \showframe > > \version[temporary] > > > \starttext > > .......................................................................................................................AA-BB-CC. > And the next sentence. > > \stoptext > > > Why that does not work?
It comes from the settings for hyphen, when you look at the definition \definebreakpoint [compound] [-] [nleft=3,nright=3,type=1] you can see it needs at least three characters at the left and right before a line break is inserted, When you change the settings to \definebreakpoint [compound] [-] [nleft=2,nright=2] a linebreak is inserted after the hyphen. You can also change the values only for a certain language when you add “language=…” to \definebreakpoint. 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 ___________________________________________________________________________________