ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Elias Oltmanns <eo@nebensachen.de>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Wikifying: footnotes in margin - two questions
Date: Thu, 23 Sep 2010 18:31:53 +0200	[thread overview]
Message-ID: <871v8kctfq.fsf@denkblock.local> (raw)

Hi all,

when Hans introduced the criterium option to \setupnote in recent betas
of MkIV, he asked me to wikify the problem of typesetting footnotes in
the margin in order to demonstrate the usage of that option. There are,
however, two questions I'd like to settle first. For one thing, the new
algorithm is still error prone as I can provide examples where it fails.
What is the preferred way to point out such a problem (in the wiki or
whereever), so it will be delt with eventually? Secondly, can someone
please explain to me why the example below produces so strikingly
different results when processed with MkII or MkIV? In particular, I'd
like to know why the footnote numbers are placed differently and, unless
this is due to a bug, how to mimic the MkII behaviour in MkIV.

Thanks in advance,

Elias


\setuplayout[backspace=6cm,width=middle,rightmarginwidth=4cm,
  rightmargindistance=5mm]

\doifelse{MKIV}{\contextmark}{
  \setupnote[footnote][location=text,criterium=page,
    before=,rule=off]}{
  \setupnote[footnote][factor=0,before=,rule=off,
    width=\rightmarginwidth]}

\setuptexttexts[margin][][
  \vbox to \textheight {\vfill\placenotes[footnote]}]

\starttext

\showframe

\dorecurse{12}{A little more test\footnote{Note the alignment of
    consecutive lines.} text in order to achieve a certain filling of
  the page. }

\stoptext 
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


                 reply	other threads:[~2010-09-23 16:31 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=871v8kctfq.fsf@denkblock.local \
    --to=eo@nebensachen.de \
    --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).