Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion spec/book.typ
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@
} else {
rf.supplement
}
[#supplement#numbering(fig.numbering, ..counter.at(lbl))]
[#supplement #numbering(fig.numbering, ..counter.at(lbl))]
}
cross-link("/" + ch, reference: shiroa-label, link-content)
}
Expand Down Expand Up @@ -183,6 +183,11 @@
xref-include(key)
}).join()
#metadata(json("interaction_count.json").sum(default: (:)))<interaction_count>

#let chapter-index = meta_sections.position(x => x.at(0) == file) + 1
#set heading(numbering: (..args) => [#chapter-index.#numbering("1.1", ..args)])
Comment thread
erik-3milabs marked this conversation as resolved.
#counter(heading).update(0)

#body
])
}
Expand Down
1 change: 0 additions & 1 deletion spec/logup.typ
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#import "/book.typ": book-page, aside, cdsg

#show: book-page("logup")
#set heading(numbering: "1.")
#show link: underline

#show "constraint choice": link(<constraint_choices>)[constraint choice]
Expand Down
Loading