-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
References persist after removal from source file #8
Comments
I've noticed this as well. I'm not sure why this happens, if I remember correctly when I initially wrote this pandoc citeproc did not output unused citations, so pandoc-url2cite intentionally just outputs all citations it knows and relies on citeprocs filtering. So this might be a regression in citeproc, especially since there's specific documentation about a nocite field in the documentation: https://pandoc.org/MANUAL.html#including-uncited-items-in-the-bibliography . Or it might be something different. Next step would probably be to see if this happens without url2cite with a minimal example with just pandoc --citeproc (input a .bib file and a .md file). You can try that or I'll try it when I have time. 0.6.7 doesn't change anything about this. |
I've opened an upstream issue: jgm/pandoc#7388 |
Tested and working in pandoc 2.14.0.2 |
Hey, thanks for making this!
I just found this issue with 0.6.6. I can't easily upgrade to 0.6.7 right now, but thought I'd raise this in case it's still present
Issue
References are added to the output file even after removal from the source file
Steps to Reproduce
run pandoc again
remove a reference (markdown file is the same as step 1)
run pandoc again
The removed reference is still in the references list
Expected Behaviour
References that have been completely removed from the source file should not be written to the output file
Software
The text was updated successfully, but these errors were encountered: