emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-cite and pandoc
@ 2021-08-05 14:01 Eric S Fraga
  2021-08-05 14:13 ` Bruce D'Arcus
  0 siblings, 1 reply; 12+ messages in thread
From: Eric S Fraga @ 2021-08-05 14:01 UTC (permalink / raw)
  To: Emacs Org mode mailing list

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


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2021-08-09 12:17 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-08-05 14:01 org-cite and pandoc Eric S Fraga
2021-08-05 14:13 ` Bruce D'Arcus
2021-08-05 14:41   ` Eric S Fraga
2021-08-05 15:00     ` András Simonyi
2021-08-05 15:27       ` Eric S Fraga
2021-08-05 15:32       ` Eric S Fraga
2021-08-05 15:38       ` Eric S Fraga
2021-08-07 20:09         ` Nicolas Goaziou
2021-08-09 12:16           ` Eric S Fraga
2021-08-05 15:29     ` Bruce D'Arcus
2021-08-05 15:37       ` Eric S Fraga
2021-08-05 15:34     ` Eric S Fraga

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).