From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id oGfdM8hm22ArLwAAgWs5BA (envelope-from ) for ; Tue, 29 Jun 2021 20:30:32 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 2DONL8hm22AdcAAA1q6Kng (envelope-from ) for ; Tue, 29 Jun 2021 18:30:32 +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 F108732245 for ; Tue, 29 Jun 2021 20:30:31 +0200 (CEST) Received: from localhost ([::1]:58254 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lyIVB-0002rx-Rl for larch@yhetil.org; Tue, 29 Jun 2021 14:30:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33152) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lyIUE-0002ra-F0 for emacs-orgmode@gnu.org; Tue, 29 Jun 2021 14:29:30 -0400 Received: from mail-ua1-x92b.google.com ([2607:f8b0:4864:20::92b]:36755) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lyIUC-000298-6b for emacs-orgmode@gnu.org; Tue, 29 Jun 2021 14:29:30 -0400 Received: by mail-ua1-x92b.google.com with SMTP id g21so3404892uaw.3 for ; Tue, 29 Jun 2021 11:29:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ina8zU7MI+7zEeWnhAIYCwgh2ySDLD8QUrmpfbKCoyI=; b=LnhOSsi5J5ODwKbJTQFe/8tLd/PUkzoVib7W+5lf5rPAALVCmzsPpPTNHUfPRNY+uE WfqR00ncQ5wKunLMiBSYuMF/G492p9Ds1r5GsxX2ObgDoGGNJadwUkTSGqAw/AgWu4LZ 7YmCywyrTxD+zx6+OfEKhvjme4/iZ/xxg+oiQRCqFZ0CCL12C9GUqjyOmdLcA4TiVms3 zSt988Kf8MXy0h1tbcOfIrjh8UFv6X8lN58Wr1jG2TcrYNnsIpa41lbdti0Ckhy0EGkP /MmYsLhgweGKNtdgQMjS5KLZCYWONpXxNGqaxup/VWR4tzKgMH8r7Bzw+eg8N+eKq246 5V6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ina8zU7MI+7zEeWnhAIYCwgh2ySDLD8QUrmpfbKCoyI=; b=fAEME0LTppVLq3EkQ84m1Vqaa3tHPsLwsKUPHvUbp4NYcIwpL9sr54RFCyVFSLgVGQ H+9nD3XYRvkMsX/HvFGI6ru0ytpQl9GIWJLqW2mKomxKCJ7PSze1fzwEhq2xs/lPZlLn LDqihE9yT3UKIrnG1L+iHPww6xi8u2mjgiuDzNJfFeCcMuhizR8RputbNWUpwUd0L6YU lNvhz7cqJsvF2CzMmnlYIueUfmQLSVj9dCvlj1gd8bl1gJfvLW+gBY3GapBC2EiY8uEn V2WWehhOgTIyi2dcA1EGsy2JsKf3OmG+UcehaMBtrISBdhZQ2joEmoBP3IzqBjRibG8f bklg== X-Gm-Message-State: AOAM5323LIfcDu03wfr5xAGnTWUOru0SVr/4li11MyA4csHdUoCDyR5J +PeyylX7ocQdTCUrn15zRbqdEeFPQ2LWOUA8mbc= X-Google-Smtp-Source: ABdhPJywI1KXtbwqmM34cVRyTmY/40ce6IyOkYdt6+56ytRFcD3c7Ab3e3vQuwOIgQ0AUz5Y118NHvWEPXMsNiwyv7o= X-Received: by 2002:ab0:3043:: with SMTP id x3mr28793135ual.15.1624991366728; Tue, 29 Jun 2021 11:29:26 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Matt Price Date: Tue, 29 Jun 2021 14:29:15 -0400 Message-ID: Subject: Re: [wip-cite-new] Exporting to pandoc md (and from there to zotero odt) To: "Bruce D'Arcus" Content-Type: multipart/alternative; boundary="0000000000002d4e0f05c5ebc965" Received-SPF: pass client-ip=2607:f8b0:4864:20::92b; envelope-from=moptop99@gmail.com; helo=mail-ua1-x92b.google.com X-Spam_score_int: -3 X-Spam_score: -0.4 X-Spam_bar: / X-Spam_report: (-0.4 / 5.0 requ) BAYES_05=-0.5, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: org-mode-email , Anders Johansson Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1624991432; 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=ina8zU7MI+7zEeWnhAIYCwgh2ySDLD8QUrmpfbKCoyI=; b=ZYtK6mmkyP5K3la/+ykEglxWLqQjMf6bIEVWJPZbtnXofs2jncCRdaSUl8oWxWXDA0wIja YUSFN9b7Nbhn37UHnBCBYhiOZjBwHjQ76QCzrUoaxNFtPmsKD+CCFAQFJzdMXW2LumlVil SCLiVOIuC8GzbpW8atIxi2RLnMKGQwdZp1/hKaf0loRv2Y849kcEKR2hULbcYK93Glrupj z3JcYaUrG3yh1kSxIl0GtN6XnTo9Fo6K80LQWqOaCDRhBA1OQs7GzrepZWpObwcbdcY6Bn F/C4u6qkeRRh0A90tXFR9yddTFk56gV7ilFF0STt1QmFJMTz6648QDp4BWyjEQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1624991432; a=rsa-sha256; cv=none; b=EuBiRZrgLmyP35Cy6wQ+T6LeppW2HQL8TwlulnaNWPic03Am8UuPC/wCghtBaJnrdFhLHC iaGzjHp/+W3hEXBm44VkScajMTgq4y39IrwKUzORH/aIqLI+UO9s7VSIEky6TFwcZEYeyK cV6bx5+PZX8nJ1cBst/3sSWlTrqYk/OffZZKNpAYUgzRg37tmeOHlCHLRHekRkYnZCQ+hZ ZrAp6IPSUf7DznmWJriY4lGJDiyaIvp20FzUoZvNKmgsmAOkPeYVXQh1wxdyqWBC9Er9M9 6QUGA9/IPjJklKdsHtJydxa5jIJ3LjimGAfguBvhPuu6LXm9TZs9Ql9wfbXueQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=LnhOSsi5; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -1.32 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=LnhOSsi5; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: F108732245 X-Spam-Score: -1.32 X-Migadu-Scanner: scn1.migadu.com X-TUID: Qn8hO75Xnuev --0000000000002d4e0f05c5ebc965 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Anders, just to be clear: with your new exporters I can, as of today, insert the new [cite:@citekey] links using a better-bibtex-generated bibliography file, export to odt via pandoc, and then manage my citations with zotero in the resultant odt? it so... cool. On Wed, Jun 23, 2021 at 4:04 PM Bruce D'Arcus wrote: > Cool! > > We should also get pandoc to support updated org-cite syntax. > > https://github.com/jgm/pandoc/issues/7329 > > > On Wed, Jun 23, 2021, 12:57 PM Anders Johansson > wrote: > >> Hi all, >> I appreciate the work done on the cite functionality! >> I use zotero for managing my library and have previously used zotxt >> and org-zotxt (along with some additions in my zotxt-extra library) >> for being able to cite in org-mode and export correctly to various >> formats. >> https://gitlab.com/egh/zotxt >> https://gitlab.com/egh/zotxt-emacs >> https://gitlab.com/andersjohansson/emacs-zotxt-extra >> >> Zotxt has used a custom link format for citations (similar to org-ref) >> which links to zotero but optionally also contains a citekey (defined >> via the zotero-better-bibtex extension to zotero). I actually wrote my >> PhD thesis with this setup, but the connection to Zotero has always >> felt a little wobbly and Zotero is also quite slow for my large >> library. >> >> Now seems to be a great time to convert to a workflow with the new >> cite format. To enable a conversion from org mode to word processors >> with Zotero =E2=80=9Dactive=E2=80=9D citations I created two libraries t= o manage this >> via pandoc and the pandoc filter created for the zotero-better-bibtex >> extension. >> (see: https://retorque.re/zotero-better-bibtex/exporting/pandoc/) >> >> This allows me a workflow like: >> 1. keep an updated .bib-file of my library in zotero (with the help >> of zotero-better-bibtex) >> 2. cite in org-mode (for me with completion via helm-bibtex and >> https://github.com/bdarcus/bibtex-actions/pull/113) >> 3. Export to an odt-file with active zotero citations (with oc-pandoc >> and ox-md-pandoc-zotero) >> >> I attach them here in case anyone else finds some part of this workflow >> usable. >> https://gitlab.com/andersjohansson/org-cite-pandoc >> https://gitlab.com/andersjohansson/ox-md-pandoc-zotero >> >> I couldn=E2=80=99t find any previous definitions for exporting to the pa= ndoc >> cite format so I quickly hacked up org-cite-pandoc. I suppose it could >> be be widely useful and included in org. Feel free to use it as >> suitable (I have FSF copyright assignment for emacs). >> >> Best, >> Anders Johansson >> > --0000000000002d4e0f05c5ebc965 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Anders, just to be clear:=C2=A0 with your new exporte= rs I can, as of today, insert the new [cite:@citekey] links using a better-= bibtex-generated bibliography file, export to odt via pandoc, and then mana= ge my citations with zotero in the resultant odt?

