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 <e.fr...@ucl.ac.uk> 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 >