[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
org-cite and pandoc
From: |
Eric S Fraga |
Subject: |
org-cite and pandoc |
Date: |
Thu, 05 Aug 2021 15:01:26 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
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
- org-cite and pandoc,
Eric S Fraga <=
- Re: org-cite and pandoc, Bruce D'Arcus, 2021/08/05
- Re: org-cite and pandoc, Eric S Fraga, 2021/08/05
- Re: org-cite and pandoc, AndrĂ¡s Simonyi, 2021/08/05
- Re: org-cite and pandoc, Eric S Fraga, 2021/08/05
- Re: org-cite and pandoc, Eric S Fraga, 2021/08/05
- Re: org-cite and pandoc, Eric S Fraga, 2021/08/05
- Re: org-cite and pandoc, Nicolas Goaziou, 2021/08/07
- Re: org-cite and pandoc, Eric S Fraga, 2021/08/09
- Re: org-cite and pandoc, Bruce D'Arcus, 2021/08/05
- Re: org-cite and pandoc, Eric S Fraga, 2021/08/05