typst / hayagriva

Rusty bibliography management.
Apache License 2.0
290 stars 44 forks source link

Wrong CSL styling / formatting #107

Open ludwig-austermann opened 7 months ago

ludwig-austermann commented 7 months ago

Description

I noticed, that many features in CSL do not seem to work. For instance, when loading american society for microbiology CSL, then

(I checked the identical csl file in typst as well as in zotero style preview)

Reproduction URL

No response

Operating system

Web app

Typst version

Drodt commented 7 months ago

Could you provide example .bib/.yml files where this occurs and, ideally, some images of the expected and actual output? That would make fixing it a lot easier.

Also, this issue may be moved to typst/hayagriva.

DerDrodt commented 7 months ago

I fixed the layout affixes. If you have time, provide images and I can have a look.

ludwig-austermann commented 6 months ago

Ok sure, using the mentioned csl, I obtain with

@article{lastname_test_2023,
    title = {Test Title},
    volume = {1},
    pages = {123},
    journaltitle = {{TJor}},
    author = {{LastName}, First Second Third},
    date = {2023-12-19},
}

using zotero grafik whereas typst yields grafik

I think the last point was my mistake, though. I did not know that bib(la)tex does not support short forms.