Closed Quintus closed 2 years ago
Thanks for reporting this! I was able to reproduce the problem but the error in this case seems to be on the Org side: the citation structures passed to citeproc-el have their note-index field set to nil indicating that these citations do not occur in footnotes which is obviously an error. I will try to fix the problem in org-cite.
I think I've managed to track it down in oc-csl.el -- I'm going to send a fix to the Org mailing list shortly.
Very nice! Thank you. I can confirm that it works now as expected (org-mode at 2e99997830c78dbf4df62be22391491fe88337f2).
-quintus
Hi there,
since I suppose it's an issue in citeproc.el rather than org-mode, I'll re-post my original org-mode ml posting below:
the CSL style I use has footnotes. When a book is cited, it is once cited with the full bibliographic information, and later footnotes then reference the footnote in which this information first appeared, shortening the later footnotes to the format "Author, (o. Fn.),
...". (the spurious comma I will look into later, it's probably an error
in the CSL file). Now take this org file:
mwe.bib:
juristische-schulung.csl is https://github.com/citation-style-language/styles/blob/e22b8a566bad9b4c7f52720f60dd875057a5d210/juristische-schulung.csl
Exporting this gives these two footnotes:
The second footnote is incomplete. It lacks the "o. Fn." mark and the footnote referenced. If I export the equivalent pandoc-markdown document with pandoc:
Then both footnotes are proper:
So it’s not an error in the CSL file. The CSL file uses this construct to differenciate the two cases:
This is probably a bug.
Org mode version 9.5 (release_9.5-104-g2b1fc6 @ /home/quintus/.emacs.d/org-mode/lisp/) citeproc.el at 34e66583d95a8d80fb5b9f2960f3382ca0e6d3ab
-quintus