* \checkpage in the TOC
@ 2020-08-10 21:02 Willi Egger
2020-08-12 0:04 ` Hans Hagen
0 siblings, 1 reply; 3+ messages in thread
From: Willi Egger @ 2020-08-10 21:02 UTC (permalink / raw)
To: NTG-Context ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 624 bytes --]
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
]
[-- Attachment #1.2.1: Type: text/html, Size: 1900 bytes --]
[-- Attachment #1.2.2: Contents-beekeepersmanual.png --]
[-- Type: image/png, Size: 86035 bytes --]
[-- Attachment #2: Type: text/plain, Size: 493 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: \checkpage in the TOC
2020-08-10 21:02 \checkpage in the TOC Willi Egger
@ 2020-08-12 0:04 ` Hans Hagen
2020-08-12 13:16 ` Willi Egger
0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2020-08-12 0:04 UTC (permalink / raw)
To: mailing list for ConTeXt users, Willi Egger
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: \checkpage in the TOC
2020-08-12 0:04 ` Hans Hagen
@ 2020-08-12 13:16 ` Willi Egger
0 siblings, 0 replies; 3+ messages in thread
From: Willi Egger @ 2020-08-12 13:16 UTC (permalink / raw)
To: NTG-Context ConTeXt users
Beste Hans!
thank you so much for your solution!
After plying I will remember your last statement in your answer :-)
Kind regards
Willi
> On 12 Aug 2020, at 02:04, Hans Hagen <j.hagen@xs4all.nl> wrote:
>
> 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
> ___________________________________________________________________________________
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-08-12 13:16 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-10 21:02 \checkpage in the TOC Willi Egger
2020-08-12 0:04 ` Hans Hagen
2020-08-12 13:16 ` Willi Egger
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).