issue with French patterns
Dear list, I have the following sample: \setuplanguage[fr][patterns={fr, agr}] \mainlanguage[fr] \setupbodyfont[dejavu] \starttext \hyphenatedword{χαλεπά éligibilité} \stoptext I cannot compile it with latest beta (or with stable from 2015.05.18 12:26). The error message reads: error on line 2 in file a.tex: ! Conflicting pattern ignored Is this a bug or is there no way to load French and ancient Greek hyphenation patterns? Many thanks for your help, Pablo -- http://www.ousia.tk
Hi Pablo, Your example is typeset correctly if one puts \setuplanguage[fr,agr] instead of \setuplanguage[fr][patterns={fr, agr}]. On the wiki I didn’t find the keyword « patterns =………» for \setuplanguage. Best regards: OK
On 30 Jun 2016, at 20:15, Pablo Rodriguez
wrote: Dear list,
I have the following sample:
\setuplanguage[fr][patterns={fr, agr}] \mainlanguage[fr] \setupbodyfont[dejavu] \starttext \hyphenatedword{χαλεπά éligibilité} \stoptext
I cannot compile it with latest beta (or with stable from 2015.05.18 12:26).
The error message reads:
error on line 2 in file a.tex: ! Conflicting pattern ignored
Is this a bug or is there no way to load French and ancient Greek hyphenation patterns?
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 ___________________________________________________________________________________
Otared Kavian mailto:otared@gmail.com 30. Juni 2016 um 22:58 Hi Pablo,
Your example is typeset correctly if one puts
\setuplanguage[fr,agr]
The first argument of the \setuplanguage command accepts only a single language tag and not a list of languages.
instead of \setuplanguage[fr][patterns={fr, agr}]. On the wiki I didn’t find the keyword « patterns =………» for \setuplanguage. The wiki entries are based on the old interface files with a few updates, for a complete list look into i-context.pdf (or setup-en.pdf on Hans homepage).
Wolfgang
On 6/30/2016 8:15 PM, Pablo Rodriguez wrote:
Dear list,
I have the following sample:
\setuplanguage[fr][patterns={fr, agr}] \mainlanguage[fr] \setupbodyfont[dejavu] \starttext \hyphenatedword{χαλεπά éligibilité} \stoptext
I cannot compile it with latest beta (or with stable from 2015.05.18 12:26).
The error message reads:
error on line 2 in file a.tex: ! Conflicting pattern ignored
Is this a bug or is there no way to load French and ancient Greek hyphenation patterns?
it's not a bug ... the patterns conflict ... it took me a while but the next beta will drop the conflicts Hans -- ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
On 07/01/2016 01:59 AM, Hans Hagen wrote:
On 6/30/2016 8:15 PM, Pablo Rodriguez wrote:
[...] Is this a bug or is there no way to load French and ancient Greek hyphenation patterns?
it's not a bug ... the patterns conflict ... it took me a while but the next beta will drop the conflicts
Hans, many thanks for solving the conflicts. Pablo -- http://www.ousia.tk
participants (4)
-
Hans Hagen
-
Otared Kavian
-
Pablo Rodriguez
-
Wolfgang Schuster