From: Pablo Rodriguez <oinos@gmx.es>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: bug in hyphenmin?
Date: Mon, 14 Dec 2015 17:03:20 +0100 [thread overview]
Message-ID: <566EE848.1080005@gmx.es> (raw)
In-Reply-To: <566DC443.8040008@gmx.es>
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
___________________________________________________________________________________
prev parent reply other threads:[~2015-12-14 16:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-13 19:17 Pablo Rodriguez
2015-12-14 16:03 ` Pablo Rodriguez [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=566EE848.1080005@gmx.es \
--to=oinos@gmx.es \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).