On 12/4/2012 1:21 PM, Marco Patzer wrote:
Hi,
The setting
\setupfloat [figure] [default=top]
not only places the figures at the top of the page, but also messes up the float numbering (the float placement is fine). In the following example “Figure 2” comes after “Figure 3”. How to fix that?
\useMPlibrary [dum]
\setupfloat [figure] [default=top]
\starttext \input knuth
\startplacefigure \externalfigure [dummy] \stopplacefigure
\startplacefigure \externalfigure [dummy] [width=10cm, height=16cm] \stopplacefigure
\startplacefigure \externalfigure [dummy] \stopplacefigure
\stoptext
In MKII we had a mechanism that took care of that (out of line flushing of floats) but it never made it into mkiv (if only because some folks didn't like it). As an experiment I've added some trickery. But keep in mind that messing with numbers is never 100% foolproof. So, for the moment you can say \ctxlua{structures.lists.autoreorder = true} till we're sure about what level of control is needed. Beta later today. ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------