ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Pagination problem with an intermezzo containing a footnote
Date: Sat, 12 Mar 2011 18:56:38 +0100	[thread overview]
Message-ID: <EDEBB303-7066-4292-9724-C1077BAB4FDC@gmail.com> (raw)
In-Reply-To: <AANLkTi=4V81p1o2ProNfmnf-eNQsENvJDReUVQ3U=NxM@mail.gmail.com>


Am 11.03.2011 um 20:54 schrieb mathew:

> \starttext
> 
> This is a sample document to demonstrate a possible bug. You will
> probably see a footnote below which appears before the page it's
> referenced from.
> 
> \placeintermezzo[page][block:example]{Demonstrating a bug}
> \startframedtext[width=0.8\makeupwidth]
> This is a rather dull intermezzo.\footnote{But it does at least
> demonstrate a bug.}
> \stopframedtext
> 
> \stoptext

This isn’t a bug. The problem with your footnote is that context
reads the note at page 1 where it saw the float and placed therefore
the note on page one but the float itself wasn’t placed because
context saved it and flushed it at the next page.

What you can do is to move the float first to a separate page
first and used a fixed float (force keyword) to immediately flush it. 

The saved method is to use local footnotes (you can find example
on the wiki) where the notes are placed below the float.

\starttext

This is a sample document to demonstrate a possible bug. You will
probably see a footnote below which appears before the page it's
referenced from.

\startpostponing
\placeintermezzo[force][block:example]
  {Demonstrating a bug}
  {\startframedtext[width=0.8\makeupwidth]
   This is a rather dull intermezzo.\footnote{But it does at least demonstrate a bug.}
   \stopframedtext}
\stoppostponing

\stoptext

Wolfgang

___________________________________________________________________________________
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:[~2011-03-12 17:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-11 19:54 mathew
2011-03-12 17:56 ` Wolfgang Schuster [this message]
2011-03-12 18:12   ` Minimals installation problem Tom

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=EDEBB303-7066-4292-9724-C1077BAB4FDC@gmail.com \
    --to=schuster.wolfgang@googlemail.com \
    --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).