From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/68139 Path: news.gmane.org!not-for-mail From: Hartmut Henkel Newsgroups: gmane.comp.tex.context Subject: Re: simpleslides + combinepages != qpdf Date: Tue, 3 May 2011 00:54:06 +0200 (CEST) Message-ID: References: <7B4626C28B06A7418E938BF73D6DEE18F9F571EBFC@KCL-MAIL05.kclad.ds.kcl.ac.uk> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1304376876 4418 80.91.229.12 (2 May 2011 22:54:36 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 2 May 2011 22:54:36 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue May 03 00:54:32 2011 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.69) (envelope-from ) id 1QH20d-0007L0-Kx for gctc-ntg-context-518@m.gmane.org; Tue, 03 May 2011 00:54:31 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C9AE1CAC82; Tue, 3 May 2011 00:54:30 +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 i4xD6MhotAvg; Tue, 3 May 2011 00:54:27 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id AEDB4CAC7F; Tue, 3 May 2011 00:54:27 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0DF9FCAC7F for ; Tue, 3 May 2011 00:54:26 +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 KuvJII7co5PD for ; Tue, 3 May 2011 00:54:10 +0200 (CEST) Original-Received: from filter4-nij.mf.surf.net (filter4-nij.mf.surf.net [195.169.124.155]) by balder.ntg.nl (Postfix) with ESMTP id 63A4DCAC2D for ; Tue, 3 May 2011 00:54:10 +0200 (CEST) Original-Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.23]) by filter4-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with SMTP id p42Ms8Ik017474 for ; Tue, 3 May 2011 00:54:09 +0200 Original-Received: (qmail invoked by alias); 02 May 2011 22:54:07 -0000 Original-Received: from mnhm-5f75cc07.pool.mediaWays.net (EHLO hahepc1.hahe) [95.117.204.7] by mail.gmx.net (mp011) with SMTP; 03 May 2011 00:54:07 +0200 X-Authenticated: #6218946 X-Provags-ID: V01U2FsdGVkX187MMU3emQ78Gp41O3dB2HpQUasujqG6Ej0Kc5/PE 8P3JUn5uRR4hI9 Original-Received: from hahe (helo=localhost) by hahepc1.hahe with local-esmtp (Exim 4.72) (envelope-from ) id 1QH20E-0002cQ-W8 for ntg-context@ntg.nl; Tue, 03 May 2011 00:54:06 +0200 In-Reply-To: User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) X-Y-GMX-Trusted: 0 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=213.165.64.23; country=DE; latitude=51.0000; longitude=9.0000; http://maps.google.com/maps?q=51.0000,9.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 04ECKS8SD - d1c51c2a706e - 20110503 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.155 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:68139 Archived-At: On Mon, 2 May 2011, Hartmut Henkel wrote: > On Mon, 2 May 2011, Reviczky, Adam wrote: > > > Right, I have a feeling that this is MetaPost related, hence the random problems with different styles. > > > > I can reproduce this now without simpleslides too, using only metapost. > > > > Here's a minimal example: > > > > Get logo_ignite.mp from: http://pastebin.com/raw.php?i=VqvcWniu > > > > % slides.tex > > \startreusableMPgraphic{ignite} > > input logo_ignite; > > \stopreusableMPgraphic > > \starttext > > \reuseMPgraphic{ignite} > > \stoptext > > > > %handout.tex > > \setuppapersize > > [A4][A4] % or [A4,landscape][A4,landscape] > > \setuplayout > > [header=0pt,footer=1cm,backspace=1cm,topspace=1cm,width=middle,height=middle] > > \setupfootertexts > > [presentation---\currentdate\space---\space\pagenumber] > > \starttext > > \combinepages[slides][nx=2,ny=3,frame=on] > > \stoptext > > > > context slides.tex && context handout.tex && qpdf --linearize handout.pdf out.pdf > > > > results in: > > object stream 21 (object 31 0, file position 1547): unknown token while reading object (nullnullnullnull) > > > > ConTeXt ver: 2011.05.01 12:50 MKIV fmt: 2011.5.2 int: english/english > > mkiv lua stats > luatex banner - this is luatex, version beta-0.71.0-2011050213 (rev 4233) > > seems to be a bug in luatex beta-0.71.0-2011050213 (rev 4233). > Checking... found it: There were 4 null objects in an ObjStm in handout.pdf, stored now compress: "nullnullnullnull" (not yet so in 0.70.x). Each null object has a correct pointer to its begin (the 'n'), so one should suppose that an object ends at the character ('l') just before the start ('n') of the next null object. Like in the TeX string pool. But qpdf gives an error about a "nullnullnullnull" object (fully ignoring the start of the 2nd null object!), and also Adobe Reader 9 quits with an error. Interestingly xpdf displays the file handout.pdf without any problem. The problem is fixed by adding a space at to the end of each object within an ObjStm, so there is now "null null null null", see SVN 4242. No comment in the PDF Ref. on this. Looks like a flaw in qpdf and the Reader? Regards, Hartmut ___________________________________________________________________________________ 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 ___________________________________________________________________________________