[NTG-context] Re: Footnotes in margin? (HELP!)

Willi Egger w.egger at boede.nl
Wed Aug 25 21:42:06 CEST 2004


Hi Steffen,

I tried your code and indeed I am getting also half-empty pages.

I tried then the following:
I replaced the dorecurse by

\input knuth \mynote{knuth} \blank[1cm] \input ward \mynote{ward} 
\blank[1cm]
\input knuth \mynote{knuth} \blank[1cm] \input ward \mynote{ward} 
\blank[1cm]
\input knuth \mynote{knuth} \blank[1cm] \input ward \mynote{ward} 
\blank[1cm]
\input knuth \mynote{knuth} \blank[1cm] \input ward \mynote{ward} \page

This fills pages and the \mynotes are placed in the margin.

However I played also with text in one of the \mynotes. As long as the 
text is short i.e. not longer than one width of the margin everything is 
o.k. Once the text becomes longer, the page on which the \mynote is 
placed shortens increasing with the length of the \mynote.

So there must be a reason which is beyond my knowledge for this behaviour.

Willi

Steffen Wolfrum wrote:

> Hans,
> 
> I don't know what crazy stuff Idris is using this footnotes for,
> but for my case it went absolutely horrible: Almost every page gets half empty!!
> 
> It looks like the footnotes are just moved to the margin - leaving empty space, without the body text comes flush bottom again. I'm sure my publisher won't be amused about all this empty paper...
> 
> It tried to send a minimal example and changed just the text between \starttext and \stoptext.
> 
> Maybe there is something that could be changed in order to get the main text in flush bottom shape again AND keep the corresponding footnotes in the margin?
> 
> 
> Steffen
> (Sorry Hans, but I tried for three hours now to understand and change the source without any chance...)
> 
> 
> 
> \showframe
> 
> \definenote[mynote][way=bypage,location=text,width=\marginwidth,rule=,before=]
> 
> \setuplayout[backspace=5cm,margin=3cm,margindistance=.5cm,width=middle]
> 
> \setuptexttexts
>   [margin]
>   [\vbox to \textheight{\placenotes[mynote]\vfill}]
>   []
> 
> \starttext
> 
> \dorecurse{3}{\input knuth \par \input tufte \mynote{\input knuth \par}\par}
> 
> \stoptext
> 
> 
> 
> 
> 
> Hans Hagen <pragma at wxs.nl> wrote:
> 
> 
>>Steffen Wolfrum wrote:
>>
>>
>>>does ConTeXt provide a way to place footnote (not margin notes!) per page - but not below the body text?
>>>A suitable place could be the margin. But there is no "\setupfootnotes[location=inmargin]"
>>>and somthing like "\inmargin{\footnote{}The footnote's text.}" doesn't flow.
>>>
>>>Does anybody know a working solution?
>>> 
>>>
>>
>>Idris should know since i made him definable footnotes -) 
>>
>>\showframe
>>
>>\definenote[mynote][way=bypage,location=text,width=\marginwidth,rule=,before=]
>>
>>\setuplayout[backspace=5cm,margin=3cm,margindistance=.5cm,width=middle]
>>
>>\setuptexttexts
>>  [margin]
>>  [\vbox to \textheight{\placenotes[mynote]\vfill}]
>>  []
>>
>>\starttext
>>
>>test \mynote{one} test \mynote{two} \page
>>test \mynote{one} test \mynote{two} \page
>>test \mynote{one} test \mynote{two} \page
>>test \mynote{one} test \mynote{two} \page
>>
>>\stoptext
>>
>>or a bit more modern (structured, readable, replacable): 
>>
>>\setuptexttexts
>>  [margin]
>>  [\setups{flushmynotes}]
>>  []
>>
>>\startsetups flushmynotes
>>
>>  \vbox to \textheight{\placenotes[mynote]\vfill}
>>
>>\stopsetups
>>
>>So, it's up to you to feed this in the wiki -) 
>>
>>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
>>-----------------------------------------------------------------
>>
>>
>>_______________________________________________
>>ntg-context mailing list
>>ntg-context at ntg.nl
>>http://www.ntg.nl/mailman/listinfo/ntg-context
> 
> _______________________________________________
> ntg-context mailing list
> ntg-context at ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context


More information about the ntg-context mailing list