From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/61523 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Insert page number into multi-page PDF Date: Tue, 7 Sep 2010 18:52:44 +0200 Message-ID: <1BBF21DB-5D05-4C6A-9E7C-6350858B5799@gmail.com> References: <4C856495.4040703@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1283878386 10560 80.91.229.12 (7 Sep 2010 16:53:06 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 7 Sep 2010 16:53:06 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Sep 07 18:53:05 2010 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 1Ot1Ps-0005PB-Be for gctc-ntg-context-518@m.gmane.org; Tue, 07 Sep 2010 18:53:04 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C58E7CA6A0; Tue, 7 Sep 2010 18:53:03 +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 Eto2vMF8z9Qa; Tue, 7 Sep 2010 18:53:01 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D149FCA687; Tue, 7 Sep 2010 18:53:00 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B9581CA687 for ; Tue, 7 Sep 2010 18:52:59 +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 37Can0hwvsne for ; Tue, 7 Sep 2010 18:52:48 +0200 (CEST) Original-Received: from filter5-til.mf.surf.net (filter5-til.mf.surf.net [194.171.167.221]) by balder.ntg.nl (Postfix) with ESMTP id 7243BCA5E9 for ; Tue, 7 Sep 2010 18:52:48 +0200 (CEST) Original-Received: from mail-fx0-f41.google.com (mail-fx0-f41.google.com [209.85.161.41]) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o87Gqlva028609 for ; Tue, 7 Sep 2010 18:52:47 +0200 Original-Received: by fxm3 with SMTP id 3so3936757fxm.14 for ; Tue, 07 Sep 2010 09:52:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:content-type:mime-version :subject:from:in-reply-to:date:content-transfer-encoding:message-id :references:to:x-mailer; bh=4OUc+1lty0j8Y+T815fwjgX0lN0LORYpGk2gsUJULS4=; b=ErwMtAYpZDzLF1e/sHkWPzJ4eMfyciQfmcalXQGJsFRLDlyPtlEjm5y35x7b0f3bY6 okdzTtY/n689E9siDbI26fCExbzYGzKxizVgYH9CaehOccvC5DfyNoyOlcKB/SBXEqb9 BhYsFzk7HRa06Sc2bTqhfPsfJbUbgekUO3dSo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=dF7H5CJHTnwRhxBeBJipC+bfihZ6ZOPZ4pMMp4lMvZoqsEBu0ACz61SHgUe227kVHW HSWDDDAl6SELK/F4aja0J7NS2AcAjbXunvOYtsCVvSce01xIs2EzUD2ZuC84M8R17qOQ wVwCdnJfGM6hzA+5LKUWOG0q2chMY69vnPAjE= Original-Received: by 10.223.112.203 with SMTP id x11mr70974fap.68.1283878367369; Tue, 07 Sep 2010 09:52:47 -0700 (PDT) Original-Received: from [192.168.2.23] (p5B2955A1.dip.t-dialin.net [91.41.85.161]) by mx.google.com with ESMTPS id a6sm2951614faa.44.2010.09.07.09.52.45 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 07 Sep 2010 09:52:46 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.1081) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.161.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: 0xD3QQL9A - 44c93885b4d6 - 20100907 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.221 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:61523 Archived-At: Am 07.09.2010 um 18:40 schrieb Vnpenguin: > On Tue, Sep 7, 2010 at 00:00, Hans Hagen wrote: >> = >> \setuplayout[page] >> = >> \copypages[yourfile.pdf][n=3D10] >> = >> you can put stuff on top using the background mechanisms > = > Could you give me an example about background mechanism ? \defineoverlay [pagenumber] [\vbox to \paperheight {\blank[force,3cm] \midaligned{\pagenumber\ =96 \lastpagenumber} \vfill}] \setupbackgrounds[page][background=3D{foreground,pagenumber}] \starttext ... \stoptext Wolfgang ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________