How can I group bibliography entries into books and articles?

I want to group my bibliographies. For example:

I have References with H1. Under the References I want to group Books in (H2 named Books). And then group Articles in (H2 named Articles). How can I get it?

You should be able to use Alexandria for this – disclaimer: I’m the author.

Since this is basically the main use case, I’ll just refer to the manual, but feel free to follow up here if you have problems with it.

3 Likes

Thank you for the package suggestion. I’m currently looking for a solution that doesn’t rely on external packages, but I truly appreciate your input.

Typst does not support multiple bibliographies (out of the box).

So right now there is no way to solve this problem without any external package, if you do not want to implement the package’s functionality on your own.