* Page Break Events
@ 2009-07-01 15:01 Andreas Schneider
2009-07-01 15:16 ` luigi scarso
2009-07-01 16:14 ` Wolfgang Schuster
0 siblings, 2 replies; 5+ messages in thread
From: Andreas Schneider @ 2009-07-01 15:01 UTC (permalink / raw)
To: ntg-context
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.
Thanks in advance!
Andreas.
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Page Break Events
2009-07-01 15:01 Page Break Events Andreas Schneider
@ 2009-07-01 15:16 ` luigi scarso
2009-07-01 16:14 ` Wolfgang Schuster
1 sibling, 0 replies; 5+ messages in thread
From: luigi scarso @ 2009-07-01 15:16 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 622 bytes --]
On Wed, Jul 1, 2009 at 5:01 PM, Andreas Schneider <aksdb@gmx.de> wrote:
> 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.
>
Did you seen into
page-ini.mkii ?
--
luigi
[-- Attachment #1.2: Type: text/html, Size: 1086 bytes --]
[-- Attachment #2: Type: text/plain, Size: 487 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Page Break Events
2009-07-01 15:01 Page Break Events Andreas Schneider
2009-07-01 15:16 ` luigi scarso
@ 2009-07-01 16:14 ` Wolfgang Schuster
2009-07-01 18:29 ` Andreas Schneider
1 sibling, 1 reply; 5+ messages in thread
From: Wolfgang Schuster @ 2009-07-01 16:14 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Page Break Events
2009-07-01 16:14 ` Wolfgang Schuster
@ 2009-07-01 18:29 ` Andreas Schneider
2009-07-01 18:41 ` Hans Hagen
0 siblings, 1 reply; 5+ messages in thread
From: Andreas Schneider @ 2009-07-01 18:29 UTC (permalink / raw)
To: ntg-context
On Wed, 1 Jul 2009 18:14:13 +0200
Wolfgang Schuster <schuster.wolfgang@googlemail.com> wrote:
> \appendtoks
> \resetcounter{mycounter}%
> %\global\mycount=0
> \to\everyaftershipout
>
> Wolfgang
Fantastic! That is exactly, what I was looking for.
Thank you very much!
Andreas.
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Page Break Events
2009-07-01 18:29 ` Andreas Schneider
@ 2009-07-01 18:41 ` Hans Hagen
0 siblings, 0 replies; 5+ messages in thread
From: Hans Hagen @ 2009-07-01 18:41 UTC (permalink / raw)
To: mailing list for ConTeXt users
Andreas Schneider wrote:
> On Wed, 1 Jul 2009 18:14:13 +0200
> Wolfgang Schuster <schuster.wolfgang@googlemail.com> wrote:
>
>> \appendtoks
>> \resetcounter{mycounter}%
>> %\global\mycount=0
>> \to\everyaftershipout
>>
>> Wolfgang
>
> Fantastic! That is exactly, what I was looking for.
you can also try to set the counter's way to 'way=page' which will
number per page (within some constraints)
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2009-07-01 18:41 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-01 15:01 Page Break Events Andreas Schneider
2009-07-01 15:16 ` luigi scarso
2009-07-01 16:14 ` Wolfgang Schuster
2009-07-01 18:29 ` Andreas Schneider
2009-07-01 18:41 ` Hans Hagen
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).