Why is "Alphanumeric" not suitable for bibliographies?

Hi everyone, I just found out that the citation style “Alphanumeric” does not seem to work in the following case:

#bibliography("refs.bib", style: "alphanumeric")

But it seems to work for individual citations like this:

#cite(<some-ref>, style:"alphanumeric")

Why does it not work for entire bibliographies but only for individual citations?
How can I have a bibliography in “alphanumeric” style?

(post deleted by author)

Hello @niko, the “alphanumeric” style is a citation style (CSL file) only (see hayagriva/styles/alphanumeric.csl at main · typst/hayagriva · GitHub).

It is confusing because on the docs because the style parameter uses the same list for both bibliography and cite.

If you want an alphanumeric citation style, set it using set cite(style: "alphanumeric"). However, it is always best practice to use a CSL style that provides both citation and bibliography instructions. The default style for bibliography is ieee.

This issue is related: Some CSL styles are not applicable to `bibliography` · Issue #2528 · typst/typst · GitHub

3 Likes

Thanks for the information. This actually achieved the output that I was looking for (even though it seems a bit shady).