Re: [NTG-context] Wrong hyphenation when using patterns={fr,agr}

2016-08-10 Thread Jean-Pierre Delange

Dears Joseph, Hans, Wolfgang, Arthur (and others),

As a French user of ConTeXt (current version: 2016.07.18 16:46, 
generally on Windows 10, time to time on Ubuntu), I am currently working 
on a book in French, with Greek quotations, and some rare occurences in 
other non-european languages. Before version: 2016.07.18, there were 
conflicts in hyphenations (with '\setuplanguage[fr][patterns={fr,agr}]' 
command) that Hans has fixed. But some disgraceful double dots [:] used 
to stay at the beginning of lines. With the 
'\setcharacterspacing[frenchpunctuation]' command, all end that end 
well. I found no more hyphenation issues, nor punctuation ones, even 
within text defined by \definefallbackfamily setup.


\setuplanguage[fr][patterns={fr,agr}]

\mainlanguage[fr]

\setcharacterspacing[frenchpunctuation]


Le 09/08/2016 à 23:21, josephcan...@gmail.com a écrit :


Dear all,

Combining patterns for french and ancien greek languages, I noticed 
there are wrong hyphenations at quote char as shown in following MWE.


Is this expected behavior by using the patterns= key in such a way ?

Using ConTeXt  ver: 2016.08.08 21:28 MKIV beta  fmt: 2016.8.9  int: 
english/English




\setuplanguage[fr][patterns={fr, agr}]

\mainlanguage[fr]

\starttext

\hyphenatedword{l'homme}

\stoptext

-

The above prints : l’-homme

If so, what is the alternative to specify hyphenation in a text 
containing both french and ancient greek (the minority) words.


Thanks a lot for advising,

Best regards

Joseph Canedo



___
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
___


___
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
___

Re: [NTG-context] Wrong hyphenation when using patterns={fr,agr}

2016-08-10 Thread Hans Hagen

On 8/10/2016 2:15 PM, Arthur Reutenauer wrote:

I see:

languages   > initialization > language 'fr', patterns 'agr,fr',
discarding conflict (0-9)'(0-9)

so, the ' is used differently between the languages


  As I remember, French has 2'2 while Ancient Greek has 8'8 which are
not exactly contradictory ;-)  We could of course normalise all
languages to the same value (8 is probably sound); in the mean time
Joseph can edit his own copy of, say, the French patterns to replace the
2’s by 8’s.


some harmonization can indeed help there because one never know how the 
weights matter (8'8 vs 7'7 would be interesting indeed)


which remind me that the l/r min values should probably also be adapted 
in such cases


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | 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
___

Re: [NTG-context] Wrong hyphenation when using patterns={fr,agr}

2016-08-10 Thread Arthur Reutenauer
> I see:
> 
> languages   > initialization > language 'fr', patterns 'agr,fr',
> discarding conflict (0-9)'(0-9)
> 
> so, the ' is used differently between the languages

  As I remember, French has 2'2 while Ancient Greek has 8'8 which are
not exactly contradictory ;-)  We could of course normalise all
languages to the same value (8 is probably sound); in the mean time
Joseph can edit his own copy of, say, the French patterns to replace the
2’s by 8’s.

Best,

Arthur
___
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
___

Re: [NTG-context] Wrong hyphenation when using patterns={fr,agr}

2016-08-10 Thread Hans Hagen

On 8/9/2016 11:21 PM, josephcan...@gmail.com wrote:

Dear all,



Combining patterns for french and ancien greek languages, I noticed
there are wrong hyphenations at quote char as shown in following MWE.

Is this expected behavior by using the patterns= key in such a way ?


I see:

languages   > initialization > language 'fr', patterns 'agr,fr', 
discarding conflict (0-9)'(0-9)


so, the ' is used differently between the languages




Using ConTeXt  ver: 2016.08.08 21:28 MKIV beta  fmt: 2016.8.9  int:
english/English







\setuplanguage[fr][patterns={fr, agr}]

\mainlanguage[fr]



\starttext



\hyphenatedword{l'homme}



\stoptext



-



The above prints : l’-homme



If so, what is the alternative to specify hyphenation in a text
containing both french and ancient greek (the minority) words.



Thanks a lot for advising,

Best regards



Joseph Canedo





___
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
___




--

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | 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
___

[NTG-context] Wrong hyphenation when using patterns={fr,agr}

2016-08-09 Thread josephcanedo
Dear all,

Combining patterns for french and ancien greek languages, I noticed there are 
wrong hyphenations at quote char as shown in following MWE.
Is this expected behavior by using the patterns= key in such a way ?

Using ConTeXt  ver: 2016.08.08 21:28 MKIV beta  fmt: 2016.8.9  int: 
english/English



\setuplanguage[fr][patterns={fr, agr}]
\mainlanguage[fr]

\starttext

\hyphenatedword{l'homme}

\stoptext

-

The above prints : l’-homme

If so, what is the alternative to specify hyphenation in a text containing both 
french and ancient greek (the minority) words.

Thanks a lot for advising,
Best regards

Joseph Canedo

___
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
___