From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id uHcPOWRoumF2TwAAgWs5BA (envelope-from ) for ; Wed, 15 Dec 2021 23:12:52 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id wF6nNGRoumFMDQAAbx9fmQ (envelope-from ) for ; Wed, 15 Dec 2021 22:12:52 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 5E3CA2C68C for ; Wed, 15 Dec 2021 23:12:52 +0100 (CET) Received: from localhost ([::1]:46896 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mxcW3-0005wG-K7 for larch@yhetil.org; Wed, 15 Dec 2021 17:12:51 -0500 Received: from eggs.gnu.org ([209.51.188.92]:54698) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxcVX-0005vs-J5 for emacs-orgmode@gnu.org; Wed, 15 Dec 2021 17:12:20 -0500 Received: from [2607:f8b0:4864:20::336] (port=40822 helo=mail-ot1-x336.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mxcVV-0002OT-IY for emacs-orgmode@gnu.org; Wed, 15 Dec 2021 17:12:19 -0500 Received: by mail-ot1-x336.google.com with SMTP id v15-20020a9d604f000000b0056cdb373b82so26652420otj.7 for ; Wed, 15 Dec 2021 14:12:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=AHUF+gcfKeDrYt1rSIX2bj/Bv/K33v2XMGYw+3y6K/8=; b=kKIYR36UfEUqI5NC34PbrtAyX3XqYxEBdPxQUfUmBCNJIUJDXfFrF6M1AYKPzWQ8pq 0LP1GTKq/+e1AR5XDlkrCQ29VGus+RX0aZTFCVnOCeXfDmBznm6zk7V47u9A2WrxV51d fJa0JikQTBUNGOyarDHY66InmQ88keWG6xyTCAo0YuGbV4RpgtizIYw5efNVJwVoX8jt O140dPumTQeJZRIn67m/VThtkYQV81iSkd6/2D2gxUvyO93d9nIux86Dgu9lzoVEQGAo WQVAVpiF6hzETdydQ6maeuLiib+KjiGrwNZrv6eLytuxezdYztmlz3Wb3vvAmEHa1B22 hGLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=AHUF+gcfKeDrYt1rSIX2bj/Bv/K33v2XMGYw+3y6K/8=; b=wfTB/rt7Yf4lJHI4i757KcFoaJBHhAsxXyNsPnQLDY11xIrZxoPje/oGqt7ofDXrxH zpT7g/MHZ6ecRarobtAyTm9n6VzMD8dg3sIQx/VZwiXnibG/b9zIM5U0M1pbDTTDJY8U rp2FaAPR7/eq1J8K/ZaniOfmEZ6mz4C6BZB+oSIgcm9ZMm0EnQnz6njqIkCanovthRq/ vQ9PFT96SQanrdkS6LC6ySVhpUTMxvaX4LItNd55x6ssStocJ2OASytwkxxohU7iAQPT EfqGYiD2mGWaNjBnGKJWSTIJRqWz7R2nRN+PU+rrNBBWFg9EoNpcsSUr0sUxDXn3Wygn 09dA== X-Gm-Message-State: AOAM531rRLsoRaEsSs+ifS5M9pO7U0UHRAbynoVSaQcyBFQAbNXXc6Fr Jsy+r/4BDhnmCBIfQ94T08i4+Hjrl9IZMofTz38= X-Google-Smtp-Source: ABdhPJyQsCGjmx3xBBM62e85FPah7983LFZjgEKeHY2E3q6mL1o+mw4ETRI+S9ZLuj+PcgwzS3N/5NDMLVcNMmutL4Q= X-Received: by 2002:a05:6830:4cf:: with SMTP id s15mr10446560otd.219.1639606330895; Wed, 15 Dec 2021 14:12:10 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: =?UTF-8?B?WGlhbndlbiBDaGVuICjpmYjotKTmlocp?= Date: Wed, 15 Dec 2021 22:11:34 +0000 Message-ID: Subject: Re: org-cite and export to ODT To: John Kitchin Content-Type: multipart/alternative; boundary="000000000000ecb2be05d3369823" X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::336 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::336; envelope-from=xianwen.chen@gmail.com; helo=mail-ot1-x336.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Org-mode Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1639606372; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=AHUF+gcfKeDrYt1rSIX2bj/Bv/K33v2XMGYw+3y6K/8=; b=IhkEH/EdW+s6mG2mhSbspF/O6IKoKdNzBX8bePlZWy5iJyqsFZHo1TaJEY8g45qF8gZMdF r613Qfi91kRF1eBi8lSUX4I1ErWKno6R6ogY3arxAae6GVFjcPseVnmZttiJuW9bzhORBL UtAZbV1abC1j39JwIWEKXccDhDsKzvsgkrtC3bcHSPZ8KyUlHQmH4wqVWhHgijIu6smk5V 8hpJlsoOWj8SRJsO88mF2oAwjeRjIzlKg9v5xN66OytqdDyTkU+wnkDFzmr50beSpnw3J7 LQQeV6ik6rweLqOPH73LWt45tLTCKEfWOl3ABj1tKqNBRvvyEx8S5PRM79f+0g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1639606372; a=rsa-sha256; cv=none; b=FjuIQo+3nSQ8E6m0zGxS6wsx0xbs8GmoisNzuc3PgikdqBA7ObMn/J5hkWklfzauKLIBsu FhnIayoOnb/9Uv+maVjxJwbOdPHcnDIN58wN8XxhPpE8F/zSFIYGIJjbD5C02MKRl33wHz dvxlU1HLDh1jtU4VM4fz7WiF6R7s0jXAMMKWQbOJLWHzJ67EFhcu8gKTvlZKEAdCogkM9X JXvhnENTD3ym5ZeeLrE6q8u0gSrdcf0QegOJHOaYiWw823axAO+T0fXz1Humcb4WpQjWpG cKe8I+XW+0pWVViBx2QoxDZPewKNGWreyKyfrDIIDc3OfoiINiJ978cVVxCsFw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=kKIYR36U; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -9.18 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=kKIYR36U; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 5E3CA2C68C X-Spam-Score: -9.18 X-Migadu-Scanner: scn0.migadu.com X-TUID: JkNCCdxS5m3R --000000000000ecb2be05d3369823 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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#open= document. 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 wrote= : > If you are trying to use org-ref for this see > https://www.youtube.com/watch?v=3DrRR-5NSpKyE and this example: > https://github.com/jkitchin/org-ref/blob/master/examples/basic-csl.org#op= endocument. > 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 > @johnkitchin > http://kitchingroup.cheme.cmu.edu > > > > On Thu, Dec 9, 2021 at 4:54 AM Xianwen Chen (=E9=99=88=E8=B4=A4=E6=96=87)= > 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-Citation= s-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 >> > --000000000000ecb2be05d3369823 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thank you all for the respon= ses. I have to upgrade from orgmode 9.4.4 to 9.5 first, to try out org-cite= .

https://github.com/jkitchi= n/org-ref/blob/master/examples/basic-csl.org#opendocument. I added the = following codes to my .emacs:

=
(let ((org-export-before-parsing-hook &= #39;(org-ref-cite-natmove ;; do this first
org-ref-csl-preprocess-b= uffer
org-ref-refproc)))
=C2=A0 (org-open-file (org-odt-export-t= o-odt) 'system))

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

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

Xianwen<= br>

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=C2=A0https://www.yo= utube.com/watch?v=3DrRR-5NSpKyE and this example:=C2=A0https://github.com/jkitchin/org-ref/blob/master/exam= ples/basic-csl.org#opendocument. You need to use a preprocessing hook (= org-ref-csl-preprocess-buffer)=C2=A0with org-ref to get the citations and b= ibliography .
J= ohn

-----------------------------------
Professor John Kitchin (h= e/him/his)
Doherty Hall A207F
Department of Chemical Engineering
C= arnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu

=


On Thu, Dec 9, 2021 at 4:54 AM Xianwen Chen (=E9=99= =88=E8=B4=A4=E6=96=87) <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&= #39;m not able to have the bibliography or the references in the produced O= DT.

I searched online and found this tuto= rial: 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 o= x-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 e= xample with configuration suggestion will be highly appreciated!

Xianwen
--000000000000ecb2be05d3369823--