From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/74610 Path: news.gmane.org!not-for-mail From: Mari Voipio Newsgroups: gmane.comp.tex.context Subject: Dynamic content on layers - wiki example not working Date: Tue, 21 Feb 2012 12:34:46 +0200 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1329820508 7584 80.91.229.3 (21 Feb 2012 10:35:08 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 21 Feb 2012 10:35:08 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Feb 21 11:35:03 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Rzn3k-00021R-EJ for gctc-ntg-context-518@m.gmane.org; Tue, 21 Feb 2012 11:35:00 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A9602CB229; Tue, 21 Feb 2012 11:34:59 +0100 (CET) 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 wjWEMbvdiUX1; Tue, 21 Feb 2012 11:34:54 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 11BEACB213; Tue, 21 Feb 2012 11:34:54 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EDEBFCB213 for ; Tue, 21 Feb 2012 11:34:52 +0100 (CET) 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 mkyjMUgxPkAV for ; Tue, 21 Feb 2012 11:34:47 +0100 (CET) Original-Received: from filter1-ams.mf.surf.net (filter1-ams.mf.surf.net [192.87.102.69]) by balder.ntg.nl (Postfix) with ESMTP id 6E05ACB211 for ; Tue, 21 Feb 2012 11:34:47 +0100 (CET) Original-Received: from mail-lpp01m010-f41.google.com (mail-lpp01m010-f41.google.com [209.85.215.41]) by filter1-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q1LAYkW3012924 for ; Tue, 21 Feb 2012 11:34:46 +0100 Original-Received: by lamf4 with SMTP id f4so9844116lam.14 for ; Tue, 21 Feb 2012 02:34:46 -0800 (PST) Received-SPF: pass (google.com: domain of mvoipio@gmail.com designates 10.112.82.6 as permitted sender) client-ip=10.112.82.6; Authentication-Results: mr.google.com; spf=pass (google.com: domain of mvoipio@gmail.com designates 10.112.82.6 as permitted sender) smtp.mail=mvoipio@gmail.com; dkim=pass header.i=mvoipio@gmail.com Original-Received: from mr.google.com ([10.112.82.6]) by 10.112.82.6 with SMTP id e6mr9498206lby.31.1329820486261 (num_hops = 1); Tue, 21 Feb 2012 02:34:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=8Ek5ivLskbTLXaB4JJ2oXNchoInucmOHi/cv+lECvBs=; b=aYnQS8HGULujZHKHC1d5Hr8Y/xirZRrdHKb+BaY9ihw838QQNvcwzx4x/NlclocvAL l+HBm/AkRfLVjjYZkzzkCu1CtvCkSc3mp5c+bMHS3hUyKNwtNbp98SCpAwrbREOcOahp /YBsosd47eiQx/iUNID4daIdGOElv3Pzl9LkI= Original-Received: by 10.112.82.6 with SMTP id e6mr7943484lby.31.1329820486212; Tue, 21 Feb 2012 02:34:46 -0800 (PST) Original-Received: by 10.152.37.103 with HTTP; Tue, 21 Feb 2012 02:34:46 -0800 (PST) X-Google-Sender-Auth: i5M2xfVoSWsyOC9WHU7Ivc6GAO0 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.215.41; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0NGAyyKzi - c2f7b05f85c5 - 20120221 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.69 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:74610 Archived-At: Hello! I'm trying to place dynamic content on a layer and now it turns out that while getting a different pic every time is easy, getting the layers redrawn wasn't that simple. The wiki has this code: \definelayer [pagenumber] [width=\paperwidth, height=\paperheight, preset=middle, state=repeat] \setlayer[pagenumber]{Page \pagenumber} \setupbackgrounds[page][background=pagenumber] \starttext \dorecurse{4}{\page[empty]} \stoptext AFAIK, that should be a complete minimal sample. Unfortunately it doesn't seem to work, at least my ConTeXt MkIV of February 8 only gives "Page 1" on every one of those 4 pages... How to fix this? Preferably on the "Dummies" level, I'd prefer not to see the bowels of my ConTeXt, if I can avoid it. Thanks, Mari ___________________________________________________________________________________ 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 ___________________________________________________________________________________