From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id ABknH7WT02Ct0wAAgWs5BA (envelope-from ) for ; Wed, 23 Jun 2021 22:04:05 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id UBDkGrWT02DTdgAAB5/wlQ (envelope-from ) for ; Wed, 23 Jun 2021 20:04:05 +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 B3A5A23B84 for ; Wed, 23 Jun 2021 22:04:04 +0200 (CEST) Received: from localhost ([::1]:38042 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lw96P-0007BC-Rt for larch@yhetil.org; Wed, 23 Jun 2021 16:04:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39302) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lw95a-0007B0-K9 for emacs-orgmode@gnu.org; Wed, 23 Jun 2021 16:03:10 -0400 Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]:45937) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lw95Y-0005h9-D0 for emacs-orgmode@gnu.org; Wed, 23 Jun 2021 16:03:10 -0400 Received: by mail-wm1-x333.google.com with SMTP id u8-20020a7bcb080000b02901e44e9caa2aso2017523wmj.4 for ; Wed, 23 Jun 2021 13:03:07 -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; bh=aegxMOlOYUwtIH+PYbz0BeEYi/76kKa2DUBdq8Mn+w4=; b=NwjXQjiIW4+VMHRBF4eIRJebZ4x8pr/nhTlKRa2ivbEIvu76TaFi4tAVg1eDbY3qi+ +97QOXgWN1grCCKEZvwdU8gX1gmxS4zJtRT4xdcz5KGyLtJ1HLPPCC/m/bGJB10LCB/l jx1x7rv0xcZuUK2je1dAWAYd6bV+HslGUkloGmpWPTchqjBX97LXoTeSYMURqGzTV/Hq +hFJS+jIXRZ7T6mo0gFlClhS5Veu27nviSXQ0Fww6FiFRp0I8CY7oJMWZgSQ/LE8hgqa lIYZuPM5CzEk6poHqtxNBzcrBhK6uNJLDbQOzCm1NE1WKRgukq0rF54UWvJOkSouvgGS Fgww== 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; bh=aegxMOlOYUwtIH+PYbz0BeEYi/76kKa2DUBdq8Mn+w4=; b=rlAGZB+xjTo/vN/HYA7lMaHQHbg9DwBTJW2pWwVh2Y8Fjv3Af5+jrZcKWUkt7t3YYT jFfOERItrghrVXTUNKcbpBWoEhQE6hqL9z0hOiibYxYolilgS/D0fos5v7usj8/Og9x9 +4NHCweOmoOh5usADhplkghCIq2RmFN0cesDsChbdHBPO3rHQMowmUsf3WiJCOm2zJ/O B40Sz1QiKjYRgT8By7i4buBnXHzwHOk5o/LXOca8mFRaqiQ1EYur6wB9pOoxK7gkCLec h0c4997ztJv5GieiEt4TQ4KdU/AENNgboE04qLMEuYVgL2Z8CKBtdWO1h4Z6FXDrN4F4 B7xQ== X-Gm-Message-State: AOAM531nbEfmUebJ5kRc7haa2krT/PmYVRAU4FF4ZBwZZqPAaOiL6voF gm1VwvCdNcdr+R9FV0ywk1Veaf8XFIMjSSvFA30= X-Google-Smtp-Source: ABdhPJzlTYZxchAVjRdwC/7xNqog5oJ9YB9D5lHa++VgScggV2xigRfbPLWhagZe4o89MqWnLF6uKUgC2xX2fi0r+B8= X-Received: by 2002:a1c:19c1:: with SMTP id 184mr1643550wmz.92.1624478585656; Wed, 23 Jun 2021 13:03:05 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: "Bruce D'Arcus" Date: Wed, 23 Jun 2021 13:02:54 -0700 Message-ID: Subject: Re: [wip-cite-new] Exporting to pandoc md (and from there to zotero odt) To: Anders Johansson , org-mode-email Content-Type: multipart/alternative; boundary="0000000000000b1a9705c57465b8" Received-SPF: pass client-ip=2a00:1450:4864:20::333; envelope-from=bdarcus@gmail.com; helo=mail-wm1-x333.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, 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: , 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=1624478644; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=aegxMOlOYUwtIH+PYbz0BeEYi/76kKa2DUBdq8Mn+w4=; b=cPgfbou9mxiwYorDZvFvBuE8r/3xeHQaRj7oFHGbaOa3msl2jZPR8BfxU6QTzrHioOVBfp kvsVoSUH5PSUoTyTfS0TC+H1Xcc9VLoTZTBWZBj7ehAlEARLl61YZ2Xp2fQSRsusF5Cj/m FlBfnNE+PsKdpb+Hw256yl4Aj/M/hnMSrNtCw4huNl2ytPp3GdBuDyQBTl64VpQ7fMzJ/S V3Fe2G8WETo8hzuqsi6V8jA5wed4h6Xqk+Q+qnnfantuw6BwXzhK3f+NfSdeAbSsm7V+O3 QDtZl2i2XBvolCNJ5B0p2NA5LT4pyaVkGHQc3ll5JZXNrpBRvAE83TFQ0JGaEA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1624478644; a=rsa-sha256; cv=none; b=ldxldRbqhIO2Q6s/lV9GVzR8LeRUAFA2kmQ9dWDen+ju1Z+DLbIKLe2qYlxTnb3NAhH69i 3t4Ttz6lGFmduLfYng+BhwDpgd3B4fgT0uYPHeqsKjPfh8F3milll8EkibFOfSP/CoUGcp rYmfQ3mS7XywFPjun9lBHfaE9TjObEQ3YuM2SI8ijS/WsSFYsEWhCagnrcKBeaXbTrEaMy PVAoBbQWAB44gaPuI/p7Axa65BQlq+xGDq3RU4ZrgC9M1Ob+6brKDUr/itk4GvHXisTDIH 0IGgQN1Y2cjh0S6rPbDSo3yVTOmUOImXz6hrUtVPMRTE7ne/B211p/rpqRMpSg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=NwjXQjiI; dmarc=pass (policy=none) header.from=gmail.com; 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: -3.13 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=NwjXQjiI; dmarc=pass (policy=none) header.from=gmail.com; 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: B3A5A23B84 X-Spam-Score: -3.13 X-Migadu-Scanner: scn1.migadu.com X-TUID: lOT6Mi4n8aIa --0000000000000b1a9705c57465b8 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 to= 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 pan= doc > 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 > --0000000000000b1a9705c57465b8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Cool!

We sho= uld also get pandoc to support updated org-cite syntax.



On Wed, Jun 23, 2021, 12:57 PM Anders Johansson <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
--0000000000000b1a9705c57465b8--