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
___________________________________________________________________________________
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________