Re: org-cite and pandoc

2021-08-09 Thread Eric S Fraga
On Saturday, 7 Aug 2021 at 22:09, Nicolas Goaziou wrote: > Would you have an ECM? I cannot reproduce it. Unfortunately, I cannot reproduce it with emacs -Q [1]. Has to be something in my configuration but I have no idea what. No time at present to bisect etc. but I will in due course

Re: org-cite and pandoc

2021-08-07 Thread Nicolas Goaziou
Hello, Eric S Fraga writes: > By the way, ox-md also fails if there is a #+bibliography > line. Removing it allows for the export. Very strange. Would you have an ECM? I cannot reproduce it. Regards, -- Nicolas Goaziou

Re: org-cite and pandoc

2021-08-05 Thread Eric S Fraga
By the way, ox-md also fails if there is a #+bibliography line. Removing it allows for the export. Very strange. -- : 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

Re: org-cite and pandoc

2021-08-05 Thread Eric S Fraga
On Thursday, 5 Aug 2021 at 15:41, Eric S Fraga wrote: > that expects submissions in pandoc (never had this before) which (in Ignore this, by the way; I meant to type markdown, not pandoc. -- : Eric S Fraga via Emacs 28.0.50, Org release_9.4.6-607-g185706 : Latest paper written in org:

Re: org-cite and pandoc

2021-08-05 Thread Eric S Fraga
On Thursday, 5 Aug 2021 at 11:29, Bruce D'Arcus wrote: > Never heard of that before either; very cool! See my update... markdown, not pandoc. Although pandoc's native format is quite useful, just not readable. ;-) -- : Eric S Fraga via Emacs 28.0.50, Org release_9.4.6-607-g185706 : Latest

Re: org-cite and pandoc

2021-08-05 Thread Bruce D'Arcus
On Thu, Aug 5, 2021 at 10:41 AM Eric S Fraga wrote: > This is for a journal that expects submissions in pandoc (never had this > before) which (in > some ways) is nice as at least it's not Word... Never heard of that before either; very cool! Bruce

Re: org-cite and pandoc

2021-08-05 Thread Eric S Fraga
After some investigation... It seems that the presence of the #+bibliography: line is what causes ox-pandoc to fail. Removing this line is sufficient for me to get the export working. Thanks again, eric -- : Eric S Fraga via Emacs 28.0.50, Org release_9.4.6-607-g185706 : Latest paper written

Re: org-cite and pandoc

2021-08-05 Thread Eric S Fraga
On Thursday, 5 Aug 2021 at 17:00, András Simonyi wrote: > Perhaps a useful workaround would be to first "export to Org" (with > org-org-export-as-org)? Excellent suggestion! Thank you. Doing so clearly indicates that my problem is *not* with org-cite but with ox-pandoc. Strange. I had

Re: org-cite and pandoc

2021-08-05 Thread András Simonyi
Perhaps a useful workaround would be to first "export to Org" (with org-org-export-as-org)? AFAICS this replaces the Org cites with their export processor-rendered counterparts, e.g., with suitable Natbib cite commands when the #+cite_export: natbib line is used. best regards, András On Thu, 5

Re: org-cite and pandoc

2021-08-05 Thread Eric S Fraga
On Thursday, 5 Aug 2021 at 10:13, Bruce D'Arcus wrote: > Yeah, ideally ox-pandoc would be updated to support org-cite. Indeed but even exporting without error would be good, assuming of course that the error I reported is actually due to org-cite. It might not be; I've never exported to pandoc

Re: org-cite and pandoc

2021-08-05 Thread Bruce D'Arcus
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, >

org-cite and pandoc

2021-08-05 Thread Eric S Fraga
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