How to ensure figure of kind image without caption does not affect numbering?

I try to use this:

#show figure.where(kind: image, caption: none): it => {
    counter(figure.where(kind: image)).update(v => v - 1)
    it.body
  }

But I think it maybe will make some information lost.

1 Like

Hi there @LRoInT

I would think that this is sufficient and would ensure no information lost:

#show figure.where(kind: image, caption: none): it => {
  counter(figure.where(kind: image)).update(v => v - 1)
  // it.body
  it
}
2 Likes