On Wednesday, 15 Dec 2021 at 23:57, Xianwen Chen (陈贤文) wrote:
> Thank you John. I'm not sure why it does not work. Below is the
> minimal example I created, using your example. I ran C-e o o to export
> to ODT. The resulted ODT file didn't have the reference.
I don't use org-ref but, just in case
Thank you John. I tried to C-c C-e. I was reminded that
org-ref-cite-natmove's function definition is void.
I also don't have functions that start with org-ref-export. I suspect that
I didn't load a file or package.
Bruce and András, I upgraded org-mode on my system to 9.5. org-cite works
after
you are still not getting the directions. You don't export with C-c Ce oo
here. You run that src block by putting your cursor in it and typing C-c
C-c to run it.
For org-ref, you have to use a preprocessing hook to replace the cite links
with the csl derived links before the export is done. That
Thank you John. I'm not sure why it does not work. Below is the minimal
example I created, using your example. I ran C-e o o to export to ODT. The
resulted ODT file didn't have the reference.
#+title: A basic example of org-ref for csl export
#+options: toc:nil
#+csl-style: apa-5th-edition.csl
That code does not belong in your .emacs file. It should be in an
emacs-lisp block in your org-file like it is in the example. You should run
it from the org file.
John
---
Professor John Kitchin (he/him/his)
Doherty Hall A207F
Department of Chemical
Thank you all for the responses. I have to upgrade from orgmode 9.4.4 to
9.5 first, to try out org-cite.
I tried
https://github.com/jkitchin/org-ref/blob/master/examples/basic-csl.org#opendocument.
I added the following codes to my .emacs:
(let ((org-export-before-parsing-hook
Dear All,
On Thu, 9 Dec 2021 at 10:54, Xianwen Chen (陈贤文) wrote:
> Thinking about the new org-cite, which is orgmode's native citation solution,
> I'm wondering if it would be easier to use org-cite within orgmode and export
> to ODT? A small example with configuration suggestion will be
If you are trying to use org-ref for this see
https://www.youtube.com/watch?v=rRR-5NSpKyE and this example:
https://github.com/jkitchin/org-ref/blob/master/examples/basic-csl.org#opendocument.
You need to use a preprocessing hook (org-ref-csl-preprocess-buffer) with
org-ref to get the citations