[NTG-context] test for new page
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 ___
Re: [NTG-context] test for new page
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 ___