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



-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
    tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to