Skip to content
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

Discrepancies with Zotero in how citations are rendered #20

Closed
benthamite opened this issue Jul 19, 2021 · 2 comments
Closed

Discrepancies with Zotero in how citations are rendered #20

benthamite opened this issue Jul 19, 2021 · 2 comments

Comments

@benthamite
Copy link

@benthamite benthamite commented Jul 19, 2021

Thank you for creating this package. I thought I'd have to resign myself to using an external application to cite works that required the use of a particular citation format, and I'm pretty excited to see that I may be able to do this without leaving Emacs!

Unfortunately, there are some significant discrepancies in how citeproc-org renders citations and how other citation-management tools, such as Zotero, render them. Moreover, it is the latter that conform to the specifications provided in the relevant csl file. Here is an example.

org buffer

#+CSL_STYLE: /Users/pablostafforini/Dropbox/org/bibliography/glossa.csl

cite:Williamson2005KnowledgeScepticisma

[[bibliography:/Users/pablostafforini/Dropbox/org/bibliography/new.bib]]

new.bib

@incollection{Williamson2005KnowledgeScepticisma,
  title = {Knowledge and Scepticism},
  booktitle = {The Oxford Handbook of Contemporary Philosophy},
  author = {Williamson, Timothy},
  editor = {Jackson, Frank and Smith, Michael},
  date = {2005},
  publisher = {Oxford University Press},
  location = {Oxford},
  doi = {10.1093/oxfordhb/9780199234769.003.0023},
  url = {http://oxfordhandbooks.com/view/10.1093/oxfordhb/9780199234769.001.0001/oxfordhb-9780199234769-e-23},
  urldate = {2021-07-19},
  abstract = {The Oxford Handbook of Contemporary Philosophy is the definitive guide to what is happening in the lively and fascinating subject of contemporary philosophy. More than thirty distinguished scholars contribute incisive and up-to-date critical surveys of the principal areas of research into this subject. The coverage is broad, with sections devoted to moral philosophy, social and political philosophy, philosophy of mind and action, philosophy of language, metaphysics, epistemology, and philosophy of the sciences.},
  zotero = {R2Q9V8HZ}
}

citeproc-org

Williamson, Timothy. Knowledge and Scepticism. In Frank Jackson & Michael Smith (eds.), The Oxford Handbook of Contemporary Philosophy,. Oxford: Oxford University Press. Retrieved from http://oxfordhandbooks.com/view/10.1093/oxfordhb/9780199234769.001.0001/oxfordhb-9780199234769-e-23

Zotero

Williamson, Timothy. 2005. Knowledge and scepticism. In Frank Jackson & Michael Smith (eds.), The Oxford Handbook of Contemporary Philosophy,. Oxford: Oxford University Press. DOI: https://doi.org/10.1093/oxfordhb/9780199234769.003.0023

glossa.csl

As you can see, citeproc-org is omitting the date, and appending the contents of the url field rather than the doi field. Do you happen to know what might be going on?

@andras-simonyi
Copy link
Owner

@andras-simonyi andras-simonyi commented Jul 19, 2021

Hello, thanks for the report! As for omitting the date, the problem is that date is not a valid BibTeX field (it's biblatex, which is unsupported at the moment), if it's replaced with the correct year then this problem is fixed. Interestingly enough, I cannot reproduce the DOI vs URL problem, with the latest citeproc-el I get the same DOI rendering as Zotero's.

A general remark: there are huge changes in Org's citation support right now, the branch with built-in native citation elements and supporting infrastructure for export, insertion, fontification has just been merged into Org's master a week ago, and will be part of the next official release. Accordingly, citeproc-org will soon be switched to maintenance mode and the main focus will shift to improving Org's built-in CSL support.

Loading

@benthamite
Copy link
Author

@benthamite benthamite commented Jul 19, 2021

Thanks for the quick and informative reply! In light of your general remark, I think I'll try to familiarize myself with the recent developments with org's citation support and wait a bit to see how org-ref and biblatex-completion adapt to it.

Loading

@benthamite benthamite closed this Jul 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants