Re: [NTG-context] Wrong float numbering with default=top

2012-12-19 Thread Marco Patzer
On 2012–12–19 Hans Hagen wrote: this kind of messy stuff needs some time to get right (apart from messing up de code) you cna try to patch this in strc-ref.lua This seems to fix it. Thanks for the quick patch, Hans. Marco signature.asc Description: Digital signature

Re: [NTG-context] Wrong float numbering with default=top

2012-12-18 Thread Marco Patzer
On 2012–12–08 Marco Patzer wrote: Thanks. It does not break anything in the final document and all numbers are correct. Referring to the figures is messed up: \useMPlibrary [dum] \setupfloat [figure] [default=top] \ctxlua{structures.lists.autoreorder = true} \starttext \input knuth

Re: [NTG-context] Wrong float numbering with default=top

2012-12-18 Thread Hans Hagen
On 12/18/2012 6:13 PM, Marco Patzer wrote: On 2012–12–08 Marco Patzer wrote: Thanks. It does not break anything in the final document and all numbers are correct. Referring to the figures is messed up: \useMPlibrary [dum] \setupfloat [figure] [default=top]

Re: [NTG-context] Wrong float numbering with default=top

2012-12-08 Thread Marco Patzer
On 2012–12–06 Hans Hagen wrote: New defined floats are still wrongly enumerated. Is there a workaround for this? adapted Thanks. It does not break anything in the final document and all numbers are correct. Marco

Re: [NTG-context] Wrong float numbering with default=top

2012-12-08 Thread Hans Hagen
On 12/8/2012 3:34 PM, Marco Patzer wrote: On 2012–12–06 Hans Hagen wrote: New defined floats are still wrongly enumerated. Is there a workaround for this? adapted Thanks. It does not break anything in the final document and all numbers are correct. ok, if it keeps working, remind me in

Re: [NTG-context] Wrong float numbering with default=top

2012-12-06 Thread Marco Patzer
On 2012-12-04, Marco Patzer wrote: 2012-12-04 Hans Hagen: Hi Hans, 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

Re: [NTG-context] Wrong float numbering with default=top

2012-12-06 Thread Hans Hagen
On 12/6/2012 12:43 PM, Marco Patzer wrote: On 2012-12-04, Marco Patzer wrote: 2012-12-04 Hans Hagen: Hi Hans, 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 =

[NTG-context] Wrong float numbering with default=top

2012-12-04 Thread Marco Patzer
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

Re: [NTG-context] Wrong float numbering with default=top

2012-12-04 Thread Hans Hagen
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

Re: [NTG-context] Wrong float numbering with default=top

2012-12-04 Thread Marco Patzer
2012-12-04 Hans Hagen: Hi Hans, 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