From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/83642 Path: news.gmane.org!not-for-mail From: Philipp Gesang Newsgroups: gmane.comp.tex.context Subject: Re: copy&paste from pdf bug (smallcaps, text figures) Date: Fri, 2 Aug 2013 00:12:37 +0200 Message-ID: <20130801221237.GB29570@phlegethon> References: <20130801173329.GA5907@phlegethon> <13E355F9-2F54-42AC-8CA6-EB8C05A0B3CD@gmail.com> <20130801214616.GA29570@phlegethon> <20130801220108.GD8003@homerow> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1278091982==" X-Trace: ger.gmane.org 1375395166 7975 80.91.229.3 (1 Aug 2013 22:12:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 1 Aug 2013 22:12:46 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Fri Aug 02 00:12:49 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 1V5172-0004Yb-I6 for gctc-ntg-context-518@m.gmane.org; Fri, 02 Aug 2013 00:12:48 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 852DC101F1; Fri, 2 Aug 2013 00:12:15 +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 b-MEoyPD4kH1; Fri, 2 Aug 2013 00:12:12 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 5E86B101E6; Fri, 2 Aug 2013 00:12:12 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A769B101E6 for ; Fri, 2 Aug 2013 00:12:10 +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 UDMyS0pi7tof for ; Fri, 2 Aug 2013 00:12:09 +0200 (CEST) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id 6F72D101E5 for ; Fri, 2 Aug 2013 00:12:09 +0200 (CEST) Original-Received: from relay.uni-heidelberg.de (relay.uni-heidelberg.de [129.206.100.212]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r71MCexp011576 for ; Fri, 2 Aug 2013 00:12:41 +0200 Original-Received: from ix.urz.uni-heidelberg.de (cyrus-portal.urz.uni-heidelberg.de [129.206.100.176]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id r71MCeIW006115 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 2 Aug 2013 00:12:40 +0200 Original-Received: from extmail.urz.uni-heidelberg.de (extmail.urz.uni-heidelberg.de [129.206.100.140]) by ix.urz.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id r71MCepO030517 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 2 Aug 2013 00:12:40 +0200 Original-Received: from localhost (p50845B32.dip0.t-ipconnect.de [80.132.91.50]) (authenticated bits=0) by extmail.urz.uni-heidelberg.de (8.13.4/8.13.1) with ESMTP id r71MCcB9004459 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Fri, 2 Aug 2013 00:12:39 +0200 Mail-Followup-To: ntg-context@ntg.nl In-Reply-To: <20130801220108.GD8003@homerow> X-Operating-System: Linux phlegethon 3.9.9-1-ARCH User-Agent: Mutt/1.5.21 (2010-09-15) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=129.206.100.212; country=DE; region=01; city=Heidelberg; latitude=49.4167; longitude=8.7000; http://maps.google.com/maps?q=49.4167,8.7000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0TK7ycFxX - 7ce4a1146c77 - 20130802 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 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:83642 Archived-At: --===============1278091982== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="PmA2V3Z32TCmWXqI" Content-Disposition: inline --PmA2V3Z32TCmWXqI Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable =C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7 > On 2013=E2=80=9308=E2=80=9301 Philipp Gesang wrote: >=20 > > =C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7 > >=20 > > > 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). > >=20 > > x64 linux here, but it=E2=80=99s 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). >=20 > Just to add to the list: >=20 > x64 linux here, and it works with the following poppler based > viewers (zathura-poppler, xpdf, evince) For those who want to test the git version, the commits are: last good: a61813ccdd4b7bcc81932317e1360fda6c79962d first bad: 6b2f7c5fd7a3e465f4e2662b1e5bd2c9d5cce8f8 Don=E2=80=99t 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) * (li= gseparator * 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: http://repo.or.cz/w/context.git/commitdiff/6b2f7c5fd7a3e465f4e2662b1e5b= d2c9d5cce8f8 Best, Philipp --PmA2V3Z32TCmWXqI Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (GNU/Linux) iQEcBAEBCgAGBQJR+t1VAAoJEI7yfcKNwM1+318IALyLH60EVE+rUNCp0IrpEeog r+XXwOdqNZiesyt83nj/HSDnidR7rMM6l61gSUjPSKZzFZ6JNFBMcBncjhY7Q18C PBpFBmyaQB+fMl5Ds8gC32EPfba5vjF+1YtSQto2z4bqvuo5luMKTJR1wmYakEJN l+7OUiNSD+6gyDhB5r965N6eJohvpdqr18WSEgvUscRaKUgtGB2azKVZyKyAxAlc lWKBaZCFRTOpYBKGI9opuBnv2fYO6AK1K/80o9r/Fo9cWBt1o6Vf9CrfVqlCMfT/ edVH1Tft4aOpBVw5YlFyiT1j5cvpbefP5n5TlW0NcmJqI2t8PsWCCyfu6KY6dt0= =1OFx -----END PGP SIGNATURE----- --PmA2V3Z32TCmWXqI-- --===============1278091982== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============1278091982==--