From: Hans Hagen <pragma@wxs.nl>
To: ntg-context@ntg.nl
Subject: Re: bug in current beta?
Date: Tue, 03 Feb 2015 21:31:32 +0100 [thread overview]
Message-ID: <54D13024.5070804@wxs.nl> (raw)
In-Reply-To: <54D127C3.6030103@gmx.es>
On 2/3/2015 8:55 PM, Pablo Rodriguez wrote:
> Dear list,
>
> beta from 2015.01.30 15:28 isn’t able to hyphenate the second word in
> this sample (also beta from 2014.11.26 21:43 doesn’t hyphenate it):
>
> \mainlanguage[es]
> \setuplanguage[es][patterns={es, agr}]
> \setupdirections[bidi=on,method=two]
> \definefontfamily[mainface][rm][FreeSerif]
> \setupbodyfont[mainface]
> \starttext
> \hsize\zeropoint
> hola χαλεπὰ {\agr χαλεπὰ}
> \stoptext
>
> Beta from 2014.07.14 19:25 hypehantes all three words.
>
> I’m afraid this may be a bug. Could someone else confirm it?
more a side effect of a speedup in language switching (assuming no
change in patterns after enabling a language)
you can put this in cont-new.mkiv
\unprotect
\appendtoks
\global\expandafter\let\csname\??languagenumbers\currentlanguage\endcsname\undefined
\to \everysetuplanguage
\protect
actually, a \mainlanguage after \setuplanguage would work in your case
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2015-02-03 20:31 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-03 19:55 Pablo Rodriguez
2015-02-03 20:31 ` Hans Hagen [this message]
2015-02-04 5:16 ` Pablo Rodriguez
2015-02-03 20:40 ` Otared Kavian
2015-02-04 5:27 ` Pablo Rodriguez
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=54D13024.5070804@wxs.nl \
--to=pragma@wxs.nl \
--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).