From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id yLttLDLzC2Fr0gAAgWs5BA (envelope-from ) for ; Thu, 05 Aug 2021 16:18:26 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id sDseKDLzC2HKUQAAB5/wlQ (envelope-from ) for ; Thu, 05 Aug 2021 14:18:26 +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 045EF6CB2 for ; Thu, 5 Aug 2021 16:18:26 +0200 (CEST) Received: from localhost ([::1]:57176 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mBeCX-0003BU-5W for larch@yhetil.org; Thu, 05 Aug 2021 10:18:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51722) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mBe7c-0002Qc-4x for emacs-orgmode@gnu.org; Thu, 05 Aug 2021 10:13:20 -0400 Received: from mail-wr1-x42d.google.com ([2a00:1450:4864:20::42d]:36378) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mBe7a-0002WK-5I for emacs-orgmode@gnu.org; Thu, 05 Aug 2021 10:13:19 -0400 Received: by mail-wr1-x42d.google.com with SMTP id b13so6779947wrs.3 for ; Thu, 05 Aug 2021 07:13:16 -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=Ag6bWOfQ7+1KqV2es43qhbBbZMI6kmzICWsTN2tGJyE=; b=OXVvQCr7BdhAsagOHM8ydPupo8pKHdqK2o3nPEp7+K2fdFMvPH0kowthyR2on8MWbB na6aPhm76Rj2kUnYBwl/WUgl3APuWeDUk83k67yzVIknCjkiEFCBTSW6vSF2t2IHQEkq z4HnhicaSRpm5/HoatXRfUy3xbpm1oLN6QKjsu7J3G7qXNTipzlxrj/nHv5KLUsdnBlD hXp0pYKEBixE5ayokoACw0zp471BchmFyymy1dxx0QYgAYOrsh7DqP3eCQo0lQiSwy3L TXJuSca4yiPq3R7T+eeIoLBM7WwNL0Fg0tj4DuswnzAZRGdqib+LQJ1fpnWbQt/uxJrq tgGg== 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=Ag6bWOfQ7+1KqV2es43qhbBbZMI6kmzICWsTN2tGJyE=; b=l52o604L8k9eWSNB0/c5ylg1w6opEx/A5NSSafzTZOBnSxrzKFvBtu2eRhsf8RPmkP ph+hcwGFpTsl0X6121CNmcAoEnIuhiga8xsKIem2/FuAb2OIBGOpU+RmFGFxhPRZW8mB rAgy2TokwhT8Vl1Stflj9jXqk5ASCsV/kEbCPvkprvFENWVD94beUfciKp11gcea9Nns 1PAKwuCAvC8b67UHkJHIXeT6H8P+PnF8mFwROezkHESyIdGTXww2E0Wdf80MRWrAqfoG T8IT1xP3IFXw0QtphSRU8sF4LYTEgZCAMOiDA8s5A5IpKot2GD5vPi9VJD2wmg1S+mkV GlHw== X-Gm-Message-State: AOAM533qcHOrJfRFHGl/JkYPzcycYghIjR2tQZw1/puZEtZXtBQy1U05 uTSwBn5aU/4LZvS8wJnNy3aTEA8qb5oqWsVbPf6FQaW0lPuFTg== X-Google-Smtp-Source: ABdhPJzHIdFl+3UIaS/T5qlp231ZAOzSTy+NU9WjRJfIowlbY9nqzteEQ7Ouz5/S3c5P/YEYzEp3vFUp9BGkyLbW/EU= X-Received: by 2002:adf:f602:: with SMTP id t2mr5449146wrp.232.1628172794526; Thu, 05 Aug 2021 07:13:14 -0700 (PDT) MIME-Version: 1.0 References: <87czqsm1mx.fsf@ucl.ac.uk> In-Reply-To: <87czqsm1mx.fsf@ucl.ac.uk> From: "Bruce D'Arcus" Date: Thu, 5 Aug 2021 10:13:02 -0400 Message-ID: Subject: Re: org-cite and pandoc To: Org Mode List Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2a00:1450:4864:20::42d; envelope-from=bdarcus@gmail.com; helo=mail-wr1-x42d.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, 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=1628173106; 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=Ag6bWOfQ7+1KqV2es43qhbBbZMI6kmzICWsTN2tGJyE=; b=LmZCeQSvhL/vxdVFtbyz7+itR/I+o+N4QS9OdEHQT0DDbMsURWj34bwYXaK6msNZT3VsPW re4QuMpypOgkz8TahBgsojHOgvyK/oONR96rV1MPi7utzwY6+lmsv79wnpgmpbj4uzd/qV 0kiW+ljlmpCZIHY7tOQHlesJ4xhfwAgRCnLsMo8ZAtxMoj0Nz2eJDjIwNDo5s4VDFOaIa6 9aBHY4Gpsf5RWCC3V+Y6vR+UIQmaff2ZJnMfb5dizt9f0j0NSLRz895oFHjsFsvkiLm7VQ LhqBRXNS8m+Ke+Iy0NiYfShxlm21X5Ou2qEThh+6Tkr7zbqNyEZ83eiUPHrENg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1628173106; a=rsa-sha256; cv=none; b=UWhC6Az2VvSXjoVTiGTRq+KkXf/qHH5obDYwY+dj7P/XDNjwQvbQRwnN+Lx2avwpdWvLlE 0vNomWm7QKMUvq+rdcc9QjgPCIwzneNjm6dFnmmdkQnbbLewdVUKpt4eX7du8YZhgegYEM lVD/SOVA28wOjx6/c4eahK5l7cpFDGNz39RHUXkUZhJXvJERY3xKeZK3OMZmz+cwvX7iN+ i326Z9TZ2NrysRZ8n6XBNQwQ1P7XoZqyLUjOgV/zm9lW7CDzCAknB2mYPSknYwtCCusjCc cA6R1nysSvaZu7wlMkkR/gHNdahZcQbIHsIoaG277ji/n223MuAjKO98qZgLDQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=OXVvQCr7; 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.12 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=OXVvQCr7; 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: 045EF6CB2 X-Spam-Score: -3.12 X-Migadu-Scanner: scn1.migadu.com X-TUID: I09pVh6UycNW Yeah, ideally ox-pandoc would be updated to support org-cite. I also, FYI, submitted an issue to pandoc awhile ago to update it's org-cite support (it has support for an early draft). https://github.com/jgm/pandoc/issues/7329 On Thu, Aug 5, 2021 at 10:07 AM Eric S Fraga wrote: > > Dear list, > > I am needing to export a document, written in org using the new cite > syntax, to pandoc (native). The export fails. I realise that org-cite > is new and I don't expect the export to process any [cite:@key] lines > properly but it would be good to have the export at least generate a > pandoc file I can then work with. Is this possible? > > I recognise fully that ox-pandoc is in contrib so I don't expect > anything as such! In the meantime, I'll simply remove all [cite:] > entries but I thought I'd raise this issue. > > The error (with paths elided and lines truncated) I get is: > > --8<---------------cut here---------------start------------->8--- > Debugger entered--Lisp error: (wrong-type-argument stringp ("...")) > split-string(("...") "\n") > (cons (car it) (split-string val "\n")) > (list (cons (car it) (split-string val "\n"))) > (progn (list (cons (car it) (split-string val "\n")))) > (if val (progn (list (cons (car it) (split-string val "\n"))))) > (let ((val (plist-get info (cdr it)))) (if val (progn (list (cons (car it) (split-string val "\n")))))) > (closure ((info :export-options nil :back-end ... > mapcar((closure ((info :export-options nil :back-end #s(org-export-backend :name pandoc > (apply 'append (mapcar #'(lambda (it) (ignore it) (let ((val (plist-get info ...))) > (org-pandoc-put-options (apply 'append (mapcar #'(lambda (it) (ignore it) > org-pandoc-template(#("#+cite_export: natbi..." [...])) > org-export-as(pandoc nil nil nil (:output-file "paper.tmpLAj6YU.org")) > org-export-to-file(pandoc "paper.tmpLAj6YU.org" > org-pandoc-export(native nil nil nil nil nil 0) > org-pandoc-export-to-native-and-open(nil nil nil nil) > org-export-dispatch(nil) > funcall-interactively(org-export-dispatch nil) > command-execute(org-export-dispatch) > --8<---------------cut here---------------end--------------->8--- > > > Thank you, > eric > > -- > : Eric S Fraga via Emacs 28.0.50, Org release_9.4.6-607-g185706 > : Latest paper written in org: https://arxiv.org/abs/2106.05096 >