ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Conditional keep-with-next rules
@ 2014-06-27 20:33 Jan Tosovsky
  0 siblings, 0 replies; 3+ messages in thread
From: Jan Tosovsky @ 2014-06-27 20:33 UTC (permalink / raw)
  To: 'mailing list for ConTeXt users'

Dear All,

in my index I can see disturbing page breaks. 

primary-01
primary-02
   secondary-01
------- ( next page ) -----
   secondary-02
primary-03

instead of 

primary-01
------- ( next page ) -----
primary-02
   secondary-01
   secondary-02
primary-03

Is it possible to somehow define conditional keep-with-next rules?

I'd like to express:
(1) keep always the primary with the first secondary (this seems to be
implemented)
(2) keep always the first secondary with the next secondary
(3) keep always the last secondary with the previous secondary

And similarly for tertiary.

As the Index is generated, I can't see an easy way to accomplish something
like this. I hope I am wrong :-)

Thanks, Jan


___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread
[parent not found: <00a601cf9246$fd71e6a0$f855b3e0$@tosovsky@tiscali.cz>]

end of thread, other threads:[~2014-06-28  8:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-27 20:33 Conditional keep-with-next rules Jan Tosovsky
     [not found] <00a601cf9246$fd71e6a0$f855b3e0$@tosovsky@tiscali.cz>
2014-06-28  6:19 ` Jan Tosovsky
     [not found] ` <002e01cf9298$e38f3010$aaad9030$@tosovsky@email.cz>
2014-06-28  8:57   ` Hans Hagen

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).