fix image and table count

This commit is contained in:
2025-02-16 21:43:16 +02:00
parent 63720d0068
commit c2fd8f6ad0

View File

@ -461,10 +461,12 @@
#context [
#let pages = counter(page).final().at(0)
#let tables = counter(figure.where(kind: table)).final().at(0)
// alternative: query(figure.where(kind: image)).len()
#let images = counter(figure.where(kind: image)).final().at(0)
#let images = query(figure.where(kind: image)).len()
#let tables = query(figure.where(kind: table)).len()
#let bibs = bib-count.final().dedup().len()
/* TODO: why this stopped working?
#let tables = counter(figure.where(kind: table)).final().at(0)
#let images = counter(figure.where(kind: image)).final().at(0)*/
#let counters = ()