Hi Andy, On 2012-05-27 17:57, Andy Thomas wrote:
Hello,
could someone point out to me, where in the standalone installation the 'margin float placement' algorithm lives.
it depends: Floats: strc-flt.mkvi Side floats: page-sid.mkiv Margin data (as in your example): typo-mar.mkiv and their respective .lua companions. I suspect you will be interested in the function „inject()“ (part of the finalizer) in typo-mar.lua.
is there a way for margintext to 'respect' the lower border of the page and push the margintext up, pushing other margintexts upwards while doing so?
+1, I’m curious too whether this can be done. Regards Philipp
example:
\definepapersize[wissenschaft][width=170mm,height=240mm] \setuppapersize [wissenschaft]
\setuplayout [topspace=40pt, header=0pt, headerdistance=0pt, backspace=42pt, leftmargin=0pt, width=280pt, height=560pt, rightmargindistance=20pt, rightmargin=100pt, footer=0pt]
\setuppagenumbering[alternative=doublesided]
\setupmargindata [margintext] [location=outer, width=100pt, align=flushouter]
\starttext \showframe
\input tufte \input tufte \input tufte\margintext{This is too low, if there are many words in this note.}
\stoptext
Kind of hard to explain, I hope the example makes everything clear.
Andy
-- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments