On 2014–01–15 Pablo Rodriguez wrote:
how should I invoke \hyphenation so it hyphens the \ConTeXt command?
\ConTeXt is defined as “Con\TeX t” and \TeX uses kerns and boxes, both of which suppress hyphenation. AFAIK there's no easy way around it. That having said you can surely redefine the \TeX macro to include custom hyphenation points using \discretionary. Here an example which inserts a hyphenation point after the “T”: \unexpanded\def\TeX {\dontleavehmode \begingroup \setbox\scratchbox\hbox{M}%% T%% \discretionary{-}{}{\kern-.1667\wd\scratchbox} \lower.5ex\hbox{E}%% \kern-.125\wd\scratchbox X%% \endgroup} \starttext \hsize\zeropoint \ConTeXt \stoptext
Many thanks for your help,
My help is conditional in this case. Don't ever let me know *why* you actually want to do this ;) Marco