Document with multiple bibliography files - how do I clear it?

I have a document where I wish to display multiple separate bibliographies. Is there a way to load in a bibliography, cite some references, list the bibliography and then clear it from the document to then later load in a new bibliography file?

Context:
I am creating a grant application, where on one page (my resume), I wish to list my personal publications. I have my personal publications in a separate BibLaTeX .bib file and then use #bibliography("personal_bibliography.bib", title: none, full: true).

Then on another page (my cover letter), I wish to cite some other publications and list them in a bibliography at the end of that page. Naturally, I don’t want these publications to appear on my resume as if they are my own publications.

I hope the question makes sense. Thanks in advance.

I think your best bet would be to try this

You can also take a look at this thread, with multiple solutions Multiple bibliographies · Issue #1097 · typst/typst · GitHub

1 Like

Just rediscovered this post while doing some moderation. For anyone else finding this: I have created a package for multiple bibliographies, you can read more about it here:

As far as I can tell, among the main differences to biblyst are:

  • Alexandria is on Universe
  • biblyst lets you define bibliography styles in Typst, Alexandria lets you use custom CSL styles and those built into Hayagriva (~those built into Typst, modulo version differences)
  • Alexandria also works with bib files, not just Hayagriva YAML
  • biblyst uses bibliography() and regular citation keys, Alexandria uses bibliographyx() and prefixed citation keys.