On Sunday 07 December 2008 03:56:11 am Taco Hoekwater wrote:
Bart C. Wise wrote:
I created an Author's note (code below). It is designed to print out a note, skip a line, and then follow with the Author's signature. The problem I'm having is that ConTeXt will break the page just before the author's signature leaving it dangling on the next page. If I use a \vbox, that has problems when the notes need to go more than the current page. How do I fix the code below?
\definestartstop[AuthorNote][
before={\bgroup \startnarrower \switchtobodyfont[10pt] }, after={% \vskip-0.2ex
You can try adding \nobreak commands before and after the \vskip command.
I added those, but it had no effect. I also tried replacing \vskip with \blank and that had no effect either (I didn't think it would). Other thoughts? Is there a way to tell ConTeXt to treat the author's signature (the dangling line) as part of the previous paragraph? Bart