On 31-10-2011 13:57, Stefan Müller wrote:
Hi list!

In my document I have some margin notes that appear right before a page
break and so end up in the bottom margin, see the following example.

\starttext
\dorecurse{4}{\input knuth}
\blank[2*line]

\inmargin{This note ends up in the bottom margin}
%\margintext{This note ends up in the bottom margin}
\input tufte
\stoptext

Is it possible to automatically move the margin note in those cases to
the next page? I had a look at the manual where the issue is addressed.
As I understood it "\margintext{...}" should be able to handle this, but
it did not change anything in my example. In the garden I found
"\setupinmargin[stack=yes]" but this didn't help either.

This seems not to hard, but I can't find a way to fix it...

it's not supported in the current code but the next beta will have :

starttext

\dorecurse{4}{\input knuth} \blank[2*line]

\dorecurse{3}{\inmargin[stack=yes]{note}} \input tufte

\page

\dorecurse{4}{\input knuth} \blank[2*line]

\dorecurse{3}{\inmargin[stack=yes,bottomspace=10cm]{note}} \input tufte

\stoptext

with bottomspace one can set the threshold

Hans

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
    tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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