ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* test for new page
@ 2015-04-12  8:42 Alan BRASLAU
  2015-04-12  9:39 ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: Alan BRASLAU @ 2015-04-12  8:42 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Can someone indicate how one can easily test for a new page in a list
environment (or, indeed, anywhere else)?

In one implementation of a listing, repeated sequential items or
elements of items are suppressed, but I would like to repeat them when
they occur at the top of a new page. I imagine that there could be an
easy test for a new page or the text line number.

Thanks, in advance, for any hints.

Alan
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: test for new page
  2015-04-12  8:42 test for new page Alan BRASLAU
@ 2015-04-12  9:39 ` Hans Hagen
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2015-04-12  9:39 UTC (permalink / raw)
  To: ntg-context

On 4/12/2015 10:42 AM, Alan BRASLAU wrote:
> Can someone indicate how one can easily test for a new page in a list
> environment (or, indeed, anywhere else)?
>
> In one implementation of a listing, repeated sequential items or
> elements of items are suppressed, but I would like to repeat them when
> they occur at the top of a new page. I imagine that there could be an
> easy test for a new page or the text line number.

sometimes this info is available in the low level data so it depends 
where you use it for

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-04-12  9:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-12  8:42 test for new page Alan BRASLAU
2015-04-12  9:39 ` 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).