emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: org-cite and export to ODT


From: 陈贤文
Subject: Re: org-cite and export to ODT
Date: Wed, 15 Dec 2021 22:11:34 +0000

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 '(org-ref-cite-natmove ;; do this first
org-ref-csl-preprocess-buffer
org-ref-refproc)))
  (org-open-file (org-odt-export-to-odt) 'system))

I tried to eval-region, after selecting these codes. I got the complain that org-ref-cite-natmove's function definition is void.

Do I need to install or require something other than cite-ref?

Xianwen

On Thu, Dec 9, 2021 at 2:57 PM John Kitchin <jkitchin@andrew.cmu.edu> wrote:
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 and bibliography .
John

-----------------------------------
Professor John Kitchin (he/him/his)
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803


On Thu, Dec 9, 2021 at 4:54 AM Xianwen Chen (陈贤文) <xianwen.chen@gmail.com> wrote:
I have been using org-ref and biblatex. They export well to PDF, through LaTeX. I am able to export to ODT as well. However, I'm not able to have the bibliography or the references in the produced ODT.

I searched online and found this tutorial: https://kjambunathan.github.io/org-mode-ox-odt/Bibliography-and-Citations-in-ODT-export.html. However, when following through the tutorial, I wasn't able to find ox-jabref.

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 highly appreciated!

Xianwen

reply via email to

[Prev in Thread] Current Thread [Next in Thread]