Comments (5)
I guess this is almost certainly a citeproc issue. This code shows the issue I think with no org-ref code. I would report it to citeproc (@andras-simonyi at https://github.com/andras-simonyi/citeproc-el/issues).
#+BEGIN_SRC bibtex :tangle tmp.bib
@inproceedings{test_org_ref,
title={Testing org ref},
author={Author, Some},
booktitle={Proceedings},
volume={},
number={},
year={2024}
}
#+END_SRC
Render a citation
#+BEGIN_SRC emacs-lisp :var tangled=(org-babel-tangle)
(let ((proc (citeproc-create
(expand-file-name org-ref-csl-default-style
(f-join
(file-name-directory
(locate-library "org-ref"))
"citeproc/csl-styles"))
(citeproc-itemgetter-from-bibtex "tmp.bib")
(citeproc-locale-getter-from-dir (f-join (file-name-directory
(locate-library "org-ref"))
"citeproc/csl-locales"))
"en-US"))
(cites (list (citeproc-citation-create :cites '(((id . "test_org_ref")))
:mode 'textual)))
(backend 'html))
(citeproc-append-citations cites proc)
(citeproc-render-citations proc 'html))
#+END_SRC
#+RESULTS:
| Author (<a href="#citeproc_bib_item_1">2024</a>) |
from org-ref.
Yes, thanks! I have reported it at andras-simonyi/citeproc-el#151
from org-ref.
Hi, perhaps we should re-open this issue. The linked discussion suggests there is some sort of interaction with org-ref that is causing the name duplication to appear.
Any suggestions or workarounds would be appreciated!
from org-ref.
I tried taking out the code referenced in t andras-simonyi/citeproc-el#151. It does seem to work as you expected now I think. Can you try it?
from org-ref.
Hi John,
I confirm it is working now as expected.
thanks for the prompt response and fix.
from org-ref.
Related Issues (20)
- org-ref-get-bibtex-key-under-cursor returns nil instead of a list of keys HOT 4
- Referencing equations added with align environment HOT 12
- A typo in org-ref-citation-links HOT 1
- Export PDF without reference citations on M1 MacOS sonoma HOT 4
- Applying #+ATTR_ODT attributes to bibliography link HOT 1
- Error (use-package): org-ref/:catch: Cannot open load file: No such file or directory, request HOT 2
- cannot require org-ref HOT 8
- Slow editing of sentences with acronym links HOT 4
- page numbers ignored HOT 3
- `arxiv-get-bibtex-entry-via-arxiv-api` fails for entries with inactive related doi HOT 1
- Warning with org-ref package related to openalex.el HOT 11
- Bibliography is not exported if the last included org file ends with ``:noexport:`` tagged section. HOT 3
- PDF download from arxiv stopped working HOT 1
- Could org-ref support open HTMl files with eww/Xwidget? HOT 1
- OpenAlex: [error] request-default-error-callback HOT 3
- Export to non-LaTeX formats does not honor labels set with #+name: HOT 6
- Error loading org-ref-latex HOT 10
- arxiv-get-pdf-add-bibtex-entry goes to doi.org for particular arxiv id HOT 1
- Org-ref seems to not find entries in my bib file
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from org-ref.