![](https://secure.gravatar.com/avatar/6fd8b55e20aa2c2e7c7b79ed6ca9ede5.jpg?s=120&d=mm&r=g)
Dear all, I'm having a problem with unwanted page breaks using ConTeXt. Imagine a note environment that is separated from normal text by horizontal rules: -------------------------- Note - Notice that this text is embedded in... -------------------------- The problem however is that ConTeXt sometimes breaks the page after the first rule or just before the second, which, as you can image, is pretty ugly. I have defined a command to avoid this: \def\MyHR{nobreak\hairline\nobreak } The tex file looks like this: \MyHR{} {\bf{Note --}} Notice that this text is embedded in... \MyHR{} However, this does not work. The background is that I am using a parser to translate MediaWiki markup to PDF using ConTeXt. Any help would be appreciated. Thanks in advance. Martin Becker