Crazy <$n:figure> numbering

Hey guys,

I was wondering if anyone knew how the autonumbering <$n:figure:…> works. My understanding is that each time the <$n:figure:…> tag is met, n = n + 1, for sequential numbering.

However, I’m getting a strange numbering sequence.
I get:
Figure 1 - check
Figure 2 - check
Figure 9 - whaaa?
Figure 4
Figure 5
Figure 6
Figure 7
Figure 11
Figure 3

I’ve checked to see if figures are referenced more than once, but this is definitely the order that they appear in the generated PDF.

What gives??

Could you please send us a sample project showing the issue? You’re not using forward references anywhere, are you (<$n#figure:…)?