On 8/10/2020 11:02 PM, Willi Egger wrote:
Hello!
humble, in another book I am trying to improve the list of contents. On
different places occur page breaks which should be addressed and corrected.
I tried to use the method \checkpage[][], however my attempts are not
succesful.
For your reference I include a screenshot of the problematic pagebreak.
\definepagechecker
[willi]
[method=1,before=,after=,inbetween={\page}]
\setuplist
[chapter]
[prefix=no,
sectionnumber=no,
headnumber=no,
alternative=command,
command=\Mychaptercommand,
inbetween={\checkpage[willi][lines=4]}
Thank you for advice!
Kind regards
Willi
]
Here's an example of an actually already quite old mechanism ..
\showinjector
\setinjector[register][3][\column]
\setinjector[list] [2][{\blank[3*big]}]
\starttext
\placelist[section][criterium=text]
\blank[3*big]
\placeregister[index][criterium=text]
\page
\startsection[title=Alpha] first \index{first} \stopsection
\startsection[title=Beta] second \index{second} \stopsection
\startsection[title=Gamma] third \index{third} \stopsection
\startsection[title=Delta] fourth \index{fourth} \stopsection
\stoptext
.. so you now have something to wikify ..
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________