From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/15629 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: arranging pages with transpparency color Date: Wed, 30 Jun 2004 15:37:53 +0200 Sender: ntg-context-admin@ntg.nl Message-ID: <40E2C231.7030604@wxs.nl> References: <40E2AB88.8070301@seznam.cz> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1088602843 7543 80.91.224.253 (30 Jun 2004 13:40:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 30 Jun 2004 13:40:43 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Wed Jun 30 15:40:27 2004 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BffK7-0002sk-00 for ; Wed, 30 Jun 2004 15:40:27 +0200 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 4226B10B77; Wed, 30 Jun 2004 15:40:22 +0200 (MEST) Original-Received: from mailrelay02.solcon.nl (maillb.solcon.nl [212.45.32.200]) by ref.ntg.nl (Postfix) with ESMTP id 9AE9510AC0 for ; Wed, 30 Jun 2004 15:37:56 +0200 (MEST) Original-Received: from server-1.pragma-net.nl (dsl-212-84-128-085.solcon.nl [212.84.128.85]) by mailrelay02.solcon.nl (8.12.11/SQL-8.12.11-5/8.12.11) with ESMTP id i5UDbrBF008019 for ; Wed, 30 Jun 2004 15:37:53 +0200 Original-Received: by server-1.pragma-net.nl (Postfix, from userid 65534) id 6339A235BD; Wed, 30 Jun 2004 15:37:55 +0200 (CEST) Original-Received: from [10.100.1.191] (unknown [10.100.1.191]) by server-1.pragma-net.nl (Postfix) with ESMTP id 06EFD1856D for ; Wed, 30 Jun 2004 13:37:54 +0000 (UTC) User-Agent: Mozilla Thunderbird 0.6 (Windows/20040502) X-Accept-Language: en-us, en Original-To: ntg-context@ntg.nl In-Reply-To: <40E2AB88.8070301@seznam.cz> X-Virus-Scanned: clamd / ClamAV version 0.73, clamav-milter version 0.73a on mailrelay02.solcon.nl X-Virus-Status: Clean Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:15629 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:15629 Vit Zyka wrote: > Hi Hans and others, > > there is a problem with arranging pages with transparency color. See > code: > ------------------ > \setuppapersize[A5,landscape][A4] > \setuparranging[2TOPSIDE] > > \setupcolors[state=start] > \definecolor[tcBlack][s=0, t=.5, a=normal] > > \starttext > \switchtobodyfont[20pt] > \dorecurse{1}{Page \color[tcBlack]{\recurselevel}\page}% > \dorecurse{4}{Page \recurselevel\page}% > \stoptext > -------------------- > Acroread (win 6.0.1) is complaining on the resulting PDF obtaining by > texexec --arrange > The message from AR is: > There was an error reading a page. There was a problem processing a > document(14). > From a previous version of AR I obtained more informative message: > Could not find extended graphic state name Tr1 > > Necessary conditions: > 1) transparent color on at least one page > 2) arranging pages on sheets > 3) number of pages exceeds one sheet > > Observation: > If do not use switch --arrange and compile the file two times the > error does not occure. (But the result is not correct due to missing > table of content etc.) > It seems to me the problem is with managing transparen resources from > sheet to sheet. The problem is that object numbers are different between the normal and the arranged run. So, in this case you can best define a separate job for imposition: \setuppapersize[A5,landscape][A4] \setuparranging[2TOPSIDE] \setuplayout[page] \starttext \insertpages[test.pdf][width=0pt] \stoptext Solutions are: (1) split utility file into document and backend part (take some work) (2) use forward refs (possible in latest pdftex, but i wait with using that till i can be sure that teh new versions are around) and for the moment: (3) define a separate job 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 -----------------------------------------------------------------