On 5/14/2017 8:21 PM, Pablo Rodriguez wrote:
On 05/11/2017 09:25 PM, Mikael P. Sundqvist wrote:
I'm not sure what you see but I attach the resulting file, and I see no problem.

$ uname -a
Linux hurf 4.8.0-41-generic #44-Ubuntu SMP Fri Mar 3 15:27:17 UTC 2017
x86_64 x86_64 x86_64 GNU/Linux

mtx-context     | current version: 2017.05.09 10:14

Hi Mikael,

sorry for not being accurate enough before (I have just realized it).

It is about copying from the generated document (it also happens with
your attached PDF file):

    \starttext
    \startTEXpage[offset=1em]
    -- ---

    – —
    \stopTEXpage
    \stoptext

Select all, copy and paste it on a pure-text editor. You will get two
and four hyphens for en and em dashes, respectively.

Could you confirm this? Until very recently, I copied en and em dashes
from PDF documents generated by ConTeXt.

it has to do with more aggressive tounicode resolution and it happens that lm/gyre fonts have these chars as ligatures; i'll be a bit more restrictive in that case

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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to