-
Notifications
You must be signed in to change notification settings - Fork 45
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
local bibliographies #52
Comments
Here's one way to handle it LaTeX only: http://tex.stackexchange.com/questions/142632/multiple-bibliographies-with-local-links-global-labels-also-global-bibliograph |
Thanks, that provides some inspiration. |
I'll try that, thanks.
I do have overlaping citations. I cite same paper for different statements.
Nope, no reason. Probably should keep bib files in |
I tried the filter approach: it doesn't work when I have a paper which is refereneced in the other part of the document. In this case numbring get confused, and I get multiple items in the bibliography with the same number. |
Yes, that's expected. Sphinx does not like duplicate citation entries across different documents (neither does LaTeX FWIW, at least not without special purpose packages). Quoting from the documentation: "Sphinx will attempt to resolve references to the bibliography across all documents, so you must take care that no citation key is included more than once." |
That's not the case. I do not have multiple bib keys with the same name. I just quote same paper in multiple places, and than when I apply
This suggests a workaround. I can have multiple bib entries for each citation. This solves the multiple references issue. And also This workaround defeats the purpose of bibliograpy managment in a way, but allows for a formatted references. |
Just to note here that coding progress of this feature is tracked in pull request #63. |
Pull request merged, so closing. |
Just to note here that a better solution is in the works (hopefully to be released with 0.3.3).
|
Reported over email by @chebee7i
Yes, a filter just for local stuff would seem highly inappropriate...
That sounds like an attractive feature - I'll look into it! Per document is probably quite easy to implement. Per docstring seems tricky - I'd have to look into Sphinx's autodoc extension to see if I can somehow hook into it.
Aside, an obvious problem with multiple bibliographies is: sphinx does not allow duplicate citations (and currently I cannot easily work around that...), so where should citations point to (this is the same in latex...)? But you could have a local citation list with normal global citations, or the other way around.
The text was updated successfully, but these errors were encountered: