ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Willi Egger <w.egger@boede.nl>
Subject: Re: Re: Footnotes in margin? (HELP!)
Date: Wed, 25 Aug 2004 21:42:06 +0200	[thread overview]
Message-ID: <412CEB8E.5020804@boede.nl> (raw)
In-Reply-To: <a06002001bd528f61c597@[62.134.72.246]>

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@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@ntg.nl
>>http://www.ntg.nl/mailman/listinfo/ntg-context
> 
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context

  reply	other threads:[~2004-08-25 19:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-25 19:04 Steffen Wolfrum
2004-08-25 19:42 ` Willi Egger [this message]
2004-08-25 20:40 Steffen Wolfrum
2004-08-25 21:04 ` Henning Hraban Ramm

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=412CEB8E.5020804@boede.nl \
    --to=w.egger@boede.nl \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).