-
Notifications
You must be signed in to change notification settings - Fork 190
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
Bibtex bibliography directive renders unreferenced citation #95
Comments
@mtiley is the incorrect reference resolving to the nearest reference in the |
@mmcky I don't think so -- Yuna will be doing some more testing tomorrow. This is the .bib file I was using (had to change to .txt to upload): references.txt |
Update: I have replicated the problem in a project (files here) without Discussion here mcmtroffaes/sphinxcontrib-bibtex#62 and here mcmtroffaes/sphinxcontrib-bibtex#52 The problem appears to be fixed in rST by adding a |
@mtiley ok I'll close this issue for now then, and if you do uncover a discrepancy, please open another issue and, if possible, a PR with a minimal working example; in a similar fashion to what I did in #97 (adding to https://github.com/ExecutableBookProject/MyST-Parser/tree/master/tests/test_sphinx) |
This happens when there are user errors in the
{cite}
roles in the document (specifically, reference to something not in the .bib)To Reproduce
{cite}
something that is not in reference.bib{bibliography}
Edit: Sorry, this is wrong. Another instance here with different cause.
Screenshots
![refin](https://user-images.githubusercontent.com/56301568/75645789-6a389200-5c9b-11ea-8b55-fa4e72bc4027.PNG)
![refout](https://user-images.githubusercontent.com/56301568/75645793-6b69bf00-5c9b-11ea-8b11-d8cae47122c5.PNG)
Here is a citation with no corresponding entry in references.bib
The
bibliography
outputs a different reference:(This doesn't happen with rST and seems to be introduced by myst_parser. The following is in a separate Sphinx project with only sphinxcontrib.bibtex as an extension.) See input:
![bib1](https://user-images.githubusercontent.com/56301568/75647097-fb116c80-5c9f-11ea-9c8e-9f904b06601d.PNG)
html output:
![bib2](https://user-images.githubusercontent.com/56301568/75647101-ff3d8a00-5c9f-11ea-93ae-386a23e86a71.PNG)
Environment:
The text was updated successfully, but these errors were encountered: