Is there a way to cite TV Shows and Episodes with the MLA style?

I guess what you meant is to create a televisions.yaml file and record TV shows in it, then write the following typst code?

#let tv = cite.with(style: "television.csl") // Keep the CSL file untouched

#bibliography(
  (
    "Bibliography.yaml",
    "Bachelor Bibliography.bib",
    "televisions.yaml", // Record TV shows here
  ),
  style: "modern-language-association",
  title: [#underline[Work Cited]]
)

Explainations:

There are two ways to specify a bibliography source:

  • Put a path string to load a bibliography file from the given path.

    This is the way you’ve already done with "Bibliography.yaml" and "Bachelor Bibliography.bib"

  • Put raw bytes from which the bibliography should be decoded.

    This is the way I did with #let television = ```…```.text (assign a multi-line string to the variable) and bytes(television) (convert the variable to bytes).

    Note that the bytes function converts strings to bytes. It has nothing to do with file paths or reading files.

    (You can use the read function to read files, but that’s unnecessary in this case.)

In addition, television.csl is the bibliography style/format, not the bibliography source / TV shows. It should be used as the style parameter of bibliography or cite, not the first (positional) parameter of bibliography.

1 Like