* Ox-pandoc and Org-cite
@ 2021-10-14 9:41 Alex Fenton
2021-10-14 18:57 ` M. ‘quintus’ Gülker
0 siblings, 1 reply; 2+ messages in thread
From: Alex Fenton @ 2021-10-14 9:41 UTC (permalink / raw)
To: Emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 1335 bytes --]
Hello,
I have recently forked [1] and tidied up ox-pandoc with some fixes for incompatibilities that had arisen with newer versions of pandoc. I'm talking to MELPA people about getting this distributed.
Briefly, ox-pandoc exports an .org file to a temporary .org (so that e.g. Babel code is resolved) and then calls pandoc to export to any of its many supported formats.
The arrival of citation support in Org is fantastic, but it is a bit tricky for ox-pandoc, b/c pandoc itself has csl-based cite processing ability. I'd appreciate any pointers on a couple of points:
1) how best to handle an file level option (BIBLIOGRAPHY) that is defined in a mode and in some (>9.4) versions of org itself? At the moment it's choking on incompatible types with 9.5, because ox-pandoc expects a string but gets a list.
2) how best to allow users to pick between org citation export, pandoc citeproc or letting biblatex do something? At the moment, there seems no way to prevent citation export (passthrough) or a filter mechanism.
Should I plan to write a org cite export handler that converts to a format that pandoc understands (the new Org citation format is not yet fully supported, though an issue [2] is filed)?
Cheers
alex
[1] https://github.com/a-fent/ox-pandoc
[2] https://github.com/jgm/pandoc/issues/7329
[-- Attachment #2: Type: text/html, Size: 1521 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Ox-pandoc and Org-cite
2021-10-14 9:41 Ox-pandoc and Org-cite Alex Fenton
@ 2021-10-14 18:57 ` M. ‘quintus’ Gülker
0 siblings, 0 replies; 2+ messages in thread
From: M. ‘quintus’ Gülker @ 2021-10-14 18:57 UTC (permalink / raw)
To: emacs-orgmode
Am Donnerstag, dem 14. Oktober 2021 schrieb Alex Fenton:
> The arrival of citation support in Org is fantastic, but it is a bit
> tricky for ox-pandoc, b/c pandoc itself has csl-based cite processing
> ability. I'd appreciate any pointers on a couple of points:
Maybe it will get easier when pandoc supports org's new citation syntax?
There's a ticket for this open: https://github.com/jgm/pandoc/issues/7329
-quintus
--
Dipl.-Jur. M. Gülker | https://mg.guelker.eu | PGP: Siehe Webseite
Passau, Deutschland | kontakt@guelker.eu | O<
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-10-14 18:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-14 9:41 Ox-pandoc and Org-cite Alex Fenton
2021-10-14 18:57 ` M. ‘quintus’ Gülker
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).