How to display missing bibliography info for phdthesis in Typst 0.14

When using this file refs.bib

@phdthesis{jd,
  TITLE = {{My Title}},
  AUTHOR = {Joe, Doe},
  SCHOOL = {{Miami University}},
  YEAR = {2025},
  TYPE = {Phd thesis}
}
@jd

#bibliography("refs.bib")

I get only

[1] D. Joe "My Title", 2005 .

where are the TYPE and SCHOOL?

Related: Some entries in thesis and report bibliography items are not shown · Issue #112 · typst/hayagriva · GitHub

From the previously posted issue:

CSL use publisher field as report’s institution or thesis’s school and hayagriva doesn’t map them correctly.

Typst 0.14 correctly shows all entries (including TYPE) except SCHOOL, which you need to replace by PUBLISHER as indicated above.

#let data = bytes(
  ```bib
  @phdthesis{jd,
    TITLE = {{My Title}},
    AUTHOR = {Joe, Doe},
    PUBLISHER = {{Miami University}},
    YEAR = {2025},
    TYPE = {Phd thesis}
  }
  ```.text,
)

@jd
Typst #sys.version
#bibliography(data)

This project shows the result using A snippet to debug bibliography entries by showing what CSL receives

2 Likes

Thanks a lot. I didn’t know the #sys.version , it makes me realize that eventhough I had 0.14 installed on my machine vscode was still using the old.
Indeed publisher makes the trick. Thanks!

1 Like

If you are using Tinymist, until the release of the 0.14 version, you can use the pre-release version of the extension. See Tinymist pre-release.

Too cool. Thanks!