From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Page Break Events
Date: Wed, 1 Jul 2009 18:14:13 +0200 [thread overview]
Message-ID: <868BF944-02FC-4004-A2B1-3284951CDBC8@gmail.com> (raw)
In-Reply-To: <20090701170116.36af952c@netmaster>
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
___________________________________________________________________________________
next prev parent reply other threads:[~2009-07-01 16:14 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-01 15:01 Andreas Schneider
2009-07-01 15:16 ` luigi scarso
2009-07-01 16:14 ` Wolfgang Schuster [this message]
2009-07-01 18:29 ` Andreas Schneider
2009-07-01 18:41 ` Hans Hagen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=868BF944-02FC-4004-A2B1-3284951CDBC8@gmail.com \
--to=schuster.wolfgang@googlemail.com \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).