= it so... cool.=C2=A0

On Wed, Jun 23, 2021 at 4:04 PM Bruce D'= Arcus <bdarcus@gmail.com> wr= ote:
Cool!

We should also ge= t pandoc to support updated org-cite syntax.

On Wed, Jun 23, 2021, 12:57 PM Anders Johansson &= lt;mejlaandersj= @gmail.com> wrote:
Hi all,
I appreciate the work done on the cite functionality!
I use zotero for managing my library and have previously used zotxt
and org-zotxt (along with some additions in my zotxt-extra library)
for being able to cite in org-mode and export correctly to various
formats.
https://gitlab.com/egh/zotxt
https://gitlab.com/egh/zotxt-emacs
https://gitlab.com/andersjohansson/em= acs-zotxt-extra

Zotxt has used a custom link format for citations (similar to org-ref)
which links to zotero but optionally also contains a citekey (defined
via the zotero-better-bibtex extension to zotero). I actually wrote my
PhD thesis with this setup, but the connection to Zotero has always
felt a little wobbly and Zotero is also quite slow for my large
library.

Now seems to be a great time to convert to a workflow with the new
cite format. To enable a conversion from org mode to word processors
with Zotero =E2=80=9Dactive=E2=80=9D citations I created two libraries to m= anage this
via pandoc and the pandoc filter created for the zotero-better-bibtex
extension.
(see: https://retorque.re/zoter= o-better-bibtex/exporting/pandoc/)

This allows me a workflow like:
1. keep an updated=C2=A0 .bib-file of my library in zotero (with the help of zotero-better-bibtex)
2. cite in org-mode (for me with completion via helm-bibtex and
https://github.com/bdarcus/bibtex-actio= ns/pull/113)
3. Export to an odt-file with active zotero citations (with oc-pandoc
and ox-md-pandoc-zotero)

I attach them here in case anyone else finds some part of this workflow usa= ble.
https://gitlab.com/andersjohansson/org-= cite-pandoc
https://gitlab.com/andersjohansson/= ox-md-pandoc-zotero

I couldn=E2=80=99t find any previous definitions for exporting to the pando= c
cite format so I quickly hacked up org-cite-pandoc. I suppose it could
be be widely useful and included in org. Feel free to use it as
suitable (I have FSF copyright assignment for emacs).

Best,
Anders Johansson
--0000000000002d4e0f05c5ebc965--