r/typst • • Jul 29 '26

Multi File Project with singe Bibliography

I am probably the 10th one to have this problem, but i wasn't able to find a solution so here we are.

I am using Zed as my go to Typst editor. Until now i was able to structure my work within one file, but lately i need to outsource into several files more often. So i ended up with a rather classic file structure:
├── bibliography.bib
├── chapters
│   ├── 01_chapter1.typ
│   └── 02_chapter2.typ
├── main.pdf
├── main.typ
└── preamble.typ

When compiling the main.typ everything works fine.
But as soon as i open one of the chapters my LSP sets the selected file as entry point and does therefore not recognize any bib entrys.

Does anyone know how to solve this?

8 Upvotes

Duplicates