Hi Hans,

\def\dopreventbreakafterheadauto % used after \c!before
- {\ifconditonal\autoheadbreak
+ {\ifconditional\autoheadbreak
      \vspacing[\v!samepage-\currentheadlevel]%
   \fi}

\def\dopreventbreakafterheadspec#1% see enumerations etc
- {\ifconditonal\autoheadbreak
+ {\ifconditional\autoheadbreak
      \vspacing[\v!samepage-\the\numexpr\currentheadlevel+1\relax]% todo #1
   \fi}

Wolfgang

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

Reply via email to