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 

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to