Wolfgang knew the answer, and as the solution is so brilliant I don't want to be selfish about this treasure: \definetextmodediscretionary ThinSpace {\penalty\plustenthousand\hskip.166em\relax} \definetextmodediscretionary ThickSpace {\penalty\plustenthousand\hskip.277em\relax} ... and in situations like "today is the 204.|ThinSpace|anniversary of the death of Johann Gottfried von Herder" you will avoid an unintended line-break after "204." but will keep all hyphenation points in "anniversary". And that's great. Cheers Johann Gottfried, btw!! Steffen Am 18.12.2007 um 11:05 schrieb Steffen Wolfrum:
Am 17.12.2007 um 14:54 schrieb Steffen Wolfrum:
Hi,
please have a look at the following minimal (4 text-lines):
\hyphenation{Er-gän-zungs-lie-fe-rung} \showframe
\starttext
Text text text text text text text text text text text text text text text 26.\,Ergänzungslieferung% this should brake after Ergän-
Text text text text text text text text text text text text text text text 26.|\,|Ergänzungslieferung% this does brake after Ergän-
Text text text text text text text text text text text text text text text text 26.|\,|Ergänzungslieferung% this should NOT brake after 26.
Text text text text text text text text text text text text text text text text 26.\,Ergänzungslieferung% this does NOT brake after 26.
\stoptext
I need a thinspace that prevents line-break between "26." and "Ergänzungslieferung". On the other hand this thinspace shouldn't kill my hyphenation points (i.e. the word should stay breakable)!
The tilde sign "~" would be perfect, it is just to wide:
\hyphenation{ Er-gän-zungs-lie-fe-rung } \showframe \starttext
Text text text text text text text text text text text text text text text 26.~Ergänzungslieferung% this should brake after Ergän-
Text text text text text text text text text text text text text text text text 26.~Ergänzungslieferung% this should NOT brake after 26.
Text text text text text text text text text text text text text text text text 26.\,Er-gänzungslieferung% this should NOT brake after 26.
Text text text text text text text text text text text text text text text text 26.\,Er-gänzungslieferung% this should NOT brake after 26.
\stoptext
Is there something that is narrow as \, or \thinspace but behaves (see above) like ~ ???
Steffen ______________________________________________________________________ _____________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ______________________________________________________________________ _____________