[NTG-context] Footnotes in margin?

Hans Hagen pragma at wxs.nl
Wed Aug 18 21:39:12 CEST 2004


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




More information about the ntg-context mailing list