Export formatted citations without newlines

This commit is contained in:
Dimitri Lozeve 2020-09-21 14:25:47 +02:00
parent 363834252e
commit fe14fa70b1

View file

@ -599,7 +599,7 @@
(kill-new
(shell-command-to-string
(format
"echo cite:%s | pandoc --filter=pandoc-citeproc --bibliography=%s --csl=%s -f org -t markdown_strict | tail -n +3"
"echo cite:%s | pandoc --filter=pandoc-citeproc --bibliography=%s --csl=%s -f org -t markdown_strict | tail -n +3 | tr '\n' ' '"
(org-ref-get-bibtex-key-under-cursor)
bibfile
cslfile)))))