I’m preparing a scientific publication (not periodical) in which multiple authors write articles.
What would be the best approach to compile these articles?
Requirements:
- Seperate bibliography for each article
- Common table of contents with name(s) of author(s), title and page number
- Independent heading numbering for each article
Andrew
2
Not sure how you are handling article metadata, but here is the gist of it:
#set heading(numbering: "1.1.")
#let common-table-of-contents() = {
outline(title: "Articles", target: figure.where(kind: "article"))
}
#let article-marker(author: none, title: none) = {
pagebreak(weak: true)
counter(heading).update(0)
set figure(numbering: none)
show figure: none
if type(author) == array { author = author.join(", ") }
[#figure(caption: author + " " + title, kind: "article")[]<article>]
// counter(figure).update(n => n - 1)
}
#common-table-of-contents()
#article-marker(author: "Author A", title: "Title a")
= The article of A
#article-marker(author: "Author B", title: "Title b")
= The article of B
#article-marker(author: ("Author C", "Author D"), title: "Title c")
= The article of C & D

The figure hack is just to reuse the outline. You can always create your own but that also requires some amount of code.
Does this satisfy the requirements?