Re: [NTG-context] Testpage with extras

2014-02-01 Thread Keith J. Schultz
Hi Hans, how about the \ifleftonpage, or something like that? Just trying to have the name of the command more literate. Of course if the conditional part is to be expanded to something more elaborate then pagechecker would be fine! regards Keith. Am 31.01.2014 um 11:18 schrieb Hans

Re: [NTG-context] Testpage with extras

2014-02-01 Thread Hans Hagen
On 2/1/2014 10:15 AM, Keith J. Schultz wrote: Hi Hans, how about the \ifleftonpage, or something like that? \if is reserved for 'real' ifs - Hans Hagen | PRAGMA ADE

Re: [NTG-context] Testpage with extras

2014-01-31 Thread Keith J. Schultz
Hi Hans, Personally, I find the names used sub-optimal! I would think something like conditionalbreak or conditionalpagebreak would be better and verbose. Other names could be ifpagelength, ifpagelengthstill, leftonpage, or something similar. I assume you have implemented checkpage as an

Re: [NTG-context] Testpage with extras

2014-01-31 Thread Hans Hagen
On 1/31/2014 10:46 AM, Keith J. Schultz wrote: Personally, I find the names used sub-optimal! we had testpage and that one stays anyway and checkpage is close to that (overloading testpage with a new syntax is messy) I would think something like conditionalbreak or conditionalpagebreak

[NTG-context] Testpage with extras

2014-01-30 Thread H. Özoguz
Hi there, I asked a similar question before, but I try it again (in a bit different way): The command \testpage[n] Paragraph sets the next paragraph on the next page, if there are less than n lines left on the current page. I use this command very often, but need it with some extension: If

Re: [NTG-context] Testpage with extras

2014-01-30 Thread Hans Hagen
On 1/30/2014 10:37 AM, H. Özoguz wrote: Hi there, I asked a similar question before, but I try it again (in a bit different way): The command \testpage[n] Paragraph sets the next paragraph on the next page, if there are less than n lines left on the current page. I use this command very often,

Re: [NTG-context] Testpage with extras

2014-01-30 Thread H. Özoguz
use case needed Here two cases to compare: 1. \setupindenting[yes, 9pt, first] \starttext \noindentation\input knuth\\ \input knuth\blank \noindentation \input knuth \testpage[35]\noindentation\input knuth \stoptext 2. \setupindenting[yes, 9pt, first] \starttext \noindentation\input knuth\\

Re: [NTG-context] Testpage with extras

2014-01-30 Thread Hans Hagen
On 1/30/2014 12:34 PM, H. Özoguz wrote: use case needed Here two cases to compare: 1. \setupindenting[yes, 9pt, first] \starttext \noindentation\input knuth\\ \input knuth\blank \noindentation \input knuth \testpage[35]\noindentation\input knuth \stoptext 2. \setupindenting[yes, 9pt,