From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/52962 Path: news.gmane.org!not-for-mail From: Peter Rolf Newsgroups: gmane.comp.tex.context Subject: Re: overprint bug (mkiv) Date: Wed, 16 Sep 2009 19:37:47 +0200 Message-ID: <4AB1226B.8030709@gmx.net> References: <4AB1040C.1090305@gmx.net> <4AB11595.2000901@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1253122695 16618 80.91.229.12 (16 Sep 2009 17:38:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 16 Sep 2009 17:38:15 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Sep 16 19:38:07 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.50) id 1MnySF-0008C6-4e for gctc-ntg-context-518@m.gmane.org; Wed, 16 Sep 2009 19:38:07 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3A480C9B10; Wed, 16 Sep 2009 19:38:05 +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 UWMkrh2yvZyF; Wed, 16 Sep 2009 19:37:58 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3887AC9AD9; Wed, 16 Sep 2009 19:37:58 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 709E1C9AD9 for ; Wed, 16 Sep 2009 19:37:54 +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 SwiBhmqVwBIr for ; Wed, 16 Sep 2009 19:37:49 +0200 (CEST) Original-Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by balder.ntg.nl (Postfix) with SMTP id 95E0DC9A9C for ; Wed, 16 Sep 2009 19:37:49 +0200 (CEST) Original-Received: (qmail invoked by alias); 16 Sep 2009 17:37:48 -0000 Original-Received: from i577BD7D4.versanet.de (EHLO [192.168.1.3]) [87.123.215.212] by mail.gmx.net (mp067) with SMTP; 16 Sep 2009 19:37:48 +0200 X-Authenticated: #24293357 X-Provags-ID: V01U2FsdGVkX19EQgYXO85EWkuiCUPn5TZHxFkWvFRRLTWVSWiI5D 9sEffqso+x5me9 User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) In-Reply-To: <4AB11595.2000901@wxs.nl> X-Y-GMX-Trusted: 0 X-FuHaFi: 0.52 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:52962 Archived-At: Hans Hagen schrieb: > Peter Rolf wrote: > >> overprinting is broken under very special conditions. You need to add >> framed content with a defined mp overlay as background and >> *deactivated frame* to a layer (last of the four pairs in the >> example). The text of the last pair is written in the same >> \GSoverprint group (in this case the \GSknockout is even missing). >> Very obscure. > > > \def\reuseMPbox#1#2#3#4#5% space delimiting would save some tokens > {\xdef\MPllx{#2}% but it's not worth the effort and looks > \xdef\MPlly{#3}% ugly as well > \xdef\MPurx{#4}% > \xdef\MPury{#5}% > \forcecolorhack\getobject{MP}{#1}} % else no proper color intent > > the issue is as follows: > > - i use attributes for such things > - and, in the backend i only look at glyph and rule nodes > - however, the reused graphic is an object > - so, i have a \forcecolorhack > - this tells the backend to treat the following node as well > Thank you Hans (also for the nice explanation)! The minimal example works here, also the first test graphic. Nevertheless there is still a bug in the definition of \forcecolorhack. The error message of my second test graphic is the same as in http://archive.contextgarden.net/message/20090901.094156.1dc47c81.en.html So you should be able to produce the error with that example. The last time I simply used the old (commented) definition and everything worked again. I even looked at the definition of leaders that time (last used in LaTeX around eight years ago) and I think \zeropoint is no valid glue value here. > there are a few more places where this is needed and in due time it > will be sorted out > I don't know if I should laugh or cry here. It took me nearly two days to make that minimal example. I'll interpret your last sentence as black humour... :) Best wishes, Peter > Hans > > ----------------------------------------------------------------- > Hans Hagen | PRAGMA ADE > Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com > | 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 : https://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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________