![](https://secure.gravatar.com/avatar/386a116d129cdc597f2bb6210bbaff7a.jpg?s=120&d=mm&r=g)
On Fri, May 20, 2011 at 12:03 PM, Hans Hagen
On 20-5-2011 11:53, Mojca Miklavec wrote:
On Fri, May 20, 2011 at 11:47, Flavien Lambert wrote:
Dear all, could you tell me how to prevent a name from being splitted in two pieces if it is at the end of a line?
\hbox{Some Very Very Very Very Very Long Name}
A bad suggestion by the hyphenation lady ... how about:
\setupalign[verytolerant]
\starttext \starttabulate[|p(8cm)|p(8cm)|] \NC \hyphenation{Mi-kla-vec} \dorecurse{100}{Mojca Miklavec turns \recurselevel\space} \NC \hyphenation{Mikla-vec} \dorecurse{100}{Mojca Miklavec turns \recurselevel\space} \NC \NR \stoptabulate \stoptext
There is also \hyphenchar\font=-1 (which is global) \setupbodyfont[lmroman,10pt] \starttext \vbox{\hsize10cm\hyphenchar\font=-1 \input knuth\relax} \vbox{\hsize10cm\hyphenchar\font="17\input knuth\relax} \stoptext I haven't found it in base/*: maybe it's use is discouraged. -- luigi