From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/23912 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: shading box many times Date: Tue, 29 Nov 2005 09:59:07 +0100 Message-ID: <438C185B.5060903@wxs.nl> References: <438AC79A.7070806@seznam.cz> <438AE71A.2080906@wxs.nl> <438AF9E2.8070308@elvenkind.com> <438B0C95.6000700@wxs.nl> <438BA251.90007@seznam.cz> 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 1133256356 4824 80.91.229.2 (29 Nov 2005 09:25:56 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 29 Nov 2005 09:25:56 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Tue Nov 29 10:25:40 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 1Eh1KZ-0005de-LD for gctc-ntg-context-518@m.gmane.org; Tue, 29 Nov 2005 09:59:20 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 08D53128C6; Tue, 29 Nov 2005 09:59:18 +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 20409-02; Tue, 29 Nov 2005 09:59:12 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id DF56D12800; Tue, 29 Nov 2005 09:59:11 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0C29912800 for ; Tue, 29 Nov 2005 09:59:10 +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 20164-07 for ; Tue, 29 Nov 2005 09:59:09 +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 E0C2B127B8 for ; Tue, 29 Nov 2005 09:59:08 +0100 (CET) Original-Received: from [10.100.1.102] (unverified [10.100.1.102]) by controller-1 (SurgeMail 3.5b3) with ESMTP id 5498 for ; Tue, 29 Nov 2005 10:04:05 +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: <438BA251.90007@seznam.cz> 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:23912 Archived-At: Vit Zyka wrote: > Hans Hagen wrote: > >> 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 > > > Really? Hmmm, not for me. I have got the graphics with flat color per > picture; every picture in the sequence has lighter and lighter color > (starting from black). (After performing your instructions in the > mp-spec.mp and refreshing metafun.mem.) can you try the experimental zip i posted yesterday (.../temp/cont-tmf.zip) forget about the definitions, just set \settrue \manyMPspecials in your file should work Hans