From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/23876 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: shading box many times Date: Mon, 28 Nov 2005 14:56:37 +0100 Message-ID: <438B0C95.6000700@wxs.nl> References: <438AC79A.7070806@seznam.cz> <438AE71A.2080906@wxs.nl> <438AF9E2.8070308@elvenkind.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1133186232 23545 80.91.229.2 (28 Nov 2005 13:57:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 28 Nov 2005 13:57:12 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Mon Nov 28 14:57:09 2005 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1EgjUt-0002pO-4z for gctc-ntg-context-518@m.gmane.org; Mon, 28 Nov 2005 14:56:47 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D2612128BE; Mon, 28 Nov 2005 14:56:46 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 07353-09-6; Mon, 28 Nov 2005 14:56:41 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D6CB8128AF; Mon, 28 Nov 2005 14:56:41 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D51BE128AF for ; Mon, 28 Nov 2005 14:56:39 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 07353-09-5 for ; Mon, 28 Nov 2005 14:56:38 +0100 (CET) Original-Received: from controller-1 (dsl-212-84-128-085.solcon.nl [212.84.128.85]) by ronja.ntg.nl (Postfix) with ESMTP id CC51C127C0 for ; Mon, 28 Nov 2005 14:56:38 +0100 (CET) Original-Received: from [10.100.1.102] (unverified [10.100.1.102]) by controller-1 (SurgeMail 3.5b3) with ESMTP id 5355 for ; Mon, 28 Nov 2005 15:01:29 +0300 User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <438AF9E2.8070308@elvenkind.com> X-Server: High Performance Mail Server - http://surgemail.com r=-274017400 X-Authenticated-User: hagen@controller-1 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:23876 Archived-At: Taco Hoekwater wrote: > Hans Hagen wrote: > >> Vit Zyka wrote: >> >>> Dear Metafun Wizards, >>> >>> I have noticed some strange behaviour with box shading. It works OK >>> until some number of shadings. Please see example: >>> http://typokvitek.com/tmp/shade-many.pdf >>> Any idea for solving? Next not-minimal but small and illustrative >>> example can help. >> >> >> works ok here; since it concerns independent mp runs, i cannot >> imagine what goes wrong; mayeb a bad random numer; does your log say >> something? > > > My results are the same as Vit's example: The last 9 items are > not shaded but have 3 black sides and 1 white one > (with \write18 disabled, using a single \jobname-mpgraph.mp) > > I don't know what is going, but at least I can reproduce the problem. it's related to the fact that there can be 1000 specials only (this /1000 in mp-spec) if you add: \def\MPrgbnumber#1{\expandafter\doMPrgbnumber#10000.00000\relax} \def\doMPrgbnumber#1.#2#3#4#5#6\relax{#2#3#4#5} \startMPinclusions _special_div_ := 10000 ; \stopMPinclusions to the file, and change all 1000's in mp-spec.tex into _special_div_ it works ok; so, the question (for taco is): does mp have the right precission (it looks ok to me, unless we need to start calculating with it) so, it may be a dangerous patch. I'll adapt spec-mp to this new constant but for the moment keep the 10000 in my cont-loc file Hans