forked from pencelheimer/typst_nure_template
fix image and table count
This commit is contained in:
@ -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 = ()
|
||||
|
||||
|
Reference in New Issue
Block a user