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 +43bG98132ApYwEAgWs5BA (envelope-from ) for ; Fri, 02 Jul 2021 17:50:55 +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 uHsKF98132CaLgAA1q6Kng (envelope-from ) for ; Fri, 02 Jul 2021 15:50:55 +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 766A92B87D for ; Fri, 2 Jul 2021 17:50:54 +0200 (CEST) Received: from localhost ([::1]:38072 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lzLRM-0006yL-H7 for larch@yhetil.org; Fri, 02 Jul 2021 11:50:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44302) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lzLQX-0006yA-Ew for emacs-orgmode@gnu.org; Fri, 02 Jul 2021 11:50:01 -0400 Received: from mail-vk1-xa2a.google.com ([2607:f8b0:4864:20::a2a]:42687) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lzLQV-000756-EN for emacs-orgmode@gnu.org; Fri, 02 Jul 2021 11:50:01 -0400 Received: by mail-vk1-xa2a.google.com with SMTP id ay19so2148835vkb.9 for ; Fri, 02 Jul 2021 08:49:58 -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=FYPMQKnJAXA5auw25inFlkXTJi9JzgRdD2ppN1ltI3M=; b=Hn+cYnziS3FWjhGJDLOdb9UbW4rd8MYg5podP2DCCu1ecM9OeMgu4p5ZDFJaxVpZAu iKuXdnpN3KLrWdlfVCB7PHefhtTN+pBZ1KbCytr31a+iDDQx7ZLDVxDb2pckirztuRuy taQOJ2cj3CDpvxG1w4Pl2NI8uQavJxGhBHmTCeNsU5DR/T5phvFu5kHAjQsh0XEuJ0Sf p29lT8z+SejRfPMJ95M/+rF603E0luwT/1f2UaeUIxiAneqzXh8+uOy++ucX0RSs2X7s W5WwBjveRjbfo1a1WiB5X2M/aJPCpWsKtn0pWxo5Ym4xVnN+R5kU8ZYFaEuddxrYSI8K Ie0Q== 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=FYPMQKnJAXA5auw25inFlkXTJi9JzgRdD2ppN1ltI3M=; b=bpgso88a/sOZbJTRPGlqsLQN/RUzkTZ40zT8yLJQaY0cNo0OpaxCQd3i6HIcKZrvpa 9bWexvWXrJK55wuCgcVxzupV7vs+IuJzXv9fiEBrkgYlmQm1hgF4bkZcxOmNQwWTZnI3 pXftD7Ck3lsMCuy+Jugg3V7KdJaJWehfnhsCN3uVlXBDSlaX/RXvyQda7yabR1tTOXKb yhZZQXqgUrya8dLaGiI+arF/8zqUBDVt5yqDKVK4ikwh4wq5p9e6YPLBgAxRQWkid9+T obm6f7GPzALD9MZBjF/8EiNDzrO650wEHjwd7VE02U+ntBlreWmy2JaG3bSf7csRkZCU vWoA== X-Gm-Message-State: AOAM531hl/BtyGWfGEG2oUiBA6gbUow49vLHGbYMgxa7lHM2nAl7UKS7 5DMiAlpSyoC4O0fRFhlKYevsPBk64bvDcaUHKiI= X-Google-Smtp-Source: ABdhPJzKjxhGoUae9syG/7ee1cbfM5/Pl69h647qfjEgpnz36nEqQxGw9VmzOPidzCirqsebFZhPIvxVmqdXF+bqR9M= X-Received: by 2002:a1f:9950:: with SMTP id b77mr309473vke.25.1625240997350; Fri, 02 Jul 2021 08:49:57 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Matt Price Date: Fri, 2 Jul 2021 11:49:45 -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="00000000000052525005c625e847" Received-SPF: pass client-ip=2607:f8b0:4864:20::a2a; envelope-from=moptop99@gmail.com; helo=mail-vk1-xa2a.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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_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=1625241054; 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=FYPMQKnJAXA5auw25inFlkXTJi9JzgRdD2ppN1ltI3M=; b=Xa7VQO/rL0QO0g1x4wB//rczW+YnppQq4KxfSqxWpJnZXRP/gTtH/0GzRolTjFtRFSd4Fz +CZ7s6t4O3I+V3NK2pWJMOb+mJzRPdJMGflC95EBMOOzO9qtmPezBvosZdZ62O2Rs97iqe qIYZVVXK5y/vU74KOUv0Im4K7AhnxQhcVdGesKZGkvyYjxEIRAjNmqDlmSVcWo8hAbttPZ BSNCH2rZlIKry98cBV5mjxvfzVUMGm4Kq8ymPC+A4k9sAiFbl2udQhHpbF/DOuks29++dK 3Lte9mrjz2jBrET29ZAWs8S9+2q5qSV+0e3PDU0IQBJWgIRJS8pEbfAoH62cpw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1625241054; a=rsa-sha256; cv=none; b=U/mBX0bJqOmACsm99L56sMalhRc1cSg6I9VAHFdW90qZ934qBPRjt/MwJNObdITYs9ITEf fN/tXXmzSwBA88coY7vvr49/w/nJOW6llqM/cde/2AlO6yPNjS46SDRfKY9xOP6F9c8daI jGGdmR6gzTAX6pFtJ4mVslrk7F/CATy5M6DSDP6HBfnWBz7PsO2lf0HzCVU+cx/R3CGz7C TSJXWe1ksepeB2HYZkYvAoBnBhazB7pD6anHOAYf6A1gr66UZJ79nUJoPuaT8acu7NicGE Pa1scBnJQrIlDWD6pydS/MIpWq/DQBc8fCh5Nq4KQMmI1hmbNuO8y5cKDcHP8g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=Hn+cYnzi; 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.31 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=Hn+cYnzi; 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: 766A92B87D X-Spam-Score: -1.31 X-Migadu-Scanner: scn0.migadu.com X-TUID: +tZRk+QcyzJ/ --00000000000052525005c625e847 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Anders, I just want to say that I tested this out and it works great. It's quite shocking, actually, to have such an easy path from org to odt with live citations. I'd love to see this stuff in MELPA or otherwise made more generally accessible, as i think it fills a substantial need. On Tue, Jun 29, 2021 at 2:29 PM Matt Price wrote: > 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 = 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 p= andoc >>> 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 >>> >> --00000000000052525005c625e847 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Anders, I just want to say that I tested this out and it w= orks great. It's quite shocking, actually, to have such an easy path fr= om org to odt with live citations.=C2=A0 I'd love to see this stuff in = MELPA or otherwise made more generally accessible, as i think it fills a su= bstantial need.

On Tue, Jun 29, 2021 at 2:29 PM Matt Price <moptop99@gmail.com> wrote:
<= blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-l= eft:1px solid rgb(204,204,204);padding-left:1ex">
Ande= rs, just to be clear:=C2=A0 with your new exporters I can, as of today, ins= ert the new [cite:@citekey] links using a better-bibtex-generated bibliogra= phy file, export to odt via pandoc, and then manage my citations with zoter= o in the resultant odt?

it so... cool.=C2=A0
<= /div>

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

We should 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
--00000000000052525005c625e847--