ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Grid and footnotes [repost]
@ 2007-03-13  7:39 Oliver Buerschaper
  2007-03-13 17:28 ` Hans Hagen
  0 siblings, 1 reply; 5+ messages in thread
From: Oliver Buerschaper @ 2007-03-13  7:39 UTC (permalink / raw)
  To: mailing ConTeXt users list for

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?

Best wishes,
Oliver

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Grid and footnotes [repost]
  2007-03-13  7:39 Grid and footnotes [repost] Oliver Buerschaper
@ 2007-03-13 17:28 ` Hans Hagen
  2007-03-13 18:59   ` Oliver Buerschaper
  2007-03-13 22:37   ` Oliver Buerschaper
  0 siblings, 2 replies; 5+ messages in thread
From: Hans Hagen @ 2007-03-13 17:28 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
-----------------------------------------------------------------

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Grid and footnotes [repost]
  2007-03-13 17:28 ` Hans Hagen
@ 2007-03-13 18:59   ` Oliver Buerschaper
  2007-03-13 20:12     ` Willi Egger
  2007-03-13 22:37   ` Oliver Buerschaper
  1 sibling, 1 reply; 5+ messages in thread
From: Oliver Buerschaper @ 2007-03-13 18:59 UTC (permalink / raw)
  To: mailing list for ConTeXt users

>> 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

I'm afraid I can't find no file core-one.tex on my machine ... it  
seems that there's also none at ConTeXt live :-( What to do?

Oliver

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Grid and footnotes [repost]
  2007-03-13 18:59   ` Oliver Buerschaper
@ 2007-03-13 20:12     ` Willi Egger
  0 siblings, 0 replies; 5+ messages in thread
From: Willi Egger @ 2007-03-13 20:12 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi Oliver,

the file is called page-one.tex


Willi

On Mar 13, 2007, at 7:59 PM, Oliver Buerschaper wrote:

>>> 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
>
> I'm afraid I can't find no file core-one.tex on my machine ... it
> seems that there's also none at ConTeXt live :-( What to do?
>
> Oliver
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context

Willi Egger
w.egger@boede.nl

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Grid and footnotes [repost]
  2007-03-13 17:28 ` Hans Hagen
  2007-03-13 18:59   ` Oliver Buerschaper
@ 2007-03-13 22:37   ` Oliver Buerschaper
  1 sibling, 0 replies; 5+ messages in thread
From: Oliver Buerschaper @ 2007-03-13 22:37 UTC (permalink / raw)
  To: mailing list for ConTeXt users

>> 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

Following Willi's hint I patched the right file and ... it works like  
a charm! Thanks so much! Now there's just the linespacing thing left ;-)

Oliver

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-03-13 22:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-13  7:39 Grid and footnotes [repost] Oliver Buerschaper
2007-03-13 17:28 ` Hans Hagen
2007-03-13 18:59   ` Oliver Buerschaper
2007-03-13 20:12     ` Willi Egger
2007-03-13 22:37   ` Oliver Buerschaper

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).