* Hyphenation with dashes in natural table
@ 2017-09-11 13:10 Christoph Reller
2017-09-11 18:14 ` Pablo Rodriguez
0 siblings, 1 reply; 5+ messages in thread
From: Christoph Reller @ 2017-09-11 13:10 UTC (permalink / raw)
To: ntg-context
[-- Attachment #1.1: Type: text/plain, Size: 728 bytes --]
Hi,
It seems that the hyphenation algorithm for long words with dashes when
typeset in a natural table has changed.
MWE:
\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
In earlier versions of ConTeXt, the super-cali... word is hyphenated after
"expi-" and no overfull box occurs. In the currently latest version the
word is hyphenated after "super-" and, since the rest of the word does not
fit the table cell, it overlaps text in the right hand cell.
Could this be a bug or do I have to setup hyphenation differently in
natural tables? Any feedback is welcome.
Cheers,
Christoph
[-- Attachment #1.2: Type: text/html, Size: 1005 bytes --]
[-- Attachment #2: Type: text/plain, Size: 492 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Hyphenation with dashes in natural table
2017-09-11 13:10 Hyphenation with dashes in natural table Christoph Reller
@ 2017-09-11 18:14 ` Pablo Rodriguez
2017-09-11 20:23 ` Rik Kabel
0 siblings, 1 reply; 5+ messages in thread
From: Pablo Rodriguez @ 2017-09-11 18:14 UTC (permalink / raw)
To: ntg-context
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
--
http://www.ousia.tk
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Hyphenation with dashes in natural table
2017-09-11 18:14 ` Pablo Rodriguez
@ 2017-09-11 20:23 ` Rik Kabel
2017-09-11 20:57 ` Thomas A. Schmitz
0 siblings, 1 reply; 5+ messages in thread
From: Rik Kabel @ 2017-09-11 20:23 UTC (permalink / raw)
To: ntg-context
[-- Attachment #1.1: Type: text/plain, Size: 1439 bytes --]
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
[-- Attachment #1.2: Type: text/html, Size: 2557 bytes --]
[-- Attachment #2: Type: text/plain, Size: 492 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <mailman.1.1505210401.2704.ntg-context@ntg.nl>]
end of thread, other threads:[~2017-09-13 5:59 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-11 13:10 Hyphenation with dashes in natural table Christoph Reller
2017-09-11 18:14 ` Pablo Rodriguez
2017-09-11 20:23 ` Rik Kabel
2017-09-11 20:57 ` Thomas A. Schmitz
[not found] <mailman.1.1505210401.2704.ntg-context@ntg.nl>
2017-09-13 5:59 ` Christoph Reller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).