[NTG-context] Grid and footnotes [repost]

Hans Hagen pragma at wxs.nl
Tue Mar 13 18:28:37 CET 2007


Oliver Buerschaper wrote:
> Hi all,
>
> I'd like to bring this issue up again because I didn't get any  
> replies about two weeks ago (also I'm getting closer to handing  
> things in to the printhouse) ... so comments, ideas, suggestions,  
> solutions etc. very welcome ;-)
>
>
>
> Consider the following:
>
> ---
>
> \setuplayout
> 	[lines=41,
> 	 grid=no]
>
> \starttext
>
> %\showframe[text]
> \showgrid
>
> \dorecurse{2}{\input tufte\footnote{This is some text} \par}
>
> \section{Test}
>
> \dorecurse{2}{\input tufte\footnote{This is some text} \par}
>
> \stoptext
>
> ---
>
> As long as the grid is turned off, the footnote block perfectly
> aligns with the bodytext frame. However, turn the grid on and the
> footnote block suddenly jumps about a line downwards. What's going on
> here?
>   

in core-one: change the getnoflines call into

   \ifbottomnotes
     \ifgridsnapping
\ifcase\layoutlines % todo: make macro of this
    \getrawnoflines\textheight
\else
    \noflines\layoutlines
\fi
%        \getnoflines\textheight

and remake the format 

usual rounding errors mess 

Hans 


-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------



More information about the ntg-context mailing list