ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* bug in hyphenmin?
@ 2015-12-13 19:17 Pablo Rodriguez
  2015-12-14 16:03 ` Pablo Rodriguez
  0 siblings, 1 reply; 2+ messages in thread
From: Pablo Rodriguez @ 2015-12-13 19:17 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Dear list,

I have the following sample:

    \setuplanguage[es][lefhyphenmin=1, righthyphenmin=1]
    \mainlanguage[es]

    \definehyphenationfeatures
       [givemefive]
       [hyphenmin=5]

    \setuphyphenation
        [method=traditional]

    \sethyphenationfeatures
        [strict, givemefive]

    \starttext
    \hyphenatedword{bueno buenos}
    \stoptext

Although I set hyphenmin to 5, I don’t get "bueno" hyphenated?

Is this a bug or am I missing something?

Many thanks for your help,

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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: bug in hyphenmin?
  2015-12-13 19:17 bug in hyphenmin? Pablo Rodriguez
@ 2015-12-14 16:03 ` Pablo Rodriguez
  0 siblings, 0 replies; 2+ messages in thread
From: Pablo Rodriguez @ 2015-12-14 16:03 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 12/13/2015 08:17 PM, Pablo Rodriguez wrote:
> Dear list,
> 
> I have the following sample:
> 
>     \setuplanguage[es][lefhyphenmin=1, righthyphenmin=1]
>     \mainlanguage[es]
> 
>     \definehyphenationfeatures
>        [givemefive]
>        [hyphenmin=5]
> 
>     \setuphyphenation
>         [method=traditional]
> 
>     \sethyphenationfeatures
>         [strict, givemefive]
> 
>     \starttext
>     \hyphenatedword{bueno buenos}
>     \stoptext
> 
> Although I set hyphenmin to 5, I don’t get "bueno" hyphenated?

Replying to myself, there is no bug in hyphenmin. The Spanish patterns
don’t add "bue-no" (I haven’t asked yet, but I guess this is to avoid
starting a line with a negative particle). I have to add an hyphenation
exception.

But there is an issue with hyphenmin shown in this sample:

    \mainlanguage[es]

    \definehyphenationfeatures
       [givemefive]
       [hyphenmin=4]

    \setuphyphenation
        [method=traditional]

    \sethyphenationfeatures
        [strict, givemefive]

    \starttext
    \hyphenatedword{buena}
    \stoptext

hyphenmin requires a value of 4 to hyphenate a five-letter word (and 3
to hyphenate a four letter word).

Isn’t this a bug?

Many thanks for your help,

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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-12-14 16:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-13 19:17 bug in hyphenmin? Pablo Rodriguez
2015-12-14 16:03 ` Pablo Rodriguez

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).