[NTG-context] how to keep inmargin texts above the base of the page

Dinh Tran culturedtech at gmail.com
Sun Feb 27 17:18:00 CET 2011


Hello.

If I have a lot of inmargin or margintext, they will extend into the base of
the page (defined by bottomspace).  Is there a way to remedy this by some
setup?  This was compiled with xetex option b/c inmargin stack doesn't fully
work in mkiv.

Thanks,
Dinh

------
\setuppapersize[letter][letter]

% margins etc.
\setuplayout[location=middle,
  topspace=1.87cm,
  header=0cm,
  width=middle,
  cutspace=3.1cm, %From right edge of paper to right of text area
  height=fit,
  backspace=6.1cm, %from left edge of paper to left of text area
  rightmargin=1.5cm,
  leftmargin=3.7cm,
  leftmargindistance=1cm, %from right of leftmargin to left of textbody
  bottomspace=1.62cm,
  footer=1.49cm,
%  grid=yes, % to align text on a grid.  If this is on, setupwhitespace and
setupinterlinespace doesn't work.
  setup=strict]

\showframe

\setupinmargin[stack=yes]

\starttext

\dorecurse{25}{This is some text in the page.\margintext{This is text in the
margin.} \par}

\stoptext
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20110227/609c6895/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sample-inmargin_exceed_boundary.pdf
Type: application/pdf
Size: 7594 bytes
Desc: not available
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20110227/609c6895/attachment.pdf>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sample-margintext_exceed_boundary.pdf
Type: application/pdf
Size: 7567 bytes
Desc: not available
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20110227/609c6895/attachment-0001.pdf>


More information about the ntg-context mailing list