typst / hayagriva

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

Unpublished works #172

Open genericusername3 opened 1 month ago

genericusername3 commented 1 month ago

I want to cite something that isn't published (yet). The IEEE guide specifies a format like B. Smith, “An approach to graphs of linear forms,” unpublished. to do this. Is there already a way to do this in Hayagriva/Typst?

Apparently, BibTeX has the @unpublished reference type for this(?)

zepinglee commented 1 month ago

Manuscript should be the right entry type for that.

https://github.com/typst/hayagriva/blob/b078cc6b71b055250a067371e52ce0a5dd6e8c9c/docs/file-format.md?plain=1#L365

If the document is an preprint article, use article instead (see the following example).

https://github.com/typst/hayagriva/blob/b078cc6b71b055250a067371e52ce0a5dd6e8c9c/tests/data/basic.yml#L252-L261

genericusername3 commented 1 month ago

Right, preprint articles aren't a problem, but using manuscript doesn't add the "unpublished" note to the reference that IEEE recommends for this

zepinglee commented 1 month ago

It should be a problem with ieee.csl which doesn't have a unpublished term in its code.

https://github.com/citation-style-language/styles/blob/6dd5144f52bac3c1588d52505cafc14667b23579/ieee.csl#L440-L450