Pagination problem with an intermezzo containing a footnote
\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/
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
After installing Minimals apparently successfully on a Windows Vista system, I got the following messages when executing context hello: MTXrun | forcing cache reload MTXrun | resolvers: loading configuration file 'C:/Context/tex/texmf/web2c/texmfcnf.lua' MTXrun | resolvers MTXrun | resolvers MTXrun | resolvers MTXrun | the resolver databases are not present or outdated MTXrun | resolvers: using suffix based filetype 'lua' MTXrun | resolvers: using suffix based filetype 'lua' MTXrun | resolvers: remembering file 'mtx-context.lua' MTXrun | resolvers: using suffix based filetype 'lua' MTXrun | unknown script 'context.lua' or 'mtx-context.lua' The directory name, Context, is not longer than eight characters and has no embedded spaces, so that should not be a problem. Executing texexec hello works fine. However, I want to use MKIV not MKII. BTW, I chose the current option to get a stable version. What could be the problem? Tom Benjey 717-258-9733 voice 717-243-0074 fax blog: www.TomBenjey.com
participants (3)
-
mathew
-
Tom
-
Wolfgang Schuster