lierdakil / pandoc-crossref

Pandoc filter for cross-references
https://lierdakil.github.io/pandoc-crossref/
GNU General Public License v2.0
936 stars 74 forks source link

Pandoc/Pandoc-crossref changing citation order #397

Closed paul-kelleher closed 1 year ago

paul-kelleher commented 1 year ago

I've got a few citations in a piece of writing that get compiled out of order. Here's an example using Pandoc 3.1.4 and whichever pandoc-crossref version was released earlier this summer for that Pandoc version:

Screenshot 2023-08-14 at 10 38 40 AM

Screenshot 2023-08-14 at 10 39 19 AM

You can see that the "see" and its associated reference is intended to come first in the list of citations there, but Pandoc/Pandoc-crossref has it come out second.

Any thoughts why? Thanks!

UPDATE: OK, sorry. Just realized this could be the csl file I'm using, and a little testing confirms that it is. Feel free to delete this!