APA reference - why is the "unpublished thesis" tag missing?

@masterthesis and @phdthesis reference entries are incomplete

I am using @masterthesis and @phdthesis bib entries with notes field stating note = {[Unpublished doctoral dissertation]} or note = {[Unpublished master's thesis]}

The APA guide states that format should be Lastname, I. (YYYY). Title [Unpublished note]. University. Source

However, the ones rendered in the typst doc has Lastname, I. (YYYY). Title only. The [Unpublished note] and University dont appear.

The snippets i use are:
Per section


#show bibliography.where(
): set par(
  justify: true,
  leading: 0.65em,
)

#show bibliography.where(
): set block(
  above: 0em,
  below: 1em,
)

#import "8_bib.typ": bib_state
#context bib_state.get()

In bibliography section


#let bib_state = state("bib_state", 
bibliography("biblio.bib", style: "apa",
title: none))

Is there anything i could have forgotten? Other reference types are complete when rendered.

Hi there @argh

In order to help us help you, could you please ensure you provide a minimum working example (MWE) that we could try to compile and then provide insight.

Since your code does not compile, mainly because of:

// Missing file
#import "8_bib.typ": bib_state
// Missing file
bibliography("biblio.bib", ...)

it is impossible to really replicate the issue. Best way to do it is to create a separate .typ file and paste all the code snippets that reproduce the problem into, ensure it compiles and then paste on the forum. The .bib file or content would also be useful.

Thanks :wink:

good day, @vmartel08 here are the sample snippets:

in main.typ

The proper citation for unpublished thesis/dissertation is "Lastname, F. M. (Year)._ Title of dissertation/thesis_ [Unpublished doctoral dissertation/master’s thesis]. Name of Institution Awarding the Degree." @Masters2010@PhD2015

#bibliography("biblio.bib", style: "apa",
title: "Refs")

in biblio.bib

@mastersthesis{Masters2010,
  title     = {Master's Thesis Title},
  author    = {LastName, Masters Author},
  school    = {University of Bergen},
  year      = {2010},
  month     = {May},
  type      = {Master's thesis},
  annote    = {[Unpublished master's thesis]}
}

@phdthesis{PhD2015,
  title     = {PhD Dissertation Title},
  author    = {LastName, Doctorate Another Author},
  school    = {Tokyo University},
  year      = {2015},
  month     = {May},
  addendum  = {[Unpublished doctoral dissertation]}
}

rendered file:

the note/addendum are missing.

thank you.

Since Typst 0.14.0 came out, as I was replying to Bibliography for phdthesis missing infos in Typst 0.14 - #3 by vmartel08 it made me remember about the current one. Similar scenario.

This now works:

#let data = bytes(```bib
  @mastersthesis{Masters2010,
    title     = {Master's Thesis Title},
    author    = {LastName, Masters Author},
    publisher = {University of Bergen},
    year      = {2010},
    month     = {May},
    type      = {Unpublished Master's thesis},
  }

  @phdthesis{PhD2015,
    title     = {PhD Dissertation Title},
    author    = {LastName, Doctorate Another Author},
    publisher = {Tokyo University},
    year      = {2015},
    month     = {May},
    type      = {Unpublished Doctoral dissertation},
  }
  ```.text,
)

Typst #sys.version //needs to be 0.14.0

@Masters2010

@PhD2015

#bibliography(data, style: "apa")

the update has indeed fixed the issue. thank you.