Re: [NTG-context] Pagination problem with an intermezzo containing a footnote

2011-03-12 Thread Wolfgang Schuster

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
___


[NTG-context] Pagination problem with an intermezzo containing a footnote

2011-03-11 Thread 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


mathew
--
URL:http://www.pobox.com/~meta/
___
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
___