From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/51559 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Page Break Events Date: Wed, 1 Jul 2009 18:14:13 +0200 Message-ID: <868BF944-02FC-4004-A2B1-3284951CDBC8@gmail.com> References: <20090701170116.36af952c@netmaster> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v935.3) Content-Type: text/plain; charset="us-ascii"; Format="flowed"; DelSp="yes" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1246464915 9591 80.91.229.12 (1 Jul 2009 16:15:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 1 Jul 2009 16:15:15 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Jul 01 18:15:08 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1MM2Sh-0003oZ-Qp for gctc-ntg-context-518@m.gmane.org; Wed, 01 Jul 2009 18:15:07 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 06F081FBEB; Wed, 1 Jul 2009 18:15:07 +0200 (CEST) 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 22275-02; Wed, 1 Jul 2009 18:14:27 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6D7AA1FB7F; Wed, 1 Jul 2009 18:14:27 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A4BBE1FB7F for ; Wed, 1 Jul 2009 18:14:26 +0200 (CEST) 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 21020-06 for ; Wed, 1 Jul 2009 18:14:15 +0200 (CEST) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by ronja.ntg.nl (Postfix) with ESMTP id D02991FB71 for ; Wed, 1 Jul 2009 18:14:15 +0200 (CEST) Original-Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.156]) by filter4-til.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n61GEEE8025278 for ; Wed, 1 Jul 2009 18:14:15 +0200 Original-Received: by fg-out-1718.google.com with SMTP id l27so966705fgb.8 for ; Wed, 01 Jul 2009 09:14:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=ZNt5zrQ1y8spv+TwFtqxhXx3N8PN77YK1Z10x++vi60=; b=Gyh45uA6utf3HXVuwbmPJleA9MBHIeOrT3kqq5fE1ZOGX7bOdNq5zlKVyiLk93Glqh hcXrFaf+tg5wr6uTUwBSV4V6v2mUKimeF10muTwkfUqsEyi6tNwl3iR0LxIN+vvHoifn I1/aeEXEAIsVikAGrC5w4KKEGdzHlZQko9kn0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=SGacdxdcfvmjCG86RTzLxV6AfoeI9emlMEcbMjKCuwvE+kAz3aDaa6hx6wVS/XLScf zVvTFZDCfb/a656zRYZ16p+76R457Wm0YgIMfmJNASvYhvvrRMpABSgZEXmXMTyUz3zw uci3EZcYI/xSml2XdChpKRgWSjoHgtPCm9zy8= Original-Received: by 10.86.82.15 with SMTP id f15mr4337578fgb.52.1246464854619; Wed, 01 Jul 2009 09:14:14 -0700 (PDT) Original-Received: from ?192.168.2.23? (p5B295919.dip.t-dialin.net [91.41.89.25]) by mx.google.com with ESMTPS id 12sm11599775fgg.19.2009.07.01.09.14.11 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 01 Jul 2009 09:14:14 -0700 (PDT) In-Reply-To: <20090701170116.36af952c@netmaster> X-Mailer: Apple Mail (2.935.3) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=72.14.220.156; 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: 253762230 - f884510ecd45 - 20090701 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.220 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 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:51559 Archived-At: Am 01.07.2009 um 17:01 schrieb Andreas Schneider: > Hello, > > since that question has probably gone by unnoticed in my other > posting, > I'll ask more directly here: > > How can I react on page breaks (in MkII)? More specifcally: I need to > reset a variable whenever a pagebreak occurs (atleast when > automatic page breaks occur ... but it would be nice, if it also works > for manually broken pages). > > The only thing that I was able to find was \insertpagebreakhandler ... > but it seems as if this can only be triggered manually with \page. \appendtoks \resetcounter{mycounter}% %\global\mycount=0 \to\everyaftershipout Wolfgang ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________