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 added layer on top
of testpage!
At least the test is if X lines left on page or still fit on page!
I also have a question. Are the commands setuppagechecker sothat
\definepagechecker[whatever]
\setuppagechecker[whatever]
[lines=35,
voffset=10pt,
before={\vfill\wordright{(see next page)}\par},
after=\noindentation]
and also
\checkpage [lines=35,
voffset=10pt,
before={\vfill\wordright{(see next page)}\par},
after=\noindentation]
Question: what is the voffset used for? Line height? If so then a better name for this
would be nice, too!
regards
Keith.
Am 30.01.2014 um 22:23 schrieb Hans Hagen
new in beta .... please wikify ...
\definepagechecker [whatever] [lines=35, voffset=10pt, before={\vfill\wordright{(see next page)}\par}, after=\noindentation]
\setupindenting[yes,9pt,first]
\starttext \noindentation \input knuth\par \input knuth\par \noindentation \input knuth\par \checkpage[whatever] \input knuth\par \input knuth\par \stoptext
... i assume that others (read: Wolfgang) will check if the old testpage is compatible -)
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 ___________________________________________________________________________________