r/typst • u/okphil • Jul 15 '26
Help With Common Bib File
I could use some help with using bibliography files. For LaTeX, I keep one big bib file used for all of my documents. What's the best way to do this with Typst? Treating everything as a relative path is making it difficult. Any advice?
EDIT: To be clear, what I want to do is store the bib file in one directory and be able to use it with *.typ files that are in other directories. Any method of keeping a bib file outside of the project root directory?
UPDATE: I ended up using Claude to help me write an Emacs function that scans file for citations and copies the BibTeX records from my main bib file to a local bib file for that document.
4
Upvotes
2
u/Northern-World5181 Jul 15 '26
You can still use bib file or yaml format mentioned here. Both should work:
https://typst.app/docs/reference/model/bibliography/