From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/83647 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: copy&paste from pdf bug (smallcaps, text figures) Date: Fri, 02 Aug 2013 13:09:11 +0200 Message-ID: <51FB9357.6080000@wxs.nl> References: <20130801173329.GA5907@phlegethon> <13E355F9-2F54-42AC-8CA6-EB8C05A0B3CD@gmail.com> <20130801214616.GA29570@phlegethon> <20130801220108.GD8003@homerow> <20130801221237.GB29570@phlegethon> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252"; Format="flowed" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1375441791 6233 80.91.229.3 (2 Aug 2013 11:09:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 2 Aug 2013 11:09:51 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Fri Aug 02 13:09:51 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1V5DF0-0007if-Ki for gctc-ntg-context-518@m.gmane.org; Fri, 02 Aug 2013 13:09:50 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 34509101F7; Fri, 2 Aug 2013 13:09:14 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Y2SnKk5K5imZ; Fri, 2 Aug 2013 13:09:11 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 53A23101EE; Fri, 2 Aug 2013 13:09:11 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EE99F101EA for ; Fri, 2 Aug 2013 13:09:09 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id FL0ilGWT8ca4 for ; Fri, 2 Aug 2013 13:08:59 +0200 (CEST) Original-Received: from filter3-utr.mf.surf.net (filter3-utr.mf.surf.net [195.169.124.154]) by balder.ntg.nl (Postfix) with ESMTP id CF36C101E5 for ; Fri, 2 Aug 2013 13:08:59 +0200 (CEST) Original-Received: from smtp.ziggozakelijk.nl (D57D1DA2.static.ziggozakelijk.nl [213.125.29.162]) by filter3-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r72B9WUq009936 for ; Fri, 2 Aug 2013 13:09:32 +0200 X-Default-Received-SPF: pass (skip=loggedin (res=PASS)) x-ip-name=10.0.4.10; Original-Received: from [10.0.4.10] (unverified [10.0.4.10]) by pragma-net.nl (SurgeMail 6.3c2) with ESMTP id 14046-1713362 for ; Fri, 02 Aug 2013 13:09:31 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/20130620 Thunderbird/17.0.7 In-Reply-To: <20130801221237.GB29570@phlegethon> X-Authenticated-User: hagen@controller-9 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=213.125.29.162; country=NL; region=15; city=Zwolle; latitude=52.5058; longitude=6.0858; http://maps.google.com/maps?q=52.5058,6.0858&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 08K7L9wt6 - da7a8cae1df6 - 20130802 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.154 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:83647 Archived-At: On 8/2/2013 12:12 AM, Philipp Gesang wrote: > =B7=B7=B7=B7=B7=B7=B7=B7=B7 > >> On 2013=9608=9601 Philipp Gesang wrote: >> >>> =B7=B7=B7=B7=B7=B7=B7= =B7=B7 >>> >>>> I tested your example: no problem here on Mac OS X 10.8.4, with >>>> either TeXShop, Adobe Redaer or Preview, with the latest beta >>>> (ConTeXt ver: 2013.08.01 01:31 MKIV beta fmt: 2013.8.1 int: >>>> english/english). >>> >>> x64 linux here, but it=92s the same with the windows version in >>> wine32. I get the bad output with okular (poppler), acroread, and >>> mupdf, but strangely not with zathura (mupdf-based). >> >> Just to add to the list: >> >> x64 linux here, and it works with the following poppler based >> viewers (zathura-poppler, xpdf, evince) i'm a bit puzzled > For those who want to test the git version, the commits are: > > last good: a61813ccdd4b7bcc81932317e1360fda6c79962d > first bad: 6b2f7c5fd7a3e465f4e2662b1e5bd2c9d5cce8f8 > > Don=92t forget to delete the cache. > > I suspect I found the troublesome changes. The problem vanishes > if I revert this modification to font-map.lua: > > -local separator =3D S("_.") > -local other =3D C((1 - separator)^1) > -local ligsplitter =3D Ct(other * (separator * other)^0) > +local ligseparator =3D P("_") > +local varseparator =3D P(".") > +local namesplitter =3D Ct(C((1 - ligseparator - varseparator)^1) * = (ligseparator * C((1 - ligseparator - varseparator)^1))^0) > > and then further down: > > - local split =3D lpegmatch(ligsplitter,name) > <...> > + local split =3D lpegmatch(namesplitter,name) > > For convenience I repeat the link to the changeset: what do you revert from ... the + things are already in the file > http://repo.or.cz/w/context.git/commitdiff/6b2f7c5fd7a3e465f4e2662b1= e5bd2c9d5cce8f8 btw, this bit of code is evolving (was recently adapt to some border = case fonts that use their own rules) anyhow, on my win8 system the beta works with sumatra, okular and = acrobat (indeed one might need to wipe the cache, but i can increment = the version number) 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 t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________