hayagriva icon indicating copy to clipboard operation
hayagriva copied to clipboard

Alphanumerical citation style ignores supplement

Open lynn opened this issue 2 years ago • 2 comments

From https://github.com/typst/typst/issues/1330.

CitationStyle::citation for Alphanumeric doesn't inspect atomic.supplement inside the for atomic in parts loop.

Maybe it simply needs something like:

+           if let Some(supplement) = atomic.supplement {
+              res += ", ";
+              res += supplement;
+           }
            items.push(res);

…but maybe it's more complicated than that.

lynn avatar May 29 '23 02:05 lynn

The alphanumeric CSL style doesn't have a citation-locator, which regressed this.

laurmaedje avatar May 07 '24 14:05 laurmaedje

Hello! I'm writing my thesis with typst and I would like to have this working.

I dont know how hard is to fix this issue because I'm unfamiliar with the codebase, but if is not too complicated I would appreciate a few pointers and give it a try.

Thanks!

IEncinas10 avatar Aug 23 '24 08:08 IEncinas10