From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/75705 Path: news.gmane.org!not-for-mail From: Kip Warner Newsgroups: gmane.comp.tex.context Subject: Re: Rendering differences between PDF viewers Date: Tue, 17 Apr 2012 17:49:55 -0700 Message-ID: <1334710198.2011.40.camel@kip-laptop> References: <1334469628.3748.29.camel@kip-laptop> <4F8AF085.6070208@wxs.nl> <1334619889.28437.1.camel@kip-laptop> <4F8D138B.3030605@wxs.nl> <1334645858.2011.5.camel@kip-laptop> <4F8D3D9B.1040406@gmx.net> <4F8D4216.4060809@wxs.nl> <4F8D4A74.8030404@gmx.net> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1992611158==" X-Trace: dough.gmane.org 1334710278 24083 80.91.229.3 (18 Apr 2012 00:51:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 18 Apr 2012 00:51:18 +0000 (UTC) Cc: mailing list for ConTeXt users To: Peter Rolf Original-X-From: ntg-context-bounces@ntg.nl Wed Apr 18 02:51:11 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SKJ71-0000sV-GH for gctc-ntg-context-518@m.gmane.org; Wed, 18 Apr 2012 02:51:11 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8C5D3101CF; Wed, 18 Apr 2012 02:51: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 (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id cFG1qgUHWK1D; Wed, 18 Apr 2012 02:51:05 +0200 (CEST) Original-Received: from [127.0.0.1] (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 091D3101DF; Wed, 18 Apr 2012 02:51:05 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 79C23101DF for ; Wed, 18 Apr 2012 02:51:03 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id YkpMQVzOqLH0 for ; Wed, 18 Apr 2012 02:50:59 +0200 (CEST) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by balder.ntg.nl (Postfix) with ESMTP id 6100F101CF for ; Wed, 18 Apr 2012 02:50:59 +0200 (CEST) Original-Received: from homiemail-a41.g.dreamhost.com (caibbdcaaaaf.dreamhost.com [208.113.200.5]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q3I0oup4016445 for ; Wed, 18 Apr 2012 02:50:57 +0200 Original-Received: from homiemail-a41.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a41.g.dreamhost.com (Postfix) with ESMTP id 5167544C058; Tue, 17 Apr 2012 17:50:50 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=thevertigo.com; h=subject:from:to :cc:in-reply-to:references:content-type:date:message-id: mime-version; q=dns; s=thevertigo.com; b=k50aeF8pOjW9CTCCt8sLhI7 li4/+QMfn9ELHNybElouK4bDO98D8sy4fvrTSoHqrpWBUNHtyRp6jNBjZPBTx53b auBXDd9PyexbgQbuGiyxLUakG+y+9bN7kliWZsIvswiSaR64JbIX5+fn8YzjBPRc SWgpYcWPQsIU4lcpvtjU= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=thevertigo.com; h=subject :from:to:cc:in-reply-to:references:content-type:date:message-id: mime-version; s=thevertigo.com; bh=lybrg3k1g0VUOhva6Ye52dh+pEw=; b=tYnXK0SzcGYYKCmKPg4gxP3wOH6NbUXmkBMaYBHLfYurp3EWWL0c5f8LxRfB5 5W6DNFwE4E63SElargPPngsxR4rWYYKyx2TJ8yqwrGhybnUQk7vouksDpWnJDEU1 6ZNiAogl5H4EMRboDz/sGSVxPz/kIFK3Xw6B++fZBwKtFM= Original-Received: from [192.168.1.64] (76-10-184-209.dsl.teksavvy.com [76.10.184.209]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: kip@thevertigo.com) by homiemail-a41.g.dreamhost.com (Postfix) with ESMTPSA id 5D62244C057; Tue, 17 Apr 2012 17:50:49 -0700 (PDT) In-Reply-To: <4F8D4A74.8030404@gmx.net> X-Mailer: Evolution 2.32.1 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=208.113.200.5; country=US; region=CA; city=Brea; postalcode=92821; latitude=33.9269; longitude=-117.8612; metrocode=803; areacode=714; http://maps.google.com/maps?q=33.9269,-117.8612&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0LGXcOVWN - 62f1e551f865 - 20120418 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.71 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:75705 Archived-At: --===============1992611158== Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-FpAatciFK+OzQzyphg5v" --=-FpAatciFK+OzQzyphg5v Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, 2012-04-17 at 12:48 +0200, Peter Rolf wrote: > Hi Kip, >=20 > give it a try and add this to you document... >=20 >=20 > \startluacode >=20 > backends =3D backends or { } > backends.codeinjections =3D backends.codeinjections or { } >=20 > function backends.codeinjections.rgbtransparencygroup() > local d =3D lpdf.dictionary { > S =3D lpdf.constant("Transparency"), > CS =3D lpdf.constant("DeviceRGB"), > I =3D true } > lpdf.registerpagefinalizer(function() > lpdf.addtopageattributes("Group",d) end) > end >=20 > backends.codeinjections.rgbtransparencygroup() >=20 > \stopluacode >=20 >=20 > This does not work, if you also use CMYK based graphics/pictures in your > document (as this is done document wide). You know Peter, I must admit. ConTeXt has made me rather cynical at times. I don't know how many times I've tried a snippet of this or that, only to have it do exactly what I hadn't intended. Having said that, every now and then I am blown away when something I never expected to actually get working, gets working. Thank you so much, that worked beautifully. Both Evince (poppler based) and AR look identical now. I stuck it in my environment file. I wonder if there is a safer way of doing this than via "inline asm", so to speak. Also, maybe for my benefit, and anybody else having the same problem, you might be able to explain what was happening? --=20 Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com --=-FpAatciFK+OzQzyphg5v Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEABECAAYFAk+OD7MACgkQLXnfK7bii22MnwCfS9GNEeda4bi+m45Ow3TPB4NZ 0qgAoKUMM3gBFuBfTGkAKoZBe38kzelW =yZc1 -----END PGP SIGNATURE----- --=-FpAatciFK+OzQzyphg5v-- --===============1992611158== 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 ___________________________________________________________________________________ --===============1992611158==--