I appreciate your contribution; thank you. I had a problem when referencing figures with the "@" operation. I have modified "typst-orange.typ" to correct the problem:
set figure(
gap: 1.3em,
numbering: it => {
locate(loc => {
// cnt5bs
// let chapter = counter(heading.where(level: 1)).at(loc).first()
let chapter = context counter(heading.where(level: 1)).get().at(0)
box[#chapter.#it]
})
}
)
I appreciate your contribution; thank you. I had a problem when referencing figures with the "@" operation. I have modified "typst-orange.typ" to correct the problem:
Be at peace.