Am 04.11.2008 um 21:21 schrieb Marcin Borkowski:

> Hi,
>
> I have the following in my code:
>
> \def\doPutTitle#1{%
>  \startalignment[middle]
>    \bfb
>    \page[bigpreference]
>    \blank[2*big]
>    #1%
>    \page[no]%
>    \blank[big]%
>    \page[no]%
>  \stopalignment
>  \page[no]%
> }%
>
> Why is it still possible that I have a page break after, say,
> \doPutTitle{some title} (in MkII, in MkIV page breaks fall in  
> different
> places).  Which percentage signs and \page[no]'s are unnecessary here?

\def\doPutTitle#1%
   {\page[bigpreference]
    \vbox\bgroup
    \raggedcenter
    #1%
    \egroup
    \nobreak\blank[big]}

> Also, how to avoid a page break right before an itemization?  Adding
> [intro] seems not to work.

Example!

> And one more thing about pagebreaks: how to avoid a pagebreak right
> before a \startformula ... \stopformula?  And what is the ConTeXt  
> way of
> setting stretchable vertical glue (e.g. for \blank's, below  
> itemizations
> etc.)?

\blank[ small | medium | big | ... ]

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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to