typst / typst

A new markup-based typesetting system that is powerful and easy to learn.
https://typst.app
Apache License 2.0
35.41k stars 942 forks source link

Some CSL styles are not applicable to `bibliography` #2528

Open daskol opened 1 year ago

daskol commented 1 year ago

Description

I was experimenting with the latest version (v0.9.0) of typst and set style argument for bibliography function like below.

#bibliography(bibliography-file, style: "alphanumeric")

Compiler produced "CSL style is not suitable for bibliographies" while documentation says that it is possible use the same set of styles in bibliography function.

Reproduction URL

No response

Operating system

No response

Typst version

laurmaedje commented 1 year ago

Yes, cite and bibliography both use the same list although a few select styles are not applicable to bibliographies.

daskol commented 1 year ago

I see. In other words, the list of available options for style is inaccurate.

laurmaedje commented 1 year ago

Yes. But only very few ones aren't suitable for bibliographies.