On 2017-09-11 14:14, Pablo Rodriguez wrote:
On 09/11/2017 03:10 PM, Christoph Reller wrote:
Hi,

It seems that the hyphenation algorithm for long words with dashes when
typeset in a natural table has changed.
[...]> Could this be a bug or do I have to setup hyphenation differently in
natural tables? Any feedback is welcome.
Hi Christoph,

I don’t know, but the following seems to work:

\starttext
\bTABLE[width=5cm]
\bTR
\bTD super||cali||fragi||listic||expi||ali||docious \eTD
\bTD The longest word known to me that ever had an appearance in a musical.
\eTD
\eTR
\eTABLE
\stoptext

Just in case it helps,

Pablo

|| inserts an en-dash. What you want is |-|, and using that gives a good result which agrees with Christoph’s earlier result.

See http://wiki.contextgarden.net/Compound_words.

\starttext
\bTABLE[width=5cm]
\bTR
\bTD super-cali-fragi-listic-expi-ali-docious \eTD
\bTD The longest word known to me that ever had an appearance in a musical.
\eTD
\eTR
\bTR
\bTD super||cali||fragi||listic||expi||ali||docious \eTD
\bTD The longest word known to me that ever had an appearance in a musical.
\eTD
\eTR
\bTR
\bTD super|-|cali|-|fragi|-|listic|-|expi|-|ali|-|docious \eTD
\bTD The longest word known to me that ever had an appearance in a musical.
\eTD
\eTR
\eTABLE
\stoptext

--
Rik